vendor: 16,149 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./FAyuuNce.js","./D2CExUQi.js","./Bqv47DEp.js","./DBslH3zF.js","./CrossPublishingIndicator.BqIg6O9z.css","./B33iRj-1.js","./BIF8sndv.js","./NdmdrM1v.js","./UserByline.BSwtNjOy.css","./1hBep15W.js","./BookmarkButton.Dt5TveBs.css","./D1heo8--.js","./BnOGaFQJ.js","./ReactionMenu.DPcjhFwK.css","./EngagementBar.BxceQZGV.css","./PostTeaser.DK9hQQfp.css","./D6drBUWz.js","./B5TIwq2O.js","./BJ9EUPzO.js","./RadioButton.CEXljOIz.css","./Cr74wv0z.js","./DYASrwYi.js","./CheckboxComponent.Dn4oyYFF.css","./_basePropertyOf.KrJsBecI.css","./DAivRRpZ.js","./CbC6oChB.js","./8-_NbLY7.js","./BdAyaLb8.js","./RecommendationComponent.Bhhq_RCO.css","./DXnYCFTZ.js","./Cyly_8LX.js","./AdSlot.B286Qtv3.css","./C28JaEL0.js","./BNUMI7RM.js","./CZT4Kfn3.js","./Giveaway.CD_nMkB6.css","./DABLEg6X.js","./D7qBPA7C.js","./Dlu99JR_.js","./TagList.BSG1lA93.css","./ThreadTeaser.k849316H.css","./ContentRenderer.FWd4OLBE.css","./DA1BFVMy.js","./DyYBvDHW.js","./nGvXjlQV.js","./CT1Me-yo.js","./DSHqXhTU.js","./CWFLNR0n.js","./D3foF_VT.js","./UHB4GYI1.js","./Cty9zBlq.js","./PaginationControls.M4ZGyguM.css","./PaginatedList.D1jeNmFw.css","./BPHXDChJ.js","./SidebarAds.D15OciFV.css","./mCK49qS4.js","./ZNiQiSmP.js","./CollectionByType.NQD4_Njb.css","./FfFRDZA4.js","./C8alzaXO.js","./SearchForm.DDATWER3.css","./search.DhD7r_ru.css","./BMGvF1hk.js","./D8ZdzW3I.js","./ProfileHeader.CBu5udCK.css","./profile.XdOV7G4U.css","./BCW2sb_k.js","./CASYldJS.js","./ConfirmationDialog.DRm0ZrVI.css","./CuHXZznS.js","./MyProfileButton.B-CzSjo4.css","./GWIN4w0X.js","./edit.BsXFhrq4.css","./DvMqTl45.js","./BFebyLbK.js","./C4DGuNAn.js","./image-upload.DMeRwVix.css","./ClLEqAnU.js","./BqW71tD6.js","./ContextMenu.C-Sf7M7B.css","./UserStatus.ChGGc41c.css","./CbJBLCik.js","./DIAmXR7K.js","./activity-stream-queries.DTo98cY0.css","./CGAUlkaJ.js","./UserDisorderList.DVS7Ocz9.css","./Dy35v7Lj.js","./AwardsList.BMjE1AWU.css","./AwardsSummary.OUyH30Zk.css","./BrOpOmNR.js","./CzVZyXtr.js","./FollowList.CPiyXwKW.css","./index.DbVZicxh.css","./D3ssOmur.js","./BesevXrP.js","./bookmarks.-binRPZC.css","./DoevxPmh.js","./C60pGlOa.js","./MemberSearchList.kmlaf0iO.css","./index.DCjgEoW-.css","./C1-7x4Nc.js","./CmQLh9Cd.js","./ProfileQuestions.CKV8dqWc.css","./4HJyYQAw.js","./DMVYf5qz.js","./CnzZK5w8.js","./index.KasM7pn-.css","./CLFqN7OW.js","./DYnrOTp7.js","./settings.DfPyfc5j.css","./YuJNGj8z.js","./B80FwOwg.js","./C9i_z9Zv.js","./OrDivider.w3glR9rQ.css","./register.Cdkt3Xuk.css","./DezdYb7z.js","./CZQ2X7SZ.js","./hqYKitW-.js","./Bjtk_SnX.js","./parse-mentions-mixin._JUM4uUS.css","./EngagementReplyBar.DC7Vn39Q.css","./PostComponent.BujrJTIm.css","./_...Bo1pVYRf.css","./DrZm-67r.js","./CpiBADft.js","./debug-tool.BW4KulzH.css","./DZawyqWE.js","./_page_.BhDLB3f6.css","./Q9elfC96.js","./new.BngBf5Y6.css","./Dui46875.js","./new.BvjY-Obm.css","./RxdBpOnn.js","./BkbeJ8Vv.js","./UgcIndexHeader.B-4lc_vL.css","./Bf0th32v.js","./TagPicker.Cfprk5G7.css","./DUMmwGIQ.js","./index.DKmhXhFk.css","./Bp-VhGxj.js","./member-login.4ySeRYuK.css","./gzcDf5QR.js","./_slug_.C6NZ2BZr.css","./1YlGWsH3.js","./index.B4gptPqf.css","./DiQUZyhl.js","./index.D8VkRrwH.css","./RfFKLhOA.js","./OT-7sfx6.js","./DYNWcfCa.js","./DK66XQAp.js","./fRhHkUSp.js","./CiLC_aC0.js","./index.BnWNkxvM.css","./CeOC6s-b.js","./_thread_.Ce0E5IXi.css","./C1viMbst.js","./CTCb-ZLE.js","./_slug_.NZUMc9pa.css","./CV1YbkWh.js","./index.Dg3XAZc1.css","./wtaHUrNg.js","./index.C6tlrtQZ.css","./CZKk9re4.js","./awards.BetXOX5V.css","./DNZYJoPj.js","./BFIddEfh.js","./journai-queries.BdGhDq0C.css","./index.DczP9wYm.css","./C1mU_1iA.js","./activity.CltWyW9p.css","./xk9jTJNA.js","./result.otXbm0ie.css","./zNJfJUGz.js","./DUt5Z6-9.js","./blueprint-queries.Bn7A3tyx.css","./index.CbfYI9rU.css","./Z-bb9zwI.js","./BFYF-jcg.js","./SingleStatus.DUnOguPx.css","./_id_.DpEGNaen.css","./g-7TBvsV.js","./index.BGZV8ahY.css","./KE5yzehd.js","./B7cU-MS5.js","./BlueprintDisclaimer.BwS9jEg3.css","./index.BK1w6S9T.css","./DixHySCS.js","./result.DAg0Lvn-.css","./BeDTmyj6.js","./BqhzC1PS.js","./NotFound.CPYRtdDN.css","./p97vt4Kl.js","./BMFbA3Cb.js","./CjUUvtqc.js","./sidebar.CPr1Oytw.css","./DgusA_T-.js","./DwVnyzsy.js","./DkcWXiys.js","./CszJ0e_x.js","./FooterLinks.Cbh9FTLF.css"])))=>i.map(i=>d[i]); 2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function sr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Je={},ha=[],gn=()=>{},ta=()=>!1,Co=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zm=e=>e.startsWith("onUpdate:"),qe=Object.assign,Hm=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dS=Object.prototype.hasOwnProperty,st=(e,t)=>dS.call(e,t),he=Array.isArray,pa=e=>tc(e)==="[object Map]",Io=e=>tc(e)==="[object Set]",cg=e=>tc(e)==="[object Date]",hS=e=>tc(e)==="[object RegExp]",Oe=e=>typeof e=="function",Fe=e=>typeof e=="string",Xn=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",od=e=>(pt(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Ky=Object.prototype.toString,tc=e=>Ky.call(e),pS=e=>tc(e).slice(8,-1),ad=e=>tc(e)==="[object Object]",cd=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ci=sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mS=sr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ld=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},gS=/-\w/g,xt=ld(e=>e.replace(gS,t=>t.slice(1).toUpperCase())),_S=/\B([A-Z])/g,Gn=ld(e=>e.replace(_S,"-$1").toLowerCase()),Oo=ld(e=>e.charAt(0).toUpperCase()+e.slice(1)),ma=ld(e=>e?`on${Oo(e)}`:""),Ln=(e,t)=>!Object.is(e,t),ga=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yy=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ud=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gf=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let lg;const fd=()=>lg||(lg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yS(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const vS="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",bS=sr(vS);function Pi(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Fe(r)?Jy(r):Pi(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(Fe(e)||pt(e))return e}const wS=/;(?![^(]*\))/g,SS=/:([^]+)/,ES=/\/\*[^]*?\*\//g;function Jy(e){const t={};return e.replace(ES,"").split(wS).forEach(n=>{if(n){const r=n.split(SS);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ve(e){let t="";if(Fe(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=ve(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Fe(t)&&(e.class=ve(t)),n&&(e.style=Pi(n)),e}const TS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",kS="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",xS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",CS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",IS=sr(TS),OS=sr(kS),AS=sr(xS),RS=sr(CS),PS="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",DS=sr(PS);function Xy(e){return!!e||e===""}function NS(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ks(e[r],t[r]);return n}function ks(e,t){if(e===t)return!0;let n=cg(e),r=cg(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Xn(e),r=Xn(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?NS(e,t):!1;if(n=pt(e),r=pt(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(a&&!c||!a&&c||!ks(e[o],t[o]))return!1}}return String(e)===String(t)}function hd(e,t){return e.findIndex(n=>ks(n,t))}const Zy=e=>!!(e&&e.__v_isRef===!0),ye=e=>Fe(e)?e:e==null?"":he(e)||pt(e)&&(e.toString===Ky||!Oe(e.toString))?Zy(e)?ye(e.value):JSON.stringify(e,ev,2):String(e),ev=(e,t)=>Zy(t)?ev(e,t.value):pa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Eh(r,s)+" =>"]=i,n),{})}:Io(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Eh(n))}:Xn(t)?Eh(t):pt(t)&&!he(t)&&!ad(t)?String(t):t,Eh=(e,t="")=>{var n;return Xn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function $S(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Sn;class qm{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Sn,!t&&Sn&&(this.index=(Sn.scopes||(Sn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Sn;try{return Sn=this,t()}finally{Sn=n}}}on(){++this._on===1&&(this.prevScope=Sn,Sn=this)}off(){this._on>0&&--this._on===0&&(Sn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function pd(e){return new qm(e)}function Wi(){return Sn}function Di(e,t=!1){Sn&&Sn.cleanups.push(e)}let wt;const Th=new WeakSet;class ol{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Sn&&Sn.active&&Sn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Th.has(this)&&(Th.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||nv(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ug(this),rv(this);const t=wt,n=Mr;wt=this,Mr=!0;try{return this.fn()}finally{iv(this),wt=t,Mr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Qm(t);this.deps=this.depsTail=void 0,ug(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Th.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){s1(this)&&this.run()}get dirty(){return s1(this)}}let tv=0,qc,Wc;function nv(e,t=!1){if(e.flags|=8,t){e.next=Wc,Wc=e;return}e.next=qc,qc=e}function Wm(){tv++}function Gm(){if(--tv>0)return;if(Wc){let t=Wc;for(Wc=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;qc;){let t=qc;for(qc=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function rv(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function iv(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Qm(r),LS(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function s1(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(sv(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function sv(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===al)||(e.globalVersion=al,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!s1(e))))return;e.flags|=2;const t=e.dep,n=wt,r=Mr;wt=e,Mr=!0;try{rv(e);const i=e.fn(e._value);(t.version===0||Ln(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{wt=n,Mr=r,iv(e),e.flags&=-3}}function Qm(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Qm(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function LS(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function MS(e,t){e.effect instanceof ol&&(e=e.effect.fn);const n=new ol(e);t&&qe(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function FS(e){e.effect.stop()}let Mr=!0;const ov=[];function Ni(){ov.push(Mr),Mr=!1}function $i(){const e=ov.pop();Mr=e===void 0?!0:e}function ug(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=wt;wt=void 0;try{t()}finally{wt=n}}}let al=0;class VS{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class md{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!wt||!Mr||wt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==wt)n=this.activeLink=new VS(wt,this),wt.deps?(n.prevDep=wt.depsTail,wt.depsTail.nextDep=n,wt.depsTail=n):wt.deps=wt.depsTail=n,av(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=wt.depsTail,n.nextDep=void 0,wt.depsTail.nextDep=n,wt.depsTail=n,wt.deps===n&&(wt.deps=r)}return n}trigger(t){this.version++,al++,this.notify(t)}notify(t){Wm();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gm()}}}function av(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)av(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const _f=new WeakMap,po=Symbol(""),o1=Symbol(""),cl=Symbol("");
vendor: 4,556 bytes, line 2
2function Tn(e,t,n){if(Mr&&wt){let r=_f.get(e);r||_f.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new md),i.map=r,i.key=n),i.track()}}function bi(e,t,n,r,i,s){const o=_f.get(e);if(!o){al++;return}const a=c=>{c&&c.trigger()};if(Wm(),t==="clear")o.forEach(a);else{const c=he(e),l=c&&cd(n);if(c&&n==="length"){const u=Number(r);o.forEach((f,d)=>{(d==="length"||d===cl||!Xn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(cl)),t){case"add":c?l&&a(o.get("length")):(a(o.get(po)),pa(e)&&a(o.get(o1)));break;case"delete":c||(a(o.get(po)),pa(e)&&a(o.get(o1)));break;case"set":pa(e)&&a(o.get(po));break}}Gm()}function US(e,t){const n=_f.get(e);return n&&n.get(t)}function Uo(e){const t=We(e);return t===e?t:(Tn(t,"iterate",cl),Kn(e)?t:t.map(Ur))}function gd(e){return Tn(e=We(e),"iterate",cl),e}function is(e,t){return Sr(e)?Ia(rr(e)?Ur(t):t):Ur(t)}const BS={__proto__:null,[Symbol.iterator](){return kh(this,Symbol.iterator,e=>is(this,e))},concat(...e){return Uo(this).concat(...e.map(t=>he(t)?Uo(t):t))},entries(){return kh(this,"entries",e=>(e[1]=is(this,e[1]),e))},every(e,t){return hi(this,"every",e,t,void 0,arguments)},filter(e,t){return hi(this,"filter",e,t,n=>n.map(r=>is(this,r)),arguments)},find(e,t){return hi(this,"find",e,t,n=>is(this,n),arguments)},findIndex(e,t){return hi(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hi(this,"findLast",e,t,n=>is(this,n),arguments)},findLastIndex(e,t){return hi(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hi(this,"forEach",e,t,void 0,arguments)},includes(...e){return xh(this,"includes",e)},indexOf(...e){return xh(this,"indexOf",e)},join(e){return Uo(this).join(e)},lastIndexOf(...e){return xh(this,"lastIndexOf",e)},map(e,t){return hi(this,"map",e,t,void 0,arguments)},pop(){return bc(this,"pop")},push(...e){return bc(this,"push",e)},reduce(e,...t){return fg(this,"reduce",e,t)},reduceRight(e,...t){return fg(this,"reduceRight",e,t)},shift(){return bc(this,"shift")},some(e,t){return hi(this,"some",e,t,void 0,arguments)},splice(...e){return bc(this,"splice",e)},toReversed(){return Uo(this).toReversed()},toSorted(e){return Uo(this).toSorted(e)},toSpliced(...e){return Uo(this).toSpliced(...e)},unshift(...e){return bc(this,"unshift",e)},values(){return kh(this,"values",e=>is(this,e))}};function kh(e,t,n){const r=gd(e),i=r[t]();return r!==e&&!Kn(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const jS=Array.prototype;function hi(e,t,n,r,i,s){const o=gd(e),a=o!==e&&!Kn(e),c=o[t];if(c!==jS[t]){const f=c.apply(e,s);return a?Ur(f):f}let l=n;o!==e&&(a?l=function(f,d){return n.call(this,is(e,f),d,e)}:n.length>2&&(l=function(f,d){return n.call(this,f,d,e)}));const u=c.call(o,l,r);return a&&i?i(u):u}function fg(e,t,n,r){const i=gd(e);let s=n;return i!==e&&(Kn(e)?n.length>3&&(s=function(o,a,c){return n.call(this,o,a,c,e)}):s=function(o,a,c){return n.call(this,o,is(e,a),c,e)}),i[t](s,...r)}function xh(e,t,n){const r=We(e);Tn(r,"iterate",cl);const i=r[t](...n);return(i===-1||i===!1)&&Ml(n[0])?(n[0]=We(n[0]),r[t](...n)):i}function bc(e,t,n=[]){Ni(),Wm();const r=We(e)[t].apply(e,n);return Gm(),$i(),r}const zS=sr("__proto__,__v_isRef,__isVue"),cv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xn));function HS(e){Xn(e)||(e=String(e));const t=We(this);return Tn(t,"has",e),t.hasOwnProperty(e)}class lv{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?mv:pv:s?hv:dv).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=he(t);if(!i){let c;if(o&&(c=BS[n]))return c;if(n==="hasOwnProperty")return HS}const a=Reflect.get(t,n,et(t)?t:r);if((Xn(n)?cv.has(n):zS(n))||(i||Tn(t,"get",n),s))return a;if(et(a)){const c=o&&cd(n)?a:a.value;return i&&pt(c)?yf(c):c}return pt(a)?i?yf(a):An(a):a}}class uv extends lv{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=he(t)&&cd(n);if(!this._isShallow){const l=Sr(s);if(!Kn(r)&&!Sr(r)&&(s=We(s),r=We(r)),!o&&et(s)&&!et(r))return l||(s.value=r),!0}const a=o?Number(n)<t.length:st(t,n),c=Reflect.set(t,n,r,et(t)?t:i);return t===We(i)&&(a?Ln(r,s)&&bi(t,"set",n,r):bi(t,"add",n,r)),c}deleteProperty(t,n){const r=st(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&bi(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);
vendor: 5,819 bytes, line 2
2return(!Xn(n)||!cv.has(n))&&Tn(t,"has",n),r}ownKeys(t){return Tn(t,"iterate",he(t)?"length":po),Reflect.ownKeys(t)}}class fv extends lv{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const qS=new uv,WS=new fv,GS=new uv(!0),QS=new fv(!0),a1=e=>e,su=e=>Reflect.getPrototypeOf(e);function KS(e,t,n){return function(...r){const i=this.__v_raw,s=We(i),o=pa(s),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,l=i[e](...r),u=n?a1:t?Ia:Ur;return!t&&Tn(s,"iterate",c?o1:po),qe(Object.create(l),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function ou(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function YS(e,t){const n={get(i){const s=this.__v_raw,o=We(s),a=We(i);e||(Ln(i,a)&&Tn(o,"get",i),Tn(o,"get",a));const{has:c}=su(o),l=t?a1:e?Ia:Ur;if(c.call(o,i))return l(s.get(i));if(c.call(o,a))return l(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&Tn(We(i),"iterate",po),i.size},has(i){const s=this.__v_raw,o=We(s),a=We(i);return e||(Ln(i,a)&&Tn(o,"has",i),Tn(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,c=We(a),l=t?a1:e?Ia:Ur;return!e&&Tn(c,"iterate",po),a.forEach((u,f)=>i.call(s,l(u),l(f),o))}};return qe(n,e?{add:ou("add"),set:ou("set"),delete:ou("delete"),clear:ou("clear")}:{add(i){!t&&!Kn(i)&&!Sr(i)&&(i=We(i));const s=We(this);return su(s).has.call(s,i)||(s.add(i),bi(s,"add",i,i)),this},set(i,s){!t&&!Kn(s)&&!Sr(s)&&(s=We(s));const o=We(this),{has:a,get:c}=su(o);let l=a.call(o,i);l||(i=We(i),l=a.call(o,i));const u=c.call(o,i);return o.set(i,s),l?Ln(s,u)&&bi(o,"set",i,s):bi(o,"add",i,s),this},delete(i){const s=We(this),{has:o,get:a}=su(s);let c=o.call(s,i);c||(i=We(i),c=o.call(s,i)),a&&a.call(s,i);const l=s.delete(i);return c&&bi(s,"delete",i,void 0),l},clear(){const i=We(this),s=i.size!==0,o=i.clear();return s&&bi(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=KS(i,e,t)}),n}function _d(e,t){const n=YS(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(st(n,i)&&i in r?n:r,i,s)}const JS={get:_d(!1,!1)},XS={get:_d(!1,!0)},ZS={get:_d(!0,!1)},eE={get:_d(!0,!0)},dv=new WeakMap,hv=new WeakMap,pv=new WeakMap,mv=new WeakMap;function tE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nE(e){return e.__v_skip||!Object.isExtensible(e)?0:tE(pS(e))}function An(e){return Sr(e)?e:yd(e,!1,qS,JS,dv)}function Jr(e){return yd(e,!1,GS,XS,hv)}function yf(e){return yd(e,!0,WS,ZS,pv)}function rE(e){return yd(e,!0,QS,eE,mv)}function yd(e,t,n,r,i){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=nE(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function rr(e){return Sr(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function Sr(e){return!!(e&&e.__v_isReadonly)}function Kn(e){return!!(e&&e.__v_isShallow)}function Ml(e){return e?!!e.__v_raw:!1}function We(e){const t=e&&e.__v_raw;return t?We(t):e}function Fl(e){return!st(e,"__v_skip")&&Object.isExtensible(e)&&Yy(e,"__v_skip",!0),e}const Ur=e=>pt(e)?An(e):e,Ia=e=>pt(e)?yf(e):e;function et(e){return e?e.__v_isRef===!0:!1}function Ee(e){return gv(e,!1)}function Fn(e){return gv(e,!0)}function gv(e,t){return et(e)?e:new iE(e,t)}class iE{constructor(t,n){this.dep=new md,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:We(t),this._value=n?t:Ur(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Kn(t)||Sr(t);t=r?t:We(t),Ln(t,n)&&(this._rawValue=t,this._value=r?t:Ur(t),this.dep.trigger())}}function sE(e){e.dep&&e.dep.trigger()}function F(e){return et(e)?e.value:e}function vd(e){return Oe(e)?e():F(e)}const oE={get:(e,t,n)=>t==="__v_raw"?e:F(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return et(i)&&!et(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Km(e){return rr(e)?e:new Proxy(e,oE)}class aE{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new md,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ym(e){return new aE(e)}function _v(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=yv(e,n);return t}class cE{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=We(t);let i=!0,s=t;if(!he(t)||!cd(String(n)))do i=!Ml(s)||Kn(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=F(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&et(this._raw[this._key])){const n=this._object[this._key];if(et(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return US(this._raw,this._key)}}class lE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function nc(e,t,n){return et(e)?e:Oe(e)?new lE(e):pt(e)&&arguments.length>1?yv(e,t,n):Ee(e)}function yv(e,t,n){return new cE(e,t,n)}class uE{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new md(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=al-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&wt!==this)return nv(this,!0),!0}get value(){const t=this.dep.track();return sv(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fE(e,t,n=!1){let r,i;return Oe(e)?r=e:(r=e.get,i=e.set),new uE(r,i,n)}const dE={GET:"get",HAS:"has",ITERATE:"iterate"}
vendor: 77,277 bytes, lines 2-4
2,hE={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},au={},vf=new WeakMap;let ss;function pE(){return ss}function vv(e,t=!1,n=ss){if(n){let r=vf.get(n);r||vf.set(n,r=[]),r.push(e)}}function mE(e,t,n=Je){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:c}=n,l=v=>i?v:Kn(v)||i===!1||i===0?wi(v,1):wi(v);let u,f,d,h,p=!1,m=!1;if(et(e)?(f=()=>e.value,p=Kn(e)):rr(e)?(f=()=>l(e),p=!0):he(e)?(m=!0,p=e.some(v=>rr(v)||Kn(v)),f=()=>e.map(v=>{if(et(v))return v.value;if(rr(v))return l(v);if(Oe(v))return c?c(v,2):v()})):Oe(e)?t?f=c?()=>c(e,2):e:f=()=>{if(d){Ni();try{d()}finally{$i()}}const v=ss;ss=u;try{return c?c(e,3,[h]):e(h)}finally{ss=v}}:f=gn,t&&i){const v=f,w=i===!0?1/0:i;f=()=>wi(v(),w)}const g=Wi(),_=()=>{u.stop(),g&&g.active&&Hm(g.effects,u)};if(s&&t){const v=t;t=(...w)=>{v(...w),_()}}let b=m?new Array(e.length).fill(au):au;const y=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(t){const w=u.run();if(i||p||(m?w.some((S,O)=>Ln(S,b[O])):Ln(w,b))){d&&d();const S=ss;ss=u;try{const O=[w,b===au?void 0:m&&b[0]===au?[]:b,h];b=w,c?c(t,3,O):t(...O)}finally{ss=S}}}else u.run()};return a&&a(y),u=new ol(f),u.scheduler=o?()=>o(y,!1):y,h=v=>vv(v,!1,u),d=u.onStop=()=>{const v=vf.get(u);if(v){if(c)c(v,4);else for(const w of v)w();vf.delete(u)}},t?r?y(!0):b=u.run():o?o(y.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function wi(e,t=1/0,n){if(t<=0||!pt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,et(e))wi(e.value,t,n);else if(he(e))for(let r=0;r<e.length;r++)wi(e[r],t,n);else if(Io(e)||pa(e))e.forEach(r=>{wi(r,t,n)});else if(ad(e)){for(const r in e)wi(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wi(e[r],t,n)}return e}const bv=[];function gE(e){bv.push(e)}function _E(){bv.pop()}function yE(e,t){}const vE={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},bE={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function rc(e,t,n,r){try{return r?e(...r):e()}catch(i){Ao(i,t,n)}}function Er(e,t,n,r){if(Oe(e)){const i=rc(e,t,n,r);return i&&od(i)&&i.catch(s=>{Ao(s,t,n)}),i}if(he(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Er(e[s],t,n,r));return i}}function Ao(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Je;if(t){let a=t.parent;const c=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,c,l)===!1)return}a=a.parent}if(s){Ni(),rc(s,null,10,[e,c,l]),$i();return}}wE(e,n,i,r,o)}function wE(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Mn=[];let Qr=-1;const _a=[];let os=null,Ko=0;const wv=Promise.resolve();let bf=null;function Wt(e){const t=bf||wv;return e?t.then(this?e.bind(this):e):t}function SE(e){let t=Qr+1,n=Mn.length;for(;t<n;){const r=t+n>>>1,i=Mn[r],s=ll(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function Jm(e){if(!(e.flags&1)){const t=ll(e),n=Mn[Mn.length-1];!n||!(e.flags&2)&&t>=ll(n)?Mn.push(e):Mn.splice(SE(t),0,e),e.flags|=1,Sv()}}function Sv(){bf||(bf=wv.then(Ev))}function bo(e){he(e)?_a.push(...e):os&&e.id===-1?os.splice(Ko+1,0,e):e.flags&1||(_a.push(e),e.flags|=1),Sv()}function dg(e,t,n=Qr+1){for(;n<Mn.length;n++){const r=Mn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Mn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function wf(e){if(_a.length){const t=[...new Set(_a)].sort((n,r)=>ll(n)-ll(r));if(_a.length=0,os){os.push(...t);return}for(os=t,Ko=0;Ko<os.length;Ko++){const n=os[Ko];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}os=null,Ko=0}}const ll=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ev(e){try{for(Qr=0;Qr<Mn.length;Qr++){const t=Mn[Qr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rc(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Qr<Mn.length;Qr++){const t=Mn[Qr];t&&(t.flags&=-2)}Qr=-1,Mn.length=0,wf(),bf=null,(Mn.length||_a.length)&&Ev()}}let Yo,cu=[];function Tv(e,t){var n,r;Yo=e,Yo?(Yo.enabled=!0,cu.forEach(({event:i,args:s})=>Yo.emit(i,...s)),cu=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Tv(s,t)}),setTimeout(()=>{Yo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,cu=[])},3e3)):cu=[]}let mn=null,bd=null;function ul(e){const t=mn;return mn=e,bd=e&&e.type.__scopeId||null,t}function EE(e){bd=e}function TE(){bd=null}const kE=e=>j;function j(e,t=mn,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&hl(-1);const s=ul(t);let o;try{o=e(...i)}finally{ul(s),r._d&&hl(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Kt(e,t){if(mn===null)return e;const n=jl(mn),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,c=Je]=t[i];s&&(Oe(s)&&(s={mounted:s,updated:s}),s.deep&&wi(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:c}))}return e}function Kr(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let c=a.dir[r];c&&(Ni(),Er(c,n,8,[e.el,a,e,t]),$i())}}function ni(e,t){if(pn){let n=pn.provides;const r=pn.parent&&pn.parent.provides;r===n&&(n=pn.provides=Object.create(r)),n[e]=t}}function Ft(e,t,n=!1){const r=Et();if(r||mo){let i=mo?mo._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Oe(t)?t.call(r&&r.proxy):t}}function Ro(){return!!(Et()||mo)}const kv=Symbol.for("v-scx"),xv=()=>Ft(kv);function Cv(e,t){return Vl(e,null,t)}function xE(e,t){return Vl(e,null,{flush:"post"})}function Iv(e,t){return Vl(e,null,{flush:"sync"})}function it(e,t,n){return Vl(e,t,n)}function Vl(e,t,n=Je){const{immediate:r,deep:i,flush:s,once:o}=n,a=qe({},n),c=t&&r||!t&&s!=="post";let l;if(Aa){if(s==="sync"){const h=xv();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=gn,h.resume=gn,h.pause=gn,h}}const u=pn;a.call=(h,p,m)=>Er(h,u,p,m);let f=!1;s==="post"?a.scheduler=h=>{Xt(h,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,p)=>{p?h():Jm(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=mE(e,t,a);return Aa&&(l?l.push(d):c&&d()),d}function CE(e,t,n){const r=this.proxy,i=Fe(e)?e.includes(".")?Ov(r,e):()=>r[e]:e.bind(r,r);let s;Oe(t)?s=t:(s=t.handler,n=t);const o=So(this),a=Vl(i,s.bind(r),n);return o(),a}function Ov(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const Av=Symbol("_vte"),Rv=e=>e.__isTeleport,Gc=e=>e&&(e.disabled||e.disabled===""),hg=e=>e&&(e.defer||e.defer===""),pg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,mg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,c1=(e,t)=>{const n=e&&e.to;return Fe(n)?t?t(n):null:n},Pv={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:g}}=l,_=Gc(t.props);let{shapeFlag:b,children:y,dynamicChildren:v}=t;if(e==null){const w=t.el=m(""),S=t.anchor=m("");h(w,n,r),h(S,n,r);const O=(k,R)=>{b&16&&u(y,k,R,i,s,o,a,c)},A=()=>{const k=t.target=c1(t.props,p),R=Dv(k,t,m,h);k&&(o!=="svg"&&pg(k)?o="svg":o!=="mathml"&&mg(k)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(k),_||(O(k,R),zu(t,!1)))};_&&(O(n,S),zu(t,!0)),hg(t.props)?(t.el.__isMounted=!1,Xt(()=>{A(),delete t.el.__isMounted},s)):A()}else{if(hg(t.props)&&e.el.__isMounted===!1){Xt(()=>{Pv.process(e,t,n,r,i,s,o,a,c,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,S=t.target=e.target,O=t.targetAnchor=e.targetAnchor,A=Gc(e.props),k=A?n:S,R=A?w:O;if(o==="svg"||pg(S)?o="svg":(o==="mathml"||mg(S))&&(o="mathml"),v?(d(e.dynamicChildren,v,k,i,s,o,a),d0(e,t,!0)):c||f(e,t,k,R,i,s,o,a,!1),_)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):lu(t,n,w,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=c1(t.props,p);M&&lu(t,M,null,l,0)}else A&&lu(t,S,O,l,1);zu(t,_)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:c,targetStart:l,targetAnchor:u,target:f,props:d}=e;if(f&&(i(l),i(u)),s&&i(c),o&16){const h=s||!Gc(d);for(let p=0;p<a.length;p++){const m=a[p];r(m,t,n,h,!!m.dynamicChildren)}}},move:lu,hydrate:IE};function lu(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:c,children:l,props:u}=e,f=s===2;if(f&&r(o,t,n),(!f||Gc(u))&&c&16)for(let d=0;d<l.length;d++)i(l[d],t,n,2);f&&r(a,t,n)}function IE(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:c,insert:l,createText:u}},f){function d(m,g,_,b){g.anchor=f(o(m),g,a(m),n,r,i,s),g.targetStart=_,g.targetAnchor=b}const h=t.target=c1(t.props,c),p=Gc(t.props);if(h){const m=h._lpa||h.firstChild;if(t.shapeFlag&16)if(p)d(e,t,m,m&&o(m));else{t.anchor=o(e);let g=m;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")t.targetStart=g;else if(g.data==="teleport anchor"){t.targetAnchor=g,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}g=o(g)}t.targetAnchor||Dv(h,t,u,l),f(m&&o(m),t,h,n,r,i,s)}zu(t,p)}else p&&t.shapeFlag&16&&d(e,t,e,o(e));return t.anchor&&o(t.anchor)}const OE=Pv;function zu(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Dv(e,t,n,r){const i=t.targetStart=n(""),s=t.targetAnchor=n("");return i[Av]=s,e&&(r(i,e),r(s,e)),s}const vi=Symbol("_leaveCb"),uu=Symbol("_enterCb");function Xm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yn(()=>{e.isMounted=!0}),xr(()=>{e.isUnmounting=!0}),e}const ur=[Function,Array],Zm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ur,onEnter:ur,onAfterEnter:ur,onEnterCancelled:ur,onBeforeLeave:ur,onLeave:ur,onAfterLeave:ur,onLeaveCancelled:ur,onBeforeAppear:ur,onAppear:ur,onAfterAppear:ur,onAppearCancelled:ur},Nv=e=>{const t=e.subTree;return t.component?Nv(t.component):t},AE={name:"BaseTransition",props:Zm,setup(e,{slots:t}){const n=Et(),r=Xm();return()=>{const i=t.default&&wd(t.default(),!0);if(!i||!i.length)return;const s=$v(i),o=We(e),{mode:a}=o;if(r.isLeaving)return Ch(s);const c=gg(s);if(!c)return Ch(s);let l=Oa(c,o,r,n,f=>l=f);c.type!==qt&&Li(c,l);let u=n.subTree&&gg(n.subTree);if(u&&u.type!==qt&&!Lr(u,c)&&Nv(n).type!==qt){let f=Oa(u,o,r,n);if(Li(u,f),a==="out-in"&&c.type!==qt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Ch(s);a==="in-out"&&c.type!==qt?f.delayLeave=(d,h,p)=>{const m=Mv(r,u);m[String(u.key)]=u,d[vi]=()=>{h(),d[vi]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{p(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function $v(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==qt){t=n;break}}return t}const Lv=AE;function Mv(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Oa(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:_,onAfterAppear:b,onAppearCancelled:y}=t,v=String(e.key),w=Mv(n,e),S=(k,R)=>{k&&Er(k,r,9,R)},O=(k,R)=>{const M=R[1];S(k,R),he(k)?k.every(D=>D.length<=1)&&M():k.length<=1&&M()},A={mode:o,persisted:a,beforeEnter(k){let R=c;if(!n.isMounted)if(s)R=g||c;else return;k[vi]&&k[vi](!0);const M=w[v];M&&Lr(e,M)&&M.el[vi]&&M.el[vi](),S(R,[k])},enter(k){let R=l,M=u,D=f;if(!n.isMounted)if(s)R=_||l,M=b||u,D=y||f;else return;let $=!1;const U=k[uu]=J=>{$||($=!0,J?S(D,[k]):S(M,[k]),A.delayedLeave&&A.delayedLeave(),k[uu]=void 0)};R?O(R,[k,U]):U()},leave(k,R){const M=String(e.key);if(k[uu]&&k[uu](!0),n.isUnmounting)return R();S(d,[k]);let D=!1;const $=k[vi]=U=>{D||(D=!0,R(),U?S(m,[k]):S(p,[k]),k[vi]=void 0,w[M]===e&&delete w[M])};w[M]=e,h?O(h,[k,$]):$()},clone(k){const R=Oa(k,t,n,r,i);return i&&i(R),R}};return A}function Ch(e){if(Ul(e))return e=Yn(e),e.children=null,e}function gg(e){if(!Ul(e))return Rv(e.type)&&e.children?$v(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Oe(n.default))return n.default()}}function Li(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Li(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wd(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Me?(o.patchFlag&128&&i++,r=r.concat(wd(o.children,t,a))):(t||o.type!==qt)&&r.push(a!=null?Yn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function or(e,t){return Oe(e)?qe({name:e.name},t,{setup:e}):e}function RE(){const e=Et();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function e0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function PE(e){const t=Et(),n=Fn(null);if(t){const i=t.refs===Je?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}const Sf=new WeakMap;function ya(e,t,n,r,i=!1){if(he(e)){e.forEach((p,m)=>ya(p,t&&(he(t)?t[m]:t),n,r,i));return}if(Ii(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ya(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?jl(r.component):r.el,o=i?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Je?a.refs={}:a.refs,f=a.setupState,d=We(f),h=f===Je?ta:p=>st(d,p);if(l!=null&&l!==c){if(_g(t),Fe(l))u[l]=null,h(l)&&(f[l]=null);else if(et(l)){l.value=null;const p=t;p.k&&(u[p.k]=null)}}if(Oe(c))rc(c,a,12,[o,u]);else{const p=Fe(c),m=et(c);if(p||m){const g=()=>{if(e.f){const _=p?h(c)?f[c]:u[c]:c.value;if(i)he(_)&&Hm(_,s);else if(he(_))_.includes(s)||_.push(s);else if(p)u[c]=[s],h(c)&&(f[c]=u[c]);else{const b=[s];c.value=b,e.k&&(u[e.k]=b)}}else p?(u[c]=o,h(c)&&(f[c]=o)):m&&(c.value=o,e.k&&(u[e.k]=o))};if(o){const _=()=>{g(),Sf.delete(e)};_.id=-1,Sf.set(e,_),Xt(_,n)}else _g(e),g()}}}function _g(e){const t=Sf.get(e);t&&(t.flags|=8,Sf.delete(e))}let yg=!1;const Bo=()=>{yg||(console.error("Hydration completed but contains mismatches."),yg=!0)},DE=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",NE=e=>e.namespaceURI.includes("MathML"),fu=e=>{if(e.nodeType===1){if(DE(e))return"svg";if(NE(e))return"mathml"}},na=e=>e.nodeType===8;function $E(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:c,createComment:l}}=e,u=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),wf(),v._vnode=y;return}f(v.firstChild,y,null,null,null),wf(),v._vnode=y},f=(y,v,w,S,O,A=!1)=>{A=A||!!v.dynamicChildren;const k=na(y)&&y.data==="[",R=()=>m(y,v,w,S,O,k),{type:M,ref:D,shapeFlag:$,patchFlag:U}=v;let J=y.nodeType;v.el=y,U===-2&&(A=!1,v.dynamicChildren=null);let V=null;switch(M){case vs:J!==3?v.children===""?(c(v.el=i(""),o(y),y),V=y):V=R():(y.data!==v.children&&(Bo(),y.data=v.children),V=s(y));break;case qt:b(y)?(V=s(y),_(v.el=y.content.firstChild,y,w)):J!==8||k?V=R():V=s(y);break;case go:if(k&&(y=s(y),J=y.nodeType),J===1||J===3){V=y;const W=!v.children.length;for(let Q=0;Q<v.staticCount;Q++)W&&(v.children+=V.nodeType===1?V.outerHTML:V.data),Q===v.staticCount-1&&(v.anchor=V),V=s(V);return k?s(V):V}else R();break;case Me:k?V=p(y,v,w,S,O,A):V=R();break;default:if($&1)(J!==1||v.type.toLowerCase()!==y.tagName.toLowerCase())&&!b(y)?V=R():V=d(y,v,w,S,O,A);else if($&6){v.slotScopeIds=O;const W=o(y);if(k?V=g(y):na(y)&&y.data==="teleport start"?V=g(y,y.data,"teleport end"):V=s(y),t(v,W,null,w,S,fu(W),A),Ii(v)&&!v.type.__asyncResolved){let Q;k?(Q=I(Me),Q.anchor=V?V.previousSibling:W.lastChild):Q=y.nodeType===3?ee(""):I("div"),Q.el=y,v.component.subTree=Q}}else $&64?J!==8?V=R():V=v.type.hydrate(y,v,w,S,O,A,e,h):$&128&&(V=v.type.hydrate(y,v,w,S,fu(o(y)),O,A,e,f))}return D!=null&&ya(D,null,S,v),V},d=(y,v,w,S,O,A)=>{A=A||!!v.dynamicChildren;const{type:k,props:R,patchFlag:M,shapeFlag:D,dirs:$,transition:U}=v,J=k==="input"||k==="option";if(J||M!==-1){$&&Kr(v,null,w,"created");let V=!1;if(b(y)){V=o4(null,U)&&w&&w.vnode.props&&w.vnode.props.appear;const Q=y.content.firstChild;if(V){const le=Q.getAttribute("class");le&&(Q.$cls=le),U.beforeEnter(Q)}_(Q,y,w),v.el=y=Q}if(D&16&&!(R&&(R.innerHTML||R.textContent))){let Q=h(y.firstChild,v,y,w,S,O,A);for(;Q;){du(y,1)||Bo();const le=Q;Q=Q.nextSibling,a(le)}}else if(D&8){let Q=v.children;Q[0]===` 3`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(Q=Q.slice(1));const{textContent:le}=y;le!==Q&&le!==Q.replace(/\r\n|\r/g,` 4`)&&(du(y,0)||Bo(),y.textContent=v.children)}if(R){if(J||!A||M&48){const Q=y.tagName.includes("-");for(const le in R)(J&&(le.endsWith("value")||le==="indeterminate")||Co(le)&&!Ci(le)||le[0]==="."||Q&&!Ci(le))&&r(y,le,null,R[le],void 0,w)}else if(R.onClick)r(y,"onClick",null,R.onClick,void 0,w);else if(M&4&&rr(R.style))for(const Q in R.style)R.style[Q]}let W;(W=R&&R.onVnodeBeforeMount)&&qn(W,w,v),$&&Kr(v,null,w,"beforeMount"),((W=R&&R.onVnodeMounted)||$||V)&&u4(()=>{W&&qn(W,w,v),V&&U.enter(y),$&&Kr(v,null,w,"mounted")},S)}return y.nextSibling},h=(y,v,w,S,O,A,k)=>{k=k||!!v.dynamicChildren;const R=v.children,M=R.length;for(let D=0;D<M;D++){const $=k?R[D]:R[D]=Wn(R[D]),U=$.type===vs;y?(U&&!k&&D+1<M&&Wn(R[D+1]).type===vs&&(c(i(y.data.slice($.children.length)),w,s(y)),y.data=$.children),y=f(y,$,S,O,A,k)):U&&!$.children?c($.el=i(""),w):(du(w,1)||Bo(),n(null,$,w,null,S,O,fu(w),A))}return y},p=(y,v,w,S,O,A)=>{const{slotScopeIds:k}=v;k&&(O=O?O.concat(k):k);const R=o(y),M=h(s(y),v,R,w,S,O,A);return M&&na(M)&&M.data==="]"?s(v.anchor=M):(Bo(),c(v.anchor=l("]"),R,M),M)},m=(y,v,w,S,O,A)=>{if(du(y.parentElement,1)||Bo(),v.el=null,A){const M=g(y);for(;;){const D=s(y);if(D&&D!==M)a(D);else break}}const k=s(y),R=o(y);return a(y),n(null,v,R,k,w,S,fu(R),O),w&&(w.vnode.el=v.el,xd(w,v.el)),k},g=(y,v="[",w="]")=>{let S=0;for(;y;)if(y=s(y),y&&na(y)&&(y.data===v&&S++,y.data===w)){if(S===0)return s(y);S--}return y},_=(y,v,w)=>{const S=v.parentNode;S&&S.replaceChild(y,v);let O=w;for(;O;)O.vnode.el===v&&(O.vnode.el=O.subTree.el=y),O=O.parent},b=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[u,f]}const vg="data-allow-mismatch",LE={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function du(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vg);)e=e.parentElement;const n=e&&e.getAttribute(vg);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(LE[t])}}const ME=fd().requestIdleCallback||(e=>setTimeout(e,1)),FE=fd().cancelIdleCallback||(e=>clearTimeout(e)),VE=(e=1e4)=>t=>{const n=ME(t,{timeout:e});return()=>FE(n)};function UE(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:o}=window;return(t>0&&t<s||r>0&&r<s)&&(n>0&&n<o||i>0&&i<o)}const BE=e=>(t,n)=>{const r=new IntersectionObserver(i=>{for(const s of i)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(UE(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},jE=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},zE=(e=[])=>(t,n)=>{Fe(e)&&(e=[e]);let r=!1;const i=o=>{r||(r=!0,s(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},s=()=>{n(o=>{for(const a of e)o.removeEventListener(a,i)})};return n(o=>{for(const a of e)o.addEventListener(a,i,{once:!0})}),s};function HE(e,t){if(na(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(na(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Ii=e=>!!e.type.__asyncLoader;function ao(e){Oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:c}=e;let l=null,u,f=0;const d=()=>(f++,l=null,h()),h=()=>{let p;return l||(p=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),c)return new Promise((g,_)=>{c(m,()=>g(d()),()=>_(m),f+1)});throw m}).then(m=>p!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return or({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,g){let _=!1;(m.bu||(m.bu=[])).push(()=>_=!0);const b=()=>{_||g()},y=s?()=>{const v=s(b,w=>HE(p,w));v&&(m.bum||(m.bum=[])).push(v)}:b;u?y():h().then(()=>!m.isUnmounted&&y())},get __asyncResolved(){return u},setup(){const p=pn;if(e0(p),u)return()=>hu(u,p);const m=y=>{l=null,Ao(y,p,13,!r)};if(a&&p.suspense||Aa)return h().then(y=>()=>hu(y,p)).catch(y=>(m(y),()=>r?I(r,{error:y}):null));const g=Ee(!1),_=Ee(),b=Ee(!!i);return i&&setTimeout(()=>{b.value=!1},i),o!=null&&setTimeout(()=>{if(!g.value&&!_.value){const y=new Error(`Async component timed out after ${o}ms.`);m(y),_.value=y}},o),h().then(()=>{g.value=!0,p.parent&&Ul(p.parent.vnode)&&p.parent.update()}).catch(y=>{m(y),_.value=y}),()=>{if(g.value&&u)return hu(u,p);if(_.value&&r)return I(r,{error:_.value});if(n&&!b.value)return hu(n,p)}}})}function hu(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=I(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const Ul=e=>e.type.__isKeepAlive,qE={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Et(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(b,y,v,w,S)=>{const O=b.component;l(b,y,v,0,a),c(O.vnode,b,y,v,O,a,w,b.slotScopeIds,S),Xt(()=>{O.isDeactivated=!1,O.a&&ga(O.a);const A=b.props&&b.props.onVnodeMounted;A&&qn(A,O.parent,b)},a)},r.deactivate=b=>{const y=b.component;Tf(y.m),Tf(y.a),l(b,d,null,1,a),Xt(()=>{y.da&&ga(y.da);const v=b.props&&b.props.onVnodeUnmounted;v&&qn(v,y.parent,b),y.isDeactivated=!0},a)};function h(b){Ih(b),u(b,n,a,!0)}function p(b){i.forEach((y,v)=>{const w=b1(Ii(y)?y.type.__asyncResolved||{}:y.type);w&&!b(w)&&m(v)})}function m(b){const y=i.get(b);y&&(!o||!Lr(y,o))?h(y):o&&Ih(o),i.delete(b),s.delete(b)}it(()=>[e.include,e.exclude],([b,y])=>{b&&p(v=>Vc(b,v)),y&&p(v=>!Vc(y,v))},{flush:"post",deep:!0});let g=null;const _=()=>{g!=null&&(kf(n.subTree.type)?Xt(()=>{i.set(g,pu(n.subTree))},n.subTree.suspense):i.set(g,pu(n.subTree)))};return yn(_),Ed(_),xr(()=>{i.forEach(b=>{const{subTree:y,suspense:v}=n,w=pu(y);if(b.type===w.type&&b.key===w.key){Ih(w);const S=w.component.da;S&&Xt(S,v);return}h(b)})}),()=>{if(g=null,!t.default)return o=null;const b=t.default(),y=b[0];if(b.length>1)return o=null,b;if(!si(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return o=null,y;let v=pu(y);if(v.type===qt)return o=null,v;const w=v.type,S=b1(Ii(v)?v.type.__asyncResolved||{}:w),{include:O,exclude:A,max:k}=e;if(O&&(!S||!Vc(O,S))||A&&S&&Vc(A,S))return v.shapeFlag&=-257,o=v,y;const R=v.key==null?w:v.key,M=i.get(R);return v.el&&(v=Yn(v),y.shapeFlag&128&&(y.ssContent=v)),g=R,M?(v.el=M.el,v.component=M.component,v.transition&&Li(v,v.transition),v.shapeFlag|=512,s.delete(R),s.add(R)):(s.add(R),k&&s.size>parseInt(k,10)&&m(s.values().next().value)),v.shapeFlag|=256,o=v,kf(y.type)?y:v}}},Fv=qE;function Vc(e,t){return he(e)?e.some(n=>Vc(n,t)):Fe(e)?e.split(",").includes(t):hS(e)?(e.lastIndex=0,e.test(t)):!1}function t0(e,t){Vv(e,"a",t)}function n0(e,t){Vv(e,"da",t)}function Vv(e,t,n=pn){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Sd(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ul(i.parent.vnode)&&WE(r,t,n,i),i=i.parent}}function WE(e,t,n,r){const i=Sd(t,e,r,!0);ic(()=>{Hm(r[t],i)},n)}function Ih(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function pu(e){return e.shapeFlag&128?e.ssContent:e}function Sd(e,t,n=pn,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Ni();const a=So(n),c=Er(t,n,e,o);return a(),$i(),c});return r?i.unshift(s):i.push(s),s}}const Gi=e=>(t,n=pn)=>{(!Aa||e==="sp")&&Sd(e,(...r)=>t(...r),n)},Bl=Gi("bm"),yn=Gi("m"),r0=Gi("bu"),Ed=Gi("u"),xr=Gi("bum"),ic=Gi("um"),i0=Gi("sp"),Uv=Gi("rtg"),Bv=Gi("rtc");function s0(e,t=pn){Sd("ec",e,t)}const o0="components",GE="directives";function l1(e,t){return a0(o0,e,!0,t)||e}const jv=Symbol.for("v-ndc");function Mi(e){return Fe(e)?a0(o0,e,!1)||e:e||jv}function Td(e){return a0(GE,e)}function a0(e,t,n=!0,r=!1){const i=mn||pn;if(i){const s=i.type;if(e===o0){const a=b1(s,!1);if(a&&(a===t||a===xt(t)||a===Oo(xt(t))))return s}const o=bg(i[e]||s[e],t)||bg(i.appContext[e],t);return!o&&r?s:o}}function bg(e,t){return e&&(e[t]||e[xt(t)]||e[Oo(xt(t))])}function Pt(e,t,n,r){let i;const s=n&&n[r],o=he(e);if(o||Fe(e)){const a=o&&rr(e);let c=!1,l=!1;a&&(c=!Kn(e),l=Sr(e),e=gd(e)),i=new Array(e.length);for(let u=0,f=e.length;u<f;u++)i[u]=t(c?l?Ia(Ur(e[u])):Ur(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s&&s[a])}else if(pt(e))if(e[Symbol.iterator])i=Array.from(e,(a,c)=>t(a,c,void 0,s&&s[c]));else{const a=Object.keys(e);i=new Array(a.length);for(let c=0,l=a.length;c<l;c++){const u=a[c];i[c]=t(e[u],u,c,s&&s[c])}}else i=[];return n&&(n[r]=i),i}function QE(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return e}function _t(e,t,n={},r,i){if(mn.ce||mn.parent&&Ii(mn.parent)&&mn.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),E(),q(Me,null,[I("slot",n,r&&r())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),E();const o=s&&c0(s(n)),a=n.key||o&&o.key,c=q(Me,{key:(a&&!Xn(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function c0(e){return e.some(t=>si(t)?!(t.type===qt||t.type===Me&&!c0(t.children)):!0)?e:null}function KE(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ma(r)]=e[r];return n}const u1=e=>e?m4(e)?jl(e):u1(e.parent):null,Qc=qe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>u1(e.parent),$root:e=>u1(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>l0(e),$forceUpdate:e=>e.f||(e.f=()=>{Jm(e.update)}),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>CE.bind(e)}),Oh=(e,t)=>e!==Je&&!e.__isScriptSetup&&st(e,t),f1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:c}=e;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Oh(r,t))return o[t]=1,r[t];if(i!==Je&&st(i,t))return o[t]=2,i[t];if(st(s,t))return o[t]=3,s[t];if(n!==Je&&st(n,t))return o[t]=4,n[t];d1&&(o[t]=0)}}const l=Qc[t];let u,f;if(l)return t==="$attrs"&&Tn(e.attrs,"get",""),l(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Je&&st(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,st(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Oh(i,t)?(i[t]=n,!0):r!==Je&&st(r,t)?(r[t]=n,!0):st(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let c;return!!(n[a]||e!==Je&&a[0]!=="$"&&st(e,a)||Oh(t,a)||st(s,a)||st(r,a)||st(Qc,a)||st(i.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:st(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},YE=qe({},f1,{get(e,t){if(t!==Symbol.unscopables)return f1.get(e,t,e)},has(e,t){return t[0]!=="_"&&!bS(t)}});function JE(){return null}function XE(){return null}function ZE(e){}function eT(e){}function tT(){return null}function nT(){}function rT(e,t){return null}function iT(){return Hv().slots}function zv(){return Hv().attrs}function Hv(e){const t=Et();return t.setupContext||(t.setupContext=v4(t))}function fl(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function sT(e,t){const n=fl(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?he(i)||Oe(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function oT(e,t){return!e||!t?e||t:he(e)&&he(t)?e.concat(t):qe({},fl(e),fl(t))}function aT(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function cT(e){const t=Et();let n=e();return _1(),od(n)&&(n=n.catch(r=>{throw So(t),r})),[n,()=>So(t)]}let d1=!0;function lT(e){const t=l0(e),n=e.proxy,r=e.ctx;d1=!1,t.beforeCreate&&wg(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:g,beforeDestroy:_,beforeUnmount:b,destroyed:y,unmounted:v,render:w,renderTracked:S,renderTriggered:O,errorCaptured:A,serverPrefetch:k,expose:R,inheritAttrs:M,components:D,directives:$,filters:U}=t;if(l&&uT(l,r,null),o)for(const W in o){const Q=o[W];Oe(Q)&&(r[W]=Q.bind(n))}if(i){const W=i.call(n,n);pt(W)&&(e.data=An(W))}if(d1=!0,s)for(const W in s){const Q=s[W],le=Oe(Q)?Q.bind(n,n):Oe(Q.get)?Q.get.bind(n,n):gn,ie=!Oe(Q)&&Oe(Q.set)?Q.set.bind(n):gn,Ce=re({get:le,set:ie});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Re=>Ce.value=Re})}if(a)for(const W in a)qv(a[W],r,n,W);if(c){const W=Oe(c)?c.call(n):c;Reflect.ownKeys(W).forEach(Q=>{ni(Q,W[Q])})}u&&wg(u,e,"c");function V(W,Q){he(Q)?Q.forEach(le=>W(le.bind(n))):Q&&W(Q.bind(n))}if(V(Bl,f),V(yn,d),V(r0,h),V(Ed,p),V(t0,m),V(n0,g),V(s0,A),V(Bv,S),V(Uv,O),V(xr,b),V(ic,v),V(i0,k),he(R))if(R.length){const W=e.exposed||(e.exposed={});R.forEach(Q=>{Object.defineProperty(W,Q,{get:()=>n[Q],set:le=>n[Q]=le,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===gn&&(e.render=w),M!=null&&(e.inheritAttrs=M),D&&(e.components=D),$&&(e.directives=$),k&&e0(e)}function uT(e,t,n=gn){he(e)&&(e=h1(e));for(const r in e){const i=e[r];let s;pt(i)?"default"in i?s=Ft(i.from||r,i.default,!0):s=Ft(i.from||r):s=Ft(i),et(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function wg(e,t,n){Er(he(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function qv(e,t,n,r){let i=r.includes(".")?Ov(n,r):()=>n[r];if(Fe(e)){const s=t[e];Oe(s)&&it(i,s)}else if(Oe(e))it(i,e.bind(n));else if(pt(e))if(he(e))e.forEach(s=>qv(s,t,n,r));else{const s=Oe(e.handler)?e.handler.bind(n):t[e.handler];Oe(s)&&it(i,s,e)}}function l0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let c;return a?c=a:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(l=>Ef(c,l,o,!0)),Ef(c,t,o)),pt(t)&&s.set(t,c),c}function Ef(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Ef(e,s,n,!0),i&&i.forEach(o=>Ef(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=fT[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const fT={data:Sg,props:Eg,emits:Eg,methods:Uc,computed:Uc,beforeCreate:Dn,created:Dn,beforeMount:Dn,mounted:Dn,beforeUpdate:Dn,updated:Dn,beforeDestroy:Dn,beforeUnmount:Dn,destroyed:Dn,unmounted:Dn,activated:Dn,deactivated:Dn,errorCaptured:Dn,serverPrefetch:Dn,components:Uc,directives:Uc,watch:hT,provide:Sg,inject:dT};function Sg(e,t){return t?e?function(){return qe(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function dT(e,t){return Uc(h1(e),h1(t))}function h1(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Dn(e,t){return e?[...new Set([].concat(e,t))]:t}function Uc(e,t){return e?qe(Object.create(null),e,t):t}function Eg(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:qe(Object.create(null),fl(e),fl(t??{})):t}function hT(e,t){if(!e)return t;if(!t)return e;const n=qe(Object.create(null),e);for(const r in t)n[r]=Dn(e[r],t[r]);return n}function Wv(){return{app:null,config:{isNativeTag:ta,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pT=0;function mT(e,t){return function(r,i=null){Oe(r)||(r=qe({},r)),i!=null&&!pt(i)&&(i=null);const s=Wv(),o=new WeakSet,a=[];let c=!1;const l=s.app={_uid:pT++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:w4,get config(){return s.config},set config(u){},use(u,...f){return o.has(u)||(u&&Oe(u.install)?(o.add(u),u.install(l,...f)):Oe(u)&&(o.add(u),u(l,...f))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,f){return f?(s.components[u]=f,l):s.components[u]},directive(u,f){return f?(s.directives[u]=f,l):s.directives[u]},mount(u,f,d){if(!c){const h=l._ceVNode||I(r,i);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,u):e(h,u,d),c=!0,l._container=u,u.__vue_app__=l,jl(h.component)}},onUnmount(u){a.push(u)},unmount(){c&&(Er(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(u,f){return s.provides[u]=f,l},runWithContext(u){const f=mo;mo=l;try{return u()}finally{mo=f}}};return l}}let mo=null;function gT(e,t,n=Je){const r=Et(),i=xt(t),s=Gn(t),o=Gv(e,i),a=Ym((c,l)=>{let u,f=Je,d;return Iv(()=>{const h=e[i];Ln(u,h)&&(u=h,l())}),{get(){return c(),n.get?n.get(u):u},set(h){const p=n.set?n.set(h):h;if(!Ln(p,u)&&!(f!==Je&&Ln(h,f)))return;const m=r.vnode.props;m&&(t in m||i in m||s in m)&&(`onUpdate:${t}`in m||`onUpdate:${i}`in m||`onUpdate:${s}`in m)||(u=h,l()),r.emit(`update:${t}`,p),Ln(h,p)&&Ln(h,f)&&!Ln(p,d)&&l(),f=h,d=p}}});return a[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||Je:a,done:!1}:{done:!0}}}},a}const Gv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Gn(t)}Modifiers`];function _T(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Je;let i=n;const s=t.startsWith("update:"),o=s&&Gv(r,t.slice(7));o&&(o.trim&&(i=n.map(u=>Fe(u)?u.trim():u)),o.number&&(i=n.map(ud)));let a,c=r[a=ma(t)]||r[a=ma(xt(t))];!c&&s&&(c=r[a=ma(Gn(t))]),c&&Er(c,e,6,i);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Er(l,e,6,i)}}const yT=new WeakMap;function Qv(e,t,n=!1){const r=n?yT:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!Oe(e)){const c=l=>{const u=Qv(l,t,!0);u&&(a=!0,qe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(pt(e)&&r.set(e,null),null):(he(s)?s.forEach(c=>o[c]=null):qe(o,s),pt(e)&&r.set(e,o),o)}function kd(e,t){return!e||!Co(t)?!1:(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,Gn(t))||st(e,t))}function Hu(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:c,render:l,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e,g=ul(e);let _,b;try{if(n.shapeFlag&4){const v=i||r,w=v;_=Wn(l.call(w,v,u,f,h,d,p)),b=a}else{const v=t;_=Wn(v.length>1?v(f,{attrs:a,slots:o,emit:c}):v(f,null)),b=t.props?a:bT(a)}}catch(v){Kc.length=0,Ao(v,e,1),_=I(qt)}let y=_;if(b&&m!==!1){const v=Object.keys(b),{shapeFlag:w}=y;v.length&&w&7&&(s&&v.some(zm)&&(b=wT(b,s)),y=Yn(y,b,!1,!0))}return n.dirs&&(y=Yn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Li(y,n.transition),_=y,ul(g),_}function vT(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(si(i)){if(i.type!==qt||i.children==="v-if"){if(n)return;n=i}}else return}return n}const bT=e=>{let t;for(const n in e)(n==="class"||n==="style"||Co(n))&&((t||(t={}))[n]=e[n]);return t},wT=(e,t)=>{const n={};for(const r in e)(!zm(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ST(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Tg(r,o,l):!!o;if(c&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!kd(l,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Tg(r,o,l):!0:!!o;return!1}function Tg(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!kd(n,s))return!0}return!1}function xd({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Kv={},Yv=()=>Object.create(Kv),Jv=e=>Object.getPrototypeOf(e)===Kv;function ET(e,t,n,r=!1){const i={},s=Yv();e.propsDefaults=Object.create(null),Xv(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Jr(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function TT(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=We(i),[c]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(kd(e.emitsOptions,d))continue;const h=t[d];if(c)if(st(s,d))h!==s[d]&&(s[d]=h,l=!0);else{const p=xt(d);i[p]=p1(c,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,l=!0)}}}else{Xv(e,t,i,s)&&(l=!0);let u;for(const f in a)(!t||!st(t,f)&&((u=Gn(f))===f||!st(t,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=p1(c,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!st(t,f))&&(delete s[f],l=!0)}l&&bi(e.attrs,"set","")}function Xv(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let c in t){if(Ci(c))continue;const l=t[c];let u;i&&st(i,u=xt(c))?!s||!s.includes(u)?n[u]=l:(a||(a={}))[u]=l:kd(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(s){const c=We(n),l=a||Je;for(let u=0;u<s.length;u++){const f=s[u];n[f]=p1(i,c,f,l[f],e,!st(l,f))}}return o}function p1(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=st(o,"default");if(a&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&Oe(c)){const{propsDefaults:l}=i;if(n in l)r=l[n];else{const u=So(i);r=l[n]=c.call(null,t),u()}}else r=c;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Gn(n))&&(r=!0))}return r}const kT=new WeakMap;function Zv(e,t,n=!1){const r=n?kT:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let c=!1;if(!Oe(e)){const u=f=>{c=!0;const[d,h]=Zv(f,t,!0);qe(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return pt(e)&&r.set(e,ha),ha;if(he(s))for(let u=0;u<s.length;u++){const f=xt(s[u]);kg(f)&&(o[f]=Je)}else if(s)for(const u in s){const f=xt(u);if(kg(f)){const d=s[u],h=o[f]=he(d)||Oe(d)?{type:d}:qe({},d),p=h.type;let m=!1,g=!0;if(he(p))for(let _=0;_<p.length;++_){const b=p[_],y=Oe(b)&&b.name;if(y==="Boolean"){m=!0;break}else y==="String"&&(g=!1)}else m=Oe(p)&&p.name==="Boolean";h[0]=m,h[1]=g,(m||st(h,"default"))&&a.push(f)}}const l=[o,a];return pt(e)&&r.set(e,l),l}function kg(e){return e[0]!=="$"&&!Ci(e)}const u0=e=>e==="_"||e==="_ctx"||e==="$stable",f0=e=>he(e)?e.map(Wn):[Wn(e)],xT=(e,t,n)=>{if(t._n)return t;const r=j((...i)=>f0(t(...i)),n);return r._c=!1,r},e4=(e,t,n)=>{const r=e._ctx;for(const i in e){if(u0(i))continue;const s=e[i];if(Oe(s))t[i]=xT(i,s,r);else if(s!=null){const o=f0(s);t[i]=()=>o}}},t4=(e,t)=>{const n=f0(t);e.slots.default=()=>n},n4=(e,t,n)=>{for(const r in t)(n||!u0(r))&&(e[r]=t[r])},CT=(e,t,n)=>{const r=e.slots=Yv();if(e.vnode.shapeFlag&32){const i=t._;i?(n4(r,t,n),n&&Yy(r,"_",i,!0)):e4(t,r)}else t&&t4(e,t)},IT=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Je;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:n4(i,t,n):(s=!t.$stable,e4(t,i)),o=t}else t&&(t4(e,t),o={default:1});if(s)for(const a in i)!u0(a)&&o[a]==null&&delete i[a]},Xt=u4;function r4(e){return s4(e)}function i4(e){return s4(e,$E)}function s4(e,t){const n=fd();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=gn,insertStaticContent:p}=e,m=(T,x,L,K=null,B=null,X=null,ae=void 0,se=null,ne=!!x.dynamicChildren)=>{if(T===x)return;T&&!Lr(T,x)&&(K=H(T),Re(T,B,X,!0),T=null),x.patchFlag===-2&&(ne=!1,x.dynamicChildren=null);const{type:Z,ref:Te,shapeFlag:de}=x;switch(Z){case vs:g(T,x,L,K);break;case qt:_(T,x,L,K);break;case go:T==null&&b(x,L,K,ae);break;case Me:D(T,x,L,K,B,X,ae,se,ne);break;default:de&1?w(T,x,L,K,B,X,ae,se,ne):de&6?$(T,x,L,K,B,X,ae,se,ne):(de&64||de&128)&&Z.process(T,x,L,K,B,X,ae,se,ne,we)}Te!=null&&B?ya(Te,T&&T.ref,X,x||T,!x):Te==null&&T&&T.ref!=null&&ya(T.ref,null,X,T,!0)},g=(T,x,L,K)=>{if(T==null)r(x.el=a(x.children),L,K);else{const B=x.el=T.el;x.children!==T.children&&l(B,x.children)}},_=(T,x,L,K)=>{T==null?r(x.el=c(x.children||""),L,K):x.el=T.el},b=(T,x,L,K)=>{[T.el,T.anchor]=p(T.children,x,L,K,T.el,T.anchor)},y=({el:T,anchor:x},L,K)=>{let B;for(;T&&T!==x;)B=d(T),r(T,L,K),T=B;r(x,L,K)},v=({el:T,anchor:x})=>{let L;for(;T&&T!==x;)L=d(T),i(T),T=L;i(x)},w=(T,x,L,K,B,X,ae,se,ne)=>{if(x.type==="svg"?ae="svg":x.type==="math"&&(ae="mathml"),T==null)S(x,L,K,B,X,ae,se,ne);else{const Z=T.el&&T.el._isVueCE?T.el:null;try{Z&&Z._beginPatch(),k(T,x,B,X,ae,se,ne)}finally{Z&&Z._endPatch()}}},S=(T,x,L,K,B,X,ae,se)=>{let ne,Z;const{props:Te,shapeFlag:de,transition:Se,dirs:G}=T;if(ne=T.el=o(T.type,X,Te&&Te.is,Te),de&8?u(ne,T.children):de&16&&A(T.children,ne,null,K,B,Ah(T,X),ae,se),G&&Kr(T,null,K,"created"),O(ne,T,T.scopeId,ae,K),Te){for(const Ie in Te)Ie!=="value"&&!Ci(Ie)&&s(ne,Ie,null,Te[Ie],X,K);"value"in Te&&s(ne,"value",null,Te.value,X),(Z=Te.onVnodeBeforeMount)&&qn(Z,K,T)}G&&Kr(T,null,K,"beforeMount");const me=o4(B,Se);me&&Se.beforeEnter(ne),r(ne,x,L),((Z=Te&&Te.onVnodeMounted)||me||G)&&Xt(()=>{Z&&qn(Z,K,T),me&&Se.enter(ne),G&&Kr(T,null,K,"mounted")},B)},O=(T,x,L,K,B)=>{if(L&&h(T,L),K)for(let X=0;X<K.length;X++)h(T,K[X]);if(B){let X=B.subTree;if(x===X||kf(X.type)&&(X.ssContent===x||X.ssFallback===x)){const ae=B.vnode;O(T,ae,ae.scopeId,ae.slotScopeIds,B.parent)}}},A=(T,x,L,K,B,X,ae,se,ne=0)=>{for(let Z=ne;Z<T.length;Z++){const Te=T[Z]=se?as(T[Z]):Wn(T[Z]);m(null,Te,x,L,K,B,X,ae,se)}},k=(T,x,L,K,B,X,ae)=>{const se=x.el=T.el;let{patchFlag:ne,dynamicChildren:Z,dirs:Te}=x;ne|=T.patchFlag&16;const de=T.props||Je,Se=x.props||Je;let G;if(L&&zs(L,!1),(G=Se.onVnodeBeforeUpdate)&&qn(G,L,x,T),Te&&Kr(x,T,L,"beforeUpdate"),L&&zs(L,!0),(de.innerHTML&&Se.innerHTML==null||de.textContent&&Se.textContent==null)&&u(se,""),Z?R(T.dynamicChildren,Z,se,L,K,Ah(x,B),X):ae||Q(T,x,se,null,L,K,Ah(x,B),X,!1),ne>0){if(ne&16)M(se,de,Se,L,B);else if(ne&2&&de.class!==Se.class&&s(se,"class",null,Se.class,B),ne&4&&s(se,"style",de.style,Se.style,B),ne&8){const me=x.dynamicProps;for(let Ie=0;Ie<me.length;Ie++){const Ne=me[Ie],Vt=de[Ne],Ut=Se[Ne];(Ut!==Vt||Ne==="value")&&s(se,Ne,Vt,Ut,B,L)}}ne&1&&T.children!==x.children&&u(se,x.children)}else!ae&&Z==null&&M(se,de,Se,L,B);((G=Se.onVnodeUpdated)||Te)&&Xt(()=>{G&&qn(G,L,x,T),Te&&Kr(x,T,L,"updated")},K)},R=(T,x,L,K,B,X,ae)=>{for(let se=0;se<x.length;se++){const ne=T[se],Z=x[se],Te=ne.el&&(ne.type===Me||!Lr(ne,Z)||ne.shapeFlag&198)?f(ne.el):L;m(ne,Z,Te,null,K,B,X,ae,!0)}},M=(T,x,L,K,B)=>{if(x!==L){if(x!==Je)for(const X in x)!Ci(X)&&!(X in L)&&s(T,X,x[X],null,B,K);for(const X in L){if(Ci(X))continue;const ae=L[X],se=x[X];ae!==se&&X!=="value"&&s(T,X,se,ae,B,K)}"value"in L&&s(T,"value",x.value,L.value,B)}},D=(T,x,L,K,B,X,ae,se,ne)=>{const Z=x.el=T?T.el:a(""),Te=x.anchor=T?T.anchor:a("");let{patchFlag:de,dynamicChildren:Se,slotScopeIds:G}=x;G&&(se=se?se.concat(G):G),T==null?(r(Z,L,K),r(Te,L,K),A(x.children||[],L,Te,B,X,ae,se,ne)):de>0&&de&64&&Se&&T.dynamicChildren&&T.dynamicChildren.length===Se.length?(R(T.dynamicChildren,Se,L,B,X,ae,se),(x.key!=null||B&&x===B.subTree)&&d0(T,x,!0)):Q(T,x,L,Te,B,X,ae,se,ne)},$=(T,x,L,K,B,X,ae,se,ne)=>{x.slotScopeIds=se,T==null?x.shapeFlag&512?B.ctx.activate(x,L,K,ae,ne):U(x,L,K,B,X,ae,ne):J(T,x,ne)},U=(T,x,L,K,B,X,ae)=>{const se=T.component=p4(T,K,B);if(Ul(T)&&(se.ctx.renderer=we),g4(se,!1,ae),se.asyncDep){if(B&&B.registerDep(se,V,ae),!T.el){const ne=se.subTree=I(qt);_(null,ne,x,L),T.placeholder=ne.el}}else V(se,T,x,L,B,X,ae)},J=(T,x,L)=>{const K=x.component=T.component;if(ST(T,x,L))if(K.asyncDep&&!K.asyncResolved){W(K,x,L);return}else K.next=x,K.update();else x.el=T.el,K.vnode=x},V=(T,x,L,K,B,X,ae)=>{const se=()=>{if(T.isMounted){let{next:de,bu:Se,u:G,parent:me,vnode:Ie}=T;{const fn=a4(T);if(fn){de&&(de.el=Ie.el,W(T,de,ae)),fn.asyncDep.then(()=>{T.isUnmounted||se()});return}}let Ne=de,Vt;zs(T,!1),de?(de.el=Ie.el,W(T,de,ae)):de=Ie,Se&&ga(Se),(Vt=de.props&&de.props.onVnodeBeforeUpdate)&&qn(Vt,me,de,Ie),zs(T,!0);const Ut=Hu(T),Tt=T.subTree;T.subTree=Ut,m(Tt,Ut,f(Tt.el),H(Tt),T,B,X),de.el=Ut.el,Ne===null&&xd(T,Ut.el),G&&Xt(G,B),(Vt=de.props&&de.props.onVnodeUpdated)&&Xt(()=>qn(Vt,me,de,Ie),B)}else{let de;const{el:Se,props:G}=x,{bm:me,m:Ie,parent:Ne,root:Vt,type:Ut}=T,Tt=Ii(x);if(zs(T,!1),me&&ga(me),!Tt&&(de=G&&G.onVnodeBeforeMount)&&qn(de,Ne,x),zs(T,!0),Se&&bt){const fn=()=>{T.subTree=Hu(T),bt(Se,T.subTree,T,B,null)};Tt&&Ut.__asyncHydrate?Ut.__asyncHydrate(Se,T,fn):fn()}else{Vt.ce&&Vt.ce._def.shadowRoot!==!1&&Vt.ce._injectChildStyle(Ut);const fn=T.subTree=Hu(T);m(null,fn,L,K,T,B,X),x.el=fn.el}if(Ie&&Xt(Ie,B),!Tt&&(de=G&&G.onVnodeMounted)){const fn=x;Xt(()=>qn(de,Ne,fn),B)}(x.shapeFlag&256||Ne&&Ii(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&T.a&&Xt(T.a,B),T.isMounted=!0,x=L=K=null}};T.scope.on();const ne=T.effect=new ol(se);T.scope.off();const Z=T.update=ne.run.bind(ne),Te=T.job=ne.runIfDirty.bind(ne);Te.i=T,Te.id=T.uid,ne.scheduler=()=>Jm(Te),zs(T,!0),Z()},W=(T,x,L)=>{x.component=T;const K=T.vnode.props;T.vnode=x,T.next=null,TT(T,x.props,K,L),IT(T,x.children,L),Ni(),dg(T),$i()},Q=(T,x,L,K,B,X,ae,se,ne=!1)=>{const Z=T&&T.children,Te=T?T.shapeFlag:0,de=x.children,{patchFlag:Se,shapeFlag:G}=x;if(Se>0){if(Se&128){ie(Z,de,L,K,B,X,ae,se,ne);return}else if(Se&256){le(Z,de,L,K,B,X,ae,se,ne);return}}G&8?(Te&16&&Ze(Z,B,X),de!==Z&&u(L,de)):Te&16?G&16?ie(Z,de,L,K,B,X,ae,se,ne):Ze(Z,B,X,!0):(Te&8&&u(L,""),G&16&&A(de,L,K,B,X,ae,se,ne))},le=(T,x,L,K,B,X,ae,se,ne)=>{T=T||ha,x=x||ha;const Z=T.length,Te=x.length,de=Math.min(Z,Te);let Se;for(Se=0;Se<de;Se++){const G=x[Se]=ne?as(x[Se]):Wn(x[Se]);m(T[Se],G,L,null,B,X,ae,se,ne)}Z>Te?Ze(T,B,X,!0,!1,de):A(x,L,K,B,X,ae,se,ne,de)},ie=(T,x,L,K,B,X,ae,se,ne)=>{let Z=0;const Te=x.length;let de=T.length-1,Se=Te-1;for(;Z<=de&&Z<=Se;){const G=T[Z],me=x[Z]=ne?as(x[Z]):Wn(x[Z]);if(Lr(G,me))m(G,me,L,null,B,X,ae,se,ne);else break;Z++}for(;Z<=de&&Z<=Se;){const G=T[de],me=x[Se]=ne?as(x[Se]):Wn(x[Se]);if(Lr(G,me))m(G,me,L,null,B,X,ae,se,ne);else break;de--,Se--}if(Z>de){if(Z<=Se){const G=Se+1,me=G<Te?x[G].el:K;for(;Z<=Se;)m(null,x[Z]=ne?as(x[Z]):Wn(x[Z]),L,me,B,X,ae,se,ne),Z++}}else if(Z>Se)for(;Z<=de;)Re(T[Z],B,X,!0),Z++;else{const G=Z,me=Z,Ie=new Map;for(Z=me;Z<=Se;Z++){const er=x[Z]=ne?as(x[Z]):Wn(x[Z]);er.key!=null&&Ie.set(er.key,Z)}let Ne,Vt=0;const Ut=Se-me+1;let Tt=!1,fn=0;const vc=new Array(Ut);for(Z=0;Z<Ut;Z++)vc[Z]=0;for(Z=G;Z<=de;Z++){const er=T[Z];if(Vt>=Ut){Re(er,B,X,!0);continue}let Wr;if(er.key!=null)Wr=Ie.get(er.key);else for(Ne=me;Ne<=Se;Ne++)if(vc[Ne-me]===0&&Lr(er,x[Ne])){Wr=Ne;break}Wr===void 0?Re(er,B,X,!0):(vc[Wr-me]=Z+1,Wr>=fn?fn=Wr:Tt=!0,m(er,x[Wr],L,null,B,X,ae,se,ne),Vt++)}const sg=Tt?OT(vc):ha;for(Ne=sg.length-1,Z=Ut-1;Z>=0;Z--){const er=me+Z,Wr=x[er],og=x[er+1],ag=er+1<Te?og.el||c4(og):K;vc[Z]===0?m(null,Wr,L,ag,B,X,ae,se,ne):Tt&&(Ne<0||Z!==sg[Ne]?Ce(Wr,L,ag,2):Ne--)}}},Ce=(T,x,L,K,B=null)=>{const{el:X,type:ae,transition:se,children:ne,shapeFlag:Z}=T;if(Z&6){Ce(T.component.subTree,x,L,K);return}if(Z&128){T.suspense.move(x,L,K);return}if(Z&64){ae.move(T,x,L,we);return}if(ae===Me){r(X,x,L);for(let de=0;de<ne.length;de++)Ce(ne[de],x,L,K);r(T.anchor,x,L);return}if(ae===go){y(T,x,L);return}if(K!==2&&Z&1&&se)if(K===0)se.beforeEnter(X),r(X,x,L),Xt(()=>se.enter(X),B);else{const{leave:de,delayLeave:Se,afterLeave:G}=se,me=()=>{T.ctx.isUnmounted?i(X):r(X,x,L)},Ie=()=>{X._isLeaving&&X[vi](!0),de(X,()=>{me(),G&&G()})};Se?Se(X,me,Ie):Ie()}else r(X,x,L)},Re=(T,x,L,K=!1,B=!1)=>{const{type:X,props:ae,ref:se,children:ne,dynamicChildren:Z,shapeFlag:Te,patchFlag:de,dirs:Se,cacheIndex:G}=T;if(de===-2&&(B=!1),se!=null&&(Ni(),ya(se,null,L,T,!0),$i()),G!=null&&(x.renderCache[G]=void 0),Te&256){x.ctx.deactivate(T);return}const me=Te&1&&Se,Ie=!Ii(T);let Ne;if(Ie&&(Ne=ae&&ae.onVnodeBeforeUnmount)&&qn(Ne,x,T),Te&6)mt(T.component,L,K);else{if(Te&128){T.suspense.unmount(L,K);return}me&&Kr(T,null,x,"beforeUnmount"),Te&64?T.type.remove(T,x,L,we,K):Z&&!Z.hasOnce&&(X!==Me||de>0&&de&64)?Ze(Z,x,L,!1,!0):(X===Me&&de&384||!B&&Te&16)&&Ze(ne,x,L),K&&vt(T)}(Ie&&(Ne=ae&&ae.onVnodeUnmounted)||me)&&Xt(()=>{Ne&&qn(Ne,x,T),me&&Kr(T,null,x,"unmounted")},L)},vt=T=>{const{type:x,el:L,anchor:K,transition:B}=T;if(x===Me){Dt(L,K);return}if(x===go){v(T);return}const X=()=>{i(L),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(T.shapeFlag&1&&B&&!B.persisted){const{leave:ae,delayLeave:se}=B,ne=()=>ae(L,X);se?se(T.el,X,ne):ne()}else X()},Dt=(T,x)=>{let L;for(;T!==x;)L=d(T),i(T),T=L;i(x)},mt=(T,x,L)=>{const{bum:K,scope:B,job:X,subTree:ae,um:se,m:ne,a:Z}=T;Tf(ne),Tf(Z),K&&ga(K),B.stop(),X&&(X.flags|=8,Re(ae,T,x,L)),se&&Xt(se,x),Xt(()=>{T.isUnmounted=!0},x)},Ze=(T,x,L,K=!1,B=!1,X=0)=>{for(let ae=X;ae<T.length;ae++)Re(T[ae],x,L,K,B)},H=T=>{if(T.shapeFlag&6)return H(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const x=d(T.anchor||T.el),L=x&&x[Av];return L?d(L):x};let pe=!1;const ce=(T,x,L)=>{let K;T==null?x._vnode&&(Re(x._vnode,null,null,!0),K=x._vnode.component):m(x._vnode||null,T,x,null,null,null,L),x._vnode=T,pe||(pe=!0,dg(K),wf(),pe=!1)},we={p:m,um:Re,m:Ce,r:vt,mt:U,mc:A,pc:Q,pbc:R,n:H,o:e};let Be,bt;return t&&([Be,bt]=t(we)),{render:ce,hydrate:Be,createApp:mT(ce,Be)}}function Ah({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function o4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function d0(e,t,n=!1){const r=e.children,i=t.children;if(he(r)&&he(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=as(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&d0(o,a)),a.type===vs&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(e.type===Me?1:0)),a.type===qt&&!a.el&&(a.el=o.el)}}function OT(e){const t=e.slice(),n=[0];let r,i,s,o,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<l?s=a+1:o=a;l<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function a4(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:a4(t)}function Tf(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function c4(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?c4(t.subTree):null}const kf=e=>e.__isSuspense;let m1=0;const AT={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,c,l){if(e==null)RT(t,n,r,i,s,o,a,c,l);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}PT(e,t,n,r,i,o,a,c,l)}},hydrate:DT,normalize:NT},h0=AT;function dl(e,t){const n=e.props&&e.props[t];Oe(n)&&n()}function RT(e,t,n,r,i,s,o,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=l4(e,i,r,t,f,n,s,o,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,o),d.deps>0?(dl(e,"onPending"),dl(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,o),va(d,e.ssFallback)):d.resolve(!1,!0)}function PT(e,t,n,r,i,s,o,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:g,isHydrating:_}=f;if(m)f.pendingBranch=d,Lr(m,d)?(c(m,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():g&&(_||(c(p,h,n,r,i,null,s,o,a),va(f,h)))):(f.pendingId=m1++,_?(f.isHydrating=!1,f.activeBranch=m):l(m,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),g?(c(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(c(p,h,n,r,i,null,s,o,a),va(f,h))):p&&Lr(p,d)?(c(p,d,n,r,i,f,s,o,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(p&&Lr(p,d))c(p,d,n,r,i,f,s,o,a),va(f,d);else if(dl(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=m1++,c(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:y}=f;b>0?setTimeout(()=>{f.pendingId===y&&f.fallback(h)},b):b===0&&f.fallback(h)}}function l4(e,t,n,r,i,s,o,a,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:g}}=l;let _;const b=$T(e);b&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const y=e.props?gf(e.props.timeout):void 0,v=s,w={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:m1++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,O=!1){const{vnode:A,activeBranch:k,pendingBranch:R,pendingId:M,effects:D,parentComponent:$,container:U,isInFallback:J}=w;let V=!1;w.isHydrating?w.isHydrating=!1:S||(V=k&&R.transition&&R.transition.mode==="out-in",V&&(k.transition.afterLeave=()=>{M===w.pendingId&&(d(R,U,s===v?p(k):s,0),bo(D),J&&A.ssFallback&&(A.ssFallback.el=null))}),k&&(m(k.el)===U&&(s=p(k)),h(k,$,w,!0),!V&&J&&A.ssFallback&&Xt(()=>A.ssFallback.el=null,w)),V||d(R,U,s,0)),va(w,R),w.pendingBranch=null,w.isInFallback=!1;let W=w.parent,Q=!1;for(;W;){if(W.pendingBranch){W.effects.push(...D),Q=!0;break}W=W.parent}!Q&&!V&&bo(D),w.effects=[],b&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!O&&t.resolve()),dl(A,"onResolve")},fallback(S){if(!w.pendingBranch)return;const{vnode:O,activeBranch:A,parentComponent:k,container:R,namespace:M}=w;dl(O,"onFallback");const D=p(A),$=()=>{w.isInFallback&&(f(null,S,R,D,k,null,M,a,c),va(w,S))},U=S.transition&&S.transition.mode==="out-in";U&&(A.transition.afterLeave=$),w.isInFallback=!0,h(A,k,null,!0),U||$()},move(S,O,A){w.activeBranch&&d(w.activeBranch,S,O,A),w.container=S},next(){return w.activeBranch&&p(w.activeBranch)},registerDep(S,O,A){const k=!!w.pendingBranch;k&&w.deps++;const R=S.vnode.el;S.asyncDep.catch(M=>{Ao(M,S,0)}).then(M=>{if(S.isUnmounted||w.isUnmounted||w.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:D}=S;y1(S,M,!1),R&&(D.el=R);const $=!R&&S.subTree.el;O(S,D,m(R||S.subTree.el),R?null:p(S.subTree),w,o,A),$&&(D.placeholder=null,g($)),xd(S,D.el),k&&--w.deps===0&&w.resolve()})},unmount(S,O){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,S,O),w.pendingBranch&&h(w.pendingBranch,n,S,O)}};return w}function DT(e,t,n,r,i,s,o,a,c){const l=t.suspense=l4(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,o);return l.deps===0&&l.resolve(!1,!0),u}function NT(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=xg(r?n.default:n),e.ssFallback=r?xg(n.fallback):I(qt)}function xg(e){let t;if(Oe(e)){const n=wo&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=Cn,f4())}return he(e)&&(e=vT(e)),e=Wn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function u4(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):bo(e)}function va(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,xd(r,i))}function $T(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Me=Symbol.for("v-fgt"),vs=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),go=Symbol.for("v-stc"),Kc=[];let Cn=null;function E(e=!1){Kc.push(Cn=e?null:[])}function f4(){Kc.pop(),Cn=Kc[Kc.length-1]||null}let wo=1;function hl(e,t=!1){wo+=e,e<0&&Cn&&t&&(Cn.hasOnce=!0)}function d4(e){return e.dynamicChildren=wo>0?Cn||ha:null,f4(),wo>0&&Cn&&Cn.push(e),e}function P(e,t,n,r,i,s){return d4(C(e,t,n,r,i,s,!0))}function q(e,t,n,r,i){return d4(I(e,t,n,r,i,!0))}function si(e){return e?e.__v_isVNode===!0:!1}function Lr(e,t){return e.type===t.type&&e.key===t.key}function LT(e){}const h4=({key:e})=>e??null,qu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fe(e)||et(e)||Oe(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,r=0,i=null,s=e===Me?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&h4(t),ref:t&&qu(t),scopeId:bd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:mn};return a?(g0(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=Fe(n)?8:16),wo>0&&!o&&Cn&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Cn.push(c),c}const I=MT;function MT(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===jv)&&(e=qt),si(e)){const a=Yn(e,t,!0);return n&&g0(a,n),wo>0&&!s&&Cn&&(a.shapeFlag&6?Cn[Cn.indexOf(e)]=a:Cn.push(a)),a.patchFlag=-2,a}if(zT(e)&&(e=e.__vccOpts),t){t=p0(t);let{class:a,style:c}=t;a&&!Fe(a)&&(t.class=ve(a)),pt(c)&&(Ml(c)&&!he(c)&&(c=qe({},c)),t.style=Pi(c))}const o=Fe(e)?1:kf(e)?128:Rv(e)?64:pt(e)?4:Oe(e)?2:0;return C(e,t,n,r,i,o,s,!0)}function p0(e){return e?Ml(e)||Jv(e)?qe({},e):e:null}function Yn(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:c}=e,l=t?xs(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&h4(l),ref:t&&t.ref?n&&s?he(s)?s.concat(qu(t)):[s,qu(t)]:qu(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yn(e.ssContent),ssFallback:e.ssFallback&&Yn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Li(u,c.clone(u)),u}function ee(e=" ",t=0){return I(vs,null,e,t)}function m0(e,t){const n=I(go,null,e);return n.staticCount=t,n}function Y(e="",t=!1){return t?(E(),q(qt,null,e)):I(qt,null,e)}function Wn(e){return e==null||typeof e=="boolean"?I(qt):he(e)?I(Me,null,e.slice()):si(e)?as(e):I(vs,null,String(e))}function as(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Yn(e)}function g0(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),g0(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Jv(t)?t._ctx=mn:i===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),r&64?(n=16,t=[ee(t)]):n=8);e.children=t,e.shapeFlag|=n}function xs(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=ve([t.class,r.class]));else if(i==="style")t.style=Pi([t.style,r.style]);else if(Co(i)){const s=t[i],o=r[i];o&&s!==o&&!(he(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function qn(e,t,n,r=null){Er(e,t,7,[n,r])}const FT=Wv();let VT=0;function p4(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||FT,s={uid:VT++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zv(r,i),emitsOptions:Qv(r,i),emit:null,emitted:null,propsDefaults:Je,inheritAttrs:r.inheritAttrs,ctx:Je,data:Je,props:Je,attrs:Je,slots:Je,refs:Je,setupState:Je,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=_T.bind(null,s),e.ce&&e.ce(s),s}let pn=null;const Et=()=>pn||mn;let xf,g1;{const e=fd(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};xf=t("__VUE_INSTANCE_SETTERS__",n=>pn=n),g1=t("__VUE_SSR_SETTERS__",n=>Aa=n)}const So=e=>{const t=pn;return xf(e),e.scope.on(),()=>{e.scope.off(),xf(t)}},_1=()=>{pn&&pn.scope.off(),xf(null)};function m4(e){return e.vnode.shapeFlag&4}let Aa=!1;function g4(e,t=!1,n=!1){t&&g1(t);const{props:r,children:i}=e.vnode,s=m4(e);ET(e,r,s,t),CT(e,i,n||t);const o=s?UT(e,t):void 0;return t&&g1(!1),o}function UT(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,f1);const{setup:r}=n;if(r){Ni();const i=e.setupContext=r.length>1?v4(e):null,s=So(e),o=rc(r,e,0,[e.props,i]),a=od(o);if($i(),s(),(a||e.sp)&&!Ii(e)&&e0(e),a){if(o.then(_1,_1),t)return o.then(c=>{y1(e,c,t)}).catch(c=>{Ao(c,e,0)});e.asyncDep=o}else y1(e,o,t)}else y4(e,t)}function y1(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=Km(t)),y4(e,n)}let Cf,v1;function _4(e){Cf=e,v1=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,YE))}}const BT=()=>!Cf;function y4(e,t,n){const r=e.type;if(!e.render){if(!t&&Cf&&!r.render){const i=r.template||l0(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=qe(qe({isCustomElement:s,delimiters:a},o),c);r.render=Cf(i,l)}}e.render=r.render||gn,v1&&v1(e)}{const i=So(e);Ni();try{lT(e)}finally{$i(),i()}}}const jT={get(e,t){return Tn(e,"get",""),e[t]}};function v4(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,jT),slots:e.slots,emit:e.emit,expose:t}}function jl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Km(Fl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qc)return Qc[n](e)},has(t,n){return n in t||n in Qc}})):e.proxy}function b1(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function zT(e){return Oe(e)&&"__vccOpts"in e}const re=(e,t)=>fE(e,t,Aa);function Gt(e,t,n){try{hl(-1);const r=arguments.length;return r===2?pt(t)&&!he(t)?si(t)?I(e,null,[t]):I(e,t):I(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&si(n)&&(n=[n]),I(e,t,n))}finally{hl(1)}}function HT(){}function qT(e,t,n,r){const i=n[r];if(i&&b4(i,e))return i;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function b4(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ln(n[r],t[r]))return!1;return wo>0&&Cn&&Cn.push(e),!0}const w4="3.5.27",WT=gn,GT=bE,QT=Yo,KT=Tv,YT={createComponentInstance:p4,setupComponent:g4,renderComponentRoot:Hu,setCurrentRenderingInstance:ul,isVNode:si,normalizeVNode:Wn,getComponentPublicInstance:jl,ensureValidVNode:c0,pushWarningContext:gE,popWarningContext:_E},JT=YT,XT=null,ZT=null,ek=null;let w1;const Cg=typeof window<"u"&&window.trustedTypes;if(Cg)try{w1=Cg.createPolicy("vue",{createHTML:e=>e})}catch{}const S4=w1?e=>w1.createHTML(e):e=>e,tk="http://www.w3.org/2000/svg",nk="http://www.w3.org/1998/Math/MathML",_i=typeof document<"u"?document:null,Ig=_i&&_i.createElement("template"),E4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?_i.createElementNS(tk,e):t==="mathml"?_i.createElementNS(nk,e):n?_i.createElement(e,{is:n}):_i.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>_i.createTextNode(e),createComment:e=>_i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Ig.innerHTML=S4(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ig.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xi="transition",wc="animation",Ra=Symbol("_vtc"),T4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},k4=qe({},Zm,T4),rk=e=>(e.displayName="Transition",e.props=k4,e),Fr=rk((e,{slots:t})=>Gt(Lv,x4(e),t)),Hs=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Og=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function x4(e){const t={};for(const D in e)D in T4||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=ik(i),m=p&&p[0],g=p&&p[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:y,onLeave:v,onLeaveCancelled:w,onBeforeAppear:S=_,onAppear:O=b,onAppearCancelled:A=y}=t,k=(D,$,U,J)=>{D._enterCancelled=J,ts(D,$?u:a),ts(D,$?l:o),U&&U()},R=(D,$)=>{D._isLeaving=!1,ts(D,f),ts(D,h),ts(D,d),$&&$()},M=D=>($,U)=>{const J=D?O:b,V=()=>k($,D,U);Hs(J,[$,V]),Ag(()=>{ts($,D?c:s),Gr($,D?u:a),Og(J)||Rg($,r,m,V)})};return qe(t,{onBeforeEnter(D){Hs(_,[D]),Gr(D,s),Gr(D,o)},onBeforeAppear(D){Hs(S,[D]),Gr(D,c),Gr(D,l)},onEnter:M(!1),onAppear:M(!0),onLeave(D,$){D._isLeaving=!0;const U=()=>R(D,$);Gr(D,f),D._enterCancelled?(Gr(D,d),S1(D)):(S1(D),Gr(D,d)),Ag(()=>{D._isLeaving&&(ts(D,f),Gr(D,h),Og(v)||Rg(D,r,g,U))}),Hs(v,[D,U])},onEnterCancelled(D){k(D,!1,void 0,!0),Hs(y,[D])},onAppearCancelled(D){k(D,!0,void 0,!0),Hs(A,[D])},onLeaveCancelled(D){R(D),Hs(w,[D])}})}function ik(e){if(e==null)return null;if(pt(e))return[Rh(e.enter),Rh(e.leave)];{const t=Rh(e);return[t,t]}}function Rh(e){return gf(e)}function Gr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ra]||(e[Ra]=new Set)).add(t)}function ts(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ra];n&&(n.delete(t),n.size||(e[Ra]=void 0))}function Ag(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let sk=0;function Rg(e,t,n,r){const i=e._endId=++sk,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:c}=C4(e,t);if(!o)return r();const l=o+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},a+1),e.addEventListener(l,d)}function C4(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${Xi}Delay`),s=r(`${Xi}Duration`),o=Pg(i,s),a=r(`${wc}Delay`),c=r(`${wc}Duration`),l=Pg(a,c);let u=null,f=0,d=0;t===Xi?o>0&&(u=Xi,f=o,d=s.length):t===wc?l>0&&(u=wc,f=l,d=c.length):(f=Math.max(o,l),u=f>0?o>l?Xi:wc:null,d=u?u===Xi?s.length:c.length:0);const h=u===Xi&&/\b(?:transform|all)(?:,|$)/.test(r(`${Xi}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Pg(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Dg(n)+Dg(e[r])))}function Dg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function S1(e){return(e?e.ownerDocument:document).body.offsetHeight}function ok(e,t,n){const r=e[Ra];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const If=Symbol("_vod"),I4=Symbol("_vsh"),oi={name:"show",beforeMount(e,{value:t},{transition:n}){e[If]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Sc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Sc(e,!0),r.enter(e)):r.leave(e,()=>{Sc(e,!1)}):Sc(e,t))},beforeUnmount(e,{value:t}){Sc(e,t)}};function Sc(e,t){e.style.display=t?e[If]:"none",e[I4]=!t}function ak(){oi.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const O4=Symbol("");function ck(e){const t=Et();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Of(s,i))},r=()=>{const i=e(t.proxy);t.ce?Of(t.ce,i):E1(t.subTree,i),n(i)};r0(()=>{bo(r)}),yn(()=>{it(r,gn,{flush:"post"});const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),ic(()=>i.disconnect())})}function E1(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{E1(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Of(e.el,t);else if(e.type===Me)e.children.forEach(n=>E1(n,t));else if(e.type===go){let{el:n,anchor:r}=e;for(;n&&(Of(n,t),n!==r);)n=n.nextSibling}}function Of(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t){const s=$S(t[i]);n.setProperty(`--${i}`,s),r+=`--${i}: ${s};`}n[O4]=r}}const lk=/(?:^|;)\s*display\s*:/;function uk(e,t,n){const r=e.style,i=Fe(n);let s=!1;if(n&&!i){if(t)if(Fe(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Wu(r,a,"")}else for(const o in t)n[o]==null&&Wu(r,o,"");for(const o in n)o==="display"&&(s=!0),Wu(r,o,n[o])}else if(i){if(t!==n){const o=r[O4];o&&(n+=";"+o),r.cssText=n,s=lk.test(n)}}else t&&e.removeAttribute("style");If in e&&(e[If]=s?r.display:"",e[I4]&&(r.display="none"))}const Ng=/\s*!important$/;function Wu(e,t,n){if(he(n))n.forEach(r=>Wu(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=fk(e,t);Ng.test(n)?e.setProperty(Gn(r),n.replace(Ng,""),"important"):e[r]=n}}const $g=["Webkit","Moz","ms"],Ph={};function fk(e,t){const n=Ph[t];if(n)return n;let r=xt(t);if(r!=="filter"&&r in e)return Ph[t]=r;r=Oo(r);for(let i=0;i<$g.length;i++){const s=$g[i]+r;if(s in e)return Ph[t]=s}return t}const Lg="http://www.w3.org/1999/xlink";function Mg(e,t,n,r,i,s=DS(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Lg,t.slice(6,t.length)):e.setAttributeNS(Lg,t,n):n==null||s&&!Xy(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Xn(n)?String(n):n)}function Fg(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?S4(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Xy(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Si(e,t,n,r){e.addEventListener(t,n,r)}function dk(e,t,n,r){e.removeEventListener(t,n,r)}const Vg=Symbol("_vei");function hk(e,t,n,r,i=null){const s=e[Vg]||(e[Vg]={}),o=s[t];if(r&&o)o.value=r;else{const[a,c]=pk(t);if(r){const l=s[t]=_k(r,i);Si(e,a,l,c)}else o&&(dk(e,a,o,c),s[t]=void 0)}}const Ug=/(?:Once|Passive|Capture)$/;function pk(e){let t;if(Ug.test(e)){t={};let r;for(;r=e.match(Ug);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Gn(e.slice(2)),t]}let Dh=0;const mk=Promise.resolve(),gk=()=>Dh||(mk.then(()=>Dh=0),Dh=Date.now());function _k(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Er(yk(r,n.value),t,5,[r])};return n.value=e,n.attached=gk(),n}function yk(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Bg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,A4=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?ok(e,r,o):t==="style"?uk(e,n,r):Co(t)?zm(t)||hk(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vk(e,t,r,o))?(Fg(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Mg(e,t,r,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Fe(r))?Fg(e,xt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Mg(e,t,r,o))};function vk(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bg(t)&&Oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Bg(t)&&Fe(n)?!1:t in e}const jg={};function R4(e,t,n){let r=or(e,t);ad(r)&&(r=qe({},r,t));class i extends Cd{constructor(o){super(r,o,n)}}return i.def=r,i}const bk=((e,t)=>R4(e,t,y0)),wk=typeof HTMLElement<"u"?HTMLElement:class{};class Cd extends wk{constructor(t,n={},r=Rf){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Rf?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(qe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Cd){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Wt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:o}=r;let a;if(s&&!he(s))for(const c in s){const l=s[c];(l===Number||l&&l.type===Number)&&(c in this._props&&(this._props[c]=gf(this._props[c])),(a||(a=Object.create(null)))[xt(c)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(o),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)st(this,r)||Object.defineProperty(this,r,{get:()=>F(n[r])})}_resolveProps(t){const{props:n}=t,r=he(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(xt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):jg;const i=xt(t);n&&this._numberProps&&this._numberProps[i]&&(r=gf(r)),this._setProp(i,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===jg?delete this._props[t]:(this._props[t]=n,t==="
4key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),r)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(Gn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Gn(t),n+""):n||this.removeAttribute(Gn(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),z4(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=I(this._def,qe(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,ad(o[0])?qe({detail:o},o[0]):{detail:o}))};r.emit=(s,...o)=>{i(s,o),Gn(s)!==s&&i(Gn(s),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let i=t.length-1;i>=0;i--){const s=document.createElement("style");r&&s.setAttribute("nonce",r),s.textContent=t[i],this.shadowRoot.prepe
vendor: 71,281 bytes, lines 4-10
4nd(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const i=t[r],s=i.getAttribute("name")||"default",o=this._slots[s],a=i.parentNode;if(o)for(const c of o){if(n&&c.nodeType===1){const l=n+"-s",u=document.createTreeWalker(c,1);c.setAttribute(l,"");let f;for(;f=u.nextNode();)f.setAttribute(l,"")}a.insertBefore(c,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const r of t){const i=r.querySelectorAll("slot");for(let s=0;s<i.length;s++)n.add(i[s])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){}}function P4(e){const t=Et(),n=t&&t.ce;return n||null}function Sk(){const e=P4();return e&&e.shadowRoot}function Ek(e="$style"){{const t=Et();if(!t)return Je;const n=t.type.__cssModules;if(!n)return Je;const r=n[e];return r||Je}}const D4=new WeakMap,N4=new WeakMap,Af=Symbol("_moveCb"),zg=Symbol("_enterCb"),Tk=e=>(delete e.props.mode,e),kk=Tk({name:"TransitionGroup",props:qe({},k4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Et(),r=Xm();let i,s;return Ed(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Ak(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Ck),i.forEach(Ik);const a=i.filter(Ok);S1(n.vnode.el),a.forEach(c=>{const l=c.el,u=l.style;Gr(l,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[Af]=d=>{d&&d.target!==l||(!d||d.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",f),l[Af]=null,ts(l,o))};l.addEventListener("transitionend",f)}),i=[]}),()=>{const o=We(e),a=x4(o);let c=o.tag||Me;if(i=[],s)for(let l=0;l<s.length;l++){const u=s[l];u.el&&u.el instanceof Element&&(i.push(u),Li(u,Oa(u,a,r,n)),D4.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}s=t.default?wd(t.default()):[];for(let l=0;l<s.length;l++){const u=s[l];u.key!=null&&Li(u,Oa(u,a,r,n))}return I(c,null,s)}}}),xk=kk;function Ck(e){const t=e.el;t[Af]&&t[Af](),t[zg]&&t[zg]()}function Ik(e){N4.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function Ok(e){const t=D4.get(e),n=N4.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${i}px)`,s.transitionDuration="0s",e}}function Ak(e,t,n){const r=e.cloneNode(),i=e[Ra];i&&i.forEach(a=>{a.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=C4(r);return s.removeChild(r),o}const Cs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>ga(t,n):t};function Rk(e){e.target.composing=!0}function Hg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wr=Symbol("_assign");function qg(e,t,n){return t&&(e=e.trim()),n&&(e=ud(e)),e}const Fi={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[wr]=Cs(i);const s=r||i.props&&i.props.type==="number";Si(e,t?"change":"input",o=>{o.target.composing||e[wr](qg(e.value,n,s))}),(n||s)&&Si(e,"change",()=>{e.value=qg(e.value,n,s)}),t||(Si(e,"compositionstart",Rk),Si(e,"compositionend",Hg),Si(e,"change",Hg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[wr]=Cs(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?ud(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},_0={deep:!0,created(e,t,n){e[wr]=Cs(n),Si(e,"change",()=>{const r=e._modelValue,i=Pa(e),s=e.checked,o=e[wr];if(he(r)){const a=hd(r,i),c=a!==-1;if(s&&!c)o(r.concat(i));else if(!s&&c){const l=[...r];l.splice(a,1),o(l)}}else if(Io(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(L4(e,s))})},mounted:Wg,beforeUpdate(e,t,n){e[wr]=Cs(n),Wg(e,t,n)}};function Wg(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(he(t))i=hd(t,r.props.value)>-1;else if(Io(t))i=t.has(r.props.value);else{if(t===n)return;i=ks(t,L4(e,!0))}e.checked!==i&&(e.checked=i)}const Id={created(e,{value:t},n){e.checked=ks(t,n.props.value),e[wr]=Cs(n),Si(e,"change",()=>{e[wr](Pa(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[wr]=Cs(r),t!==n&&(e.checked=ks(t,r.props.value))}},$4={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Io(t);Si(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ud(Pa(o)):Pa(o));e[wr](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,Wt(()=>{e._assigning=!1})}),e[wr]=Cs(r)},mounted(e,{value:t}){Gg(e,t)},beforeUpdate(e,t,n){e[wr]=Cs(n)},updated(e,{value:t}){e._assigning||Gg(e,t)}};function Gg(e,t){const n=e.multiple,r=he(t);if(!(n&&!r&&!Io(t))){for(let i=0,s=e.options.length;i<s;i++){const o=e.options[i],a=Pa(o);if(n)if(r){const c=typeof a;c==="string"||c==="number"?o.selected=t.some(l=>String(l)===String(a)):o.selected=hd(t,a)>-1}else o.selected=t.has(a);else if(ks(Pa(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Pa(e){return"_value"in e?e._value:e.value}function L4(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const M4={created(e,t,n){mu(e,t,n,null,"created")},mounted(e,t,n){mu(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){mu(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){mu(e,t,n,r,"updated")}};function F4(e,t){switch(e){case"SELECT":return $4;case"TEXTAREA":return Fi;default:switch(t){case"checkbox":return _0;case"radio":return Id;default:return Fi}}}function mu(e,t,n,r,i){const o=F4(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}function Pk(){Fi.getSSRProps=({value:e})=>({value:e}),Id.getSSRProps=({value:e},t)=>{if(t.props&&ks(t.props.value,e))return{checked:!0}},_0.getSSRProps=({value:e},t)=>{if(he(e)){if(t.props&&hd(e,t.props.value)>-1)return{checked:!0}}else if(Io(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},M4.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=F4(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Dk=["ctrl","shift","alt","meta"],Nk={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Dk.some(n=>e[`${n}Key`]&&!t.includes(n))},on=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o<t.length;o++){const a=Nk[t[o]];if(a&&a(i,t))return}return e(i,...s)}))},$k={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},V4=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(i=>{if(!("key"in i))return;const s=Gn(i.key);if(t.some(o=>o===s||$k[o]===s))return e(i)}))},U4=qe({patchProp:A4},E4);let Yc,Qg=!1;function B4(){return Yc||(Yc=r4(U4))}function j4(){return Yc=Qg?Yc:i4(U4),Qg=!0,Yc}const z4=((...e)=>{B4().render(...e)}),Lk=((...e)=>{j4().hydrate(...e)}),Rf=((...e)=>{const t=B4().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=q4(r);if(!i)return;const s=t._component;!Oe(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,H4(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),y0=((...e)=>{const t=j4().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=q4(r);if(i)return n(i,!0,H4(i))},t});function H4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function q4(e){return Fe(e)?document.querySelector(e):e}let Kg=!1;const Mk=()=>{Kg||(Kg=!0,Pk(),ak())},Fk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Lv,BaseTransitionPropsValidators:Zm,Comment:qt,DeprecationTypes:ek,EffectScope:qm,ErrorCodes:vE,ErrorTypeStrings:GT,Fragment:Me,KeepAlive:Fv,ReactiveEffect:ol,Static:go,Suspense:h0,Teleport:OE,Text:vs,TrackOpTypes:dE,Transition:Fr,TransitionGroup:xk,TriggerOpTypes:hE,VueElement:Cd,assertNumber:yE,callWithAsyncErrorHandling:Er,callWithErrorHandling:rc,camelize:xt,capitalize:Oo,cloneVNode:Yn,compatUtils:ZT,computed:re,createApp:Rf,createBlock:q,createCommentVNode:Y,createElementBlock:P,createElementVNode:C,createHydrationRenderer:i4,createPropsRestProxy:aT,createRenderer:r4,createSSRApp:y0,createSlots:QE,createStaticVNode:m0,createTextVNode:ee,createVNode:I,customRef:Ym,defineAsyncComponent:ao,defineComponent:or,defineCustomElement:R4,defineEmits:XE,defineExpose:ZE,defineModel:nT,defineOptions:eT,defineProps:JE,defineSSRCustomElement:bk,defineSlots:tT,devtools:QT,effect:MS,effectScope:pd,getCurrentInstance:Et,getCurrentScope:Wi,getCurrentWatcher:pE,getTransitionRawChildren:wd,guardReactiveProps:p0,h:Gt,handleError:Ao,hasInjectionContext:Ro,hydrate:Lk,hydrateOnIdle:VE,hydrateOnInteraction:zE,hydrateOnMediaQuery:jE,hydrateOnVisible:BE,initCustomFormatter:HT,initDirectivesForSSR:Mk,inject:Ft,isMemoSame:b4,isProxy:Ml,isReactive:rr,isReadonly:Sr,isRef:et,isRuntimeOnly:BT,isShallow:Kn,isVNode:si,markRaw:Fl,mergeDefaults:sT,mergeModels:oT,mergeProps:xs,nextTick:Wt,nodeOps:E4,normalizeClass:ve,normalizeProps:dd,normalizeStyle:Pi,onActivated:t0,onBeforeMount:Bl,onBeforeUnmount:xr,onBeforeUpdate:r0,onDeactivated:n0,onErrorCaptured:s0,onMounted:yn,onRenderTracked:Bv,onRenderTriggered:Uv,onScopeDispose:Di,onServerPrefetch:i0,onUnmounted:ic,onUpdated:Ed,onWatcherCleanup:vv,openBlock:E,patchProp:A4,popScopeId:TE,provide:ni,proxyRefs:Km,pushScopeId:EE,queuePostFlushCb:bo,reactive:An,readonly:yf,ref:Ee,registerRuntimeCompiler:_4,render:z4,renderList:Pt,renderSlot:_t,resolveComponent:l1,resolveDirective:Td,resolveDynamicComponent:Mi,resolveFilter:XT,resolveTransitionHooks:Oa,setBlockTracking:hl,setDevtoolsHook:KT,setTransitionHooks:Li,shallowReactive:Jr,shallowReadonly:rE,shallowRef:Fn,ssrContextKey:kv,ssrUtils:JT,stop:FS,toDisplayString:ye,toHandlerKey:ma,toHandlers:KE,toRaw:We,toRef:nc,toRefs:_v,toValue:vd,transformVNodeArgs:LT,triggerRef:sE,unref:F,useAttrs:zv,useCssModule:Ek,useCssVars:ck,useHost:P4,useId:RE,useModel:gT,useSSRContext:xv,useShadowRoot:Sk,useSlots:iT,useTemplateRef:PE,useTransitionState:Xm,vModelCheckbox:_0,vModelDynamic:M4,vModelRadio:Id,vModelSelect:$4,vModelText:Fi,vShow:oi,version:w4,warn:WT,watch:it,watchEffect:Cv,watchPostEffect:xE,watchSyncEffect:Iv,withAsyncContext:cT,withCtx:j,withDefaults:rT,withDirectives:Kt,withKeys:V4,withMemo:qT,withModifiers:on,withScopeId:kE},Symbol.toStringTag,{value:"Module"}));const pl=Symbol(""),Jc=Symbol(""),v0=Symbol(""),Pf=Symbol(""),W4=Symbol(""),Eo=Symbol(""),G4=Symbol(""),Q4=Symbol(""),b0=Symbol(""),w0=Symbol(""),zl=Symbol(""),S0=Symbol(""),K4=Symbol(""),E0=Symbol(""),T0=Symbol(""),k0=Symbol(""),x0=Symbol(""),C0=Symbol(""),I0=Symbol(""),Y4=Symbol(""),J4=Symbol(""),Od=Symbol(""),Df=Symbol(""),O0=Symbol(""),A0=Symbol(""),ml=Symbol(""),Hl=Symbol(""),R0=Symbol(""),T1=Symbol(""),Vk=Symbol(""),k1=Symbol(""),Nf=Symbol(""),Uk=Symbol(""),Bk=Symbol(""),P0=Symbol(""),jk=Symbol(""),zk=Symbol(""),D0=Symbol(""),X4=Symbol(""),Da={[pl]:"Fragment",[Jc]:"Teleport",[v0]:"Suspense",[Pf]:"KeepAlive",[W4]:"BaseTransition",[Eo]:"openBlock",[G4]:"createBlock",[Q4]:"createElementBlock",[b0]:"createVNode",[w0]:"createElementVNode",[zl]:"createCommentVNode",[S0]:"createTextVNode",[K4]:"createStaticVNode",[E0]:"resolveComponent",[T0]:"resolveDynamicComponent",[k0]:"resolveDirective",[x0]:"resolveFilter",[C0]:"withDirectives",[I0]:"renderList",[Y4]:"renderSlot",[J4]:"createSlots",[Od]:"toDisplayString",[Df]:"mergeProps",[O0]:"normalizeClass",[A0]:"normalizeStyle",[ml]:"normalizeProps",[Hl]:"guardReactiveProps",[R0]:"toHandlers",[T1]:"camelize",[Vk]:"capitalize",[k1]:"toHandlerKey",[Nf]:"setBlockTracking",[Uk]:"pushScopeId",[Bk]:"popScopeId",[P0]:"withCtx",[jk]:"unref",[zk]:"isRef",[D0]:"withMemo",[X4]:"isMemoSame"};function Hk(e){Object.getOwnPropertySymbols(e).forEach(t=>{Da[t]=e[t]})}const ar={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function qk(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:ar}}function gl(e,t,n,r,i,s,o,a=!1,c=!1,l=!1,u=ar){return e&&(a?(e.helper(Eo),e.helper(La(e.inSSR,l))):e.helper($a(e.inSSR,l)),o&&e.helper(C0)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:s,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:u}}function _o(e,t=ar){return{type:17,loc:t,elements:e}}function br(e,t=ar){return{type:15,loc:t,properties:e}}function Zt(e,t){return{type:16,loc:ar,key:Fe(e)?Ue(e,!0):e,value:t}}function Ue(e,t=!1,n=ar,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Vr(e,t=ar){return{type:8,loc:t,children:e}}function sn(e,t=[],n=ar){return{type:14,loc:n,callee:e,arguments:t}}function Na(e,t=void 0,n=!1,r=!1,i=ar){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function x1(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:ar}}function Wk(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:ar}}function Gk(e){return{type:21,body:e,loc:ar}}function $a(e,t){return e||t?b0:w0}function La(e,t){return e||t?G4:Q4}function N0(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n($a(r,e.isComponent)),t(Eo),t(La(r,e.isComponent)))}const Yg=new Uint8Array([123,123]),Jg=new Uint8Array([125,125]);function Xg(e){return e>=97&&e<=122||e>=65&&e<=90}function tr(e){return e===32||e===10||e===9||e===12||e===13}function Zi(e){return e===47||e===62||tr(e)}function $f(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const bn={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Qk{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Yg,this.delimiterClose=Jg,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Yg,this.delimiterClose=Jg}getPos(t){let n=1,r=t+1;const i=this.newlines.length;let s=-1;if(i>100){let o=-1,a=i;for(;o+1<a;){const c=o+a>>>1;this.newlines[c]<t?o=c:a=c}s=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){s=o;break}return s>=0&&(n=s+2,r=t-this.newlines[s]),{column:r,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Zi(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||tr(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===bn.TitleEnd||this.currentSequence===bn.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===bn.Cdata[this.sequenceIndex]?++this.sequenceIndex===bn.Cdata.length&&(this.state=28,this.currentSequence=bn.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===bn.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Xg(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Zi(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Zi(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA($f("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){tr(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Xg(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||tr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):tr(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):tr(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Zi(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Zi(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Zi(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Zi(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Zi(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):tr(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):tr(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){tr(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=bn.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===bn.ScriptEnd[3]?this.startSpecial(bn.ScriptEnd,4):t===bn.StyleEnd[3]?this.startSpecial(bn.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===bn.TitleEnd[3]?this.startSpecial(bn.TitleEnd,4):t===bn.TextareaEnd[3]?this.startSpecial(bn.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===bn.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function Zg(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function yo(e,t){const n=Zg("MODE",t),r=Zg(e,t);return n===3?r===!0:r!==!1}function _l(e,t,n,...r){return yo(e,t)}function $0(e){throw e}function Z4(e){}function kt(e,t,n,r){const i=`https://vuejs.org/error-reference/#compiler-${e}`,s=new SyntaxError(String(i));return s.code=e,s.loc=t,s}const Qn=e=>e.type===4&&e.isStatic;function e8(e){switch(e){case"Teleport":case"teleport":return Jc;case"Suspense":case"suspense":return v0;case"KeepAlive":case"keep-alive":return Pf;case"BaseTransition":case"base-transition":return W4}}const Kk=/^$|^\d|[^\$\w\xA0-\uFFFF]/,L0=e=>!Kk.test(e),t8=/[A-Za-z_$\xA0-\uFFFF]/,Yk=/[\.\?\w$\xA0-\uFFFF]/,Jk=/\s+[.[]\s*|\s*[.[]\s+/g,n8=e=>e.type===4?e.content:e.loc.source,Xk=e=>{const t=n8(e).trim().replace(Jk,a=>a.trim());let n=0,r=[],i=0,s=0,o=null;for(let a=0;a<t.length;a++){const c=t.charAt(a);switch(n){case 0:if(c==="[")r.push(n),n=1,i++;else if(c==="(")r.push(n),n=2,s++;else if(!(a===0?t8:Yk).test(c))return!1;break;case 1:c==="'"||c==='"'||c==="`"?(r.push(n),n=3,o=c):c==="["?i++:c==="]"&&(--i||(n=r.pop()));break;case 2:if(c==="'"||c==='"'||c==="`")r.push(n),n=3,o=c;else if(c==="(")s++;else if(c===")"){if(a===t.length-1)return!1;--s||(n=r.pop())}break;case 3:c===o&&(n=r.pop(),o=null);break}}return!i&&!s},r8=Xk,Zk=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,ex=e=>Zk.test(n8(e)),tx=ex;function gr(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(i.type===7&&(n||i.exp)&&(Fe(t)?i.name===t:t.test(i.name)))return i}}function Ad(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6){if(n)continue;if(s.name===t&&(s.value||r))return s}else if(s.name==="bind"&&(s.exp||r)&&co(s.arg,t))return s}}function co(e,t){return!!(e&&Qn(e)&&e.content===t)}function nx(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Nh(e){return e.type===5||e.type===2}function e3(e){return e.type===7&&e.name==="pre"}function rx(e){return e.type===7&&e.name==="slot"}function Lf(e){return e.type===1&&e.tagType===3}function Mf(e){return e.type===1&&e.tagType===2}const ix=new Set([ml,Hl]);function i8(e,t=[]){if(e&&!Fe(e)&&e.type===14){const n=e.callee;if(!Fe(n)&&ix.has(n))return i8(e.arguments[0],t.concat(e))}return[e,t]}function Ff(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],s=[],o;if(i&&!Fe(i)&&i.type===14){const a=i8(i);i=a[0],s=a[1],o=s[s.length-1]}if(i==null||Fe(i))r=br([t]);else if(i.type===14){const a=i.arguments[0];!Fe(a)&&a.type===15?t3(t,a)||a.properties.unshift(t):i.callee===R0?r=sn(n.helper(Df),[br([t]),i]):i.arguments.unshift(br([t])),!r&&(r=i)}else i.type===15?(t3(t,i)||i.properties.unshift(t),r=i):(r=sn(n.helper(Df),[br([t]),i]),o&&o.callee===Hl&&(o=s[s.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function t3(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===r)}return n}function yl(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function sx(e){return e.type===14&&e.callee===D0?e.arguments[1].returns:e}const ox=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function s8(e){for(let t=0;t<e.length;t++)if(!tr(e.charCodeAt(t)))return!1;return!0}function M0(e){return e.type===2&&s8(e.content)||e.type===12&&M0(e.content)}function o8(e){return e.type===3||M0(e)}const a8={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:ta,isPreTag:ta,isIgnoreNewlineTag:ta,isCustomElement:ta,onError:$0,onWarn:Z4,comments:!1,prefixIdentifiers:!1};let ot=a8,vl=null,Oi="",En=null,Ke=null,zn="",gi=-1,Ys=-1,F0=0,cs=!1,C1=null;const Ct=[],Lt=new Qk(Ct,{onerr:pi,ontext(e,t){gu(hn(e,t),e,t)},ontextentity(e,t,n){gu(e,t,n)},oninterpolation(e,t){if(cs)return gu(hn(e,t),e,t);let n=e+Lt.delimiterOpen.length,r=t-Lt.delimiterClose.length;for(;tr(Oi.charCodeAt(n));)n++;for(;tr(Oi.charCodeAt(r-1));)r--;let i=hn(n,r);i.includes("&")&&(i=ot.decodeEntities(i,!1)),I1({type:5,content:Qu(i,!1,Bt(n,r)),loc:Bt(e,t)})},onopentagname(e,t){const n=hn(e,t);En={type:1,tag:n,ns:ot.getNamespace(n,Ct[0],ot.ns),tagType:0,props:[],children:[],loc:Bt(e-1,t),codegenNode:void 0}},onopentagend(e){r3(e)},onclosetag(e,t){const n=hn(e,t);if(!ot.isVoidTag(n)){let r=!1;for(let i=0;i<Ct.length;i++)if(Ct[i].tag.toLowerCase()===n.toLowerCase()){r=!0,i>0&&pi(24,Ct[0].loc.start.offset);for(let o=0;o<=i;o++){const a=Ct.shift();Gu(a,t,o<i)}break}r||pi(23,c8(e,60))}},onselfclosingtag(e){const t=En.tag;En.isSelfClosing=!0,r3(e),Ct[0]&&Ct[0].tag===t&&Gu(Ct.shift(),e)},onattribname(e,t){Ke={type:6,name:hn(e,t),nameLoc:Bt(e,t),value:void 0,loc:Bt(e)}},ondirname(e,t){const n=hn(e,t),r=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!cs&&r===""&&pi(26,e),cs||r==="")Ke={type:6,name:n,nameLoc:Bt(e,t),value:void 0,loc:Bt(e)};else if(Ke={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Ue("prop")]:[],loc:Bt(e)},r==="pre"){cs=Lt.inVPre=!0,C1=En;const i=En.props;for(let s=0;s<i.length;s++)i[s].type===7&&(i[s]=gx(i[s]))}},ondirarg(e,t){if(e===t)return;const n=hn(e,t);if(cs&&!e3(Ke))Ke.name+=n,lo(Ke.nameLoc,t);else{const r=n[0]!=="[";Ke.arg=Qu(r?n:n.slice(1,-1),r,Bt(e,t),r?3:0)}},ondirmodifier(e,t){const n=hn(e,t);if(cs&&!e3(Ke))Ke.name+="."+n,lo(Ke.nameLoc,t);else if(Ke.name==="slot"){const r=Ke.arg;r&&(r.content+="."+n,lo(r.loc,t))}else{const r=Ue(n,!0,Bt(e,t));Ke.modifiers.push(r)}},onattribdata(e,t){zn+=hn(e,t),gi<0&&(gi=e),Ys=t},onattribentity(e,t,n){zn+=e,gi<0&&(gi=t),Ys=n},onattribnameend(e){const t=Ke.loc.start.offset,n=hn(t,e);Ke.type===7&&(Ke.rawName=n),En.props.some(r=>(r.type===7?r.rawName:r.name)===n)&&pi(2,t)},onattribend(e,t){if(En&&Ke){if(lo(Ke.loc,t),e!==0)if(zn.includes("&")&&(zn=ot.decodeEntities(zn,!0)),Ke.type===6)Ke.name==="class"&&(zn=u8(zn).trim()),e===1&&!zn&&pi(13,t),Ke.value={type:2,content:zn,loc:e===1?Bt(gi,Ys):Bt(gi-1,Ys+1)},Lt.inSFCRoot&&En.tag==="template"&&Ke.name==="lang"&&zn&&zn!=="html"&&Lt.enterRCDATA($f("</template"),0);else{let n=0;Ke.exp=Qu(zn,!1,Bt(gi,Ys),0,n),Ke.name==="for"&&(Ke.forParseResult=cx(Ke.exp));let r=-1;Ke.name==="bind"&&(r=Ke.modifiers.findIndex(i=>i.content==="sync"))>-1&&_l("COMPILER_V_BIND_SYNC",ot,Ke.loc,Ke.arg.loc.source)&&(Ke.name="model",Ke.modifiers.splice(r,1))}(Ke.type!==7||Ke.name!=="pre")&&En.props.push(Ke)}zn="",gi=Ys=-1},oncomment(e,t){ot.comments&&I1({type:3,content:hn(e,t),loc:Bt(e-4,t+3)})},onend(){const e=Oi.length;for(let t=0;t<Ct.length;t++)Gu(Ct[t],e-1),pi(24,Ct[t].loc.start.offset)},oncdata(e,t){Ct[0].ns!==0?gu(hn(e,t),e,t):pi(1,e-9)},onprocessinginstruction(e){(Ct[0]?Ct[0].ns:ot.ns)===0&&pi(21,e-1)}}),n3=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ax=/^\(|\)$/g;function cx(e){const t=e.loc,n=e.content,r=n.match(ox);if(!r)return;const[,i,s]=r,o=(f,d,h=!1)=>{const p=t.start.offset+d,m=p+f.length;return Qu(f,!1,Bt(p,m),0,h?1:0)},a={source:o(s.trim(),n.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(ax,"").trim();const l=i.indexOf(c),u=c.match(n3);if(u){c=c.replace(n3,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,l+c.length),a.key=o(f,d,!0)),u[2]){const h=u[2].trim();h&&(a.index=o(h,n.indexOf(h,a.key?d+f.length:l+c.length),!0))}}return c&&(a.value=o(c,l,!0)),a}function hn(e,t){return Oi.slice(e,t)}function r3(e){Lt.inSFCRoot&&(En.innerLoc=Bt(e+1,e+1)),I1(En);const{tag:t,ns:n}=En;n===0&&ot.isPreTag(t)&&F0++,ot.isVoidTag(t)?Gu(En,e):(Ct.unshift(En),(n===1||n===2)&&(Lt.inXML=!0)),En=null}function gu(e,t,n){{const s=Ct[0]&&Ct[0].tag;s!=="script"&&s!=="style"&&e.includes("&")&&(e=ot.decodeEntities(e,!1))}const r=Ct[0]||vl,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,lo(i.loc,n)):r.children.push({type:2,content:e,loc:Bt(t,n)})}function Gu(e,t,n=!1){n?lo(e.loc,c8(t,60)):lo(e.loc,lx(t,62)+1),Lt.inSFCRoot&&(e.children.length?e.innerLoc.end=qe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=qe({},e.innerLoc.start),e.innerLoc.source=hn(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:i,children:s}=e;if(cs||(r==="slot"?e.tagType=2:i3(e)?e.tagType=3:fx(e)&&(e.tagType=1)),Lt.inRCDATA||(e.children=l8(s)),i===0&&ot.isIgnoreNewlineTag(r)){const o=s[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ot.isPreTag(r)&&F0--,C1===e&&(cs=Lt.inVPre=!1,C1=null),Lt.inXML&&(Ct[0]?Ct[0].ns:ot.ns)===0&&(Lt.inXML=!1);{const o=e.props;if(!Lt.inSFCRoot&&yo("COMPILER_NATIVE_TEMPLATE",ot)&&e.tag==="template"&&!i3(e)){const c=Ct[0]||vl,l=c.children.indexOf(e);c.children.splice(l,1,...e.children)}const a=o.find(c=>c.type===6&&c.name==="inline-template");a&&_l("COMPILER_INLINE_TEMPLATE",ot,a.loc)&&e.children.length&&(a.value={type:2,content:hn(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function lx(e,t){let n=e;for(;Oi.charCodeAt(n)!==t&&n<Oi.length-1;)n++;return n}function c8(e,t){let n=e;for(;Oi.charCodeAt(n)!==t&&n>=0;)n--;return n}const ux=new Set(["if","else","else-if","for","slot"]);function i3({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&ux.has(t[n].name))return!0}return!1}function fx({tag:e,props:t}){if(ot.isCustomElement(e))return!1;if(e==="component"||dx(e.charCodeAt(0))||e8(e)||ot.isBuiltInComponent&&ot.isBuiltInComponent(e)||ot.isNativeTag&&!ot.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const r=t[n];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(_l("COMPILER_IS_ON_ELEMENT",ot,r.loc))return!0}}else if(r.name==="bind"&&co(r.arg,"is")&&_l("COMPILER_IS_ON_ELEMENT",ot,r.loc))return!0}return!1}function dx(e){return e>64&&e<91}const hx=/\r\n/g;function l8(e){const t=ot.whitespace!=="preserve";let n=!1;for(let r=0;r<e.length;r++){const i=e[r];if(i.type===2)if(F0)i.content=i.content.replace(hx,` 5`);else if(s8(i.content)){const s=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!s||!o||t&&(s===3&&(o===3||o===1)||s===1&&(o===3||o===1&&px(i.content)))?(n=!0,e[r]=null):i.content=" "}else t&&(i.content=u8(i.content))}return n?e.filter(Boolean):e}function px(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function u8(e){let t="",n=!1;for(let r=0;r<e.length;r++)tr(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function I1(e){(Ct[0]||vl).children.push(e)}function Bt(e,t){return{start:Lt.getPos(e),end:t==null?t:Lt.getPos(t),source:t==null?t:hn(e,t)}}function mx(e){return Bt(e.start.offset,e.end.offset)}function lo(e,t){e.end=Lt.getPos(t),e.source=hn(e.start.offset,t)}function gx(e){const t={type:6,name:e.rawName,nameLoc:Bt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Qu(e,t=!1,n,r=0,i=0){return Ue(e,t,n,r)}function pi(e,t,n){ot.onError(kt(e,Bt(t,t)))}function _x(){Lt.reset(),En=null,Ke=null,zn="",gi=-1,Ys=-1,Ct.length=0}function yx(e,t){if(_x(),Oi=e,ot=qe({},a8),t){let i;for(i in t)t[i]!=null&&(ot[i]=t[i])}Lt.mode=ot.parseMode==="html"?1:ot.parseMode==="sfc"?2:0,Lt.inXML=ot.ns===1||ot.ns===2;const n=t&&t.delimiters;n&&(Lt.delimiterOpen=$f(n[0]),Lt.delimiterClose=$f(n[1]));const r=vl=qk([],e);return Lt.parse(Oi),r.loc=Bt(0,e.length),r.children=l8(r.children),vl=null,r}function vx(e,t){Ku(e,void 0,t,!!f8(e))}function f8(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Mf(t[0])?t[0]:null}function Ku(e,t,n,r=!1,i=!1){const{children:s}=e,o=[];for(let u=0;u<s.length;u++){const f=s[u];if(f.type===1&&f.tagType===0){const d=r?0:nr(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const p=h.patchFlag;if((p===void 0||p===512||p===1)&&h8(f,n)>=2){const m=p8(f);m&&(h.props=n.hoist(m))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(r?0:nr(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),o.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,Ku(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)Ku(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)Ku(f.branches[d],e,n,f.branches[d].children.length===1,i)}let a=!1;if(o.length===s.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&he(e.codegenNode.children))e.codegenNode.children=c(_o(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!he(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=l(e.codegenNode,"default");u&&(u.returns=c(_o(u.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!he(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=gr(e,"slot",!0),f=u&&u.arg&&l(t.codegenNode,u.arg);f&&(f.returns=c(_o(f.returns)),a=!0)}}if(!a)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function c(u){const f=n.cache(u);return f.needArraySpread=!0,f}function l(u,f){if(u.children&&!he(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(s,n,e)}function nr(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const r=n.get(e);if(r!==void 0)return r;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const a=h8(e,t);if(a===0)return n.set(e,0),0;a<o&&(o=a);for(let c=0;c<e.children.length;c++){const l=nr(e.children[c],t);if(l===0)return n.set(e,0),0;l<o&&(o=l)}if(o>1)for(let c=0;c<e.props.length;c++){const l=e.props[c];if(l.type===7&&l.name==="bind"&&l.exp){const u=nr(l.exp,t);if(u===0)return n.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let c=0;c<e.props.length;c++)if(e.props[c].type===7)return n.set(e,0),0;t.removeHelper(Eo),t.removeHelper(La(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper($a(t.inSSR,i.isComponent))}return n.set(e,o),o}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return nr(e.content,t);case 4:return e.constType;case 8:let s=3;for(let o=0;o<e.children.length;o++){const a=e.children[o];if(Fe(a)||Xn(a))continue;const c=nr(a,t);if(c===0)return 0;c<s&&(s=c)}return s;case 20:return 2;default:return 0}}const bx=new Set([O0,A0,ml,Hl]);function d8(e,t){if(e.type===14&&!Fe(e.callee)&&bx.has(e.callee)){const n=e.arguments[0];if(n.type===4)return nr(n,t);if(n.type===14)return d8(n,t)}return 0}function h8(e,t){let n=3;const r=p8(e);if(r&&r.type===15){const{properties:i}=r;for(let s=0;s<i.length;s++){const{key:o,value:a}=i[s],c=nr(o,t);if(c===0)return c;c<n&&(n=c);let l;if(a.type===4?l=nr(a,t):a.type===14?l=d8(a,t):l=0,l===0)return l;l<n&&(n=l)}}return n}function p8(e){const t=e.codegenNode;if(t.type===13)return t.props}function wx(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:s=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:c=null,isBuiltInComponent:l=gn,isCustomElement:u=gn,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:g="",bindingMetadata:_=Je,inline:b=!1,isTS:y=!1,onError:v=$0,onWarn:w=Z4,compatConfig:S}){const O=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={filename:t,selfName:O&&Oo(xt(O[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:s,nodeTransforms:o,directiveTransforms:a,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:p,inSSR:m,ssrCssVars:g,bindingMetadata:_,inline:b,isTS:y,onError:v,onWarn:w,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(k){const R=A.helpers.get(k)||0;return A.helpers.set(k,R+1),k},removeHelper(k){const R=A.helpers.get(k);if(R){const M=R-1;M?A.helpers.set(k,M):A.helpers.delete(k)}},helperString(k){return`_${Da[A.helper(k)]}`},replaceNode(k){A.parent.children[A.childIndex]=A.currentNode=k},removeNode(k){const R=A.parent.children,M=k?R.indexOf(k):A.currentNode?A.childIndex:-1;!k||k===A.currentNode?(A.currentNode=null,A.onNodeRemoved()):A.childIndex>M&&(A.childIndex--,A.onNodeRemoved()),A.parent.children.splice(M,1)},onNodeRemoved:gn,addIdentifiers(k){},removeIdentifiers(k){},hoist(k){Fe(k)&&(k=Ue(k)),A.hoists.push(k);const R=Ue(`_hoisted_${A.hoists.length}`,!1,k.loc,2);return R.hoisted=k,R},cache(k,R=!1,M=!1){const D=Wk(A.cached.length,k,R,M);return A.cached.push(D),D}};return A.filters=new Set,A}function Sx(e,t){const n=wx(e,t);Rd(e,n),t.hoistStatic&&vx(e,n),t.ssr||Ex(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Ex(e,t){const{helper:n}=t,{children:r}=e;if(r.length===1){const i=f8(e);if(i&&i.codegenNode){const s=i.codegenNode;s.type===13&&N0(s,t),e.codegenNode=s}else e.codegenNode=r[0]}else if(r.length>1){let i=64;e.codegenNode=gl(t,n(pl),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Tx(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];Fe(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Rd(i,t))}}function Rd(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let s=0;s<n.length;s++){const o=n[s](e,t);if(o&&(he(o)?r.push(...o):r.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(zl);break;case 5:t.ssr||t.helper(Od);break;case 9:for(let s=0;s<e.branches.length;s++)Rd(e.branches[s],t);break;case 10:case 11:case 1:case 0:Tx(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function m8(e,t){const n=Fe(e)?r=>r===e:r=>e.test(r);return(r,i)=>{if(r.type===1){const{props:s}=r;if(r.tagType===3&&s.some(rx))return;const o=[];for(let a=0;a<s.length;a++){const c=s[a];if(c.type===7&&n(c.name)){s.splice(a,1),a--;const l=t(r,c,i);l&&o.push(l)}}return o}}}const Pd="/*@__PURE__*/",g8=e=>`${Da[e]}: _${Da[e]}`;function kx(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:i="template.vue.html",scopeId:s=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:s,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${Da[m]}`},push(m,g=-2,_){h.code+=m},indent(){p(++h.indentLevel)},deindent(m=!1){m?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(m){h.push(` 6`+" ".repeat(m),0)}return h}function xx(e,t={}){const n=kx(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:s,indent:o,deindent:a,newline:c,scopeId:l,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,h=!s&&r!=="module";Cx(e,n);const m=u?"ssrRender":"render",_=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${m}(${_}) {`),o(),h&&(i("with (_ctx) {"),o(),d&&(i(`const { ${f.map(g8).join(", ")} } = _Vue 7`,-1),c())),e.components.length&&($h(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&($h(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),$h(e.filters,"filter",n),c()),e.temps>0){i("let ");for(let b=0;b<e.temps;b++)i(`${b>0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` 8`,0),c()),u||i("return "),e.codegenNode?In(e.codegenNode,n):i("null"),h&&(a(),i("}")),a(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Cx(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:s,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=a,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${l} 9`,-1),e.hoists.length)){const f=[b0,w0,zl,S0,K4].filter(d=>u.includes(d)).map(g8).join(", ");i(`const { ${f} } = _Vue 10`,-1)}Ix(e.hoists,t),s(),i("return ")}function $h(e,t,{helper:n,push:r,newline:i,isTS:s}){const o=n(t==="filter"?x0:t==="component"?E0:k0);for(let a=0;a<e.length;a++){let c=e[a];const l=c.endsWith("__self");l&&(c=c.slice(0,-6)),r(`const ${yl(c,t)} = ${o}(${JSON.stringify(c)}${l?", true":""})${s?"!":""}`),a<e.length-1&&i()}}function Ix(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){const s=e[i];s&&(n(`const _hoisted_${i+1} = `),In(s,t),r())}t.pure=!1}function V0(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),ql(e,t,n),n&&t.deindent(),t.push("]")}function ql(e,t,n=!1,r=!0){const{push:i,newline:s}=t;for(let o=0;o<e.length;o++){const a=e[o];Fe(a)?i(a,-3):he(a)?V0(a,t):In(a,t),o<e.length-1&&(n?(r&&i(","),s()):r&&i(", "))}}function In(e,t){if(Fe(e)){t.push(e,-3);return}if(Xn(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:In(e.codegenNode,t);break;case 2:Ox(e,t);break;case 4:_8(e,t);break;case 5:Ax(e,t);break;case 12:In(e.codegenNode,t);break;case 8:y8(e,t);break;case 3:Px(e,t);break;case 13:Dx(e,t);break;case 14:$x(e,t);break;case 15:Lx(e,t);break;case 17:Mx(e,t);break;case 18:Fx(e,t);break;case 19:Vx(e,t);break;case 20:Ux(e,t);break;case 21:ql(e.body,t,!0,!1);break}}function Ox(e,t){t.push(JSON.stringify(e.content),-3,e)}function _8(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Ax(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Pd),n(`${r(Od)}(`),In(e.content,t),n(")")}function y8(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Fe(r)?t.push(r,-3):In(r,t)}}function Rx(e,t){const{push:n}=t;if(e.type===8)n("["),y8(e,t),n("]");else if(e.isStatic){const r=L0(e.content)?e.content:JSON.stringify(e.content);n(r,-2,e)}else n(`[${e.content}]`,-3,e)}function Px(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Pd),n(`${r(zl)}(${JSON.stringify(e.content)})`,-3,e)}function Dx(e,t){const{push:n,helper:r,pure:i}=t,{tag:s,props:o,children:a,patchFlag:c,dynamicProps:l,directives:u,isBlock:f,disableTracking:d,isComponent:h}=e;let p;c&&(p=String(c)),u&&n(r(C0)+"("),f&&n(`(${r(Eo)}(${d?"true":""}), `),i&&n(Pd);const m=f?La(t.inSSR,h):$a(t.inSSR,h);n(r(m)+"(",-2,e),ql(Nx([s,o,a,p,l]),t),n(")"),f&&n(")"),u&&(n(", "),In(u,t),n(")"))}function Nx(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function $x(e,t){const{push:n,helper:r,pure:i}=t,s=Fe(e.callee)?e.callee:r(e.callee);i&&n(Pd),n(s+"(",-2,e),ql(e.arguments,t),n(")")}function Lx(e,t){const{push:n,indent:r,deindent:i,newline:s}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&r();for(let c=0;c<o.length;c++){const{key:l,value:u}=o[c];Rx(l,t),n(": "),In(u,t),c<o.length-1&&(n(","),s())}a&&i(),n(a?"}":" }")}function Mx(e,t){V0(e.elements,t)}function Fx(e,t){const{push:n,indent:r,deindent:i}=t,{params:s,returns:o,body:a,newline:c,isSlot:l}=e;l&&n(`_${Da[P0]}(`),n("(",-2,e),he(s)?ql(s,t):s&&In(s,t),n(") => "),(c||a)&&(n("{"),r()),o?(c&&n("return "),he(o)?V0(o,t):In(o,t)):a&&In(a,t),(c||a)&&(i(),n("}")),l&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Vx(e,t){const{test:n,consequent:r,alternate:i,newline:s}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(n.type===4){const f=!L0(n.content);f&&o("("),_8(n,t),f&&o(")")}else o("("),In(n,t),o(")");s&&a(),t.indentLevel++,s||o(" "),o("? "),In(r,t),t.indentLevel--,s&&l(),s||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,In(i,t),u||t.indentLevel--,s&&c(!0)}function Ux(e,t){const{push:n,helper:r,indent:i,deindent:s,newline:o}=t,{needPauseTracking:a,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),a&&(i(),n(`${r(Nf)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),In(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(Nf)}(1),`),o(),n(`_cache[${e.index}]`),s()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Bx=m8(/^(?:if|else|else-if)$/,(e,t,n)=>jx(e,t,n,(r,i,s)=>{const o=n.parent.children;let a=o.indexOf(r),c=0;for(;a-->=0;){const l=o[a];l&&l.type===9&&(c+=l.branches.length)}return()=>{if(s)r.codegenNode=o3(i,c,n);else{const l=zx(r.codegenNode);l.alternate=o3(i,c+r.branches.length-1,n)}}}));function jx(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(kt(28,t.loc)),t.exp=Ue("true",!1,i)}if(t.name==="if"){const i=s3(e,t),s={type:9,loc:mx(e.loc),branches:[i]};if(n.replaceNode(s),r)return r(s,i,!0)}else{const i=n.parent.children;let s=i.indexOf(e);for(;s-->=-1;){const o=i[s];if(o&&o8(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&n.onError(kt(30,e.loc)),n.removeNode();const a=s3(e,t);o.branches.push(a);const c=r&&r(o,a,!1);Rd(a,n),c&&c(),n.currentNode=null}else n.onError(kt(30,e.loc));break}}}function s3(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!gr(e,"for")?e.children:[e],userKey:Ad(e,"key"),isTemplateIf:n}}function o3(e,t,n){return e.condition?x1(e.condition,a3(e,t,n),sn(n.helper(zl),['""',"true"])):a3(e,t,n)}function a3(e,t,n){const{helper:r}=n,i=Zt("key",Ue(`${t}`,!1,ar,2)),{children:s}=e,o=s[0];if(s.length!==1||o.type!==1)if(s.length===1&&o.type===11){const c=o.codegenNode;return Ff(c,i,n),c}else return gl(n,r(pl),br([i]),s,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,l=sx(c);return l.type===13&&N0(l,n),Ff(l,i,n),c}}function zx(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Hx=m8("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return qx(e,t,n,s=>{const o=sn(r(I0),[s.source]),a=Lf(e),c=gr(e,"memo"),l=Ad(e,"key",!1,!0);l&&l.type;let u=l&&(l.type===6?l.value?Ue(l.value.content,!0):void 0:l.exp);const f=l&&u?Zt("key",u):null,d=s.source.type===4&&s.source.constType>0,h=d?64:l?128:256;return s.codegenNode=gl(n,r(pl),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let p;const{children:m}=s,g=m.length!==1||m[0].type!==1,_=Mf(e)?e:a&&e.children.length===1&&Mf(e.children[0])?e.children[0]:null;if(_?(p=_.codegenNode,a&&f&&Ff(p,f,n)):g?p=gl(n,r(pl),f?br([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(p=m[0].codegenNode,a&&f&&Ff(p,f,n),p.isBlock!==!d&&(p.isBlock?(i(Eo),i(La(n.inSSR,p.isComponent))):i($a(n.inSSR,p.isComponent))),p.isBlock=!d,p.isBlock?(r(Eo),r(La(n.inSSR,p.isComponent))):r($a(n.inSSR,p.isComponent))),c){const b=Na(O1(s.parseResult,[Ue("_cached")]));b.body=Gk([Vr(["const _memo = (",c.exp,")"]),Vr(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(X4)}(_cached, _memo)) return _cached`]),Vr(["const _item = ",p]),Ue("_item.memo = _memo"),Ue("return _item")]),o.arguments.push(b,Ue("_cache"),Ue(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Na(O1(s.parseResult),p,!0))}})});function qx(e,t,n,r){if(!t.exp){n.onError(kt(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(kt(32,t.loc));return}v8(i);const{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:c,value:l,key:u,index:f}=i,d={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:f,parseResult:i,children:Lf(e)?e.children:[e]};n.replaceNode(d),a.vFor++;const h=r&&r(d);return()=>{a.vFor--,h&&h()}}function v8(e,t){e.finalized||(e.finalized=!0)}function O1({value:e,key:t,index:n},r=[]){return Wx([e,t,n,...r])}function Wx(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||Ue("_".repeat(r+1),!1))}const c3=Ue("undefined",!1),Gx=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=gr(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Qx=(e,t,n,r)=>Na(e,n,!1,!0,n.length?n[0].loc:r);function Kx(e,t,n=Qx){t.helper(P0);const{children:r,loc:i}=e,s=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const c=gr(e,"slot",!0);if(c){const{arg:g,exp:_}=c;g&&!Qn(g)&&(a=!0),s.push(Zt(g||Ue("default",!0),n(_,void 0,r,i)))}let l=!1,u=!1;const f=[],d=new Set;let h=0;for(let g=0;g<r.length;g++){const _=r[g];let b;if(!Lf(_)||!(b=gr(_,"slot",!0))){_.type!==3&&f.push(_);continue}if(c){t.onError(kt(37,b.loc));break}l=!0;const{children:y,loc:v}=_,{arg:w=Ue("default",!0),exp:S,loc:O}=b;let A;Qn(w)?A=w?w.content:"default":a=!0;const k=gr(_,"for"),R=n(S,k,y,v);let M,D;if(M=gr(_,"if"))a=!0,o.push(x1(M.exp,_u(w,R,h++),c3));else if(D=gr(_,/^else(?:-if)?$/,!0)){let $=g,U;for(;$--&&(U=r[$],!!o8(U)););if(U&&Lf(U)&&gr(U,/^(?:else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=D.exp?x1(D.exp,_u(w,R,h++),c3):_u(w,R,h++)}else t.onError(kt(30,D.loc))}else if(k){a=!0;const $=k.forParseResult;$?(v8($),o.push(sn(t.helper(I0),[$.source,Na(O1($),_u(w,R),!0)]))):t.onError(kt(32,k.loc))}else{if(A){if(d.has(A)){t.onError(kt(38,O));continue}d.add(A),A==="default"&&(u=!0)}s.push(Zt(w,R))}}if(!c){const g=(_,b)=>{const y=n(_,void 0,b,i);return t.compatConfig&&(y.isNonScopedSlot=!0),Zt("default",y)};l?f.length&&!f.every(M0)&&(u?t.onError(kt(39,f[0].loc)):s.push(g(void 0,f))):s.push(g(void 0,r))}const p=a?2:Yu(e.children)?3:1;let m=br(s.concat(Zt("_",Ue(p+"",!1))),i);return o.length&&(m=sn(t.helper(J4),[m,_o(o)])),{slots:m,hasDynamicSlots:a}}function _u(e,t,n){const r=[Zt("name",e),Zt("fn",t)];return n!=null&&r.push(Zt("key",Ue(String(n),!0))),br(r)}function Yu(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Yu(n.children))return!0;break;case 9:if(Yu(n.branches))return!0;break;case 10:case 11:if(Yu(n.children))return!0;break}}return!1}const b8=new WeakMap,Yx=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:i}=e,s=e.tagType===1;let o=s?Jx(e,t):`"${r}"`;const a=pt(o)&&o.callee===T0;let c,l,u=0,f,d,h,p=a||o===Jc||o===v0||!s&&(r==="svg"||r==="foreignObject"||r==="math");if(i.length>0){const m=w8(e,t,void 0,s,a);c=m.props,u=m.patchFlag,d=m.dynamicPropNames;const g=m.directives;h=g&&g.length?_o(g.map(_=>Zx(_,t))):void 0,m.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(o===Pf&&(p=!0,u|=1024),s&&o!==Jc&&o!==Pf){const{slots:g,hasDynamicSlots:_}=Kx(e,t);l=g,_&&(u|=1024)}else if(e.children.length===1&&o!==Jc){const g=e.children[0],_=g.type,b=_===5||_===8;b&&nr(g,t)===0&&(u|=1),b||_===2?l=g:l=e.children}else l=e.children;d&&d.length&&(f=eC(d)),e.codegenNode=gl(t,o,c,l,u===0?void 0:u,f,h,!!p,!1,s,e.loc)};function Jx(e,t,n=!1){let{tag:r}=e;const i=A1(r),s=Ad(e,"is",!1,!0);if(s)if(i||yo("COMPILER_IS_ON_ELEMENT",t)){let a;if(s.type===6?a=s.value&&Ue(s.value.content,!0):(a=s.exp,a||(a=Ue("is",!1,s.arg.loc))),a)return sn(t.helper(T0),[a])}else s.type===6&&s.value.content.startsWith("vue:")&&(r=s.value.content.slice(4));const o=e8(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(E0),t.components.add(r),yl(r,"component"))}function w8(e,t,n=e.props,r,i,s=!1){const{tag:o,loc:a,children:c}=e;let l=[];const u=[],f=[],d=c.length>0;let h=!1,p=0,m=!1,g=!1,_=!1,b=!1,y=!1,v=!1;const w=[],S=R=>{l.length&&(u.push(br(l3(l),a)),l=[]),R&&u.push(R)},O=()=>{t.scopes.vFor>0&&l.push(Zt(Ue("ref_for",!0),Ue("true")))},A=({key:R,value:M})=>{if(Qn(R)){const D=R.content,$=Co(D);if($&&(!r||i)&&D.toLowerCase()!=="onclick"&&D!=="onUpdate:modelValue"&&!Ci(D)&&(b=!0),$&&Ci(D)&&(v=!0),$&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&nr(M,t)>0)return;D==="ref"?m=!0:D==="class"?g=!0:D==="style"?_=!0:D!=="key"&&!w.includes(D)&&w.push(D),r&&(D==="class"||D==="style")&&!w.includes(D)&&w.push(D)}else y=!0};for(let R=0;R<n.length;R++){const M=n[R];if(M.type===6){const{loc:D,name:$,nameLoc:U,value:J}=M;let V=!0;if($==="ref"&&(m=!0,O()),$==="is"&&(A1(o)||J&&J.content.startsWith("vue:")||yo("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Zt(Ue($,!0,U),Ue(J?J.content:"",V,J?J.loc:D)))}else{const{name:D,arg:$,exp:U,loc:J,modifiers:V}=M,W=D==="bind",Q=D==="on";if(D==="slot"){r||t.onError(kt(40,J));continue}if(D==="once"||D==="memo"||D==="is"||W&&co($,"is")&&(A1(o)||yo("COMPILER_IS_ON_ELEMENT",t))||Q&&s)continue;if((W&&co($,"key")||Q&&d&&co($,"vue:before-update"))&&(h=!0),W&&co($,"ref")&&O(),!$&&(W||Q)){if(y=!0,U)if(W){if(S(),yo("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(U);continue}O(),S(),u.push(U)}else S({type:14,loc:J,callee:t.helper(R0),arguments:r?[U]:[U,"true"]});else t.onError(kt(W?34:35,J));continue}W&&V.some(ie=>ie.content==="prop")&&(p|=32);const le=t.directiveTransforms[D];if(le){const{props:ie,needRuntime:Ce}=le(M,e,t);!s&&ie.forEach(A),Q&&$&&!Qn($)?S(br(ie,a)):l.push(...ie),Ce&&(f.push(M),Xn(Ce)&&b8.set(M,Ce))}else mS(D)||(f.push(M),d&&(h=!0))}}let k;if(u.length?(S(),u.length>1?k=sn(t.helper(Df),u,a):k=u[0]):l.length&&(k=br(l3(l),a)),y?p|=16:(g&&!r&&(p|=2),_&&!r&&(p|=4),w.length&&(p|=8),b&&(p|=32)),!h&&(p===0||p===32)&&(m||v||f.length>0)&&(p|=512),!t.inSSR&&k)switch(k.type){case 15:let R=-1,M=-1,D=!1;for(let J=0;J<k.properties.length;J++){const V=k.properties[J].key;Qn(V)?V.content==="class"?R=J:V.content==="style"&&(M=J):V.isHandlerKey||(D=!0)}const $=k.properties[R],U=k.properties[M];D?k=sn(t.helper(ml),[k]):($&&!Qn($.value)&&($.value=sn(t.helper(O0),[$.value])),U&&(_||U.value.type===4&&U.value.content.trim()[0]==="["||U.value.type===17)&&(U.value=sn(t.helper(A0),[U.value])));break;case 14:break;default:k=sn(t.helper(ml),[sn(t.helper(Hl),[k])]);break}return{props:k,directives:f,patchFlag:p,dynamicPropNames:w,shouldUseBlock:h}}function l3(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const s=i.key.content,o=t.get(s);o?(s==="style"||s==="class"||Co(s))&&Xx(o,i):(t.set(s,i),n.push(i))}return n}function Xx(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=_o([e.value,t.value],e.loc)}function Zx(e,t){const n=[],r=b8.get(e);r?n.push(t.helperString(r)):(t.helper(k0),t.directives.add(e.name),n.push(yl(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const s=Ue("true",!1,i);n.push(br(e.modifiers.map(o=>Zt(o,s)),i))}return _o(n,e.loc)}function eC(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}function A1(e){return e==="component"||e==="Component"}const tC=(e,t)=>{if(Mf(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:s}=nC(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=Na([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=sn(t.helper(Y4),o,r)}};function nC(e,t){let n='"default"',r;const i=[];for(let s=0;s<e.props.length;s++){const o=e.props[s];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=xt(o.name),i.push(o)));else if(o.name==="bind"&&co(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=xt(o.arg.content);n=o.exp=Ue(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Qn(o.arg)&&(o.arg.content=xt(o.arg.content)),i.push(o)}if(i.length>0){const{props:s,directives:o}=w8(e,t,i,!1,!1);r=s,o.length&&t.onError(kt(36,o[0].loc))}return{slotName:n,slotProps:r}}const S8=(e,t,n,r)=>{const{loc:i,modifiers:s,arg:o}=e;!e.exp&&!s.length&&n.onError(kt(35,i));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?ma(xt(f)):`on:${f}`;a=Ue(d,!0,o.loc)}else a=Vr([`${n.helperString(k1)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(k1)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const f=r8(c),d=!(f||tx(c)),h=c.content.includes(";");(d||l&&f)&&(c=Vr([`${d?"$event":"(...args)"} => ${h?"{":"("}`,c,h?"}":")"]))}let u={props:[Zt(a,c||Ue("() => {}",!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},rC=(e,t,n)=>{const{modifiers:r,loc:i}=e,s=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),s.type!==4?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=s.content?`${s.content} || ""`:'""'),r.some(a=>a.content==="camel")&&(s.type===4?s.isStatic?s.content=xt(s.content):s.content=`${n.helperString(T1)}(${s.content})`:(s.children.unshift(`${n.helperString(T1)}(`),s.children.push(")"))),n.inSSR||(r.some(a=>a.content==="prop")&&u3(s,"."),r.some(a=>a.content==="attr")&&u3(s,"^")),{props:[Zt(s,o)]}},u3=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},iC=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,i=!1;for(let s=0;s<n.length;s++){const o=n[s];if(Nh(o)){i=!0;for(let a=s+1;a<n.length;a++){const c=n[a];if(Nh(c))r||(r=n[s]=Vr([o],o.loc)),r.children.push(" + ",c),n.splice(a,1),a--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(s=>s.type===7&&!t.directiveTransforms[s.name])&&e.tag!=="template")))for(let s=0;s<n.length;s++){const o=n[s];if(Nh(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!t.ssr&&nr(o,t)===0&&a.push("1"),n[s]={type:12,content:o,loc:o.loc,codegenNode:sn(t.helper(S0),a)}}}}},f3=new WeakSet,sC=(e,t)=>{if(e.type===1&&gr(e,"once",!0))return f3.has(e)||t.inVOnce||t.inSSR?void 0:(f3.add(e),t.inVOnce=!0,t.helper(Nf),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},E8=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(kt(41,e.loc)),Ec();const s=r.loc.source.trim(),o=r.type===4?r.content:s,a=n.bindingMetadata[s];if(a==="props"||a==="props-aliased")return n.onError(kt(44,r.loc)),Ec();if(a==="literal-const"||a==="setup-const")return n.onError(kt(45,r.loc)),Ec();if(!o.trim()||!r8(r))return n.onError(kt(42,r.loc)),Ec();const c=i||Ue("modelValue",!0),l=i?Qn(i)?`onUpdate:${xt(i.content)}`:Vr(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=Vr([`${f} => ((`,r,") = $event)"]);const d=[Zt(c,e.exp),Zt(l,u)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(m=>m.content).map(m=>(L0(m)?m:JSON.stringify(m))+": true").join(", "),p=i?Qn(i)?`${i.content}Modifiers`:Vr([i,' + "Modifiers"']):"modelModifiers";d.push(Zt(p,Ue(`{ ${h} }`,!1,e.loc,2)))}return Ec(d)};function Ec(e=[]){return{props:e}}const oC=/[\w).+\-_$\]]/,aC=(e,t)=>{yo("COMPILER_FILTERS",t)&&(e.type===5?Vf(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Vf(n.exp,t)}))};function Vf(e,t){if(e.type===4)d3(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?d3(r,t):r.type===8?Vf(e,t):r.type===5&&Vf(r.content,t))}}function d3(e,t){const n=e.content;let r=!1,i=!1,s=!1,o=!1,a=0,c=0,l=0,u=0,f,d,h,p,m=[];for(h=0;h<n.length;h++)if(d=f,f=n.charCodeAt(h),r)f===39&&d!==92&&(r=!1);else if(i)f===34&&d!==92&&(i=!1);else if(s)f===96&&d!==92&&(s=!1);else if(o)f===47&&d!==92&&(o=!1);else if(f===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!a&&!c&&!l)p===void 0?(u=h+1,p=n.slice(0,h).trim()):g();else{switch(f){case 34:i=!0;break;case 39:r=!0;break;case 96:s=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:a++;break;case 125:a--;break}if(f===47){let _=h-1,b;for(;_>=0&&(b=n.charAt(_),b===" ");_--);(!b||!oC.test(b))&&(o=!0)}}p===void 0?p=n.slice(0,h).trim():u!==0&&g();function g(){m.push(n.slice(u,h).trim()),u=h+1}if(m.length){for(h=0;h<m.length;h++)p=cC(p,m[h],t);e.content=p,e.ast=void 0}}function cC(e,t,n){n.helper(x0);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${yl(t,"filter")}(${e})`;{const i=t.slice(0,r),s=t.slice(r+1);return n.filters.add(i),`${yl(i,"filter")}(${e}${s!==")"?","+s:s}`}}const h3=new WeakSet,lC=(e,t)=>{if(e.type===1){const n=gr(e,"memo");return!n||h3.has(e)||t.inSSR?void 0:(h3.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&N0(r,t),e.codegenNode=sn(t.helper(D0),[n.exp,Na(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))})}},uC=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const r=n.arg;if(r.type!==4||!r.isStatic)t.onError(kt(53,r.loc)),n.exp=Ue("",!0,r.loc);else{const i=xt(r.content);(t8.test(i[0])||i[0]==="-")&&(n.exp=Ue(i,!1,r.loc))}}}};function fC(e){return[[uC,sC,Bx,lC,Hx,aC,tC,Yx,Gx,iC],{on:S8,bind:rC,model:E8}]}function dC(e,t={}){const n=t.onError||$0,r=t.mode==="module";t.prefixIdentifiers===!0?n(kt(48)):r&&n(kt(49));const i=!1;t.cacheHandlers&&n(kt(50)),t.scopeId&&!r&&n(kt(51));const s=qe({},t,{prefixIdentifiers:i}),o=Fe(e)?yx(e,s):e,[a,c]=fC();return Sx(o,qe({},s,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:qe({},c,t.directiveTransforms||{})})),xx(o,s)}const hC=()=>({props:[]});const T8=Symbol(""),k8=Symbol(""),x8=Symbol(""),C8=Symbol(""),R1=Symbol(""),I8=Symbol(""),O8=Symbol(""),A8=Symbol(""),R8=Symbol(""),P8=Symbol("");Hk({[T8]:"vModelRadio",[k8]:"vModelCheckbox",[x8]:"vModelText",[C8]:"vModelSelect",[R1]:"vModelDynamic",[I8]:"withModifiers",[O8]:"withKeys",[A8]:"vShow",[R8]:"Transition",[P8]:"TransitionGroup"});let jo;function pC(e,t=!1){return jo||(jo=document.createElement("div")),t?(jo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,jo.children[0].getAttribute("foo")):(jo.innerHTML=e,jo.textContent)}const mC={parseMode:"html",isVoidTag:RS,isNativeTag:e=>IS(e)||OS(e)||AS(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:pC,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return R8;if(e==="TransitionGroup"||e==="transition-group")return P8},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},gC=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ue("style",!0,t.loc),exp:_C(t.value.content,t.loc),modifiers:[],loc:t.loc})})},_C=(e,t)=>{const n=Jy(e);return Ue(JSON.stringify(n),!1,t,3)};function bs(e,t){return kt(e,t)}const yC=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(bs(54,i)),t.children.length&&(n.onError(bs(55,i)),t.children.length=0),{props:[Zt(Ue("innerHTML",!0,i),r||Ue("",!0))]}},vC=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(bs(56,i)),t.children.length&&(n.onError(bs(57,i)),t.children.length=0),{props:[Zt(Ue("textContent",!0),r?nr(r,n)>0?r:sn(n.helperString(Od),[r],i):Ue("",!0))]}},bC=(e,t,n)=>{const r=E8(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(bs(59,e.arg.loc));const{tag:i}=t,s=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||s){let o=x8,a=!1;if(i==="input"||s){const c=Ad(t,"type");if(c){if(c.type===7)o=R1;else if(c.value)switch(c.value.content){case"radio":o=T8;break;case"checkbox":o=k8;break;case"file":a=!0,n.onError(bs(60,e.loc));break}}else nx(t)&&(o=R1)}else i==="select"&&(o=C8);a||(r.needRuntime=n.helper(o))}else n.onError(bs(58,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},wC=sr("passive,once,capture"),SC=sr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),EC=sr("left,right"),D8=sr("onkeyup,onkeydown,onkeypress"),TC=(e,t,n,r)=>{const i=[],s=[],o=[];for(let a=0;a<t.length;a++){const c=t[a].content;c==="native"&&_l("COMPILER_V_ON_NATIVE",n)||wC(c)?o.push(c):EC(c)?Qn(e)?D8(e.content.toLowerCase())?i.push(c):s.push(c):(i.push(c),s.push(c)):SC(c)?s.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:s,eventOptionModifiers:o}},p3=(e,t)=>Qn(e)&&e.content.toLowerCase()==="onclick"?Ue(t,!0):e.type!==4?Vr(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,kC=(e,t,n)=>S8(e,t,n,r=>{const{modifiers:i}=e;if(!i.length)return r;let{key:s,value:o}=r.props[0];const{keyModifiers:a,nonKeyModifiers:c,eventOptionModifiers:l}=TC(s,i,n,e.loc);if(c.includes("right")&&(s=p3(s,"onContextmenu")),c.includes("middle")&&(s=p3(s,"onMouseup")),c.length&&(o=sn(n.helper(I8),[o,JSON.stringify(c)])),a.length&&(!Qn(s)||D8(s.content.toLowerCase()))&&
10(o=sn(n.helper(O8),[o,JSON.stringify(a)])),l.length){const u=l.map(Oo).join("");s=Qn(s)?Ue(`${s.content}${u}`,!0):Vr(["(",s,`) + "${u}"`])}return{props:[Zt(s,o)]}}),xC=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(bs(62,i)),{props:[],needRuntime:n.helper(A8)}},CC=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},IC=[gC],OC={cloak:hC,html:yC,text:vC,model:bC,on:kC,show:xC};function AC(e,t={}){return dC(e,qe({},mC,t,{nodeTransforms:[CC,...IC,...t.nodeTransforms||[]],directiveTransforms:qe({},OC,t.directiveTransforms||{}),transformHoist:null}))}const m3=Object.create(null);function RC(e,t){if(!Fe(e))if(e.nodeType)e=e.innerHTML;else return gn;const n=yS(e,t),r=m3[n];if(r)return r;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const i=qe({hoistStatic:!0,onError:void 0,onWarn:gn},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:s}=AC(e,i),o=new Function("Vue",s)(Fk);return o._rc=!0,m3[n]=o}_4(RC);const PC=/"(?:_|\\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*:/,DC=/"(?: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*:/,NC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function $C(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){LC(e);return}return t}function LC(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ma(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!NC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(PC.test(e)||DC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,$C)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const MC=/#/g,FC=/&/g,VC=/\//g,UC=/=/g,U0=/\+/g,BC=/%5e/gi,jC=/%60/gi,zC=/%7c/gi,HC=/%20/gi,qC=/%2f/gi;function WC(e){return encodeURI(""+e).replace(zC,"|")}function P1(e){return WC(typeof e=="string"?e:JSON.stringify(e)).replace(U0,"%2B").replace(HC,"+").replace(MC,"%23").replace(FC,"%26").replace(jC,"`").replace(BC,"^").replace(VC,"%2F")}function Lh(e){return P1(e).replace(UC,"%3D")}function bl(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function g3(e){return bl(e.replace(qC,"%252F"))}function GC(e){return bl(e.replace(U0," "))}function QC(e){return bl(e.replace(U0," "))}function B0(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const i=GC(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=QC(r[2]||"");t[i]===void 0?t[i]=s:Array.isArray(t[i])?t[i].push(s):t[i]=[t[i],s]}return t}function KC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Lh(e)}=${P1(n)}`).join("&"):`${Lh(e)}=${P1(t)}`:Lh(e)}function YC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>KC(t,e[t])).filter(Boolean).join("&")}const JC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,N8=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,XC=/^([/\\]\s*){2,}[^/\\]/,ZC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,eI=/\/$|\/\?|\/#/,tI=/^\.?\//;function Br(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?JC.test(e):N8.test(e)||(t.acceptRelative?XC.test(e):!1)}function nI(e){return!!e&&ZC.test(e)}function D1(e="",t){return t?eI.test(e):e.endsWith("/")}function wl(e="",t){if(!t)return(D1(e)?e.slice(0,-1):e)||"/";if(!D1(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");i!==-1&&(n=e.slice(0,i),r=e.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function $8(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(D1(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");
10if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;const[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function rI(e=""){return e.startsWith("/")}function iI(e=""){return rI(e)?e:"/"+e}function sI(e,t){if(M8(t)||Br(e))return e;const n=wl(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Dd(n,e)}function _3(e,t){if(M8(t))return e;const n=wl(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const i=e.slice(n.length);return i[0]==="/"?i:"/"+i}function L8(e,t){const n=j0(e),r={...B0(n.search),...t};return n.search=YC(r),uI(n)}function M8(e){return!e||e==="/"}function oI(e){return e&&e!=="/"}function Dd(e,...t){let n=e||"";for(const r of t.filter(i=>oI(i)))if(n){const i=r.replace(tI,"");n=$8(n)+i}else n=r;return n}function F8(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let i=0;for(const o of n)if(!(!o||o==="/")){for(const[a,c]of o.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&Br(r[0]))continue;r.pop(),i--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),i++}}let s=r.join("/");return i>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function aI(e){return cI(e,"https://")}function cI(e,t){let n=e.match(N8);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function lI(e,t){return bl(wl(e))===bl(wl(t))}const V8=Symbol.for("ufo:protocolRelative");function j0(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Br(e,{acceptRelative:!0}))return y3(e);const[,r="",i,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:l,hash:u}=y3(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:c,search:l,hash:u,[V8]:!r}}function y3(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function uI(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",i=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[V8]?(e.protocol||"")+"//":"")+i+s+t+n+r}class fI extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function dI(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${i}: ${s}${t?` ${t}`:""}`,a=new fI(o,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,l]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[l]}});return a}const hI=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function v3(e="GET"){return hI.has(e.toUpperCase())}function pI(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const mI=new Set(["image/svg","application/xml","application/xhtml","application/html"]),gI=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function _I(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return gI.test(t)?"json":t==="text/event-stream"?"stream":mI.has(t)||t.startsWith("text/")?"text":"blob"}function yI(e,t,n,r){const i=vI(t?.headers??e?.headers,n?.headers,r);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:i}}function vI(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[i,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(i,s);return r}async function yu(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const bI=new Set([408,409,425,429,500,502,503,504]),wI=new Set([101,204,205,304]);function U8(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=v3(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):bI.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1})}}const l=dI(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(c,l={}){const u={request:c,options:yI(c,l,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await yu(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=sI(u.request,u.options.baseURL)),u.options.query&&(u.request=L8(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&v3(u.options.method))if(pI(u.options.body)){const h=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),h||u.options.headers.set("content-type","application/json"),u.o
10ptions.headers.has("accept")||u.options.headers.set("accept","application/json")}else("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 f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,h.abort(p)},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 yu(u,u.options.onRequestError),await i(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!wI.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||_I(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),m=u.options.parseResponse||Ma;u.response._data=m(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await yu(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await yu(u,u.options.onResponseError),await i(u)):u.response},o=async function(c,l){return(await s(c,l))._data};return o.raw=s,o.native=(...a)=>t(...a),o.create=(a={},c={})=>U8({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),o}const Uf=(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")})(),SI=Uf.fetch?(...e)=>Uf.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),EI=Uf.Headers,TI=Uf.AbortController,kI=U8({fetch:SI,Headers:EI,AbortController:TI}),xI=kI,CI=()=>window?.__NUXT__?.config||{},z0=()=>CI().app,II=()=>z0().baseURL,OI=()=>z0().buildAssetsDir,H0=(...e)=>F8(B8(),OI(),...e),B8=(...e)=>{const t=z0(),n=t.cdnURL||t.baseURL;return e.length?F8(n,...e):n};globalThis.__buildAssetsURL=H0,globalThis.__publicAssetsURL=B8;globalThis.$fetch||(globalThis.$fetch=xI.create({baseURL:II()}));"global"in globalThis||(globalThis.global=globalThis);function N1(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?N1(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const AI={run:e=>e()},RI=()=>AI,j8=typeof console.createTask<"u"?console.createTask:RI;function PI(e,t){const n=t.shift(),r=j8(n);return e.reduce((i,s)=>i.then(()=>r.run(()=>s(...t))),Promise.resolve())}function DI(e,t){const n=t.shift(),r=j8(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}function Mh(e,t){for(const n of[...e])n(t)}let NI=class{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,r={}){if(!t||typeof n!="function")return()=>{};const i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}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 r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(t,i),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const i of r)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=N1(t),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(t){const n=N1(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(PI,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(DI,t,...n)}callHookWith(t,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Mh(this._before,i);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&Mh(this._after,i)}):(this._after&&i&&Mh(this._after,i),s)}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 $I(){return new NI}function LI(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let i;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?i=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>
10{if(i){const o=i.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return i?i.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const c=()=>{t=o},l=()=>t===o?c:void 0;$1.add(l);try{const u=i?i.run(o,a):a();return n||(t=void 0),await u}finally{$1.delete(l)}}}}function MI(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=LI({...e,...r})),t[n]}}}const Bf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},b3="__unctx__",FI=Bf[b3]||(Bf[b3]=MI()),VI=(e,t={})=>FI.get(e,t),w3="__unctx_async_handlers__",$1=Bf[w3]||(Bf[w3]=new Set);function ws(e){const t=[];for(const i of $1){const s=i();s&&t.push(s)}const n=()=>{for(const i of t)i()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const yae=!1,S3=!1,UI=!1,E3={id:"__nuxt-loader"},BI={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},ki={deep:!1},jI=void 0,zI="#__nuxt",z8="nuxt-app",T3=36e5,HI="vite:preloadError";function H8(e=z8){return VI(e,{asyncContext:!1})}const qI="__nuxt_plugin";function WI(e){let t=0;const n={_id:e.id||z8||"nuxt-app",_scope:pd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.0"},get vue(){return n.vueApp.version}},payload:Jr({...e.ssrContext?.payload||{},data:Jr({}),state:An({}),once:new Set,_errors:Jr({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Wi()?n._scope.run(()=>k3(n,i)):k3(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Jr({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=$I(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const o="$"+i;vu(n,o,s),vu(n.vueApp.config.globalProperties,o,s)},vu(n.vueApp,"$nuxt",n),vu(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(HI,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=_e;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function GI(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function QI(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function KI(e,t){const n=new Set,r=[],i=[];let s,o=0;async function a(c){const l=c.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.has(u))??[];if(l.length>0)r.push([new Set(l),c]);else{const u=QI(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([f,d])=>{f.has(c._name)&&(f.delete(c._name),f.size===0&&(o++,await a(d)))})))}).catch(f=>{if(!c.parallel&&!e.payload.error)throw f;s||=f});c.parallel?i.push(u):await u}}for(const c of t)GI(e,c);for(const c of t)await a(c);if(await Promise.all(i),o)for(let c=0;c<o;c++)await Promise.all(i);if(s)throw e.payload.error||s}function at(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[qI]:!0,_name:t})}const YI=at;function k3(e,t,n){const r=()=>t();return H8(e._id).set(e),e.vueApp.runWithContext(r)}function JI(e){let t;return Ro()&&(t=Et()?.appContext.app.$nuxt),t||=H8(e).tryUse(),t||null}function _e(e){const t=JI(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Cr(e){return _e().$config}function vu(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Fh(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 L1(e,t,n=".",r){if(!Fh(t))return L1(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:Fh(o)&&Fh(i[s])?i[s]=L1(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function q8(e){return(...t)=>t.reduce((n,r)=>L1(n,r,"",e),{})}const Wl=q8(),XI=q8((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function ZI(e,t){try{return t in e}catch{return!1}}
10class x3 extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:M1(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=W8(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function eO(e){if(typeof e=="string")return new x3(e);if(tO(e))return e;const t=new x3(e.message??e.statusMessage??"",{cause:e.cause||e});if(ZI(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=M1(e.statusCode,t.statusCode):e.status&&(t.statusCode=M1(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;W8(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 tO(e){return e?.constructor?.__h3_error__===!0}const nO=/[^\u0009\u0020-\u007E]/g;function W8(e=""){return e.replace(nO,"")}function M1(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const rO=Symbol("layout-meta"),_r=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const cn=()=>_e()?.$router,Vi=()=>Ro()?Ft(_r,_e()._route):_e()._route;const iO=()=>{try{if(_e()._processingMiddleware)return!0}catch{return!1}return!1},ba=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?F1(e):cn().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:l={}}=t.open,u=[];for(const[f,d]of Object.entries(l))d!==void 0&&u.push(`${f.toLowerCase()}=${d}`);return open(n,c,u.join(", ")),Promise.resolve()}const r=Br(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&nI(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const s=iO();if(!i&&s){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:l,hash:u}=j0(e);return{path:c,...l&&{query:B0(l)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const o=cn(),a=_e();return i?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},C3=e=>!1;function F1(e){return L8(e.path||"",e.query||{})+(e.hash||"")}const G8="__nuxt_error",Nd=()=>nc(_e().payload,"error"),Js=e=>{const t=Ss(e);try{const n=Nd();_e().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},sO=async(e={})=>{const t=_e(),n=Nd();t.callHook("app:error:cleared",e),e.redirect&&await cn().replace(e.redirect),n.value=jI},Q8=e=>!!e&&typeof e=="object"&&G8 in e,Ss=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=eO(e);return Object.defineProperty(t,G8,{value:!0,configurable:!1,writable:!1}),t};let K8;const Fa=e=>K8=e,Y8=Symbol();function V1(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xc||(Xc={}));function oO(){const e=pd(!0),t=e.run(()=>Ee({}));let n=[],r=[];const i=Fl({install(s){Fa(i),i._a=s,s.provide(Y8,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const J8=()=>{};function I3(e,t,n,r=J8){e.add(t);const i=()=>{e.delete(t)&&r()};return!n&&Wi()&&Di(i),i}function zo(e,...t){e.forEach(n=>{n(...t)})}const aO=e=>e(),O3=Symbol(),Vh=Symbol();function U1(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];V1(i)&&V1(r)&&e.hasOwnProperty(n)&&!et(r)&&!rr(r)?e[n]=U1(i,r):e[n]=r}return e}const cO=Symbol();function lO(e){return!V1(e)||!Object.prototype.hasOwnProperty.call(e,cO)}const{assign:ns}=Object;function uO(e){return!!(et(e)&&e.effect)}function fO(e,t,n,r){const{state:i,actions:s,getters:o}=t,a=n.state.value[e];let c;function l(){a||(n.state.value[e]=i?i():{});const u=_v(n.state.value[e]);return ns(u,s,Object.keys(o||{}).reduce((f,d)=>(f[d]=Fl(re(()=>{Fa(n);const h=n._s.get(e);return o[d].call(h,h)})),f),{}))}return c=X8(e,l,t,n,r,!0),c}function X8(e,t,n={},r,i,s){let o;const a=ns({actions:{}},n),c={deep:!0};let l,u,f=new Set,d=new Set,h;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={});let m;function g(A){let k;l=u=!1,typeof A=="function"?(A(r.state.value[e]),k={type:Xc.patchFunction,storeId:e,events:h}):(U1(r.state.value[e],A),k={type:Xc.patchObject,payload:A,storeId:e,events:h});const R=m=Symbol();Wt().then(()=>{m===R&&(l=!0)}),u=!0,zo(f,k,r.state.value[e])}const _=s?function(){const{state:k}=n,R=k?k():{};this.$patch(M=>{ns(M,R)})}:J8;function b(){o.stop(),f.clear(),d.clear(),r._s.delete(e)}const y=(A,k="")=>{if(O3 in A)return A[Vh]=k,A;const R=function(){Fa(r);const M=Array.from(arguments),D=new Set,$=new Set;function U(W){D.add(W)}function J(W){$.add(W)}zo(d,{args:M,name:R[Vh],store:w,after:U,onError:J});let V;try{V=A.apply(this&&this.$id===e?this:w,M)}catch(W){throw zo($,W),W}return V instanceof Promise?V.then(W=>(zo(D,W),W)).catch(W=>(zo($,W),Promise.reject(W))):(zo(D,V),V)};return R[O3]=!0,R[Vh]=k,R},v={_p:r,$id:e,$onAction:I3.bind(null,d),$patch:g,$reset:_,$subscribe(A,k={}){const R=I3(f,A,k.detached,()=>M()),M=o.run(()=>it(()=>r.state.value[e],D=>{(k.flush==="sync"?u:l)&&A({storeId:e,type:Xc.direct,events:h},D)},ns({},c,k)));return R},$dispose:b},w=An(v);r._s.set(e,w);const O=(r._a&&r._a.runWithContext||aO)(()=>r._e.run(()=>(o=pd()).run(()=>t({action:y}))));for(const A in O){const k=O[A];if(et(k)&&!uO(k)||rr(k))s||(p&&lO(k)&&(et(k)?k.value=p[A]:U1(k,p[A])),r.state.value[e][A]=k);else if(typeof k=="function"){const R=y(k,A);O[A]=R,a.actions[A]=k}}return ns(w,O),ns(We(w),O),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:A=>{g(k=>{ns(k,A)})}}),r._p.forEach(A=>{ns(w,o.run(()=>A({store:w,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(w.$state,p),l=!0,u=!0,w}
10function un(e,t,n){let r;const i=typeof t=="function";r=i?n:t;function s(o,a){const c=Ro();return o=o||(c?Ft(Y8,null):null),o&&Fa(o),o=K8,o._s.has(e)||(i?X8(e,t,r,o):fO(e,r,o)),o._s.get(e)}return s.$id=e,s}function ue(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const i=e(this.$pinia),s=t[r];return typeof s=="function"?s.call(this,i):i[s]},n),{})}const $d=ue;function yt(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[r](...i)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[t[r]](...i)},n),{})}function Ld(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(i){return e(this.$pinia)[r]=i}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(i){return e(this.$pinia)[t[r]]=i}},n),{})}function dO(e){const t=We(e),n={};for(const r in t){const i=t[r];i.effect?n[r]=re({get:()=>e[r],set(s){e[r]=s}}):(et(i)||rr(i))&&(n[r]=nc(e,r))}return n}function hO(e){const t=mO(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let i=0;i<n.byteLength;i++)r.setUint8(i,t.charCodeAt(i));return n}const pO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function mO(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=pO.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const gO=-1,_O=-2,yO=-3,vO=-4,bO=-5,wO=-6;function SO(e,t){return EO(JSON.parse(e),t)}function EO(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let i=null;function s(o,a=!1){if(o===gO)return;if(o===yO)return NaN;if(o===vO)return 1/0;if(o===bO)return-1/0;if(o===wO)return-0;if(a||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const c=n[o];if(!c||typeof c!="object")r[o]=c;else if(Array.isArray(c))if(typeof c[0]=="string"){const l=c[0],u=t&&Object.hasOwn(t,l)?t[l]:void 0;if(u){let f=c[1];if(typeof f!="number"&&(f=n.push(c[1])-1),i??=new Set,i.has(f))throw new Error("Invalid circular reference");return i.add(f),r[o]=u(s(f)),i.delete(f),r[o]}switch(l){case"Date":r[o]=new Date(c[1]);break;case"Set":const f=new Set;r[o]=f;for(let p=1;p<c.length;p+=1)f.add(s(c[p]));break;case"Map":const d=new Map;r[o]=d;for(let p=1;p<c.length;p+=2)d.set(s(c[p]),s(c[p+1]));break;case"RegExp":r[o]=new RegExp(c[1],c[2]);break;case"Object":r[o]=Object(c[1]);break;case"BigInt":r[o]=BigInt(c[1]);break;case"null":const h=Object.create(null);r[o]=h;for(let p=1;p<c.length;p+=2)h[c[p]]=s(c[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[c[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[l],m=s(c[1]),g=new p(m);r[o]=c[2]!==void 0?g.subarray(c[2],c[3]):g;break}case"ArrayBuffer":{const p=c[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const m=hO(p);r[o]=m;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=l.slice(9);r[o]=Temporal[p].from(c[1]);break}case"URL":{const p=new URL(c[1]);r[o]=p;break}case"URLSearchParams":{const p=new URLSearchParams(c[1]);r[o]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(c.length);r[o]=l;for(let u=0;u<c.length;u+=1){const f=c[u];f!==_O&&(l[u]=s(f))}}else{const l={};r[o]=l;for(const u in c){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=c[u];l[u]=s(f)}}return r[o]}return s(0)}const TO=new Set(["link","style","script","noscript"]),kO=new Set(["title","titleTemplate","script","style","noscript"]),A3=new Set(["base","meta","link","style","script","noscript"]),xO=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),CO=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),IO=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),OO=new Set(["templateParams","htmlAttrs","bodyAttrs"]),AO=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function B1(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?B1(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const Z8=(()=>
10{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function e7(e,t,n,r){for(let i=n;i<e.length;i+=1)try{const s=r?r.run(()=>e[i](...t)):e[i](...t);if(s instanceof Promise)return s.then(()=>e7(e,t,i+1,r))}catch(s){return Promise.reject(s)}}function RO(e,t,n){if(e.length>0)return e7(e,t,0,Z8(n))}function PO(e,t,n){if(e.length>0){const r=Z8(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}}function Uh(e,t){for(const n of[...e])n(t)}var DO=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...i)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...i));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=B1(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=B1(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(RO,e,t)}callHookParallel(e,...t){return this.callHookWith(PO,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Uh(this._before,r);const i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Uh(this._after,r)}):(this._after&&r&&Uh(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function NO(){return new DO}const $O=["name","property","http-equiv"],LO=new Set(["viewport","description","keywords","robots"]);function t7(e){const t=e.split(":");return t.length?AO.has(t[1]):!1}function j1(e){const{props:t,tag:n}=e;if(CO.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate")return`alternate:${t.hreflang||t.type||"x-default"}:${t.href||""}`;if(t.charset)return"charset";if(e.tag==="meta"){for(const r of $O)if(t[r]!==void 0){const i=t[r],s=i&&typeof i=="string"&&i.includes(":"),o=i&&LO.has(i),c=!(s||o)&&e.key?`:key:${e.key}`:"";return`${n}:${i}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(kO.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function R3(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,i])=>`${r}:${String(i)}`).join(",")}`}function jf(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const i=t?t(n,e):e;if(Array.isArray(i))return i.map(s=>jf(s,t));if(i?.constructor===Object){const s={};for(const o of Object.keys(i))s[o]=jf(i[o],t,o);return s}return i}function MO(e,t){const n=e==="style"?new Map:new Set;function r(i){if(i==null||i===void 0)return;const s=String(i).trim();if(s)if(e==="style"){const[o,...a]=s.split(":").map(c=>c?c.trim():"");o&&a.length&&n.set(o,a.join(":"))}
10else s.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(i=>r(i)):t&&typeof t=="object"&&Object.entries(t).forEach(([i,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(i).trim(),String(s)):r(i))}),n}function n7(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=MO(n,r);return}if(IO.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const i=String(r),s=n.startsWith("data-"),o=e.tag==="meta"&&n==="content";i==="true"||i===""?e.props[n]=s||o?i:!0:!r&&s&&i==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function FO(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=n7({tag:e,props:{}},n);return r.key&&TO.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function VO(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(i,s)=>{for(let o=0;o<t.length;o++)s=t[o](i,s);return s};e=n(void 0,e);const r=[];return e=jf(e,n),Object.entries(e||{}).forEach(([i,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])r.push(FO(i,o))}),r.flat()}const P3=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,D3={base:-10,title:10},UO={critical:-8,high:-1,low:2},N3={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},BO=/@import/,Tc=e=>e===""||e===!0;function jO(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=UO[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:N3;if(t.tag in D3)n=D3[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=N3.meta[s])}else if(t.tag==="link"&&t.props.rel)n=i.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);Tc(t.props.async)?n=i.script.async:t.props.src&&!Tc(t.props.defer)&&!Tc(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=i.script.sync:(Tc(t.props.defer)&&t.props.src&&!Tc(t.props.async)||s==="module")&&(n=i.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&BO.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function $3(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function zO(e={}){const t=NO();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,i=new Map,s=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>$3(o,a),push(a,c){const l={...c||{}};delete l.head;const u=l._index??o._entryCount++,f={_i:u,input:a,options:l},d={_poll(h=!1){o.dirty=!0,!h&&s.add(u),t.callHook("entries:updated",o)},dispose(){r.delete(u)&&o.invalidate()},patch(h){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(f.input=h,r.set(u,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);s.size;){const d=s.values().next().value;s.delete(d);const h=r.get(d);if(h){const p={tags:VO(h.input,e.propResolvers||[]).map(m=>Object.assign(m,h.options)),entry:h};await t.callHook("entries:normalize",p),h._tags=p.tags.map((m,g)=>(m._w=jO(o,m),m._p=(h._i<<10)+g,m._d=j1(m),m))}}let c=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(P3).reduce((d,h)=>{const p=String(h._d||h._p);
10if(!d.has(p))return d.set(p,h);const m=d.get(p);if((h?.tagDuplicateStrategy||(OO.has(h.tag)?"merge":null)||(h.key&&h.key===m.key?"merge":null))==="merge"){const _={...m.props};Object.entries(h.props).forEach(([b,y])=>_[b]=b==="style"?new Map([...m.props.style||new Map,...y]):b==="class"?new Set([...m.props.class||new Set,...y]):y),d.set(p,{...h,props:_})}else h._p>>10===m._p>>10&&h.tag==="meta"&&t7(p)?(d.set(p,Object.assign([...Array.isArray(m)?m:[m],h],h)),c=!0):(h._w===m._w?h._p>m._p:h?._w<m?._w)&&d.set(p,h);return d},a.tagMap);const l=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=l?.textContent,u){const d=u?.textContent;if(o._titleTemplate=d,d){let h=typeof d=="function"?d(l?.textContent):d;typeof h=="string"&&!o.plugins.has("template-params")&&(h=h.replace("%s",l?.textContent||"")),l?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...l,textContent:h}):(u.tag="title",u.textContent=h)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(P3)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:h,tag:p,props:m}=d;if(xO.has(p)&&!(Object.keys(m).length===0&&!d.innerHTML&&!d.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&h){if(String(m.type).endsWith("json")){const g=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=g.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));d._d=j1(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())s.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>$3(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}const HO=(e,t)=>et(t)?vd(t):t,q0="usehead";function qO(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(q0,e)}}.install}function WO(){if(Ro()){const e=Ft(q0);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function GO(e,t={}){const n=t.head||WO();return n.ssr?n.push(e||{},t):QO(n,e,t)}function QO(e,t,n={}){const r=Ee(!1);let i;return Cv(()=>{const o=r.value?{}:jf(t,HO);i?i.patch(o):i=e.push(o,n)}),Et()&&(xr(()=>{i.dispose()}),n0(()=>{r.value=!0}),t0(()=>{r.value=!1})),i}function KO(e){const t=e||_e();return t.ssrContext?.head||t.runWithContext(()=>{if(Ro()){const n=Ft(q0);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function W0(e,t={}){const n=t.head||KO(t.nuxt);return GO(e,{head:n,...t})}const YO=(()=>{const e={};return(t,n)=>{let r=[];n.charCodeAt(n.length-1)===47&&(n=n.slice(0,-1)||"/"),n==="/create-thread"&&r.unshift({data:e}),n==="/profile"&&r.unshift({data:e});let i=n.split("/");return i.length-1,i[1]==="profile"&&r.unshift({data:e,params:{_:i.slice(2).join("/")}}),r}})(),JO=e=>Wl({},...YO("",e).map(t=>t.data).reverse()),XO=JO;let Ju;function ZO(){return Ju=$fetch(H0(`builds/meta/${Cr().app.buildId}.json`),{responseType:"json"}),Ju.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ju}function r7(){return Ju||ZO()}function i7(e){const t=typeof e=="string"?e:e.path;try{return XO(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function L3(e,t={}){return null}async function eA(e){return null}let qs=null;async function tA(){if(qs)return qs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await nA(e.textContent||""),n=e.dataset.src?await eA(e.dataset.src):void 0;return qs={...t,...n,...window.__NUXT__},qs.config?.public&&(qs.config.public=An(qs.config.public)),qs}async function nA(e){return await SO(e,_e()._payloadRevivers)}function s7(e,t){_e()._payloadRevivers[e]=t}const rA=YI(()=>{s7("skipHydrate",e=>{})}),iA=[["NuxtError",e=>Ss(e)],["EmptyShallowRef",e=>Fn(e==="_"?void 0:e==="0n"?BigInt(0):Ma(e))],["EmptyRef",e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Ma(e))],["ShallowRef",e=>Fn(e)],["ShallowReactive",e=>Jr(e)],["Ref",e=>Ee(e)],["Reactive",e=>An(e)]],sA=at({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,i]of iA)s7(r,i);Object.assign(e.payload,([t,n]=ws(()=>e.runWithContext(tA)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function G0(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async i=>{const s=new Map,o=new Promise(h=>{e.resolveTags().then(p=>{h(p.map(m=>{const g=s.get(m._d)||0,_={tag:m,id:(g?`${m._d}:${g}`:m._d)||R3(m),shouldRender:!0};return m._d&&t7(m._d)&&s.set(m._d,g+1),_}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const p=n[h]?.children;for(const m of p){const g=m.tagName.toLowerCase();if(!A3.has(g))continue;const _=n7({tag:g,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((b,y)=>(b[y]=m.getAttribute(y),b),{})||{}});if(_.key=m.getAttribute("data-hid")||void 0,_._d=j1(_)||R3(_),a.elMap.has(_._d)){let b=1,y=_._d;for(;a.elMap.has(y);)y=`${_._d}:${b++}`;a.elMap.set(y,m)}else a.elMap.set(_._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(h,p,m){const g=`${h}:${p}`;a.sideEffects[g]=m,delete a.pendingSideEffects[g]}
10function l({id:h,$el:p,tag:m}){const g=m.tag.endsWith("Attrs");a.elMap.set(h,p),g||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),c(h,"el",()=>{p?.remove(),a.elMap.delete(h)}));for(const _ in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,_))continue;const b=m.props[_];if(_.startsWith("on")&&typeof b=="function"){const v=p?.dataset;if(v&&v[`${_}fired`]){const w=_.slice(0,-5);b.call(p,new Event(w.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),b.bind(p)),p.setAttribute(`data-${_}`,""));continue}const y=`attr:${_}`;if(_==="class"){if(!b)continue;for(const v of b)g&&c(h,`${y}:${v}`,()=>p.classList.remove(v)),!p.classList.contains(v)&&p.classList.add(v)}else if(_==="style"){if(!b)continue;for(const[v,w]of b)c(h,`${y}:${v}`,()=>{p.style.removeProperty(v)}),p.style.setProperty(v,w)}else b!==!1&&b!==null&&(p.getAttribute(_)!==b&&p.setAttribute(_,b===!0?"":String(b)),g&&c(h,y,()=>p.removeAttribute(_)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const h of d){const{tag:p,shouldRender:m,id:g}=h;if(m){if(p.tag==="title"){n.title=p.textContent,c("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(g),h.$el?l(h):A3.has(p.tag)&&u.push(h)}}for(const h of u){const p=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),i()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function oA(e={}){const t=e.domOptions?.render||G0;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return zO({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function aA(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function cA(e={}){const t=oA({domOptions:{render:aA(()=>G0(t),n=>setTimeout(n,0))},...e});return t.install=qO(t),t}const lA={disableDefaults:!0},uA=at({name:"nuxt:head",enforce:"pre",setup(e){const t=cA(lA);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await G0(t)};t.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const Jo=typeof document<"u";function o7(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function fA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&o7(e.default)}const ct=Object.assign;function Bh(e,t){const n={};for(const r in t){const i=t[r];n[r]=jr(i)?i.map(e):e(i)}return n}const Zc=()=>{},jr=Array.isArray;function M3(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const a7=/#/g,dA=/&/g,hA=/\//g,pA=/=/g,mA=/\?/g,c7=/\+/g,gA=/%5B/g,_A=/%5D/g,l7=/%5E/g,yA=/%60/g,u7=/%7B/g,vA=/%7C/g,f7=/%7D/g,bA=/%20/g;function Q0(e){return e==null?"":encodeURI(""+e).replace(vA,"|").replace(gA,"[").replace(_A,"]")}function wA(e){return Q0(e).replace(u7,"{").replace(f7,"}").replace(l7,"^")}function z1(e){return Q0(e).replace(c7,"%2B").replace(bA,"+").replace(a7,"%23").replace(dA,"%26").replace(yA,"`").replace(u7,"{").replace(f7,"}").replace(l7,"^")}function SA(e){return z1(e).replace(pA,"%3D")}function EA(e){return Q0(e).replace(a7,"%23").replace(mA,"%3F")}function TA(e){return EA(e).replace(hA,"%2F")}function Sl(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const kA=/\/$/,xA=e=>e.replace(kA,"");function jh(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,a>0?a:t.length),i=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=AA(r??t,n),{fullPath:r+s+o,path:r,query:i,hash:Sl(o)}}function CA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function F3(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IA(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Va(t.matched[r],n.matched[i])&&d7(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Va(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function d7(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!OA(e[n],t[n]))return!1;return!0}function OA(e,t){return jr(e)?V3(e,t):jr(t)?V3(t,e):e===t}function V3(e,t){return jr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function AA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const pr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let H1=(function(e){return e.pop="pop",e.push="push",e})({}),zh=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function RA(e){if(!e)if(Jo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),xA(e)}const PA=/^[^#]+#/;function DA(e,t){return e.replace(PA,"#")+t}function NA(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Md=()=>({left:window.scrollX,top:window.scrollY});function $A(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=NA(i,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)}
vendor: 18,421 bytes, line 10
10function U3(e,t){return(history.state?history.state.position-t:-1)+e}const q1=new Map;function LA(e,t){q1.set(e,t)}function MA(e){const t=q1.get(e);return q1.delete(e),t}function FA(e){return typeof e=="string"||e&&typeof e=="object"}function h7(e){return typeof e=="string"||typeof e=="symbol"}let Nt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const p7=Symbol("");Nt.MATCHER_NOT_FOUND+"",Nt.NAVIGATION_GUARD_REDIRECT+"",Nt.NAVIGATION_ABORTED+"",Nt.NAVIGATION_CANCELLED+"",Nt.NAVIGATION_DUPLICATED+"";function Ua(e,t){return ct(new Error,{type:e,[p7]:!0},t)}function mi(e,t){return e instanceof Error&&p7 in e&&(t==null||!!(e.type&t))}const VA=["params","query","hash"];function UA(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of VA)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function BA(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const i=n[r].replace(c7," "),s=i.indexOf("="),o=Sl(s<0?i:i.slice(0,s)),a=s<0?null:Sl(i.slice(s+1));if(o in t){let c=t[o];jr(c)||(c=t[o]=[c]),c.push(a)}else t[o]=a}return t}function B3(e){let t="";for(let n in e){const r=e[n];if(n=SA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jr(r)?r.map(i=>i&&z1(i)):[r&&z1(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function jA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const zA=Symbol(""),j3=Symbol(""),K0=Symbol(""),Y0=Symbol(""),W1=Symbol("");function kc(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ls(e,t,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(Ua(Nt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?c(d):FA(d)?c(Ua(Nt.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},u=s(()=>e.call(r&&r.instances[i],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function Hh(e,t,n,r,i=s=>s()){const s=[];for(const o of e)for(const a in o.components){let c=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(o7(c)){const l=(c.__vccOpts||c)[t];l&&s.push(ls(l,n,r,o,a,i))}else{let l=c();s.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=fA(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&ls(d,n,r,o,a,i)()}))}}return s}function HA(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(l=>Va(l,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(l=>Va(l,c))||i.push(c))}return[n,r,i]}let qA=()=>location.protocol+"//"+location.host;function m7(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let o=i.includes(e.slice(s))?e.slice(s).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),F3(a,"")}return F3(n,e)+r+i}function WA(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=m7(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}g=m?d.position-m.position:0}else r(h);i.forEach(_=>{_(n.value,p,{delta:g,type:H1.pop,direction:g?g>0?zh.forward:zh.back:zh.unknown})})};function c(){o=n.value}function l(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return s.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ct({},d.state,{scroll:Md()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:l,destroy:f}}function z3(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Md():null}}function GA(e){const{history:t,location:n}=window,r={value:m7(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:qA()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),i.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(c,l){s(c,ct({},t.state,z3(i.value.back,c,i.value.forward,!0),l,{position:i.value.position}),!0),r.value=c}function a(c,l){const u=ct({},i.value,t.state,{forward:c,scroll:Md()});s(u.current,u,!0),s(c,ct({},z3(r.value,c,null),{position:u.position+1},l),!1),r.value=c}return{location:r,state:i,push:a,replace:o}}function g7(e){e=RA(e);const t=GA(e),n=WA(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=ct({location:"",base:e,go:r,createHref:DA.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function QA(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),g7(e)}let uo=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var en=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(en||{});const KA={type:uo.Static,value:""},YA=/[a-zA-Z0-9_]/;function JA(e){if(!e)return[[]];if(e==="/")return[[KA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=en.Static,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===en.Static?s.push({type:uo.Static,value:l}):n===en.Param||n===en.ParamRegExp||n===en.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:uo.Param,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==en.ParamRegExp){r=n,n=en.EscapeNext;continue}switch(n){case en.Static:c==="/"?(l&&f(),o()):c===":"?(f(),n=en.Param):d();break;case en.EscapeNext:d(),n=r;break;case en.Param:c==="("?n=en.ParamRegExp:YA.test(c)?d():(f(),n=en.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case en.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=en.ParamRegExpEnd:u+=c;break;case en.ParamRegExpEnd:f(),n=en.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===en.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),f(),o(),i}const H3="[^/]+?",XA={sensitive:!1,strict:!1,start:!0,end:!0};var Nn=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Nn||{});const ZA=/[.+*?^${}()[\]/\\]/g;function eR(e,t){const n=ct({},XA,t),r=[];let i=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[Nn.Root];n.strict&&!l.length&&(i+="/");for(let f=0;f<l.length;f++){const d=l[f];let h=Nn.Segment+(n.sensitive?Nn.BonusCaseSensitive:0);if(d.type===uo.Static)f||(i+="/"),i+=d.value.replace(ZA,"\\$&"),h+=Nn.Static;else if(d.type===uo.Param){const{value:p,repeatable:m,optional:g,regexp:_}=d;s.push({name:p,repeatable:m,optional:g});const b=_||H3;if(b!==H3){h+=Nn.BonusCustomRegExp;try{`${b}`}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+v.message)}}let y=m?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(y=g&&l.length<2?`(?:/${y})`:"/"+y),g&&(y+="?"),i+=y,h+=Nn.Dynamic,g&&(h+=Nn.BonusOptional),m&&(h+=Nn.BonusRepeatable),b===".*"&&(h+=Nn.BonusWildcard)}u.push(h)}r.push(u)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=Nn.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(l){const u=l.match(o),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(l){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===uo.Static)u+=h.value;else if(h.type===uo.Param){const{value:p,repeatable:m,optional:g}=h,_=p in l?l[p]:"";if(jr(_)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=jr(_)?_.join("/"):_;if(!b)if(g)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=b}}return u||"/"}return{re:o,score:r,keys:s,parse:a,stringify:c}}function tR(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===Nn.Static+Nn.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Nn.Static+Nn.Segment?1:-1:0}function _7(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=tR(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(q3(r))return 1;if(q3(i))return-1}return i.length-r.length}function q3(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const nR={strict:!1,end:!0,sensitive:!1};function rR(e,t,n){const r=eR(JA(e.path),n),i=ct(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function iR(e,t){const n=[],r=new Map;t=M3(nR,t);function i(f){return r.get(f)}function s(f,d,h){const p=!h,m=G3(f);m.aliasOf=h&&h.record;const g=M3(t,f),_=[m];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const w of v)_.push(G3(ct({},m,{components:h?h.record.components:m.components,path:w,aliasOf:h?h.record:m})))}let b,y;for(const v of _){const{path:w}=v;if(d&&w[0]!=="/"){const S=d.record.path,O=S[S.length-1]==="/"?"":"/";v.path=d.record.path+(w&&O+w)}if(b=rR(v,d,g),h?h.alias.push(b):(y=y||b,y!==b&&y.alias.push(b),p&&f.name&&!Q3(b)&&o(f.name)),y7(b)&&c(b),m.children){const S=m.children;for(let O=0;O<S.length;O++)s(S[O],b,h&&h.children[O])}h=h||b}return y?()=>{o(y)}:Zc}function o(f){if(h7(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function c(f){const d=aR(f,n);n.splice(d,0,f),f.record.name&&!Q3(f)&&r.set(f.record.name,f)}function l(f,d){let h,p={},m,g;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Ua(Nt.MATCHER_NOT_FOUND,{location:f});g=h.record.name,p=ct(W3(d.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&W3(f.params,h.keys.map(y=>y.name))),m=h.stringify(p)}else if(f.path!=null)m=f.path,h=n.find(y=>y.re.test(m)),h&&(p=h.parse(m),g=h.record.name);else{if(h=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!h)throw Ua(Nt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});g=h.record.name,p=ct({},d.params,f.params),m=h.stringify(p)}const _=[];let b=h;for(;b;)_.unshift(b.record),b=b.parent;return{name:g,path:m,params:p,matched:_,meta:oR(_)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function W3(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function G3(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function sR(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Q3(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function oR(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function aR(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;_7(e,t[s])<0?r=s:n=s+1}const i=cR(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function cR(e){let t=e;for(;t=t.parent;)if(y7(t)&&_7(e,t)===0)return t}function y7({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function K3(e){const t=Ft(K0),n=Ft(Y0),r=re(()=>{const c=F(e.to);return t.resolve(c)}),i=re(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Va.bind(null,u));if(d>-1)return d;const h=Y3(c[l-2]);return l>1&&Y3(u)===h&&f[f.length-1].path!==h?f.findIndex(Va.bind(null,c[l-2])):d}),s=re(()=>i.value>-1&&hR(n.params,r.value.params)),o=re(()=>i.value>-1&&i.value===n.matched.length-1&&d7(n.params,r.value.params));function a(c={}){if(dR(c)){const l=t[F(e.replace)?"replace":"push"](F(e.to)).catch(Zc);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:re(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function lR(e){return e.length===1?e[0]:e}const uR=or({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:K3,setup(e,{slots:t}){const n=An(K3(e)),{options:r}=Ft(K0),i=re(()=>({[J3(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[J3(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&lR(t.default(n));return e.custom?s:Gt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),fR=uR;function dR(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 hR(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!jr(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Y3(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const J3=(e,t,n)=>e??t??n,pR=or({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ft(W1),i=re(()=>e.route||r.value),s=Ft(j3,0),o=re(()=>{let l=F(s);const{matched:u}=i.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=re(()=>i.value.matched[o.value]);ni(j3,re(()=>o.value+1)),ni(zA,a),ni(W1,i);const c=Ee();return it(()=>[c.value,a.value,e.name],([l,u,f],[d,h,p])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!Va(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=i.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return X3(n.default,{Component:d,route:l});const h=f.props[u],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,g=Gt(d,ct({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return X3(n.default,{Component:g,route:l})||g}}});function X3(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const v7=pR;function mR(e){const t=iR(e.routes,e),n=e.parseQuery||BA,r=e.stringifyQuery||B3,i=e.history,s=kc(),o=kc(),a=kc(),c=Fn(pr);let l=pr;Jo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bh.bind(null,H=>""+H),f=Bh.bind(null,TA),d=Bh.bind(null,Sl);function h(H,pe){let ce,we;return h7(H)?(ce=t.getRecordMatcher(H),we=pe):we=H,t.addRoute(we,ce)}function p(H){const pe=t.getRecordMatcher(H);pe&&t.removeRoute(pe)}function m(){return t.getRoutes().map(H=>H.record)}function g(H){return!!t.getRecordMatcher(H)}function _(H,pe){if(pe=ct({},pe||c.value),typeof H=="string"){const x=jh(n,H,pe.path),L=t.resolve({path:x.path},pe),K=i.createHref(x.fullPath);return ct(x,L,{params:d(L.params),hash:Sl(x.hash),redirectedFrom:void 0,href:K})}let ce;if(H.path!=null)ce=ct({},H,{path:jh(n,H.path,pe.path).path});else{const x=ct({},H.params);for(const L in x)x[L]==null&&delete x[L];ce=ct({},H,{params:f(x)}),pe.params=f(pe.params)}const we=t.resolve(ce,pe),Be=H.hash||"";we.params=u(d(we.params));const bt=CA(r,ct({},H,{hash:wA(Be),path:we.path})),T=i.createHref(bt);return ct({fullPath:bt,hash:Be,query:r===B3?jA(H.query):H.query||{}},we,{redirectedFrom:void 0,href:T})}function b(H){return typeof H=="string"?jh(n,H,c.value.path):ct({},H)}function y(H,pe){if(l!==H)return Ua(Nt.NAVIGATION_CANCELLED,{from:pe,to:H})}function v(H){return O(H)}function w(H){return v(ct(b(H),{replace:!0}))}function S(H,pe){const ce=H.matched[H.matched.length-1];if(ce&&ce.redirect){const{redirect:we}=ce;let Be=typeof we=="function"?we(H,pe):we;return typeof Be=="string"&&(Be=Be.includes("?")||Be.includes("#")?Be=b(Be):{path:Be},Be.params={}),ct({query:H.query,hash:H.hash,params:Be.path!=null?{}:H.params},Be)}}function O(H,pe){const ce=l=_(H),we=c.value,Be=H.state,bt=H.force,T=H.replace===!0,x=S(ce,we);if(x)return O(ct(b(x),{state:typeof x=="object"?ct({},Be,x.state):Be,force:bt,replace:T}),pe||ce);const L=ce;L.redirectedFrom=pe;let K;return!bt&&IA(r,we,ce)&&(K=Ua(Nt.NAVIGATION_DUPLICATED,{to:L,from:we}),Ce(we,we,!0,!1)),(K?Promise.resolve(K):R(L,we)).catch(B=>mi(B)?mi(B,Nt.NAVIGATION_GUARD_REDIRECT)?B:ie(B):Q(B,L,we)).then(B=>
10{if(B){if(mi(B,Nt.NAVIGATION_GUARD_REDIRECT))return O(ct({replace:T},b(B.to),{state:typeof B.to=="object"?ct({},Be,B.to.state):Be,force:bt}),pe||L)}else B=D(L,we,!0,T,Be);return M(L,we,B),B})}function A(H,pe){const ce=y(H,pe);return ce?Promise.reject(ce):Promise.resolve()}function k(H){const pe=Dt.values().next().value;return pe&&typeof pe.runWithContext=="function"?pe.runWithContext(H):H()}function R(H,pe){let ce;const[we,Be,bt]=HA(H,pe);ce=Hh(we.reverse(),"beforeRouteLeave",H,pe);for(const x of we)x.leaveGuards.forEach(L=>{ce.push(ls(L,H,pe))});const T=A.bind(null,H,pe);return ce.push(T),Ze(ce).then(()=>{ce=[];for(const x of s.list())ce.push(ls(x,H,pe));return ce.push(T),Ze(ce)}).then(()=>{ce=Hh(Be,"beforeRouteUpdate",H,pe);for(const x of Be)x.updateGuards.forEach(L=>{ce.push(ls(L,H,pe))});return ce.push(T),Ze(ce)}).then(()=>{ce=[];for(const x of bt)if(x.beforeEnter)if(jr(x.beforeEnter))for(const L of x.beforeEnter)ce.push(ls(L,H,pe));else ce.push(ls(x.beforeEnter,H,pe));return ce.push(T),Ze(ce)}).then(()=>(H.matched.forEach(x=>x.enterCallbacks={}),ce=Hh(bt,"beforeRouteEnter",H,pe,k),ce.push(T),Ze(ce))).then(()=>{ce=[];for(const x of o.list())ce.push(ls(x,H,pe));return ce.push(T),Ze(ce)}).catch(x=>mi(x,Nt.NAVIGATION_CANCELLED)?x:Promise.reject(x))}function M(H,pe,ce){a.list().forEach(we=>k(()=>we(H,pe,ce)))}function D(H,pe,ce,we,Be){const bt=y(H,pe);if(bt)return bt;const T=pe===pr,x=Jo?history.state:{};ce&&(we||T?i.replace(H.fullPath,ct({scroll:T&&x&&x.scroll},Be)):i.push(H.fullPath,Be)),c.value=H,Ce(H,pe,ce,T),ie()}let $;function U(){$||($=i.listen((H,pe,ce)=>{if(!mt.listening)return;const we=_(H),Be=S(we,mt.currentRoute.value);if(Be){O(ct(Be,{replace:!0,force:!0}),we).catch(Zc);return}l=we;const bt=c.value;Jo&&LA(U3(bt.fullPath,ce.delta),Md()),R(we,bt).catch(T=>mi(T,Nt.NAVIGATION_ABORTED|Nt.NAVIGATION_CANCELLED)?T:mi(T,Nt.NAVIGATION_GUARD_REDIRECT)?(O(ct(b(T.to),{force:!0}),we).then(x=>{mi(x,Nt.NAVIGATION_ABORTED|Nt.NAVIGATION_DUPLICATED)&&!ce.delta&&ce.type===H1.pop&&i.go(-1,!1)}).catch(Zc),Promise.reject()):(ce.delta&&i.go(-ce.delta,!1),Q(T,we,bt))).then(T=>{T=T||D(we,bt,!1),T&&(ce.delta&&!mi(T,Nt.NAVIGATION_CANCELLED)?i.go(-ce.delta,!1):ce.type===H1.pop&&mi(T,Nt.NAVIGATION_ABORTED|Nt.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),M(we,bt,T)}).catch(Zc)}))}let J=kc(),V=kc(),W;function Q(H,pe,ce){ie(H);const we=V.list();return we.length?we.forEach(Be=>Be(H,pe,ce)):console.error(H),Promise.reject(H)}function le(){return W&&c.value!==pr?Promise.resolve():new Promise((H,pe)=>{J.add([H,pe])})}function ie(H){return W||(W=!H,U(),J.list().forEach(([pe,ce])=>H?ce(H):pe()),J.reset()),H}function Ce(H,pe,ce,we){const{scrollBehavior:Be}=e;if(!Jo||!Be)return Promise.resolve();const bt=!ce&&MA(U3(H.fullPath,0))||(we||!ce)&&history.state&&history.state.scroll||null;return Wt().then(()=>Be(H,pe,bt)).then(T=>T&&$A(T)).catch(T=>Q(T,H,pe))}const Re=H=>i.go(H);let vt;const Dt=new Set,mt={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:_,options:e,push:v,replace:w,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:V.add,isReady:le,install(H){H.component("RouterLink",fR),H.component("RouterView",v7),H.config.globalProperties.$router=mt,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>F(c)}),Jo&&!vt&&c.value===pr&&(vt=!0,v(i.location).catch(we=>{}));const pe={};for(const we in pr)Object.defineProperty(pe,we,{get:()=>c.value[we],enumerable:!0});H.provide(K0,mt),H.provide(Y0,Jr(pe)),H.provide(W1,c);const ce=H.unmount;Dt.add(H),H.unmount=function(){Dt.delete(H),Dt.size<1&&(l=pr,$&&$(),$=null,c.value=pr,vt=!1,W=!1),ce()}}};function Ze(H){return H.reduce((pe,ce)=>pe.then(()=>k(ce)),Promise.resolve())}return mt}function vae(e){return Ft(Y0)}const gR=/(:\w+)\([^)]+\)/g,_R=/(:\w+)[?+*]/g,yR=/:\w+/g,vR=(e,t)=>t.path.replace(gR,"$1").replace(_R,"$1").replace(yR,n=>e.params[n.slice(1)]?.toString()||""),G1=(e,t)=>{const n=e.route.matched.find(i=>i.components?.default===e.Component.type),r=t??n?.meta.key??(n&&vR(e.route,n));return typeof r=="function"?r(e.route):r},bR=(e,t)=>({default:()=>e?Gt(Fv,e===!0?{}:e,t):t});function J0(e){return Array.isArray(e)?e:[e]}const wR="modulepreload",SR=function(e,t){return new URL(e,t).href},Z3={},be=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");i=l(n.map(u=>{if(u=SR(u,r),u in Z3)return;Z3[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let p=o.length-1;p>=0;p--){const m=o[p];if(m.href===u&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");
10if(h.rel=f?"stylesheet":wR,f||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),f)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},ER={},TR={type:["gallery"]},kR={},xR={requiresAuth:!0},CR={requiresAuth:!0,hasLeaderboard:!0},IR={},OR={requiresAuth:!0,hasLeaderboard:!0},AR={requiresAuth:!0,hasLeaderboard:!0},RR={requiresAuth:!0,hasLeaderboard:!0},PR={requiresAuth:!0,hasLeaderboard:!0},DR={requiresAuth:!0},NR={requiresAuth:!0,hasLeaderboard:!0},$R={requiresAuth:!0},LR={},MR={type:["cas"]},FR={notLoggedIn:!0},VR={},UR={type:["sponsored_article"]},BR={},jR={},zR={requiresAuth:!0,requiresVerify:!0,authDialogSettings:{dialogText:"Ask questions. Stay up on the latest news. And so much more. Create your free account now."},UGC:{isUGC:!0}},HR={requiresVerify:!0,authDialogSettings:{dialogText:"Create an account to share your story."},UGC:{isUGC:!0}},qR={feature:"forums"},WR={notLoggedIn:!0},GR={},QR={},KR={},YR={},JR={types:["quiz"]},XR={feature:"recipes",types:["recipe"]},ZR={feature:"stories",types:["story"]},eP={},tP={feature:"community"},nP={},rP={feature:"forums"},iP={},sP={},oP={requiresVerify:!0},aP={},cP={},lP={},uP={},fP={},dP={},hP={},pP={},mP={},gP={},qh=[{name:"ok",path:"/ok",component:()=>be(()=>import("./CYFM1DUv.js"),[],import.meta.url)},{name:"home",path:"/",meta:ER||{},component:()=>be(()=>import("./FAyuuNce.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]),import.meta.url)},{name:"imageGalleries",path:"/images",meta:TR||{},component:()=>be(()=>import("./CWFLNR0n.js"),__vite__mapDeps([47,48,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,57]),import.meta.url)},{name:"search",path:"/search",meta:kR||{},component:()=>be(()=>import("./FfFRDZA4.js"),__vite__mapDeps([58,59,60,18,19,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,61]),import.meta.url)},{name:"profile",path:"/profile",meta:LR||{},component:()=>be(()=>import("./BMGvF1hk.js"),__vite__mapDeps([62,63,64,46,65]),import.meta.url),children:[{name:"userEditProfile",path:"edit",meta:xR||{},component:()=>be(()=>import("./BCW2sb_k.js"),__vite__mapDeps([66,67,68,69,70,20,18,19,21,22,46,71,72]),import.meta.url)},{name:"userProfileOverview",path:"",meta:CR||{},component:()=>be(()=>import("./DvMqTl45.js"),__vite__mapDeps([73,74,6,7,32,75,76,77,12,13,78,79,80,81,82,29,83,84,85,86,87,88,89,90,50,51,91,92]),import.meta.url)},{name:"userAwards",path:"awards",meta:IR||{},component:()=>be(()=>import("./D3ssOmur.js"),__vite__mapDeps([93,69,70,86,87]),import.meta.url)},{name:"userBookmarks",path:"bookmarks",meta:OR||{},component:()=>be(()=>import("./BesevXrP.js"),__vite__mapDeps([94,69,70,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,50,51,89,95]),import.meta.url)},{name:"userFollowingDetails",path:"following",meta:AR||{},component:()=>be(()=>import("./DoevxPmh.js"),__vite__mapDeps([96,69,70,90,50,51,91,59,60,97,98,99]),import.meta.url)},{name:"profileQuestions",path:"questions",meta:RR||{},component:()=>be(()=>import("./C1-7x4Nc.js"),__vite__mapDeps([100,101,69,70,67,68,84,85,24,18,19,32,20,21,22,102]),import.meta.url)},{name:"extendedProfileSection",path:"questions/:slug()",meta:PR||{},component:()=>be(()=>import("./4HJyYQAw.js"),__vite__mapDeps([103,101,69,70,67,68,84,85,24,18,19,32,20,21,22,102]),import.meta.url)},{name:"userNotifications",path:"notifications",meta:DR||{},component:()=>be(()=>import("./DMVYf5qz.js"),__vite__mapDeps([104,69,70,78,79,105,7,106]),import.meta.url)},{name:"AllFollowing",path:"following/:followType()",meta:NR||{},component:()=>be(()=>import("./CLFqN7OW.js"),__vite__mapDeps([107,69,70,90,50,51,91]),import.meta.url)},{name:"userNotificationsSettings",path:"notifications/settings",meta:$R||{},component:()=>be(()=>
10import("./DYnrOTp7.js"),__vite__mapDeps([108,69,70,105,109]),import.meta.url)}]},{name:"contentHubs",path:"/featured",meta:MR||{},component:()=>be(()=>import("./YuJNGj8z.js"),__vite__mapDeps([110,48,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,57]),import.meta.url)},{name:"register",path:"/register",meta:FR||{},component:()=>be(()=>import("./B80FwOwg.js"),__vite__mapDeps([111,112,113,53,30,31,54,46,114]),import.meta.url)},{name:"post",path:"/:slug(.*)*",meta:VR||{},component:()=>be(()=>import("./DezdYb7z.js"),__vite__mapDeps([115,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,116,44,45,42,43,67,68,21,22,16,17,18,19,20,23,24,25,26,27,28,29,32,33,41,117,78,79,118,97,98,75,76,119,120,71,121,122]),import.meta.url)},{name:"sponsoredArticles",path:"/sponsored",meta:UR||{},component:()=>be(()=>import("./DrZm-67r.js"),__vite__mapDeps([123,48,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,57]),import.meta.url)},{name:"debugTool",path:"/debug-tool",meta:BR||{},component:()=>be(()=>import("./CpiBADft.js"),__vite__mapDeps([124,125]),import.meta.url)},{name:"pagedPosts",path:"/page/:page()",meta:jR||{},component:()=>be(()=>import("./DZawyqWE.js"),__vite__mapDeps([126,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,127]),import.meta.url)},{name:"createRecipe",path:"/recipes/new",meta:zR||{},component:()=>be(()=>import("./Q9elfC96.js"),__vite__mapDeps([128,32,21,22,45,129]),import.meta.url)},{name:"createStory",path:"/stories/new",meta:HR||{},component:()=>be(()=>import("./Dui46875.js"),__vite__mapDeps([130,32,75,76,21,22,45,46,131]),import.meta.url)},{name:"forums",path:"/forums",meta:qR||{},component:()=>be(()=>import("./RxdBpOnn.js"),__vite__mapDeps([132,59,60,133,134,38,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,39,40,2,3,4,15,34,35,52,135,136,46,25,55,137,56,138]),import.meta.url)},{name:"login",path:"/member-login",meta:WR||{},component:()=>be(()=>import("./Bp-VhGxj.js"),__vite__mapDeps([139,112,113,46,140]),import.meta.url)},{name:"story-slug",path:"/story/:slug()",component:()=>be(()=>import("./DJPrPodn.js"),[],import.meta.url)},{name:"authorIndex",path:"/author/:slug()",meta:GR||{},component:()=>be(()=>import("./gzcDf5QR.js"),__vite__mapDeps([141,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,142]),import.meta.url)},{name:"quizzes",path:"/quizzes",meta:QR||{},component:()=>be(()=>import("./1YlGWsH3.js"),__vite__mapDeps([143,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,137,144]),import.meta.url)},{name:"recipes",path:"/recipes",meta:KR||{},component:()=>be(()=>import("./DiQUZyhl.js"),__vite__mapDeps([145,59,60,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,146]),import.meta.url)},{name:"stories",path:"/stories",meta:YR||{},component:()=>be(()=>import("./RfFKLhOA.js"),__vite__mapDeps([147,133,134,49,30,31,50,51,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,34,35,52,53,54,46,55,56,137]),import.meta.url)},{name:"quiz",path:"/quizzes/:slug()",meta:JR||{},component:()=>be(()=>import("./OT-7sfx6.js"),__vite__mapDeps([148,116,44,45,42,43,6,7,67,68,21,22,3,4,5,8,9,10,12,13,16,17,18,19,20,23,24,2,11,14,15,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,117,78,79,118,97,98,75,76,119,120,71,53,54,46,56,121]),import.meta.url)},{name:"recipe",path:"/recipes/:slug()",meta:XR||{},component:()=>be(()=>import("./DYNWcfCa.js"),__vite__mapDeps([149,116,44,45,42,43,6,7,67,68,21,22,3,4,5,8,9,10,12,13,16,17,18,19,20,23,24,2,11,14,15,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,117,78,79,118,97,98,75,76,119,120,71,53,54,46,56,121]),import.meta.url)},{name:"story",path:"/stories/:slug()",meta:ZR||{},component:()=>be(()=>import("./DK66XQAp.js"),__vite__mapDeps([150,116,44,45,42,43,6,7,67,68,21,22,3,4,5,8,9,10,12,13,16,17,18,19,20,23,24,2,11,14,15,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,117,78,79,118,97,98,75,76,119,120,71,53,54,46,56,121]),import.meta.url)}
10,{name:"Engagement",path:"/vote/:slug(.*)*",meta:eP||{},component:()=>be(()=>import("./fRhHkUSp.js"),__vite__mapDeps([151,17,18,19,20,21,22,23,46]),import.meta.url)},{name:"community",path:"/community",meta:tP||{},component:()=>be(()=>import("./CiLC_aC0.js"),__vite__mapDeps([152,36,6,7,5,8,9,10,11,12,13,14,37,38,39,40,2,3,4,15,55,74,32,75,76,77,78,79,80,82,29,83,46,153]),import.meta.url)},{name:"experimentDemo",path:"/experiment-demo",meta:nP||{},component:()=>be(()=>import("./MT1c713E.js"),[],import.meta.url)},{name:"forumsThread",path:"/forums/:thread()",meta:rP||{},component:()=>be(()=>import("./CeOC6s-b.js"),__vite__mapDeps([154,59,60,9,10,105,25,5,6,7,8,37,38,39,67,68,117,12,13,78,79,118,97,98,75,76,119,43,33,120,71,11,14,27,46,155]),import.meta.url)},{name:"homepagePreview",path:"/homepage/:slug()",meta:iP||{},component:()=>be(()=>import("./C1viMbst.js"),__vite__mapDeps([156,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]),import.meta.url)},{name:"conditionPage",path:"/conditions/:slug()",meta:sP||{},component:()=>be(()=>import("./CTCb-ZLE.js"),__vite__mapDeps([157,30,31,16,17,18,19,20,21,22,23,24,2,3,4,5,6,7,8,9,10,11,12,13,14,15,25,26,27,28,29,32,33,34,35,36,37,38,39,40,41,55,53,54,46,158]),import.meta.url)},{name:"createThread",path:"/create-thread",meta:oP||{},component:()=>be(()=>import("./CV1YbkWh.js"),__vite__mapDeps([159,32,75,76,135,59,60,38,136,21,22,25,33,46,160]),import.meta.url)},{name:"memberProfile",path:"/members/:slug()",meta:aP||{},component:()=>be(()=>import("./wtaHUrNg.js"),__vite__mapDeps([161,63,64,74,6,7,32,75,76,77,12,13,78,79,80,81,82,29,83,84,85,86,87,88,46,162]),import.meta.url)},{name:"MemberProfileAwards",path:"/members/:slug()/awards",meta:cP||{},component:()=>be(()=>import("./CZKk9re4.js"),__vite__mapDeps([163,63,64,69,70,86,87,46,164]),import.meta.url)},{name:"journai",path:"/myjournai/:slug()",meta:lP||{},component:()=>be(()=>import("./DNZYJoPj.js"),__vite__mapDeps([165,18,19,30,31,166,44,45,46,167,168]),import.meta.url)},{name:"memberProfileActivity",path:"/members/:slug()/activity",meta:uP||{},component:()=>be(()=>import("./C1mU_1iA.js"),__vite__mapDeps([169,63,64,69,70,82,6,7,29,83,46,170]),import.meta.url)},{name:"journai-result",path:"/myjournai/:slug()/result",meta:fP||{},component:()=>be(()=>import("./xk9jTJNA.js"),__vite__mapDeps([171,2,3,4,5,6,7,8,9,10,11,12,13,14,15,30,31,166,44,45,46,167,172]),import.meta.url)},{name:"aws-healthcheck-7953f5d2",path:"/aws-healthcheck-7953f5d2",component:()=>be(()=>import("./C7GFB6QU.js"),[],import.meta.url)},{name:"blueprint",path:"/blueprint/:instance()",meta:dP||{},component:()=>be(()=>import("./zNJfJUGz.js"),__vite__mapDeps([173,30,31,174,44,45,46,175,176]),import.meta.url)},{name:"MemberProfileStatusById",path:"/members/:slug()/status/:id()",meta:hP||{},component:()=>be(()=>import("./Z-bb9zwI.js"),__vite__mapDeps([177,63,64,69,70,178,6,7,12,13,78,79,118,97,98,75,76,119,77,5,8,179,46,71,180]),import.meta.url)},{name:"memberProfileStatus",path:"/members/:slug()/status",meta:pP||{},component:()=>be(()=>import("./g-7TBvsV.js"),__vite__mapDeps([181,63,64,69,70,178,6,7,12,13,78,79,118,97,98,75,76,119,77,5,8,179,46,182]),import.meta.url)},{name:"blueprint-tool",path:"/blueprint/:instance()/:tool()",meta:mP||{},component:()=>be(()=>import("./KE5yzehd.js"),__vite__mapDeps([183,18,19,21,22,32,184,185,30,31,174,44,45,46,175,186]),import.meta.url)},{name:"blueprint-tool-result",path:"/blueprint/:instance()/:tool()/result",meta:gP||{},component:()=>be(()=>import("./DixHySCS.js"),__vite__mapDeps([187,184,185,174,44,45,46,175,188]),import.meta.url)}],_P=(e,t)=>({default:()=>e?Gt(Fr,e===!0?{}:e,t):t.default?.()}),yP=/(:\w+)\([^)]+\)/g,vP=/(:\w+)[?+*]/g,bP=/:\w+/g;function e_(e){const t=e?.meta.key??e.path.replace(yP,"$1").replace(vP,"$1").replace(bP,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function wP(e,t){return e===t||t===pr?!1:e_(e)!==e_(t)?!0:!e.matched.every((r,i)=>r.components&&r.components.default===t.matched[i]?.components?.default)}function SP(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return b7(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function b7(e,t=[],n=!1){if(e&&e.nodeName){if(TP(e))return t;if(!EP(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll?.("[data-island-slot]").forEach(i=>
10{i.innerHTML=""}),t.push(r.outerHTML)}b7(e.nextSibling,t,n)}return t}function Wh(e,t){const n=e?SP(e):[t];return n?m0(n.join(""),n.length):Gt("div")}function EP(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function TP(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const kP={scrollBehavior(e,t,n){const r=_e(),i=cn().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:w7(e.hash),behavior:i}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const o=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===pr){a(t_(e,t,n,i));return}r.hooks.hookOnce(o,()=>{requestAnimationFrame(()=>a(t_(e,t,n,i)))})})}};function w7(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function t_(e,t,n,r){if(n)return n;const i=wP(e,t);return e.hash?{el:e.hash,top:w7(e.hash),behavior:i?r:"instant"}:{left:0,top:0}}const xP=55,S7={scrollBehavior(e,t,n){return n||(e.path!==t.path||JSON.stringify(e.query)!==JSON.stringify(t.query)?{top:0}:e.hash?{el:e.hash,top:xP,behavior:"smooth"}:{})}},CP={hashMode:!1,scrollBehaviorType:"auto"},Q1=S7.hashMode??!1,es={...CP,...kP,...S7},IP=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const i=([n,r]=ws(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;const s=Ss({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s};function K1(e){return typeof e=="string"?`'${e}'`:new OP().serialize(e)}const OP=(function(){class e{#e=new Map;compare(n,r){const i=typeof n,s=typeof r;return i==="string"&&s==="string"?n.localeCompare(r):i==="number"&&s==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const i=n.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,n);if(typeof n.toJSON=="function"){const o=n.toJSON();return s+(o!==null&&typeof o=="object"?this.$object(o):`(${this.serialize(o)})`)}return this.serializeObjectEntries(s,Object.entries(n))}serializeBuiltInType(n,r){const i=this["$"+n];if(i)return i.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const i=Array.from(r).sort((o,a)=>this.compare(o[0],a[0]));let s=`${n}{`;for(let o=0;o<i.length;o++){const[a,c]=i[o];s+=`${this.serialize(a,!0)}:${this.serialize(c)}`,o<i.length-1&&(s+=",")}return s+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let i=0;i<n.length;i++)r+=this.serialize(n[i]),i<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,i)=>this.compare(r,i)))}`}
10$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function AP(e,t){return e===t||K1(e)===K1(t)}const RP=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],PP=[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],DP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Ws=[];let NP=class{_data=new bu;_hash=new bu([...RP]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let i=r[0],s=r[1],o=r[2],a=r[3],c=r[4],l=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Ws[d]=t[n+d]|0;else{const y=Ws[d-15],v=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,w=Ws[d-2],S=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;Ws[d]=v+Ws[d-7]+S+Ws[d-16]}const h=c&l^~c&u,p=i&s^i&o^s&o,m=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),g=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+g+h+PP[d]+Ws[d],b=m+p;f=u,u=l,l=c,c=a+_|0,a=o,o=s,s=i,i=_+b|0}r[0]=r[0]+i|0,r[1]=r[1]+s|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=bu.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const i=r*16,s=Math.min(i*4,this._data.sigBytes);if(i){for(let o=0;o<i;o+=16)this._doProcessBlock(this._data.words,o);n=this._data.words.splice(0,i),this._data.sigBytes-=s}return new bu(n,s)}},bu=class E7{words;sigBytes;constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let s=0;s<r;s++)i[s>>>2]|=(n.charCodeAt(s)&255)<<24-s%4*8;return new E7(i,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,i=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,s=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,o=r<<16|i<<8|s;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(DP.charAt(o>>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<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];this.sigBytes+=t.sigBytes}};function $P(e){return new NP().finalize(e).toBase64()}function LP(e){return $P(K1(e))}const MP={trailing:!0};function FP(e,t=25,n={}){if(n={...MP,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,i,s=[],o,a;const c=(f,d)=>(o=VP(e,f,d),o.finally(()=>{if(o=null,n.trailing&&a&&!i){const h=c(f,a);return a=null,h}}),o),l=function(...f){return n.trailing&&(a=f),o||new Promise(d=>{const h=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const p=n.leading?r:c(this,f);a=null;for(const m of s)m(p);s=[]},t),h?(r=c(this,f),d(r)):s.push(d)})},u=f=>{f&&(clearTimeout(f),i=null)};return l.isPending=()=>!!i,l.cancel=()=>{u(i),s=[],a=null},l.flush=()=>
10{if(u(i),!a||o)return;const f=a;return a=null,c(this,f)},l}async function VP(e,t,n){return await e.apply(t,n)}const T7=Symbol.for("nuxt:client-only"),wu="<div></div>",X0=or({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Fn(!1);yn(()=>{r.value=!0});const i=Et();return i&&(i._nuxtClientOnly=!0),ni(T7,!0),()=>{if(r.value){const c=t.default?.();return c&&c.length===1?[Yn(c[0],n)]:c}const s=t.fallback||t.placeholder;if(s)return Gt(s);const o=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return P(a,n,o)}}}),Gh=new WeakMap;function wae(e){if(Gh.has(e))return Gh.get(e);const t={...e};return t.render?t.render=(n,r,i,s,o,a)=>{if(s.mounted$??n.mounted$){const c=e.render?.bind(n)(n,r,i,s,o,a);return c.children===null||typeof c.children=="string"?Yn(c):Gt(c)}return Wh(n._.vnode.el,wu)}:t.template&&=` 11 <template v-if="mounted$">${e.template}</template> 12 <template v-else>${wu}</template> 13 `,t.setup=(n,r)=>{const i=_e(),s=Fn(i.isHydrating===!1),o=Et();if(i.isHydrating){const c={...o.attrs},l=UP(o);for(const u in c)delete o.attrs[u];yn(()=>{Object.assign(o.attrs,c),o.vnode.dirs=l})}yn(()=>{s.value=!0});const a=e.setup?.(n,r)||{};return od(a)?Promise.resolve(a).then(c=>typeof c!="function"?(c||={},c.mounted$=s,c):(...l)=>{if(s.value||!i.isHydrating){const u=c(...l);return u.children===null||typeof u.children=="string"?Yn(u):Gt(u)}return Wh(o?.vnode.el,wu)}):typeof a=="function"?(...c)=>{if(s.value){const l=a(...c),u=t.inheritAttrs!==!1?r.attrs:void 0;return l.children===null||typeof l.children=="string"?Yn(l,u):Gt(l,u)}return Wh(o?.vnode.el,wu)}:Object.assign(a,{mounted$:s})},Gh.set(e,t),t}function UP(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const Y1=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),BP=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Fd=e=>{const t=_e();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Y1(()=>e())}):Y1(()=>e())},jP=e=>e==="defer"||e===!1;function zP(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;HP(e[0],e[1])&&e.unshift(t);let[n,r,i={}]=e,s=!1;const o=re(()=>vd(n));if(typeof o.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const a=_e();i.server??=!0,i.default??=WP,i.getCachedData??=x7,i.lazy??=!1,i.immediate??=!0,i.deep??=ki.deep,i.dedupe??="cancel",i._functionName,a._asyncData[o.value];function c(){const p={cause:"initial",dedupe:i.dedupe};return a._asyncData[o.value]?._init||(p.cachedData=i.getCachedData(o.value,a,{cause:"initial"}),a._asyncData[o.value]=n_(a,o.value,r,i,p.cachedData)),()=>a._asyncData[o.value].execute(p)}const l=c(),u=a._asyncData[o.value];u._deps++;const f=i.server!==!1&&a.payload.serverRendered;{let p=function(v){const w=a._asyncData[v];w?._deps&&(w._deps--,w._deps===0&&w?._off())};const m=Et();if(m&&f&&i.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const v=m._nuxtOnBeforeMountCbs;Bl(()=>{v.forEach(w=>{w()}),v.splice(0,v.length)}),ic(()=>v.splice(0,v.length))}const g=m&&(m._nuxtClientOnly||Ft(T7,!1));f&&a.isHydrating&&(u.error.value||u.data.value!=null)?u.status.value=u.error.value?"error":"success":m&&(!g&&a.payload.serverRendered&&a.isHydrating||i.lazy)&&i.immediate?m._nuxtOnBeforeMountCbs.push(l):i.immediate&&l();const _=Wi(),b=it(o,(v,w)=>{if((v||w)&&v!==w){s=!0;const S=a._asyncData[w]?.data.value!==ki.value,O=a._asyncDataPromises[w]!==void 0,A={cause:"initial",dedupe:i.dedupe};if(!a._asyncData[v]?._init){let k;w&&S?k=a._asyncData[w].data.value:(k=i.getCachedData(v,a,{cause:"initial"}),A.cachedData=k),a._asyncData[v]=n_(a,v,r,i,k)}a._asyncData[v]._deps++,w&&p(w),(i.immediate||S||O)&&a._asyncData[v].execute(A),bo(()=>{s=!1})}},{flush:"sync"}),y=i.watch?it(i.watch,()=>{s||(a._asyncData[o.value]?._execute.isPending()&&bo(()=>{a._asyncData[o.value]?._execute.flush()}),a._asyncData[o.value]?._execute({cause:"watch",dedupe:i.dedupe}))}):()=>{};_&&Di(()=>{b(),y(),p(o.value)})}const d={data:Su(()=>a._asyncData[o.value]?.data),pending:Su(()=>a._asyncData[o.value]?.pending),status:Su(()=>a._asyncData[o.value]?.status),error:Su(()=>a._asyncData[o.value]?.error),refresh:(...p)=>a._asyncData[o.value]?._init?a._asyncData[o.value].execute(...p):c()(),execute:(...p)=>d.refresh(...p),clear:()=>{const p=a._asyncData[o.value];if(p?._abortController)try{p._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{p._abortController=void 0}k7(a,o.value)}},h=Promise.resolve(a._asyncDataPromises[o.value]).then(()=>d);return Object.assign(h,d),h}function Su(e){return re({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function HP(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function k7(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=ki.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=F(e._asyncData[t]._default()),e._asyncData[t].error.value=ki.errorValue,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function qP(e,t){const n={};for(const r of t)n[r]=e[r];return n}function n_(e,t,n,r,i){e.payload._errors[t]??=ki.errorValue;const s=r.getCachedData!==x7,o=n,a=r.deep?Ee:Fn,c=i!=null,l=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await u.execute({cause:"refresh:hook"})}),u={data:a(c?i:r.default()),pending:re(()=>u.status.value==="pending"),error:nc(e.payload._errors,t),status:Fn("idle"),execute:(...f)=>{const[d,h=void 0]=f,p=d&&h===void 0&&typeof d=="object"?d:{};
13if(e._asyncDataPromises[t]&&jP(p.dedupe??r.dedupe))return e._asyncDataPromises[t];{const _="cachedData"in p?p.cachedData:r.getCachedData(t,e,{cause:p.cause??"refresh:manual"});if(_!=null)return e.payload.data[t]=u.data.value=_,u.error.value=ki.errorValue,u.status.value="success",Promise.resolve(_)}u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const m=new AbortController,g=new Promise((_,b)=>{try{const y=p.timeout??r.timeout,v=GP([u._abortController?.signal,p?.signal],m.signal,y);if(v.aborted){const w=v.reason;b(w instanceof Error?w:new DOMException(String(w??"Aborted"),"AbortError"));return}return v.addEventListener("abort",()=>{const w=v.reason;b(w instanceof Error?w:new DOMException(String(w??"Aborted"),"AbortError"))},{once:!0,signal:m.signal}),Promise.resolve(o(e,{signal:v})).then(_,b)}catch(y){b(y)}}).then(async _=>{let b=_;r.transform&&(b=await r.transform(_)),r.pick&&(b=qP(b,r.pick)),e.payload.data[t]=b,u.data.value=b,u.error.value=ki.errorValue,u.status.value="success"}).catch(_=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==g||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&_ instanceof DOMException&&_.name==="AbortError")return u.status.value="idle",e._asyncDataPromises[t];u.error.value=Ss(_),u.data.value=F(r.default()),u.status.value="error"}).finally(()=>{m.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=g,e._asyncDataPromises[t]},_execute:FP((...f)=>u.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{l(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),s||Wt(()=>{e._asyncData[t]?._init||(k7(e,t),u.execute=()=>Promise.resolve(),u.data.value=ki.value)})}};return u}const WP=()=>ki.value,x7=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function GP(e,t,n){const r=e.filter(o=>!!o);if(typeof n=="number"&&n>=0){const o=AbortSignal.timeout?.(n);o&&r.push(o)}if(AbortSignal.any)return AbortSignal.any(r);const i=new AbortController;for(const o of r)if(o.aborted){const a=o.reason??new DOMException("Aborted","AbortError");try{i.abort(a)}catch{i.abort()}return i.signal}const s=()=>{const a=r.find(c=>c.aborted)?.reason??new DOMException("Aborted","AbortError");try{i.abort(a)}catch{i.abort()}};for(const o of r)o.addEventListener?.("abort",s,{once:!0,signal:t});return i.signal}const QP="$s";function C7(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const i=QP+n,s=_e(),o=nc(s.payload.state,i);if(o.value===void 0&&r){const a=r();if(et(a))return s.payload.state[i]=a,a;o.value=a}return o}function KP(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},i=r.decode||YP;let s=0;for(;s<e.length;){const o=e.indexOf("=",s);if(o===-1)break;let a=e.indexOf(";",s);if(a===-1)a=e.length;else if(a<o){s=e.lastIndexOf(";",o-1)+1;continue}const c=e.slice(s,o).trim();if(r?.filter&&!r?.filter(c)){s=a+1;continue}if(n[c]===void 0){let l=e.slice(o+1,a).trim();l.codePointAt(0)===34&&(l=l.slice(1,-1)),n[c]=JP(l,i)}s=a+1}return n}function YP(e){return e.includes("%")?decodeURIComponent(e):e}function JP(e,t){try{return t(e)}catch{return e}}const Eu=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function r_(e,t,n){const r=n||{},i=r.encode||encodeURIComponent;if(typeof i!="function")throw new TypeError("option encode is invalid");if(!Eu.test(e))throw new TypeError("argument name is invalid");const s=i(t);if(s&&!Eu.test(s))throw new TypeError("argument val is invalid");let o=e+"="+s;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!Eu.test(r.domain))throw new TypeError("option domain is invali
13d");o+="; Domain="+r.domain}if(r.path){if(!Eu.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if(!XP(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{o+="; Priority=Low";break}case"medium":{o+="; Priority=Medium";break}case"high":{o+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{o+="; SameSite=Strict";break}case"lax":{o+="; SameSite=Lax";break}case"strict":{o+="; SameSite=Strict";break}case"none":{o+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(o+="; Partitioned"),o}function XP(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Pr(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pr(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pr(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pr(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pr(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(i){n.add(Pr(i))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(i,s){n.set(Pr(s),Pr(i))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Pr(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const ZP={path:"/",watch:!0,decode:e=>{const t=decodeURIComponent(e),n=Ma(t);return typeof n=="number"&&(!Number.isFinite(n)||String(n)!==t)?t:n},encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Tu=globalThis.cookieStore;function Is(e,t){const n={...ZP,...t};n.filter??=l=>l===e;const r=i_(n)||{};let i;n.maxAge!==void 0?i=n.maxAge*1e3:n.expires&&(i=n.expires.getTime()-Date.now());const s=i!==void 0&&i<=0,o=s||r[e]===void 0||r[e]===null,a=Pr(s?void 0:r[e]??n.default?.()),c=i&&!s?nD(a,i,n.watch&&n.watch!=="shallow"):Ee(a);{let l=null;try{!Tu&&typeof BroadcastChannel<"u"&&(l=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=(p=!1)=>{!p&&(n.readonly||AP(c.value,r[e]))||(tD(e,c.value,n),r[e]=Pr(c.value),l?.postMessage({value:n.encode(c.value)}))},f=p=>{const m=p.refresh?i_(n)?.[e]:n.decode(p.value);d=!0,c.value=m,r[e]=Pr(m),Wt(()=>{d=!1})};let d=!1;const h=!!Wi();if(h&&Di(()=>{d=!0,u(),l?.close()}),Tu){const p=m=>{const g=m.changed.find(b=>b.name===e),_=m.deleted.find(b=>b.name===e);g&&f({value:g.value}),_&&f({value:null})};Tu.addEventListener("change",p),h&&Di(()=>Tu.removeEventListener("change",p))}else l&&(l.onmessage=({data:p})=>f(p));n.watch&&it(c,()=>{d||u()},{deep:n.watch!=="shallow"}),o&&u(o)}return c}function i_(e={}){return KP(document.cookie,e)}function eD(e,t,n={}){return t==null?r_(e,t,{...n,maxAge:-1}):r_(e,t,n)}function tD(e,t,n={}){document.cookie=eD(e,t,n)}const s_=2147483647;function nD(e,t,n){let r,i,s=0;const o=n?Ee(e):{value:e};return Wi()&&Di(()=>{i?.(),clearTimeout(r)}),Ym((a,c)=>{n&&(i=it(o,c));function l(){s=0,clearTimeout(r);const u=t-s,f=u<s_?u:s_;r=setTimeout(()=>{if(s+=f,s<t)return l();o.value=void 0,c()},f)}return{get(){return a(),o.value},set(u){l(),o.value=u,c()}}})}function rD(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function I7(e,t=cn()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>I7(e,t));t._routePreloaded.add(n);for(const s of r){const o=s.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}function iD(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ma(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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()}}function sD(e){return new URL(globalThis.location.href)}const oD=(...e)=>e.find(t=>t!==void 0);function aD(e){const t=e.componentName||"NuxtLink";function n(s){return!Q1&&typeof s=="string"&&s.startsWith("#")}function r(s,o,a){const c=a??e.trailingSlash;if(!s||c!=="append"&&c!=="remove")return s;if(typeof s=="string")return ku(s,c);const l="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:ku(l,c)}}function i(s){const o=cn(),a=Cr(),c=re(()=>!!s.target&&s.target!=="_self"),l=re(()=>{const g=s.to||s.href||"";return typeof g=="string"&&Br(g,{acceptRelative:!0})}),u=l1("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,d=re(()=>{if(s.external)return!0;const g=s.to||s.href||"";return typeof g=="object"?!1:g===""||l.value}),h=re(()=>{const g=s.to||s.href||"";return d.value?g:r(g,o.resolve,s.trailingSlash)}),p=d.value?void 0:f?.({...s,to:h}),m=re(()=>{const g=s.trailingSlash??e.trailingSlash;if(!h.value||l.value||n(h.value))return h.value;if(d.value){const _=typeof h.value=="object"&&"path"in h.value?F1(h.value):h.value,b=typeof _=="object"?o.resolve(_).href:_;return ku(b,g)}return typeof h.value=="object"?o.resolve(h.value)?.href??null:ku(Dd(a.app.baseURL,h.value),g)});return{to:h,hasTarget:c,isAbsoluteUrl:l,isExternal:d,href:m,isActive:p?.isActive??re(()=>h.value===o.currentRoute.value.path),isExactActive:p?.isExactActive??re(()=>h.value===o.currentRoute.value.path),route:p?.route??re(()=>o.resolve(h.value)),async navigate(g){await ba(m.value,{replace:s.replace,external:d.value||c.value})}}}return or({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(s,{slots:o}){const a=cn(),{to:c,href:l,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=i(s),p=Fn(!1),m=Ee(null),g=y=>{m.value=s.custom?y?.$el?.nextElementSibling:y?.$el};function _(y){return!p.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===y:s.prefetchOn?.[y]??e.prefetchOn?.[y])&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!uD()}async function b(y=_e()){if(p.value)return;p.value=!0;const v=typeof c.value=="string"?c.value:f.value?F1(c.value):a.resolve(c.value).fullPath,w=f.value?new URL(v,window.location.href).href:v;await Promise.all([y.hooks.callHook("link:prefetch",w).catch(()=>{}),!f.value&&!d.value&&I7(c.value,a).catch(()=>{})])}if(_("visibility")){const y=_e();let v,w=null;yn(()=>{const S=cD();Fd(()=>{v=Y1(()=>{m?.value?.tagName&&(w=S.observe(m.value,async()=>{w?.(),w=null,await b(y)}))})})}),xr(()=>{v&&BP(v),w?.(),w=null})}return()=>{if(!f.value&&!d.value&&!n(c.value)){const w={ref:g,to:c.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
13return s.custom||(_("interaction")&&(w.onPointerenter=b.bind(null,void 0),w.onFocus=b.bind(null,void 0)),p.value&&(w.class=s.prefetchedClass||e.prefetchedClass),w.rel=s.rel||void 0),Gt(l1("RouterLink"),w,o.default)}const y=s.target||null,v=oD(s.noRel?"":s.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:l.value,navigate:u,prefetch:b,get route(){if(!l.value)return;const w=new URL(l.value,window.location.href);return{path:w.pathname,fullPath:w.pathname,get query(){return B0(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:v,target:y,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:Gt("a",{ref:m,href:l.value||null,rel:v,target:y,onClick:w=>{if(!(f.value||d.value))return w.preventDefault(),s.replace?a.replace(l.value):a.push(l.value)}},o.default?.())}}})}const li=aD(BI);function ku(e,t){const n=t==="append"?$8:wl;return Br(e)&&!e.startsWith("http")?e:n(e,!0)}function cD(){const e=_e();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,o)=>(t||=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}}),n.set(s,o),t.observe(s),()=>{n.delete(s),t?.unobserve(s),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const lD=/2g/;function uD(){const e=navigator.connection;return!!(e&&(e.saveData||lD.test(e.effectiveType)))}const fD={nuxt:{},__swiper:{bundled:!0}},dD=XI(fD);function hD(){const e=_e();return e._appConfig||=An(dD),e._appConfig}const pD=()=>`${String.fromCharCode(65+Math.floor(Math.random()*26)).toLowerCase()}${Date.now()}`,mD=e=>{for(const t in e)if(e.hasOwnProperty(t))return!1;return!0};function Sae(e){const t=e.includes("<img");return e.replace(/<.*?>| |\s+/g,"").length>0||t}function o_(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,n=e=="x"?t:t&3|8;return n.toString(16)})}function gD(e){let t;try{t=new URL(e)}catch{return!1}return!!t.host}function Eae(e){if(!e)return"";const t=/(\.jpe?g|\.png|\.gif)/gi;return e.replace(t,".webp")}function Tae(e){const t=e.target.currentSrc,n=e.target.parentNode.querySelector(`[srcset="${t}"]`);n&&(n.remove(),this.$logger.error(`Image Error: Removed source element with srcset ${t}`))}function zf(e,t){return!!(e.settings.feature_flags&&e.settings.feature_flags[t])}function El(e){const t=e||navigator.userAgent||navigator.vendor||window.opera||"";return/FBAN|FBAV|FB_IAB/.test(t)}const It=un("misc",{state:()=>({hasAdblock:!1,galleryCarousel:{open:!1,galleryId:"",initialSlide:0},is404:!1,prev404Urls:[],isPreviewError:!1,pageViewId:o_(),acceptsWebp:!1,userMousing:!0,subscriptionWallIsActive:!1,openLeadGenForm:!1,engagementSubWallIsActive:!1,openLeadGenFormViaSubscribeTrigger:!1,userAgent:"",windowWidth:window.innerWidth}),actions:{setHasAdblock(e){this.hasAdblock=e},setGalleryCarousel(e){this.galleryCarousel=Object.assign(this.galleryCarousel,e)},setIs404(e){this.is404=e},setIsPreviewError(e){this.isPreviewError=e},setUserMousing(e){this.userMousing=e},setSubscriptionWallStatus(e){this.subscriptionWallIsActive=e},openLeadGenFormInDialog(e){this.openLeadGenForm=e,this.openLeadGenFormViaSubscribeTrigger=e},setEngagementSubWallStatus(e){this.engagementSubWallIsActive=e},setPrev404Urls(e){this.prev404Urls.push(e)},openGalleryCarousel(e){this.setGalleryCarousel({open:!0,...e})},closeGalleryCarousel(){this.setGalleryCarousel({open:!1,galleryId:"",galleryItems:[]})},resetPageViewId(){this.pageViewId=o_()},setUserAgent(e){this.userAgent=e}}}),tt=un("site",{state:()=>({site:{},siteSortOrders:{"Sleep-Disorders.net":["nsd","isd","rlssd","sasd"],"Me
13ntal-Health-Community.com":["bip","dep","ppd","sch"]}}),getters:{isParentSite:e=>typeof e.site.childSites>"u"?!1:e.site.childSites.length>0,isChildSite:e=>typeof e.site.parentSite>"u"?!1:!!e.site.parentSite,isFamilySite:e=>e.site.childSites.length>0||e.site.parentSite,getSiteSortOrders:e=>t=>!e.siteSortOrders[t]&&e.site.parentSite?e.siteSortOrders[e.site.parentSite.name]:e.siteSortOrders[t],siteHasFeature:e=>t=>typeof e.site.features>"u"?!1:e.site.features.some(n=>n.replace(/\W/g,"_").toLowerCase()===t.replace(/\W/g,"_").toLowerCase())},actions:{setSite(e){this.site=e}}}),Rt=un("navigation",{state:()=>({navMenuOpen:!1,expandedDropdownItem:null,expandedDrawerItem:null,searchPanelOpen:!1,expandedNavItems:[],menuData:null,headerVersion:1,featuredContent:[]}),getters:{communityMenuItem(){return{title:tt().isParentSite?"Communities":"Community",menu_id:"community"}},megaMenuItems(){return[this.communityMenuItem,...Array.isArray(this.menuData)?this.menuData:[]]},drawerMenuItems(){const e=tt(),t=Array.isArray(this.menuData)?this.menuData:[];return e.isParentSite?[...t]:[this.communityMenuItem,...t]}},actions:{setNavOpen(e){this.navMenuOpen=e},setexpandedDropdownItem(e){this.expandedDropdownItem=e},setExpandedDrawerItem(e){this.expandedDrawerItem=e},setSearchPanelOpen(e){this.searchPanelOpen=e},setExpandedNavItems(e){this.expandedNavItems=e},setHeaderData(e){e&&(this.headerVersion=e.version||1,this.menuData=e.items||null,this.featuredContent=e.featured||[])}}}),Xo=un("gam",{state:()=>({emptySlots:[],ugc:void 0}),actions:{resetAdsOnPage(){this.emptySlots=[]},pushEmptySlots(e){this.emptySlots.push(e)},removeFromEmptySlots(e){const t=this.emptySlots.indexOf(e);t>-1&&this.emptySlots.splice(t,1)},clearEmptySlots(){this.emptySlots=[]}}}),zt={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Yr=console,to={};Object.keys(zt).forEach(e=>{to[e]=Yr[e]});const xc="Datadog Browser SDK:",$e={debug:to.debug.bind(Yr,xc),log:to.log.bind(Yr,xc),info:to.info.bind(Yr,xc),warn:to.warn.bind(Yr,xc),error:to.error.bind(Yr,xc)},Vd="https://docs.datadoghq.com",_D=`${Vd}/real_user_monitoring/browser/troubleshooting`,Z0="More details:";function O7(e,t){return(...n)=>{try{return e(...n)}catch(r){$e.error(t,r)}}}function gs(e){return e!==0&&Math.random()*100<=e}function ra(e,t){return+e.toFixed(t)}function yD(e){return Gl(e)&&e>=0&&e<=100}function Gl(e){return typeof e=="number"}function Tl(e){return{...e}}function Hf(e,t){return Object.keys(e).some(n=>e[n]===t)}function Fs(e){return Object.keys(e).length===0}function A7(e,t){const n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function cr(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}const zr=cr(),Po="WorkerGlobalScope"in zr;function Os(e,t){const n=cr();let r;return n.Zone&&typeof n.Zone.__symbol__=="function"&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}let qf,R7=!1;function vD(e){qf=e}function bD(e){R7=e}function wD(e,t,n){const r=n.value;n.value=function(...i){return(qf?Pe(r):r).apply(this,i)}}function Pe(e){return function(...t){return Ai(e,this,t)}}function Ai(e,t,n){try{return e.apply(t,n)}catch(r){As(r)}}function As(e){if(J1(e),qf)try{qf(e)}catch(t){J1(t)}}function J1(...e){R7&&$e.error("[MONITOR]",...e)}function On(e,t){return Os(cr(),"setTimeout")(Pe(e),t)}function vr(e){Os(cr(),"clearTimeout")(e)}function sc(e,t){return Os(cr(),"setInterval")(Pe(e),t)}function Ud(e){Os(cr(),"clearInterval")(e)}function a_(e){var t;const n=(t=zr.queueMicrotask)===null||t===void 0?void 0:t.bind(zr);typeof n=="function"?n(Pe(e)):Promise.resolve().then(Pe(e))}let Qe=class{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}notify(t){this.observers.forEach(n=>n(t))}addObserver(t){this.observers.push(t),this.observers.length===1&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(n=>t!==n),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}};function P7(...e){return new Qe(t=>{const n=e.map(r=>r.subscribe(i=>t.notify(i)));return()=>n.forEach(r=>r.unsubscribe())})}class D7 extends Qe{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(t)}
13subscribe(t){let n=!1;const r={unsubscribe:()=>{n=!0,this.removeObserver(t)}};return a_(()=>{for(const i of this.buffer){if(n)return;t(i)}n||this.addObserver(t)}),r}unbuffer(){a_(()=>{this.maxBufferSize=this.buffer.length=0})}}const Rn=1e3,jn=60*Rn,N7=60*jn,SD=24*N7,$7=365*SD;function Bd(e){return{relative:e,timeStamp:TD(e)}}function ED(e){return{relative:jd(e),timeStamp:e}}function TD(e){const t=Vn()-performance.now();return t>Ql()?Math.round(Do(t,e)):xD(e)}function kD(){return Math.round(Vn()-Do(Ql(),performance.now()))}function je(e){return Gl(e)?ra(e*1e6,0):e}function Vn(){return new Date().getTime()}function Qt(){return Vn()}function ir(){return performance.now()}function ln(){return{relative:ir(),timeStamp:Qt()}}function L7(){return{relative:0,timeStamp:Ql()}}function Yt(e,t){return t-e}function Do(e,t){return e+t}function jd(e){return e-Ql()}function xD(e){return Math.round(Do(Ql(),e))}function CD(e){return e<$7}let Qh;function Ql(){var e,t;return Qh===void 0&&(Qh=(t=(e=performance.timing)===null||e===void 0?void 0:e.navigationStart)!==null&&t!==void 0?t:performance.timeOrigin),Qh}function zd(e,t,n){const r=n&&n.leading!==void 0?n.leading:!0,i=n&&n.trailing!==void 0?n.trailing:!0;let s=!1,o,a;return{throttled:(...c)=>{if(s){o=c;return}r?e(...c):o=c,s=!0,a=On(()=>{i&&o&&e(...o),s=!1,o=void 0},t)},cancel:()=>{vr(a),s=!1,o=void 0}}}function nt(){}function Un(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):`10000000-1000-4000-8000-${1e11}`.replace(/[018]/g,Un)}const Ba=/([\w-]+)\s*=\s*([^;]+)/g;function kl(e,t){for(Ba.lastIndex=0;;){const n=Ba.exec(e);if(n){if(n[1]===t)return n[2]}else break}}function ID(e){const t=new Map;for(Ba.lastIndex=0;;){const n=Ba.exec(e);if(n){const r=n[1],i=n[2];t.has(r)?t.get(r).push(i):t.set(r,[i])}else break}return t}function OD(e){const t=new Map;for(Ba.lastIndex=0;;){const n=Ba.exec(e);if(n)t.set(n[1],n[2]);else break}return t}function Hd(e,t,n=""){const r=e.charCodeAt(t-1),s=r>=55296&&r<=56319?t+1:t;return e.length<=s?e:`${e.slice(0,s)}${n}`}function AD(){return M7()===0}function xae(){return M7()===1}let xu;function M7(){return xu??(xu=RD())}function RD(e=window){var t;const n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:((t=e.navigator.vendor)===null||t===void 0?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}function e2(e){return qd(e,location.href).href}function PD(e){try{return!!qd(e)}catch{return!1}}function DD(e){const t=qd(e).pathname;return t[0]==="/"?t:`/${t}`}function qd(e,t){const{URL:n}=ND();try{return t!==void 0?new n(e,t):new n(e)}catch(r){throw new Error(`Failed to construct URL: ${String(r)}`)}}let Kh;function ND(){if(!Kh){let e,t;try{e=document.createElement("iframe"),e.style.display="none",document.body.appendChild(e),t=e.contentWindow}catch{t=zr}Kh={URL:t.URL},e?.remove()}return Kh}function Wd(e,t,n=0,r){const i=new Date;i.setTime(i.getTime()+n);const s=`expires=${i.toUTCString()}`,o=r&&r.crossSite?"none":"strict",a=r&&r.domain?`;domain=${r.domain}`:"",c=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${s};path=/;samesite=${o}${a}${c}${l}`}function Gd(e){return kl(document.cookie,e)}function $D(e){return ID(document.cookie).get(e)||[]}let Yh;function _s(e){return Yh||(Yh=OD(document.cookie)),Yh.get(e)}function F7(e,t){Wd(e,"",0,t)}function LD(e){if(document.cookie===void 0||document.cookie===null)return!1;try{const t=`dd_cookie_test_${Un()}`,n="test";Wd(t,n,jn,e);const r=Gd(t)===n;return F7(t,e),r}catch(t){return $e.error(t),!1}}let Jh;function V7(e=location.hostname,t=document.referrer){if(Jh===void 0){const n=MD(e,t);if(n){const r=`dd_site_test_${Un()}`,i="test",s=n.split(".");let o=s.pop();for(;s.length&&!Gd(r);)o=`${s.pop()}.${o}`,Wd(r,i,Rn,{domain:o});F7(r,{domain:o}),Jh=o}}return Jh}function MD(e,t){try{return e||qd(t).hostname}catch{}}const Ui="_dd_s";function U7(e,t){for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(t(r,n,e))return r}}function Wf(e){return Object.values(e)}function t2(e){return Object.entries(e)}
13const Vs=4*N7,B7=15*jn,FD=$7,j7="0",ja={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},z7=/^([a-zA-Z]+)=([a-z0-9-]+)$/,n2="&";function VD(e){return!!e&&(e.indexOf(n2)!==-1||z7.test(e))}const UD="1";function no(e,t){const n={isExpired:UD};return t.trackAnonymousUser&&e?.anonymousId&&(n.anonymousId=e?.anonymousId),n}function Xu(e){return Fs(e)}function H7(e){return!Xu(e)}function el(e){return e.isExpired!==void 0||!BD(e)}function BD(e){return(e.created===void 0||Vn()-Number(e.created)<Vs)&&(e.expire===void 0||Vn()<Number(e.expire))}function q7(e){e.expire=String(Vn()+B7)}function X1(e){return t2(e).map(([t,n])=>t==="anonymousId"?`aid=${n}`:`${t}=${n}`).join(n2)}function Qd(e){const t={};return VD(e)&&e.split(n2).forEach(n=>{const r=z7.exec(n);if(r!==null){const[,i,s]=r;i==="aid"?t.anonymousId=s:t[i]=s}}),t}const jD="_dd",zD="_dd_r",HD="_dd_l",qD="rum",WD="logs";function GD(e){if(!_s(Ui)){const n=_s(jD),r=_s(zD),i=_s(HD),s={};n&&(s.id=n),i&&/^[01]$/.test(i)&&(s[WD]=i),r&&/^[012]$/.test(r)&&(s[qD]=r),H7(s)&&(q7(s),e.persistSession(s))}}const QD=0;function c_(e){const t=YD(e);return t&&LD(t)?{type:ja.COOKIE,cookieOptions:t}:void 0}function KD(e,t){const n={isLockEnabled:AD(),persistSession:r=>l_(t,e,r,B7),retrieveSession:()=>W7(t,e),expireSession:r=>l_(t,e,no(r,e),Vs)};return GD(n),n}function l_(e,t,n,r){let i=X1(n);t.betaEncodeCookieOptions&&(i=X1({...n,...Fs(n)?{}:{c:G7(e)}})),Wd(Ui,i,t.trackAnonymousUser?FD:r,e)}function W7(e,t){if(t.betaEncodeCookieOptions)return JD(e);const n=Gd(Ui);return Qd(n)}function YD(e){const t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){const n=V7();if(!n)return;t.domain=n}return t}function G7(e){const t=e.domain?e.domain.split(".").length-1:0;let n=0;return n|=QD<<5,n|=t<<1,n|=e.crossSite?1:0,n.toString(16)}function JD(e){const t=$D(Ui),n=G7(e);let r;for(const i of t.reverse())if(r=Qd(i),r.c===n)break;return r==null||delete r.c,r??{}}const XD="_dd_test_";function u_(){try{const e=Un(),t=`${XD}${e}`;localStorage.setItem(t,e);const n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:ja.LOCAL_STORAGE}:void 0}catch{return}}function ZD(e){return{isLockEnabled:!1,persistSession:Q7,retrieveSession:K7,expireSession:t=>eN(t,e)}}function Q7(e){localStorage.setItem(Ui,X1(e))}function K7(){const e=localStorage.getItem(Ui);return Qd(e)}function eN(e,t){Q7(no(e,t))}const tN=10,nN=100,rN=Rn,Y7="--",J7=[];let Zu;function ro(e,t,n=0){var r;const{isLockEnabled:i,persistSession:s,expireSession:o}=t,a=d=>s({...d,lock:l}),c=()=>{const{lock:d,...h}=t.retrieveSession();return{session:h,lock:d&&!sN(d)?d:void 0}};if(Zu||(Zu=e),e!==Zu){J7.push(e);return}if(i&&n>=nN){f_(t);return}let l,u=c();if(i){if(u.lock){Cu(e,t,n);return}if(l=iN(),a(u.session),u=c(),u.lock!==l){Cu(e,t,n);return}}let f=e.process(u.session);if(i&&(u=c(),u.lock!==l)){Cu(e,t,n);return}if(f&&(el(f)?o(f):(q7(f),i?a(f):s(f))),i&&!(f&&el(f))){if(u=c(),u.lock!==l){Cu(e,t,n);return}s(u.session),f=u.session}(r=e.after)===null||r===void 0||r.call(e,f||u.session),f_(t)}function Cu(e,t,n){On(()=>{ro(e,t,n+1)},tN)}function f_(e){Zu=void 0;const t=J7.shift();t&&ro(t,e)}function iN(){return Un()+Y7+Qt()}function sN(e){const[,t]=e.split(Y7);return!t||Yt(Number(t),Qt())>rN}const d_=Rn;function oN(e){switch(e.sessionPersistence){case ja.COOKIE:return c_(e);case ja.LOCAL_STORAGE:return u_();case void 0:{let t=c_(e);return!t&&e.allowFallbackToLocalStorage&&(t=u_()),t}default:$e.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}function aN(e,t){return e.type===ja.COOKIE?KD(t,e.cookieOptions):ZD(t)}function cN(e,t,n,r,i=aN(e,t)){const s=new Qe,o=new Qe,a=new Qe,c=sc(h,d_);let l;m();const{throttled:u,cancel:f}=zd(()=>{ro({process:S=>{if(Xu(S))return;const O=p(S);return g(O),O},after:S=>{H7(S)&&!_()&&v(S),l=S}},i)},d_);function d(){ro({process:S=>_()?p(S):void 0},i)}function h(){const S=i.retrieveSession();el(S)?ro({process:O=>el(O)?no(O,t):void 0,after:p},i):p(S)}function p(S){return el(S)&&(S=no(S,t)),_()&&(b(S)?y():(a.notify({previousState:l,newState:S}),l=S)),S}function m(){ro({process:S=>{if(Xu(S))return S.anonymousId=Un(),no(S,t)},after:S=>{l=S}},i)}function g(S){if(Xu(S))return!1;const O=r(S[n]);S[n]=O,delete S.isExpired,O!==j7&&!S.id&&(S.id=Un(),S.created=String(Vn()))}function _(){return l?.[n]!==void 0}function b(S){return l.id!==S.id||l[n]!==S[n]}function y(){l=no(l,t),o.notify()}function v(S){l=S,s.notify()}function w(S){ro({process:O=>({...O,...S}),after:p},i)}return{expandOrRenewSession:u,expandSession:d,getSession:()=>
13l,renewObservable:s,expireObservable:o,sessionStateUpdateObservable:a,restartSession:m,expire:S=>{f(),S===!1&&l&&delete l.anonymousId,i.expireSession(l),p(no(l,t))},stop:()=>{Ud(c)},updateSessionState:w}}const Z1={GRANTED:"granted",NOT_GRANTED:"not-granted"};function X7(e){const t=new Qe;return{tryToInit(n){e||(e=n)},update(n){e=n,t.notify()},isGranted(){return e===Z1.GRANTED},observable:t}}function No(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function xl(e){const t=No(e);return t==="string"||t==="function"||e instanceof RegExp}function Kd(e,t,n=!1){return e.some(r=>{try{if(typeof r=="function")return r(t);if(r instanceof RegExp)return r.test(t);if(typeof r=="string")return n?t.startsWith(r):r===t}catch(i){$e.error(i)}return!1})}const lN=["chrome-extension://","moz-extension://"];function h_(e){return lN.some(t=>e.includes(t))}function uN(e,t=""){if(h_(e))return!1;const r=t.split(` 14`).filter(i=>{const s=i.trim();return s.length&&/^at\s+|@/.test(s)})[1]||"";return h_(r)}const fN="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",dN="SDK initialized on a non-allowed domain.";function hN(e,t,n=typeof location<"u"?location.origin:""){const r=e.allowedTrackingOrigins;if(!r)return uN(n,t)?($e.error(fN),!1):!0;const i=Kd(r,n);return i||$e.error(dN),i}const Z7="datad0g.com",pN="dd0g-gov.com",fo="datadoghq.com",mN="datadoghq.eu",gN="ddog-gov.com",_N="pci.browser-intake-datadoghq.com",yN=["ddsource","dd-api-key","dd-request-id"];function us(e,t,n){const r=vN(e,t);return{build(i,s){const o=bN(e,t,i,s,n);return r(o)},trackType:t}}function vN(e,t){const n=`/api/v2/${t}`,r=e.proxy;if(typeof r=="string"){const s=e2(r);return o=>`${s}?ddforward=${encodeURIComponent(`${n}?${o}`)}`}if(typeof r=="function")return s=>r({path:n,parameters:s});const i=e6(t,e);return s=>`https://${i}${n}?${s}`}function e6(e,t){const{site:n=fo,internalAnalyticsSubdomain:r}=t;if(e==="logs"&&t.usePciIntake&&n===fo)return _N;if(r&&n===fo)return`${r}.${fo}`;if(n===pN)return`http-intake.logs.${n}`;const i=n.split("."),s=i.pop();return`browser-intake-${i.join("-")}.${s}`}function bN({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},r,i,{retry:s,encoding:o},a=[]){const c=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.25.1")}`,"dd-evp-origin=browser",`dd-request-id=${Un()}`].concat(a);return o&&c.push(`dd-evp-encoding=${o}`),r==="rum"&&(c.push(`batch_time=${Qt()}`,`_dd.api=${i}`),s&&c.push(`_dd.retry_count=${s.count}`,`_dd.retry_after=${s.lastFailureStatus}`)),t&&c.reverse(),c.join("&")}function wN(e){const t=e.site||fo,n=SN(e.source),r=EN({...e,site:t,source:n});return{replica:TN({...e,site:t,source:n}),site:t,source:n,...r}}function SN(e){return e==="flutter"||e==="unity"?e:"browser"}function EN(e){return{logsEndpointBuilder:us(e,"logs"),rumEndpointBuilder:us(e,"rum"),profilingEndpointBuilder:us(e,"profile"),sessionReplayEndpointBuilder:us(e,"replay"),exposuresEndpointBuilder:us(e,"exposures"),flagEvaluationEndpointBuilder:us(e,"flagevaluation")}}function TN(e){if(!e.replica)return;const t={...e,site:fo,clientToken:e.replica.clientToken};return{logsEndpointBuilder:us(t,"logs"),rumEndpointBuilder:us(t,"rum",[`application.id=${e.replica.applicationId}`])}}function t6(e){return yN.every(t=>e.includes(t))}const ia={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},em={ALL:"all",SAMPLED:"sampled"};function Xh(e,t){return e!=null&&typeof e!="string"?($e.error(`${t} must be defined as a string`),!1):!0}function kN(e){return e&&typeof e=="string"&&!/(datadog|ddog|datad0g|dd0g)/.test(e)?($e.error(`Site should be a valid Datadog site. ${Z0} ${Vd}/getting_started/site/.`),!1):!0}function sa(e,t){return e!==void 0&&!yD(e)?($e.error(`${t} Sample Rate should be a number between 0 and 100`),!1):!0}function n6(e,t){var n,r,i,s,o,a,c,l,u,f;if(!e||!e.clientToken){$e.error("Client Token is not configured, we will not send any data.");return}if(e.allowedTrackingOrigins!==void 0&&!Array.isArray(e.allowedTrackingOrigins)){$e.error("Allowed Tracking Origins must be an array");return}if(!(!kN(e.site)||!sa(e.sessionSampleRate,"Session")||!sa(e.telemetrySampleRate,"Telemetry")||!sa(e.telemetryConfigurationSampleRate,"Telemetry Configuration")||!sa(e.telemetryUsageSampleRate,"Telemetry Usage")||!Xh(e.version,"Version")||!Xh(e.env,"Env")||!Xh(e.service,"Service")||!hN(e,t??""))){if(e.trackingConsent!==void 0&&!Hf(Z1,e.trackingConsent)){$e.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:e.beforeSend&&O7(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Po?void 0:oN(e),sessionSampleRate:(n=e.sessionSampleRate)!==null&&n!==void 0?n:100,telemetrySampleRate:(r=e.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(i=e.telemetryConfigurationSampleRate)!==null&&i!==void 0?i:5,telemetryUsageSampleRate:(s=e.telemetryUsageSampleRate)!==null&&s!==void 0?s:5,service:(o=e.service)!==null&&o!==void 0?o:void 0,env:(a=e.env)!==null&&a!==void 0?a:void 0,version:(c=e.version)!==null&&c!==void 0?c:void 0,datacenter:(l=e.datacenter)!==null&&l!==void 0?l:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:(u=e.trackingConsent)!==null&&u!==void 0?u:Z1.GRANTED,trackAnonymousUser:(f=e.trackA
14nonymousUser)!==null&&f!==void 0?f:!0,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...wN(e)}}}function r6(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackAnonymousUser,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins),beta_encode_cookie_options:e.betaEncodeCookieOptions,source:e.source,sdk_version:e.sdkVersion,variant:e.variant}}var Rs;(function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",e.FEATURE_OPERATION_VITAL="feature_operation_vital",e.SHORT_SESSION_INVESTIGATION="short_session_investigation",e.AVOID_FETCH_KEEPALIVE="avoid_fetch_keepalive"})(Rs||(Rs={}));const r2=new Set;function i6(e){Array.isArray(e)&&xN(e.filter(t=>Hf(Rs,t)))}function xN(e){e.forEach(t=>{r2.add(t)})}function Kl(e){return r2.has(e)}function CN(){return r2}const za="?";function Yl(e){var t,n;const r=[];let i=Zh(e,"stack");const s=String(e);if(i&&i.startsWith(s)&&(i=i.slice(s.length)),i&&i.split(` 15`).forEach(o=>{const a=AN(o)||PN(o)||NN(o)||MN(o);a&&(!a.func&&a.line&&(a.func=za),r.push(a))}),r.length>0&&BN()&&e instanceof Error){const o=[];let a=e;for(;(a=Object.getPrototypeOf(a))&&o6(a);){const c=((t=a.constructor)===null||t===void 0?void 0:t.name)||za;o.push(c)}for(let c=o.length-1;c>=0&&((n=r[0])===null||n===void 0?void 0:n.func)===o[c];c--)r.shift()}return{message:Zh(e,"message"),name:Zh(e,"name"),stack:r}}const s6="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Ha="(?::(\\d+))",IN=new RegExp(`^\\s*at (.*?) ?\\(${s6}${Ha}?${Ha}?\\)?\\s*$`,"i"),ON=new RegExp(`\\((\\S*)${Ha}${Ha}\\)`);function AN(e){const t=IN.exec(e);if(!t)return;const n=t[2]&&t[2].indexOf("native")===0,r=t[2]&&t[2].indexOf("eval")===0,i=ON.exec(t[2]);return r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||za,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}const RN=new RegExp(`^\\s*at ?${s6}${Ha}?${Ha}??\\s*$`,"i");function PN(e){const t=RN.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:za,line:t[2]?+t[2]:void 0,url:t[1]}}const DN=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function NN(e){const t=DN.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||za,line:+t[3],url:t[2]}}const $N=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,LN=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function MN(e){const t=$N.exec(e);if(!t)return;const n=t[3]&&t[3].indexOf(" > eval")>-1,r=LN.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||za,line:t[4]?+t[4]:void 0,url:t[3]}}function Zh(e,t){if(typeof e!="object"||!e||!(t in e))return;const n=e[t];return typeof n=="string"?n:void 0}function FN(e,t,n,r){if(t===void 0)return;const{name:i,message:s}=UN(e);return{name:i,message:s,stack:[{url:t,column:r,line:n}]}}const VN=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function UN(e){let t,n;return{}.toString.call(e)==="[object String]"&&([,t,n]=VN.exec(e)),{name:t,message:n}}function o6(e){return String(e.constructor).startsWith("class ")}let Iu;function BN(){if(Iu!==void 0)return Iu;
15class e extends Error{constructor(){super(),this.name="Error"}}const[t,n]=[e,Error].map(r=>new r);return Iu=o6(Object.getPrototypeOf(t))&&n.stack!==t.stack,Iu}function qa(e){const n=new Error(e);n.name="HandlingStack";let r;return Ai(()=>{const i=Yl(n);i.stack=i.stack.slice(2),r=Jl(i)}),r}function Jl(e){let t=a6(e);return e.stack.forEach(n=>{const r=n.func==="?"?"<anonymous>":n.func,i=n.args&&n.args.length>0?`(${n.args.join(", ")})`:"",s=n.line?`:${n.line}`:"",o=n.line&&n.column?`:${n.column}`:"";t+=` 16 at ${r}${i} @ ${n.url}${s}${o}`}),t}function a6(e){return`${e.name||"Error"}: ${e.message}`}function ri(e,t,n,{computeHandlingStack:r}={}){let i=e[t];if(typeof i!="function")if(t in e&&typeof t=="string"&&t.startsWith("on"))i=nt;else return{stop:nt};let s=!1;const o=function(){if(s)return i.apply(this,arguments);const a=Array.from(arguments);let c;Ai(n,null,[{target:this,parameters:a,onPostCall:u=>{c=u},handlingStack:r?qa("instrumented method"):void 0}]);const l=i.apply(this,a);return c&&Ai(c,null,[l]),l};return e[t]=o,{stop:()=>{s=!0,e[t]===o&&(e[t]=i)}}}function Cae(e,t,n){const r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:nt};const i=nt;let s=(a,c)=>{On(()=>{s!==i&&n(a,c)},0)};const o=function(a){r.set.call(this,a),s(this,a)};return Object.defineProperty(e,t,{set:o}),{stop:()=>{var a;((a=Object.getOwnPropertyDescriptor(e,t))===null||a===void 0?void 0:a.set)===o&&Object.defineProperty(e,t,r),s=i}}}const Us=1024,c6=1024*Us,jN=/[^\u0000-\u007F]/;function l6(e){return jN.test(e)?window.TextEncoder!==void 0?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function u6(e){if(e.length===1)return e[0];const t=e.reduce((i,s)=>i+s.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function Wa(e,t,n){if(typeof e!="object"||e===null)return JSON.stringify(e);const r=oa(Object.prototype),i=oa(Array.prototype),s=oa(Object.getPrototypeOf(e)),o=oa(e);try{return JSON.stringify(e,t,n)}catch{return"<error: unable to serialize object>"}finally{r(),i(),s(),o()}}function oa(e){const t=e,n=t.toJSON;return n?(delete t.toJSON,()=>{t.toJSON=n}):nt}const zN=220*Us,HN="$",qN=3;function ut(e,t=zN){const n=oa(Object.prototype),r=oa(Array.prototype),i=[],s=new WeakMap,o=ep(e,HN,void 0,i,s),a=JSON.stringify(o);let c=a?a.length:0;if(c>t){tp(t,"discarded",e);return}for(;i.length>0&&c<t;){const l=i.shift();let u=0;if(Array.isArray(l.source))for(let f=0;f<l.source.length;f++){const d=ep(l.source[f],l.path,f,i,s);if(d!==void 0?c+=JSON.stringify(d).length:c+=4,c+=u,u=1,c>t){tp(t,"truncated",e);break}l.target[f]=d}else for(const f in l.source)if(Object.prototype.hasOwnProperty.call(l.source,f)){const d=ep(l.source[f],l.path,f,i,s);if(d!==void 0&&(c+=JSON.stringify(d).length+u+f.length+qN,u=1),c>t){tp(t,"truncated",e);break}l.target[f]=d}}return n(),r(),o}function ep(e,t,n,r,i){const s=QN(e);if(!s||typeof s!="object")return WN(s);const o=tm(s);if(o!=="[Object]"&&o!=="[Array]"&&o!=="[Error]")return o;const a=e;if(i.has(a))return`[Reference seen at ${i.get(a)}]`;const c=n!==void 0?`${t}.${n}`:t,l=Array.isArray(s)?[]:{};return i.set(a,c),r.push({source:s,target:l,path:c}),l}function WN(e){return typeof e=="bigint"?`[BigInt] ${e.toString()}`:typeof e=="function"?`[Function] ${e.name||"unknown"}`:typeof e=="symbol"?`[Symbol] ${e.description||e.toString()}`:e}function tm(e){try{if(e instanceof Event)return GN(e);if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;const n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch{}return"[Unserializable]"}function GN(e){return{type:e.type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?tm(e.currentTarget):null,target:e.target?tm(e.target):null}}function QN(e){const t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function tp(e,t,n){$e.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}const f6="No stack, consider using an instance of Error";function d6({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:i}){const s=Bs(e);return!t&&s&&(t=Yl(e)),{source:n,type:t?t.name:void 0,message:KN(t,s,i,e),stack:t?Jl(t):r?f6:void 0}}function Yd({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:s,useFallbackStack:o=!0,source:a,handling:c}){const l=d6({originalError:t,stackTrace:e,source:a,useFallbackStack:o,nonErrorPrefix:s});return{startClocks:i,handling:c,handlingStack:n,componentStack:r,originalError:t,...l,causes:Bs(t)?ZN(t,a):void 0,fingerprint:YN(t),context:JN(t)}}function KN(e,t,n,r){return e?.message&&e?.name?e.message:t?"Empty message":n?`${n} ${Wa(ut(r))}`:Wa(ut(r))}function YN(e){return Bs(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function JN(e){if(e!==null&&typeof e=="object"&&"dd_context"in e)return e.dd_context}function XN(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function Bs(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function ZN(e,t){const n=[];let r=e.cause;for(;r!=null&&n.length<10;){const i=d6({originalError:r,source:t,useFallbackStack:!1});n.push(i),r=Bs(r)?r.cause:void 0}return n.length?n:void 0}const Zn={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function e$(){return new Qe(e=>{const t=(i,s)=>{const o=Yd({stackTrace:s,originalError:i,startClocks:ln(),nonErrorPrefix:"Uncaught",source:Zn.SOURCE,handling:"unhandled"});e.notify(o)},{stop:n}=t$(t),{stop:r}=n$(t);return()=>{n(),r()}})}function t$(e){return ri(cr(),"onerror",({parameters:[t,n,r,i,s]})=>{let o;
16Bs(s)||(o=FN(t,n,r,i)),e(s??t,o)})}function n$(e){return ri(cr(),"onunhandledrejection",({parameters:[t]})=>{e(t.reason||"Empty reason")})}function h6(e){const t={version:"6.25.1",onReady(n){n()},...e};return Object.defineProperty(t,"_setDebug",{get(){return bD},enumerable:!1}),t}function p6(e,t,n){const r=e[t];r&&!r.q&&r.version&&$e.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(i=>O7(i,"onReady callback threw an error:")())}function Jd(e,t){t.silentMultipleInit||$e.error(`${e} is already initialized.`)}function At(e,t,n,r,i){return Ps(e,t,[n],r,i)}function Ps(e,t,n,r,{once:i,capture:s,passive:o}={}){const a=Pe(d=>{!d.isTrusted&&!d.__ddIsTrusted&&!e.allowUntrustedEvents||(i&&f(),r(d))}),c=o?{capture:s,passive:o}:s,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,u=Os(l,"addEventListener");n.forEach(d=>u.call(t,d,a,c));function f(){const d=Os(l,"removeEventListener");n.forEach(h=>d.call(t,h,a,c))}return{stop:f}}const Ga={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function m6(e,t){const n=[];t.includes(Ga.cspViolation)&&n.push(i$(e));const r=t.filter(i=>i!==Ga.cspViolation);return r.length&&n.push(r$(r)),P7(...n)}function r$(e){return new Qe(t=>{if(!window.ReportingObserver)return;const n=Pe((i,s)=>i.forEach(o=>t.notify(s$(o)))),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),()=>{r.disconnect()}})}function i$(e){return new Qe(t=>{const{stop:n}=At(e,document,"securitypolicyviolation",r=>{t.notify(o$(r))});return n})}function s$(e){const{type:t,body:n}=e;return g6({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:_6(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}function o$(e){const t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return g6({type:e.effectiveDirective,message:`${Ga.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:_6(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${Hd(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}function g6(e){return{startClocks:ln(),source:Zn.REPORT,handling:"unhandled",...e}}function _6(e,t,n,r,i){return n?Jl({name:e,message:t,stack:[{func:"?",url:n,line:r??void 0,column:i??void 0}]}):void 0}const a$=200;function i2(e){const{env:t,service:n,version:r,datacenter:i,sdkVersion:s,variant:o}=e,a=[Xs("sdk_version",s??"6.25.1")];return t&&a.push(Xs("env",t)),n&&a.push(Xs("service",n)),r&&a.push(Xs("version",r)),i&&a.push(Xs("datacenter",i)),o&&a.push(Xs("variant",o)),a}function Xs(e,t){const n=t?`${e}:${t}`:e;return(n.length>a$||c$(n))&&$e.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${Z0} ${Vd}/getting_started/tagging/#defining-tags`),y6(n)}function y6(e){return e.replace(/,/g,"_")}function c$(e){return l$()?new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(e):!1}function l$(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch{return!1}}function s2(e,t){const n=zr.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function Gf(e,t,n=u$()){if(t===void 0)return e;if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const i=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,i)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){const i=Array.isArray(e)?e:[];for(let s=0;s<t.length;++s)i[s]=Gf(i[s],t[s],n);return i}const r=No(e)==="object"?e:{};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=Gf(r[i],t[i],n));return r}function Xd(e){return Gf(void 0,e)}function Tr(...e){let t;for(const n of e)n!=null&&(t=Gf(t,n));return t}function u$(){if(typeof WeakSet<"u"){const t=new WeakSet;return{hasAlreadyBeenSeen(n){const r=t.has(n);return r||t.add(n),r}}}const e=[];return{hasAlreadyBeenSeen(t){const n=e.indexOf(t)>=0;return n||e.push(t),n}}}function v6(){var e;const t=zr.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:(e=t.connection)===null||e===void 0?void 0:e.effectiveType}}function b6(e){return e>=500}function f$(e){try{return e.clone()}catch{return}}const d$=80*Us,h$=32,w6=20*c6,p$=jn,S6=Rn;function E6(e,t,n,r,i,s){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?k6(e,t,n,s,{onSuccess:()=>x6(0,t,n,r,i,s),onFailure:()=>{t.queuedPayloads.enqueue(e)||s.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),T6(t,n,r,i,s)}}):t.queuedPayloads.enqueue(e)||s.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function T6(e,t,n,r,i){e.transportStatus===2&&On(()=>{const s=e.queuedPayloads.first();k6(s,e,t,i,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=S6,x6(1,e,t,n,r,i)},onFailure:()=>{e.currentBackoffTime=Math.min(p$,e.currentBackoffTime*2),T6(e,t,n,r,i)}})},e.currentBackoffTime)}function k6(e,t,n,r,{onSuccess:i,onFailure:s}){t.bandwidthMonitor.add(e),n(e,o=>{t.bandwidthMonitor.remove(e),m$(o)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:o.status}
16,r.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),s()):(t.transportStatus=0,r.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function x6(e,t,n,r,i,s){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${r} events size queued for upload: ${w6/c6}MiB`,source:Zn.AGENT,startClocks:ln()}),t.queueFullReported=!0);const o=t.queuedPayloads;for(t.queuedPayloads=C6();o.size()>0;)E6(o.dequeue(),t,n,r,i,s)}function m$(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||b6(e.status))}function g$(){return{transportStatus:0,currentBackoffTime:S6,bandwidthMonitor:_$(),queuedPayloads:C6(),queueFullReported:!1}}function C6(){const e=[];return{bytesCount:0,enqueue(t){return this.isFull()?!1:(e.push(t),this.bytesCount+=t.bytesCount,!0)},first(){return e[0]},dequeue(){const t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size(){return e.length},isFull(){return this.bytesCount>=w6}}}function _$(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=d$&&this.ongoingRequestCount<h$},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}}}const nm=16*Us;function o2(e,t,n=nm){const r=new Qe,i=g$();return{observable:r,send:s=>{for(const o of e)E6(s,i,(a,c)=>{Kl(Rs.AVOID_FETCH_KEEPALIVE)?Qf(o,a,c):b$(o,n,a,c)},o.trackType,t,r)},sendOnExit:s=>{for(const o of e)y$(o,n,s)}}}function y$(e,t,n){if(!!navigator.sendBeacon&&n.bytesCount<t)try{const i=e.build("beacon",n);if(navigator.sendBeacon(i,n.data))return}catch(i){v$(i)}Qf(e,n)}let p_=!1;function v$(e){p_||(p_=!0,As(e))}function b$(e,t,n,r){if(w$()&&n.bytesCount<t){const s=e.build("fetch-keepalive",n);fetch(s,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(Pe(o=>r?.({status:o.status,type:o.type}))).catch(Pe(()=>Qf(e,n,r)))}else Qf(e,n,r)}function Qf(e,t,n){const r=e.build("fetch",t);fetch(r,{method:"POST",body:t.data,mode:"cors"}).then(Pe(i=>n?.({status:i.status,type:i.type}))).catch(Pe(()=>n?.({status:0})))}function w$(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function oc(){const e=S$();if(e)return{getCapabilities(){var t;return JSON.parse(((t=e.getCapabilities)===null||t===void 0?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return(t=e.getPrivacyLevel)===null||t===void 0?void 0:t.call(e)},getAllowedWebViewHosts(){return JSON.parse(e.getAllowedWebViewHosts())},send(t,n,r){const i=r?{id:r}:void 0;e.send(JSON.stringify({eventType:t,event:n,view:i}))}}}function I6(e){const t=oc();return!!t&&t.getCapabilities().includes(e)}function Bi(e){var t;e===void 0&&(e=(t=cr().location)===null||t===void 0?void 0:t.hostname);const n=oc();return!!n&&n.getAllowedWebViewHosts().some(r=>e===r||e.endsWith(`.${r}`))}function S$(){return cr().DatadogEventBridge}const wa={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function O6(e){return new Qe(t=>{const{stop:n}=Ps(e,window,["visibilitychange","freeze"],i=>{i.type==="visibilitychange"&&document.visibilityState==="hidden"?t.notify({reason:wa.HIDDEN}):i.type==="freeze"&&t.notify({reason:wa.FROZEN})},{capture:!0}),r=At(e,window,"beforeunload",()=>{t.notify({reason:wa.UNLOADING})}).stop;return()=>{n(),r()}})}function E$(e){return Wf(wa).includes(e)}const m_=256*Us;function a2({encoder:e,request:t,flushController:n}){let r={};const i=n.flushObservable.subscribe(u=>l(u));function s(u,f,d){n.notifyBeforeAddMessage(f),d!==void 0?(r[d]=u,n.notifyAfterAddMessage()):e.write(e.isEmpty?u:` 17${u}`,h=>{n.notifyAfterAddMessage(h-f)})}function o(u){return u!==void 0&&r[u]!==void 0}function a(u){const f=r[u];delete r[u];const d=e.estimateEncodedBytesCount(f);n.notifyAfterRemoveMessage(d)}function c(u,f){const d=Wa(u),h=e.estimateEncodedBytesCount(d);if(h>=m_){$e.warn(`Discarded a message whose size was bigger than the maximum allowed size ${m_/Us}KiB. ${Z0} ${_D}/#technical-limitations`);return}o(f)&&a(f),s(d,h,f)}function l(u){const f=Wf(r).join(` 18`);r={};const d=E$(u.reason),h=d?t.sendOnExit:t.send;if(d&&e.isAsync){const p=e.finishSync();p.outputBytesCount&&h(g_(p));
18const m=[p.pendingData,f].filter(Boolean).join(` 19`);m&&h({data:m,bytesCount:l6(m)})}else f&&e.write(e.isEmpty?f:` 20${f}`),e.finish(p=>{h(g_(p))})}return{flushController:n,add:c,upsert:c,stop:i.unsubscribe}}function g_(e){let t;return typeof e.output=="string"?t=e.output:t=new Blob([e.output],{type:"text/plain"}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}const T$=30*Rn,k$=Po?1:50;function c2({pageMayExitObservable:e,sessionExpireObservable:t}){const n=e.subscribe(f=>a(f.reason)),r=t.subscribe(()=>a("session_expire")),i=new Qe(()=>()=>{n.unsubscribe(),r.unsubscribe()});let s=0,o=0;function a(f){if(o===0)return;const d=o,h=s;o=0,s=0,u(),i.notify({reason:f,messagesCount:d,bytesCount:h})}let c;function l(){c===void 0&&(c=On(()=>{a("duration_limit")},T$))}function u(){vr(c),c=void 0}return{flushObservable:i,get messagesCount(){return o},notifyBeforeAddMessage(f){s+f>=nm&&a("bytes_limit"),o+=1,s+=f,l()},notifyAfterAddMessage(f=0){s+=f,o>=k$?a("messages_limit"):s>=nm&&a("bytes_limit")},notifyAfterRemoveMessage(f){s-=f,o-=1,o===0&&u()}}}const Hr="DISCARDED",vn="SKIPPED";function A6(){const e={};return{register(t,n){return e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(r=>r!==n)}}},triggerHook(t,n){const r=e[t]||[],i=[];for(const s of r){const o=s(n);if(o===Hr)return Hr;o!==vn&&i.push(o)}return Tr(...i)}}}const Es={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},x$=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],C$=1,I$=[gN],O$=15;let np;function ac(){return np||(np=new D7(100)),np}function R6(e,t,n,r,i,s){const o=new Qe,{stop:a}=R$(t,r,i,s,o),{enabled:c,metricsEnabled:l}=A$(e,t,n,o);return{stop:a,enabled:c,metricsEnabled:l}}function A$(e,t,n,r,i=C$,s=O$){const o={},a=!I$.includes(t.site)&&gs(t.telemetrySampleRate),c={[Es.LOG]:a,[Es.CONFIGURATION]:a&&gs(t.telemetryConfigurationSampleRate),[Es.USAGE]:a&&gs(t.telemetryUsageSampleRate),metric:a&&gs(i)},l=P$(),u=ac();return u.subscribe(({rawEvent:d,metricName:h})=>{if(h&&!c.metric||!c[d.type])return;const p=h||d.status||d.type;let m=o[p];if(m||(m=o[p]=new Set),m.size>=s)return;const g=Wa(d);if(m.has(g))return;const _=n.triggerHook(1,{startTime:ln().relative});if(_===Hr)return;const b=f(_,e,d,l);r.notify(b),s2("telemetry",b),m.add(g)}),u.unbuffer(),vD(l2),{enabled:a,metricsEnabled:c.metric};function f(d,h,p,m){const _={type:"telemetry",date:ln().timeStamp,service:h,version:"6.25.1",source:"browser",_dd:{format_version:2},telemetry:Tr(p,{runtime_env:m,connectivity:v6(),sdk_setup:"npm"}),ddtags:i2(t).join(","),experimental_features:Array.from(CN())};return Tr(_,d)}}function R$(e,t,n,r,i){const s=[];if(Bi()){const o=oc(),a=i.subscribe(c=>o.send("internal_telemetry",c));s.push(a.unsubscribe)}else{const o=[e.rumEndpointBuilder];e.replica&&D$(e)&&o.push(e.replica.rumEndpointBuilder);const a=a2({encoder:r(4),request:o2(o,t),flushController:c2({pageMayExitObservable:n,sessionExpireObservable:new Qe})});s.push(a.stop);const c=i.subscribe(a.add);s.push(c.unsubscribe)}return{stop:()=>s.forEach(o=>o())}}function P$(){var e;return{is_local_file:((e=zr.location)===null||e===void 0?void 0:e.protocol)==="file:",is_worker:Po}}function D$(e){return e.site===Z7}function cc(e,t){J1(zt.debug,e,t),ac().notify({rawEvent:{type:Es.LOG,message:e,status:"debug",...t}})}function l2(e,t){ac().notify({rawEvent:{type:Es.LOG,status:"error",...N$(e),...t}})}function P6(e){ac().notify({rawEvent:{type:Es.CONFIGURATION,configuration:e}})}function Zd(e,t){ac().notify({rawEvent:{type:Es.LOG,message:e,status:"debug",...t},metricName:e})}function tn(e){ac().notify({rawEvent:{type:Es.USAGE,usage:e}})}function N$(e){if(Bs(e)){const t=Yl(e);return{error:{kind:t.name,stack:Jl($$(t))},message:t.message}}return{error:{stack:f6},message:`Uncaught ${Wa(e)}`}}function $$(e){return e.stack=e.stack.filter(t=>!t.url||x$.some(n=>t.url.startsWith(n))),e}function L$(e){const t=new Set;return e.forEach(n=>t.add(n)),Array.from(t)}function D6(e,t){const n=e.indexOf(t);n>=0&&e.splice(n,1)}function vo(e){return Array.isArray(e)&&e.length>0}const Ou=1/0,M$=jn;let Cc=null;const ef=new Set;
20function F$(){ef.forEach(e=>e())}function $o({expireDelay:e,maxEntries:t}){let n=[];Cc||(Cc=sc(()=>F$(),M$));const r=()=>{const u=ir()-e;for(;n.length>0&&n[n.length-1].endTime<u;)n.pop()};ef.add(r);function i(u,f){const d={value:u,startTime:f,endTime:Ou,remove:()=>{D6(n,d)},close:h=>{d.endTime=h}};return t&&n.length>=t&&n.pop(),n.unshift(d),d}function s(u=Ou,f={returnInactive:!1}){for(const d of n)if(d.startTime<=u){if(f.returnInactive||u<=d.endTime)return d.value;break}}function o(u){const f=n[0];f&&f.endTime===Ou&&f.close(u)}function a(u=Ou,f=0){const d=Do(u,f);return n.filter(h=>h.startTime<=d&&u<=h.endTime).map(h=>h.value)}function c(){n=[]}function l(){ef.delete(r),ef.size===0&&Cc&&(Ud(Cc),Cc=null)}return{add:i,find:s,closeActive:o,findAll:a,reset:c,stop:l}}const V$="datadog-synthetics-public-id",U$="datadog-synthetics-result-id",B$="datadog-synthetics-injects-rum";function eh(){return Po?!1:!!(zr._DATADOG_SYNTHETICS_INJECTS_RUM||_s(B$))}function N6(){const e=window._DATADOG_SYNTHETICS_PUBLIC_ID||_s(V$);return typeof e=="string"?e:void 0}function $6(){const e=window._DATADOG_SYNTHETICS_RESULT_ID||_s(U$);return typeof e=="string"?e:void 0}function L6(){return!!(N6()&&$6())}const j$=jn,z$=Vs;function M6(e,t,n,r){const i=new Qe,s=new Qe,o=cN(e.sessionStoreStrategyType,e,t,n),a=$o({expireDelay:z$});if(o.renewObservable.subscribe(()=>{a.add(c(),ir()),i.notify()}),o.expireObservable.subscribe(()=>{s.notify(),a.closeActive(ir())}),o.expandOrRenewSession(),a.add(c(),L7().relative),Kl(Rs.SHORT_SESSION_INVESTIGATION)){const l=o.getSession();l&&Q$(e,l)}r.observable.subscribe(()=>{r.isGranted()?o.expandOrRenewSession():o.expire(!1)}),H$(e,()=>{r.isGranted()&&o.expandOrRenewSession()}),q$(e,()=>o.expandSession()),W$(e,()=>o.restartSession());function c(){const l=o.getSession();return l?{id:l.id,trackingType:l[t],isReplayForced:!!l.forcedReplay,anonymousId:l.anonymousId}:(G$(e).catch(()=>{}),{id:"invalid",trackingType:j7,isReplayForced:!1,anonymousId:void 0})}return{findSession:(l,u)=>a.find(l,u),renewObservable:i,expireObservable:s,sessionStateUpdateObservable:o.sessionStateUpdateObservable,expire:o.expire,updateSessionState:o.updateSessionState}}function H$(e,t){const{stop:n}=Ps(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0})}function q$(e,t){const n=()=>{document.visibilityState==="visible"&&t()},{stop:r}=At(e,document,"visibilitychange",n);sc(n,j$)}function W$(e,t){const{stop:n}=At(e,window,"resume",t,{capture:!0})}async function G$(e){const t=e.sessionStoreStrategyType;if(!t)return;let n,r;t.type===ja.COOKIE?(n=W7(t.cookieOptions,e),r={cookie:await F6(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=K7(),cc("Unexpected session state",{sessionStoreStrategyType:t.type,session:n,isSyntheticsTest:L6(),createdTimestamp:n?.created,expireTimestamp:n?.expire,...r})}function Q$(e,t){if(!window.cookieStore||!t.created)return;const n=Number(t.created),r=Vn(),{stop:i}=At(e,cookieStore,"change",s);function s(o){const a=U7(o.changed,l=>l.name===Ui);if(!a)return;const c=Vn()-n;if(c>14*jn)i();else{const l=Qd(a.value);if(l.id&&l.id!==t.id){i();const u=Vn()-r;F6().then(f=>{cc("Session cookie changed",{time:u,session_age:c,old:t,new:l,cookie:f})}).catch(As)}}}}async function F6(){let e;return"cookieStore"in window?e=await window.cookieStore.getAll(Ui):e=document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith(Ui)),{count:e.length,domain:V7()||"undefined",...e}}function u2(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){const i=l6(n);t+=i,e+=n,r&&r(i)},finish(n){n(this.finishSync())},finishSync(){const n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount(n){return n.length}}}class V6{constructor(){this.callbacks={}}notify(t,n){const r=this.callbacks[t];r&&r.forEach(i=>i(n))}subscribe(t,n){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(r=>n!==r)}}}}const K$=3e3;function tf(e,t,n=K$){let r=0,i=!1;return{isLimitReached(){if(r===0&&On(()=>{r=0},jn),r+=1,r<=n||i)return i=!1,!1;if(r===n+1){i=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:Zn.AGENT,startClocks:ln()})}finally{i=!1}}return!0}}}function f2(e,t,n){return document.readyState===t||document.readyState==="complete"?(n(),{stop:nt}):At(e,window,t==="complete"?"load":"DOMContentLoaded",n,{once:!0})}function Y$(e,t){return new Promise(n=>{f2(e,t,n)})}let rp;const d2=new WeakMap;function U6(e){return rp||(rp=J$(e)),rp}function J$(e){return new Qe(t=>{const{stop:n}=ri(XMLHttpRequest.prototype,"open",X$),{stop:r}=ri(XMLHttpRequest.prototype,"send",s=>{Z$(s,e,t)},{computeHandlingStack:!0}),{stop:i}=ri(XMLHttpRequest.prototype,"abort",eL);return()=>{n(),r(),i()}})}
20function X$({target:e,parameters:[t,n]}){d2.set(e,{state:"open",method:String(t).toUpperCase(),url:e2(String(n))})}function Z$({target:e,parameters:[t],handlingStack:n},r,i){const s=d2.get(e);if(!s)return;const o=s;o.state="start",o.startClocks=ln(),o.isAborted=!1,o.xhr=e,o.handlingStack=n,o.requestBody=t;let a=!1;const{stop:c}=ri(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&l()}),l=()=>{if(u(),c(),a)return;a=!0;const f=s;f.state="complete",f.duration=Yt(o.startClocks.timeStamp,Qt()),f.status=e.status,typeof e.response=="string"&&(f.responseBody=e.response),i.notify(Tl(f))},{stop:u}=At(r,e,"loadend",l);i.notify(o)}function eL({target:e}){const t=d2.get(e);t&&(t.isAborted=!0)}async function tL(e,t){const n=e.getReader(),r=[];for(;;){const i=await n.read();if(i.done)break;t.collectStreamBody&&r.push(i.value)}return n.cancel().catch(nt),t.collectStreamBody?u6(r):void 0}let ip;const B6=[];function th({responseBodyAction:e}={}){return e&&B6.push(e),ip||(ip=nL()),ip}function nL(){return new Qe(e=>{if(!zr.fetch)return;const{stop:t}=ri(zr,"fetch",n=>rL(n,e),{computeHandlingStack:!0});return t})}function rL({parameters:e,onPostCall:t,handlingStack:n},r){const[i,s]=e;let o=s&&s.method;o===void 0&&i instanceof Request&&(o=i.method);const a=o!==void 0?String(o).toUpperCase():"GET",c=i instanceof Request?i.url:e2(String(i)),l=ln(),u={state:"start",init:s,input:i,method:a,startClocks:l,url:c,handlingStack:n};r.notify(u),e[0]=u.input,e[1]=u.init,t(f=>{iL(r,f,u).catch(As)})}async function iL(e,t,n){var r,i;const s=n;s.state="resolve";let o;try{o=await t}catch(c){s.status=0,s.isAborted=((i=(r=s.init)===null||r===void 0?void 0:r.signal)===null||i===void 0?void 0:i.aborted)||c instanceof DOMException&&c.code===DOMException.ABORT_ERR,s.error=c,e.notify(s);return}s.response=o,s.status=o.status,s.responseType=o.type,s.isAborted=!1;const a=B6.reduce((c,l)=>Math.max(c,l(s)),0);if(a!==0){const c=f$(o);if(c&&c.body)try{const l=await tL(c.body,{collectStreamBody:a===2});s.responseBody=l&&new TextDecoder().decode(l)}catch{}}e.notify(s)}function sL(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){const n=window.requestIdleCallback(Pe(e),t);return()=>window.cancelIdleCallback(n)}return aL(e)}const oL=50;function aL(e){const t=Vn(),n=On(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,oL-(Vn()-t))})},0);return()=>vr(n)}const cL=Rn,lL=30;function uL(){const e=[];function t(r){let i;if(r.didTimeout){const s=performance.now();i=()=>lL-(performance.now()-s)}else i=r.timeRemaining.bind(r);for(;i()>0&&e.length;)e.shift()();e.length&&n()}function n(){sL(t,{timeout:cL})}return{push(r){e.push(r)===1&&n()},stop(){e.length=0}}}let sp={};function j6(e){const t=e.map(n=>(sp[n]||(sp[n]=fL(n)),sp[n]));return P7(...t)}function fL(e){return new Qe(t=>{const n=Yr[e];return Yr[e]=(...r)=>{n.apply(console,r);const i=qa("console error");Ai(()=>{t.notify(dL(r,e,i))})},()=>{Yr[e]=n}})}function dL(e,t,n){const r=e.map(i=>hL(i)).join(" ");if(t===zt.error){const i=e.find(Bs),s=Yd({originalError:i,handlingStack:n,startClocks:ln(),source:Zn.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return s.message=r,{api:t,message:r,handlingStack:n,error:s}}return{api:t,message:r,error:void 0,handlingStack:n}}function hL(e){return typeof e=="string"?ut(e):Bs(e)?a6(Yl(e)):Wa(ut(e),void 0,2)}const pL=500;function z6(){const e=[];return{add:i=>{e.push(i)>pL&&e.splice(0,1)},remove:i=>{D6(e,i)},drain:i=>{e.forEach(s=>s(i)),e.length=0}}}function mL(e){const t=No(e)==="object";return t||$e.error("Unsupported context:",e),t}function op(e,t,n){const r={...e};for(const[i,{required:s,type:o}]of Object.entries(t))o==="string"&&!__(r[i])&&(r[i]=String(r[i])),s&&__(r[i])&&$e.warn(`The property ${i} of ${n} is required; context will not be sent to the intake.`);return r}function __(e){return e==null||e===""}function Xl(e="",{propertiesConfig:t={}}={}){let n={};const r=new Qe,i={getContext:()=>Xd(n),setContext:s=>{mL(s)?n=ut(op(s,t,e)):i.clearContext(),r.notify()},setContextProperty:(s,o)=>{n=ut(op({...n,[s]:o},t,e)),r.notify()},removeContextProperty:s=>{delete n[s],op(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return i}function ft(e,t,n,r){return Pe((...i)=>(r&&tn({feature:r}),e()[t][n](...i)))}function ap(e,t,n){e.changeObservable.subscribe(()=>{const r=e.getContext();n.add(i=>i[t].setContext(r))})}const gL="_dd_c",_L=[];function h2(e,t,n,r){const i=yL(n,r);_L.push(At(e,window,"storage",({key:l})=>{i===l&&o()})),t.changeObservable.subscribe(a);const s=Tr(c(),t.getContext());Fs(s)||t.setContext(s);function o(){t.setContext(c())}function a(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function c(){const l=localStorage.getItem(i);return l?JSON.parse(l):{}}}function yL(e,t){return`${gL}_${e}_${t}`}function H6(e,t,n){const r=p2();return t.storeContextsAcrossPages&&h2(t,r,n,4),e.register(0,()=>{const i=r.getContext();return Fs(i)||!i.id?vn:{account:i}}),r}function p2(){return Xl("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function q6(e,t,n,r){const i=m2();return t.storeContextsAcrossPages&&h2(t,i,n,2),e.register(0,()=>{const s=i.getContext();return r?{context:s}:s}),i}function m2(){return Xl("global context")}function W6(e,t,n,r){const i=g2();return t.storeContextsAcrossPages&&h2(t,i,r,1),e.register(0,({eventType:s,startTime:o})=>{const a=i.getContext(),c=n.findTrackedSession(o);
20return c&&c.anonymousId&&!a.anonymous_id&&t.trackAnonymousUser&&(a.anonymous_id=c.anonymousId),Fs(a)?vn:{type:s,usr:a}}),e.register(1,({startTime:s})=>{var o;return{anonymous_id:(o=n.findTrackedSession(s))===null||o===void 0?void 0:o.anonymousId}}),i}function g2(){return Xl("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}const Ye={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},dt={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"},$n={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},To={FETCH:$n.FETCH,XHR:$n.XHR},vL=500;function G6(e=e$){const t=new D7(vL),n=e().subscribe(r=>{t.notify({type:0,error:r})});return{observable:t,stop:()=>{n.unsubscribe()}}}function bL(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function Kf(e,t,n){const r=n.getHandler(),i=Array.isArray(r)?r:[r];return y_[e]>=y_[n.getLevel()]&&i.includes(t)}const Ve={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},y_={[Ve.ok]:0,[Ve.debug]:1,[Ve.info]:2,[Ve.notice]:4,[Ve.warn]:5,[Ve.error]:6,[Ve.critical]:7,[Ve.alert]:8,[Ve.emerg]:9};function nh(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}var wL=function(e,t,n,r){var i=arguments.length,s=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s};const Cl={console:"console",http:"http"},SL=Object.keys(Ve);class kr{constructor(t,n,r=Cl.http,i=Ve.debug,s={}){this.handleLogStrategy=t,this.handlerType=r,this.level=i,this.contextManager=Xl("logger"),this.tags=[],this.contextManager.setContext(s),n&&this.contextManager.setContextProperty("logger",{name:n})}logImplementation(t,n,r=Ve.info,i,s){const o=ut(n);let a;if(i!=null){const c=Yd({originalError:i,nonErrorPrefix:"Provided",source:Zn.LOGGER,handling:"handled",startClocks:ln()});a=Tr({error:nh(c,{includeMessage:!0})},c.context,o)}else a=o;this.handleLogStrategy({message:ut(t),context:a,status:r},this,s)}log(t,n,r=Ve.info,i){let s;Kf(r,Cl.http,this)&&(s=qa("log")),this.logImplementation(t,n,r,i,s)}setContext(t){this.contextManager.setContext(t)}getContext(){return this.contextManager.getContext()}setContextProperty(t,n){this.contextManager.setContextProperty(t,n)}removeContextProperty(t){this.contextManager.removeContextProperty(t)}clearContext(){this.contextManager.clearContext()}addTag(t,n){this.tags.push(Xs(t,n))}removeTagsWithKey(t){const n=y6(t);this.tags=this.tags.filter(r=>r!==n&&!r.startsWith(`${n}:`))}getTags(){return this.tags.slice()}setHandler(t){this.handlerType=t}getHandler(){return this.handlerType}setLevel(t){this.level=t}getLevel(){return this.level}}wL([wD],kr.prototype,"logImplementation",null);kr.prototype.ok=Qi(Ve.ok);kr.prototype.debug=Qi(Ve.debug);kr.prototype.info=Qi(Ve.info);kr.prototype.notice=Qi(Ve.notice);kr.prototype.warn=Qi(Ve.warn);kr.prototype.error=Qi(Ve.error);kr.prototype.critical=Qi(Ve.critical);kr.prototype.alert=Qi(Ve.alert);kr.prototype.emerg=Qi(Ve.emerg);function Qi(e){return function(t,n,r){let i;Kf(e,Cl.http,this)&&(i=qa("log")),this.logImplementation(t,n,e,r,i)}}function v_(){return Po?{}:{view:{referrer:document.referrer,url:window.location.href}}}const EL=32*Us;function TL(e,t){e.usePciIntake===!0&&e.site&&e.site!=="datadoghq.com"&&$e.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");const n=n6(e,t),r=b_(e.forwardConsoleLogs,Wf(zt),"Forward Console Logs"),i=b_(e.forwardReports,Wf(Ga),"Forward Reports");if(!(!n||!r||!i))return e.forwardErrorsToLogs&&!r.includes(zt.error)&&r.push(zt.error),{forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:i,requestErrorResponseLengthLimit:EL,...n}}function b_(e,t,n){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(r=>t.includes(r)))){$e.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`);return}return e==="all"?t:L$(e)}function kL(e){const t=r6(e);return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}function xL(e,t,n){const r=z6(),i=m2();ap(i,Ye.globalContext,r);const s=p2();ap(s,Ye.accountContext,r);const o=g2();ap(o,Ye.userContext,r);let a,c;const l=t.observable.subscribe(u);function u(){if(!c||!a||!t.isGranted())return;l.unsubscribe();const f=n(a,c);r.drain(f)}return{init(f,d){if(!f){$e.error("Missing configuration");return}if(i6(f.enableExperimentalFeatures),Bi()&&(f=CL(f)),a=f,P6(kL(f)),c){Jd("DD_LOGS",f);return}const h=TL(f,d);h&&(c=h,th().subscribe(nt),t.tryToInit(h.trackingConsent),u())},get initConfiguration(){return a},globalContext:i,accountContext:s,userContext:o,getInternalContext:nt,handleLog(f,d,h,p=e(),m=Qt()){r.add(g=>g.handleLog(f,d,h,p,m))}}}function CL(e){return{...e,clientToken:"empty"}}function IL(e){const t=X7(),n=G6().observable;let r=xL(v_,t,(a,c)=>{const l=e(c,v_,t,n);return r=OL(a,l),l});const i=()=>r,s={},o=new kr((...a)=>r.handleLog(...a));return h6({logger:o,init:a=>{const c=new Error().stack;Ai(()=>r.init(a,c))},setTrackingConsent:Pe(a=>{t.update(a),tn({feature:"set-tracking-consent",tracking_consent:a})}),getGlobalContext:ft(i,Ye.globalContext,dt.getContext),setGlobalContext:ft(i,Ye.globalContext,dt.setContext),setGlobalContextProperty:ft(i,Ye.globalContext,dt.setContextProperty),removeGlobalContextProperty:ft(i,Ye.globalContext,dt.removeContextProperty),clearGlobalContext:ft(i,Ye.globalContext,dt.clearContext),createLogger:Pe((a,c={})=>(s[a]=new kr((...l)=>r.handleLog(...l),ut(a),c.handler,c.level,ut(c.context)),s[a])),getLogger:Pe(a=>s[a]),getInitConfiguration:Pe(()=>Xd(r.initConfiguration)),getInternalContext:Pe(a=>r.getInternalContext(a)),setUser:ft(i,Ye.userContext,dt.setContext),getUser:ft(i,Ye.userContext,dt.getContext),setUserProperty:ft(i,Ye.userContext,dt.setContextProperty),removeUserProperty:ft(i,Ye.userContext,dt.removeContextProperty),clearUser:ft(i,Ye.userContext,dt.clearContext),setAccount:ft(i,Ye.accountContext,dt.setContext),getAccount:ft(i,Ye.accountContext,dt.getContext),setAccountProperty:ft(i,Ye.accountContext,dt.setContextProperty),removeAccountProperty:ft(i,Ye.accountContext,dt.removeContextProperty),clearAccount:ft(i,Ye.accountContext,dt.clearContext)})}function OL(e,t){return{init:n=>{Jd("DD_LOGS",n)}
20,initConfiguration:e,...t}}const AL="logs";function RL(e,t){const n=M6(e,AL,r=>Q6(e,r),t);return{findTrackedSession:(r,i={returnInactive:!1})=>{const s=n.findSession(r,i);return s&&s.trackingType==="1"?{id:s.id,anonymousId:s.anonymousId}:void 0},expireObservable:n.expireObservable}}function PL(e){const n=Q6(e)==="1"?{}:void 0;return{findTrackedSession:()=>n,expireObservable:new Qe}}function Q6(e,t){return DL(t)?t:gs(e.sessionSampleRate)?"1":"0"}function DL(e){return e==="0"||e==="1"}function NL(e,t,n,r,i,s){const o=SL.concat(["custom"]),a={};o.forEach(c=>{a[c]=tf(c,i,s)}),t.subscribe(0,({rawLogsEvent:c,messageContext:l=void 0,savedCommonContext:u=void 0,domainContext:f,ddtags:d=[]})=>{var h,p;const m=jd(c.date),g=u||r(),_=n.triggerHook(0,{startTime:m});if(_===Hr)return;const b=i2(e),y=Tr({view:g.view},_,c,l,{ddtags:b.concat(d).join(",")});((h=e.beforeSend)===null||h===void 0?void 0:h.call(e,y,f))===!1||y.origin!==Zn.AGENT&&((p=a[y.status])!==null&&p!==void 0?p:a.custom).isLimitReached()||t.notify(1,y)})}const $L={[zt.log]:Ve.info,[zt.debug]:Ve.debug,[zt.info]:Ve.info,[zt.warn]:Ve.warn,[zt.error]:Ve.error};function LL(e,t){const n=j6(e.forwardConsoleLogs).subscribe(r=>{var i;const s={rawLogsEvent:{date:Qt(),message:r.message,origin:Zn.CONSOLE,error:r.error&&nh(r.error),status:$L[r.api]},messageContext:(i=r.error)===null||i===void 0?void 0:i.context,domainContext:{handlingStack:r.handlingStack}};t.notify(0,s)});return{stop:()=>{n.unsubscribe()}}}function ML(e,t){const n=m6(e,e.forwardReports).subscribe(r=>{let i=r.message,s;const o=r.originalError.type==="deprecation"?Ve.warn:Ve.error;o===Ve.error?s=nh(r):r.stack&&(i+=` Found in ${XN(r.stack)}`),t.notify(0,{rawLogsEvent:{date:Qt(),message:i,origin:Zn.REPORT,error:s,status:o}})});return{stop:()=>{n.unsubscribe()}}}function FL(e,t){if(!e.forwardErrorsToLogs)return{stop:nt};const n=(Po?new Qe:U6(e)).subscribe(o=>{o.state==="complete"&&s(To.XHR,o)}),r=th({responseBodyAction:o=>i(o)?2:0}).subscribe(o=>{o.state==="resolve"&&s(To.FETCH,o)});function i(o){return!t6(o.url)&&(VL(o)||b6(o.status))}function s(o,a){if(!i(a))return;const c="error"in a&&a.error?Jl(Yl(a.error)):a.responseBody||"Failed to load",l={isAborted:a.isAborted,handlingStack:a.handlingStack};t.notify(0,{rawLogsEvent:{message:`${UL(o)} error ${a.method} ${a.url}`,date:a.startClocks.timeStamp,error:{stack:Hd(c,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:a.method,status_code:a.status,url:a.url},status:Ve.error,origin:Zn.NETWORK},domainContext:l})}return{stop:()=>{n.unsubscribe(),r.unsubscribe()}}}function VL(e){return e.status===0&&e.responseType!=="opaque"}function UL(e){return To.XHR===e?"XHR":"Fetch"}function BL(e,t,n){if(!e.forwardErrorsToLogs)return{stop:nt};const r=n.subscribe(i=>{if(i.type===0){const s=i.error;t.notify(0,{rawLogsEvent:{message:s.message,date:s.startClocks.timeStamp,error:nh(s),origin:Zn.SOURCE,status:Ve.error},messageContext:s.context})}});return{stop:()=>{r.unsubscribe()}}}const jL=V6;function zL(e){function t(n,r,i,s,o){const a=Tr(r.getContext(),n.context);if(Kf(n.status,Cl.console,r)&&qL(n,a),Kf(n.status,Cl.http,r)){const c={rawLogsEvent:{date:o||Qt(),message:n.message,status:n.status,origin:Zn.LOGGER},messageContext:a,savedCommonContext:s,ddtags:r.getTags()};i&&(c.domainContext={handlingStack:i}),e.notify(0,c)}}return{handleLog:t}}const HL={[Ve.ok]:zt.debug,[Ve.debug]:zt.debug,[Ve.info]:zt.info,[Ve.notice]:zt.info,[Ve.warn]:zt.warn,[Ve.error]:zt.error,[Ve.critical]:zt.error,[Ve.alert]:zt.error,[Ve.emerg]:zt.error};function qL({status:e,message:t},n){to[HL[e]].call(Yr,t,n)}function WL(e,t,n,r,i){const s=[e.logsEndpointBuilder];e.replica&&s.push(e.replica.logsEndpointBuilder);const o=a2({encoder:u2(),request:o2(s,n),flushController:c2({pageMayExitObservable:r,sessionExpireObservable:i.expireObservable})});return t.subscribe(1,a=>{o.add(a)}),o}function GL(e){const t=oc();e.subscribe(1,n=>{t.send("log",n)})}function QL(e){return{get:t=>{const n=e.findTrackedSession(t);if(n)return{session_id:n.id}}}}function KL(e){return t=>{e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Zn.AGENT,status:Ve.error}}),cc("Error reported to customer",{"error.message":t.message})}}const YL=A6;function JL(e){const t=zr;e.register(0,({startTime:i})=>{const s=n(i);return s||vn}),e.register(1,({startTime:i})=>{var s,o;const a=n(i);return a?{application:{id:a.application_id},view:{id:(s=a.view)===null||s===void 0?void 0:s.id},action:{id:(o=a.user_action)===null||o===void 0?void 0:o.id}}:vn});function n(i){const o=eh()?t.DD_RUM_SYNTHETICS:t.DD_RUM,a=r(i,o);if(a)return a}
20function r(i,s){if(s&&s.getInternalContext)return s.getInternalContext(i)}}function XL(e,t,n){e.register(0,({startTime:r})=>{const i=n.findTrackedSession(r);return n.findTrackedSession(r,{returnInactive:!0})?{service:t.service,session_id:i?i.id:void 0,session:i?{id:i.id}:void 0}:Hr}),e.register(1,({startTime:r})=>{const i=n.findTrackedSession(r);return!i||!i.id?vn:{session:{id:i.id}}})}function ZL(e,t){function n(){return t.isGranted()?vn:Hr}e.register(0,n),e.register(1,n)}const cp="logs";function eM(e,t,n,r){const i=new jL,s=YL(),o=[];i.subscribe(1,g=>s2("logs",g));const a=KL(i),c=Po?new Qe:O6(e),l=R6("browser-logs-sdk",e,s,a,c,u2);o.push(l.stop);const u=e.sessionStoreStrategyType&&!Bi()&&!eh()?RL(e,n):PL(e);ZL(s,n),XL(s,e,u);const f=H6(s,e,cp),d=W6(s,e,u,cp),h=q6(s,e,cp,!1);JL(s),FL(e,i),BL(e,i,r),r.unbuffer(),LL(e,i),ML(e,i);const{handleLog:p}=zL(i);if(NL(e,i,s,t,a),Bi())GL(i);else{const{stop:g}=WL(e,i,a,c,u);o.push(()=>g())}const m=QL(u);return{handleLog:p,getInternalContext:m.get,accountContext:f,globalContext:h,userContext:d,stop:()=>{o.forEach(g=>g())}}}const Il=IL(eM);p6(cr(),"DD_LOGS",Il);const tM={cookieOptions:{maxAge:3600*24*30,secure:!0}};function rm(e,t){const n={...tM,...e},r=Is(n.key,n.cookieOptions),i=Object.fromEntries(Object.entries(t).filter(([s])=>n.pick.includes(s)));r.value=i}function K6(e){const t=Is(e.key)?.value||{};return Object.fromEntries(Object.entries(t).filter(([n])=>e.pick.includes(n)))}const Ds=un("profileMenu",{state:()=>({profileMenuOpen:!1}),actions:{setProfileMenuOpen(e){this.profileMenuOpen=e}}});function Xr(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(l){try{c(r.next(l))}catch(u){s(u)}}function a(l){try{c(r.throw(l))}catch(u){s(u)}}function c(l){var u;l.done?i(l.value):(u=l.value,u instanceof n?u:new n((function(f){f(u)}))).then(o,a)}c((r=r.apply(e,[])).next())}))}function Zr(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return(function(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!((i=i.length>0&&i[i.length-1])||u[0]!==6&&u[0]!==2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(f){u=[6,f],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}})([c,l])}}}var nn={exclude:[],include:[],logging:!0,timeout:1e3},Y6={},nM={timeout:"true"},Dr=function(e,t){typeof window<"u"&&(Y6[e]=t)},rM=function(){return Object.fromEntries(Object.entries(Y6).filter((function(e){var t,n=e[0];return!(!((t=nn?.exclude)===null||t===void 0)&&t.includes(n))})).filter((function(e){var t,n,r,i,s=e[0];return!((t=nn?.include)===null||t===void 0)&&t.some((function(o){return o.includes(".")}))?(n=nn?.include)===null||n===void 0?void 0:n.some((function(o){return o.startsWith(s)})):((r=nn?.include)===null||r===void 0?void 0:r.length)===0||((i=nn?.include)===null||i===void 0?void 0:i.includes(s))})).map((function(e){return[e[0],(0,e[1])()]})))};function Au(e){return e^=e>>>16,e=Math.imul(e,2246822507),e^=e>>>13,e=Math.imul(e,3266489909),(e^=e>>>16)>>>0}var wn=new Uint32Array([597399067,2869860233,951274213,2716044179]);function fr(e,t){return e<<t|e>>>32-t}function _2(e,t){var n;if(t===void 0&&(t=0),t=t?0|t:0,typeof e=="string"&&(n=e,e=new TextEncoder().encode(n).buffer),!(e instanceof ArrayBuffer))throw new TypeError("Expected key to be ArrayBuffer or string");var r=new Uint32Array([t,t,t,t]);(function(s,o){for(var a=s.byteLength/16|0,c=new Uint32Array(s,0,4*a),l=0;l<a;l++){var u=c.subarray(4*l,4*(l+1));u[0]=Math.imul(u[0],wn[0]),u[0]=fr(u[0],15),u[0]=Math.imul(u[0],wn[1]),o[0]=o[0]^u[0],o[0]=fr(o[0],19),o[0]=o[0]+o[1],o[0]=Math.imul(o[0],5)+1444728091,u[1]=Math.imul(u[1],wn[1]),u[1]=fr(u[1],16),u[1]=Math.imul(u[1],wn[2]),o[1]=o[1]^u[1],o[1]=fr(o[1],17),o[1]=o[1]+o[2],o[1]=Math.imul(o[1],5)+197830471,u[2]=Math.imul(u[2],wn[2]),u[2]=fr(u[2],17),u[2]=Math.imul(u[2],wn[3]),o[2]=o[2]^u[2],o[2]=fr(o[2],15),o[2]=o[2]+o[3],o[2]=Math.imul(o[2],5)+2530024501,u[3]=Math.imul(u[3],wn[3]),u[3]=fr(u[3],18),u[3]=Math.imul(u[3],wn[0]),o[3]=o[3]^u[3],o[3]=fr(o[3],13),o[3]=o[3]+o[0],o[3]=Math.imul(o[3],5)+850148119}})(e,r),(function(s,o){var a=s.byteLength/16|0,c=s.byteLength%16,l=new Uint32Array(4),u=new Uint8Array(s,16*a,c);switch(c){case 15:l[3]=l[3]^u[14]<<16;case 14:l[3]=l[3]^u[13]<<8;case 13:l[3]=l[3]^u[12],l[3]=Math.imul(l[3],wn[3]),l[3]=fr(l[3],18),l[3]=Math.imul(l[3],wn[0]),o[3]=o[3]^l[3];case 12:l[2]=l[2]^u[11]<<24;case 11:l[2]=l[2]^u[10]<<16;case 10:l[2]=l[2]^u[9]<<8;case 9:l[2]=l[2]^u[8],l[2]=Math.imul(l[2],wn[2]),l[2]=fr(l[2],17),l[2]=Math.imul(l[2],wn[3]),o[2]=o[2]^l[2];case 8:l[1]=l[1]^u[7]<<24;case 7:l[1]=l[1]^u[6]<<16;case 6:l[1]=l[1]^u[5]<<8;case 5:l[1]=l[1]^u[4],l[1]=Math.imul(l[1],wn[1]),l[1]=fr(l[1],16),l[1]=Math.imul(l[1],wn[2]),o[1]=o[1]^l[1];case 4:l[0]=l[0]^u[3]<<24;case 3:l[0]=l[0]^u[2]<<16;case 2:l[0]=l[0]^u[1]<<8;case 1:l[0]=l[0]^u[0],l[0]=Math.imul(l[0],wn[0]),l[0]=fr(l[0],15),l[0]=Math.imul(l[0],wn[1]),o[0]=o[0]^l[0]}})(e,r),(function(s,o){o[0]=o[0]^s.byteLength,o[1]=o[1]^s.byteLength,o[2]=o[2]^s.byteLength,o[3]=o[3]^s.byteLength,o[0]=o[0]+o[1]|0,o[0]=o[0]+o[2]|0,o[0]=o[0]+o[3]|0,o[1]=o[1]+o[0]|0,o[2]=o[2]+o[0]|0,o[3]=o[3]+o[0]|0,o[0]=Au(o[0]),o[1]=Au(o[1]),o[2]=Au(o[2]),o[3]=Au(o[3]),o[0]=o[0]+o[1]|0,o[0]=o[0]+o[2]|0,o[0]=o[0]+o[3]|0,o[1]=o[1]+o[0]|0,o[2]=o[2]+o[0]|0,o[3]=o[3]+o[0]|0})(e,r);var i=new Uint8Array(r.buffer);return Array.from(i).map((function(s){return s.toString(16).padStart(2,"0")})).join("")}function iM(e,t){return new Promise((function(n){setTimeout((function(){return n(t)}),e)}))}function sM(e,t,n){return Promise.all(e.map((function(r){return Promise.race([r,iM(t,n)])})))}function oM(){return Xr(this,void 0,void 0,(function(){var e,t,n,r,i;return Zr(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),e=rM(),t=Object.keys(e),[4,sM(Object.values(e),nn?.timeout||1e3,nM)];case 1:return n=s.sent(),r=n.filter((function(o){return o!==void 0})),i={},r.forEach((function(o,a){i[t[a]]=o})),[2,J6(i,nn.exclude||[],nn.include||[],"")];case 2:throw s.sent();case 3:return[2]}}
20))}))}function J6(e,t,n,r){r===void 0&&(r="");for(var i={},s=function(l,u){var f=r+l+".";if(typeof u!="object"||Array.isArray(u)){var d=t.some((function(m){return f.startsWith(m)})),h=n.some((function(m){return f.startsWith(m)}));d&&!h||(i[l]=u)}else{var p=J6(u,t,n,f);Object.keys(p).length>0&&(i[l]=p)}},o=0,a=Object.entries(e);o<a.length;o++){var c=a[o];s(c[0],c[1])}return i}function aM(e){return Xr(this,void 0,void 0,(function(){var t,n;return Zr(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,oM()];case 1:return t=r.sent(),n=_2(JSON.stringify(t)),Math.random()<1e-5&&nn.logging&&(function(i,s){Xr(this,void 0,void 0,(function(){var o,a;return Zr(this,(function(c){switch(c.label){case 0:if(o="https://logging.thumbmarkjs.com/v1/log",a={thumbmark:i,components:s,version:"0.20.6"},sessionStorage.getItem("_tmjs_l"))return[3,4];sessionStorage.setItem("_tmjs_l","1"),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})];case 2:case 3:return c.sent(),[3,4];case 4:return[2]}}
20))}))})(n,t),[2,n.toString()];case 2:throw r.sent();case 3:return[2]}}))}))}function Sa(){if(typeof navigator>"u")return{name:"unknown",version:"unknown"};for(var e=navigator.userAgent,t={edg:"Edge",opr:"Opera",samsung:"SamsungBrowser"},n=0,r=[/(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/,/(?<name>samsung).*Version\/(?<version>\d+(?:\.\d+)?)/i,/(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/];n<r.length;n++){var i=r[n],s=e.match(i);if(s&&s.groups)return{name:t[s.groups.name.toLowerCase()]||s.groups.name,version:s.groups.version}}return{name:"unknown",version:"unknown"}}function cM(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}var lM=Sa();function X6(e,t,n){for(var r=[],i=0;i<e[0].data.length;i++){for(var s=[],o=0;o<e.length;o++)s.push(e[o].data[i]);r.push(uM(s))}var a=new Uint8ClampedArray(r);return new ImageData(a,t,n)}function uM(e){if(e.length===0)return 0;for(var t={},n=0,r=e;n<r.length;n++)t[s=r[n]]=(t[s]||0)+1;var i=e[0];for(var s in t)t[s]>t[i]&&(i=parseInt(s,10));return i}["SamsungBrowser","Safari"].includes(lM.name)||Dr("audio",(function(){return Xr(this,void 0,void 0,(function(){return Zr(this,(function(e){return[2,new Promise((function(t,n){try{var r=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,5e3,44100),i=r.createBufferSource(),s=r.createOscillator();s.frequency.value=1e3;var o,a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.2,s.connect(a),a.connect(r.destination),s.start(),r.oncomplete=function(c){o=c.renderedBuffer.getChannelData(0),t({sampleHash:cM(o),oscillator:s.type,maxChannels:r.destination.maxChannelCount,channelCountMode:i.channelCountMode})},r.startRendering()}catch(c){console.error("Error creating audio fingerprint:",c),n(c)}}))]}))}))}));var Z6=Sa(),w_=Z6.name.toLowerCase(),fM=Z6.version.split(".")[0]||"0",dM=parseInt(fM,10);w_==="firefox"||w_==="safari"&&dM===17||Dr("canvas",(function(){return document.createElement("canvas").getContext("2d"),new Promise((function(e){var t=Array.from({length:3},(function(){return(function(){var n=document.createElement("canvas"),r=n.getContext("2d");if(!r)return new ImageData(1,1);n.width=280,n.height=20;var i=r.createLinearGradient(0,0,n.width,n.height);i.addColorStop(0,"red"),i.addColorStop(.16666666666666666,"orange"),i.addColorStop(.3333333333333333,"yellow"),i.addColorStop(.5,"green"),i.addColorStop(.6666666666666666,"blue"),i.addColorStop(.8333333333333334,"indigo"),i.addColorStop(1,"violet"),r.fillStyle=i,r.fillRect(0,0,n.width,n.height);var s="Random Text WMwmil10Oo";return r.font="23.123px Arial",r.fillStyle="black",r.fillText(s,-5,15),r.fillStyle="rgba(0, 0, 255, 0.5)",r.fillText(s,-3.3,17.7),r.beginPath(),r.moveTo(0,0),r.lineTo(2*n.width/7,n.height),r.strokeStyle="white",r.lineWidth=2,r.stroke(),r.getImageData(0,0,n.width,n.height)})()}));e({commonImageDataHash:_2(X6(t,280,20).data.toString()).toString()})}))}));var Ic,hM=["Arial","Arial Black","Arial Narrow","Arial Rounded MT","Arimo","Archivo","Barlow","Bebas Neue","Bitter","Bookman","Calibri","Cabin","Candara","Century","Century Gothic","Comic Sans MS","Constantia","Courier","Courier New","Crimson Text","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Dosis","Droid Sans","Exo","Fira Code","Fira Sans","Franklin Gothic Medium","Garamond","Geneva","Georgia","Gill Sans","Helvetica","Impact","Inconsolata","Indie Flower","Inter","Josefin Sans","Karla","Lato","Lexend","Lucida Bright","Lucida Console","Lucida Sans Unicode","Manrope","Merriweather","Merriweather Sans","Montserrat","Myriad","Noto Sans","Nunito","Nunito Sans","Open Sans","Optima","Orbitron","Oswald","Pacifico","Palatino","Perpetua","PT Sans","PT Serif","Poppins","Prompt","Public Sans","Quicksand","Rajdhani","Recursive","Roboto","Roboto Condensed","Rockwell","Rubik","Segoe Print","Segoe Script","Segoe UI","Sora","Source Sans Pro","Space Mono","Tahoma","Taviraj","Times","Times New Roman","Titillium Web","Trebuchet MS","Ubuntu","Varela Round","Verdana","Work Sans"],pM=["monospace","sans-serif","serif"];function S_(e,t){if(!e)throw new Error("Canvas context not supported");return e.font,e.font="72px ".concat(t),e.measureText("WwMmLli0Oo").width}function mM(){var e,t=document.createElement("canvas"),n=(e=t.getContext("webgl"))!==null&&e!==void 0?e:t.getContext("experimental-webgl");
20if(n&&"getParameter"in n)try{var r=(n.getParameter(n.VENDOR)||"").toString(),i=(n.getParameter(n.RENDERER)||"").toString(),s={vendor:r,renderer:i,version:(n.getParameter(n.VERSION)||"").toString(),shadingLanguageVersion:(n.getParameter(n.SHADING_LANGUAGE_VERSION)||"").toString()};if(!i.length||!r.length){var o=n.getExtension("WEBGL_debug_renderer_info");if(o){var a=(n.getParameter(o.UNMASKED_VENDOR_WEBGL)||"").toString(),c=(n.getParameter(o.UNMASKED_RENDERER_WEBGL)||"").toString();a&&(s.vendorUnmasked=a),c&&(s.rendererUnmasked=c)}}return s}catch{}return"undefined"}function gM(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function _M(e,t){var n={};return t.forEach((function(r){var i=(function(s){if(s.length===0)return null;var o={};s.forEach((function(l){var u=String(l);o[u]=(o[u]||0)+1}));var a=s[0],c=1;return Object.keys(o).forEach((function(l){o[l]>c&&(a=l,c=o[l])})),a})(e.map((function(s){return r in s?s[r]:void 0})).filter((function(s){return s!==void 0})));i&&(n[r]=i)})),n}function yM(){var e=[],t={"prefers-contrast":["high","more","low","less","forced","no-preference"],"any-hover":["hover","none"],"any-pointer":["none","coarse","fine"],pointer:["none","coarse","fine"],hover:["hover","none"],update:["fast","slow"],"inverted-colors":["inverted","none"],"prefers-reduced-motion":["reduce","no-preference"],"prefers-reduced-transparency":["reduce","no-preference"],scripting:["none","initial-only","enabled"],"forced-colors":["active","none"]};return Object.keys(t).forEach((function(n){t[n].forEach((function(r){matchMedia("(".concat(n,": ").concat(r,")")).matches&&e.push("".concat(n,": ").concat(r))}))})),e}Sa().name!="Firefox"&&Dr("fonts",(function(){var e=this;return new Promise((function(t,n){try{(function(r){var i;Xr(this,void 0,void 0,(function(){var s,o,a;return Zr(this,(function(c){switch(c.label){case 0:return document.body?[3,2]:[4,(l=50,new Promise((function(f){return setTimeout(f,l,u)})))];case 1:return c.sent(),[3,0];case 2:if((s=document.createElement("iframe")).setAttribute("frameBorder","0"),(o=s.style).setProperty("position","fixed"),o.setProperty("display","block","important"),o.setProperty("visibility","visible"),o.setProperty("border","0"),o.setProperty("opacity","0"),s.src="about:blank",document.body.appendChild(s),!(a=s.contentDocument||((i=s.contentWindow)===null||i===void 0?void 0:i.document)))throw new Error("Iframe document is not accessible");return r({iframe:a}),setTimeout((function(){document.body.removeChild(s)}),0),[2]}var l,u}))}))})((function(r){var i=r.iframe;return Xr(e,void 0,void 0,(function(){var s,o,a,c;return Zr(this,(function(l){return s=i.createElement("canvas"),o=s.getContext("2d"),a=pM.map((function(u){return S_(o,u)})),c={},hM.forEach((function(u){var f=S_(o,u);a.includes(f)||(c[u]=f)})),t(c),[2]}))}
20))}))}catch{n({error:"unsupported"})}}))})),Dr("hardware",(function(){return new Promise((function(e,t){var n=navigator.deviceMemory!==void 0?navigator.deviceMemory:0,r=window.performance&&window.performance.memory?window.performance.memory:0;e({videocard:mM(),architecture:gM(),deviceMemory:n.toString()||"undefined",jsHeapSizeLimit:r.jsHeapSizeLimit||0})}))})),Dr("locales",(function(){return new Promise((function(e){e({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}))})),Dr("permissions",(function(){return Xr(this,void 0,void 0,(function(){var e;return Zr(this,(function(t){return Ic=nn?.permissions_to_check||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],Sa().name.toLowerCase()==="safari"&&(Ic=Ic.filter((function(n){return!["camera","geolocation","microphone"].includes(n)}))),e=Array.from({length:nn?.retries||3},(function(){return(function(){return Xr(this,void 0,void 0,(function(){var n,r,i,s,o;return Zr(this,(function(a){switch(a.label){case 0:n={},r=0,i=Ic,a.label=1;case 1:if(!(r<i.length))return[3,6];s=i[r],a.label=2;case 2:return a.trys.push([2,4,,5]),[4,navigator.permissions.query({name:s})];case 3:return o=a.sent(),n[s]=o.state.toString(),[3,5];case 4:return a.sent(),[3,5];case 5:return r++,[3,1];case 6:return[2,n]}}))}))})()})),[2,Promise.all(e).then((function(n){return _M(n,Ic)}))]}))}))})),Dr("plugins",(function(){var e=[];if(navigator.plugins)for(var t=0;t<navigator.plugins.length;t++){var n=navigator.plugins[t];e.push([n.name,n.filename,n.description].join("|"))}return new Promise((function(r){r({plugins:e})}))})),Dr("screen",(function(){return new Promise((function(e){e({is_touchscreen:navigator.maxTouchPoints>0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:yM()})}))})),Dr("system",(function(){return new Promise((function(e){var t=Sa(),n={platform:window.navigator.platform,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,hardwareConcurrency:navigator.hardwareConcurrency,browser:{name:t.name,version:t.version}};t.name.toLowerCase()!=="safari"&&(n.applePayVersion=(function(){if(window.location.protocol==="https:"&&typeof window.ApplePaySession=="function")try{for(var r=window.ApplePaySession.supportsVersion,i=15;i>0;i--)if(r(i))return i}catch{return 0}return 0})(),n.cookieEnabled=window.navigator.cookieEnabled),e(n)}))}));var Pn,vM=Sa().name!=="SamsungBrowser"?1:3,xe=null;Dr("webgl",(function(){return Xr(this,void 0,void 0,(function(){var e;return Zr(this,(function(t){typeof document<"u"&&((Pn=document.createElement("canvas")).width=200,Pn.height=100,xe=Pn.getContext("webgl"));try{if(!xe)throw new Error("WebGL not supported");return e=Array.from({length:vM},(function(){return(function(){try{if(!xe)throw new Error("WebGL not supported");var n=` 21 attribute vec2 position; 22 void main() { 23 gl_Position = vec4(position, 0.0, 1.0); 24 } 25 `,r=` 26 precision mediump float; 27 void main() { 28 gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color 29 } 30 `,i=xe.createShader(xe.VERTEX_SHADER),s=xe.createShader(xe.FRAGMENT_SHADER);if(!i||!s)throw new Error("Failed to create shaders");if(xe.shaderSource(i,n),xe.shaderSource(s,r),xe.compileShader(i),!xe.getShaderParameter(i,xe.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+xe.getShaderInfoLog(i));if(xe.compileShader(s),!xe.getShaderParameter(s,xe.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+xe.getShaderInfoLog(s));var o=xe.createProgram();if(!o)throw new Error("Failed to create shader program");if(xe.attachShader(o,i),xe.attachShader(o,s),xe.linkProgram(o),!xe.getProgramParameter(o,xe.LINK_STATUS))throw new Error("Shader program linking failed: "+xe.getProgramInfoLog(o));xe.useProgram(o);for(var a=137,c=new Float32Array(4*a),l=2*Math.PI/a,u=0;u<a;u++){var f=u*l;c[4*u]=0,c[4*u+1]=0,c[4*u+2]=Math.cos(f)*(Pn.width/2),c[4*u+3]=Math.sin(f)*(Pn.height/2)}var d=xe.createBuffer();xe.bindBuffer(xe.ARRAY_BUFFER,d),xe.bufferData(xe.ARRAY_BUFFER,c,xe.STATIC_DRAW);var h=xe.getAttribLocation(o,"position");xe.enableVertexAttribArray(h),xe.vertexAttribPointer(h,2,xe.FLOAT,!1,0,0),xe.viewport(0,0,Pn.width,Pn.height),xe.clearColor(0,0,0,1),xe.clear(xe.COLOR_BUFFER_BIT),xe.drawArrays(xe.LINES,0,2*a);var p=new Uint8ClampedArray(Pn.width*Pn.height*4);return xe.readPixels(0,0,Pn.width,Pn.height,xe.RGBA,xe.UNSIGNED_BYTE,p),new ImageData(p,Pn.width,Pn.height)}catch{return new ImageData(1,1)}finally{xe&&(xe.bindBuffer(xe.ARRAY_BUFFER,null),xe.useProgram(null),xe.viewport(0,0,xe.drawingBufferWidth,xe.drawingBufferHeight),xe.clearColor(0,0,0,0))}})()})),[2,{commonImageHash:_2(X6(e,Pn.width,Pn.height).data.toString()).toString()}]}catch{return[2,{webgl:"unsupported"}]}return[2]}))}))}));var Gs=function(e,t,n,r){for(var i=(n-t)/r,s=0,o=0;o<r;o++)s+=e(t+(o+.5)*i);return s*i};Dr("math",(function(){return Xr(void 0,void 0,void 0,(function(){return Zr(this,(function(e){return[2,{acos:Math.acos(.5),asin:Gs(Math.asin,-1,1,97),atan:Gs(Math.atan,-1,1,97),cos:Gs(Math.cos,0,Math.PI,97),cosh:Math.cosh(9/7),e:Math.E,largeCos:Math.cos(1e20),largeSin:Math.sin(1e20),largeTan:Math.tan(1e20),log:Math.log(1e3),pi:Math.PI,sin:Gs(Math.sin,-Math.PI,Math.PI,97),sinh:Gs(Math.sinh,-9/7,7/9,97),sqrt:Math.sqrt(2),tan:Gs(Math.tan,0,2*Math.PI,97),tanh:Gs(Math.tanh,-9/7,7/9,97)}]}))}))}));const $t=un("snowplow",{state:()=>({schemas:{compliance:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_compliance_context/jsonschema/1-0-0",global:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_global_context/jsonschema/3-0-0",user:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_user_context/jsonschema/3-0-0",a11y:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_a11y_menu_context/jsonschema/1-0-0",source:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_source_context/jsonschema/1-0-0"},complianceContext:{cookie_consent:""},globalContext:{active_ab_tests:[],site_id:"",version_id:"",git_commit_id:"",page_category:"",nexus_page_id:"",elastic_search_type:"",elastic_search_query:"",top_content_ids:[],top_content_location:"",featured_content_ids:[],featured_content_location:"",recommendation_engine:"Default",recommended_content_ids:[],recommendation_location:"",synthetic_pageview_id:""},userContext:{snowplow_user_id:"",google_analytics_id:"",wordpress_user_id:"",facebook_pixel_user_id:"",qualtrics_user_id:"",liveramp_user_id:"",krux_user_id:"",krux_segments:"",pendo_user_id:"",pendo_segments:"",login_status:"",user_role:"",fingerprint:""},a11yMenuContext:{font_selection:"reg",contrast_selection:"reg"},sourceContext:{source_trigger_page:"",source_trigger_type:"",source_trigger_text:"",source_trigger_class_list:[],source_trigger_id:""}}),getters:{getComplianceContext:e=>({schema:e.schemas.compliance,data:e.complianceContext}),getGlobalContext:e=>({schema:e.schemas.global,data:e.globalContext}),getUserContext:e=>({schema:e.schemas.user,data:e.userContext}),getA11yContext:e=>({schema:e.schemas.a11y,data:e.a11yMenuContext}),getSourceContext:e=>({schema:e.schemas.source,data:e.sourceContext})},actions:{addExperimentBucket(e){this.globalContext.active_ab_tests.some(t=>t.symbol===e.symbol)||this.globalContext.active_ab_tests.push(e)},updateComplianceContext(e){const t={cookie_consent:e};this.complianceContext={...this.complianceContext,...t}},updateGlobalContext(e){if(!e)return;const t={site_id:e.site?.id,page_category:e.page?.type,nexus_page_id:e.page?.id,elastic_search_type:e.search?.type,elastic_search_query:e.search?.query,top_content_ids:e.topContent?.ids,top_content_location:e.topContent?.location,featured_content_ids:e.featuredContent?.ids,featured_content_location:e.featuredContent?.location,recommended_content_ids:e.recommendedContent?.ids,recommendation_location:e.recommendedContent?.location,synthetic_pageview_id:It().pageViewId};Object.keys(t).forEach(n=>{typeof t[n]>"u"&&delete t[n]}),this.globalContext={...this.globalContext,...t}},initGlobalContextVersions(e){const t={version_id:"nexus3",git_commit_id:e.public.version};this.globalContext={...this.globalContext,...t}},resetGlobalContext(){const e={page_category:"",nexus_page_id:"",elastic_search_type:"",elastic_search_query:"",top_content_ids:[],top_content_location:"",featured_content_ids:[],featured_content_location:"",recommended_content_ids:[],recommendation_location:"",synthetic_pageview_id:""};this.globalContext={...this.globalContext,...e}},updateA11yContext(e){const t={font_selection:e.fontSize.split("-")[1],contrast_selection:e.contrast.split("-")[1]};this.a11yMenuContext={...this.a11yMenuContext,...t}},initUserContext(){aM().then(e=>{this.userContext.fingerprint=e}),this.updateUserContext()},updateUserContext(){const{$snowplow:e}=_e(),{loggedIn:t,user:n}=De(),r=Is("_ga").value,i=r?r.replace(/GA\d+\.\d+\./g,""):void 0,s={snowplow_user_id:e.getSnowplowDuid(),google_analytics_id:i,wordpress_user_id:n.id||"",login_status:t.toString(),user_role:n.roleId||""};
30Object.keys(s).forEach(o=>{typeof s[o]>"u"&&delete s[o]}),this.userContext={...this.userContext,...s}},updateSourceContext(e){const t={source_trigger_page:this.globalContext.nexus_page_id,source_trigger_type:this.globalContext.page_category,source_trigger_text:e.trigger.text,source_trigger_class_list:e.trigger.classes,source_trigger_id:e.trigger.id};this.sourceContext={...this.sourceContext,...t}},resetSourceContext(){this.sourceContext={source_trigger_page:"",source_trigger_type:"",source_trigger_text:"",source_trigger_class_list:[],source_trigger_id:""}}}}),Ge=un("toastNotifications",{state:()=>({notifications:[]}),getters:{anyToasts(e){return e.notifications.length>0}},actions:{removeToastNotification(e){this.notifications.splice(this.notifications.map(t=>t.id).indexOf(e),1)},addToastNotification(e){this.notifications.push(e)},addGenericErrorNotification(){const e={id:pD(),toastType:"error",description:"Something went wrong. Please try again."};this.addToastNotification(e)}}});function y2(){function e(n){De().setUserHasSubscribed(!0),window.vgo?.("setEmail",n),window.vgo?.("process")}function t(n){window.vgo?.("setEmail",n),window.vgo?.("process")}return{trackUserSubscribe:e,trackUser:t}}const lp={key:"nex_user",pick:["hasLeadGenPopUpDisabledCookie","userHasSubscribed"]},E_={id:null,slug:"",username:"",fname:"",lname:"",email:"",avatar:{thumb:"",full:""},roleId:"",legacyRole:"",insertedAt:"",bookmarks:[],token:"",sessionId:"",bio:"",ethnicity:"",gender:"",birthday:"",zipcode:"",loggedInFromSocial:!1,lastLoginAt:null,hasDisorder:!1,hasSocialSite:!1,isVerified:!1},De=un("user",{state:()=>({confirmationDialogIsOpen:!1,user:{...E_},loggedIn:!1,loaded:!1,loading:!1,userHasSubscribed:!1,userHasBeenLoggedIn:!1,userWasReferredByEmail:!1,authDialogWasShown:!1,hasLeadGenPopUpDisabledCookie:!1,...K6(lp)}),getters:{firstTimeLoggingIn:e=>!e.user.lastLoginAt,isCurrentUser:e=>t=>e.user.id===t,userIsLoggedIn:e=>e.loggedIn&&!!e.user.username,userIsUnverified:e=>e.loggedIn&&!e.user.isVerified,isModeratorOrAdmin:e=>["1","2","5","6"].includes(e.user.roleId),isAdmin:e=>["1","5","6"].includes(e.user.roleId),isModerator:e=>e.user.roleId==="2",visitorType:e=>e.loggedIn?{1:"Administrator",2:"Moderator",3:"Member",4:"Spammer",5:"Super Admin",6:"Community Tech"}[e.user.roleId]:"visitor-logged-out"},actions:{async logOut(){const e=Ds();e.profileMenuOpen=!1;const{$logOut:t,$datadogRum:n,$apollo:r}=_e();await t(),this.user={...Object.assign(this.user,E_)},this.loggedIn=!1,n.clearUser(),Il.clearUser(),r.defaultClient.resetStore(),$t().updateUserContext();let i=0;Vi().meta.requiresAuth&&(cn().push("/"),i=1e3),setTimeout(()=>{Ge().addToastNotification({toastType:"success",description:"You have been logged out, see you next time."})},i)},async logIn(e){const{$logIn:t}=_e(),n=await t(e);return n?.user&&(this.setUser(n.user),this.setLoggedIn()),n},async register(e){const{$register:t}=_e(),n=await t(e);return n?.user&&(this.setUser(n.user),this.setLoggedIn()),n},setUser(e){this.user={...Object.assign(this.user,e)},y2().trackUser(this.user),_e().$datadogRum.setUser({id:e.id,admin:this.isAdmin}),Il.setUser({id:e.id,admin:this.isAdmin}),$t().updateUserContext(),It().setSubscriptionWallStatus(!1)},setLoggedIn(){this.loggedIn=!0,this.userHasBeenLoggedIn=!0;const{query:e}=Vi();e.redirect&&cn().push(decodeURIComponent(e.redirect)),$t().updateUserContext()},setLoggedInFromSocial(){this.setLoggedIn(),this.loggedInFromSocial=!0},addBookmarkToCurrentUser(e){this.user.bookmarks.push(e)},removeBookmarkFromCurrentUser(e){let t=-1;for(let n=0;n<this.user.bookmarks.length;++n)if(this.user.bookmarks[n].assocId===e.assocId&&this.user.bookmarks[n].assoctype===e.assoctype){t=n;break}this.user.bookmarks.splice(t,1)},forceCheckForCurrentUser(){this.loaded=!1,this.checkForCurrentUser()},async checkForCurrentUser(){if(this.loaded||this.loading)return;this.loading=!0;const{$checkSession:e}=_e(),t=await e();t?.user&&(this.setUser(t.user),this.setLoggedIn()),this.loading=!1,this.loaded=!0},openConfirmationDialog(){this.confirmationDialogIsOpen=!0},closeConfirmationDialog(){this.confirmationDialogIsOpen=!1},verifyUser(){this.isVerified=!0},setUserHasSubscribed(e){this.userHasSubscribed=e,It().setSubscriptionWallStatus(!1),rm(lp,this.$state)},setUserWasReferredByEmail(){this.userWasReferredByEmail=!0},setHasLeadGenPopUpDisabledCookie(){this.hasLeadGenPopUpDisabledCookie=!0,rm(lp,this.$state)}}}),Ae=un("auth",{state:()=>({authOpen:!1,authForm:"logIn",authDialogRedirect:"",authDialogText:"",authDialogHeading:"",authInitiator:null,progressIndicatorSteps:0,isUGC:!1,email:"",password:"",emailAlreadySe
30nt:!1,fastTrackToContent:!1,authDialogWasShown:!1}),actions:{clearAuthDialogRedirect(){this.authDialogRedirect=""},setFastTrackToContent(e){this.fastTrackToContent=e},setAuthInitiator(e){this.authInitiator=e},setAuthOpen(e){this.authOpen=e},setAuthForm(e){this.authForm=e},setAuthDialogRedirect(e){this.authDialogRedirect=e},setOrClearAuthDialogText(e){this.authDialogText=e||""},setEmailSent(e){this.emailAlreadySent=e},setOrClearAuthDialogHeading(e){this.authDialogHeading=e||""},setAuthDialogWasShown(){this.authDialogWasShown=!0},openRegisterDialog(e={}){let t=0;const n=tt();n.siteHasFeature("rare_disease")&&(t=3),n.siteHasFeature("social_network")&&(t=5);const r={...e,authStep:"register"};this.openAuthDialog(r),this.isUGC=!!e.isUGC,this.progressIndicatorSteps=e.progressIndicatorSteps||t},openRequestPasswordReset(e={}){const t={...e,authStep:"requestPasswordReset"};this.openAuthDialog(t)},openAuthDialog(e={}){tt().siteHasFeature("Accounts")&&(this.setAuthForm(e.authStep||"logIn"),this.setAuthOpen(!0),typeof e.initiator<"u"&&this.setAuthInitiator(e.initiator),this.setOrClearAuthDialogText(e.dialogText),this.setOrClearAuthDialogHeading(e.dialogHeading),this.setEmailSent(e.emailAlreadySent||!1))},openLoginWithEmailDialog(e={}){tt().siteHasFeature("Accounts")&&(this.setAuthForm("loginWithEmail"),this.setOrClearAuthDialogText(e.dialogText))},openVerificationPrompt(e={}){const t={...e,authStep:"verificationOptions"};this.isUGC=!0,this.openAuthDialog(t)},openLoginDialog(e={}){const t={...e,authStep:"logIn"};this.openAuthDialog(t)},closeAuthDialog(){this.isUGC=!1,this.setAuthOpen(!1),this.clearLogInForm(),this.setFastTrackToContent(!1)},clearLogInForm(){this.email="",this.password=""},setProgressIndicatorSteps(e){this.progressIndicatorSteps=e||3}}}),bM=(e,t)=>{e.path!==t.path&&(window.referrer=`${window.location.protocol}//${window.location.host}${t.fullPath}`)},wM=async(e,t)=>{let n,r;const i=It(),s=tt();if(i.resetPageViewId(),i.is404&&i.setPrev404Urls(t.path),i.prev404Urls?.includes(e.path)?i.setIs404(!0):i.setIs404(!1),Rt().setNavOpen(!1),Rt().setexpandedDropdownItem(null),_e().$gam.updateCorrelator(),Xo().resetAdsOnPage(),e.meta.feature&&!s.siteHasFeature(e.meta.feature))return ba({path:"/"});if(bM(e,t),!(e.meta.requiresVerify||e.meta.requiresAuth||e.meta.notLoggedIn||e.path.startsWith("/members/")))return;const o=De(),a=Ae();if(o.loaded||(o.checkForCurrentUser(),[n,r]=ws(()=>new Promise(l=>{const u=it(()=>o.loaded,f=>{f&&(u(),l())})})),await n,r()),e.meta.notLoggedIn&&o.loggedIn)return ba({path:"/profile",query:{...e.query,is302:!0}},{});const c=t.fullPath!==e.fullPath;if(!o.loggedIn&&(e.meta.requiresAuth||e.meta.requiresVerify)){if(c){a.setAuthDialogRedirect(e.fullPath);const l=e.meta.authDialogSettings||{dialogText:"Please create an account or log in to continue."},u=e.meta.UGC||{isUGC:!1},f={...l,...u};return a.openRegisterDialog(f),C3()}return ba({path:"/member-login",replace:!0,query:{...e.query,redirect:e.fullPath}})}if(e.meta.requiresVerify&&!o.user.isVerified&&(a.openVerificationPrompt({dialogHeading:"Verify your account"}),c))return C3();if(["/privacy-notice","/terms-of-use"].includes(e.path)){window.location=`https://health-union.com/${e.path}`;return}};var im=function(e,t){return im=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},im(e,t)};function Ir(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");im(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var N=function(){return N=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},N.apply(this,arguments)};function ii(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function fs(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}
30return new(n||(n=Promise))(function(s,o){function a(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?s(u.value):i(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function ds(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(s=l[0]&2?i.return:l[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,l[1])).done)return s;switch(i=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){n.label=l[1];break}if(l[0]===6&&n.label<s[1]){n.label=s[1],s=l;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(l);break}s[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(u){l=[6,u],i=0}finally{r=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function _n(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}function nf(e,t){if(!!!e)throw new Error(t)}function SM(e){return typeof e=="object"&&e!==null}function EM(e,t){if(!!!e)throw new Error("Unexpected invariant triggered.")}const TM=/\r\n|[\n\r]/g;function sm(e,t){let n=0,r=1;for(const i of e.body.matchAll(TM)){if(typeof i.index=="number"||EM(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function kM(e){return eb(e.source,sm(e.source,e.start))}function eb(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=t.line===1?n:0,c=t.column+a,l=`${e.name}:${o}:${c} 31`,u=r.split(/\r\n|[\n\r]/g),f=u[i];if(f.length>120){const d=Math.floor(c/80),h=c%80,p=[];for(let m=0;m<f.length;m+=80)p.push(f.slice(m,m+80));return l+T_([[`${o} |`,p[0]],...p.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(h)],["|",p[d+1]]])}return l+T_([[`${o-1} |`,u[i-1]],[`${o} |`,f],["|","^".padStart(c)],[`${o+1} |`,u[i+1]]])}function T_(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` 32`)}function xM(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class v2 extends Error{constructor(t,...n){var r,i,s;const{nodes:o,source:a,positions:c,path:l,originalError:u,extensions:f}=xM(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=u??void 0,this.nodes=k_(Array.isArray(o)?o:o?[o]:void 0);const d=k_((r=this.nodes)===null||r===void 0?void 0:r.map(p=>p.loc).filter(p=>p!=null));this.source=a??(d==null||(i=d[0])===null||i===void 0?void 0:i.source),this.positions=c??d?.map(p=>p.start),this.locations=c&&a?c.map(p=>sm(a,p)):d?.map(p=>sm(p.source,p.start));const h=SM(u?.extensions)?u?.extensions:void 0;this.extensions=(s=f??h)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u!=null&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,v2):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` 33 34`+kM(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` 35 36`+eb(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function k_(e){return e===void 0||e.length===0?void 0:e}function rn(e,t,n){return new v2(`Syntax Error: ${n}`,{source:e,positions:[t]})}class CM{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class tb{constructor(t,n,r,i,s,o){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const nb={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
vendor: 4,806 bytes, line 36
36Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},IM=new Set(Object.keys(nb));function x_(e){const t=e?.kind;return typeof t=="string"&&IM.has(t)}var aa;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(aa||(aa={}));var om;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(om||(om={}));var oe;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(oe||(oe={}));function am(e){return e===9||e===32}function Ol(e){return e>=48&&e<=57}function rb(e){return e>=97&&e<=122||e>=65&&e<=90}function ib(e){return rb(e)||e===95}function OM(e){return rb(e)||Ol(e)||e===95}function AM(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;o<e.length;++o){var s;const a=e[o],c=RM(a);c!==a.length&&(r=(s=r)!==null&&s!==void 0?s:o,i=o,o!==0&&c<n&&(n=c))}return e.map((o,a)=>a===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function RM(e){let t=0;for(;t<e.length&&am(e.charCodeAt(t));)++t;return t}function PM(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,s=r.length>1&&r.slice(1).every(h=>
vendor: 9,090 bytes, lines 36-51
36h.length===0||am(h.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,c=e.endsWith("\\"),l=a||c,u=!i||e.length>70||l||s||o;let f="";const d=i&&am(e.charCodeAt(0));return(u&&!d||s)&&(f+=` 37`),f+=n,(u||l)&&(f+=` 38`),'"""'+f+'"""'}var z;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(z||(z={}));class DM{constructor(t){const n=new tb(z.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==z.EOF)do if(t.next)t=t.next;else{const n=$M(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===z.COMMENT);return t}}function NM(e){return e===z.BANG||e===z.DOLLAR||e===z.AMP||e===z.PAREN_L||e===z.PAREN_R||e===z.DOT||e===z.SPREAD||e===z.COLON||e===z.EQUALS||e===z.AT||e===z.BRACKET_L||e===z.BRACKET_R||e===z.BRACE_L||e===z.PIPE||e===z.BRACE_R}function lc(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function rh(e,t){return sb(e.charCodeAt(t))&&ob(e.charCodeAt(t+1))}function sb(e){return e>=55296&&e<=56319}function ob(e){return e>=56320&&e<=57343}function ko(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return z.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Jt(e,t,n,r,i){const s=e.line,o=1+n-e.lineStart;return new tb(t,n,r,s,o,i)}function $M(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const s=n.charCodeAt(i);switch(s){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return LM(e,i);case 33:return Jt(e,z.BANG,i,i+1);case 36:return Jt(e,z.DOLLAR,i,i+1);case 38:return Jt(e,z.AMP,i,i+1);case 40:return Jt(e,z.PAREN_L,i,i+1);case 41:return Jt(e,z.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return Jt(e,z.SPREAD,i,i+3);break;case 58:return Jt(e,z.COLON,i,i+1);case 61:return Jt(e,z.EQUALS,i,i+1);case 64:return Jt(e,z.AT,i,i+1);case 91:return Jt(e,z.BRACKET_L,i,i+1);case 93:return Jt(e,z.BRACKET_R,i,i+1);case 123:return Jt(e,z.BRACE_L,i,i+1);case 124:return Jt(e,z.PIPE,i,i+1);case 125:return Jt(e,z.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?jM(e,i):FM(e,i)}if(Ol(s)||s===45)return MM(e,i,s);if(ib(s))return zM(e,i);throw rn(e.source,i,s===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:lc(s)||rh(n,i)?`Unexpected character: ${ko(e,i)}.`:`Invalid character: ${ko(e,i)}.`)}return Jt(e,z.EOF,r,r)}function LM(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(s===10||s===13)break;if(lc(s))++i;else if(rh(n,i))i+=2;else break}return Jt(e,z.COMMENT,t,i,n.slice(t+1,i))}function MM(e,t,n){const r=e.source.body;let i=t,s=n,o=!1;if(s===45&&(s=r.charCodeAt(++i)),s===48){if(s=r.charCodeAt(++i),Ol(s))throw rn(e.source,i,`Invalid number, unexpected digit after 0: ${ko(e,i)}.`)}else i=up(e,i,s),s=r.charCodeAt(i);if(s===46&&(o=!0,s=r.charCodeAt(++i),i=up(e,i,s),s=r.charCodeAt(i)),(s===69||s===101)&&(o=!0,s=r.charCodeAt(++i),(s===43||s===45)&&(s=r.charCodeAt(++i)),i=up(e,i,s),s=r.charCodeAt(i)),s===46||ib(s))throw rn(e.source,i,`Invalid number, expected digit but got: ${ko(e,i)}.`);return Jt(e,o?z.FLOAT:z.INT,t,i,r.slice(t,i))}function up(e,t,n){if(!Ol(n))throw rn(e.source,t,`Invalid number, expected digit but got: ${ko(e,t)}.`);const r=e.source.body;let i=t+1;for(;Ol(r.charCodeAt(i));)++i;return i}function FM(e,t){const n=e.source.body,r=n.length;let i=t+1,s=i,o="";for(;i<r;){const a=n.charCodeAt(i);if(a===34)return o+=n.slice(s,i),Jt(e,z.STRING,t,i+1,o);if(a===92){o+=n.slice(s,i);const c=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?VM(e,i):UM(e,i):BM(e,i);o+=c.value,i+=c.size,s=i;continue}if(a===10||a===13)break;if(lc(a))++i;else if(rh(n,i))i+=2;else throw rn(e.source,i,`Invalid character within String: ${ko(e,i)}.`)}throw rn(e.source,i,"Unterminated string.")}function VM(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const s=n.charCodeAt(t+i++);if(s===125){if(i<5||!lc(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|Bc(s),r<0)break}throw rn(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function UM(e,t){const n=e.source.body,r=C_(n,t+2);if(lc(r))return{value:String.fromCodePoint(r),size:6};if(sb(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const i=C_(n,t+8);if(ob(i))return{value:String.fromCodePoint(r,i),size:12}}throw rn(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function C_(e,t){return Bc(e.charCodeAt(t))<<12|Bc(e.charCodeAt(t+1))<<8|Bc(e.charCodeAt(t+2))<<4|Bc(e.charCodeAt(t+3))}function Bc(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function BM(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 39`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw rn(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function jM(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,s=t+3,o=s,a="";const c=[];for(;s<r;){const l=n.charCodeAt(s);if(l===34&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34){a+=n.slice(o,s),c.push(a);const u=Jt(e,z.BLOCK_STRING,t,s+3,AM(c).join(` 40`));return e.line+=c.length-1,e.lineStart=i,u}if(l===92&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34&&n.charCodeAt(s+3)===34){a+=n.slice(o,s),o=s+1,s+=4;continue}if(l===10||l===13){a+=n.slice(o,s),c.push(a),l===13&&n.charCodeAt(s+1)===10?s+=2:++s,a="",o=s,i=s;continue}if(lc(l))++s;else if(rh(n,s))s+=2;else throw rn(e.source,s,`Invalid character within String: ${ko(e,s)}.`)}throw rn(e.source,s,"Unterminated string.")}function zM(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(OM(s))++i;else break}return Jt(e,z.NAME,t,i,n.slice(t,i))}const HM=10,ab=2;function b2(e){return ih(e,[])}function ih(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return qM(e,t);default:return String(e)}}function qM(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(WM(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:ih(r,n)}else if(Array.isArray(e))return QM(e,n);return GM(e,n)}function WM(e){return typeof e.toJSON=="function"}function GM(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>ab?"["+KM(e)+"]":"{ "+n.map(([i,s])=>i+": "+ih(s,t)).join(", ")+" }"}function QM(e,t){if(e.length===0)return"[]";if(t.length>ab)return"[Array]";const n=Math.min(HM,e.length),r=e.length-n,i=[];for(let s=0;s<n;++s)i.push(ih(e[s],t));return r===1?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function KM(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const YM=globalThis.process&&!0,JM=YM?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){const o=b2(t);throw new Error(`Cannot use ${i} "${o}" from another module or realm. 41 42Ensure that there is only one instance of "graphql" in the node_modules 43directory. If different versions of "graphql" are the dependencies of other 44relied on modules, use "resolutions" to ensure only one version is installed. 45 46https://yarnpkg.com/en/docs/selective-version-resolutions 47 48Duplicate "graphql" modules cannot be used at the same time since different 49versions may have different capabilities and behavior. The data from one 50version used in the function from another could produce confusing and 51spurious results.`)}}return!1};class cb{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||nf(!1,`Body must be a string. Received: ${b2(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||nf(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||nf(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function XM(e){return JM(e,cb)}function ZM(e,t){const n=new eF(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}class eF{constructor(t,n={}){const{lexer:r,...i}=n;
vendor: 25,668 bytes, lines 51-86
51if(r)this._lexer=r;else{const s=XM(t)?t:new cb(t);this._lexer=new DM(s)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(z.NAME);return this.node(t,{kind:oe.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:oe.DOCUMENT,definitions:this.many(z.SOF,this.parseDefinition,z.EOF)})}parseDefinition(){if(this.peek(z.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(t&&n.kind===z.BRACE_L)throw rn(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(n.kind===z.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(t)throw rn(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if(n.value==="extend")return this.parseTypeSystemExtension()}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(z.BRACE_L))return this.node(t,{kind:oe.OPERATION_DEFINITION,operation:aa.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseDescription(),r=this.parseOperationType();let i;return this.peek(z.NAME)&&(i=this.parseName()),this.node(t,{kind:oe.OPERATION_DEFINITION,operation:r,description:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(z.NAME);switch(t.value){case"query":return aa.QUERY;case"mutation":return aa.MUTATION;case"subscription":return aa.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(z.PAREN_L,this.parseVariableDefinition,z.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:oe.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(z.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(z.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(z.DOLLAR),this.node(t,{kind:oe.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:oe.SELECTION_SET,selections:this.many(z.BRACE_L,this.parseSelection,z.BRACE_R)})}parseSelection(){return this.peek(z.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(z.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:oe.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(z.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(z.PAREN_L,n,z.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(z.COLON),this.node(n,{kind:oe.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(z.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(z.NAME)?this.node(t,{kind:oe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:oe.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token,n=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:oe.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:oe.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case z.BRACKET_L:return this.parseList(t);case z.BRACE_L:return this.parseObject(t);case z.INT:return this.advanceLexer(),this.node(n,{kind:oe.INT,value:n.value});case z.FLOAT:return this.advanceLexer(),this.node(n,{kind:oe.FLOAT,value:n.value});case z.STRING:case z.BLOCK_STRING:return this.parseStringLiteral();case z.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:oe.BOOLEAN,value:!0});case"false":return this.node(n,{kind:oe.BOOLEAN,value:!1});case"null":return this.node(n,{kind:oe.NULL});default:return this.node(n,{kind:oe.ENUM,value:n.value})}case z.DOLLAR:if(t)if(this.expectToken(z.DOLLAR),this._lexer.token.kind===z.NAME){const r=this._lexer.token.value;throw rn(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:oe.STRING,value:t.value,block:t.kind===z.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:oe.LIST,values:this.any(z.BRACKET_L,n,z.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:oe.OBJECT,fields:this.any(z.BRACE_L,n,z.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(z.COLON),this.node(n,{kind:oe.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(z.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(z.AT),this.node(n,{kind:oe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(z.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(z.BRACKET_R),n=this.node(t,{kind:oe.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(z.BANG)?this.node(t,{kind:oe.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:oe.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(z.STRING)||this.peek(z.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(z.BRACE_L,this.parseOperationTypeDefinition,z.BRACE_R);return this.node(t,{kind:oe.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(z.COLON);const r=this.parseNamedType();return this.node(t,{kind:oe.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:oe.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:oe.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(z.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(z.BRACE_L,this.parseFieldDefinition,z.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(z.COLON);const s=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(t,{kind:oe.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(z.PAREN_L,this.parseInputValueDef,z.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(z.COLON);const i=this.parseTypeReference();let s;this.expectOptionalToken(z.EQUALS)&&(s=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(t,{kind:oe.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:o})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:oe.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:oe.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(z.EQUALS)?this.delimitedMany(z.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:oe.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(z.BRACE_L,this.parseEnumValueDefinition,z.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:oe.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw rn(this._lexer.source,this._lexer.token.start,`${Ru(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:oe.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(z.BRACE_L,this.parseInputValueDef,z.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===z.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(z.BRACE_L,this.parseOperationTypeDefinition,z.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:oe.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:oe.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:oe.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:oe.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:oe.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:oe.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:oe.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(z.AT);const r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(t,{kind:oe.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(z.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(om,n.value))return n;throw this.unexpected(t)}parseSchemaCoordinate(){const t=this._lexer.token,n=this.expectOptionalToken(z.AT),r=this.parseName();let i;!n&&this.expectOptionalToken(z.DOT)&&(i=this.parseName());let s;return(n||i)&&this.expectOptionalToken(z.PAREN_L)&&(s=this.parseName(),this.expectToken(z.COLON),this.expectToken(z.PAREN_R)),n?s?this.node(t,{kind:oe.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:s}):this.node(t,{kind:oe.DIRECTIVE_COORDINATE,name:r}):i?s?this.node(t,{kind:oe.ARGUMENT_COORDINATE,name:r,fieldName:i,argumentName:s}):this.node(t,{kind:oe.MEMBER_COORDINATE,name:r,memberName:i}):this.node(t,{kind:oe.TYPE_COORDINATE,name:r})}node(t,n){return this._options.noLocation!==!0&&(n.loc=new CM(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw rn(this._lexer.source,n.start,`Expected ${lb(t)}, found ${Ru(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===z.NAME&&n.value===t)this.advanceLexer();else throw rn(this._lexer.source,n.start,`Expected "${t}", found ${Ru(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===z.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return rn(this._lexer.source,n.start,`Unexpected ${Ru(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==z.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw rn(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Ru(e){const t=e.value;return lb(e.kind)+(t!=null?` "${t}"`:"")}function lb(e){return NM(e)?`"${e}"`:e}function tF(e){return`"${e.replace(nF,rF)}"`}const nF=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function rF(e){return iF[e.charCodeAt(0)]}const iF=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],sh=Object.freeze({});function qr(e,t,n=nb){const r=new Map;for(const _ of Object.values(oe))r.set(_,sF(t,_));let i,s=Array.isArray(e),o=[e],a=-1,c=[],l=e,u,f;const d=[],h=[];do{a++;const _=a===o.length,b=_&&c.length!==0;if(_){if(u=h.length===0?void 0:d[d.length-1],l=f,f=h.pop(),b)if(s){l=l.slice();let v=0;for(const[w,S]of c){const O=w-v;S===null?(l.splice(O,1),v++):l[O]=S}}else{l={...l};for(const[v,w]of c)l[v]=w}a=i.index,o=i.keys,c=i.edits,s=i.inArray,i=i.prev}else if(f){if(u=s?a:o[a],l=f[u],l==null)continue;d.push(u)}let y;if(!Array.isArray(l)){var p,m;x_(l)||nf(!1,`Invalid AST Node: ${b2(l)}.`);const v=_?(p=r.get(l.kind))===null||p===void 0?void 0:p.leave:(m=r.get(l.kind))===null||m===void 0?void 0:m.enter;if(y=v?.call(t,l,u,f,d,h),y===sh)break;if(y===!1){if(!_){d.pop();continue}}else if(y!==void 0&&(c.push([u,y]),!_))if(x_(y))l=y;else{d.pop();continue}}if(y===void 0&&b&&c.push([u,l]),_)d.pop();else{var g;i={inArray:s,index:a,keys:o,edits:c,prev:i},s=Array.isArray(l),o=s?l:(g=n[l.kind])!==null&&g!==void 0?g:[],a=-1,c=[],f&&h.push(f),f=l}}while(i!==void 0);return c.length!==0?c[c.length-1][1]:e}function sF(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function ub(e){return qr(e,aF)}const oF=80,aF={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ge(e.definitions,` 52 53`)},OperationDefinition:{leave(e){const t=fp(e.variableDefinitions)?Le(`( 54`,ge(e.variableDefinitions,` 55`),` 56)`):Le("(",ge(e.variableDefinitions,", "),")"),n=Le("",e.description,` 57`)+ge([e.operation,ge([e.name,t]),ge(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>Le("",i,` 58`)+e+": "+t+Le(" = ",n)+Le(" ",ge(r," "))},SelectionSet:{leave:({selections:e})=>Rr(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const s=Le("",e,": ")+t;let o=s+Le("(",ge(n,", "),")");return o.length>oF&&(o=s+Le(`( 59`,rf(ge(n,` 60`)),` 61)`)),ge([o,ge(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Le(" ",ge(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>ge(["...",Le("on ",e),ge(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:s})=>Le("",s,` 62`)+`fragment ${e}${Le("(",ge(n,", "),")")} on ${t} ${Le("",ge(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?PM(e):tF(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ge(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ge(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Le("(",ge(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Le("",e,` 63`)+ge(["schema",ge(t," "),Rr(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Le("",e,` 64`)+ge(["scalar",t,ge(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Le("",e,` 65`)+ge(["type",t,Le("implements ",ge(n," & ")),ge(r," "),Rr(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>Le("",e,` 66`)+t+(fp(n)?Le(`( 67`,rf(ge(n,` 68`)),` 69)`):Le("(",ge(n,", "),")"))+": "+r+Le(" ",ge(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>Le("",e,` 70`)+ge([t+": "+n,Le("= ",r),ge(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Le("",e,` 71`)+ge(["interface",t,Le("implements ",ge(n," & ")),ge(r," "),Rr(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>Le("",e,` 72`)+ge(["union",t,ge(n," "),Le("= ",ge(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>Le("",e,` 73`)+ge(["enum",t,ge(n," "),Rr(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Le("",e,` 74`)+ge([t,ge(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>Le("",e,` 75`)+ge(["input",t,ge(n," "),Rr(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>Le("",e,` 76`)+"directive @"+t+(fp(n)?Le(`( 77`,rf(ge(n,` 78`)),` 79)`):Le("(",ge(n,", "),")"))+(r?" repeatable":"")+" on "+ge(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ge(["extend schema",ge(e," "),Rr(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ge(["extend scalar",e,ge(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ge(["extend type",e,Le("implements ",ge(t," & ")),ge(n," "),Rr(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ge(["extend interface",e,Le("implements ",ge(t," & ")),ge(n," "),Rr(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>ge(["extend union",e,ge(t," "),Le("= ",ge(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>ge(["extend enum",e,ge(t," "),Rr(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>ge(["extend input",e,ge(t," "),Rr(n)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>ge([e,Le(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>ge([e,Le(".",t),Le("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>ge(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>ge(["@",e,Le("(",t,":)")])}};function ge(e,t=""){var n;return(n=e?.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function Rr(e){return Le(`{ 80`,rf(ge(e,` 81`)),` 82}`)}function Le(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function rf(e){return Le(" ",e.replace(/\n/g,` 83 `))}function fp(e){var t;return(t=e?.some(n=>n.includes(` 84`)))!==null&&t!==void 0?t:!1}function I_(e){return e.kind===oe.FIELD||e.kind===oe.FRAGMENT_SPREAD||e.kind===oe.INLINE_FRAGMENT}var sf=new Map,cm=new Map,fb=!0,Yf=!1;function db(e){return e.replace(/[\s,]+/g," ").trim()}function cF(e){return db(e.source.body.substring(e.start,e.end))}function lF(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,s=cF(r.loc),o=cm.get(i);o&&!o.has(s)?fb&&console.warn("Warning: fragment with name "+i+` already exists. 85graphql-tag enforces all fragment names across your application to be unique; read more about 86this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):o||cm.set(i,o=new Set),o.add(s),t.has(s)||(t.add(s),n.push(r))}else n.push(r)}),N(N({},e),{definitions:n})}function uF(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var s=r[i];s&&typeof s=="object"&&t.add(s)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function fF(e){var t=db(e);
86if(!sf.has(t)){var n=ZM(e,{experimentalFragmentVariables:Yf,allowLegacyFragmentVariables:Yf});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");sf.set(t,uF(lF(n)))}return sf.get(t)}function ke(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];typeof e=="string"&&(e=[e]);var r=e[0];return t.forEach(function(i,s){i&&i.kind==="Document"?r+=i.loc.source.body:r+=i,r+=e[s+1]}),fF(r)}function dF(){sf.clear(),cm.clear()}function hF(){fb=!1}function pF(){Yf=!0}function mF(){Yf=!1}var Oc={gql:ke,resetCaches:dF,disableFragmentWarnings:hF,enableExperimentalFragmentVariables:pF,disableExperimentalFragmentVariables:mF};(function(e){e.gql=Oc.gql,e.resetCaches=Oc.resetCaches,e.disableFragmentWarnings=Oc.disableFragmentWarnings,e.enableExperimentalFragmentVariables=Oc.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=Oc.disableExperimentalFragmentVariables})(ke||(ke={}));ke.default=ke;const hb=ke` 87fragment SiteMenuFragment on SiteMenu { 88 version 89 items 90 featured { 91 title 92 permalink 93 sourceSiteName 94 featuredMedia { 95 url 96 urlThumbnail 97 } 98 secondaryImg { 99 url 100 urlThumbnail 101 urlMedium 102 urlPostThumbnail 103 alt 104 } 105 } 106} 107`,gF=ke` 108 ${hb} 109 query site { 110 site { 111 id 112 name 113 prefix 114 settings 115 dataLayer 116 defaultMeta 117 parentSite { 118 id 119 name 120 prefix 121 } 122 childSites { 123 id 124 name 125 prefix 126 } 127 siblingSites { 128 id 129 name 130 prefix 131 } 132 features 133 siteMenu { 134 ...SiteMenuFragment 135 } 136 } 137 } 138`,_F=ke` 139 ${hb} 140 query menuDraft { 141 site { 142 id 143 siteMenu(isDraft: true) { 144 ...SiteMenuFragment 145 } 146 } 147 } 148`;ke` 149 query site { 150 site { 151 id 152 yoastRedirects { 153 path 154 redirect 155 } 156 } 157 } 158`;const yF=ke` 159 query siteSummaries { 160 siteSummaries { 161 prefix 162 name 163 host 164 showInFooter 165 } 166 } 167`,vF=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Pu=()=>vF.now(),bF=e=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),dp=e=>e===1/0||bF(e),wF=2**31-1;class uc{expirations=Object.create(null);data=new Map;expirationMap=new Map;ttl;max;updateAgeOnGet;updateAgeOnHas;noUpdateTTL;noDisposeOnSet;checkAgeOnGet;checkAgeOnHas;dispose;timer;timerExpiration;immortalKeys=new Set;constructor({max:t=1/0,ttl:n,updateAgeOnGet:r=!1,checkAgeOnGet:i=!1,updateAgeOnHas:s=!1,checkAgeOnHas:o=!1,noUpdateTTL:a=!1,dispose:c,noDisposeOnSet:l=!1}={}){if(n!==void 0&&!dp(n))throw new TypeError("ttl must be positive integer or Infinity if set");if(!dp(t))throw new TypeError("max must be positive integer or Infinity");if(this.ttl=n,this.max=t,this.updateAgeOnGet=!!r,this.checkAgeOnGet=!!i,this.updateAgeOnHas=!!s,this.checkAgeOnHas=!!o,this.noUpdateTTL=!!a,this.noDisposeOnSet=!!l,c!==void 0){if(typeof c!="function")throw new TypeError("dispose must be function if set");this.dispose=c}else this.dispose=(u,f,d)=>{};this.timer=void 0,this.timerExpiration=void 0}setTimer(t,n){if(this.timerExpiration&&this.timerExpiration<t)return;this.timer&&clearTimeout(this.timer);const r=setTimeout(()=>{this.timer=void 0,this.timerExpiration=void 0,this.purgeStale();for(const i in this.expirations){const s=Number(i);this.setTimer(s,s-Pu());break}},Math.min(wF,Math.max(0,n)));r.unref&&r.unref(),this.timerExpiration=t,this.timer=r}cancelTimer(){this.timer&&(clearTimeout(this.timer),this.timerExpiration=void 0,this.timer=void 0)}cancelTimers(){return process.emitWarning('TTLCache.cancelTimers has been renamed to TTLCache.cancelTimer (no "s"), and will be removed in the next major version update'),this.cancelTimer()}clear(){const t=this.dispose!==uc.prototype.dispose?[...this]:[];this.data.clear(),this.expirationMap.clear(),this.cancelTimer(),this.expirations=Object.create(null);for(const[n,r]of t)this.dispose(r,n,"delete")}setTTL(t,n=this.ttl){const r=this.expirationMap.get(t);if(r!==void 0){const i=this.expirations[r];!i||i.length<=1?delete this.expirations[r]:this.expirations[r]=i.filter(s=>s!==t)}if(n&&n!==1/0){this.immortalKeys.delete(t);const i=Math.floor(Pu()+n);this.expirationMap.set(t,i),this.expirations[i]||(this.expirations[i]=[],this.setTimer(i,n)),this.expirations[i].push(t)}else this.immortalKeys.add(t),this.expirationMap.set(t,1/0)}set(t,n,{ttl:r=this.ttl,noUpdateTTL:i=this.noUpdateTTL,noDisposeOnSet:s=this.noDisposeOnSet}={}){if(!dp(r))throw new TypeError("ttl must be positive integer or Infinity");if(this.expirationMap.has(t)){i||this.setTTL(t,r);const o=this.data.get(t),a=!s&&this.data.has(t);o!==n&&(this.data.set(t,n),a&&this.dispose(o,t,"set"))}else this.setTTL(t,r),this.data.set(t,n);for(;this.size>this.max;)this.purgeToCapacity();return this}has(t,{checkAgeOnHas:n=this.checkAgeOnHas,ttl:r=this.ttl,updateAgeOnHas:i=this.updateAgeOnHas}={}){return this.data.has(t)?n&&this.getRemainingTTL(t)===0?(this.delete(t),!1):(i&&this.setTTL(t,r),!0):!1}getRemainingTTL(t){const n=this.expirationMap.get(t);return n===1/0?n:n!==void 0?Math.max(0,Math.ceil(n-Pu())):0}get(t,{updateAgeOnGet:n=this.updateAgeOnGet,ttl:r=this.ttl,checkAgeOnGet:i=this.checkAgeOnGet}={}){const s=this.data.get(t);if(i&&this.getRemainingTTL(t)===0){this.delete(t);return}return n&&this.setTTL(t,r),s}delete(t){const n=this.expirationMap.get(t);if(n!==void 0){const r=this.data.get(t);this.data.delete(t),this.expirationMap.delete(t),this.immortalKeys.delete(t);const i=this.expirations[n];return i&&(i.length<=1?delete this.expirations[n]:this.expirations[n]=i.filter(s=>s!==t)),this.dispose(r,t,"delete"),this.size===0&&this.cancelTimer(),!0}return!1}purgeToCapacity(){for(const t in this.expirations){const n=this.expirations[t];if(this.size-n.length>=this.max){delete this.expirations[t];const r=[];for(const i of n)r.push([i,this.data.get(i)]),this.data.delete(i),this.expirationMap.delete(i);for(const[i,s]of r)this.dispose(s,i,"evict")}else{const r=this.size-this.max,i=[];for(const s of n.splice(0,r))i.push([s,this.data.get(s)]),this.data.delete(s),this.expirationMap.delete(s);for(const[s,o]of i)this.dispose(o,s,"evict");return}}}get size(){return this.data.size}purgeStale(){const t=Math.ceil(Pu());for(const n in this.expirations){if(n==="Infinity"||Number(n)>t)return;const r=[...this.expirations[n]||[]],i=[];delete this.expirations[n];for(const s of r)i.push([s,this.data.get(s)]),this.data.delete(s),this.expirationMap.delete(s);for(const[s,o]of i)this.dispose(o,s,"stale")}this.size===0&&this.cancelTimer()}*entries(){for(const t in this.expirations)for(const n of this.expirations[t])yield[n,this.data.get(n)];for(const t of this.immortalKeys)yield[t,this.data.get(t)]}*keys(){for(const t in this.expirations)for(const n of this.expirations[t])yield n;for(const t of this.immortalKeys)yield t}*values(){for(const t in this.expirations)for(const n of this.expirations[t])yield this.data.get(n);for(const t of this.immortalKeys)yield this.data.get(t)}[Symbol.iterator](){return this.entries()}}const SF=2,EF={ttl:1e3*60*60*SF,max:200};new uc(EF);function TF(e){return new URL(`https://${e.req.headers.host}`).hostname}function kF(e){return e&&e.req?TF(e):window?.location?.host}function w2(){return`${window.location.origin}/api`}function Iae(e,t){return e.indexOf(kF(t))>0}function pb(e){return e.replace(/^https?:\/\//,"").replace(/\.(uat-[0-9]+\.)?(n3\.)?[^.]+(\.healthunion\.io)?$/,"")}const xF=async e=>{},CF=async e=>{},IF=e=>{const t=i7({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Br(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},OF=[IP,wM,xF,CF,IF],lm={};function AF(e,t,n){const{pathname:r,search:i,hash:s}=t,o=e.indexOf("#");if(o>-1){const l=s.includes(e.slice(o))?e.slice(o).length:1;let u=s.slice(l);return u[0]!=="/"&&(u="/"+u),g3(_3(u,""))}const a=g3(_3(r,e)),c=!n||lI(a,n)?a:n;
167return c+(c.includes("?")?"":i)+s}const RF=at({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Cr().app.baseURL;Q1&&!r.includes("#")&&(r+="#");const i=es.history?.(r)??(Q1?QA(r):g7(r)),s=es.routes?([t,n]=ws(()=>es.routes(qh)),t=await t,n(),t??qh):qh;let o;const a=mR({...es,scrollBehavior:(g,_,b)=>{if(_===pr){o=b;return}if(es.scrollBehavior){if(a.options.scrollBehavior=es.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return es.scrollBehavior(g,pr,o||b)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=Fn(a.currentRoute.value);a.afterEach((g,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=AF(r,window.location,e.payload.path),u=Fn(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};a.afterEach((g,_)=>{g.matched.at(-1)?.components?.default===_.matched.at(-1)?.components?.default&&f()});const d={sync:f};for(const g in u.value)Object.defineProperty(d,g,{get:()=>u.value[g],enumerable:!0});e._route=Jr(d),e._middleware||={global:[],named:{}};const h=Nd();a.afterEach(async(g,_,b)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(sO),b&&await e.callHook("page:loading:end")});try{[t,n]=ws(()=>a.isReady()),await t,n()}catch(g){[t,n]=ws(()=>e.runWithContext(()=>Js(g))),await t,n()}const p=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const m=e.payload.state._layout;return a.beforeEach(async(g,_)=>{await e.callHook("page:loading:start"),g.meta=An(g.meta),e.isHydrating&&m&&!Sr(g.meta.layout)&&(g.meta.layout=m),e._processingMiddleware=!0;{const b=new Set([...OF,...e._middleware.global]);for(const v of g.matched){const w=v.meta.middleware;if(w)for(const S of J0(w))b.add(S)}const y=i7({path:g.path});if(y.appMiddleware)for(const v in y.appMiddleware)y.appMiddleware[v]?b.add(v):b.delete(v);for(const v of b){const w=typeof v=="string"?e._middleware.named[v]||await lm[v]?.().then(S=>S.default||S):v;if(!w)throw new Error(`Unknown route middleware: '${v}'.`);try{const S=await e.runWithContext(()=>w(g,_));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const O=S||Ss({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>Js(O)),!1}if(S===!0)continue;if(S===!1)return S;if(S)return Q8(S)&&S.fatal&&await e.runWithContext(()=>Js(S)),S}catch(S){const O=Ss(S);return O.fatal&&await e.runWithContext(()=>Js(O)),O}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(g=>{if(g.matched.length===0)return e.runWithContext(()=>Js(Ss({status:404,fatal:!1,statusText:`Page not found: ${g.fullPath}`,data:{path:g.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=es.scrollBehavior}catch(g){await e.runWithContext(()=>Js(g))}}),{provide:{router:a}}}});function PF(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Br(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=aI(String(e.url)));const t=Object.keys(e).sort((r,i)=>r.localeCompare(i)),n={};for(const r of t)n[r]=e[r];return n}function DF(e){const n=[];function r(s){if(!s||typeof s!="object"||Object.keys(s).length===0)return()=>{};s._context;const o={};for(const c in s){const l=s[c];typeof l<"u"&&l!==""&&(o[c]=l)}let a;return Object.keys(o).filter(c=>!c.startsWith("_")).length>0&&(a=n.push(o)),()=>{typeof a<"u"&&n.splice(a-1,1)}}function i(s){const o={};s?.debug&&(o._context={}),o._priority={};for(const a in n.sort((c,l)=>(c._priority||0)-(l._priority||0)))for(const c in n[a]){const l=c,u=s?.resolveRefs?vd(n[a][c]):n[a][c];!c.startsWith("_")&&typeof u<"u"&&u!==""&&(o[c]=u,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(o._priority[l]=n[a]._priority),s?.debug&&(o._context[l]=n[a]._context?.[l]||n[a]._context||"anonymous"))}return s?.skipNormalize?o:PF(o)}return{stack:n,push:r,get:i}}const NF=at({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=DF(),n=C7("site-config");{const r=n.value||window.__NUXT_SITE_CONFIG__||{};for(const i in r)i[0]!=="_"&&t.push({[i]:r[i],_priority:r._priority?.[i]||-1})}return{provide:{nuxtSiteConfig:t}}}}),$F=at({name:"nuxt:payload",setup(e){const t=new Set;
167cn().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const i=await L3(n.path);if(i){for(const s of t)delete e.static.data[s];for(const s in i.data)s in e.static.data||t.add(s),e.static.data[s]=i.data[s]}}),Fd(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await L3().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(r7,1e3)})}}),LF=at(()=>{const e=cn();Fd(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),MF=at(e=>{let t;async function n(){let r;try{r=await r7()}catch(i){const s=i;if(!("status"in s&&(s.status===404||s.status===403)))throw s}t&&clearTimeout(t),t=setTimeout(n,T3);try{const i=await $fetch(H0("builds/latest.json")+`?${Date.now()}`);i.id!==r?.id&&(e.hooks.callHook("app:manifest:update",i),t&&clearTimeout(t))}catch{}}Fd(()=>{t=setTimeout(n,T3)})}),FF=at({name:"nuxt:chunk-reload",setup(e){const t=cn(),n=Cr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const o=Dd(n.app.baseURL,s.fullPath);iD({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(i)}),t.onError((s,o)=>{r.has(s)&&i(o)})}}),VF=at({name:"pinia",setup(e){const t=oO();return e.vueApp.use(t),Fa(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){const e=_e();e.payload.pinia=We(e.$pinia).state.value,Fa(void 0)}}}),UF=at({name:"nuxt:global-components"}),Du={centered:ao(()=>be(()=>import("./BeDTmyj6.js"),__vite__mapDeps([189,30,31,190,26,3,4,11,12,13,14,27,28,191]),import.meta.url).then(e=>e.default||e)),default:ao(()=>be(()=>import("./p97vt4Kl.js"),__vite__mapDeps([192,30,31,190,26,3,4,11,12,13,14,27,28,191]),import.meta.url).then(e=>e.default||e)),"full-bleed":ao(()=>be(()=>import("./BMFbA3Cb.js"),__vite__mapDeps([193,30,31,190,26,3,4,11,12,13,14,27,28,191]),import.meta.url).then(e=>e.default||e)),sidebar:ao(()=>be(()=>import("./CjUUvtqc.js"),__vite__mapDeps([194,30,31,190,26,3,4,11,12,13,14,27,28,191,195]),import.meta.url).then(e=>e.default||e))},BF=at({name:"nuxt:prefetch",setup(e){const t=cn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Du[r]=="function"&&await Du[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Br(n))return;const r=t.resolve(n);if(!r)return;const i=r.meta.layout;let s=J0(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof lm[o]=="function"&&lm[o]();typeof i=="string"&&i in Du&&rD(Du[i])})}}),jF=at(e=>{const t=hD();e.hook("app:created",async()=>{if(!t.__swiper.bundled){(await be(async()=>{const{register:r}=await import("./DgusA_T-.js");return{register:r}},__vite__mapDeps([196,197]),import.meta.url)).register();return}(await be(async()=>{const{register:r}=await import("./DkcWXiys.js");return{register:r}},__vite__mapDeps([198,197]),import.meta.url)).register()})}),zF=at(e=>{const t=e.vueApp.config.compilerOptions.isCustomElement;e.vueApp.config.compilerOptions.isCustomElement=n=>n.startsWith("swiper-")||t?.(n)||!1});var O_=/^GTM-[0-9A-Z]+$/;function hp(e){if(typeof e!="string"||!O_.test(e)){let t=String(e).toUpperCase().replace(/.*-|[^0-9A-Z]/g,""),n=t.length===0?"":` Did you mean 'GTM-${t}'?`;throw new Error(`'${e}' is not a valid GTM-ID (${O_}).${n}`)}}function jc(e,t="dataLayer"){return e[t]||(e[t]=[]),e[t]}function Ea(e,t){let n=document,r=n.createElement("script"),i=l=>{t.onReady?.({id:e,script:r}),r.removeEventListener("load",i)};r.addEventListener("load",i);let s=t.dataLayerName??"dataLayer";if(jc(window,s).push({event:"gtm.js","gtm.start":new Date().getTime()}),!e)return r;r.async=!t.defer,r.defer=!!(t.defer||t.compatibility),t.nonce&&r.setAttribute("nonce",t.nonce),t.scriptType&&(r.type=t.scriptType);let o=new URLSearchParams({id:e,...t.dataLayerName?{l:t.dataLayerName}:{},...t.queryParams??{}}),a=t.source??"https://www.googletagmanager.com/gtm.js";r.src=`${a}?${o}`;let c=t.parentElement??n.body;if(typeof c?.appendChild!="function")throw new Error("parentElement must be a DOM element");return c.appendChild(r),r}function HF(e="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some(t=>t.src.includes(e))}var qF=class{id;options;scriptElements=[];constructor(e){if(Array.isArray(e.id))for(let t of e.id)hp(typeof t=="string"?t:t.id);else hp(e.id);this.id=e.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,dataLayerName:"dataLayer",...e},delete this.options.id}isInBrowserContext=()=>typeof window<"u";enabled(){return this.options.enabled??!0}enable(e=!0,t){if(this.options.enabled=e,this.isInBrowserContext()&&e&&!HF(t)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEac
167h(n=>{let r;typeof n=="string"?r=Ea(n,{...this.options}):r=Ea(n.id,{...this.options,queryParams:n.queryParams}),this.scriptElements.push(r)});else{let n=Ea(this.id,{...this.options});this.scriptElements.push(n)}}debugEnabled(){return this.options.debug??!1}debug(e){this.options.debug=e}dataLayer(){return this.isInBrowserContext()&&this.options.enabled?jc(window,this.options.dataLayerName):!1}trackView(e,t,n={}){let r=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${r?"":"(disabled)"}]: Dispatching TrackView`,{screenName:e,path:t}),r&&jc(window,this.options.dataLayerName).push({...n,event:this.options.trackViewEventProperty??"content-view","content-name":t,"content-view-name":e})}trackEvent({event:e,category:t=null,action:n=null,label:r=null,value:i=null,noninteraction:s=!1,...o}={}){let a=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${a?"":"(disabled)"}]: Dispatching event`,{event:e,category:t,action:n,label:r,value:i,...o}),a&&jc(window,this.options.dataLayerName).push({event:e??"interaction",target:t,action:n,"target-properties":r,value:i,"interaction-type":s,...o})}push(e){let t=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${t?"":"(disabled)"}]: Dispatching event`,e),t&&jc(window,this.options.dataLayerName).push(e)}},Ei;function WF(e,t={id:""}){t={trackOnNextTick:!1,...t},Ei=new qF(t),e.config.globalProperties.$gtm=Ei,Ei.isInBrowserContext()&&(t.vueRouter&&GF(e,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),Ei.options.enabled&&Ei.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(n=>{if(typeof n=="string")Ea(n,t);else{let r={...t};n.queryParams!=null&&(r.queryParams={...r.queryParams,...n.queryParams}),Ea(n.id,r)}}):Ea(t.id,t))),e.provide("gtm",t)}function GF(e,t,n=[],r,i=()=>({})){function s(o,a){return o instanceof Error?!!(o.type&a):!1}t.afterEach(async(o,a,c)=>{if(typeof o.name!="string"||Array.isArray(n)&&n.includes(o.name)||typeof n=="function"&&n(o,a))return;let l=o.meta&&typeof o.meta.gtm=="string"&&o.meta.gtm?o.meta.gtm:o.name;s(c,4)?Ei?.debugEnabled()&&console.log(`[VueGtm]: '${l}' not tracked due to navigation aborted`):s(c,8)&&Ei?.debugEnabled()&&console.log(`[VueGtm]: '${l}' not tracked due to navigation cancelled`);let u={...await i(o,a),...o.meta?.gtmAdditionalEventData},f=t.options?.history?.base??"";f.endsWith("/")||(f+="/"),f+=o.fullPath.startsWith("/")?o.fullPath.substring(1):o.fullPath,r?Wt(()=>{Ei?.trackView(l,f,u)}):Ei?.trackView(l,f,u)})}function QF(e){return{install:t=>WF(t,e)}}const KF=at(e=>{{const t=e.$config.public.gtm,n=cn(),r={...t,vueRouter:t.enableRouterSync&&n?n:void 0};e.vueApp.use(QF(r))}});var pp="Invariant Violation",A_=Object.setPrototypeOf,YF=A_===void 0?function(e,t){return e.__proto__=t,e}:A_,mb=(function(e){Ir(t,e);function t(n){n===void 0&&(n=pp);var r=e.call(this,typeof n=="number"?pp+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=pp,YF(r,t.prototype),r}return t})(Error);function io(e,t){if(!e)throw new mb(t)}var gb=["debug","log","warn","error","silent"],JF=gb.indexOf("log");function Nu(e){return function(){if(gb.indexOf(e)>=JF){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=Nu("debug"),e.log=Nu("log"),e.warn=Nu("warn"),e.error=Nu("error")})(io||(io={}));var S2="3.14.0";function Nr(e){try{return e()}catch{}}const Jf=Nr(function(){return globalThis})||Nr(function(){return window})||Nr(function(){return self})||Nr(function(){return global})||Nr(function(){return Nr.constructor("return this")()});var R_=new Map;function um(e){var t=R_.get(e)||1;return R_.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function _b(e,t){t===void 0&&(t=0);var n=um("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("<undefined>")}function $u(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(typeof t=="number"){var i=t;t=E2(i),t||(t=T2(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var fe=Object.assign(function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];t||io(t,E2(n,r)||T2(n,r))},{debug:$u(io.debug),log:$u(io.log),warn:$u(io.warn),error:$u(io.error)});function Bn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new mb(E2(e,t)||T2(e,t))}var P_=Symbol.for("ApolloErrorMessageHandler_"+S2);function yb(e){if(typeof e=="string")return e;try{return _b(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function E2(e,t){if(t===void 0&&(t=[]),!!e)return Jf[P_]&&Jf[P_](e,t.map(yb))}function T2(e,t){if(t===void 0&&(t=[]),!!e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:S2,message:e,args:t.map(yb)})))}function Zl(e,t){var n=e.directives;return!n||!n.length?!0:eV(n).every(function(r){var i=r.directive,s=r.ifArgument,o=!1;return s.value.kind==="Variable"?(o=t&&t[s.value.name.value],fe(o!==void 0,106,i.name.value)):o=s.value.value,i.name.value==="skip"?!o:o})}function Al(e,t,n){var r=new Set(e),i=r.size;return qr(t,{Directive:function(s){if(r.delete(s.name.value)&&(!n||!r.size))return sh}}),n?!r.size:r.size<i}function XF(e){return e&&Al(["client","export"],e,!0)}function ZF(e){var t=e.name.value;return t==="skip"||t==="include"}function eV(e){var t=[];return e&&e.length&&e.forEach(function(n){if(ZF(n)){var r=n.arguments,i=n.name.value;fe(r&&r.length===1,107,i);var s=r[0];fe(s.name&&s.name.value==="if",108,i);var o=s.value;fe(o&&(o.kind==="Variable"||o.kind==="BooleanValue"),109,i),t.push({directive:n,ifArgument:s})}}),t}function tV(e){var t,n,r=(t=e.directives)===null||t===void 0?void 0:t.find(function(s){var o=s.name;return o.value==="unmask"});if(!r)return"mask";var i=(n=r.arguments)===null||n===void 0?void 0:n.find(function(s){var o=s.name;return o.value==="mode"});return globalThis.__DEV__!==!1&&i&&(i.value.kind===oe.VARIABLE?globalThis.__DEV__!==!1&&fe.warn(110):i.value.kind!==oe.STRING?globalThis.__DEV__!==!1&&fe.warn(111):i.value.value!=="migrate"&&globalThis.__DEV__!==!1&&fe.warn(112,i.value.value)),i&&"value"in i.value&&i.value.value==="migrate"?"migrate":"unmask"}const nV=()=>Object.create(null),{forEach:rV,slice:D_}=Array.prototype,{hasOwnProperty:iV}=Object.prototype;class Ki{constructor(t=!0,n=nV){this.weakness=t,this.makeData=n}lookup(){return this.lookupArray(arguments)}lookupArray(t){let n=this;return rV.call(t,r=>n=n.getChildTrie(r)),iV.call(n,"data")?n.data:n.data=this.makeData(D_.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r<i;++r){const s=n.mapFor(t[r],!1);n=s&&s.get(t[r])}return n&&n.data}remove(){return this.removeArray(arguments)}removeArray(t){let n;if(t.length){const r=t[0],i=this.mapFor(r,!1),s=i&&i.get(r);s&&(n=s.removeArray(D_.call(t,1)),!s.data&&!s.weak&&!(s.strong&&s.strong.size)&&i.delete(r))}else n=this.data,delete this.data;return n}getChildTrie(t){const n=this.mapFor(t,!0);let r=n.get(t);return r||n.set(t,r=new Ki(this.weakness,this.makeData)),r}mapFor(t,n){return this.weakness&&sV(t)?this.weak||(n?this.weak=new WeakMap:void 0):this.strong||(n?this.strong=new Map:void 0)}}function sV(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var oV=Nr(function(){return navigator.product})=="ReactNative",Lo=typeof WeakMap=="function"&&!(oV&&!global.HermesInternal),k2=typeof WeakSet=="function",vb=typeof Symbol=="function"&&typeof Symbol.for=="function",oh=vb&&Symbol.asyncIterator;Nr(function(){return window.document.createElement});Nr(function(){return navigator.userAgent.indexOf("jsdom")>=0});function Ot(e){return e!==null&&typeof e=="object"}function aV(e,t){var n=t,r=[];e.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw Bn(113,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&r.push(s)}),typeof n>"u"&&(fe(r.length===1,114,r.length),n=r[0].name.value);var i=N(N({},e),{definitions:_n([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function fc(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function ah(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return fe(r,115,n),r||null}default:return null}}function cV(e){var t=!0;return qr(e,{FragmentSpread:function(n){if(t=!!n.directives&&n.directives.some(function(r){return r.name.value==="unmask"}),!t)return sh}}),t}function lV(){}class fm{constructor(t=1/0,n=lV){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}get size(){return this.map.size}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}function dm(){}const uV=dm,fV=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}}
167,dV=typeof WeakMap<"u"?WeakMap:Map,hV=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:dm,unregister:dm}},pV=10024;class Xf{constructor(t=1/0,n=uV){this.max=t,this.dispose=n,this.map=new dV,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const r=this.unfinalizedNodes.values();for(let i=0;i<pV;i++){const s=r.next().value;if(!s)break;this.unfinalizedNodes.delete(s);const o=s.key;delete s.key,s.keyRef=new fV(o),this.registry.register(o,s,s)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new hV(this.deleteNode.bind(this))}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(t,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(t){t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.size--;const n=t.key||t.keyRef&&t.keyRef.deref();this.dispose(t.value,n),t.keyRef?this.registry.unregister(t):this.unfinalizedNodes.delete(t),n&&this.map.delete(n)}delete(t){const n=this.map.get(t);return n?(this.deleteNode(n),!0):!1}scheduleFinalization(t){this.unfinalizedNodes.add(t),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var mp=new WeakSet;function bb(e){e.size<=(e.max||-1)||mp.has(e)||(mp.add(e),setTimeout(function(){e.clean(),mp.delete(e)},100))}var wb=function(e,t){var n=new Xf(e,t);return n.set=function(r,i){var s=Xf.prototype.set.call(this,r,i);return bb(this),s},n},mV=function(e,t){var n=new fm(e,t);return n.set=function(r,i){var s=fm.prototype.set.call(this,r,i);return bb(this),s},n},gV=Symbol.for("apollo.cacheSize"),ji=N({},Jf[gV]),Zs={};function Sb(e,t){Zs[e]=t}var _V=globalThis.__DEV__!==!1?wV:void 0,yV=globalThis.__DEV__!==!1?SV:void 0,vV=globalThis.__DEV__!==!1?Eb:void 0;function bV(){var e={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(e).map(function(t){var n=t[0],r=t[1];return[n,ji[n]||r]}))}function wV(){var e,t,n,r,i;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:bV(),sizes:N({print:(e=Zs.print)===null||e===void 0?void 0:e.call(Zs),parser:(t=Zs.parser)===null||t===void 0?void 0:t.call(Zs),canonicalStringify:(n=Zs.canonicalStringify)===null||n===void 0?void 0:n.call(Zs),links:pm(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:kb(this.queryManager.documentTransform)}},(i=(r=this.cache).getMemoryInternals)===null||i===void 0?void 0:i.call(r))}}function Eb(){return{cache:{fragmentQueryDocuments:hs(this.getFragmentDoc)}}}function SV(){var e=this.config.fragments;return N(N({},Eb.apply(this)),{addTypenameDocumentTransform:kb(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:hs(this.storeReader.executeSelectionSet),executeSubSelectedArray:hs(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:hs(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:hs(e?.findFragmentSpreads),lookup:hs(e?.lookup),transform:hs(e?.transform)}})}function EV(e){return!!e&&"dirtyKey"in e}function hs(e){return EV(e)?e.size:void 0}function Tb(e){return e!=null}function kb(e){return hm(e).map(function(t){return{cache:t}})}function hm(e){return e?_n(_n([hs(e?.performWork)],hm(e?.left),!0),hm(e?.right),!0).filter(Tb):[]}function pm(e){var t;return e?_n(_n([(t=e?.getMemoryInternals)===null||t===void 0?void 0:t.call(e)],pm(e?.left),!0),pm(e?.right),!0).filter(Tb):[]}var Ts=Object.assign(function(t){return JSON.stringify(t,TV)},{reset:function(){ca=new mV(ji.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Sb("canonicalStringify",function(){return ca.size});var ca;Ts.reset();function TV(e,t){if(t&&typeof t=="object"){var n=Object.getPrototypeOf(t);if(n===Object.prototype||n===null){var r=Object.keys(t);if(r.every(kV))return t;var i=JSON.stringify(r),s=ca.get(i);if(!s){r.sort();var o=JSON.stringify(r);s=ca.get(o)||r,ca.set(i,s),ca.set(o,s)}var a=Object.create(n);
167return s.forEach(function(c){a[c]=t[c]}),a}}return t}function kV(e,t,n){return t===0||n[t-1]<=e}function Ta(e){return{__ref:String(e)}}function ht(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function xV(e){return Ot(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function CV(e){return e.kind==="StringValue"}function IV(e){return e.kind==="BooleanValue"}function OV(e){return e.kind==="IntValue"}function AV(e){return e.kind==="FloatValue"}function RV(e){return e.kind==="Variable"}function PV(e){return e.kind==="ObjectValue"}function DV(e){return e.kind==="ListValue"}function NV(e){return e.kind==="EnumValue"}function $V(e){return e.kind==="NullValue"}function Qa(e,t,n,r){if(OV(n)||AV(n))e[t.value]=Number(n.value);else if(IV(n)||CV(n))e[t.value]=n.value;else if(PV(n)){var i={};n.fields.map(function(o){return Qa(i,o.name,o.value,r)}),e[t.value]=i}else if(RV(n)){var s=(r||{})[n.name.value];e[t.value]=s}else if(DV(n))e[t.value]=n.values.map(function(o){var a={};return Qa(a,t,o,r),a[t.value]});else if(NV(n))e[t.value]=n.value;else if($V(n))e[t.value]=null;else throw Bn(124,t.value,n.kind)}function LV(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(s){var o=s.name,a=s.value;return Qa(n[i.name.value],o,a,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var s=i.name,o=i.value;return Qa(r,s,o,t)})),xb(e.name.value,r,n)}var MV=["connection","include","skip","client","rest","export","nonreactive"],Ac=Ts,xb=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(a){i[a]=t[a]}),"".concat(n.connection.key,"(").concat(Ac(i),")")}else return n.connection.key;var s=e;if(t){var o=Ac(t);s+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(a){MV.indexOf(a)===-1&&(n[a]&&Object.keys(n[a]).length?s+="@".concat(a,"(").concat(Ac(n[a]),")"):s+="@".concat(a))}),s},{setStringify:function(e){var t=Ac;return Ac=e,t}});function ch(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,s=r.value;return Qa(n,i,s,t)}),n}return null}function zi(e){return e.alias?e.alias.value:e.name.value}function mm(e,t,n){for(var r,i=0,s=t.selections;i<s.length;i++){var o=s[i];if(Ns(o)){if(o.name.value==="__typename")return e[zi(o)]}else r?r.push(o):r=[o]}if(typeof e.__typename=="string")return e.__typename;if(r)for(var a=0,c=r;a<c.length;a++){var o=c[a],l=mm(e,ah(o,n).selectionSet,n);if(typeof l=="string")return l}}function Ns(e){return e.kind==="Field"}function FV(e){return e.kind==="InlineFragment"}function dc(e){fe(e&&e.kind==="Document",116);var t=e.definitions.filter(function(n){return n.kind!=="FragmentDefinition"}).map(function(n){if(n.kind!=="OperationDefinition")throw Bn(117,n.kind);return n});return fe(t.length<=1,118,t.length),e}function xo(e){return dc(e),e.definitions.filter(function(t){return t.kind==="OperationDefinition"})[0]}function zc(e){return e.definitions.filter(function(t){return t.kind==="OperationDefinition"&&!!t.name}).map(function(t){return t.name.value})[0]||null}function hc(e){return e.definitions.filter(function(t){return t.kind==="FragmentDefinition"})}function Cb(e){var t=xo(e);return fe(t&&t.operation==="query",119),t}function Ib(e){fe(e.kind==="Document",120),fe(e.definitions.length<=1,121);var t=e.definitions[0];return fe(t.kind==="FragmentDefinition",122),t}function pc(e){dc(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if(i.kind==="OperationDefinition"){var s=i.operation;if(s==="query"||s==="mutation"||s==="subscription")return i}i.kind==="FragmentDefinition"&&!t&&(t=i)}if(t)return t;throw Bn(123)}function x2(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(r){r.defaultValue&&Qa(t,r.variable.name,r.defaultValue)}),t}let dn=null;const N_={};let VV=1;const UV=()=>class{constructor(){this.id=["slot",VV++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=dn;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===N_)break;return t!==dn&&(dn.slots[this.id]=n),!0}
167return dn&&(dn.slots[this.id]=N_),!1}getValue(){if(this.hasValue())return dn.slots[this.id]}withValue(t,n,r,i){const s={__proto__:null,[this.id]:t},o=dn;dn={parent:o,slots:s};try{return n.apply(i,r)}finally{dn=o}}static bind(t){const n=dn;return function(){const r=dn;try{return dn=n,t.apply(this,arguments)}finally{dn=r}}}static noContext(t,n,r){if(dn){const i=dn;try{return dn=null,t.apply(r,n)}finally{dn=i}}else return t.apply(r,n)}};function $_(e){try{return e()}catch{}}const gp="@wry/context:Slot",BV=$_(()=>globalThis)||$_(()=>global)||Object.create(null),L_=BV,mc=L_[gp]||Array[gp]||(function(e){try{Object.defineProperty(L_,gp,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}})(UV()),{bind:Aae,noContext:Rae}=mc,lh=new mc,{hasOwnProperty:jV}=Object.prototype,C2=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function I2(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const Rl=[],zV=100;function Ka(e,t){if(!e)throw new Error(t||"assertion failure")}function Ob(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Ab(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Rb(e){return e.slice(0)}class uh{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++uh.count}peek(){if(this.value.length===1&&!$s(this))return M_(this),this.value[0]}recompute(t){return Ka(!this.recomputing,"already recomputing"),M_(this),$s(this)?HV(this,t):Ab(this.value)}setDirty(){this.dirty||(this.dirty=!0,Pb(this),I2(this))}dispose(){this.setDirty(),Mb(this),O2(this,(t,n)=>{t.setDirty(),Fb(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=Rl.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(C2(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),Rl.push(this.deps),this.deps=null)}}uh.count=0;function M_(e){const t=lh.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),$s(e)?Nb(t,e):$b(t,e),t}function HV(e,t){return Mb(e),lh.withValue(e,qV,[e,t]),GV(e,t)&&WV(e),Ab(e.value)}function qV(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&e.value.length===1&&(r=Rb(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!Ob(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function $s(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function WV(e){e.dirty=!1,!$s(e)&&Db(e)}function Pb(e){O2(e,Nb)}function Db(e){O2(e,$b)}function O2(e,t){const n=e.parents.size;if(n){const r=C2(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Nb(e,t){Ka(e.childValues.has(t)),Ka($s(t));const n=!$s(e);if(!e.dirtyChildren)e.dirtyChildren=Rl.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&Pb(e)}function $b(e,t){Ka(e.childValues.has(t)),Ka(!$s(t));const n=e.childValues.get(t);n.length===0?e.childValues.set(t,Rb(t.value)):Ob(n,t.value)||e.setDirty(),Lb(e,t),!$s(e)&&Db(e)}function Lb(e,t){const n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(Rl.length<zV&&Rl.push(n),e.dirtyChildren=null))}function Mb(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{Fb(e,n)}),e.forgetDeps(),Ka(e.dirtyChildren===null)}function Fb(e,t){t.parents.delete(e),e.childValues.delete(t),Lb(e,t)}function GV(e,t){if(typeof e.subscribe=="function")try{I2(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const QV={setDirty:!0,dispose:!0,forget:!0};function Vb(e){const t=new Map;function n(r){const i=lh.getValue();if(i){let s=t.get(r);s||t.set(r,s=new Set),i.dependOn(s)}}return n.dirty=function(i,s){const o=t.get(i);if(o){const a=s&&jV.call(QV,s)?s:"setDirty";C2(o).forEach(c=>c[a]()),t.delete(i),I2(o)}},n}let F_;function KV(...e){return(F_||(F_=new Ki(typeof WeakMap=="function"))).lookupArray(e)}const _p=new Set;function Pl(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=KV,normalizeResult:i,subscribe:s,cache:o=fm}=Object.create(null)){const a=typeof o=="function"?new o(t,d=>d.dispose()):o,c=function(){const d=r.apply(null,n?n.apply(null,arguments):arguments);if(d===void 0)return e.apply(null,arguments);let h=a.get(d);h||(a.set(d,h=new uh(e)),h.normalizeResult=i,h.subscribe=s,h.forget=()=>
167a.delete(d));const p=h.recompute(Array.prototype.slice.call(arguments));return a.set(d,h),_p.add(a),lh.hasValue()||(_p.forEach(m=>m.clean()),_p.clear()),p};Object.defineProperty(c,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:s,cache:a});function l(d){const h=d&&a.get(d);h&&h.setDirty()}c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))};function u(d){const h=d&&a.get(d);if(h)return h.peek()}c.peekKey=u,c.peek=function(){return u(r.apply(null,arguments))};function f(d){return d?a.delete(d):!1}return c.forgetKey=f,c.forget=function(){return f(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}function YV(e){return e}var Ub=(function(){function e(t,n){n===void 0&&(n=Object.create(null)),this.resultCache=k2?new WeakSet:new Set,this.transform=t,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),this.cached=n.cache!==!1,this.resetCache()}return e.prototype.getCacheKey=function(t){return[t]},e.identity=function(){return new e(YV,{cache:!1})},e.split=function(t,n,r){return r===void 0&&(r=e.identity()),Object.assign(new e(function(i){var s=t(i)?n:r;return s.transformDocument(i)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new Ki(Lo);this.performWork=Pl(e.prototype.performWork.bind(this),{makeCacheKey:function(r){var i=t.getCacheKey(r);if(i)return fe(Array.isArray(i),105),n.lookupArray(i)},max:ji["documentTransform.cache"],cache:Xf})}},e.prototype.performWork=function(t){return dc(t),this.transform(t)},e.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var n=this.performWork(t);return this.resultCache.add(n),n},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(r){return t.transformDocument(n.transformDocument(r))},{cache:!1}),{left:this,right:t})},e})(),tl,ys=Object.assign(function(e){var t=tl.get(e);return t||(t=ub(e),tl.set(e,t)),t},{reset:function(){tl=new wb(ji.print||2e3)}});ys.reset();globalThis.__DEV__!==!1&&Sb("print",function(){return tl?tl.size:0});var Mt=Array.isArray;function ai(e){return Array.isArray(e)&&e.length>0}var V_={kind:oe.FIELD,name:{kind:oe.NAME,value:"__typename"}};function Bb(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===oe.FRAGMENT_SPREAD&&Bb(t[n.name.value],t)})}function JV(e){return Bb(xo(e)||Ib(e),fc(hc(e)))?null:e}function XV(e){var t=new Map,n=new Map;return e.forEach(function(r){r&&(r.name?t.set(r.name,r):r.test&&n.set(r.test,r))}),function(r){var i=t.get(r.name.value);return!i&&n.size&&n.forEach(function(s,o){o(r)&&(i=s)}),i}}function U_(e){var t=new Map;return function(r){r===void 0&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function jb(e,t){dc(t);for(var n=U_(""),r=U_(""),i=function(_){for(var b=0,y=void 0;b<_.length&&(y=_[b]);++b)if(!Mt(y)){if(y.kind===oe.OPERATION_DEFINITION)return n(y.name&&y.name.value);if(y.kind===oe.FRAGMENT_DEFINITION)return r(y.name.value)}return globalThis.__DEV__!==!1&&fe.error(125),null},s=0,o=t.definitions.length-1;o>=0;--o)t.definitions[o].kind===oe.OPERATION_DEFINITION&&++s;var a=XV(e),c=function(_){return ai(_)&&_.map(a).some(function(b){return b&&b.remove})},l=new Map,u=!1,f={enter:function(_){if(c(_.directives))return u=!0,null}},d=qr(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(_,b,y,v,w){var S=i(w);S&&S.variables.add(_.name.value)}},FragmentSpread:{enter:function(_,b,y,v,w){if(c(_.directives))return u=!0,null;var S=i(w);S&&S.fragmentSpreads.add(_.name.value)}},FragmentDefinition:{enter:function(_,b,y,v){l.set(JSON.stringify(v),_)},leave:function(_,b,y,v){var w=l.get(JSON.stringify(v));if(_===w)return _;if(s>0&&_.selectionSet.selections.every(function(S){return S.kind===oe.FIELD&&S.name.value==="__typename"}))return r(_.name.value).removed=!0,u=!0,null}},Directive:{leave:function(_){if(a(_))return u=!0,null}}});if(!u)return t;var h=function(_){return _.transitiveVars||(_.transitiveVars=new Set(_.variables),_.removed||_.fragmentSpreads.forEach(function(b){h(r(b)).transitiveVars.forEac
167h(function(y){_.transitiveVars.add(y)})})),_},p=new Set;d.definitions.forEach(function(_){_.kind===oe.OPERATION_DEFINITION?h(n(_.name&&_.name.value)).fragmentSpreads.forEach(function(b){p.add(b)}):_.kind===oe.FRAGMENT_DEFINITION&&s===0&&!r(_.name.value).removed&&p.add(_.name.value)}),p.forEach(function(_){h(r(_)).fragmentSpreads.forEach(function(b){p.add(b)})});var m=function(_){return!!(!p.has(_)||r(_).removed)},g={enter:function(_){if(m(_.name.value))return null}};return JV(qr(d,{FragmentSpread:g,FragmentDefinition:g,OperationDefinition:{leave:function(_){if(_.variableDefinitions){var b=h(n(_.name&&_.name.value)).transitiveVars;if(b.size<_.variableDefinitions.length)return N(N({},_),{variableDefinitions:_.variableDefinitions.filter(function(y){return b.has(y.variable.name.value)})})}}}}))}var A2=Object.assign(function(e){return qr(e,{SelectionSet:{enter:function(t,n,r){if(!(r&&r.kind===oe.OPERATION_DEFINITION)){var i=t.selections;if(i){var s=i.some(function(a){return Ns(a)&&(a.name.value==="__typename"||a.name.value.lastIndexOf("__",0)===0)});if(!s){var o=r;if(!(Ns(o)&&o.directives&&o.directives.some(function(a){return a.name.value==="export"})))return N(N({},t),{selections:_n(_n([],i,!0),[V_],!1)})}}}}}})},{added:function(e){return e===V_}});function ZV(e){var t=pc(e),n=t.operation;if(n==="query")return e;var r=qr(e,{OperationDefinition:{enter:function(i){return N(N({},i),{operation:"query"})}}});return r}function zb(e){dc(e);var t=jb([{test:function(n){return n.name.value==="client"},remove:!0}],e);return t}function eU(e){return dc(e),qr(e,{FragmentSpread:function(t){var n;if(!(!((n=t.directives)===null||n===void 0)&&n.some(function(r){return r.name.value==="unmask"})))return N(N({},t),{directives:_n(_n([],t.directives||[],!0),[{kind:oe.DIRECTIVE,name:{kind:oe.NAME,value:"nonreactive"}}
167],!1)})}})}var tU=Object.prototype.hasOwnProperty;function B_(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fh(e)}function fh(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new Ls,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var nU=function(e,t,n){return this.merge(e[n],t[n])},Ls=(function(){function e(t){t===void 0&&(t=nU),this.reconciler=t,this.isObject=Ot,this.pastCopies=new Set}return e.prototype.merge=function(t,n){for(var r=this,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];return Ot(n)&&Ot(t)?(Object.keys(n).forEach(function(o){if(tU.call(t,o)){var a=t[o];if(n[o]!==a){var c=r.reconciler.apply(r,_n([t,n,o],i,!1));c!==a&&(t=r.shallowCopyForMerge(t),t[o]=c)}}else t=r.shallowCopyForMerge(t),t[o]=n[o]}),t):n},e.prototype.shallowCopyForMerge=function(t){return Ot(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t=N({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},e})();function rU(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=iU(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 168In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iU(e,t){if(e){if(typeof e=="string")return j_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j_(e,t)}}function j_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function z_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R2(e,t,n){return t&&z_(e.prototype,t),n&&z_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var P2=function(){return typeof Symbol=="function"},D2=function(e){return P2()&&!!Symbol[e]},N2=function(e){return D2(e)?Symbol[e]:"@@"+e};P2()&&!D2("observable")&&(Symbol.observable=Symbol("observable"));var sU=N2("iterator"),gm=N2("observable"),Hb=N2("species");function Zf(e,t){var n=e[t];if(n!=null){if(typeof n!="function")throw new TypeError(n+" is not a function");return n}}function Rc(e){var t=e.constructor;return t!==void 0&&(t=t[Hb],t===null&&(t=void 0)),t!==void 0?t:gt}function oU(e){return e instanceof gt}function Ya(e){Ya.log?Ya.log(e):setTimeout(function(){throw e})}function of(e){Promise.resolve().then(function(){try{e()}catch(t){Ya(t)}})}function qb(e){var t=e._cleanup;if(t!==void 0&&(e._cleanup=void 0,!!t))try{if(typeof t=="function")t();else{var n=Zf(t,"unsubscribe");n&&n.call(t)}}catch(r){Ya(r)}}function _m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function aU(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(Wb(e,t[n].type,t[n].value),e._state!=="closed");++n);}}function Wb(e,t,n){e._state="running";var r=e._observer;try{var i=Zf(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(_m(e),i)i.call(r,n);else throw n;break;case"complete":_m(e),i&&i.call(r);break}}catch(s){Ya(s)}e._state==="closed"?qb(e):e._state==="running"&&(e._state="ready")}function yp(e,t,n){if(e._state!=="closed"){if(e._state==="buffering"){e._queue.push({type:t,value:n});return}if(e._state!=="ready"){e._state="buffering",e._queue=[{type:t,value:n}],of(function(){return aU(e)});return}Wb(e,t,n)}}var cU=(function(){function e(n,r){this._cleanup=void 0,this._observer=n,this._queue=void 0,this._state="initializing";var i=new lU(this);try{this._cleanup=r.call(void 0,i)}catch(s){i.error(s)}this._state==="initializing"&&(this._state="ready")}var t=e.prototype;return t.unsubscribe=function(){this._state!=="closed"&&(_m(this),qb(this))},R2(e,[{key:"closed",get:function(){return this._state==="closed"}}]),e})(),lU=(function(){function e(n){this._subscription=n}var t=e.prototype;return t.next=function(r){yp(this._subscription,"next",r)},t.error=function(r){yp(this._subscription,"error",r)},t.complete=function(){yp(this._subscription,"complete")},R2(e,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),e})(),gt=(function(){function e(n){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if(typeof n!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=n}var t=e.prototype;return t.subscribe=function(r){return(typeof r!="object"||r===null)&&(r={next:r,error:arguments[1],complete:arguments[2]}),new cU(r,this._subscriber)},t.forEach=function(r){var i=this;return new Promise(function(s,o){if(typeof r!="function"){o(new TypeError(r+" is not a function"));return}function a(){c.unsubscribe(),s()}var c=i.subscribe({next:function(l){try{r(l,a)}catch(u){o(u),c.unsubscribe()}},error:o,complete:s})})},t.map=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=Rc(this);return new s(function(o){return i.subscribe({next:function(a){try{a=r(a)}catch(c){return o.error(c)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.filter=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=Rc(this);return new s(function(o){return i.subscribe({next:function(a){try{if(!r(a))return}catch(c){return o.error(c)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.reduce=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=Rc(this),o=arguments.length>1,a=!1,c=arguments[1],l=c;return new s(function(u){return i.subscribe({next:function(f){var d=!a;if(a=!0,!d||o)try{l=r(l,f)}catch(h){return u.error(h)}else l=f},error:function(f){u.error(f)},complete:function(){if(!a&&!o)return u.error(new TypeError("Cannot reduce an empty sequence"));u.next(l),u.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];var a=Rc(this);return new a(function(c){var l,u=0;function f(d){l=d.subscribe({next:function(h){c.next(h)},error:function(h){c.error(h)},complete:function(){u===s.length?(l=void 0,c.complete()):f(a.from(s[u++]))}})}return f(r),function(){l&&(l.unsubscribe(),l=void 0)}})},t.flatMap=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=Rc(this);return new s(function(o){var a=[],c=i.subscribe({next:function(u){if(r)try{u=r(u)}catch(d){return o.error(d)}var f=s.from(u).subscribe({next:function(d){o.next(d)},error:function(d){o.error(d)},complete:function(){var d=a.indexOf(f);d>=0&&a.splice(d,1),l()}});a.push(f)},error:function(u){o.error(u)},complete:function(){l()}});function l(){c.closed&&a.length===0&&o.complete()}return function(){a.forEach(function(u){return u.unsubscribe()}),c.unsubscribe()}})},t[gm]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var s=Zf(r,gm);if(s){var o=s.call(r);if(Object(o)!==o)throw new TypeError(o+" is not an object");return oU(o)&&o.constructor===i?o:new i(function(a){return o.subscribe(a)})}if(D2("iterator")&&(s=Zf(r,sU),s))return new i(function(a){of(function(){if(!a.closed){for(var c=rU(s.call(r)),l;!(l=c()).done;){var u=l.value;if(a.next(u),a.closed)return}a.complete()}})});if(Array.isArray(r))return new i(function(a){of(function(){if(!a.closed){for(var c=0;c<r.length;++c)if(a.next(r[c]),a.closed)return;a.complete()}})});throw new TypeError(r+" is not observable")},e.of=function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];var o=typeof this=="function"?this:e;return new o(function(a){of(function(){if(!a.closed){for(var c=0;c<i.length;++c)if(a.next(i[c]),a.closed)return;a.complete()}})})},R2(e,null,[{key:Hb,get:function(){return this}}]),e})();P2()&&Object.defineProperty(gt,Symbol("extensions"),{value:{symbol:gm,hostReportError:Ya},configurable:!0});function uU(e){var t,n=e.Symbol;if(typeof n=="function")if(n.observable)t=n.observable;else{typeof n.for=="function"?t=n.for("https://github.com/benlesh/symbol-observable"):t=n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch{}}else t="@@observable";return t}var Zo;typeof self<"u"?Zo=self:typeof window<"u"?Zo=window:typeof global<"u"?Zo=global:typeof module<"u"?Zo=module:Zo=Function("return this")();uU(Zo);var H_=gt.prototype,q_="@@observable";H_[q_]||(H_[q_]=function(){return this});function fU(e){return e.catch(function(){}),e}var dU=Object.prototype.toString;function Gb(e){return ym(e)}function ym(e,t){switch(dU.call(e)){case"[object Array]":{if(t=t||new Map,t.has(e))return t.get(e);var n=e.slice(0);
168return t.set(e,n),n.forEach(function(i,s){n[s]=ym(i,t)}),n}case"[object Object]":{if(t=t||new Map,t.has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(i){r[i]=ym(e[i],t)}),r}default:return e}}function hU(e){var t=new Set([e]);return t.forEach(function(n){Ot(n)&&pU(n)===n&&Object.getOwnPropertyNames(n).forEach(function(r){Ot(n[r])&&t.add(n[r])})}),e}function pU(e){if(globalThis.__DEV__!==!1&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}function ed(e){return globalThis.__DEV__!==!1&&hU(e),e}function nl(e,t,n){var r=[];e.forEach(function(i){return i[t]&&r.push(i)}),r.forEach(function(i){return i[t](n)})}function vp(e,t,n){return new gt(function(r){var i={then:function(c){return new Promise(function(l){return l(c())})}};function s(c,l){return function(u){if(c){var f=function(){return r.closed?0:c(u)};i=i.then(f,f).then(function(d){return r.next(d)},function(d){return r.error(d)})}else r[l](u)}}var o={next:s(t,"next"),error:s(n,"error"),complete:function(){i.then(function(){return r.complete()})}},a=e.subscribe(o);return function(){return a.unsubscribe()}})}function Qb(e){function t(n){Object.defineProperty(e,n,{value:gt})}return vb&&Symbol.species&&t(Symbol.species),t("@@species"),e}function W_(e){return e&&typeof e.then=="function"}var ea=(function(e){Ir(t,e);function t(n){var r=e.call(this,function(i){return r.addObserver(i),function(){return r.removeObserver(i)}})||this;return r.observers=new Set,r.promise=new Promise(function(i,s){r.resolve=i,r.reject=s}),r.handlers={next:function(i){r.sub!==null&&(r.latest=["next",i],r.notify("next",i),nl(r.observers,"next",i))},error:function(i){var s=r.sub;s!==null&&(s&&setTimeout(function(){return s.unsubscribe()}),r.sub=null,r.latest=["error",i],r.reject(i),r.notify("error",i),nl(r.observers,"error",i))},complete:function(){var i=r,s=i.sub,o=i.sources,a=o===void 0?[]:o;if(s!==null){var c=a.shift();c?W_(c)?c.then(function(l){return r.sub=l.subscribe(r.handlers)},r.handlers.error):r.sub=c.subscribe(r.handlers):(s&&setTimeout(function(){return s.unsubscribe()}),r.sub=null,r.latest&&r.latest[0]==="next"?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),nl(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(i){r.reject(i),r.sources=[],r.handlers.error(i)},r.promise.catch(function(i){}),typeof n=="function"&&(n=[new gt(n)]),W_(n)?n.then(function(i){return r.start(i)},r.handlers.error):r.start(n),r}return t.prototype.start=function(n){this.sub===void 0&&(this.sources=Array.from(n),this.handlers.complete())},t.prototype.deliverLastMessage=function(n){if(this.latest){var r=this.latest[0],i=n[r];i&&i.call(n,this.latest[1]),this.sub===null&&r==="next"&&n.complete&&n.complete()}},t.prototype.addObserver=function(n){this.observers.has(n)||(this.deliverLastMessage(n),this.observers.add(n))},t.prototype.removeObserver=function(n){this.observers.delete(n)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(n,r){var i=this.nextResultListeners;i.size&&(this.nextResultListeners=new Set,i.forEach(function(s){return s(n,r)}))},t.prototype.beforeNext=function(n){var r=!1;this.nextResultListeners.add(function(i,s){r||(r=!0,n(i,s))})},t})(gt);Qb(ea);function ka(e){return"incremental"in e}function mU(e){return"hasNext"in e&&"data"in e}function gU(e){return ka(e)||mU(e)}function _U(e){return Ot(e)&&"payload"in e}function Kb(e,t){var n=e,r=new Ls;return ka(t)&&ai(t.incremental)&&t.incremental.forEach(function(i){for(var s=i.data,o=i.path,a=o.length-1;a>=0;--a){var c=o[a],l=!isNaN(+c),u=l?[]:{};u[c]=s,s=u}n=r.merge(n,s)}),n}function af(e){var t=vm(e);return ai(t)}function vm(e){var t=ai(e.errors)?e.errors.slice(0):[];return ka(e)&&ai(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function Ja(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(r){r&&Object.keys(r).forEach(function(i){var s=r[i];s!==void 0&&(n[i]=s)})}),n}function bp(e,t){return Ja(e,t,t.variables&&{variables:Ja(N(N({},e&&e.variables),t.variables))})}var dh=Symbol();function Yb(e){return e.extensions?Array.isArray(e.extensions[dh]):!1}function $2(e){return e.hasOwnProperty("graphQLErrors")}var yU=function(e){var t=_n(_n(_n([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(n){return Ot(n)&&n.message||"Error message not found."}).join(` 169`)},$r=(function(e){Ir(t,e);function t(n){var r=n.graphQLErrors,i=n.protocolErrors,s=n.clientErrors,o=n.networkError,a=n.errorMessage,c=n.extraInfo,l=e.call(this,a)||this;return l.name="ApolloError",l.graphQLErrors=r||[],l.protocolErrors=i||[],l.clientErrors=s||[],l.networkError=o||null,l.message=a||yU(l),l.extraInfo=c,l.cause=_n(_n(_n([o],r||[],!0),i||[],!0),s||[],!0).find(function(u){return!!u})||null,l.__proto__=t.prototype,l}return t})(Error);function wp(e){return new gt(function(t){t.error(e)})}var Jb=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r};function vU(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw Bn(58,i)}return e}function bU(e,t){var n=N({},e),r=function(s){typeof s=="function"?n=N(N({},n),s(n)):n=N(N({},n),s)},i=function(){return N({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:r}),Object.defineProperty(t,"getContext",{enumerable:!1,value:i}),t}function wU(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName=typeof t.query!="string"?zc(t.query)||void 0:""),t}function SU(e,t){var n=N({},e),r=new Set(Object.keys(e));return qr(t,{Variable:function(i,s,o){o&&o.kind!=="VariableDefinition"&&r.delete(i.name.value)}}),r.forEach(function(i){delete n[i]}),n}var EU=Symbol.for("apollo.deprecations"),TU=Jf,bm=new mc;function kU(e){return TU[EU]||(bm.getValue()||[]).includes(e)}function kn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return bm.withValue.apply(bm,_n([Array.isArray(e)?e:[e]],t,!1))}function jt(e,t,n,r){r===void 0&&(r="Please remove this option."),so(t,function(){t in e&&globalThis.__DEV__!==!1&&fe.warn(104,n,t,r)})}function so(e,t){kU(e)||t()}function G_(e,t){return t?t(e):gt.of()}function Pc(e){return typeof e=="function"?new Or(e):e}function Lu(e){return e.request.length<=1}var Or=(function(){function e(t){t&&(this.request=t)}return e.empty=function(){return new e(function(){return gt.of()})},e.from=function(t){return t.length===0?e.empty():t.map(Pc).reduce(function(n,r){return n.concat(r)})},e.split=function(t,n,r){var i=Pc(n),s=Pc(r||new e(G_)),o;return Lu(i)&&Lu(s)?o=new e(function(a){return t(a)?i.request(a)||gt.of():s.request(a)||gt.of()}):o=new e(function(a,c){return t(a)?i.request(a,c)||gt.of():s.request(a,c)||gt.of()}),Object.assign(o,{left:i,right:s})},e.execute=function(t,n){return t.request(bU(n.context,wU(vU(n))))||gt.of()},e.concat=function(t,n){var r=Pc(t);if(Lu(r))return globalThis.__DEV__!==!1&&fe.warn(47,r),r;var i=Pc(n),s;return Lu(i)?s=new e(function(o){return r.request(o,function(a){return i.request(a)||gt.of()})||gt.of()}):s=new e(function(o,a){return r.request(o,function(c){return i.request(c,a)||gt.of()})||gt.of()}),Object.assign(s,{left:r,right:i})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(G_)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(t,n){throw Bn(48)},e.prototype.onError=function(t,n){if(globalThis.__DEV__!==!1&&so("onError",function(){globalThis.__DEV__!==!1&&fe.warn(49)}),n&&n.error)return n.error(t),!1;throw t},e.prototype.setOnError=function(t){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&fe.warn(50),this.onError=t,this},e})(),xU=Or.from,CU=Or.split,wm=Or.execute;function L2(e){return new Or(function(t,n){return new gt(function(r){var i,s,o;
169try{i=n(t).subscribe({next:function(a){if(a.errors?o=e({graphQLErrors:a.errors,response:a,operation:t,forward:n}):Yb(a)&&(o=e({protocolErrors:a.extensions[dh],response:a,operation:t,forward:n})),o){s=o.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.next(a)},error:function(a){if(o=e({operation:t,networkError:a,graphQLErrors:a&&a.result&&a.result.errors||void 0,forward:n}),o){s=o.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.error(a)},complete:function(){o||r.complete.bind(r)()}})}catch(a){e({networkError:a,operation:t,forward:n}),r.error(a)}return function(){i&&i.unsubscribe(),s&&i.unsubscribe()}})})}(function(e){Ir(t,e);function t(n){var r=e.call(this)||this;return r.link=L2(n),r}return t.prototype.request=function(n,r){return this.link.request(n,r)},t})(Or);function Sm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function IU(e){if(Array.isArray(e))return e}function OU(e){if(Array.isArray(e))return Sm(e)}function AU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xb(e,t,n){return t=Xa(t),LU(e,e9()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function eu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,t9(r.key),r)}}function tu(e,t,n){return t&&RU(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function xi(e,t,n){return(t=t9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Em(){return Em=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=MU(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Em.apply(null,arguments)}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xa(e)}function Zb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tm(e,t)}function e9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(e9=function(){return!!e})()}function PU(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DU(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,o,a=[],c=!0,l=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(u){l=!0,i=u}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return a}}function NU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 170In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $U(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 171In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ho(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Q_(Object(n),!0).forEach(function(r){xi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function LU(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return AU(e)}function Tm(e,t){return Tm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Tm(e,t)}function K_(e,t){return IU(e)||DU(e,t)||n9(e,t)||NU()}function MU(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Xa(e))!==null;);return e}function mr(e,t,n,r){var i=Em(Xa(e.prototype),t,n);return 2&r&&typeof i=="function"?function(s){return i.apply(n,s)}:i}function FU(e){return OU(e)||PU(e)||n9(e)||$U()}function VU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function t9(e){var t=VU(e,"string");return typeof t=="symbol"?t:t+""}function km(e){"@babel/helpers - typeof";return km=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},km(e)}function n9(e,t){if(e){if(typeof e=="string")return Sm(e,t);var n={}.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)?Sm(e,t):void 0}}function r9(e,t,n){var r=n||{},i=r.noTrailing,s=i===void 0?!1:i,o=r.noLeading,a=o===void 0?!1:o,c=r.debounceMode,l=c===void 0?void 0:c,u,f=!1,d=0;function h(){u&&clearTimeout(u)}function p(g){var _=g||{},b=_.upcomingOnly,y=b===void 0?!1:b;h(),f=!y}function m(){for(var g=arguments.length,_=new Array(g),b=0;b<g;b++)_[b]=arguments[b];var y=this,v=Date.now()-d;if(f)return;function w(){d=Date.now(),t.apply(y,_)}function S(){u=void 0}!a&&l&&!u&&w(),h(),l===void 0&&v>e?a?(d=Date.now(),s||(u=setTimeout(l?S:w,e))):w():s!==!0&&(u=setTimeout(l?S:w,l===void 0?e-v:e))}return m.cancel=p,m}function UU(e,t,n){var r=n||{},i=r.atBegin,s=i===void 0?!1:i;return r9(e,t,{debounceMode:s!==!1})}
171var i9=Object.freeze({__proto__:null,debounce:UU,throttle:r9});function s9(e){return function(t,n){return e(n,t)}}var Y_=s9(i9.throttle),J_=s9(i9.debounce),xm=function(t,n){for(;typeof t=="function";)t=t.call(n);return t},Cm=function(t,n){return Object.entries(t).filter(function(r){var i=K_(r,1),s=i[0];return!n.includes(s)}).reduce(function(r,i){var s=K_(i,2),o=s[0],a=s[1];return r[o]=a,r},{})},X_=function(t){t.graphQLErrors&&t.graphQLErrors.length&&(t.gqlError=t.graphQLErrors[0])},ei=typeof window>"u",BU=["variables","watch","update","result","error","loadingKey","watchLoading","skip","throttle","debounce","subscribeToMore","prefetch","manual"],jU={query:"_skipAllQueries",subscription:"_skipAllSubscriptions"},o9=(function(){function e(t,n,r){eu(this,e),xi(this,"type",null),xi(this,"vueApolloSpecialKeys",[]),this.vm=t,this.key=n,this.initialOptions=r,this.options=Object.assign({},r),this._skip=!1,this._pollInterval=null,this._watchers=[],this._destroyed=!1,this.lastApolloOptions=null}return tu(e,[{key:"autostart",value:function(){var n=this;typeof this.options.skip=="function"?this._skipWatcher=this.vm.$watch(function(){return n.options.skip.call(n.vm,n.vm,n.key)},this.skipChanged.bind(this),{immediate:!0,deep:this.options.deep}):!this.options.skip&&!this.allSkip?this.start():this._skip=!0,typeof this.options.pollInterval=="function"&&(this._pollWatcher=this.vm.$watch(this.options.pollInterval.bind(this.vm),this.pollIntervalChanged.bind(this),{immediate:!0}))}},{key:"pollIntervalChanged",value:function(n,r){n!==r&&(this.pollInterval=n,n==null?this.stopPolling():this.startPolling(n))}},{key:"skipChanged",value:function(n,r){n!==r&&(this.skip=n)}},{key:"pollInterval",get:function(){return this._pollInterval},set:function(n){this._pollInterval=n}},{key:"skip",get:function(){return this._skip},set:function(n){n||this.allSkip?this.stop():this.start(),this._skip=n}},{key:"allSkip",get:function(){return this.vm.$apollo[jU[this.type]]}},{key:"refresh",value:function(){this._skip||(this.stop(),this.start())}},{key:"start",value:function(){var n=this;this.starting=!0;for(var r=function(){var c=s[i];if(typeof n.initialOptions[c]=="function"){var l=n.initialOptions[c].bind(n.vm);n.options[c]=l();var u=function(d){n._destroyed||(n.options[c]=d,n.refresh())};ei||(u=n.options.throttle?Y_(u,n.options.throttle):u,u=n.options.debounce?J_(u,n.options.debounce):u),n._watchers.push(n.vm.$watch(l,u,{deep:n.options.deep}))}},i=0,s=["query","document","context"];i<s.length;i++)r();if(typeof this.options.variables=="function"){var o=this.executeApollo.bind(this);ei||(o=this.options.throttle?Y_(o,this.options.throttle):o,o=this.options.debounce?J_(o,this.options.debounce):o),this._watchers.push(this.vm.$watch(function(){return typeof n.options.variables=="function"?n.options.variables.call(n.vm):n.options.variables},o,{immediate:!0,deep:this.options.deep}))}else this.executeApollo(this.options.variables)}},{key:"stop",value:function(){for(var n=0,r=this._watchers;n<r.length;n++){var i=r[n];i()}this.sub&&(this.sub.unsubscribe(),this.sub=null)}},{key:"generateApolloOptions",value:function(n){var r=Cm(this.options,this.vueApolloSpecialKeys);return r.variables=n,this.lastApolloOptions=r,r}},{key:"executeApollo",value:function(n){this.starting=!1}},{key:"nextResult",value:function(n){var r=n.error;r&&X_(r)}},{key:"callHandlers",value:function(n){for(var r=!1,i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];for(var a=0;a<n.length;a++){var c=n[a];if(c){r=!0;var l=c.apply(this.vm,s);if(typeof l<"u"&&!l)break}}return r}},{key:"errorHandler",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.callHandlers.apply(this,[[this.options.error,this.vm.$apollo.error,this.vm.$apollo.provider.errorHandler]].concat(r))}},{key:"catchError",value:function(n){X_(n);var r=this.errorHandler(n,this.vm,this.key,this.type,this.lastApolloOptions);if(!r)if(n.graphQLErrors&&n.graphQLErrors.length!==0){console.error("GraphQL execution errors for ".concat(this.type," '").concat(this.key,"'"));for(var i=0,s=n.graphQLErrors;i<s.length;i++){var o=s[i];console.error(o)}}else if(n.networkError)console.error("Error sending the ".concat(this.t
171ype," '").concat(this.key,"'"),n.networkError);else if(console.error("[vue-apollo] An error has occurred for ".concat(this.type," '").concat(this.key,"'")),Array.isArray(n)){var a;(a=console).error.apply(a,FU(n))}else console.error(n)}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.stop(),this._skipWatcher&&this._skipWatcher())}}])})(),zU=(function(e){function t(n,r,i){var s,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return eu(this,t),n.$data.$apolloData&&!n.$data.$apolloData.queries[r]&&(n.$data.$apolloData.queries[r]={loading:!1}),s=Xb(this,t,[n,r,i]),xi(s,"type","query"),xi(s,"vueApolloSpecialKeys",BU),xi(s,"_loading",!1),xi(s,"_linkedSubscriptions",[]),ei&&(s.firstRun=new Promise(function(a,c){s._firstRunResolve=a,s._firstRunReject=c})),ei&&(s.options.fetchPolicy="network-only"),i.manual||(s.hasDataField=Object.prototype.hasOwnProperty.call(s.vm.$data,r),s.hasDataField?Object.defineProperty(s.vm.$data.$apolloData.data,r,{get:function(){return s.vm.$data[r]},enumerable:!0,configurable:!0}):Object.defineProperty(s.vm.$data,r,{get:function(){return s.vm.$data.$apolloData.data[r]},enumerable:!0,configurable:!0})),o&&s.autostart(),s}return Zb(t,e),tu(t,[{key:"client",get:function(){return this.vm.$apollo.getClient(this.options)}},{key:"loading",get:function(){return this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]?this.vm.$data.$apolloData.queries[this.key].loading:this._loading},set:function(r){this._loading!==r&&(this._loading=r,this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]&&(this.vm.$data.$apolloData.queries[this.key].loading=r,this.vm.$data.$apolloData.loading+=r?1:-1))}},{key:"stop",value:function(){mr(t,"stop",this,3)([]),this.loadingDone(),this.observer&&(this.observer.stopPolling(),this.observer=null)}},{key:"generateApolloOptions",value:function(r){var i=mr(t,"generateApolloOptions",this,3)([r]);return this.vm.$isServer&&delete i.pollInterval,i}},{key:"executeApollo",value:function(r){if(!this._destroyed){var i=JSON.stringify(r);if(this.sub){if(i===this.previousVariablesJson)return;this.sub.unsubscribe();for(var s=0,o=this._linkedSubscriptions;s<o.length;s++){var a=o[s];a.stop()}}if(this.previousVariablesJson=i,this.observer=this.vm.$apollo.watchQuery(this.generateApolloOptions(r)),this.startQuerySubscription(),this.options.fetchPolicy!=="no-cache"||this.options.notifyOnNetworkStatusChange){var c=this.retrieveCurrentResult();(this.options.notifyOnNetworkStatusChange||this.observer.getCurrentResult&&!c.loading)&&this.nextResult(c)}mr(t,"executeApollo",this,3)([r]);for(var l=0,u=this._linkedSubscriptions;l<u.length;l++){var f=u[l];f.start()}}}},{key:"startQuerySubscription",value:function(){this.sub&&!this.sub.closed||(this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)}))}},{key:"retrieveCurrentResult",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult();return(r||i.loading)&&(this.loading||this.applyLoadingModifier(1),this.loading=!0),i}},{key:"nextResult",value:function(r){mr(t,"nextResult",this,3)([r]);var i=r.data,s=r.loading,o=r.error,a=r.errors,c=a&&a.length;if((o||c)&&this.firstRunReject(o),s||this.loadingDone(),!o&&c){var l=new Error("GraphQL error: ".concat(a.map(function(f){return f.message}).join(" | ")));Object.assign(l,{graphQLErrors:a,networkError:null}),mr(t,"catchError",this,3)([l])}if(!(this.observer.options.errorPolicy==="none"&&(o||c))){var u=typeof this.options.result=="function";i==null||(this.options.manual?u||console.error("".concat(this.key," query must have a 'result' hook in manual mode")):typeof this.options.update=="function"?this.setData(this.options.update.call(this.vm,i)):typeof i[this.key]>"u"&&Object.keys(i).length?console.error("Missing ".concat(this.key," attribute on result"),i):this.setData(i[this.key])),u&&this.options.result.call(this.vm,r,this.key)}}},{key:"setData",value:function(r){var i=this.hasDataField?this.vm.$data:this.vm.$data.$apolloData.data;i[this.key]=r}},{key:"catchError",value:function(r){mr(t,"catchError",this,3)([r]),this.firstRunReject(r),this.loadingDone(r),this.nextResult(this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult()),this.resubscribeToQuery()}},{key:"resubscribeToQuery",value:function(){var r=this.observer.getLastError(),i=this.observer.getLastResult();this.observer.resetLastResults(),this.startQuerySubscription(),Object.assign(this.observer,{lastError:r,lastResult:i})}},{key:"loadingKey",get:function(){return this.options.loadingKey||this.vm.$apollo.loadingKey}},{key:"watchLoading",value:function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return this.callHandlers.apply(this,[[this.options.watchLoading,this.vm.$apollo.watchLoading,this.vm.$apollo.provider.watchLoading]].concat(i,[this]))}},{key:"applyLoadingModifier",value:function(r){var i=this.loadingKey;i&&typeof this.vm[i]=="number"&&(this.vm[i]+=r),this.watchLoading(r===1,r)}},{key:"loadingDone",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.loading&&this.applyLoadingModifier(-1),this.loading=!1,r||this.firstRunResolve()}},{key:"fetchMore",value:function(){var r=this;if(this.observer){var i;return this.retrieveCurrentResult(!0),(i=this.observer).fetchMore.apply(i,arguments).then(function(s){return s.loading||r.loadingDone(),s})}}},{key:"subscribeToMore",value:function(){if(this.observer){var r;return{unsubscribe:(r=this.observer).subscribeToMore.apply(r,arguments)}}}},{key:"refetch",value:function(r){var i=this;if(r&&(this.options.variables=r),this.observer){var s=this.observer.refetch(r).then(function(o){return o.loading||i.loadingDone(),o});return this.retrieveCurrentResult(),s}}},{key:"setVariables",value:function(r,i){if(this.options.variables=r,this.observer){var s=this.observer.setVariables(r,
171i);return this.retrieveCurrentResult(),s}}},{key:"setOptions",value:function(r){if(Object.assign(this.options,r),this.observer){var i=this.observer.setOptions(r);return this.retrieveCurrentResult(),i}}},{key:"startPolling",value:function(){if(this.observer){var r;return(r=this.observer).startPolling.apply(r,arguments)}}},{key:"stopPolling",value:function(){if(this.observer){var r;return(r=this.observer).stopPolling.apply(r,arguments)}}},{key:"firstRunResolve",value:function(){this._firstRunResolve&&(this._firstRunResolve(),this._firstRunResolve=null)}},{key:"firstRunReject",value:function(r){this._firstRunReject&&(this._firstRunReject(r),this._firstRunReject=null)}},{key:"destroy",value:function(){mr(t,"destroy",this,3)([]),this.loading&&this.watchLoading(!1,-1),this.loading=!1}}])})(o9),HU=5,qU=500,WU=(function(e){function t(n,r,i){var s,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return eu(this,t),s=Xb(this,t,[n,r,i]),xi(s,"type","subscription"),xi(s,"vueApolloSpecialKeys",["variables","result","error","throttle","debounce","linkedQuery"]),s.attempts=0,o&&s.autostart(),s}return Zb(t,e),tu(t,[{key:"generateApolloOptions",value:function(r){var i=mr(t,"generateApolloOptions",this,3)([r]);return i.onError=this.catchError.bind(this),i}},{key:"executeApollo",value:function(r){if(!this._destroyed){var i=JSON.stringify(r);if(this.sub){if(i===this.previousVariablesJson)return;this.sub.unsubscribe()}this.previousVariablesJson=i;var s=this.generateApolloOptions(r);if(typeof s.updateQuery=="function"&&(s.updateQuery=s.updateQuery.bind(this.vm)),this.options.linkedQuery){if(typeof this.options.result=="function"){var o=this.options.result.bind(this.vm),a=s.updateQuery&&s.updateQuery.bind(this.vm);s.updateQuery=function(){return o.apply(void 0,arguments),a&&a.apply(void 0,arguments)}}this.sub=this.options.linkedQuery.subscribeToMore(s)}else this.observer=this.vm.$apollo.subscribe(s),this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)});mr(t,"executeApollo",this,3)([r])}}},{key:"nextResult",value:function(r){mr(t,"nextResult",this,3)([r]),this.attempts=0,typeof this.options.result=="function"&&this.options.result.call(this.vm,r,this.key)}},{key:"catchError",value:function(r){mr(t,"catchError",this,3)([r]),!(this.skip||this.attempts>=HU)&&(this.stop(),this.retryTimeout=setTimeout(this.start.bind(this),Math.pow(2,this.attempts)*qU),this.attempts++)}},{key:"stop",value:function(){mr(t,"stop",this,3)([]),clearTimeout(this.retryTimeout)}}])})(o9),GU=(function(){function e(t,n){eu(this,e),this._apolloSubscriptions=[],this._watchers=[],this.vm=t,this.provider=n,this.queries={},this.subscriptions={},this.client=void 0,this.loadingKey=void 0,this.error=void 0}return tu(e,[{key:"getClient",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!n||!n.client){if(km(this.client)==="object")return this.client;if(this.client)if(this.provider.clients){var r=this.provider.clients[this.client];if(!r)throw new Error("[vue-apollo] Missing client '".concat(this.client,"' in 'apolloProvider'"));return r}else throw new Error("[vue-apollo] Missing 'clients' options in 'apolloProvider'");return this.provider.defaultClient}var i=this.provider.clients[n.client];if(!i)throw new Error("[vue-apollo] Missing client '".concat(n.client,"' in 'apolloProvider'"));return i}},{key:"query",value:function(n){return this.getClient(n).query(n)}},{key:"watchQuery",value:function(n){var r=this,i=this.getClient(n).watchQuery(n),s=i.subscribe.bind(i);return i.subscribe=function(o){var a=s(o);return r._apolloSubscriptions.push(a),a},i}},{key:"mutate",value:function(n){return this.getClient(n).mutate(n)}},{key:"subscribe",value:function(n){var r=this;if(!ei){var i=this.getClient(n).subscribe(n),s=i.subscribe.bind(i);return i.subscribe=function(o){var a=s(o);return r._apolloSubscriptions.push(a),a},i}}},{key:"loading",get:function(){return this.vm.$data.$apolloData.loading!==0}},{key:"data",get:function(){return this.vm.$data.$apolloData.data}},{key:"addSmartQuery",value:function(n,r){var i=this,s=xm(r,this.vm);if(!s.query){var o=s;
171s={query:o}}var a=this.vm.$options.apollo,c=this.provider.defaultOptions,l;if(c&&c.$query&&(l=c.$query),a&&a.$query&&(l=Ho(Ho({},l||{}),a.$query)),l)for(var u in l)typeof s[u]>"u"&&(s[u]=l[u]);var f=this.queries[n]=new zU(this.vm,n,s,!1);if((!ei||s.prefetch!==!1)&&f.autostart(),!ei){var d=s.subscribeToMore;d&&(Array.isArray(d)?d.forEach(function(h,p){i.addSmartSubscription("".concat(n).concat(p),Ho(Ho({},h),{},{linkedQuery:f}))}):this.addSmartSubscription(n,Ho(Ho({},d),{},{linkedQuery:f})))}return f}},{key:"addSmartSubscription",value:function(n,r){if(!ei){r=xm(r,this.vm);var i=this.subscriptions[n]=new WU(this.vm,n,r,!1);if(i.autostart(),r.linkedQuery){var s=r.linkedQuery._linkedSubscriptions.findIndex(function(o){return o.key===n});s!==-1?r.linkedQuery._linkedSubscriptions[s]=i:r.linkedQuery._linkedSubscriptions.push(i)}return i}}},{key:"defineReactiveSetter",value:function(n,r,i){var s=this;this._watchers.push(this.vm.$watch(r,function(o){s[n]=o},{immediate:!0,deep:i}))}},{key:"skipAllQueries",set:function(n){this._skipAllQueries=n;for(var r in this.queries)this.queries[r].skip=n}},{key:"skipAllSubscriptions",set:function(n){this._skipAllSubscriptions=n;for(var r in this.subscriptions)this.subscriptions[r].skip=n}},{key:"skipAll",set:function(n){this.skipAllQueries=n,this.skipAllSubscriptions=n}},{key:"destroy",value:function(){for(var n=0,r=this._watchers;n<r.length;n++){var i=r[n];i()}for(var s in this.queries)this.queries[s].destroy();for(var o in this.subscriptions)this.subscriptions[o].destroy();this._apolloSubscriptions.forEach(function(a){a.unsubscribe()}),this._apolloSubscriptions=null,this.vm=null}}])})();function Sp(e,t){return typeof e<"u"&&Object.prototype.hasOwnProperty.call(e,t)}function QU(){var e=this,t=this.$apolloProvider;if(!(this._apolloLaunched||!t)){this._apolloLaunched=!0;var n=this.$options.apollo;if(n){this.$_apolloPromises=[],n.$init||(n.$init=!0,t.defaultOptions&&(n=this.$options.apollo=Object.assign({},t.defaultOptions,n))),Qs(this.$apollo,"skipAll",n.$skipAll,n.$deep),Qs(this.$apollo,"skipAllQueries",n.$skipAllQueries,n.$deep),Qs(this.$apollo,"skipAllSubscriptions",n.$skipAllSubscriptions,n.$deep),Qs(this.$apollo,"client",n.$client,n.$deep),Qs(this.$apollo,"loadingKey",n.$loadingKey,n.$deep),Qs(this.$apollo,"error",n.$error,n.$deep),Qs(this.$apollo,"watchLoading",n.$watchLoading,n.$deep),Object.defineProperty(this,"$apolloData",{get:function(){return e.$data.$apolloData},enumerable:!0,configurable:!0});for(var r in n)if(r.charAt(0)!=="$"){var i=n[r],s=this.$apollo.addSmartQuery(r,i);ei&&(i=xm(i,this),t.prefetch!==!1&&i.prefetch!==!1&&n.$prefetch!==!1&&!s.skip&&this.$_apolloPromises.push(s.firstRun))}if(n.subscribe&&console.warn("vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead."),n.$subscribe)for(var o in n.$subscribe)this.$apollo.addSmartSubscription(o,n.$subscribe[o])}}}function Qs(e,t,n,r){typeof n<"u"&&(typeof n=="function"?e.defineReactiveSetter(t,n,r):e[t]=n)}function Mu(){this.$apollo&&(this.$apollo.destroy(),this.$apollo=null)}function KU(e,t){e.mixin({data:function(){var r={$apolloData:{queries:{},loading:0,data:{}}},i=this.$options.apollo;if(i){for(var s in i)if(s.charAt(0)!=="$"){var o=i[s];!o.manual&&!Sp(this.$options.props,s)&&!Sp(this.$options.computed,s)&&!Sp(this.$options.methods,s)&&(r[s]=null)}}return r},beforeCreate:function(){var r=this;if(this.$apollo=new GU(this,t),ei){var i=this.$options.ssrRender;if(!i||i.__IS_VUE_APOLLO_WRAPPED)return;this.$options.ssrRender=function(s){var o=i.call(r,s);return Mu.call(r),o},this.$options.ssrRender.__IS_VUE_APOLLO_WRAPPED=!0}},serverPrefetch:function(){var r=this;if(this.$_apolloPromises)return Promise.all(this.$_apolloPromises).then(function(){var i={vm:r,provider:r.$apollo.provider,loading:!1,queries:{},subscriptions:{}};Mu.call(r),r.$apollo=i}).catch(function(i){return Mu.call(r),Promise.reject(i)})},created:QU,unmounted:Mu})}var Fu=["$subscribe"],YU=(function(){function e(t){if(eu(this,e),!t)throw new Error("Options argument required");this.clients=t.clients||{},t.defaultClient&&(this.clients.defaultClient=this.defaultClient=t.defaultClient),this.defaultOptions=t.defaultOptions,this.watchLoading=t.watchLoading,this.errorHandler=t.errorHandler,this.prefetch=t.prefetch}return tu(e,[{key:"install",value:function(n){n.config.optionMergeStrategies.apollo=function(r,i,s){if(!r)return i;if(!i)return r;for(var o=Object.assign({},Cm(r,Fu),r.data),a=Object.assign({},Cm(i,Fu),i.data),c={},l=0;l<Fu.length;l++){var u=Fu[l];
171c[u]=Z_(r[u],i[u])}return Object.assign(c,Z_(o,a))},n.config.globalProperties.$apolloProvider=this,KU(n,this)}}])})();function Z_(e,t){return e?Object.assign(Object.assign(Object.create(null),e),t):t}function JU(e){return new YU(e)}function a9(e,t,n){var r=n||{},i=r.noTrailing,s=i===void 0?!1:i,o=r.noLeading,a=o===void 0?!1:o,c=r.debounceMode,l=c===void 0?void 0:c,u,f=!1,d=0;function h(){u&&clearTimeout(u)}function p(g){var _=g||{},b=_.upcomingOnly,y=b===void 0?!1:b;h(),f=!y}function m(){for(var g=arguments.length,_=new Array(g),b=0;b<g;b++)_[b]=arguments[b];var y=this,v=Date.now()-d;if(f)return;function w(){d=Date.now(),t.apply(y,_)}function S(){u=void 0}!a&&l&&!u&&w(),h(),l===void 0&&v>e?a?(d=Date.now(),s||(u=setTimeout(l?S:w,e))):w():s!==!0&&(u=setTimeout(l?S:w,l===void 0?e-v:e))}return m.cancel=p,m}function XU(e,t,n){var r={},i=r.atBegin,s=i===void 0?!1:i;return a9(e,t,{debounceMode:s!==!1})}function ZU(e){var t,n=e[Symbol.asyncIterator]();return t={next:function(){return n.next()}},t[Symbol.asyncIterator]=function(){return this},t}function eB(e){var t=null,n=null,r=!1,i=[],s=[];function o(f){if(!n){if(s.length){var d=s.shift();if(Array.isArray(d)&&d[0])return d[0]({value:f,done:!1})}i.push(f)}}function a(f){n=f;var d=s.slice();d.forEach(function(h){h[1](f)}),!t||t()}function c(){r=!0;var f=s.slice();f.forEach(function(d){d[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",a),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",o),e.on("error",a),e.on("end",c),e.on("finish",c),e.on("close",c);function l(){return new Promise(function(f,d){if(n)return d(n);if(i.length)return f({value:i.shift(),done:!1});if(r)return f({value:void 0,done:!0});s.push([f,d])})}var u={next:function(){return l()}};return oh&&(u[Symbol.asyncIterator]=function(){return this}),u}function tB(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(r,i){e.then(function(s){r({value:s,done:!1})}).catch(i)}))}};return oh&&(n[Symbol.asyncIterator]=function(){return this}),n}function e5(e){var t={next:function(){return e.read()}};return oh&&(t[Symbol.asyncIterator]=function(){return this}),t}function nB(e){return!!e.body}function rB(e){return!!e.getReader}function iB(e){return!!(oh&&e[Symbol.asyncIterator])}function sB(e){return!!e.stream}function oB(e){return!!e.arrayBuffer}function aB(e){return!!e.pipe}function cB(e){var t=e;if(nB(e)&&(t=e.body),iB(t))return ZU(t);if(rB(t))return e5(t.getReader());if(sB(t))return e5(t.stream().getReader());if(oB(t))return tB(t.arrayBuffer());if(aB(t))return eB(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var t5=Object.prototype.hasOwnProperty;function lB(e,t){return fs(this,void 0,void 0,function(){var n,r,i,s,o,a,c,l,u,f,d,h,p,m,g,_,b,y,v,w,S,O,A,k;return ds(this,function(R){switch(R.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=(k=e.headers)===null||k===void 0?void 0:k.get("content-type"),i="boundary=",s=r?.includes(i)?r?.substring(r?.indexOf(i)+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",o=`\r 172--`.concat(s),a="",c=cB(e),l=!0,R.label=1;case 1:return l?[4,c.next()]:[3,3];case 2:for(u=R.sent(),f=u.value,d=u.done,h=typeof f=="string"?f:n.decode(f),p=a.length-o.length+1,l=!d,a+=h,m=a.indexOf(o,p);m>-1;){if(g=void 0,O=[a.slice(0,m),a.slice(m+o.length)],g=O[0],a=O[1],_=g.indexOf(`\r 173\r 174`),b=uB(g.slice(0,_)),y=b["content-type"],y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(v=g.slice(_),v){if(w=c9(e,v),Object.keys(w).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if(_U(w)){if(S={},"payload"in w){if(Object.keys(w).length===1&&w.payload===null)return[2];S=N({},w.payload)}"errors"in w&&(S=N(N({},S),{extensions:N(N({},"extensions"in S?S.extensions:null),(A={},A[dh]=w.errors,A))})),t(S)}else t(w);else if(Object.keys(w).length===1&&"hasNext"in w&&!w.hasNext)return[2]}m=a.indexOf(o)}return[3,1];case 3:return[2]}})})}function uB(e){var t={};return e.split(` 175`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),s=n.slice(r+1).trim();t[i]=s}}),t}function c9(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Jb(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function fB(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function dB(e){return function(t){return t.text().then(function(n){return c9(t,n)}).then(function(n){return!Array.isArray(n)&&!t5.call(n,"data")&&!t5.call(n,"errors")&&Jb(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Im=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=Bn(54,t,i.message);throw r.parseError=i,r}return n},hB={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},pB={accept:"*/*","content-type":"application/json"},mB={method:"POST"},gB={http:hB,headers:pB,options:mB},_B=function(e,t){return t(e)};function yB(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},s={};
175n.forEach(function(f){i=N(N(N({},i),f.options),{headers:N(N({},i.headers),f.headers)}),f.credentials&&(i.credentials=f.credentials),s=N(N({},s),f.http)}),i.headers&&(i.headers=vB(i.headers,s.preserveHeaderCase));var o=e.operationName,a=e.extensions,c=e.variables,l=e.query,u={operationName:o,variables:c};return s.includeExtensions&&(u.extensions=a),s.includeQuery&&(u.query=t(l,ys)),{options:i,body:u}}function vB(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(s){n[s.toLowerCase()]=e[s]}),n}var r={};Object.keys(Object(e)).forEach(function(s){r[s.toLowerCase()]={originalName:s,value:e[s]}});var i={};return Object.keys(r).forEach(function(s){i[r[s].originalName]=r[s].value}),i}var bB=function(e){if(!e&&typeof fetch>"u")throw Bn(51)},wB=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function SB(e,t){var n=[],r=function(f,d){n.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Im(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var s=void 0;try{s=Im(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",s)}var o="",a=e,c=e.indexOf("#");c!==-1&&(o=e.substr(c),a=e.substr(0,c));var l=a.indexOf("?")===-1?"?":"&",u=a+l+n.join("&")+o;return{newURI:u}}var n5=Nr(function(){return fetch}),M2=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,s=i===void 0?_B:i,o=e.includeExtensions,a=e.preserveHeaderCase,c=e.useGETForQueries,l=e.includeUnusedVariables,u=l===void 0?!1:l,f=ii(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&bB(r||n5);var d={http:{includeExtensions:o,preserveHeaderCase:a},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new Or(function(h){var p=wB(h,n),m=h.getContext(),g={};if(m.clientAwareness){var _=m.clientAwareness,b=_.name,y=_.version;b&&(g["apollographql-client-name"]=b),y&&(g["apollographql-client-version"]=y)}var v=N(N({},g),m.headers),w={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:v};if(Al(["client"],h.query)){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&fe.warn(52);var S=zb(h.query);if(!S)return wp(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));h.query=S}var O=yB(h,s,gB,d,w),A=O.options,k=O.body;k.variables&&!u&&(k.variables=SU(k.variables,h.query));var R;!A.signal&&typeof AbortController<"u"&&(R=new AbortController,A.signal=R.signal);var M=function(le){return le.kind==="OperationDefinition"&&le.operation==="mutation"},D=function(le){return le.kind==="OperationDefinition"&&le.operation==="subscription"},$=D(pc(h.query)),U=Al(["defer"],h.query);if(c&&!h.query.definitions.some(M)&&(A.method="GET"),U||$){A.headers=A.headers||{};var J="multipart/mixed;";$&&U&&globalThis.__DEV__!==!1&&fe.warn(53),$?J+="boundary=graphql;subscriptionSpec=1.0,application/json":U&&(J+="deferSpec=20220824,application/json"),A.headers.accept=J}if(A.method==="GET"){var V=SB(p,k),W=V.newURI,Q=V.parseError;if(Q)return wp(Q);p=W}else try{A.body=Im(k,"Payload")}catch(le){return wp(le)}return new gt(function(le){var ie=r||Nr(function(){return fetch})||n5,Ce=le.next.bind(le);return ie(p,A).then(function(Re){var vt;h.setContext({response:Re});var Dt=(vt=Re.headers)===null||vt===void 0?void 0:vt.get("content-type");return Dt!==null&&/^multipart\/mixed/i.test(Dt)?lB(Re,Ce):dB(h)(Re).then(Ce)}).then(function(){R=void 0,le.complete()}).catch(function(Re){R=void 0,fB(Re,le)}),function(){R&&R.abort()}})})},EB=(function(e){Ir(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,M2(n).request)||this;return r.options=n,r}return t})(Or);const{toString:r5,hasOwnProperty:TB}=Object.prototype,i5=Function.prototype.toString,Om=new Map;function St(e,t){try{return Am(e,t)}finally{Om.clear()}}function Am(e,t){if(e===t)return!0;const n=r5.call(e),r=r5.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(o5(e,t))return!0;const i=s5(e),s=s5(t),o=i.length;if(o!==s.length)return!1;for(let a=0;a<o;++a)if(!TB.call(t,i[a]))return!1;for(let a=0;a<o;++a){const c=i[a];if(!Am(e[c],t[c]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(o5(e,t))return!0;const i=e.entries(),s=n==="[object Map]";for(;;){const o=i.next();if(o.done)break;const[a,c]=o.value;if(!t.has(a)||s&&!Am(c,t.get(a)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let i=e.byteLength;if(i===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=i5.call(e);return i!==i5.call(t)?!1:!CB(i,xB)}}return!1}function s5(e){return Object.keys(e).filter(kB,e)}function kB(e){return this[e]!==void 0}const xB="{ [native code] }";function CB(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function o5(e,t){let n=Om.get(e);if(n){if(n.has(t))return!0}else Om.set(e,n=new Set);return n.add(t),!1}function l9(e,t,n,r){var i=t.data,s=ii(t,["data"]),o=n.data,a=ii(n,["data"]);return St(s,a)&&cf(pc(e).selectionSet,i,o,{fragmentMap:fc(hc(e)),variables:r})}function cf(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every(function(s){if(i.has(s)||(i.add(s),!Zl(s,r.variables))||a5(s))return!0;
175if(Ns(s)){var o=zi(s),a=t&&t[o],c=n&&n[o],l=s.selectionSet;if(!l)return St(a,c);var u=Array.isArray(a),f=Array.isArray(c);if(u!==f)return!1;if(u&&f){var d=a.length;if(c.length!==d)return!1;for(var h=0;h<d;++h)if(!cf(l,a[h],c[h],r))return!1;return!0}return cf(l,a,c,r)}else{var p=ah(s,r.fragmentMap);if(p)return a5(p)?!0:cf(p.selectionSet,t,n,r)}})}function a5(e){return!!e.directives&&e.directives.some(IB)}function IB(e){return e.name.value==="nonreactive"}var u9=Lo?WeakMap:Map,f9=k2?WeakSet:Set,F2=new mc,c5=!1;function d9(){c5||(c5=!0,globalThis.__DEV__!==!1&&fe.warn(64))}function h9(e,t,n){return F2.withValue(!0,function(){var r=Hc(e,t,n,!1);return Object.isFrozen(e)&&ed(r),r})}function OB(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}function Hc(e,t,n,r,i){var s,o=n.knownChanged,a=OB(e,n.mutableTargets);if(Array.isArray(e)){for(var c=0,l=Array.from(e.entries());c<l.length;c++){var u=l[c],f=u[0],d=u[1];if(d===null){a[f]=null;continue}var h=Hc(d,t,n,r,globalThis.__DEV__!==!1?"".concat(i||"","[").concat(f,"]"):void 0);o.has(h)&&o.add(a),a[f]=h}return o.has(a)?a:e}for(var p=0,m=t.selections;p<m.length;p++){var g=m[p],_=void 0;if(r&&o.add(a),g.kind===oe.FIELD){var b=zi(g),y=g.selectionSet;if(_=a[b]||e[b],_===void 0)continue;if(y&&_!==null){var h=Hc(e[b],y,n,r,globalThis.__DEV__!==!1?"".concat(i||"",".").concat(b):void 0);o.has(h)&&(_=h)}globalThis.__DEV__===!1&&(a[b]=_),globalThis.__DEV__!==!1&&(r&&b!=="__typename"&&!(!((s=Object.getOwnPropertyDescriptor(a,b))===null||s===void 0)&&s.value)?Object.defineProperty(a,b,AB(b,_,i||"",n.operationName,n.operationType)):(delete a[b],a[b]=_))}if(g.kind===oe.INLINE_FRAGMENT&&(!g.typeCondition||n.cache.fragmentMatches(g,e.__typename))&&(_=Hc(e,g.selectionSet,n,r,i)),g.kind===oe.FRAGMENT_SPREAD){var v=g.name.value,w=n.fragmentMap[v]||(n.fragmentMap[v]=n.cache.lookupFragment(v));fe(w,59,v);var S=tV(g);S!=="mask"&&(_=Hc(e,w.selectionSet,n,S==="migrate",i))}o.has(_)&&o.add(a)}return"__typename"in e&&!("__typename"in a)&&(a.__typename=e.__typename),Object.keys(a).length!==Object.keys(e).length&&o.add(a),o.has(a)?a:e}function AB(e,t,n,r,i){var s=function(){return F2.getValue()||(globalThis.__DEV__!==!1&&fe.warn(60,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),s=function(){return t}),t};return{get:function(){return s()},set:function(o){s=function(){return o}},enumerable:!0,configurable:!0}}function p9(e,t,n,r){if(!n.fragmentMatches)return globalThis.__DEV__!==!1&&d9(),e;var i=t.definitions.filter(function(o){return o.kind===oe.FRAGMENT_DEFINITION});typeof r>"u"&&(fe(i.length===1,61,i.length),r=i[0].name.value);var s=i.find(function(o){return o.name.value===r});return fe(!!s,62,r),e==null||St(e,{})?e:h9(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:fc(hc(t)),cache:n,mutableTargets:new u9,knownChanged:new f9})}function RB(e,t,n){var r;if(!n.fragmentMatches)return globalThis.__DEV__!==!1&&d9(),e;var i=xo(t);return fe(i,63),e==null?e:h9(e,i.selectionSet,{operationType:i.operation,operationName:(r=i.name)===null||r===void 0?void 0:r.value,fragmentMap:fc(hc(t)),cache:n,mutableTargets:new u9,knownChanged:new f9})}var m9=(function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Pl(aV,{max:ji["cache.fragmentQueryDocuments"]||1e3,cache:Xf})}return e.prototype.lookupFragment=function(t){return null},e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){var r=this;return n===void 0&&(n=!!t.optimistic),globalThis.__DEV__!==!1&&jt(t,"canonizeResults","cache.readQuery"),kn("canonizeResults",function(){return r.read(N(N({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))})},e.prototype.watchFragment=function(t){var n=this,r=t.fragment,i=t.fragmentName,s=t.from,o=t.optimistic,a=o===void 0?!0:o,c=ii(t,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(r,i),u=typeof s>"u"||typeof s=="string"?s:this.identify(s),f=!!t[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var d=i||Ib(r).name.value;u||globalThis.__DEV__!==!1&&fe.warn(1,d)}var h=N(N({},c),{returnPartialData:!0,id:u,query:l,optimistic:a}),p;return new gt(function(m){return n.watch(N(N({},h),{immediate:!0,callback:function(g){var _=f?p9(g.result,r,n,i):g.result;if(!(p&&l9(l,{data:p.result},{data:_},t.variables))){var b={data:_,complete:!!g.complete};g.missing&&(b.missing=fh(g.missing.map(function(y){return y.missing}))),p=N(N({},g),{result:_}),m.next(b)}}}))})},e.prototype.readFragment=function(t,n){var r=this;return n===void 0&&(n=!!t.optimistic),globalThis.__DEV__!==!1&&jt(t,"canonizeResults","cache.readFragment"),kn("canonizeResults",function(){return r.read(N(N({},t),{query:r.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))})},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=ii(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,s=t.fragmentName,o=ii(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,s),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return globalThis.__DEV__!==!1&&jt(t,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var i=kn("canonizeResults",function(){return r.readQuery(t)}),s=n(i);return s==null?i:(r.writeQuery(N(N({},t),{data:s})),s)}})},e.prototype.updateFragment=function(t,n){return globalThis.__DEV__!==!1&&jt(t,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var i=kn("canonizeResults",function(){return r.readFragment(t)}),s=n(i);return s==null?i:(r.writeFragment(N(N({},t),{data:s})),s)}})},e})();globalThis.__DEV__!==!1&&(m9.prototype.getMemoryInternals=vV);var g9=(function(e){Ir(t,e);function t(n,r,i,s){var o,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=s,Array.isArray(a.path)){a.missing=a.message;for(var c=a.path.length-1;c>=0;--c)a.missing=(o={},o[a.path[c]]=a.missing,o)}else a.missing=a.path;return a.__proto__=t.prototype,a}return t})(Error),an=Object.prototype.hasOwnProperty;function Dc(e){return e==null}function _9(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=Dc(r)?Dc(i)?void 0:{_id:i}:{id:r}),Dc(r)&&!Dc(i)&&(r=i),!Dc(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var y9={dataIdFromObject:_9,addTypename:!0,resultCaching:!0,canonizeResults:!1};function PB(e){return Ja(y9,e)}function v9(e){var t=e.canonizeResults;return t===void 0?y9.canonizeResults:t}function DB(e,t){return ht(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var b9=/^[_a-z][_0-9a-z]*/i;function Ms(e){var t=e.match(b9);return t?t[0]:e}function Rm(e,t,n){return Ot(t)?Mt(t)?t.every(function(r){return Rm(e,r,n)}):e.selections.every(function(r){if(Ns(r)&&Zl(r,n)){var i=zi(r);return an.call(t,i)&&(!r.selectionSet||Rm(r.selectionSet,t[i],n))}return!0}):!1}function la(e){return Ot(e)&&!ht(e)&&!Mt(e)}function NB(){return new Ls}function w9(e,t){var n=fc(hc(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var lf=Object.create(null),Ep=function(){return lf},l5=Object.create(null),Dl=(function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,s){return ed(ht(i)?r.get(i.__ref,s):i&&i[s])},this.canRead=function(i){return ht(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return Ta(i);if(ht(i))return i;var o=r.policies.identify(i)[0];if(o){var a=Ta(o);return s&&r.merge(o,i),a}}}return e.prototype.toObject=function(){return N({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),an.call(this.data,t)){var r=this.data[t];if(r&&an.call(r,n))return r[n]}if(n==="__typename"&&an.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof rs)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),an.call(this.data,t))return this.data[t];if(this instanceof rs)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;ht(t)&&(t=t.__ref),ht(n)&&(n=n.__ref);var s=typeof t=="string"?this.lookup(i=t):t,o=typeof n=="string"?this.lookup(i=n):n;
175if(o){fe(typeof i=="string",2);var a=new Ls(LB).merge(s,o);if(this.data[i]=a,a!==s&&(delete this.refs[i],this.group.caching)){var c=Object.create(null);s||(c.__exists=1),Object.keys(o).forEach(function(l){if(!s||s[l]!==a[l]){c[l]=1;var u=Ms(l);u!==l&&!r.policies.hasKeyArgs(a.__typename,u)&&(c[u]=1),a[l]===void 0&&!(r instanceof rs)&&delete a[l]}}),c.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===a.__typename&&delete c.__typename,Object.keys(c).forEach(function(l){return r.group.dirty(i,l)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var s=Object.create(null),o=!1,a=!0,c={DELETE:lf,INVALIDATE:l5,isReference:ht,toReference:this.toReference,canRead:this.canRead,readField:function(l,u){return r.policies.readField(typeof l=="string"?{fieldName:l,from:u||Ta(t)}:l,{store:r})}};if(Object.keys(i).forEach(function(l){var u=Ms(l),f=i[l];if(f!==void 0){var d=typeof n=="function"?n:n[l]||n[u];if(d){var h=d===Ep?lf:d(ed(f),N(N({},c),{fieldName:u,storeFieldName:l,storage:r.getStorage(t,l)}));if(h===l5)r.group.dirty(t,l);else if(h===lf&&(h=void 0),h!==f&&(s[l]=h,o=!0,f=h,globalThis.__DEV__!==!1)){var p=function(w){if(r.lookup(w.__ref)===void 0)return globalThis.__DEV__!==!1&&fe.warn(3,w),!0};if(ht(h))p(h);else if(Array.isArray(h))for(var m=!1,g=void 0,_=0,b=h;_<b.length;_++){var y=b[_];if(ht(y)){if(m=!0,p(y))break}else if(typeof y=="object"&&y){var v=r.policies.identify(y)[0];v&&(g=y)}if(m&&g!==void 0){globalThis.__DEV__!==!1&&fe.warn(4,g);break}}}}f!==void 0&&(a=!1)}}),o)return this.merge(t,s),a&&(this instanceof rs?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,s=this.lookup(t);if(s){var o=this.getFieldValue(s,"__typename"),a=n&&r?this.policies.getStoreFieldName({typename:o,fieldName:n,args:r}):n;return this.modify(t,a?(i={},i[a]=Ep,i):Ep)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(an.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof rs&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){an.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(s){t&&an.call(t,s)||n.delete(s)}),t){var r=t.__META,i=ii(t,["__META"]);
175Object.keys(i).forEach(function(s){n.merge(s,i[s])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof rs?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(o){an.call(r,o)&&(Object.keys(t.findChildRefIds(o)).forEach(n.add,n),delete r[o])});var i=Object.keys(r);if(i.length){for(var s=this;s instanceof rs;)s=s.parent;i.forEach(function(o){return s.delete(o)})}return i},e.prototype.findChildRefIds=function(t){if(!an.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(s){ht(s)&&(n[s.__ref]=!0),Ot(s)&&Object.keys(s).forEach(function(o){var a=s[o];Ot(a)&&i.add(a)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e})(),S9=(function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Vb():null,this.keyMaker=new Ki(Lo)}
175,e.prototype.depend=function(t,n){if(this.d){this.d(Tp(t,n));var r=Ms(n);r!==n&&this.d(Tp(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Tp(t,n),n==="__exists"?"forget":"setDirty")},e})();function Tp(e,t){return t+"#"+e}function u5(e,t){rl(e)&&e.group.depend(t,"__exists")}(function(e){var t=(function(n){Ir(r,n);function r(i){var s=i.policies,o=i.resultCaching,a=o===void 0?!0:o,c=i.seed,l=n.call(this,s,new S9(a))||this;return l.stump=new $B(l),l.storageTrie=new Ki(Lo),c&&l.replace(c),l}return r.prototype.addLayer=function(i,s){return this.stump.addLayer(i,s)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r})(e);e.Root=t})(Dl||(Dl={}));var rs=(function(e){Ir(t,e);function t(n,r,i,s){var o=e.call(this,r.policies,s)||this;return o.id=n,o.parent=r,o.replay=i,o.group=s,i(o),o}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var o=r.data[s],a=i.lookup(s);a?o?o!==a&&Object.keys(o).forEach(function(c){St(o[c],a[c])||r.group.dirty(s,c)}):(r.group.dirty(s,"__exists"),Object.keys(a).forEach(function(c){r.group.dirty(s,c)})):r.delete(s)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return N(N({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return an.call(this.data,n)?N(N({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t})(Dl),$B=(function(e){Ir(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new S9(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(n,r){return this.parent.merge(n,r)},t})(rs);function LB(e,t,n){var r=e[n],i=t[n];return St(r,i)?r:i}function rl(e){return!!(e instanceof Dl&&e.group.caching)}var Vu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function MB(e){return Ot(e)?Mt(e)?e.slice(0):N({__proto__:Object.getPrototypeOf(e)},e):e}var f5=(function(){function e(){this.known=new(k2?WeakSet:Set),this.pool=new Ki(Lo),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return Ot(t)&&this.known.has(t)},e.prototype.pass=function(t){if(Ot(t)){var n=MB(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(Ot(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var s=t.map(this.admit,this),o=this.pool.lookupArray(s);return o.array||(this.known.add(o.array=s),globalThis.__DEV__!==!1&&Object.freeze(s)),o.array}case null:case Object.prototype:{if(this.known.has(t))return t;var a=Object.getPrototypeOf(t),c=[a],l=this.sortedKeys(t);c.push(l.json);var u=c.length;l.sorted.forEach(function(h){c.push(n.admit(t[h]))});var o=this.pool.lookupArray(c);if(!o.object){var f=o.object=Object.create(a);this.known.add(f),l.sorted.forEach(function(h,p){f[h]=c[u+p]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return o.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e})();function d5(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var FB=(function(){function e(t){var n=this;this.knownResults=new(Lo?WeakMap:Map),this.config=Ja(t,{addTypename:t.addTypename!==!1,canonizeResults:v9(t)}),this.canon=t.canon||new f5,this.executeSelectionSet=Pl(function(r){var i,s=r.context.canonizeResults,o=d5(r);o[3]=!s;var a=(i=n.executeSelectionSet).peek.apply(i,o);return a?s?N(N({},a),{result:n.canon.admit(a.result)}):a:(u5(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize||ji["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:d5,makeCacheKey:function(r,i,s,o){if(rl(s.store))return s.store.makeCacheKey(r,ht(i)?i.__ref:i,s.varString,o)}}),this.executeSubSelectedArray=Pl(function(r){return u5(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize||ji["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(r){var i=r.field,s=r.array,o=r.context;if(rl(o.store))return o.store.makeCacheKey(i,s,o.varString)}})}return e.prototype.resetCanon=function(){this.canon=new f5},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,s=i===void 0?"ROOT_QUERY":i,o=t.variables,a=t.returnPartialData,c=a===void 0?!0:a,l=t.canonizeResults,u=l===void 0?this.config.canonizeResults:l,f=this.config.cache.policies;o=N(N({},x2(Cb(r))),o);var d=Ta(s),h=this.executeSelectionSet({selectionSet:pc(r).selectionSet,objectOrReference:d,enclosingRef:d,context:N({store:n,query:r,policies:f,variables:o,varString:Ts(o),canonizeResults:u},w9(r,this.config.fragments))}),p;if(h.missing&&(p=[new g9(VB(h.missing),h.missing,r,o)],!c))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(t,n,r,i){if(rl(i.store)&&this.knownResults.get(t)===r){var s=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(s&&t===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,s=t.enclosingRef,o=t.context;if(ht(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var a=o.variables,c=o.policies,l=o.store,u=l.getFieldValue(i,"__typename"),f=[],d,h=new Ls;this.config.addTypename&&typeof u=="string"&&!c.rootIdsByTypename[u]&&f.push({__typename:u});function p(y,v){var w;return y.missing&&(d=h.merge(d,(w={},w[v]=y.missing,w))),y.result}var m=new Set(r.selections);m.forEach(function(y){var v,w;if(Zl(y,a))if(Ns(y)){var S=c.readField({fieldName:y.name.value,field:y,variables:o.variables,from:i},o),O=zi(y);S===void 0?A2.added(y)||(d=h.merge(d,(v={},v[O]="Can't find field '".concat(y.name.value,"' on ").concat(ht(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),v))):Mt(S)?S.length>0&&(S=p(n.executeSubSelectedArray({field:y,array:S,enclosingRef:s,context:o}),O)):y.selectionSet?S!=null&&(S=p(n.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:S,enclosingRef:ht(S)?S:s,context:o}),O)):o.canonizeResults&&(S=n.canon.pass(S)),S!==void 0&&f.push((w={},w[O]=S,w))}else{var A=ah(y,o.lookupFragment);if(!A&&y.kind===oe.FRAGMENT_SPREAD)throw Bn(10,y.name.value);A&&c.fragmentMatches(A,u)&&A.selectionSet.selections.forEach(m.add,m)}});var g=fh(f),_={result:g,missing:d},b=o.canonizeResults?this.canon.admit(_):ed(_);return b.result&&this.knownResults.set(b.result,r),b},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,s=t.enclosingRef,o=t.context,a,c=new Ls;function l(u,f){var d;return u.missing&&(a=c.merge(a,(d={},d[f]=u.missing,d))),u.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(u,f){return u===null?null:Mt(u)?l(n.executeSubSelectedArray({field:r,array:u,enclosingRef:s,context:o}),f):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:u,enclosingRef:ht(u)?u:s,context:o}),f):(globalThis.__DEV__!==!1&&UB(o.store,r,u),u)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:a}},e})();function VB(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function UB(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){Ot(i)&&(fe(!ht(i),11,DB(e,i),t.name.value),Object.values(i).forEac
175h(r.add,r))})}}var U2=new mc,h5=new WeakMap;function il(e){var t=h5.get(e);return t||h5.set(e,t={vars:new Set,dep:Vb()}),t}function p5(e){il(e).vars.forEach(function(t){return t.forgetCache(e)})}function BB(e){il(e).vars.forEach(function(t){return t.attachCache(e)})}function jB(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(c){il(c).dep.dirty(r),zB(c)});var o=Array.from(n);n.clear(),o.forEach(function(c){return c(e)})}}else{var a=U2.getValue();a&&(i(a),il(a).dep(r))}return e};r.onNextChange=function(s){return n.add(s),function(){n.delete(s)}};var i=r.attachCache=function(s){return t.add(s),il(s).vars.add(r),r};return r.forgetCache=function(s){return t.delete(s)},r}function zB(e){e.broadcastWatches&&e.broadcastWatches()}var m5=Object.create(null);function B2(e){var t=JSON.stringify(e);return m5[t]||(m5[t]=Object.create(null))}function g5(e){var t=B2(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(o,a){return r.readField(a,o)},s=r.keyObject=j2(e,function(o){var a=xa(r.storeObject,o,i);return a===void 0&&n!==r.storeObject&&an.call(n,o[0])&&(a=xa(n,o,T9)),fe(a!==void 0,5,o.join("."),n),a});return"".concat(r.typename,":").concat(JSON.stringify(s))})}function _5(e){var t=B2(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,s=r.variables,o=r.fieldName,a=j2(e,function(l){var u=l[0],f=u.charAt(0);if(f==="@"){if(i&&ai(i.directives)){var d=u.slice(1),h=i.directives.find(function(_){return _.name.value===d}),p=h&&ch(h,s);return p&&xa(p,l.slice(1))}return}if(f==="$"){var m=u.slice(1);if(s&&an.call(s,m)){var g=l.slice(0);return g[0]=m,xa(s,g)}return}if(n)return xa(n,l)}),c=JSON.stringify(a);return(n||c!=="{}")&&(o+=":"+c),o})}function j2(e,t){var n=new Ls;return E9(e).reduce(function(r,i){var s,o=t(i);if(o!==void 0){for(var a=i.length-1;a>=0;--a)o=(s={},s[i[a]]=o,s);r=n.merge(r,o)}return r},Object.create(null))}function E9(e){var t=B2(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,s){Mt(i)?(E9(i).forEach(function(o){return n.push(r.concat(o))}),r.length=0):(r.push(i),Mt(e[s+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function T9(e,t){return e[t]}function xa(e,t,n){return n=n||T9,k9(t.reduce(function r(i,s){return Mt(i)?i.map(function(o){return r(o,s)}):i&&n(i,s)},e))}function k9(e){return Ot(e)?Mt(e)?e.map(k9):j2(Object.keys(e).sort(),function(t){return xa(e,t)}):e}function Pm(e){return e.args!==void 0?e.args:e.field?ch(e.field,e.variables):null}var HB=function(){},y5=function(e,t){return t.fieldName},v5=function(e,t,n){var r=n.mergeObjects;return r(e,t)},b5=function(e,t){return t},qB=(function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=N({dataIdFromObject:_9},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,s=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var o=n&&n.storeObject||t,a=N(N({},n),{typename:s,storeObject:o,readField:n&&n.readField||function(){var f=z2(arguments,o);return i.readField(f,{store:i.cache.data,variables:f.variables})}}),c,l=s&&this.getTypePolicy(s),u=l&&l.keyFn||this.config.dataIdFromObject;return F2.withValue(!0,function(){for(;u;){var f=u(N(N({},t),o),a);if(Mt(f))u=g5(f);else{c=f;break}}}),c=c?String(c):void 0,a.keyObject?[c,a.keyObject]:[c]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,c=ii(i,["queryType","mutationType","subscriptionType"]);s&&n.setRootTypename("Query",r),o&&n.setRootTypename("Mutation",r),a&&n.setRootTypename("Subscription",r),an.call(n.toBeAdded,r)?n.toBeAdded[r].push(c):n.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(t,n,r){var i=this.getTypePolicy(t),s=n.keyFields,o=n.fields;function a(c,l){c.merge=typeof l=="function"?l:l===!0?v5:l===!1?b5:c.merge}a(i,n.merge),i.keyFn=s===!1?HB:Mt(s)?g5(s):typeof s=="function"?s:i.keyFn,o&&Object.keys(o).forEac
175h(function(c){var l=r[c];(!l||l?.typename!==t)&&(l=r[c]={typename:t});var u=o[c];if(typeof u=="function")l.read=u;else{var f=u.keyArgs,d=u.read,h=u.merge;l.keyFn=f===!1?y5:Mt(f)?_5(f):typeof f=="function"?f:l.keyFn,typeof d=="function"&&(l.read=d),a(l,h)}l.read&&l.merge&&(l.keyFn=l.keyFn||y5)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(fe(!i||i===t,6,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var s=i.match(b9);(!s||s[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!an.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(o,a){if(o.test(t)){var c=n.supertypeMap.get(a);c&&c.forEach(function(l){return i.add(l)})}})),i&&i.size&&i.forEach(function(o){var a=n.getTypePolicy(o),c=a.fields,l=ii(a,["fields"]);Object.assign(r,l),Object.assign(r.fields,c)})}var s=this.toBeAdded[t];return s&&s.length&&s.splice(0).forEach(function(o){n.updateTypePolicy(t,o,n.typePolicies[t].fields)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n){if(t)return this.getTypePolicy(t).fields[n]},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var s=this;if(!t.typeCondition)return!0;if(!n)return!1;var o=t.typeCondition.name.value;if(n===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(n,!0),c=[a],l=function(p){var m=s.getSupertypeSet(p,!1);m&&m.size&&c.indexOf(m)<0&&c.push(m)},u=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d<c.length;++d){var h=c[d];if(h.has(o))return a.has(o)||(f&&globalThis.__DEV__!==!1&&fe.warn(7,n,o),a.add(o)),!0;h.forEach(l),u&&d===c.length-1&&Rm(t.selectionSet,r,i)&&(u=!1,f=!0,this.fuzzySubtypes.forEach(function(p,m){var g=n.match(p);g&&g[0]===n&&l(m)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r),s,o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:t.field||null,variables:t.variables},c=Pm(t);o;){var l=o(c,a);if(Mt(l))o=_5(l);else{s=l||r;break}}return s===void 0&&(s=t.field?LV(t.field,t.variables):xb(r,Pm(t))),s===!1?r:r===Ms(s)?s:r+":"+s},e.prototype.readField=function(t,n){var r=t.from;if(r){var i=t.field||t.fieldName;if(i){if(t.typename===void 0){var s=n.store.getFieldValue(r,"__typename");s&&(t.typename=s)}var o=this.getStoreFieldName(t),a=Ms(o),c=n.store.getFieldValue(r,o),l=this.getFieldPolicy(t.typename,a),u=l&&l.read;if(u){var f=w5(this,r,t,n,n.store.getStorage(ht(r)?r.__ref:r,o));return U2.withValue(this.cache,u,[c,f])}return c}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n),s=i&&i.merge;return!s&&r&&(i=this.getTypePolicy(r),s=i&&i.merge),s},e.prototype.runMergeFunction=function(t,n,r,i,s){var o=r.field,a=r.typename,c=r.merge;return c===v5?x9(i.store)(t,n):c===b5?n:(i.overwrite&&(t=void 0),c(t,n,w5(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:i.variables},i,s||Object.create(null))))},e})();function w5(e,t,n,r,i){var s=e.getStoreFieldName(n),o=Ms(s),a=n.variables||r.variables,c=r.store,l=c.toReference,u=c.canRead;return{args:Pm(n),field:n.field||null,fieldName:o,storeFieldName:s,variables:a,isReference:ht,toReference:l,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(z2(arguments,t,a),r)},mergeObjects:x9(r.store)}}function z2(e,t,n){var r=e[0],i=e[1],s=e.length,o;return typeof r=="string"?o={fieldName:r,from:s>1?i:t}:(o=N({},r),an.call(o,"from")||(o.from=t)),globalThis.__DEV__!==!1&&o.from===void 0&&globalThis.__DEV__!==!1&&fe.warn(8,_b(Array.from(e))),o.variables===void 0&&(o.variables=n),o}function x9(e){return function(n,r){if(Mt(n)||Mt(r))throw Bn(9);if(Ot(n)&&Ot(r)){var i=e.getFieldValue(n,"__typename"),s=e.getFieldValue(r,"__typename"),o=i&&s&&i!==s;if(o)return r;if(ht(n)&&la(r))return e.merge(n.__ref,r),n;if(la(n)&&ht(r))return e.merge(n,r.__ref),r;if(la(n)&&la(r))return N(N({},n),r)}return r}}
175function kp(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:N(N({},e),{clientOnly:t,deferred:n})),i}var WB=(function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,s=n.result,o=n.dataId,a=n.variables,c=n.overwrite,l=xo(i),u=NB();a=N(N({},x2(l)),a);var f=N(N({store:t,written:Object.create(null),merge:function(h,p){return u.merge(h,p)},variables:a,varString:Ts(a)},w9(i,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:s||Object.create(null),dataId:o,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:f});if(!ht(d))throw Bn(12,s);return f.incomingById.forEach(function(h,p){var m=h.storeObject,g=h.mergeTree,_=h.fieldNodeSet,b=Ta(p);if(g&&g.map.size){var y=r.applyMerges(g,b,m,f);if(ht(y))return;m=y}if(globalThis.__DEV__!==!1&&!f.overwrite){var v=Object.create(null);_.forEach(function(O){O.selectionSet&&(v[O.name.value]=!0)});var w=function(O){return v[Ms(O)]===!0},S=function(O){var A=g&&g.map.get(O);return!!(A&&A.info&&A.info.merge)};Object.keys(m).forEach(function(O){w(O)&&!S(O)&&GB(b,m,O,f.store)})}t.merge(p,m)}),t.retain(d.__ref),d},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,s=t.selectionSet,o=t.context,a=t.mergeTree,c=this.cache.policies,l=Object.create(null),u=r&&c.rootTypenamesById[r]||mm(i,s,o.fragmentMap)||r&&o.store.get(r,"__typename");typeof u=="string"&&(l.__typename=u);var f=function(){var y=z2(arguments,l,o.variables);if(ht(y.from)){var v=o.incomingById.get(y.from.__ref);if(v){var w=c.readField(N(N({},y),{from:v.storeObject}),o);if(w!==void 0)return w}}return c.readField(y,o)},d=new Set;this.flattenFields(s,i,o,u).forEach(function(y,v){var w,S=zi(v),O=i[S];if(d.add(v),O!==void 0){var A=c.getStoreFieldName({typename:u,fieldName:v.name.value,field:v,variables:y.variables}),k=S5(a,A),R=n.processFieldValue(O,v,v.selectionSet?kp(y,!1,!1):y,k),M=void 0;v.selectionSet&&(ht(R)||la(R))&&(M=f("__typename",R));var D=c.getMergeFunction(u,v.name.value,M);D?k.info={field:v,typename:u,merge:D}:E5(a,A),l=y.merge(l,(w={},w[A]=R,w))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!A2.added(v)&&!c.getReadFunction(u,v.name.value)&&globalThis.__DEV__!==!1&&fe.error(13,zi(v),i)});try{var h=c.identify(i,{typename:u,selectionSet:s,fragmentMap:o.fragmentMap,storeObject:l,readField:f}),p=h[0],m=h[1];r=r||p,m&&(l=o.merge(l,m))}catch(y){if(!r)throw y}if(typeof r=="string"){var g=Ta(r),_=o.written[r]||(o.written[r]=[]);if(_.indexOf(s)>=0||(_.push(s),this.reader&&this.reader.isFresh(i,g,s,o)))return g;var b=o.incomingById.get(r);return b?(b.storeObject=o.merge(b.storeObject,l),b.mergeTree=Dm(b.mergeTree,a),d.forEach(function(y){return b.fieldNodeSet.add(y)})):o.incomingById.set(r,{storeObject:l,mergeTree:td(a)?void 0:a,fieldNodeSet:d}),g}return l},e.prototype.processFieldValue=function(t,n,r,i){var s=this;return!n.selectionSet||t===null?globalThis.__DEV__!==!1?Gb(t):t:Mt(t)?t.map(function(o,a){var c=s.processFieldValue(o,n,r,S5(i,a));return E5(i,a),c}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=mm(n,t,r.fragmentMap));var s=new Map,o=this.cache.policies,a=new Ki(!1);return(function c(l,u){var f=a.lookup(l,u.clientOnly,u.deferred);f.visited||(f.visited=!0,l.selections.forEach(function(d){if(Zl(d,r.variables)){var h=u.clientOnly,p=u.deferred;if(!(h&&p)&&ai(d.directives)&&d.directives.forEach(function(_){var b=_.name.value;if(b==="client"&&(h=!0),b==="defer"){var y=ch(_,r.variables);(!y||y.if!==!1)&&(p=!0)}}),Ns(d)){var m=s.get(d);m&&(h=h&&m.clientOnly,p=p&&m.deferred),s.set(d,kp(r,h,p))}else{var g=ah(d,r.lookupFragment);if(!g&&d.kind===oe.FRAGMENT_SPREAD)throw Bn(14,d.name.value);g&&o.fragmentMatches(g,i,n,r.variables)&&c(g.selectionSet,kp(r,h,p))}}}))})(t,r),s},e.prototype.applyMerges=function(t,n,r,i,s){var o,a=this;if(t.map.size&&!ht(r)){var c=!Mt(r)&&(ht(n)||la(n))?n:void 0,l=r;c&&!s&&(s=[ht(c)?c.__ref:c]);var u,f=function(d,h){return Mt(d)?typeof h=="number"?d[h]:void 0:i.store.getFieldValue(d,String(h))};
175t.map.forEach(function(d,h){var p=f(c,h),m=f(l,h);if(m!==void 0){s&&s.push(h);var g=a.applyMerges(d,p,m,i,s);g!==m&&(u=u||new Map,u.set(h,g)),s&&fe(s.pop()===h)}}),u&&(r=Mt(l)?l.slice(0):N({},l),u.forEach(function(d,h){r[h]=d}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,s&&(o=i.store).getStorage.apply(o,s)):r},e})(),C9=[];function S5(e,t){var n=e.map;return n.has(t)||n.set(t,C9.pop()||{map:new Map}),n.get(t)}function Dm(e,t){if(e===t||!t||td(t))return e;if(!e||td(e))return t;var n=e.info&&t.info?N(N({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,s={info:n,map:i};if(r){var o=new Set(t.map.keys());e.map.forEach(function(a,c){s.map.set(c,Dm(a,t.map.get(c))),o.delete(c)}),o.forEach(function(a){s.map.set(a,Dm(t.map.get(a),e.map.get(a)))})}return s}function td(e){return!e||!(e.info||e.map.size)}function E5(e,t){var n=e.map,r=n.get(t);r&&td(r)&&(C9.push(r),n.delete(t))}var T5=new Set;function GB(e,t,n,r){var i=function(f){var d=r.getFieldValue(f,n);return typeof d=="object"&&d},s=i(e);if(s){var o=i(t);if(o&&!ht(s)&&!St(s,o)&&!Object.keys(s).every(function(f){return r.getFieldValue(o,f)!==void 0})){var a=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=Ms(n),l="".concat(a,".").concat(c);if(!T5.has(l)){T5.add(l);var u=[];!Mt(s)&&!Mt(o)&&[s,o].forEach(function(f){var d=r.getFieldValue(f,"__typename");typeof d=="string"&&!u.includes(d)&&u.push(d)}),globalThis.__DEV__!==!1&&fe.warn(15,c,a,u.length?"either ensure all objects of type "+u.join(" and ")+" have an ID or a custom merge function, or ":"",l,N({},s),N({},o))}}}}var I9=(function(e){Ir(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new Ub(A2),r.assumeImmutableResults=!0,r.makeVar=jB,r.txCount=0,globalThis.__DEV__!==!1&&(jt(n,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),jt(n,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r.config=PB(n),r.addTypename=!!r.config.addTypename,r.policies=new qB({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new Dl.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,s=this.config.fragments;this.addTypenameTransform.resetCache(),s?.resetCaches(),this.storeWriter=new WB(this,this.storeReader=new FB({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:v9(this.config),canon:n?void 0:i&&i.canon,fragments:s}),s),this.maybeBroadcastWatch=Pl(function(o,a){return r.broadcastWatch(o,a)},{max:this.config.resultCacheMaxSize||ji["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(o){var a=o.optimistic?r.optimisticData:r.data;if(rl(a)){var c=o.optimistic,l=o.id,u=o.variables;return a.makeCacheKey(o.query,o.callback,Ts({optimistic:c,id:l,variables:u}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(o){return o.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){globalThis.__DEV__!==!1&&jt(n,"canonizeResults","cache.read");var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(N(N({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(s){if(s instanceof g9)return null;throw s}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(an.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return globalThis.__DEV__!==!1&&jt(n,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore(N(N({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||BB(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&
175!r.watches.size&&p5(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){globalThis.__DEV__!==!1&&jt(n||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),Ts.reset(),ys.reset();var r=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(ht(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(r){globalThis.__DEV__!==!1&&fe.warn(r)}},t.prototype.evict=function(n){if(!n.id){if(an.call(n,"id"))return!1;n=N(N({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),Ts.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),p5(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,s=n.optimistic,o=s===void 0?!0:s,a=n.removeOptimistic,c=n.onWatchUpdated,l,u=function(d){var h=r,p=h.data,m=h.optimisticData;++r.txCount,d&&(r.data=r.optimisticData=d);try{return l=i(r)}finally{--r.txCount,r.data=p,r.optimisticData=m}},f=new Set;return c&&!this.txCount&&this.broadcastWatches(N(N({},n),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof o=="string"?this.optimisticData=this.optimisticData.addLayer(o,u):o===!1?u(this.data):u(),typeof a=="string"&&(this.optimisticData=this.optimisticData.removeLayer(a)),c&&f.size?(this.broadcastWatches(N(N({},n),{onWatchUpdated:function(d,h){var p=c.call(this,d,h);return p!==!1&&f.delete(d),p}})),f.size&&f.forEach(function(d){return r.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(n),l},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){return this.addTypenameToDocument(this.addFragmentsToDocument(n))},t.prototype.fragmentMatches=function(n,r){return this.policies.fragmentMatches(n,r)},t.prototype.lookupFragment=function(n){var r;return((r=this.config.fragments)===null||r===void 0?void 0:r.lookup(n))||null},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.addFragmentsToDocument=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.addTypenameToDocument=function(n){return this.addTypename?this.addTypenameTransform.transformDocument(n):n},t.prototype.broadcastWatch=function(n,r){var i=this,s=n.lastDiff,o=kn("canonizeResults",function(){return i.diff(n)});r&&(n.optimistic&&typeof r.optimistic=="string"&&(o.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,o,s)===!1)||(!s||!St(s.result,o.result))&&n.callback(n.lastDiff=o,s)},t})(m9);globalThis.__DEV__!==!1&&(I9.prototype.getMemoryInternals=yV);var lt;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(lt||(lt={}));function ua(e){return e?e<7:!1}var k5=Object.assign,QB=Object.hasOwnProperty,uf=(function(e){Ir(t,e);function t(n){var r=n.queryManager,i=n.queryInfo,s=n.options,o=this,a=t.inactiveOnCreation.getValue();o=e.call(this,function(_){o._getOrCreateQuery();try{var b=_._subscription._observer;b&&!b.error&&(b.error=KB)}catch{}var y=!o.observers.size;o.observers.add(_);var v=o.last;return v&&v.error?_.error&&_.error(v.error):v&&v.result&&_.next&&_.next(o.maskResult(v.result)),y&&o.reobserve().catch(function(){}),function(){o.observers.delete(_)&&!o.observers.size&&o.tearDownQuery()}})||this,o.observers=new Set,o.subscriptions=new Set,o.dirty=!1,o._getOrCreateQuery=function(){return a&&(r.queries.set(o.queryId,i),a=!1),o.queryManager.getOrCreateQuery(o.queryId)},o.queryInfo=i,o.queryManager=r,o.waitForOwnResult=xp(s.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var c=r.defaultOptions.watchQuery,l=c===void 0?{}:c,u=l.fetchPolicy,f=u===void 0?"cache-first":u,d=s.fetchPolicy,h=d===void 0?f:d,p=s.initialFetchPolicy,m=p===void 0?h==="standby"?f:h:p;o.options=N(N({},s),{initialFetchPolicy:m,fetchPolicy:h}),o.queryId=i.queryId||r.generateQueryId();var g=xo(o.query);return o.queryName=g&&g.name&&g.name.value,o}return Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
175,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var n=this;return globalThis.__DEV__!==!1&&so("observableQuery.result",function(){globalThis.__DEV__!==!1&&fe.warn(23)}),new Promise(function(r,i){var s={next:function(a){r(a),n.observers.delete(s),n.observers.size||n.queryManager.removeQuery(n.queryId),setTimeout(function(){o.unsubscribe()},0)},error:i},o=n.subscribe(s)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(n){var r=this;n===void 0&&(n=!0);var i=kn("getLastResult",function(){return r.getLastResult(!0)}),s=this.queryInfo.networkStatus||i&&i.networkStatus||lt.ready,o=N(N({},i),{loading:ua(s),networkStatus:s}),a=this.options.fetchPolicy,c=a===void 0?"cache-first":a;if(!(xp(c)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(o.data=l.result),St(o.data,{})&&(o.data=void 0),l.complete?(delete o.partial,l.complete&&o.networkStatus===lt.loading&&(c==="cache-first"||c==="cache-only")&&(o.networkStatus=lt.ready,o.loading=!1)):o.partial=!0,o.networkStatus===lt.ready&&(o.error||o.errors)&&(o.networkStatus=lt.error),globalThis.__DEV__!==!1&&!l.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&O9(l.missing)}return n&&this.updateLastResult(o),o},t.prototype.getCurrentResult=function(n){return n===void 0&&(n=!0),this.maskResult(this.getCurrentFullResult(n))},t.prototype.isDifferentFromLastResult=function(n,r){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query),s=this.queryManager.dataMasking,o=s?i.nonReactiveQuery:this.query,a=s||i.hasNonreactiveDirective?!l9(o,this.last.result,n,this.variables):!St(this.last.result,n);return a||r&&!St(this.last.variables,r)},t.prototype.getLast=function(n,r){var i=this.last;if(i&&i[n]&&(!r||St(i.variables,this.variables)))return i[n]},t.prototype.getLastResult=function(n){return globalThis.__DEV__!==!1&&so("getLastResult",function(){globalThis.__DEV__!==!1&&fe.warn(24)}),this.getLast("result",n)},t.prototype.getLastError=function(n){return globalThis.__DEV__!==!1&&so("getLastError",function(){globalThis.__DEV__!==!1&&fe.warn(25)}),this.getLast("error",n)},t.prototype.resetLastResults=function(){globalThis.__DEV__!==!1&&so("resetLastResults",function(){globalThis.__DEV__!==!1&&fe.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&fe.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(n){var r,i={pollInterval:0},s=this.options.fetchPolicy;if(s==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&n&&QB.call(n,"variables")){var o=Cb(this.query),a=o.variableDefinitions;(!a||!a.some(function(c){return c.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&fe.warn(28,n,((r=o.name)===null||r===void 0?void 0:r.value)||o)}return n&&!St(this.options.variables,n)&&(i.variables=this.options.variables=N(N({},this.options.variables),n)),this.queryInfo.resetLastWrite(),this.reobserve(i,lt.refetch)},t.prototype.fetchMore=function(n){var r=this,i=N(N({},n.query?n:N(N(N(N({},this.options),{query:this.options.query}),n),{variables:N(N({},this.options.variables),n.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var s=this.queryManager.generateQueryId();this.lastQuery=n.query?this.transformDocument(this.options.query):i.query;var o=this.queryInfo,a=o.networkStatus;o.networkStatus=lt.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=n?.updateQuery,u=this.options.fetchPolicy!=="no-cache";return u||fe(l,29),this.queryManager.fetchQuery(s,i,lt.fetchMore).then(function(f){if(r.queryManager.removeQuery(s),o.networkStatus===lt.fetchMore&&(o.networkStatus=a),u)r.queryManager.cache.batch({update:function(p){var m=n.updateQuery;m?p.updateQuery({query:r.query,variables:r.variables,returnPartialData:!0,optimistic:!1},function(g){return m(g,{fetchMoreResult:f.data,variables:i.variables})}):p.writeQuery({query:i.query,variables:i.variables,data:f.data})}
175,onWatchUpdated:function(p){c.add(p.query)}});else{var d=r.getLast("result"),h=l(d.data,{fetchMoreResult:f.data,variables:i.variables});r.reportResult(N(N({},d),{networkStatus:a,loading:ua(a),data:h}),r.variables)}return r.maskResult(f)}).finally(function(){u&&!c.has(r.query)&&r.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(n){var r=this,i=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:function(s){var o=n.updateQuery;o&&r.updateQuery(function(a,c){return o(a,N({subscriptionData:s},c))})},error:function(s){if(n.onError){n.onError(s);return}globalThis.__DEV__!==!1&&fe.error(30,s)}});return this.subscriptions.add(i),function(){r.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(n){return globalThis.__DEV__!==!1&&(jt(n,"canonizeResults","setOptions"),so("setOptions",function(){globalThis.__DEV__!==!1&&fe.warn(31)})),this.reobserve(n)},t.prototype.silentSetOptions=function(n){var r=Ja(this.options,n||{});k5(this.options,r)},t.prototype.setVariables=function(n){var r=this;return St(this.variables,n)?this.observers.size?kn("observableQuery.result",function(){return r.result()}):Promise.resolve():(this.options.variables=n,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},lt.setVariables):Promise.resolve())},t.prototype.updateQuery=function(n){var r=this.queryManager,i=r.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),s=i.result,o=i.complete,a=n(s,{variables:this.variables,complete:!!o,previousData:s});a&&(r.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(n){this.options.pollInterval=n,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(n,r){if(r.nextFetchPolicy){var i=r.fetchPolicy,s=i===void 0?"cache-first":i,o=r.initialFetchPolicy,a=o===void 0?s:o;s==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy(s,{reason:n,options:r,observable:this,initialFetchPolicy:a}):n==="variables-changed"?r.fetchPolicy=a:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy},t.prototype.fetch=function(n,r,i){var s=this._getOrCreateQuery();return s.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(s,n,r,i)},t.prototype.updatePolling=function(){var n=this;if(!this.queryManager.ssrMode){var r=this,i=r.pollingInfo,s=r.options.pollInterval;if(!s||!this.hasObservers()){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===s)){fe(s,32);var o=i||(this.pollingInfo={});o.interval=s;var a=function(){var l,u;n.pollingInfo&&(!ua(n.queryInfo.networkStatus)&&!(!((u=(l=n.options).skipPollAttempt)===null||u===void 0)&&u.call(l))?n.reobserve({fetchPolicy:n.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},lt.poll).then(c,c):c())},c=function(){var l=n.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(a,l.interval))};c()}}},t.prototype.updateLastResult=function(n,r){var i=this;r===void 0&&(r=this.variables);var s=kn("getLastError",function(){return i.getLastError()});return s&&this.last&&!St(r,this.last.variables)&&(s=void 0),this.last=N({result:this.queryManager.assumeImmutableResults?n:Gb(n),variables:r},s?{error:s}:null)},t.prototype.reobserveAsConcast=function(n,r){var i=this;this.isTornDown=!1;
175var s=r===lt.refetch||r===lt.fetchMore||r===lt.poll,o=this.options.variables,a=this.options.fetchPolicy,c=Ja(this.options,n||{}),l=s?c:k5(this.options,c),u=this.transformDocument(l.query);this.lastQuery=u,s||(this.updatePolling(),n&&n.variables&&!St(n.variables,o)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===a||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),r===void 0&&(r=lt.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=xp(l.fetchPolicy));var f=function(){i.concast===p&&(i.waitForOwnResult=!1)},d=l.variables&&N({},l.variables),h=this.fetch(l,r,u),p=h.concast,m=h.fromLink,g={next:function(_){St(i.variables,d)&&(f(),i.reportResult(_,d))},error:function(_){St(i.variables,d)&&($2(_)||(_=new $r({networkError:_})),f(),i.reportError(_,d))}};return!s&&(m||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=g),p.addObserver(g),p},t.prototype.reobserve=function(n,r){return fU(this.reobserveAsConcast(n,r).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var s=this.last;kn("resetLastResults",function(){return n.resetLastResults()});var o=this.subscribe.apply(this,r);return this.last=s,o},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(n,r){var i=this,s=kn("getLastError",function(){return i.getLastError()}),o=this.isDifferentFromLastResult(n,r);(s||!n.partial||this.options.returnPartialData)&&this.updateLastResult(n,r),(s||o)&&nl(this.observers,"next",this.maskResult(n))},t.prototype.reportError=function(n,r){var i=this,s=N(N({},kn("getLastResult",function(){return i.getLastResult()})),{error:n,errors:n.graphQLErrors,networkStatus:lt.error,loading:!1});this.updateLastResult(s,r),nl(this.observers,"error",this.last.error=n)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(n){return this.queryManager.transform(n)},t.prototype.maskResult=function(n){return n&&"data"in n?N(N({},n),{data:this.queryManager.maskOperation({document:this.query,data:n.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):n},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var n=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},t.prototype.notify=function(){if(this.cancelNotifyTimeout(),this.dirty&&(this.options.fetchPolicy=="cache-only"||this.options.fetchPolicy=="cache-and-network"||!ua(this.queryInfo.networkStatus))){var n=this.queryInfo.getDiff();n.fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()}this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var n=this.options,r=n.fetchPolicy,i=n.nextFetchPolicy;return r==="cache-and-network"||r==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(s,o){return this.nextFetchPolicy=i,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(s,o):r}}):this.reobserve()},t.inactiveOnCreation=new mc,t})(gt);Qb(uf);function KB(e){globalThis.__DEV__!==!1&&fe.error(33,e.message,e.stack)}function O9(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&fe.debug(34,e)}function xp(e){return e==="network-only"||e==="no-cache"||e==="standby"}var fa=new(Lo?WeakMap:Map);function Cp(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return fa.set(e,(fa.get(e)+1)%1e15),n.apply(this,arguments)})}var Ip=(function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=t.cache;fa.has(r)||(fa.set(r,0),Cp(r,"evict"),Cp(r,"modify"),Cp(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||lt.loading;return this.variables&&this.networkStatus!==lt.loading&&!St(this.variables,t.variables)&&(n=lt.setVariables),St(t.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var t=this,n=this.getDiffOptions();if(this.lastDiff&&St(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&r.options.fetchPolicy==="no-cache")return{complete:!1};var i=kn("canonizeResults",function(){return t.cache.diff(n)});return this.updateLastDiff(i,n),i},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n=this,r,i=this.lastDiff&&this.lastDiff.diff;t&&!t.complete&&kn("getLastError",function(){var s;return(s=n.observableQuery)===null||s===void 0?void 0:s.getLastError()})||(this.updateLastDiff(t),St(i&&i.result,t&&t.result)||(r=this.observableQuery)===null||r===void 0||r.sc
175heduleNotify())},e.prototype.setObservableQuery=function(t){t!==this.observableQuery&&(this.observableQuery=t,t&&(t.queryInfo=this))},e.prototype.stop=function(){var t;if(!this.stopped){this.stopped=!0,(t=this.observableQuery)===null||t===void 0||t.resetNotifications(),this.cancel();var n=this.observableQuery;n&&n.stopPolling()}},e.prototype.cancel=function(){var t;(t=this.cancelWatch)===null||t===void 0||t.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=N(N({},this.getDiffOptions(t)),{watcher:this,callback:function(s){return n.setDiff(s)}});(!this.lastWatch||!St(i,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===fa.get(this.cache)&&St(n,r.variables)&&St(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var s=this,o,a=new Ls,c=ai(t.errors)?t.errors.slice(0):[];if((o=this.observableQuery)===null||o===void 0||o.resetNotifications(),"incremental"in t&&ai(t.incremental)){var l=Kb(this.getDiff().result,t);t.data=l}else if("hasNext"in t&&t.hasNext){var u=this.getDiff();t.data=a.merge(u.result,t.data)}this.graphQLErrors=c,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(Nm(t,r.errorPolicy)?this.cache.performTransaction(function(f){if(s.shouldWrite(t,r.variables))f.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),s.lastWrite={result:t,variables:r.variables,dmCount:fa.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){t.data=s.lastDiff.diff.result;return}var d=s.getDiffOptions(r.variables),h=kn("canonizeResults",function(){return f.diff(d)});!s.stopped&&St(s.variables,r.variables)&&s.updateWatch(r.variables),s.updateLastDiff(h,d),h.complete&&(t.data=h.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=lt.ready},e.prototype.markError=function(t){var n;return this.networkStatus=lt.error,this.lastWrite=void 0,(n=this.observableQuery)===null||n===void 0||n.resetNotifications(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e})();function Nm(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!af(e);return!r&&n&&e.data&&(r=!0),r}var YB=Object.prototype.hasOwnProperty,x5=Object.create(null),JB=(function(){function e(t){var n=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new wb(ji["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Ki(!1),this.noCacheWarningsByQueryId=new Set;var r=new Ub(function(s){return n.cache.transformDocument(s)},{cache:!1});this.cache=t.cache,this.link=t.link,this.defaultOptions=t.defaultOptions,this.queryDeduplication=t.queryDeduplication,this.clientAwareness=t.clientAwareness,this.localState=t.localState,this.ssrMode=t.ssrMode,this.assumeImmutableResults=t.assumeImmutableResults,this.dataMasking=t.dataMasking;var i=t.documentTransform;this.documentTransform=i?r.concat(i).concat(r):r,this.defaultContext=t.defaultContext||Object.create(null),(this.onBroadcast=t.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(Bn(35))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){return fs(this,arguments,void 0,function(n){var r,i,s,o,a,c,l,u=n.mutation,f=n.variables,d=n.optimisticResponse,h=n.updateQueries,p=n.refetchQueries,m=p===void 0?[]:p,g=n.awaitRefetchQueries,_=g===void 0?!1:g,b=n.update,y=n.onQueryUpdated,v=n.fetchPolicy,w=v===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.fetchPolicy)||"network-only":v,S=n.errorPolicy,O=S===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.errorPolicy)||"none":S,A=n.keepRootFields,k=n.context;return ds(this,function(R){switch(R.label){case 0:return fe(u,36),fe(w==="network-only"||w==="no-cache",37),r=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),i=this.getDocumentInfo(u).hasClientExports,f=this.getVariables(u,f),i?[4,this.localState.addExportedVariables(u,f,k)]:[3,2];case 1:f=R.sent(),R.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[r]={mutation:u,variables:f,loading:!0,error:null}),o=d&&this.markMutationOptimistic(d,{mutationId:r,document:u,variables:f,fetchPolicy:w,errorPolicy:O,context:k,updateQueries:h,update:b,keepRootFields:A}),this.broadcastQueries(),a=this,[2,new Promise(function(M,D){return vp(a.getObservableFromLink(u,N(N({},k),{optimisticResponse:o?d:void 0}),f,{},!1),function($){if(af($)&&O==="none")throw new $r({graphQLErrors:vm($)});s&&(s.loading=!1,s.error=null);var U=N({},$);return typeof m=="function"&&(m=m(U)),O==="ignore"&&af(U)&&delete U.errors,a.markMutationResult({mutationId:r,result:U,document:u,variables:f,fetchPolicy:w,errorPolicy:O,context:k,update:b,updateQueries:h,awaitRefetchQueries:_,refetchQueries:m,removeOptimistic:o?r:void 0,onQueryUpdated:y,keepRootFields:A})}).subscribe({next:function($){a.broadcastQueries(),(!("hasNext"in $)||$.hasNext===!1)&&M(N(N({},$),{data:a.maskOperation({document:u,data:$.data,fetchPolicy:w,id:r})}))},error:function($){s&&(s.loading=!1,s.error=$),o&&a.cache.removeOptimistic(r),a.broadcastQueries(),D($ instanceof $r?$:new $r({networkError:$}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,s=[],o=t.fetchPolicy==="no-cache";if(!o&&Nm(i,t.errorPolicy)){if(ka(i)||s.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),ka(i)&&ai(i.incremental)){var a=n.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}
175),c=void 0;a.result&&(c=Kb(a.result,i)),typeof c<"u"&&(i.data=c,s.push({result:c,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var l=t.updateQueries;l&&this.queries.forEach(function(f,d){var h=f.observableQuery,p=h&&h.queryName;if(!(!p||!YB.call(l,p))){var m=l[p],g=r.queries.get(d),_=g.document,b=g.variables,y=n.diff({query:_,variables:b,returnPartialData:!0,optimistic:!1}),v=y.result,w=y.complete;if(w&&v){var S=m(v,{mutationResult:i,queryName:_&&zc(_)||void 0,queryVariables:b});S&&s.push({result:S,dataId:"ROOT_QUERY",query:_,variables:b})}}})}if(s.length>0||(t.refetchQueries||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(f){o||s.forEach(function(m){return f.write(m)});var d=t.update,h=!gU(i)||ka(i)&&!i.hasNext;if(d){if(!o){var p=f.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});p.complete&&(i=N(N({},i),{data:p.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}h&&d(f,i,{context:t.context,variables:t.variables})}!o&&!t.keepRootFields&&h&&f.modify({id:"ROOT_MUTATION",fields:function(m,g){var _=g.fieldName,b=g.DELETE;return _==="__typename"?m:b}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(f){return u.push(f)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(u).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables,{IGNORE:x5}):t;return i===x5?!1:(this.cache.recordOptimisticTransaction(function(s){try{r.markMutationResult(N(N({},n),{result:{data:i}}),s)}catch(o){globalThis.__DEV__!==!1&&fe.error(o)}},n.mutationId),!0)},e.prototype.fetchQuery=function(t,n,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(t),n,r).concast.promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},e.prototype.getDocumentInfo=function(t){var n=this.transformCache;if(!n.has(t)){var r={hasClientExports:XF(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:Al(["nonreactive"],t),nonReactiveQuery:eU(t),clientQuery:this.localState.clientQuery(t),serverQuery:jb([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],t),defaultVars:x2(xo(t)),asQuery:N(N({},t),{definitions:t.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?N(N({},i),{operation:"query"}):i})})};n.set(t,r)}return n.get(t)},e.prototype.getVariables=function(t,n){return N(N({},this.getDocumentInfo(t).defaultVars),n)},e.prototype.watchQuery=function(t){var n=this.transform(t.query);t=N(N({},t),{variables:this.getVariables(n,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var r=new Ip(this),i=new uf({queryManager:this,queryInfo:r,options:t});return i.lastQuery=n,uf.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:n,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(t,n){var r=this;n===void 0&&(n=this.generateQueryId()),fe(t.query,38),fe(t.query.kind==="Document",39),fe(!t.returnPartialData,40),fe(!t.pollInterval,41);var i=this.transform(t.query);return this.fetchQuery(n,N(N({},t),{query:i})).then(function(s){return s&&N(N({},s),{data:r.maskOperation({document:i,data:s.data,fetchPolicy:t.fetchPolicy,id:n})})}).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}
175),this.cancelPendingFetches(Bn(42)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=lt.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,s=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){if(typeof a=="string")i.set(a,a),s.set(a,!1);else if(xV(a)){var c=ys(n.transform(a));i.set(c,zc(a)),s.set(c,!1)}else Ot(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,c){var l=a.observableQuery,u=a.document;if(l){if(t==="all"){r.set(c,l);return}var f=l.queryName,d=l.options.fetchPolicy;if(d==="standby"||t==="active"&&!l.hasObservers())return;(t==="active"||f&&s.has(f)||u&&s.has(ys(u)))&&(r.set(c,l),f&&s.set(f,!0),u&&s.set(ys(u),!0))}}),o.size&&o.forEach(function(a){var c=um("legacyOneTimeQuery"),l=n.getOrCreateQuery(c).init({document:a.query,variables:a.variables}),u=new uf({queryManager:n,queryInfo:l,options:N(N({},a),{fetchPolicy:"network-only"})});fe(u.queryId===c),l.setObservableQuery(u),r.set(c,u)}),globalThis.__DEV__!==!1&&s.size&&s.forEach(function(a,c){if(!a){var l=i.get(c);l?globalThis.__DEV__!==!1&&fe.warn(43,l):globalThis.__DEV__!==!1&&fe.warn(44)}}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,s){var o=i.options.fetchPolicy;kn("resetLastResults",function(){return i.resetLastResults()}),(t||o!=="standby"&&o!=="cache-only")&&r.push(i.refetch()),(n.queries.get(s)||i.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.variables,s=t.fetchPolicy,o=t.errorPolicy,a=o===void 0?"none":o,c=t.context,l=c===void 0?{}:c,u=t.extensions,f=u===void 0?{}:u;r=this.transform(r),i=this.getVariables(r,i);var d=function(p){return n.getObservableFromLink(r,l,p,f).map(function(m){s!=="no-cache"&&(Nm(m,a)&&n.cache.write({query:r,result:m.data,dataId:"ROOT_SUBSCRIPTION",variables:p}),n.broadcastQueries());var g=af(m),_=Yb(m);if(g||_){var b={};if(g&&(b.graphQLErrors=m.errors),_&&(b.protocolErrors=m.extensions[dh]),a==="none"||_)throw new $r(b)}return a==="ignore"&&delete m.errors,m})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,i,l).then(d);return new gt(function(p){var m=null;return h.then(function(g){return m=g.subscribe(p)},p.error),function(){return m&&m.unsubscribe()}})}return d(i)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){var n;this.fetchCancelFns.delete(t),this.queries.has(t)&&((n=this.queries.get(t))===null||n===void 0||n.stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){var n;return(n=t.observableQuery)===null||n===void 0?void 0:n.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i,s){var o=this,a;s===void 0&&(s=(a=n?.queryDeduplication)!==null&&a!==void 0?a:this.queryDeduplication);var c,l=this.getDocumentInfo(t),u=l.serverQuery,f=l.clientQuery;if(u){var d=this,h=d.inFlightLinkObservables,p=d.link,m={query:u,variables:r,operationName:zc(u)||void 0,context:this.prepareContext(N(N({},n),{forceFetch:!s})),extensions:i};if(n=m.context,s){var g=ys(u),_=Ts(r),b=h.lookup(g,_);if(c=b.observable,!c){var y=new ea([wm(p,m)]);c=b.observable=y,y.beforeNext(function v(w,S){w==="next"&&"hasNext"in S&&S.hasNext?y.beforeNext(v):h.remove(g,_)})}}else c=new ea([wm(p,m)])}else c=new ea([gt.of({data:{}})]),n=this.prepareContext(n);return f&&(c=vp(c,function(v){return o.localState.runResolvers({document:f,remoteResult:v,context:n,variables:r})})),c},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(r.query);return vp(this.getObservableFromLink(s,r.context,r.variables),function(o){var a=vm(o),c=a.length>0,l=r.errorPolicy;if(i>
175=t.lastRequestId){if(c&&l==="none")throw t.markError(new $r({graphQLErrors:a}));t.markResult(o,s,r,n),t.markReady()}var u={data:o.data,loading:!1,networkStatus:lt.ready};return c&&l==="none"&&(u.data=void 0),c&&l!=="ignore"&&(u.errors=a,u.networkStatus=lt.error),u},function(o){var a=$2(o)?o:new $r({networkError:o});throw i>=t.lastRequestId&&t.markError(a),a})},e.prototype.fetchConcastWithInfo=function(t,n,r,i){var s=this;r===void 0&&(r=lt.loading),i===void 0&&(i=n.query);var o=this.getVariables(i,n.variables),a=this.defaultOptions.watchQuery,c=n.fetchPolicy,l=c===void 0?a&&a.fetchPolicy||"cache-first":c,u=n.errorPolicy,f=u===void 0?a&&a.errorPolicy||"none":u,d=n.returnPartialData,h=d===void 0?!1:d,p=n.notifyOnNetworkStatusChange,m=p===void 0?!1:p,g=n.context,_=g===void 0?{}:g,b=Object.assign({},n,{query:i,variables:o,fetchPolicy:l,errorPolicy:f,returnPartialData:h,notifyOnNetworkStatusChange:m,context:_}),y=function(A){b.variables=A;var k=s.fetchQueryByPolicy(t,b,r);return b.fetchPolicy!=="standby"&&k.sources.length>0&&t.observableQuery&&t.observableQuery.applyNextFetchPolicy("after-fetch",n),k},v=function(){return s.fetchCancelFns.delete(t.queryId)};this.fetchCancelFns.set(t.queryId,function(A){v(),setTimeout(function(){return w.cancel(A)})});var w,S;if(this.getDocumentInfo(b.query).hasClientExports)w=new ea(this.localState.addExportedVariables(b.query,b.variables,b.context).then(y).then(function(A){return A.sources})),S=!0;else{var O=y(b.variables);S=O.fromLink,w=new ea(O.sources)}return w.promise.then(v,v),{concast:w,fromLink:S}},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,s=t.optimistic,o=s===void 0?!1:s,a=t.removeOptimistic,c=a===void 0?o?um("refetchQueries"):void 0:a,l=t.onQueryUpdated,u=new Map;i&&this.getObservableQueries(i).forEach(function(d,h){u.set(h,{oq:d,lastDiff:(n.queries.get(h)||d.queryInfo).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:o&&c||!1,removeOptimistic:c,onWatchUpdated:function(d,h,p){var m=d.watcher instanceof Ip&&d.watcher.observableQuery;if(m){if(l){u.delete(m.queryId);var g=l(m,h,p);return g===!0&&(g=m.refetch()),g!==!1&&f.set(m,g),g}l!==null&&u.set(m.queryId,{oq:m,lastDiff:p,diff:h})}}}),u.size&&u.forEach(function(d,h){var p=d.oq,m=d.lastDiff,g=d.diff,_;l&&(g||(g=kn("canonizeResults",function(){return n.cache.diff(p.queryInfo.getDiffOptions())})),_=l(p,g,m)),(!l||_===!0)&&(_=p.refetch()),_!==!1&&f.set(p,_),h.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(h)}),c&&this.cache.removeOptimistic(c),f},e.prototype.maskOperation=function(t){var n,r,i,s=t.document,o=t.data;if(globalThis.__DEV__!==!1){var a=t.fetchPolicy,c=t.id,l=(n=xo(s))===null||n===void 0?void 0:n.operation,u=((r=l?.[0])!==null&&r!==void 0?r:"o")+c;this.dataMasking&&a==="no-cache"&&!cV(s)&&!this.noCacheWarningsByQueryId.has(u)&&(this.noCacheWarningsByQueryId.add(u),globalThis.__DEV__!==!1&&fe.warn(45,(i=zc(s))!==null&&i!==void 0?i:"Unnamed ".concat(l??"operation")))}return this.dataMasking?RB(o,s,this.cache):o},e.prototype.maskFragment=function(t){var n=t.data,r=t.fragment,i=t.fragmentName;return this.dataMasking?p9(n,r,this.cache,i):n},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,s=n.query,o=n.variables,a=n.fetchPolicy,c=n.refetchWritePolicy,l=n.errorPolicy,u=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,h=t.networkStatus;t.init({document:s,variables:o,networkStatus:r});var p=function(){return t.getDiff()},m=function(v,w){w===void 0&&(w=t.networkStatus||lt.loading);var S=v.result;globalThis.__DEV__!==!1&&!u&&!St(S,{})&&O9(v.missing);var O=function(A){return gt.of(N({data:A,loading:ua(w),networkStatus:w},v.complete?null:{partial:!0}))};return S&&i.getDocumentInfo(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:S},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(A){return O(A.data||void 0)}):l==="none"&&w===lt.refetch&&Array.isArray(v.missing)?O(void 0):O(S)},g=a==="no-cache"?0:r===lt.refetch&&c!=="merge"?1:2,_=function(){return i.getResultsFromLink(t,g,{query:s,variables:o,context:f,fetchPolicy:a,errorPolicy:l})},b=d&&typeof h=="number"&&h!==r&&ua(r);switch(a){default:case"cache-first":{var y=p();return y.complete?{fromLink:!1,sources:[m(y,t.markReady())]}:u||b?{fromLink:!0,sources:[m(y),_()]}:{fromLink:!0,sources:[_()]}}case"cache-and-network":{var y=p();return y.complete||u||b?{fromLink:!0,sources:[m(y),_()]}:{fromLink:!0,sources:[_()]}}case"cache-only":return{fromLink:!1,sources:[m(p(),t.markReady())]};case"network-only":return b?{fromLink:!0,sources:[m(p()),_()]}:{fromLink:!0,sources:[_()]};case"no-cache":return b?{fromLink:!0,sources:[m(t.getDiff()),_()]}:{fromLink:!0,sources:[_()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new Ip(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return N(N(N({},this.defaultContext),n),{clientAwareness:this.clientAwareness})},e})(),XB=(function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,s=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),s&&this.setFragmentMatcher(s)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=B_(n.resolvers,r)}):this.resolvers=B_(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){return fs(this,arguments,void 0,function(n){var r=n.document,i=n.remoteResult,s=n.context,o=n.variables,a=n.onlyRunForcedResolvers,c=a===void 0?!1:a;return ds(this,function(l){return r?[2,this.resolveDocument(r,i.data,s,o,this.fragmentMatcher,c).then(function(u){return N(N({},i),{data:u.result})})]:[2,i]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return Al(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return zb(t)},e.prototype.prepareContext=function(t){var n=this.cache;return N(N({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t){return fs(this,arguments,void 0,function(n,r,i){return r===void 0&&(r={}),i===void 0&&(i={}),ds(this,function(s){return n?[2,this.resolveDocument(n,this.buildRootValueFromCache(n,r)||{},this.prepareContext(i),r).then(function(o){return N(N({},r),o.exportedVariables)})]:[2,N({},r)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return qr(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return sh}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:ZV(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n){return fs(this,arguments,void 0,function(r,i,s,o,a,c){var l,u,f,d,h,p,m,g,_,b,y;return s===void 0&&(s={}),o===void 0&&(o={}),a===void 0&&(a=function(){return!0}),c===void 0&&(c=!1),ds(this,function(v){return l=pc(r),u=hc(r),f=fc(u),d=this.collectSelectionsToResolve(l,f),h=l.operation,p=h?h.charAt(0).toUpperCase()+h.slice(1):"Query",m=this,g=m.cache,_=m.client,b={fragmentMap:f,context:N(N({}
175,s),{cache:g,client:_}),variables:o,fragmentMatcher:a,defaultOperationType:p,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:c},y=!1,[2,this.resolveSelectionSet(l.selectionSet,y,i,b).then(function(w){return{result:w,exportedVariables:b.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r,i){return fs(this,void 0,void 0,function(){var s,o,a,c,l,u=this;return ds(this,function(f){return s=i.fragmentMap,o=i.context,a=i.variables,c=[r],l=function(d){return fs(u,void 0,void 0,function(){var h,p;return ds(this,function(m){return!n&&!i.selectionsToResolve.has(d)?[2]:Zl(d,a)?Ns(d)?[2,this.resolveField(d,n,r,i).then(function(g){var _;typeof g<"u"&&c.push((_={},_[zi(d)]=g,_))})]:(FV(d)?h=d:(h=s[d.name.value],fe(h,21,d.name.value)),h&&h.typeCondition&&(p=h.typeCondition.name.value,i.fragmentMatcher(r,p,o))?[2,this.resolveSelectionSet(h.selectionSet,n,r,i).then(function(g){c.push(g)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(l)).then(function(){return fh(c)})]})})},e.prototype.resolveField=function(t,n,r,i){return fs(this,void 0,void 0,function(){var s,o,a,c,l,u,f,d,h,p=this;return ds(this,function(m){return r?(s=i.variables,o=t.name.value,a=zi(t),c=o!==a,l=r[a]||r[o],u=Promise.resolve(l),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(f=r.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[f],d&&(h=d[c?o:a],h&&(u=Promise.resolve(U2.withValue(this.cache,h,[r,ch(t,s),i.context,{field:t,fragmentMap:i.fragmentMap}]))))),[2,u.then(function(g){var _,b;if(g===void 0&&(g=l),t.directives&&t.directives.forEach(function(v){v.name.value==="export"&&v.arguments&&v.arguments.forEach(function(w){w.name.value==="as"&&w.value.kind==="StringValue"&&(i.exportedVariables[w.value.value]=g)})}),!t.selectionSet||g==null)return g;var y=(b=(_=t.directives)===null||_===void 0?void 0:_.some(function(v){return v.name.value==="client"}))!==null&&b!==void 0?b:!1;if(Array.isArray(g))return p.resolveSubSelectedArray(t,n||y,g,i);if(t.selectionSet)return p.resolveSelectionSet(t.selectionSet,n||y,g,i)})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(t,n,r,i){var s=this;return Promise.all(r.map(function(o){if(o===null)return null;if(Array.isArray(o))return s.resolveSubSelectedArray(t,n,o,i);if(t.selectionSet)return s.resolveSelectionSet(t.selectionSet,n,o,i)}))},e.prototype.collectSelectionsToResolve=function(t,n){var r=function(o){return!Array.isArray(o)},i=this.selectionsToResolveCache;function s(o){if(!i.has(o)){var a=new Set;i.set(o,a),qr(o,{Directive:function(c,l,u,f,d){c.name.value==="client"&&d.forEach(function(h){r(h)&&I_(h)&&a.add(h)})},FragmentSpread:function(c,l,u,f,d){var h=n[c.name.value];fe(h,22,c.name.value);var p=s(h);p.size>0&&(d.forEach(function(m){r(m)&&I_(m)&&a.add(m)}),a.add(c),p.forEach(function(m){a.add(m)}))}})}return i.get(o)}return s(t)},e})(),C5=!1,A9=(function(){function e(t){var n=this,r,i,s;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw Bn(16);var o=t.uri,a=t.credentials,c=t.headers,l=t.cache,u=t.documentTransform,f=t.ssrMode,d=f===void 0?!1:f,h=t.ssrForceFetchDelay,p=h===void 0?0:h,m=t.connectToDevTools,g=t.queryDeduplication,_=g===void 0?!0:g,b=t.defaultOptions,y=t.defaultContext,v=t.assumeImmutableResults,w=v===void 0?l.assumeImmutableResults:v,S=t.resolvers,O=t.typeDefs,A=t.fragmentMatcher,k=t.clientAwareness,R=t.name,M=t.version,D=t.devtools,$=t.dataMasking;globalThis.__DEV__!==!1&&(jt(t,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),jt(t,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),jt(t,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),jt(t,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),jt(t,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),jt(t,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),jt(t,"typeDefs","ApolloClient"),t.link||globalThis.__DEV__!==!1&&fe.warn(17));var U=t.link;U||(U=o?new EB({uri:o,credentials:a,headers:c}):Or.empty()),this.link=U,this.cache=l,this.disableNetworkFetches=d||p>0,this.queryDeduplication=_,this.defaultOptions=b||Object.create(null),this.typeDefs=O,this.devtoolsConfig=N(N({},D),{enabled:(r=D?.enabled)!==null&&r!==void 0?r:m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),p&&setTimeout(function(){return n.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=S2,this.localState=new XB({cache:l,client:this,resolvers:S,fragmentMatcher:A}),this.queryManager=new JB({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:y,documentTransform:u,queryDeduplication:_,ssrMode:d,dataMasking:!!$,clientAwareness:{name:(i=k?.name)!==null&&i!==void 0?i:R,version:(s=k?.version)!==null&&s!==void 0?s:M},localState:this.localState,assumeImmutableResults:w,onBroadcast:this.devtoolsConfig.enabled?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(t){this.disableNetworkFetches=t}
175,enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this,!C5&&globalThis.__DEV__!==!1&&(C5=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var r=window.navigator,i=r&&r.userAgent,s=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?s="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(s="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),s&&globalThis.__DEV__!==!1&&fe.log("Download the Apollo DevTools for a better development experience: %s",s)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=bp(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=N(N({},t),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(jt(t,"canonizeResults","client.watchQuery"),jt(t,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=bp(this.defaultOptions.query,t)),fe(t.fetchPolicy!=="cache-and-network",18),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=N(N({},t),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(jt(t,"canonizeResults","client.query"),jt(t,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),t.fetchPolicy==="standby"&&globalThis.__DEV__!==!1&&fe.warn(19)),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=bp(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){var n=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(t).map(function(i){return N(N({},i),{data:n.queryManager.maskOperation({document:t.query,data:i.data,fetchPolicy:t.fetchPolicy,id:r})})})},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.watchFragment=function(t){var n;return this.cache.watchFragment(N(N({},t),(n={},n[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,n)))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){var n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.writeFragment=function(t){var n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return wm(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];
175n.forEach(function(o,a){r.push(a),i.push(o)});var s=Promise.all(i);return s.queries=r,s.results=i,s.catch(function(o){globalThis.__DEV__!==!1&&fe.debug(20,o)}),s},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e})();globalThis.__DEV__!==!1&&(A9.prototype.getMemoryInternals=_V);var ZB=Symbol("default-apollo-client"),R9=Symbol("apollo-clients");function Op(e,t){return e?e.default:t??void 0}function Ap(e,t){return e?.[t]}function ej(e){let t;const n=Nl;if(!Ro())t=i=>i?Ap(n,i):Op(n,n.default);else{const i=Ft(R9,null),s=Ft(ZB,null);t=o=>{if(o){const c=Ap(i,o);return c||Ap(n,o)}const a=Op(i,s);return a||Op(n,n.default)}}function r(i=e){const s=t(i);if(!s)throw new Error(`Apollo client with id ${i??"default"} not found. Use an app.runWithContext() or provideApolloClient() if you are outside of a component setup.`);return s}
175return{resolveClient:r,get client(){return r()}}}var Nl={};function tj(e){return Nl={default:e},function(t){const n=t();return Nl={},n}}function nj(e){return Nl=e,function(t){const n=t();return Nl={},n}}var yi=typeof window>"u",da={queries:Ee(0),mutations:Ee(0),subscriptions:Ee(0),components:new Map};function rj(){const e=Wi();if(!e)return{};let t;return yi?(t={queries:Ee(0),mutations:Ee(0),subscriptions:Ee(0)},{tracking:t}):(da.components.has(e)?t=da.components.get(e):(da.components.set(e,t={queries:Ee(0),mutations:Ee(0),subscriptions:Ee(0)}),Di(()=>{da.components.delete(e)})),{tracking:t})}function ij(e,t){if(yi)return;const{tracking:n}=rj();it(e,(r,i)=>{if(i!=null&&r!==i){const s=r?1:-1;n&&(n[t].value+=s),da[t].value+=s}},{immediate:!0}),Di(()=>{e.value&&(n&&n[t].value--,da[t].value--)})}function sj(e){ij(e,"queries")}function oj(e){return et(e)?e:typeof e=="function"?re(e):e&&An(e)}function Rp(e){return et(e)?e:typeof e=="function"?re(e):Ee(e)}function aj(e){return e instanceof Error?$2(e)?e:new $r({networkError:e,errorMessage:e.message}):new $r({networkError:Object.assign(new Error(e?.message),{originalError:e}),errorMessage:String(e)})}function cj(e){return new $r({graphQLErrors:e,errorMessage:`GraphQL response contains errors: ${e.map(t=>t.message).join(" | ")}`})}function I5(){const e=[];function t(s){return e.push(s),{off:()=>n(s)}}function n(s){const o=e.indexOf(s);o!==-1&&e.splice(o,1)}function r(...s){for(const o of e)o(...s)}function i(){return e.length}return{on:t,off:n,trigger:r,getCount:i}}function Pae(e,t,n){return lj(e,t,n)}function lj(e,t,n={},r=!1){var i;const s=Wi(),o=Et(),a=Ee(),c=Rp(e),l=Rp(t),u=oj(n),f=Fn(),d=I5(),h=Fn(null),p=I5(),m=Ee(!1);s&&sj(m);const g=Ee();let _,b=!1,y,v;const w=()=>{b=!0,_&&_()},S=G=>{v=G,y&&y(G)},O=()=>{_=void 0,y=void 0,b=!1,v=void 0};o&&((i=i0)==null||i(()=>{var G;if(!(!x.value||yi&&((G=a.value)==null?void 0:G.prefetch)===!1))return new Promise((me,Ie)=>{_=()=>{O(),me()},y=Ne=>{O(),Ie(Ne)},b?_():v&&y(v)}).finally(Dt)}));const{resolveClient:A}=ej();function k(){var G;return A((G=a.value)==null?void 0:G.clientId)}const R=Fn();let M,D=!1,$=!1,U=!0;function J(){var G,me,Ie,Ne,Vt;if(D||!x.value||yi&&((G=a.value)==null?void 0:G.prefetch)===!1||!Be){w();return}yi&&(K(c.value),ae(l.value),L(F(u))),D=!0,h.value=null,m.value=!0;const Ut=k();if(R.value=Ut.watchQuery({query:Be,variables:B??{},...a.value,...yi&&((me=a.value)==null?void 0:me.fetchPolicy)!=="no-cache"?{fetchPolicy:"network-only"}:{}}),V(),!yi&&(U||!((Ie=a.value)!=null&&Ie.keepPreviousResult))&&(((Ne=a.value)==null?void 0:Ne.fetchPolicy)!=="no-cache"||a.value.notifyOnNetworkStatusChange)){const Tt=R.value.getCurrentResult(!1);!Tt.loading||Tt.partial||(Vt=a.value)!=null&&Vt.notifyOnNetworkStatusChange?(Q(Tt),$=!Tt.loading):Tt.error&&(ie(Tt.error),$=!0)}if(!yi)for(const Tt of Te)Se(Tt);U=!1}function V(){M&&!M.closed||R.value&&($=!1,M=R.value.subscribe({next:Q,error:ie}))}function W(){var G,me,Ie,Ne;const Vt=A((G=a.value)==null?void 0:G.clientId);return((me=a.value)==null?void 0:me.errorPolicy)||((Ne=(Ie=Vt.defaultOptions)==null?void 0:Ie.watchQuery)==null?void 0:Ne.errorPolicy)}function Q(G){var me;if($){$=!1;return}h.value=null,le(G);const Ie=W();Ie&&Ie==="all"&&!G.error&&((me=G.errors)!=null&&me.length)&&Ce(cj(G.errors)),w()}function le(G){var me,Ie;f.value=G.data&&Object.keys(G.data).length===0?G.error&&!((me=a.value)!=null&&me.returnPartialData)&&((Ie=a.value)==null?void 0:Ie.errorPolicy)==="none"?void 0:f.value:G.data,m.value=G.loading,g.value=G.networkStatus,Wt(()=>{d.trigger(G,{client:k()})})}function ie(G){if($){$=!1;return}const me=aj(G),Ie=W();Ie&&Ie!=="none"&&le(R.value.getCurrentResult()),Ce(me),S(me),Re()}function Ce(G){h.value=G,m.value=!1,g.value=8,Wt(()=>{p.trigger(G,{client:k()})})}function Re(){if(!R.value)return;const G=R.value.getLastError(),me=R.value.getLastResult();R.value.resetLastResults(),V(),Object.assign(R.value,{lastError:G,lastResult:me})}let vt=[];function Dt(){w(),D&&(D=!1,m.value=!1,vt.forEach(G=>G()),vt=[],R.value&&(R.value.stopPolling(),R.value=null),M&&(M.unsubscribe(),M=void 0))}let mt=!1;function Ze(){!D||mt||(mt=!0,Wt(()=>{D&&(Dt(),J()),mt=!1}))}let H,pe=!1;function ce(){var G,me;a.value?((G=a.value)!=null&&G.throttle?H=a9(a.value.throttle,Ze):(me=a.value)!=null&&me.debounce?H=XU(a.value.debounce,Ze):H=Ze,pe=!0):H=Ze}function we(){!D||mt||(pe||ce(),H())}let Be=c.value;const bt=Ee(r),T=re(()=>!a.value||a.value.enabled==null||a.value.enabled),x=re(()=>T.value&&!bt.value&&!!c.value);it(()=>F(u),L,{deep:!0,immediate:!0});
175function L(G){a.value&&(a.value.throttle!==G.throttle||a.value.debounce!==G.debounce)&&ce(),a.value=G,we()}it(c,K);function K(G){Be=G,we()}let B,X;it(()=>{if(x.value)return l.value},ae,{deep:!0,immediate:!0});function ae(G){const me=JSON.stringify([G,x.value]);me!==X&&(B=G,we()),X=me}function se(G=void 0){if(R.value)return G&&(B=G),h.value=null,m.value=!0,R.value.refetch(G).then(me=>{var Ie;const Ne=(Ie=R.value)==null?void 0:Ie.getCurrentResult();return Ne&&le(Ne),me})}function ne(G){R.value&&R.value.updateQuery(G)}function Z(G){if(R.value)return h.value=null,m.value=!0,R.value.fetchMore(G).then(me=>{var Ie;const Ne=(Ie=R.value)==null?void 0:Ie.getCurrentResult();return Ne&&le(Ne),me})}const Te=[];function de(G){if(yi)return;const me=Rp(G);it(me,(Ie,Ne,Vt)=>{const Ut=Te.findIndex(fn=>fn.options===Ne);Ut!==-1&&Te.splice(Ut,1);const Tt={options:Ie,unsubscribeFns:[]};Te.push(Tt),Se(Tt),Vt(()=>{Tt.unsubscribeFns.forEach(fn=>fn()),Tt.unsubscribeFns=[]})},{immediate:!0})}function Se(G){if(!D)return;if(!R.value)throw new Error("Query is not defined");const me=R.value.subscribeToMore(G.options);vt.push(me),G.unsubscribeFns.push(me)}return it(x,G=>{G?Wt(()=>{J()}):Dt()}),x.value&&J(),s?Di(()=>{Dt(),Te.length=0}):console.warn("[Vue apollo] useQuery() is called outside of an active effect scope and the query will not be automatically stopped."),{result:f,loading:m,networkStatus:g,error:h,start:J,stop:Dt,restart:we,forceDisabled:bt,document:c,variables:l,options:u,query:R,refetch:se,fetchMore:Z,subscribeToMore:de,updateQuery:ne,onResult:d.on,onError:p.on}}function uj(e){return Ot(e)&&"code"in e&&"reason"in e}function fj(e){var t;return Ot(e)&&((t=e.target)===null||t===void 0?void 0:t.readyState)===WebSocket.CLOSED}var dj=(function(e){Ir(t,e);function t(n){var r=e.call(this)||this;return r.client=n,r}return t.prototype.request=function(n){var r=this;return new gt(function(i){return r.client.subscribe(N(N({},n),{query:ys(n.query)}),{next:i.next.bind(i),complete:i.complete.bind(i),error:function(s){if(s instanceof Error)return i.error(s);var o=uj(s);return o||fj(s)?i.error(new Error("Socket closed".concat(o?" with event ".concat(s.code):"").concat(o?" ".concat(s.reason):""))):i.error(new $r({graphQLErrors:Array.isArray(s)?s:[s]}))}})})},t})(Or);function P9(e){return new Or(function(t,n){var r=ii(t,[]);return new gt(function(i){var s,o=!1;return Promise.resolve(r).then(function(a){return e(a,t.getContext())}).then(t.setContext).then(function(){o||(s=n(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){o=!0,s&&s.unsubscribe()}})})}function Hn(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function eo(e){return Hn(e)==="object"}function hj(e){return Array.isArray(e)&&e.length>0&&e.every(t=>"message"in t)}function O5(e,t){return e.length<124?e:t}const pj="graphql-transport-ws";var dr=(e=>(e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",e))(dr||{}),hr=(e=>(e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",e))(hr||{});function D9(e){if(!eo(e))throw new Error(`Message is expected to be an object, but got ${Hn(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${Hn(e.type)}`);switch(e.type){case"connection_init":case"connection_ack":case"ping":case"pong":{if(e.payload!=null&&!eo(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}
175case"subscribe":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${Hn(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!eo(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${Hn(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${Hn(e.payload.query)}`);if(e.payload.variables!=null&&!eo(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${Hn(e.payload.variables)}`);if(e.payload.operationName!=null&&Hn(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${Hn(e.payload.operationName)}`);if(e.payload.extensions!=null&&!eo(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${Hn(e.payload.extensions)}`);break}case"next":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${Hn(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!eo(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${Hn(e.payload)}`);break}case"error":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${Hn(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!hj(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case"complete":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${Hn(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function mj(e,t){return D9(typeof e=="string"?JSON.parse(e,t):e)}function Nc(e,t){return D9(e),JSON.stringify(e,t)}function gj(e){const{url:t,connectionParams:n,lazy:r=!0,onNonLazyError:i=console.error,lazyCloseTimeout:s=0,keepAlive:o=0,disablePong:a,connectionAckWaitTimeout:c=0,retryAttempts:l=5,retryWait:u=async function(J){const V=Math.pow(2,J);await new Promise(W=>setTimeout(W,V*1e3+Math.floor(Math.random()*2700+300)))},shouldRetry:f=Pp,on:d,webSocketImpl:h,generateID:p=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,J=>{const V=Math.random()*16|0;return(J=="x"?V:V&3|8).toString(16)})},jsonMessageReplacer:m,jsonMessageReviver:g}=e;let _;if(h){if(!yj(h))throw new Error("Invalid WebSocket implementation provided");_=h}else typeof WebSocket<"u"?_=WebSocket:typeof global<"u"?_=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(_=window.WebSocket||window.MozWebSocket);if(!_)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const b=_,y=(()=>{const U=(()=>{const V={};return{on(W,Q){return V[W]=Q,()=>{delete V[W]}},emit(W){"id"in W&&V[W.id]?.(W)}}})(),J={connecting:d?.connecting?[d.connecting]:[],opened:d?.opened?[d.opened]:[],connected:d?.connected?[d.connected]:[],ping:d?.ping?[d.ping]:[],pong:d?.pong?[d.pong]:[],message:d?.message?[U.emit,d.message]:[U.emit],closed:d?.closed?[d.closed]:[],error:d?.error?[d.error]:[]};return{onMessage:U.on,on(V,W){const Q=J[V];return Q.push(W),()=>{Q.splice(Q.indexOf(W),1)}},emit(V,...W){for(const Q of[...J[V]])Q(...W)}}})();function v(U){const J=[y.on("error",V=>{J.forEach(W=>W()),U(V)}),y.on("closed",V=>{J.forEach(W=>W()),U(V)})]}let w,S=0,O,A=!1,k=0,R=!1;async function M(){clearTimeout(O);const[U,J]=await(w??(w=new Promise((Q,le)=>(async()=>{if(A){if(await u(k),!S)return w=void 0,le({code:1e3,reason:"All Subscriptions Gone"});k++}y.emit("connecting",A);const ie=new b(typeof t=="function"?await t():t,pj);let Ce,Re;function vt(){isFinite(o)&&o>0&&(clearTimeout(Re),Re=setTimeout(()=>{ie.readyState===b.OPEN&&(ie.send(Nc({type:hr.Ping})),y.emit("ping",!1,void 0))},o))}v(mt=>{w=void 0,clearTimeout(Ce),clearTimeout(Re),le(mt),mt instanceof A5&&(ie.close(4499,"Terminated"),ie.onerror=null,ie.onclose=null)}),ie.onerror=mt=>y.emit("error",mt),ie.onclose=mt=>y.emit("closed",mt),ie.onopen=async()=>{try{y.emit("opened",ie);const mt=typeof n=="function"?await n():n;
175if(ie.readyState!==b.OPEN)return;ie.send(Nc(mt?{type:hr.ConnectionInit,payload:mt}:{type:hr.ConnectionInit},m)),isFinite(c)&&c>0&&(Ce=setTimeout(()=>{ie.close(dr.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},c)),vt()}catch(mt){y.emit("error",mt),ie.close(dr.InternalClientError,O5(mt instanceof Error?mt.message:String(mt),"Internal client error"))}};let Dt=!1;ie.onmessage=({data:mt})=>{try{const Ze=mj(mt,g);if(y.emit("message",Ze),Ze.type==="ping"||Ze.type==="pong"){y.emit(Ze.type,!0,Ze.payload),Ze.type==="pong"?vt():a||(ie.send(Nc(Ze.payload?{type:hr.Pong,payload:Ze.payload}:{type:hr.Pong})),y.emit("pong",!1,Ze.payload));return}if(Dt)return;if(Ze.type!==hr.ConnectionAck)throw new Error(`First message cannot be of type ${Ze.type}`);clearTimeout(Ce),Dt=!0,y.emit("connected",ie,Ze.payload,A),A=!1,k=0,Q([ie,new Promise((H,pe)=>v(pe))])}catch(Ze){ie.onmessage=null,y.emit("error",Ze),ie.close(dr.BadResponse,O5(Ze instanceof Error?Ze.message:String(Ze),"Bad response"))}}})())));U.readyState===b.CLOSING&&await J;let V=()=>{};const W=new Promise(Q=>V=Q);return[U,V,Promise.race([W.then(()=>{if(!S){const Q=()=>U.close(1e3,"Normal Closure");isFinite(s)&&s>0?O=setTimeout(()=>{U.readyState===b.OPEN&&Q()},s):Q()}}),J])]}function D(U){if(Pp(U)&&(_j(U.code)||[dr.InternalServerError,dr.InternalClientError,dr.BadRequest,dr.BadResponse,dr.Unauthorized,dr.SubprotocolNotAcceptable,dr.SubscriberAlreadyExists,dr.TooManyInitialisationRequests].includes(U.code)))throw U;if(R)return!1;if(Pp(U)&&U.code===1e3)return S>0;if(!l||k>=l||!f(U))throw U;return A=!0}r||(async()=>{for(S++;;)try{const[,,U]=await M();await U}catch(U){try{if(!D(U))return}catch(J){return i?.(J)}}})();function $(U,J){const V=p(U);let W=!1,Q=!1,le=()=>{S--,W=!0};return(async()=>{for(S++;;)try{const[ie,Ce,Re]=await M();if(W)return Ce();const vt=y.onMessage(V,Dt=>{switch(Dt.type){case hr.Next:{J.next(Dt.payload);return}case hr.Error:{Q=!0,W=!0,J.error(Dt.payload),le();return}case hr.Complete:{W=!0,le();return}}});ie.send(Nc({id:V,type:hr.Subscribe,payload:U},m)),le=()=>{!W&&ie.readyState===b.OPEN&&ie.send(Nc({id:V,type:hr.Complete},m)),S--,W=!0,Ce()},await Re.finally(vt);return}catch(ie){if(!D(ie))return}})().then(()=>{Q||J.complete()}).catch(ie=>{J.error(ie)}),()=>{W||le()}}return{on:y.on,subscribe:$,iterate(U){const J=[],V={done:!1,error:null,resolve:()=>{}},W=$(U,{next(le){J.push(le),V.resolve()},error(le){V.done=!0,V.error=le,V.resolve()},complete(){V.done=!0,V.resolve()}}),Q=(async function*(){for(;;){for(J.length||await new Promise(ie=>V.resolve=ie);J.length;)yield J.shift();if(V.error)throw V.error;if(V.done)return}})();return Q.throw=async le=>(V.done||(V.done=!0,V.error=le,V.resolve()),{done:!0,value:void 0}),Q.return=async()=>(W(),{done:!0,value:void 0}),Q},async dispose(){if(R=!0,w){const[U]=await w;U.close(1e3,"Normal Closure")}},terminate(){w&&y.emit("closed",new A5)}}}class A5 extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1}function Pp(e){return eo(e)&&"code"in e&&"reason"in e}function _j(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function yj(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}function vj(e){let t=!1,n=()=>{t=!0};return{...gj({...e,on:{...e.on,opened:i=>{e.on?.opened?.(i),n=()=>{i.readyState===WebSocket.OPEN?i.close(4205,"Client Restart"):t=!0},t&&(t=!1,n())}}}),restart:()=>n()}}const ho={clientAwareness:!1,cookieAttributes:{maxAge:604800,secure:!0,sameSite:"lax"},clients:{default:{httpEndpoint:"http://nexus-api:4001",browserHttpEndpoint:"/api/",authType:"Bearer",authHeader:"Authorization",tokenName:"apollo:default.token",tokenStorage:"cookie",defaultOptions:void 0}}};function bj(...e){const{key:t,fn:n,options:r}=wj(...e);return zP(t,n,r)}const wj=(...e)=>{const{clients:t}=N9();let n,r,i,s,o,a={};if(typeof e?.[0]=="object"&&e[0]!==null&&"query"in e[0]){const u=e?.[0];n=u.query,r=u.variables,i=u.cache,o=u.context,s=u.clientId,typeof e?.[1]=="object"&&e?.[1]!==null&&"watch"in e[1]&&(a=e?.[1])}else n=e?.[0],r=e?.[1],s=e?.[2],o=e?.[3],typeof e?.[4]=="object"&&(a=e?.[4]);if(!n)throw new Error("@nuxtjs/apollo: no query provided");
175if((!s||!t?.[s])&&(s=t?.default?"default":Object.keys(t)?.[0],!s))throw new Error("@nuxtjs/apollo: no client found");return r&&(r=et(r)?r:An(r),a.watch=a.watch||[],a.watch.push(r)),{key:e?.[0]?.key||LP({query:ub(n),variables:F(r),clientId:s}),query:n,clientId:s,variables:r,fn:()=>t[s]?.query({query:n,variables:F(r)||void 0,...i&&{fetchPolicy:"cache-first"},context:o}).then(u=>u.data),options:a}};function N9(){const e=_e(),t=async r=>{r=r||"default";const i=ho?.clients?.[r];if(!i)return;const s=Ee(null);if(await e.callHook("apollo:auth",{token:s,client:r}),s.value)return s.value;const o=i.tokenName;return i?.tokenStorage==="cookie"?e.runWithContext(()=>Is(o).value):localStorage.getItem(o)||null},n=async({token:r,client:i,mode:s,skipResetStore:o})=>{i=i||"default";const a=ho?.clients?.[i];if(!a)return;const c=i&&a.tokenName;if(a?.tokenStorage==="cookie"){const l=i&&a?.cookieAttributes||ho?.cookieAttributes,u=Is(c,l);if(!u.value&&s==="logout")return;u.value=s==="login"&&r||null}else a?.tokenStorage==="localStorage"&&(s==="login"&&r?localStorage.setItem(c,r):s==="logout"&&localStorage.removeItem(c));e?._apolloWsClients?.[i]&&e._apolloWsClients[i]?.restart(),!o&&await e?._apolloClients?.[i]?.resetStore().catch(l=>console.log("%cError on cache reset","color: orange;",l.message))};return{getToken:t,clients:e?._apolloClients,onLogin:(r,i,s)=>n({token:r,client:i,skipResetStore:s,mode:"login"}),onLogout:(r,i)=>n({client:r,skipResetStore:i,mode:"logout"})}}const Sj=at(e=>{const n={};for(const[i,s]of Object.entries(ho.clients)){const o=async()=>{const p=Ee(null);if(await e.callHook("apollo:auth",{token:p,client:i}),!p.value){if(s.tokenStorage==="cookie"){const g=Is(s.tokenName).value;g&&(p.value=g)}else s.tokenStorage==="localStorage"&&(p.value=localStorage.getItem(s.tokenName));if(!p.value)return}return!!p.value?.match(/^[a-z]+\s/i)?.[0]||s?.authType===null?p.value:`${s?.authType} ${p.value}`},c=P9(async(p,{headers:m})=>{const g=await o();if(g)return{headers:{...m,[s.authHeader]:g}}}).concat(M2({...s?.httpLinkOptions&&s.httpLinkOptions,uri:s.browserHttpEndpoint||s.httpEndpoint,headers:{...s?.httpLinkOptions?.headers||{}}}));let l=null;if(s.wsEndpoint){const p=vj({...s.wsLinkOptions,url:s.wsEndpoint,connectionParams:async()=>{const m=await o();if(m)return{headers:{[s.authHeader]:m}}}});l=new dj(p),e._apolloWsClients=e._apolloWsClients||{},e._apolloWsClients[i]=p}const u=L2(p=>{e.callHook("apollo:error",p)}),f=Or.from([u,...l?[...s?.websocketsOnly?[l]:[CU(({query:p})=>{const m=pc(p);return m.kind==="OperationDefinition"&&m.operation==="subscription"},l,c)]]:[c]]),d=new I9(s.inMemoryCacheOptions);n[i]=new A9({link:f,cache:d,...ho.clientAwareness,ssrForceFetchDelay:100,devtools:{enabled:s.connectToDevTools||!1},defaultOptions:s?.defaultOptions}),!n?.default&&!ho?.clients?.default&&i===Object.keys(ho.clients)[0]&&(n.default=n[i]);const h=`_apollo:${i}`;e.hook("app:rendered",()=>{e.payload.data[h]=d.extract()}),e.payload.data[h]&&d.restore(Ma(JSON.stringify(e.payload.data[h])))}nj(n),e.vueApp.provide(R9,n),e.vueApp.use(JU({defaultClient:n?.default})),e._apolloClients=n;const r=n?.default;return{provide:{apolloHelpers:N9(),apollo:{clients:n,defaultClient:r}}}}),hh=un("siteList",{state:()=>({sites:{}}),getters:{allSites:e=>Object.values(e.sites),allUrls:e=>e.allSites.map(t=>`https://${t.host}`),footerSites:e=>e.allSites.filter(t=>t.showInFooter).sort((t,n)=>t.name.replace(/-/g,"").toLowerCase().localeCompare(n.name.replace(/-/g,"").toLowerCase())),getSiteSummary:e=>t=>e.sites[t]},actions:{set(e){this.sites=e}}}),$9=(e,{suffix:t=""}={})=>{const n=e.dataset.trackEvent+(t||"");let r=e.dataset.trackValue||e.value||void 0;e.type==="checkbox"&&!e.checked&&(r=!1);const i={label:e.dataset.trackLabel,property:e.dataset.trackProperty,value:r,context:e.dataset.trackContext};
175return Object.keys(i).forEach(s=>i[s]===void 0&&delete i[s]),{action:n,data:i}},Ej=(e,t,n={})=>{const r=e.target.closest("[data-track-event]");if(!r)return;const{action:i,data:s}=$9(r,n);t(n.category,i,s)},Tj=(e,t)=>{const n=i=>s=>Ej(s,t,{category:e,...i}),r=[];return r.push({name:"click",func:n()}),r};class xn{constructor(){this.store=$t()}static trackable(){return!["1","yes"].includes(window.doNotTrack||navigator.doNotTrack||navigator.msDoNotTrack)}static enabled(){return!/hu-site./.test(window?.location.origin)&&!0&&typeof window.snowplow_hu=="function"&&this.trackable()}static event(t=document.body.dataset.page,n="generic",r={}){if(!this.enabled())return!1;if(!t)throw new Error("Tracking: no category provided for tracking.");const{label:i,property:s,value:o,context:a}=r,c=a?[a]:void 0;return window.snowplow_hu("trackStructEvent",{category:t,action:n,label:i,property:s,value:o,context:c})}static selfDescribingEvent(t,n){if(!this.enabled())return!1;if(!t)throw new Error("Tracking: no event data provided for tracking.");if(!t.schema)throw new Error("Tracking: no schema provided for tracking.");if(!t.data)throw new Error("Tracking: no data provided for tracking.");return window.snowplow_hu("trackSelfDescribingEvent",{event:t,context:n})}trackError(t,n,r=null,i=null,s=null){xn.enabled()&&window.snowplow_hu("trackError",{message:t,filename:n,lineno:r,colno:i,error:s,context:[this.store.getComplianceContext,this.store.getGlobalContext,this.store.getUserContext]})}trackPageView(t=null){xn.enabled()&&window.snowplow_hu("trackPageView",{title:t,context:[this.store.getComplianceContext,this.store.getGlobalContext,this.store.getUserContext,this.store.getA11yContext]})}trackSiteSearch(t=[],n,r,i){xn.enabled()&&window.snowplow_hu("trackSiteSearch",{terms:t,filters:n,totalResults:r,pageResults:i,context:[this.store.getComplianceContext,this.store.getGlobalContext,this.store.getUserContext]})}enableFormTracking(){xn.enabled()&&window.snowplow_hu("enableFormTracking",{context:[this.store.getComplianceContext,this.store.getGlobalContext,this.store.getUserContext]})}refreshLinkTracking(){xn.enabled()&&window.snowplow_hu("refreshLinkClickTracking")}static bindDocument(t=document.body.dataset.page,n=document){if(!this.enabled()||n.trackingBound)return[];n.trackingBound=!0;const r=Tj(t,(...i)=>this.event(...i));return r.forEach(i=>n.addEventListener(i.name,i.func)),r}static trackLoadEvents(t=document.body.dataset.page,n=document){if(!this.enabled())return[];const r=n.querySelectorAll('[data-track-event="render"]');return r.forEach(i=>{const{action:s,data:o}=$9(i);this.event(t,s,o)}),r}}const kj=()=>{if(!xn.enabled())return;const e=hh(),t=s=>e.allUrls.some(o=>s.href.toLowerCase().startsWith(o)),i={namespace:"hu",hostname:`webhooks.fivetran.com/snowplow/${Cr().public.snowplowSchema}`,cookieDomain:window.location.hostname,cookieSecure:!0,appId:window.location.hostname,platform:"web",respectDoNotTrack:!0,crossDomainLinker:t,contexts:{webPage:!0,performanceTiming:!0,gaCookies:!0,geolocation:!1}};window.snowplow_hu("newTracker",i.namespace,i.hostname,i),window.snowplow_hu("enableActivityTracking",{minimumVisitLength:3,heartbeatDelay:10}),window.snowplow_hu("enableLinkClickTracking",{pseudoClicks:!0,trackContent:!1,contexts:[$t().getComplianceContext,$t().getGlobalContext,$t().getUserContext]}),window.snowplow_hu("enableFormTracking",{context:[$t().getComplianceContext,$t().getGlobalContext,$t().getUserContext]}),window.snowplow_hu("enableErrorTracking",{contextAdder:()=>[$t().getComplianceContext,$t().getGlobalContext,$t().getUserContext]}),xn.bindDocument(),xn.trackLoadEvents()},R5="plugins/apollo.js",xj=()=>({"NEX-PATH":window.location.pathname,"NEX-SSR":0,"NEX-V":3,"AD-BLOCK":(document.querySelector(".ad-slot.ad-detect")||{}).offsetParent?0:1}),Cj=(e,t)=>({}),Ij=()=>(_e(),P9(async(e,{headers:t})=>({headers:{...t,...xj(),...Cj()}}))),Oj=e=>/not found/i.test(e),Aj=e=>e==="No preview permission",Rj=at({name:"apollo",dependsOn:["logger"],async setup(){const{$apollo:e,$logger:t}=_e(),n=Ij(),r=It(),i=new xn,s=L2(({graphQLErrors:a,networkError:c,response:l,operation:u})=>
175{if(a&&a.forEach(({message:f,path:d,locations:h})=>{i.trackError(f,R5),Oj(f)&&!u.variables.ignore404?(r.setIs404(!0),t.warn(`[GraphQL error]: Message: ${f}, Location: ${JSON.stringify(h)}, Path: ${d}`,{graphQL:u})):Aj(f)?r.setIsPreviewError(!0):t.error(`[GraphQL error]: Message: ${f}, Location: ${JSON.stringify(h)}, Path: ${d}`,{graphQL:u})}),c){const f=c.bodyText?c.bodyText:`${c}`;i.trackError(f,R5),t.error(`[Network error]: ${f}`,{graphQL:u,networkError:c})}}),o=M2({uri:w2(),credentials:"include"});e.defaultClient.setLink(xU([s,n,o])),tj(e.defaultClient)}}),Pj=at({name:"nexus-auth",dependsOn:["logger"],async setup(){const{$logger:e}=_e(),t=`${w2()}/auth`,n=d=>{const h=new URLSearchParams(d);return $fetch(`${t}/identity/callback`,{method:"POST",body:h}).catch(p=>(e.error(p),{status:"error",message:"Something went wrong. Please try again.",error:p}))},r=()=>$fetch(`${t}/check-session`,{method:"GET"}),i=()=>$fetch(`${t}/log-out`,{method:"GET"}).catch(d=>{e.error(d)}),s=d=>$fetch(`${t}/request-password-reset`,{method:"POST",body:d}).catch(h=>{this.displayErrorMessage(),e.error(h)}),o=d=>$fetch(`${t}/reset-password`,{method:"POST",body:d}).catch(h=>{this.displayErrorMessage(),e.error(h)}),a=d=>{l(`${t}/google/login`,d,"google")},c=d=>{l(`${t}/facebook/login`,d,"facebook")},l=(d,h,p)=>{const m=new URL(d),g=Ae().authInitiator;g&&m.searchParams.append("initiator",g),localStorage.setItem("nexus.socialLoginRedirect",window.location);const _=window.open(m,"popUpWindow","height=600,width=600,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,status=yes");if(_){const b=window.setInterval(()=>{_.closed&&(clearInterval(b),h(p))},200)}};return{provide:{logIn:n,checkSession:r,logOut:i,requestPasswordReset:s,resetPassword:o,googleLogIn:a,facebookLogIn:c,register:d=>$fetch(`${t}/register`,{method:"POST",body:d}).catch(h=>{this.displayErrorMessage(),e.error(h)}),unlinkSocialAccount:d=>$fetch(`${t}/unlink-social`,{method:"POST",body:{auth_account_id:d}})}}}}),Dj=ke` 176query taxonomies { 177 categories { 178 slug 179 name 180 hasPost 181 indexType 182 } 183} 184`,Nj=2,$j={ttl:1e3*60*60*Nj,max:200},P5=new uc($j),Lj=un("category",{state:()=>({categoryMap:{}}),actions:{set(e){this.categoryMap=e}}});async function Mj(){const e=_e().$hostname,t=Lj(),n=pb(e);let r=P5.get(n);r&&t.set(r),Object.keys(t.categoryMap).length===0&&(r=(await _e().$apollo.defaultClient.query({query:Dj})).data.categories.reduce((s,{slug:o,name:a,hasPost:c,indexType:l})=>(s[o]={name:a,hasPost:c,indexType:l},s),{}),P5.set(n,r),t.set(r))}const Fj=at({name:"categories",dependsOn:["hostname","apollo"],parallel:!0,async setup(){Mj()}}),Vj=6,Uj={ttl:1e3*60*60*Vj,max:200},D5=new uc(Uj),Za=un("dataLayer",{state:()=>({siteDataLayer:{},dataLayer:{}}),getters:{getDataLayer:e=>({...e.siteDataLayer,...e.dataLayer})},actions:{setSiteDataLayer(e){this.siteDataLayer=e},setDataLayer(e){this.dataLayer=e},clearDataLayer(){this.dataLayer={}}}}),N5={key:"nex_a11y",pick:["settings"]},Jn=un("accessibility",{state:()=>({settings:{fontSize:"font-reg",contrast:"contrast-reg"},a11yMenuOpen:!1,...K6(N5)}),getters:{a11yClasses:e=>Object.values(e.settings)},actions:{setA11ySettings(e){this.settings=Object.assign(this.settings,e),$t().updateA11yContext(this.settings),rm(N5,this.$state)},resetA11ySettings(){this.setA11ySettings(tt().site.settings.accessibility)},setA11yMenuOpen(e){this.a11yMenuOpen=e},initializeA11ySettings(e){const{menu_open:t,...n}=e;this.setA11yMenuOpen(t),this.setA11ySettings(n)}}});async function Bj(e,t){if(sD().searchParams.get("menu_draft")==="2")try{const{data:n}=await _e().$apollo.defaultClient.query({query:_F,fetchPolicy:"no-cache"});n?.site?.siteMenu&&e.setHeaderData(n.site.siteMenu)}catch(n){t.warn("menu draft unavailable",n)}}const jj=at({name:"site",dependsOn:["hostname","apollo","logger"],parallel:!0,async setup(){let e,t;const{$logger:n,$hostname:r}=_e(),i=tt(),s=Rt(),o=pb(r);let a=D5.get(o);if(a){const{siteMenu:c,...l}=a;s.setHeaderData(c),i.setSite(l)}else{const{data:c,error:l}=([e,t]=ws(()=>_e().$apollo.defaultClient.query({query:gF})),e=await e,t(),e);if(l){n.error(l);return}a={...c.site},delete a.__typename,a.dataLayer=JSON.parse(a.dataLayer),D5.set(o,a);const{siteMenu:u,...f}=a;s.setHeaderData(u),i.setSite(f)}return[e,t]=ws(()=>Bj(s,n)),await e,t(),Za().setSiteDataLayer(i.site.dataLayer),$t().updateGlobalContext({site:i.site}),{provide:{site:i.site}}}}),ze={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},$5={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},Ti={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",BF_CACHE:"bf_cache"},H2={CLICK:"click",CUSTOM:"custom"},$c={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"}
184,$l={DURATION:"duration",OPERATION_STEP:"operation_step"};function zj(){return{vitalsByName:new Map,vitalsByReference:new WeakMap}}function Hj(e,t,n){function r(o){return!t.wasInPageStateDuringPeriod("frozen",o.startClocks.relative,o.duration)}function i(o){r(o)&&e.notify(12,L5(o))}function s(o,a,c,l){if(!Kl(Rs.FEATURE_OPERATION_VITAL))return;const{operationKey:u,context:f,description:d}=c||{},h={name:o,type:$l.OPERATION_STEP,operationKey:u,failureReason:l,stepType:a,startClocks:ln(),context:ut(f),description:d};e.notify(12,L5(h))}return{addOperationStepVital:s,addDurationVital:i,startDurationVital:(o,a={})=>L9(n,o,a),stopDurationVital:(o,a={})=>{M9(i,n,o,a)}}}function L9({vitalsByName:e,vitalsByReference:t},n,r={}){const i={name:n,startClocks:ln(),...r},s={__dd_vital_reference:!0};return e.set(n,i),t.set(s,i),s}function M9(e,{vitalsByName:t,vitalsByReference:n},r,i={}){const s=typeof r=="string"?t.get(r):n.get(r);s&&(e(qj(s,s.startClocks,i,ln())),typeof r=="string"?t.delete(r):n.delete(r))}function qj(e,t,n,r){var i;return{name:e.name,type:$l.DURATION,startClocks:t,duration:Yt(t.timeStamp,r.timeStamp),context:Tr(e.context,n.context),description:(i=n.description)!==null&&i!==void 0?i:e.description}}function L5(e){const{startClocks:t,type:n,name:r,description:i,context:s}=e,o={id:Un(),type:n,name:r,description:i,...n===$l.DURATION?{duration:je(e.duration)}:{step_type:e.stepType,operation_key:e.operationKey,failure_reason:e.failureReason}};return{rawRumEvent:{date:t.timeStamp,vital:o,type:ze.VITAL,context:s},startTime:t.relative,duration:n===$l.DURATION?e.duration:void 0,domainContext:{}}}function F9(e,t,n){if(e)for(const r of e){const i=r[t];i&&i(n)}}const M5=new Map;function V9(e,t){if(t===100)return!0;if(t===0)return!1;const n=M5.get(t);if(n&&e===n.sessionId)return n.decision;let r;return window.BigInt?r=Wj(BigInt(`0x${e.split("-")[4]}`),t):r=gs(t),M5.set(t,{sessionId:e,decision:r}),r}function Wj(e,t){const n=BigInt("1111111111111111111"),r=BigInt("0x10000000000000000"),i=e*n%r;return Number(i)<=t/100*Number(r)}function Gj(){return B9(64)}function U9(){return B9(63)}function B9(e){const t=crypto.getRandomValues(new Uint32Array(2));return e===63&&(t[t.length-1]>>>=1),{toString(n=10){let r=t[1],i=t[0],s="";do{const o=r%n*4294967296+i;r=Math.floor(r/n),i=Math.floor(o/n),s=(o%n).toString(n)+s}while(r||i);return s}}}function qo(e){return e.toString(16).padStart(16,"0")}function Qj(e){const t=e;return No(t)==="object"&&xl(t.match)&&Array.isArray(t.propagatorTypes)}function Kj(e){e.status===0&&!e.isAborted&&(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function Yj(e,t,n,r){return{clearTracingIfNeeded:Kj,traceFetch:i=>F5(e,i,t,n,r,s=>{var o;if(i.input instanceof Request&&!(!((o=i.init)===null||o===void 0)&&o.headers))i.input=new Request(i.input),Object.keys(s).forEach(a=>{i.input.headers.append(a,s[a])});else{i.init=Tl(i.init);const a=[];i.init.headers instanceof Headers?i.init.headers.forEach((c,l)=>{a.push([l,c])}):Array.isArray(i.init.headers)?i.init.headers.forEach(c=>{a.push(c)}):i.init.headers&&Object.keys(i.init.headers).forEach(c=>{a.push([c,i.init.headers[c]])}),i.init.headers=a.concat(t2(s))}}),traceXhr:(i,s)=>F5(e,i,t,n,r,o=>{Object.keys(o).forEach(a=>{s.setRequestHeader(a,o[a])})})}}function F5(e,t,n,r,i,s){const o=n.findTrackedSession();if(!o)return;const a=e.allowedTracingUrls.find(u=>Kd([u.match],t.url,!0));if(!a)return;const c=V9(o.id,e.traceSampleRate);(c||e.traceContextInjection===em.ALL)&&(t.traceSampled=c,t.traceId=Gj(),t.spanId=U9(),s(Jj(t.traceId,t.spanId,t.traceSampled,o.id,a.propagatorTypes,r,i,e)))}function Jj(e,t,n,r,i,s,o,a){const c={};if(i.forEach(l=>{switch(l){case"datadog":{Object.assign(c,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":e.toString()});break}case"tracecontext":{Object.assign(c,{traceparent:`00-0000000000000000${qo(e)}-${qo(t)}-0${n?"1":"0"}`,tracestate:`dd=s:${n?"1":"0"};o:rum`});break}case"b3":{Object.assign(c,{b3:`${qo(e)}-${qo(t)}-${n?"1":"0"}`});break}case"b3multi":{Object.assign(c,{"X-B3-TraceId":qo(e),"X-B3-SpanId":qo(t),"X-B3-Sampled":n?"1":"0"});break}}}),a.propagateTraceBaggage){const l={"session.id":r},u=s.getContext().id;typeof u=="string"&&(l["user.id"]=u);const f=o.getContext().id;typeof f=="string"&&(l["account.id"]=f);const d=Object.entries(l).map(([h,p])=>`${h}=${encodeURIComponent(p)}`).join(",");d&&(c.baggage=d)}return c}const j9=["tracecontext","datadog"];function Xj(e,t){var n,r,i,s,o,a,c;if(e.trackFeatureFlagsForEvents!==void 0&&!Array.isArray(e.trackFeatureFlagsForEvents)&&$e.warn("trackFeatureFlagsForEvents should be an array"),!e.applicationId){$e.error("Application ID is not configured, no RUM data will be collected.");return}if(!sa(e.sessionReplaySampleRate,"Session Replay")||!sa(e.traceSampleRate,"Trace"))return;if(e.excludedActivityUrls!==void 0&&!Array.isArray(e.excludedActivityUrls)){$e.error("Excluded A
184ctivity Urls should be an array");return}const l=Zj(e);if(!l)return;const u=n6(e,t),f=tz(e);if(!u)return;const d=(n=e.sessionReplaySampleRate)!==null&&n!==void 0?n:0;return{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:d,startSessionReplayRecordingManually:e.startSessionReplayRecordingManually!==void 0?!!e.startSessionReplayRecordingManually:d===0,traceSampleRate:(r=e.traceSampleRate)!==null&&r!==void 0?r:100,rulePsr:Gl(e.traceSampleRate)?e.traceSampleRate/100:void 0,allowedTracingUrls:l,excludedActivityUrls:(i=e.excludedActivityUrls)!==null&&i!==void 0?i:[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!!(!((s=e.trackUserInteractions)!==null&&s!==void 0)||s),trackViewsManually:!!e.trackViewsManually,trackResources:!!(!((o=e.trackResources)!==null&&o!==void 0)||o),trackLongTasks:!!(!((a=e.trackLongTasks)!==null&&a!==void 0)||a),trackBfcacheViews:!!e.trackBfcacheViews,trackEarlyRequests:!!e.trackEarlyRequests,subdomain:e.subdomain,defaultPrivacyLevel:Hf(ia,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:ia.MASK,enablePrivacyForActionName:!!e.enablePrivacyForActionName,traceContextInjection:Hf(em,e.traceContextInjection)?e.traceContextInjection:em.SAMPLED,plugins:e.plugins||[],trackFeatureFlagsForEvents:e.trackFeatureFlagsForEvents||[],profilingSampleRate:(c=e.profilingSampleRate)!==null&&c!==void 0?c:0,prop
184agateTraceBaggage:!!e.propagateTraceBaggage,allowedGraphQlUrls:f,...u}}function Zj(e){if(e.allowedTracingUrls===void 0)return[];if(!Array.isArray(e.allowedTracingUrls)){$e.error("Allowed Tracing URLs should be an array");return}if(e.allowedTracingUrls.length!==0&&e.service===void 0){$e.error("Service needs to be configured when tracing is enabled");return}const t=[];return e.allowedTracingUrls.forEach(n=>{xl(n)?t.push({match:n,propagatorTypes:j9}):Qj(n)?t.push(n):$e.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",n)}),t}function ez(e){const t=new Set;return vo(e.allowedTracingUrls)&&e.allowedTracingUrls.forEach(n=>{xl(n)?j9.forEach(r=>t.add(r)):No(n)==="object"&&Array.isArray(n.propagatorTypes)&&n.propagatorTypes.forEach(r=>t.add(r))}),Array.from(t)}function tz(e){if(!e.allowedGraphQlUrls)return[];if(!Array.isArray(e.allowedGraphQlUrls))return $e.warn("allowedGraphQlUrls should be an array"),[];const t=[];return e.allowedGraphQlUrls.forEach(n=>{xl(n)?t.push({match:n,trackPayload:!1,trackResponseErrors:!1}):n&&typeof n=="object"&&"match"in n&&xl(n.match)&&t.push({match:n.match,trackPayload:!!n.trackPayload,trackResponseErrors:!!n.trackResponseErrors})}),t}function nz(e){return vo(e)&&e.some(t=>typeof t=="object"&&"trackPayload"in t?!!t.trackPayload:!1)}function rz(e){return vo(e)&&e.some(t=>typeof t=="object"&&"trackResponseErrors"in t?!!t.trackResponseErrors:!1)}function iz(e){var t;const n=r6(e);return{session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,trace_context_injection:e.traceContextInjection,propagate_trace_baggage:e.propagateTraceBaggage,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:vo(e.allowedTracingUrls),use_allowed_graph_ql_urls:vo(e.allowedGraphQlUrls),use_track_graph_ql_payload:nz(e.allowedGraphQlUrls),use_track_graph_ql_response_errors:rz(e.allowedGraphQlUrls),selected_tracing_propagators:ez(e),default_privacy_level:e.defaultPrivacyLevel,enable_privacy_for_action_name:e.enablePrivacyForActionName,use_excluded_activity_urls:vo(e.excludedActivityUrls),use_worker_url:!!e.workerUrl,compress_intake_requests:e.compressIntakeRequests,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks,track_bfcache_views:e.trackBfcacheViews,track_early_requests:e.trackEarlyRequests,plugins:(t=e.plugins)===null||t===void 0?void 0:t.map(r=>{var i;return{name:r.name,...(i=r.getConfigurationTelemetry)===null||i===void 0?void 0:i.call(r)}}),track_feature_flags_for_events:e.trackFeatureFlagsForEvents,remote_configuration_id:e.remoteConfigurationId,profiling_sample_rate:e.profilingSampleRate,use_remote_configuration_proxy:!!e.remoteConfigurationProxy,...n}}function sz(e){const t=[];let n=0,r;const i={quote:void 0,escapeSequence:void 0};let s="";for(const o of e){if(r=V5[n].find(a=>fz[a](o,i)),!r)return[];if(i.escapeSequence!==void 0&&r!==12){if(!pz(i.escapeSequence))return[];s+=gz(i.escapeSequence),i.escapeSequence=void 0}dz.includes(r)?s+=o:hz.includes(r)&&s!==""?(t.push(s),s=""):r===12?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${o}`:o:r===8?i.quote=o:r===9&&(i.quote=void 0),n=r}return V5[n].includes(1)?(s!==""&&t.push(s),t):[]}const oz=/[a-zA-Z_$]/,az=/[a-zA-Z0-9_$]/,cz=/[0-9]/,lz=/[a-fA-F0-9]/,uz=`'"`,fz={0:()=>!1,1:()=>!1,2:e=>oz.test(e),3:e=>az.test(e),4:e=>e===".",5:e=>e==="[",6:e=>e==="]",7:e=>cz.test(e),8:e=>uz.includes(e),9:(e,t)=>e===t.quote,10:()=>!0,11:e=>e==="\\",12:(e,t)=>t.escapeSequence===void 0?`${t.quote}/\\bfnrtu`.includes(e):t.escapeSequence.startsWith("u")&&t.escapeSequence.length<5?lz.test(e):!1},V5={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},dz=[2,3,7,10],hz=[4,5,6];function pz(e){return`"'/\\bfnrt`.includes(e)||e.startsWith("u")&&e.length===5}const mz={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:` 185`,r:"\r",t:" "};function gz(e){return e.startsWith("u")?String.fromCharCode(parseInt(e.slice(1),16)):mz[e]}const _z="v1",yz=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyF
185orActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function vz(e,t){let n;const r=wz(),i=await kz(e);return i.ok?(r.increment("fetch","success"),n=bz(e,i.value,t,r)):(r.increment("fetch","failure"),$e.error(i.error)),Zd("remote configuration metrics",{metrics:r.get()}),n}function bz(e,t,n,r){const i={...e};return yz.forEach(d=>{d in t&&(i[d]=s(t[d]))}),Object.keys(n).forEach(d=>{t[d]!==void 0&&o(n[d],t[d])}),i;function s(d){if(Array.isArray(d))return d.map(s);if(Sz(d)){if(Ez(d)){const h=d.rcSerializedType;switch(h){case"string":return d.value;case"regex":return z9(d.value);case"dynamic":return a(d);default:$e.error(`Unsupported remote configuration: "rcSerializedType": "${h}"`);return}}return A7(d,s)}return d}function o(d,h){h.forEach(({key:p,value:m})=>{d.setContextProperty(p,s(m))})}function a(d){const h=d.strategy;let p;switch(h){case"cookie":p=c(d);break;case"dom":p=l(d);break;case"js":p=f(d);break;default:$e.error(`Unsupported remote configuration: "strategy": "${h}"`);return}const m=d.extractor;return m!==void 0&&typeof p=="string"?Tz(m,p):p}function c({name:d}){const h=Gd(d);return r.increment("cookie",h!==void 0?"success":"missing"),h}function l({selector:d,attribute:h}){let p;try{p=document.querySelector(d)}catch{$e.error(`Invalid selector in the remote configuration: '${d}'`),r.increment("dom","failure");return}if(!p){r.increment("dom","missing");return}if(u(p,h)){$e.error(`Forbidden element selected by the remote configuration: '${d}'`),r.increment("dom","failure");return}const m=h!==void 0?p.getAttribute(h):p.textContent;if(m===null){r.increment("dom","missing");return}return r.increment("dom","success"),m}function u(d,h){return d.getAttribute("type")==="password"&&h==="value"}function f({path:d}){let h=window;const p=sz(d);if(p.length===0){$e.error(`Invalid JSON path in the remote configuration: '${d}'`),r.increment("js","failure");return}for(const m of p){if(!(m in h)){r.increment("js","missing");return}try{h=h[m]}catch(g){$e.error(`Error accessing: '${d}'`,g),r.increment("js","failure");return}}return r.increment("js","success"),h}}function wz(){const e={fetch:{}};return{get:()=>e,increment:(t,n)=>{e[t]||(e[t]={}),e[t][n]||(e[t][n]=0),e[t][n]=e[t][n]+1}}}function Sz(e){return typeof e=="object"&&e!==null}function Ez(e){return"rcSerializedType"in e}function z9(e){try{return new RegExp(e)}catch{$e.error(`Invalid regex in the remote configuration: '${e}'`)}}function Tz(e,t){const n=z9(e.value);if(n===void 0)return;const r=n.exec(t);if(r===null)return;const[i,s]=r;return s||i}async function kz(e){let t;try{t=await fetch(xz(e))}catch{t=void 0}if(!t||!t.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const n=await t.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:new Error("No remote configuration for RUM.")}}function xz(e){return e.remoteConfigurationProxy?e.remoteConfigurationProxy:`https://sdk-configuration.${e6("rum",e)}/${_z}/${encodeURIComponent(e.remoteConfigurationId)}.json`}function Cz({ignoreInitIfSyntheticsWillInjectRum:e=!0,startDeflateWorker:t},n,r,i){const s=z6(),o=m2();Dp(o,Ye.globalContext,s);const a=g2();Dp(a,Ye.userContext,s);const c=p2();Dp(c,Ye.accountContext,s);let l,u,f,d;const h=n.observable.subscribe(m),p={};function m(){if(!f||!d||!n.isGranted())return;h.unsubscribe();let v;if(d.trackViewsManually){if(!l)return;s.remove(l.callback),v=l.options}const w=i(d,u,v);s.drain(w)}function g(v,w){const S=Bi();if(S&&(v=Iz(v)),f=v,P6(iz(v)),d){Jd("DD_RUM",v);return}const O=Xj(v,w);if(O){if(!S&&!O.sessionStoreStrategyType){$e.warn("No storage available for session. We will not send any data.");return}O.compressIntakeRequests&&!S&&t&&(u=t(O,"Datadog RUM",nt),!u)||(d=O,th().subscribe(nt),n.tryToInit(O.trackingConsent),m())}}const _=v=>{s.add(w=>w.addDurationVital(v))};return{init(v,w,S){if(!v){$e.error("Missing configuration");return}i6(v.enableExperimentalFeatures),f=v,!(e&&eh())&&(F9(v.plugins,"onInit",{initConfiguration:v,publicApi:w}),v.remoteConfigurationId?vz(v,{user:a,context:o}).then(O=>{O&&g(O,S)}
185).catch(As):g(v,S))},get initConfiguration(){return f},getInternalContext:nt,stopSession:nt,addTiming(v,w=Qt()){s.add(S=>S.addTiming(v,w))},startView(v,w=ln()){const S=O=>{O.startView(v,w)};s.add(S),l||(l={options:v,callback:S},m())},setViewName(v){s.add(w=>w.setViewName(v))},setViewContext(v){s.add(w=>w.setViewContext(v))},setViewContextProperty(v,w){s.add(S=>S.setViewContextProperty(v,w))},getViewContext:()=>p,globalContext:o,userContext:a,accountContext:c,addAction(v){s.add(w=>w.addAction(v))},addError(v){s.add(w=>w.addError(v))},addFeatureFlagEvaluation(v,w){s.add(S=>S.addFeatureFlagEvaluation(v,w))},startDurationVital(v,w){return L9(r,v,w)},stopDurationVital(v,w){M9(_,r,v,w)},addDurationVital:_,addOperationStepVital:(v,w,S,O)=>{s.add(A=>A.addOperationStepVital(ut(v),w,ut(S),ut(O)))}}}function Iz(e){var t,n;return{...e,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:(t=e.defaultPrivacyLevel)!==null&&t!==void 0?t:(n=oc())===null||n===void 0?void 0:n.getPrivacyLevel()}}function Dp(e,t,n){e.changeObservable.subscribe(()=>{const r=e.getContext();n.add(i=>i[t].setContext(r))})}function Oz(e,t,n,r={}){const i=X7(),s=zj(),o=G6().observable;let a=Cz(r,i,s,(f,d,h)=>{const p=d&&r.createDeflateEncoder?g=>r.createDeflateEncoder(f,d,g):u2,m=e(f,t,n,h,p,i,s,o,r.sdkName);return t.onRumStart(m.lifeCycle,f,m.session,m.viewHistory,d,m.telemetry),n.onRumStart(m.lifeCycle,m.hooks,f,m.session,m.viewHistory,m.longTaskContexts,p),a=Az(a,m),F9(f.plugins,"onRumStart",{strategy:a,addEvent:m.addEvent}),m});const c=()=>a,l=Pe(f=>{const d=typeof f=="object"?f:{name:f};a.startView(d),tn({feature:"start-view"})}),u=h6({init:f=>{const d=new Error().stack;Ai(()=>a.init(f,u,d))},setTrackingConsent:Pe(f=>{i.update(f),tn({feature:"set-tracking-consent",tracking_consent:f})}),setViewName:Pe(f=>{a.setViewName(f),tn({feature:"set-view-name"})}),setViewContext:Pe(f=>{a.setViewContext(f),tn({feature:"set-view-context"})}),setViewContextProperty:Pe((f,d)=>{a.setViewContextProperty(f,d),tn({feature:"set-view-context-property"})}),getViewContext:Pe(()=>(tn({feature:"set-view-context-property"}),a.getViewContext())),getInternalContext:Pe(f=>a.getInternalContext(f)),getInitConfiguration:Pe(()=>Xd(a.initConfiguration)),addAction:(f,d)=>{const h=qa("action");Ai(()=>{a.addAction({name:ut(f),context:ut(d),startClocks:ln(),type:H2.CUSTOM,handlingStack:h}),tn({feature:"add-action"})})},addError:(f,d)=>{const h=qa("error");Ai(()=>{a.addError({error:f,handlingStack:h,context:ut(d),startClocks:ln()}),tn({feature:"add-error"})})},addTiming:Pe((f,d)=>{a.addTiming(ut(f),d)}),setGlobalContext:ft(c,Ye.globalContext,dt.setContext,"set-global-context"),getGlobalContext:ft(c,Ye.globalContext,dt.getContext,"get-global-context"),setGlobalContextProperty:ft(c,Ye.globalContext,dt.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:ft(c,Ye.globalContext,dt.removeContextProperty,"remove-global-context-property"),clearGlobalContext:ft(c,Ye.globalContext,dt.clearContext,"clear-global-context"),setUser:ft(c,Ye.userContext,dt.setContext,"set-user"),getUser:ft(c,Ye.userContext,dt.getContext,"get-user"),setUserProperty:ft(c,Ye.userContext,dt.setContextProperty,"set-user-property"),removeUserProperty:ft(c,Ye.userContext,dt.removeContextProperty,"remove-user-property"),clearUser:ft(c,Ye.userContext,dt.clearContext,"clear-user"),setAccount:ft(c,Ye.accountContext,dt.setContext,"set-account"),getAccount:ft(c,Ye.accountContext,dt.getContext,"get-account"),setAccountProperty:ft(c,Ye.accountContext,dt.setContextProperty,"set-account-property"),removeAccountProperty:ft(c,Ye.accountContext,dt.removeContextProperty,"remove-account-property"),clearAccount:ft(c,Ye.accountContext,dt.clearContext,"clear-account"),startView:l,stopSession:Pe(()=>{a.stopSession(),tn({feature:"stop-session"})}),addFeatureFlagEvaluation:Pe((f,d)=>{a.addFeatureFlagEvaluation(ut(f),ut(d)),tn({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:Pe(()=>t.getSessionReplayLink()),startSessionReplayRecording:Pe(f=>{t.start(f),tn({feature:"start-session-replay-recording",force:f&&f.force})}),stopSessionReplayRecording:Pe(()=>t.stop()),addDurationVital:Pe((f,d)=>{tn({feature:"add-duration-vital"}),a.addDurationVital({name:ut(f),type:$l.DURATION,startClocks:ED(d.startTime),duration:d.duration,context:ut(d&&d.context),description:ut(d&&d.description)})}),startDurationVital:Pe((f,d)=>(tn({feature:"start-duration-vital"}),a.startDurationVital(ut(f),{context:ut(d&&d.context),description:ut(d&&d.description)}))),stopDurationVital:Pe((f,d)=>{tn({feature:"stop-duration-vital"}),a.stopDurationVital(typeof f=="string"?ut(f):f,{context:ut(d&&d.context),description:ut(d&&d.description)})}),startFeatureOperation:Pe((f,d)=>{tn({feature:"add-operation-step-vital",action_type:"start"}),a.addOperationStepVital(f,"start",d)}),succeedFeatureOperation:Pe((f,d)=>{tn({feature:"add-operation-step-vital",action_type:"succeed"}),a.addOperationStepVital(f,"end",d)}),failFeatureOperation:Pe((f,d,h)=>{tn({feature:"add-operation-step-vital",action_type:"fail"}),a.addOperationStepVital(f,"end",h,d)})});return u}function Az(e,t){return{init:n=>{Jd("DD_RUM",n)}
185,initConfiguration:e.initConfiguration,...t}}function Rz(){const e=Pz();return new Qe(t=>{if(!e)return;const n=new e(Pe(r=>t.notify(r)));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()})}function Pz(){let e;const t=window;if(t.Zone&&(e=Os(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){const n=new t.MutationObserver(nt),r=Os(n,"originalInstance");e=r&&r.constructor}return e||(e=t.MutationObserver),e}function Dz(){const e=new Qe,{stop:t}=ri(window,"open",()=>e.notify());return{observable:e,stop:t}}function Nz(e,t,n,r,i){return{get:s=>{const o=n.findView(s),a=i.findUrl(s),c=t.findTrackedSession(s);if(c&&o&&a){const l=r.findActionId(s);return{application_id:e,session_id:c.id,user_action:l?{id:l}:void 0,view:{id:o.id,name:o.name,referrer:a.referrer,url:a.url}}}}}}const $z=V6,Lz=Vs;function Mz(e){const t=$o({expireDelay:Lz});e.subscribe(1,r=>{t.add(n(r),r.startClocks.relative)}),e.subscribe(6,({endClocks:r})=>{t.closeActive(r.relative)}),e.subscribe(3,r=>{const i=t.find(r.startClocks.relative);i&&(r.name&&(i.name=r.name),r.context&&(i.context=r.context),i.sessionIsActive=r.sessionIsActive)}),e.subscribe(10,()=>{t.reset()});function n(r){return{service:r.service,version:r.version,context:r.context,id:r.id,name:r.name,startClocks:r.startClocks}}return{findView:r=>t.find(r),stop:()=>{t.stop()}}}const H9="initial_document",Fz=[[$n.DOCUMENT,e=>H9===e],[$n.XHR,e=>e==="xmlhttprequest"],[$n.FETCH,e=>e==="fetch"],[$n.BEACON,e=>e==="beacon"],[$n.CSS,(e,t)=>/\.css$/i.test(t)],[$n.JS,(e,t)=>/\.js$/i.test(t)],[$n.IMAGE,(e,t)=>["image","img","icon"].includes(e)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)!==null],[$n.FONT,(e,t)=>/\.(woff|eot|woff2|ttf)$/i.exec(t)!==null],[$n.MEDIA,(e,t)=>["audio","video"].includes(e)||/\.(mp3|mp4)$/i.exec(t)!==null]];function Vz(e){const t=e.name;if(!PD(t))return $n.OTHER;const n=DD(t);for(const[r,i]of Fz)if(i(e.initiatorType,n))return r;return $n.OTHER}function U5(...e){for(let t=1;t<e.length;t+=1)if(e[t-1]>e[t])return!1;return!0}function q9(e){return e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch"}function Uz(e){const{duration:t,startTime:n,responseEnd:r}=e;return t===0&&n<r?Yt(n,r):t}function Bz(e){if(!G9(e))return;const{startTime:t,fetchStart:n,workerStart:r,redirectStart:i,redirectEnd:s,domainLookupStart:o,domainLookupEnd:a,connectStart:c,secureConnectionStart:l,connectEnd:u,requestStart:f,responseStart:d,responseEnd:h}=e,p={download:Ks(t,d,h),first_byte:Ks(t,f,d)};return 0<r&&r<n&&(p.worker=Ks(t,r,n)),n<u&&(p.connect=Ks(t,c,u),c<=l&&l<=u&&(p.ssl=Ks(t,l,u))),n<a&&(p.dns=Ks(t,o,a)),t<s&&(p.redirect=Ks(t,i,s)),p}function W9(e){return e.duration>=0}function G9(e){const t=U5(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),n=jz(e)?U5(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart):!0;return t&&n}function jz(e){return e.redirectEnd>e.startTime}function Ks(e,t,n){if(e<=t&&t<=n)return{duration:je(Yt(t,n)),start:je(Yt(e,t))}}function zz(e){return e.nextHopProtocol===""?void 0:e.nextHopProtocol}function Hz(e){return e.deliveryType===""?"other":e.deliveryType}function qz(e){if(e.startTime<e.responseStart){const{encodedBodySize:t,decodedBodySize:n,transferSize:r}=e;return{size:n,encoded_body_size:t,decoded_body_size:n,transfer_size:r}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function q2(e){return e&&(!t6(e)||Kl(Rs.TRACK_INTAKE_REQUESTS))}const Wz=/data:(.+)?(;base64)?,/g,Gz=24e3;function Qz(e,t=Gz){if(e.length<=t||!e.startsWith("data:"))return e;const n=e.substring(0,100).match(Wz);return n?`${n[0]}[...]`:e}const Kz=32*Us;function Yz(e,t){const n=Xz(e.requestBody,t.trackPayload);if(n){if(t.trackResponseErrors&&e.responseBody){const r=Jz(e.responseBody);r&&(n.error_count=r.length,n.errors=r)}return n}}function Jz(e){let t;try{t=JSON.parse(e)}catch{return}if(!t||typeof t!="object")return;const n=t;return vo(n.errors)?n.errors.map(i=>{var s;return{message:i.message,path:i.path,locations:i.locations,code:(s=i.extensions)===null||s===void 0?void 0:s.code}}):void 0}function Q9(e,t){return t.allowedGraphQlUrls.find(n=>Kd([n.match],e))}function Xz(e,t=!1){if(!e||typeof e!="string")return;let n;try{n=JSON.parse(e)}catch{return}if(!n)return;let r,i;if(n.query){const a=n.query.trim();r=Zz(a),t&&(i=Hd(a,Kz,"..."))}const s=n.operationName;let o;return n.variables&&(o=JSON.stringify(n.variables)),{operationType:r,operationName:s,variables:o,payload:i}}function Zz(e){var t;return(t=e.match(/^\s*(query|mutation|subscription)\b/i))===null||t===void 0?void 0:t[1]}let B5=1;function eH(e,t,n,r,i){const s=Yj(t,n,r,i);tH(e,t,s),nH(e,t,s)}function tH(e,t,n){const r=U6(t).subscribe(i=>{const s=i;if(q2(s.url))switch(s.state){case"start":n.traceXhr(s,s.xhr),s.requestIndex=K9(),e.notify(7,{requestIndex:s.requestIndex,url:s.url});break;case"complete":n.clearTracingIfNeeded(s),e.notify(8,{duration:s.duration,method:s.method,requestIndex:s.requestIndex,spanId:s.spanId,startClocks:s.startClocks,status:s.status,traceId:s.traceId,traceSampled:s.traceSampled,type:To.XHR,url:s.url,xhr:s.xhr,isAborted:s.isAborted,handlingStack:s.handlingStack,requestBody:s.requestBody,responseBody:s.responseBody});break}});return{stop:()=>r.unsubscribe()}}
185function nH(e,t,n){const r=th({responseBodyAction:i=>{var s;return!((s=Q9(i.url,t))===null||s===void 0)&&s.trackResponseErrors?2:1}}).subscribe(i=>{var s;const o=i;if(q2(o.url))switch(o.state){case"start":n.traceFetch(o),o.requestIndex=K9(),e.notify(7,{requestIndex:o.requestIndex,url:o.url});break;case"resolve":n.clearTracingIfNeeded(o),e.notify(8,{duration:Yt(o.startClocks.timeStamp,Qt()),method:o.method,requestIndex:o.requestIndex,responseType:o.responseType,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,traceSampled:o.traceSampled,type:To.FETCH,url:o.url,response:o.response,init:o.init,input:o.input,isAborted:o.isAborted,handlingStack:o.handlingStack,requestBody:(s=o.init)===null||s===void 0?void 0:s.body,responseBody:o.responseBody});break}});return{stop:()=>r.unsubscribe()}}function K9(){const e=B5;return B5+=1,e}function Y9(e){return Gl(e)&&e<0?void 0:e}function J9({lifeCycle:e,isChildEvent:t,onChange:n=nt}){const r={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=e.subscribe(13,s=>{var o;if(!(s.type==="view"||s.type==="vital"||!t(s)))switch(s.type){case ze.ERROR:r.errorCount+=1,n();break;case ze.ACTION:r.actionCount+=1,s.action.frustration&&(r.frustrationCount+=s.action.frustration.type.length),n();break;case ze.LONG_TASK:r.longTaskCount+=1,n();break;case ze.RESOURCE:!((o=s._dd)===null||o===void 0)&&o.discarded||(r.resourceCount+=1,n());break}});return{stop:()=>{i.unsubscribe()},eventCounts:r}}function rH(e,t){const n=Vn();let r=!1;const{stop:i}=Ps(e,window,["click","mousedown","keydown","touchstart","pointerdown"],a=>{if(!a.cancelable)return;const c={entryType:"first-input",processingStart:ir(),processingEnd:ir(),startTime:a.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:()=>({})};a.type==="pointerdown"?s(e,c):o(c)},{passive:!0,capture:!0});return{stop:i};function s(a,c){Ps(a,window,["pointerup","pointercancel"],l=>{l.type==="pointerup"&&o(c)},{once:!0})}function o(a){if(!r){r=!0,i();const c=a.processingStart-a.startTime;c>=0&&c<Vn()-n&&t(a)}}}var rt;(function(e){e.EVENT="event",e.FIRST_INPUT="first-input",e.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",e.LAYOUT_SHIFT="layout-shift",e.LONG_TASK="longtask",e.LONG_ANIMATION_FRAME="long-animation-frame",e.NAVIGATION="navigation",e.PAINT="paint",e.RESOURCE="resource",e.VISIBILITY_STATE="visibility-state"})(rt||(rt={}));function Hi(e,t){return new Qe(n=>{if(!window.PerformanceObserver)return;const r=c=>{const l=oH(c);l.length>0&&n.notify(l)};let i,s=!0;const o=new PerformanceObserver(Pe(c=>{s?i=On(()=>r(c.getEntries())):r(c.getEntries())}));try{o.observe(t)}catch{if([rt.RESOURCE,rt.NAVIGATION,rt.LONG_TASK,rt.PAINT].includes(t.type)){t.buffered&&(i=On(()=>r(performance.getEntriesByType(t.type))));try{o.observe({entryTypes:[t.type]})}catch{return}}}s=!1,iH(e);let a;return!Mo(rt.FIRST_INPUT)&&t.type===rt.FIRST_INPUT&&({stop:a}=rH(e,c=>{r([c])})),()=>{o.disconnect(),a&&a(),vr(i)}})}let Lc;function iH(e){return!Lc&&sH()&&"addEventListener"in performance&&(Lc=At(e,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),()=>{Lc?.stop()}}function sH(){return window.performance!==void 0&&"getEntries"in performance}function Mo(e){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(e)}function oH(e){return e.filter(t=>!aH(t))}function aH(e){return e.entryType===rt.RESOURCE&&(!q2(e.name)||!W9(e))}function $m(e){return e.nodeType===Node.TEXT_NODE}function cH(e){return e.nodeType===Node.COMMENT_NODE}function qi(e){return e.nodeType===Node.ELEMENT_NODE}function X9(e){return qi(e)&&!!e.shadowRoot}function lH(e){const t=e;return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&qi(t.host)}function Dae(e){return e.childNodes.length>0||X9(e)}function Nae(e,t){let n=e.firstChild;for(;n;)t(n),n=n.nextSibling;X9(e)&&t(e.shadowRoot)}function uH(e){return lH(e)?e.host:e.parentNode}const Z9=100,fH=100,j5="data-dd-excluded-activity-mutations";function W2(e,t,n,r,i,s){const o=hH(e,t,n,r);return dH(o,i,s)}function dH(e,t,n){let r,i=!1;const s=On(Pe(()=>l({hadActivity:!1})),Z9),o=n!==void 0?On(Pe(()=>l({hadActivity:!0,end:Qt()})),n):void 0,a=e.subscribe(({isBusy:u})=>{vr(s),vr(r);const f=Qt();u||(r=On(Pe(()=>l({hadActivity:!0,end:f})),fH))}),c=()=>{i=!0,vr(s),vr(r),vr(o),a.unsubscribe()};function l(u){i||(c(),t(u))}return{stop:c}}function hH(e,t,n,r){return new Qe(i=>{const s=[];let o,a=0;return s.push(t.subscribe(l=>{l.every(pH)||c()}),n.subscribe(c),Hi(r,{type:rt.RESOURCE}).subscribe(l=>{l.some(u=>!Np(r,u.name))&&c()}),e.subscribe(7,l=>{Np(r,l.url)||(o===void 0&&(o=l.requestIndex),a+=1,c())}),e.subscribe(8,l=>{Np(r,l.url)||o===void 0||l.requestIndex<o||(a-=1,c())})),()=>
185{s.forEach(l=>l.unsubscribe())};function c(){i.notify({isBusy:a>0})}})}function Np(e,t){return Kd(e.excludedActivityUrls,t)}function pH(e){const t=e.type==="characterData"?e.target.parentElement:e.target;return!!(t&&qi(t)&&t.matches(`[${j5}], [${j5}] *`))}const ph="data-dd-action-name",ew="Masked Element",tw=[ph,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],mH=[rw,_H],gH=[rw,yH,vH];function nu(e,t){if(!e.isConnected)return;let n,r=e;for(;r&&r.nodeName!=="HTML";){const i=z5(r,mH,wH,t,n);if(i)return i;n=z5(r,gH,SH,t,n)||mh(bH(r),n),r=r.parentElement}return n}function nw(e){return/[0-9]/.test(e)}function _H(e){if(e.id&&!nw(e.id))return`#${CSS.escape(e.id)}`}function yH(e){if(e.tagName==="BODY")return;const t=e.classList;for(let n=0;n<t.length;n+=1){const r=t[n];if(!nw(r))return`${CSS.escape(e.tagName)}.${CSS.escape(r)}`}}function vH(e){return CSS.escape(e.tagName)}function rw(e,t){if(t){const r=n(t);if(r)return r}for(const r of tw){const i=n(r);if(i)return i}function n(r){if(e.hasAttribute(r))return`${CSS.escape(e.tagName)}[${r}="${CSS.escape(e.getAttribute(r))}"]`}}function bH(e){let t=e.parentElement.firstElementChild,n=1;for(;t&&t!==e;)t.tagName===e.tagName&&(n+=1),t=t.nextElementSibling;return`${CSS.escape(e.tagName)}:nth-of-type(${n})`}function z5(e,t,n,r,i){for(const s of t){const o=s(e,r);if(o&&n(e,o,i))return mh(o,i)}}function wH(e,t,n){return e.ownerDocument.querySelectorAll(mh(t,n)).length===1}function SH(e,t,n){let r;if(n===void 0)r=o=>o.matches(t);else{const o=mh(`${t}:scope`,n);r=a=>a.querySelector(o)!==null}let s=e.parentElement.firstElementChild;for(;s;){if(s!==e&&r(s))return!1;s=s.nextElementSibling}return!0}function mh(e,t){return t?`${e}>${t}`:e}const He={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ia.ALLOW,MASK:ia.MASK,MASK_USER_INPUT:ia.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:ia.MASK_UNLESS_ALLOWLISTED},iw="data-dd-privacy",$ae="hidden",EH="dd-privacy-",$p="***",Lae="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",TH={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},kH="x";function oo(e){return`[${iw}="${e}"], .${EH}${e}`}function gh(e,t,n){if(n&&n.has(e))return n.get(e);const r=uH(e),i=r?gh(r,t,n):t,s=CH(e),o=xH(s,i);return n&&n.set(e,o),o}function xH(e,t){switch(t){case He.HIDDEN:case He.IGNORE:return t}switch(e){case He.ALLOW:case He.MASK:case He.MASK_USER_INPUT:case He.MASK_UNLESS_ALLOWLISTED:case He.HIDDEN:case He.IGNORE:return e;default:return t}}function CH(e){if(qi(e)){if(e.tagName==="BASE")return He.ALLOW;if(e.tagName==="INPUT"){const t=e;if(t.type==="password"||t.type==="email"||t.type==="tel"||t.type==="hidden")return He.MASK;const n=t.getAttribute("autocomplete");if(n&&(n.startsWith("cc-")||n.endsWith("-password")))return He.MASK}if(e.matches(oo(He.HIDDEN)))return He.HIDDEN;if(e.matches(oo(He.MASK)))return He.MASK;if(e.matches(oo(He.MASK_UNLESS_ALLOWLISTED)))return He.MASK_UNLESS_ALLOWLISTED;if(e.matches(oo(He.MASK_USER_INPUT)))return He.MASK_USER_INPUT;if(e.matches(oo(He.ALLOW)))return He.ALLOW;if(OH(e))return He.IGNORE}}function sw(e,t){switch(t){case He.MASK:case He.HIDDEN:case He.IGNORE:return!0;case He.MASK_UNLESS_ALLOWLISTED:return $m(e)?Uu(e.parentNode)?!0:!aw(e.textContent||""):Uu(e);case He.MASK_USER_INPUT:return $m(e)?Uu(e.parentNode):Uu(e);default:return!1}}function IH(e,t,n,r,i){if(r!==He.MASK&&r!==He.MASK_UNLESS_ALLOWLISTED||t===iw||tw.includes(t)||t===i.actionNameAttribute)return!1;switch(t){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!(e==="A"&&t==="href"||e==="IFRAME"&&t==="srcdoc"||n&&t.startsWith("data-")||(e==="IMG"||e==="SOURCE")&&(t==="src"||t==="srcset"))}function Uu(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;const t=e;if(t.tagName==="INPUT")switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!TH[t.tagName]}const ow=e=>e.replace(/\S/g,kH);function Mae(e,t){var n;const r=(n=e.parentElement)===null||n===void 0?void 0:n.tagName;let i=e.textContent||"";if(r==="HEAD"&&!i.trim())return;const o=t;if(r==="SCRIPT")i=$p;else if(o===He.HIDDEN)i=$p;else if(sw(e,o))if(r==="DATALIST"||r==="SELECT"||r==="OPTGROUP"){if(!i.trim())return}else r==="OPTION"?i=$p:o===He.MASK_UNLESS_ALLOWLISTED?i=cw(i):i=ow(i);return i}function OH(e){if(e.nodeName==="SCRIPT")return!0;
185if(e.nodeName==="LINK"){const n=t("rel");return/preload|prefetch/i.test(n)&&t("as")==="script"||n==="shortcut icon"||n==="icon"}if(e.nodeName==="META"){const n=t("name"),r=t("rel"),i=t("property");return/^msapplication-tile(image|color)$/.test(n)||n==="application-name"||r==="icon"||r==="apple-touch-icon"||r==="shortcut icon"||n==="keywords"||n==="description"||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(n)||n==="pinterest"||n==="robots"||n==="googlebot"||n==="bingbot"||e.hasAttribute("http-equiv")||n==="author"||n==="generator"||n==="framework"||n==="publisher"||n==="progid"||/^article:/.test(i)||/^product:/.test(i)||n==="google-site-verification"||n==="yandex-verification"||n==="csrf-token"||n==="p:domain_verify"||n==="verify-v1"||n==="verification"||n==="shopify-checkout-api-token"}function t(n){return(e.getAttribute(n)||"").toLowerCase()}return!1}function aw(e){var t;return!e||!e.trim()?!0:((t=window.$DD_ALLOW)===null||t===void 0?void 0:t.has(e.toLocaleLowerCase()))||!1}function cw(e,t){return aw(e)?e:t||ow(e)}const lw=Rn,AH=100;function RH(e,t){const n=[];let r=0,i;s(e);function s(c){c.stopObservable.subscribe(o),n.push(c),vr(i),i=On(a,lw)}function o(){r===1&&n.every(c=>c.isStopped())&&(r=2,t(n))}function a(){vr(i),r===0&&(r=1,o())}return{tryAppend:c=>r!==0?!1:n.length>0&&!PH(n[n.length-1].event,c.event)?(a(),!1):(s(c),!0),stop:()=>{a()}}}function PH(e,t){return e.target===t.target&&DH(e,t)<=AH&&e.timeStamp-t.timeStamp<=lw}function DH(e,t){return Math.sqrt(Math.pow(e.clientX-t.clientX,2)+Math.pow(e.clientY-t.clientY,2))}function NH(e,t,n=He.ALLOW){const r=new Map,{actionNameAttribute:i}=t,s=H5(e,ph)||i&&H5(e,i);return s?{name:s,nameSource:"custom_attribute"}:n===He.MASK?{name:ew,nameSource:"mask_placeholder"}:q5(e,$H,t,r)||q5(e,LH,t,r)||{name:"",nameSource:"blank"}}function H5(e,t){const n=e.closest(`[${t}]`);if(!n)return;const r=n.getAttribute(t);return fw(uw(r.trim()))}const $H=[(e,t,n)=>{if("labels"in e&&e.labels&&e.labels.length>0)return ff(e.labels[0],t,n)},e=>{if(e.nodeName==="INPUT"){const t=e,n=t.getAttribute("type");if(n==="button"||n==="submit"||n==="reset")return{name:t.value,nameSource:"text_content"}}},(e,t,n)=>{if(e.nodeName==="BUTTON"||e.nodeName==="LABEL"||e.getAttribute("role")==="button")return ff(e,t,n)},(e,t,n)=>Mc(e,"aria-label",t,n),(e,t,n)=>{const r=e.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(i=>FH(e,i)).filter(i=>!!i).map(i=>dw(i,t,n)).join(" "),nameSource:"text_content"}},(e,t,n)=>Mc(e,"alt",t,n),(e,t,n)=>Mc(e,"name",t,n),(e,t,n)=>Mc(e,"title",t,n),(e,t,n)=>Mc(e,"placeholder",t,n),(e,t,n)=>{if("options"in e&&e.options.length>0)return ff(e.options[0],t,n)}],LH=[(e,t,n)=>ff(e,t,n)],MH=10;function q5(e,t,n,r){let i=e,s=0;for(;s<=MH&&i&&i.nodeName!=="BODY"&&i.nodeName!=="HTML"&&i.nodeName!=="HEAD";){for(const o of t){const a=o(i,n,r);if(a){const{name:c,nameSource:l}=a,u=c&&c.trim();if(u)return{name:fw(uw(u)),nameSource:l}}}if(i.nodeName==="FORM")break;i=i.parentElement,s+=1}}function uw(e){return e.replace(/\s+/g," ")}function fw(e){return e.length>100?`${Hd(e,100)} [...]`:e}function FH(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}function Mc(e,t,n,r){const{enablePrivacyForActionName:i,defaultPrivacyLevel:s}=n;let o=e.getAttribute(t);if(o&&i){const a=gh(e,s,r);IH(e.tagName,t,o,a,n)&&(o=cw(o,ew))}else o||(o="");return{name:o,nameSource:"standard_attribute"}}function ff(e,t,n){return{name:dw(e,t,n)||"",nameSource:"text_content"}}function dw(e,t,n){if(e.isContentEditable)return;const{enablePrivacyForActionName:r,actionNameAttribute:i,defaultPrivacyLevel:s}=t;if(Kl(Rs.USE_TREE_WALKER_FOR_ACTION_NAME))return VH(e,i,r,s,n);if("innerText"in e){let o=e.innerText;const a=c=>{const l=e.querySelectorAll(c);for(let u=0;u<l.length;u+=1){const f=l[u];if("innerText"in f){const d=f.innerText;d&&d.trim().length>0&&(o=o.replace(d,""))}}};return a(`[${ph}]`),i&&a(`[${i}]`),r&&a(`${oo(He.HIDDEN)}, ${oo(He.MASK)}`),o}return e.textContent}function VH(e,t,n,r,i){const s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,a);let o="";for(;s.nextNode();){const c=s.currentNode;if(qi(c)){(c.nodeName==="BR"||c.nodeName==="P"||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(c).display))&&(o+=" ");continue}o+=c.textContent||""}return o.replace(/\s+/g," ").trim();function a(c){const l=gh(c,r,i);if(n&&l&&sw(c,l))return NodeFilter.FILTER_REJECT;if(qi(c)){if(c.hasAttribute(ph)||t&&c.hasAttribute(t))return NodeFilter.FILTER_REJECT;const u=getComputedStyle(c);if(u.visibility!=="visible"||u.display==="none"||u.contentVisibility&&u.contentVisibility!=="visible")return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}function UH(e,{onPointerDown:t,onPointerUp:n}){let r,i={selection:!1,input:!1,scroll:!1},s;const o=[At(e,window,"pointerdown",a=>{G5(a)&&(r=W5(),i={selection:!1,input:!1,scroll:!1},s=t(a))},{capture:!0}),At(e,window,"selectionchange",()=>{(!r||!W5())&&(i.selection=!0)},{capture:!0}),At(e,window,"scroll",()=>{i.scroll=!0},{capture:!0,passive:!0}),At(e,window,"pointerup",a=>{if(G5(a)&&s){const c=i;n(s,a,()=>c),s=void 0}},{capture:!0}),At(e,window,"input",()=>{i.input=!0},{capture:!0})];return{stop:()=>{o.forEach(a=>a.stop())}}}function W5(){const e=window.getSelection();return!e||e.isCollapsed}function G5(e){return e.target instanceof Element&&e.isPrimary!==!1}const Q5=3;function BH(e,t){if(jH(e))return t.addFrustration($c.RAGE_CLICK),e.some(K5)&&t.addFrustration($c.DEAD_CLICK),t.hasError&&t.addFrustration($c.ERROR_CLICK),{isRage:!0};const n=e.some(r=>r.getUserActivity().selection);return e.forEach(r=>{r.hasError&&r.addFrustration($c.ERROR_CLICK),K5(r)&&!n&&r.addFrustration($c.DEAD_CLICK)}),{isRage:!1}}function jH(e){if(e.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let t=0;t<e.length-(Q5-1);t+=1)if(e[t+Q5-1].event.timeStamp-e[t].event.timeStamp<=Rn)return!0;return!1}
185const zH='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function K5(e){if(e.hasPageActivity||e.getUserActivity().input||e.getUserActivity().scroll)return!1;let t=e.event.target;return t.tagName==="LABEL"&&t.hasAttribute("for")&&(t=document.getElementById(t.getAttribute("for"))),!t||!t.matches(zH)}const hw=10*Rn,sl=new Map;function HH(e){const t=sl.get(e);return sl.delete(e),t}function pw(e,t){sl.set(e,t),sl.forEach((n,r)=>{Yt(r,ir())>hw&&sl.delete(r)})}const qH=5*jn;function WH(e,t,n,r){const i=$o({expireDelay:qH}),s=new Qe;let o;e.subscribe(10,()=>{i.reset()}),e.subscribe(5,u),e.subscribe(11,f=>{f.reason===wa.UNLOADING&&u()});const{stop:a}=UH(r,{onPointerDown:f=>GH(r,e,t,f,n),onPointerUp:({clickActionBase:f,hadActivityOnPointerDown:d},h,p)=>{QH(r,e,t,n,i,s,l,f,h,p,d)}});return{stop:()=>{u(),s.notify(),a()},actionContexts:{findActionId:f=>i.findAll(f)}};function l(f){if(!o||!o.tryAppend(f)){const d=f.clone();o=RH(f,h=>{YH(h,d),o=void 0})}}function u(){o&&o.stop()}}function GH(e,t,n,r,i){let s;if(e.enablePrivacyForActionName?s=gh(r.target,e.defaultPrivacyLevel):s=He.ALLOW,s===He.HIDDEN)return;const o=KH(r,s,e);let a=!1;return W2(t,n,i,e,c=>{a=c.hadActivity},Z9),{clickActionBase:o,hadActivityOnPointerDown:()=>a}}function QH(e,t,n,r,i,s,o,a,c,l,u){var f;const d=mw(t,i,l,a,c);o(d);const h=(f=a?.target)===null||f===void 0?void 0:f.selector;h&&pw(c.timeStamp,h);const{stop:p}=W2(t,n,r,e,_=>{_.hadActivity&&_.end<d.startClocks.timeStamp?d.discard():_.hadActivity?d.stop(_.end):u()?d.stop(d.startClocks.timeStamp):d.stop()},hw),m=t.subscribe(5,({endClocks:_})=>{d.stop(_.timeStamp)}),g=s.subscribe(()=>{d.stop()});d.stopObservable.subscribe(()=>{m.unsubscribe(),p(),g.unsubscribe()})}function KH(e,t,n){const r=e.target.getBoundingClientRect(),i=nu(e.target,n.actionNameAttribute);i&&pw(e.timeStamp,i);const{name:s,nameSource:o}=NH(e.target,n,t);return{type:H2.CLICK,target:{width:Math.round(r.width),height:Math.round(r.height),selector:i},position:{x:Math.round(e.clientX-r.left),y:Math.round(e.clientY-r.top)},name:s,nameSource:o}}function mw(e,t,n,r,i){const s=Un(),o=Bd(i.timeStamp),a=t.add(s,o.relative),c=J9({lifeCycle:e,isChildEvent:p=>p.action!==void 0&&(Array.isArray(p.action.id)?p.action.id.includes(s):p.action.id===s)});let l=0,u;const f=[],d=new Qe;function h(p){l===0&&(u=p,l=1,u?a.close(jd(u)):a.remove(),c.stop(),d.notify())}return{event:i,stop:h,stopObservable:d,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return u!==void 0},getUserActivity:n,addFrustration:p=>{f.push(p)},startClocks:o,isStopped:()=>l===1||l===2,clone:()=>mw(e,t,n,r,i),validate:p=>{if(h(),l!==1)return;const{resourceCount:m,errorCount:g,longTaskCount:_}=c.eventCounts,b={duration:u&&Yt(o.timeStamp,u),startClocks:o,id:s,frustrationTypes:f,counts:{resourceCount:m,errorCount:g,longTaskCount:_},events:p??[i],event:i,...r};e.notify(0,b),l=2},discard:()=>{h(),l=2}}}function YH(e,t){const{isRage:n}=BH(e,t);n?(e.forEach(r=>r.discard()),t.stop(Qt()),t.validate(e.map(r=>r.event))):(t.discard(),e.forEach(r=>r.validate()))}function JH(e,t,n,r,i){const{unsubscribe:s}=e.subscribe(0,c=>{e.notify(12,Y5(c))});t.register(0,({startTime:c,eventType:l})=>{if(l!==ze.ERROR&&l!==ze.RESOURCE&&l!==ze.LONG_TASK)return vn;const u=o.findActionId(c);return u?{type:l,action:{id:u}}:vn}),t.register(1,({startTime:c})=>({action:{id:o.findActionId(c)}}));let o={findActionId:nt},a=nt;return i.trackUserInteractions&&({actionContexts:o,stop:a}=WH(e,n,r,i)),{addAction:c=>{e.notify(12,Y5(c))},actionContexts:o,stop:()=>{s(),a()}}}function Y5(e){const t=Lp(e)?{action:{id:e.id,loading_time:Y9(je(e.duration)),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position,name_source:e.nameSource}}}:{context:e.context},n=Tr({action:{id:Un(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:ze.ACTION},t),r=Lp(e)?e.duration:void 0,i=Lp(e)?{events:e.events}:{handlingStack:e.handlingStack};return{rawRumEvent:n,duration:r,startTime:e.startClocks.relative,domainContext:i}}function Lp(e){return e.type!==H2.CUSTOM}function XH(e){const t=j6([zt.error]).subscribe(n=>e.notify(n.error));return{stop:()=>{t.unsubscribe()}}}function ZH(e,t){const n=m6(e,[Ga.cspViolation,Ga.intervention]).subscribe(r=>t.notify(r));return{stop:()=>{n.unsubscribe()}}}function eq(e,t,n){const r=new Qe;return n.subscribe(i=>{i.type===0&&r.notify(i.error)}),XH(r),ZH(t,r),r.subscribe(i=>e.notify(14,{error:i})),tq(e)}function tq(e){return e.subscribe(14,({error:t})=>{e.notify(12,nq(t))}),{addError:({error:t,handlingStack:n,componentStack:r,startClocks:i,context:s})=>{const o=Yd({originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:"Provided",source:Zn.CUSTOM,handling:"handled"});o.context=Tr(o.context,s),e.notify(14,{error:o})}}}function nq(e){const t={date:e.startClocks.timeStamp,error:{id:Un(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,component_stack:e.componentStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:ze.ERROR,context:e.context},n={error:e.originalError,handlingStack:e.handlingStack};return{rawRumEvent:t,startTime:e.startClocks.relative,domainContext:n}}const J5=new WeakSet;function rq(e){if(!performance||!("getEntriesByName"in performance))return;const t=performance.getEntriesByName(e.url,"resource");if(!t.length||!("toJSON"in t[0]))return;const n=t.filter(r=>!J5.has(r)).filter(r=>W9(r)&&G9(r)).filter(r=>iq(r,e.startClocks.relative,gw({startTime:e.startClocks.relative,duration:e.duration})));if(n.length===1)return J5.add(n[0]),n[0].toJSON()}function gw(e){return Do(e.startTime,e.duration)}function iq(e,t,n){return e.startTime>=t-1&&gw(e)<=Do(n,1)}const sq=2*jn;function oq(e){const t=aq(e)||cq(e);if(!(!t||t.traceTime<=Vn()-sq))return t.traceId}function aq(e){const t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return _w(t&&t.content,n&&n.content)}function cq(e){const t=lq(e);if(t)return _w(kl(t,"trace-id"),kl(t,"trace-time"))}function _w(e,t){const n=t&&Number(t);if(!(!e||!n))return{traceId:e,traceTime:n}}function lq(e){for(let t=0;t<e.childNodes.length;t+=1){const n=X5(e.childNodes[t]);if(n)return n}if(e.body)for(let t=e.body.childNodes.length-1;t>=0;t-=1){const n=e.body.childNodes[t],r=X5(n);if(r)return r;if(!$m(n))break}}function X5(e){if(e&&cH(e)){const t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function yw(){if(Mo(rt.NAVIGATION)){const n=performance.getEntriesByType(rt.NAVIGATION)[0];if(n)return n}const e=uq(),t={entryType:rt.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...t,toJSON:void 0}),...e};return t}function uq(){const e={},t=performance.timing;for(const n in t)if(Gl(t[n])){const r=n,i=t[r];e[r]=i===0?0:jd(i)}return e}function fq(e,t,n=yw){f2(e,"interactive",()=>{const r=n(),i=Object.assign(r.toJSON(),{entryType:rt.RESOURCE,initiatorType:H9,duration:r.responseEnd,traceId:oq(document),toJSON:()=>({...i,toJSON:void 0})});t(i)})}const dq=1e3;function hq(e){const t=new Set,n=e.subscribe(8,r=>{t.add(r),t.size>dq&&(cc("Too many requests"),t.delete(t.values().next().value))});return{getMatchingRequest(r){let i=1/0,s;for(const o of t){const a=r.startTime-o.startClocks.relative;0<=a&&a<i&&o.url===r.name&&(i=Math.abs(a),s=o)}return s&&t.delete(s),s},stop(){n.unsubscribe()}}}function pq(e,t,n,r=uL(),i=fq){let s;const o=t.trackEarlyRequests;o?s=hq(e):e.subscribe(8,l=>{c(()=>mq(l,t,n))});const a=Hi(t,{type:rt.RESOURCE,buffered:!0}).subscribe(l=>{for(const u of l)(o||!q9(u))&&c(()=>Z5(u,t,n,s))});i(t,l=>{c(()=>Z5(l,t,n,s))});function c(l){r.push(()=>{const u=l();u&&e.notify(12,u)})}return{stop:()=>{r.stop(),a.unsubscribe()}}}function mq(e,t,n){const r=rq(e);return vw(r,e,n,t)}function Z5(e,t,n,r){const i=q9(e)&&r?r.getMatchingRequest(e):void 0;return vw(e,i,n,t)}function vw(e,t,n,r){if(!e&&!t)return;const i=t?vq(t,r):bq(e,r);if(!r.trackResources&&!i)return;const s=e?Bd(e.startTime):t.startClocks,o=e?Uz(e):wq(n,s,t.duration),a=t&&gq(t,r),c=Tr({date:s.timeStamp,resource:{id:Un(),duration:je(o),type:t?t.type===To.XHR?$n.XHR:$n.FETCH:Vz(e),method:t?t.method:void 0,status_code:t?t.status:Sq(e.responseStatus),url:t?Qz(t.url):e.name,protocol:e&&zz(e),delivery_type:e&&Hz(e),graphql:a},type:ze.RESOURCE,_dd:{discarded:!r.trackResources}},i,e&&yq(e));return{startTime:s.relative,duration:o,rawRumEvent:c,domainContext:_q(e,t)}}function gq(e,t){const n=Q9(e.url,t);if(n)return Yz(e,n)}function _q(e,t){if(t){const n={performanceEntry:e,isAborted:t.isAborted,handlingStack:t.handlingStack};return t.type===To.XHR?{xhr:t.xhr,...n}:{requestInput:t.input,requestInit:t.init,response:t.response,error:t.error,...n}}return{performanceEntry:e}}function yq(e){const{renderBlockingStatus:t}=e;return{resource:{render_blocking_status:t,...qz(e),...Bz(e)}}}function vq(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toString(),trace_id:e.traceId.toString(),rule_psr:t.rulePsr}}}function bq(e,t){if(e.traceId)return{_dd:{trace_id:e.traceId,span_id:U9().toString(),rule_psr:t.rulePsr}}}function wq(e,t,n){return e.wasInPageStateDuringPeriod("frozen",t.relative,n)?void 0:n}function Sq(e){return e===0?void 0:e}function Eq(e,t,n){const{stop:r,eventCounts:i}=J9({lifeCycle:e,isChildEvent:s=>s.view.id===t,onChange:n});return{stop:r,eventCounts:i}}const Tq=10*jn;function kq(e,t,n){return{stop:Hi(e,{type:rt.PAINT,buffered:!0}).subscribe(i=>{const s=i.find(o=>o.name==="first-contentful-paint"&&o.startTime<t.timeStamp&&o.startTime<Tq);s&&n(s.startTime)}).unsubscribe}}function xq(e,t){requestAnimationFrame(()=>{requestAnimationFrame(()=>{t(Yt(e,ir()))})})}function Cq(e,t,n){const r=Hi(e,{type:rt.FIRST_INPUT,buffered:!0}).subscribe(i=>{const s=i.find(o=>o.startTime<t.timeStamp);if(s){const o=Yt(s.startTime,s.processingStart);let a;s.target&&qi(s.target)&&(a=nu(s.target,e.actionNameAttribute)),n({delay:o>=0?o:0,time:s.startTime,targetSelector:a})}});return{stop:()=>{r.unsubscribe()}}}function Iq(e,t,n=yw){return Rq(e,()=>{const r=n();Aq(r)||t(Oq(r))})}function Oq(e){return{domComplete:e.domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:e.responseStart>=0&&e.responseStart<=ir()?e.responseStart:void 0}}function Aq(e){return e.loadEventEnd<=0}function Rq(e,t){let n;const{stop:r}=f2(e,"complete",()=>{n=On(()=>t())});return{stop:()=>{r(),vr(n)}}}const Pq=10*jn;function Dq(e,t,n,r){let i=1/0;const{stop:s}=Ps(e,n,["pointerdown","keydown"],c=>{i=c.timeStamp},{capture:!0,once:!0});let o=0;const a=Hi(e,{type:rt.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(c=>{const l=U7(c,u=>u.entryType===rt.LARGEST_CONTENTFUL_PAINT&&u.startTime<i&&u.startTime<t.timeStamp&&u.startTime<Pq&&u.size>o);if(l){let u;l.element&&(u=nu(l.element,e.actionNameAttribute)),r({value:l.startTime,targetSelector:u,resourceUrl:Nq(l)}),o=l.size}});return{stop:()=>{s(),a.unsubscribe()}}}function Nq(e){return e.url===""?void 0:e.url}function bw(e,t,n=window){if(document.visibilityState==="hidden")return{timeStamp:0,stop:nt};if(Mo(rt.VISIBILITY_STATE)){const s=performance.getEntriesByType(rt.VISIBILITY_STATE).filter(o=>o.name==="hidden").find(o=>o.startTime>=t.relative);if(s)return{timeStamp:s.startTime,stop:nt}}let r=1/0;const{stop:i}=Ps(e,n,["pagehide","visibilitychange"],s=>{(s.type==="pagehide"||document.visibilityState==="hidden")&&(r=s.timeStamp,i())},{capture:!0});return{get timeStamp(){return r},stop:i}}function $q(e,t,n,r){const i={},{stop:s}=Iq(e,f=>{n(f.loadEvent),i.navigationTimings=f,r()}),o=bw(e,t),{stop:a}=kq(e,o,f=>{i.firstContentfulPaint=f,r()}),{stop:c}=Dq(e,o,window,f=>{i.largestContentfulPaint=f,r()}),{stop:l}=Cq(e,o,f=>{i.firstInput=f,r()});function u(){s(),a(),c(),l(),o.stop()}return{stop:u,initialViewMetrics:i}}const Lm=(e,t)=>e*t,Lq=(e,t)=>{const n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),s=Math.min(e.bottom,t.bottom);return n>=i||r>=s?0:Lm(i-n,s-r)},ey=e=>{const t=Lm(e.previousRect.width,e.previousRect.height),n=Lm(e.currentRect.width,e.currentRect.height),r=Lq(e.previousRect,e.currentRect);return t+n-r};function Mq(e,t,n){if(!jq())return{stop:nt};let r=0,i;n({value:0});const s=Bq(),o=Hi(e,{type:rt.LAYOUT_SHIFT,buffered:!0}).subscribe(a=>{var c;for(const l of a){if(l.hadRecentInput||l.startTime<t)continue;const{cumulatedValue:u,isMaxValue:f}=s.update(l);if(f){const d=Fq(l.sources);i={target:d?.node?new WeakRef(d.node):void 0,time:Yt(t,l.startTime),previousRect:d?.previousRect,currentRect:d?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(u>r){r=u;const d=(c=i?.target)===null||c===void 0?void 0:c.deref();n({value:ra(r,4),targetSelector:d&&nu(d,e.actionNameAttribute),time:i?.time,previousRect:i?.previousRect?ty(i.previousRect):void 0,currentRect:i?.currentRect?ty(i.currentRect):void 0,devicePixelRatio:i?.devicePixelRatio})}}});return{stop:()=>{o.unsubscribe()}}}function Fq(e){let t;for(const n of e)if(n.node&&qi(n.node)){const r=ey(n);(!t||ey(t)<r)&&(t=n)}return t}function ty({x:e,y:t,width:n,height:r}){return{x:e,y:t,width:n,height:r}}const Vq=5*Rn,Uq=Rn;
185function Bq(){let e=0,t,n,r=0;return{update:i=>{const s=t===void 0||i.startTime-n>=Uq||i.startTime-t>=Vq;let o;return s?(t=n=i.startTime,r=e=i.value,o=!0):(e+=i.value,n=i.startTime,o=i.value>r,o&&(r=i.value)),{cumulatedValue:e,isMaxValue:o}}}}function jq(){return Mo(rt.LAYOUT_SHIFT)&&"WeakRef"in window}let df,ww=0,Mp=1/0,Fp=0;function zq(){"interactionCount"in performance||df||(df=new window.PerformanceObserver(Pe(e=>{e.getEntries().forEach(t=>{const n=t;n.interactionId&&(Mp=Math.min(Mp,n.interactionId),Fp=Math.max(Fp,n.interactionId),ww=(Fp-Mp)/7+1)})})),df.observe({type:"event",buffered:!0,durationThreshold:0}))}const ny=()=>df?ww:window.performance.interactionCount||0,ry=10,Hq=1*jn;function qq(e,t,n){if(!Qq())return{getInteractionToNextPaint:()=>{},setViewEnd:nt,stop:nt};const{getViewInteractionCount:r,stopViewInteractionCount:i}=Gq(n);let s=1/0;const o=Wq(r);let a=-1,c,l;function u(h){for(const m of h)m.interactionId&&m.startTime>=t&&m.startTime<=s&&o.process(m);const p=o.estimateP98Interaction();p&&p.duration!==a&&(a=p.duration,l=Yt(t,p.startTime),c=HH(p.startTime),!c&&p.target&&qi(p.target)&&(c=nu(p.target,e.actionNameAttribute)))}const f=Hi(e,{type:rt.FIRST_INPUT,buffered:!0}).subscribe(u),d=Hi(e,{type:rt.EVENT,durationThreshold:40,buffered:!0}).subscribe(u);return{getInteractionToNextPaint:()=>{if(a>=0)return{value:Math.min(a,Hq),targetSelector:c,time:l};if(r())return{value:0}}
185,setViewEnd:h=>{s=h,i()},stop:()=>{d.unsubscribe(),f.unsubscribe()}}}function Wq(e){const t=[];function n(){t.sort((r,i)=>i.duration-r.duration).splice(ry)}return{process(r){const i=t.findIndex(o=>r.interactionId===o.interactionId),s=t[t.length-1];i!==-1?r.duration>t[i].duration&&(t[i]=r,n()):(t.length<ry||r.duration>s.duration)&&(t.push(r),n())},estimateP98Interaction(){const r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}function Gq(e){zq();const t=e===Ti.INITIAL_LOAD?0:ny();let n={stopped:!1};function r(){return ny()-t}return{getViewInteractionCount:()=>n.stopped?n.interactionCount:r(),stopViewInteractionCount:()=>{n={stopped:!0,interactionCount:r()}}}}function Qq(){return Mo(rt.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function Kq(e,t,n,r,i,s,o){let a=i===Ti.INITIAL_LOAD,c=!0;const l=[],u=bw(r,s);function f(){if(!c&&!a&&l.length>0){const h=Math.max(...l);h<u.timeStamp-s.relative&&o(h)}}const{stop:d}=W2(e,t,n,r,h=>{c&&(c=!1,h.hadActivity&&l.push(Yt(s.timeStamp,h.end)),f())});return{stop:()=>{d(),u.stop()},setLoadEvent:h=>{a&&(a=!1,l.push(h),f())}}}function Fae(){let e;const t=window.visualViewport;return t?e=t.pageLeft-t.offsetLeft:window.scrollX!==void 0?e=window.scrollX:e=window.pageXOffset||0,Math.round(e)}function Yq(){let e;const t=window.visualViewport;return t?e=t.pageTop-t.offsetTop:window.scrollY!==void 0?e=window.scrollY:e=window.pageYOffset||0,Math.round(e)}let Vp;function Jq(e){return Vp||(Vp=Xq(e)),Vp}function Xq(e){return new Qe(t=>{const{throttled:n}=zd(()=>{t.notify(G2())},200);return At(e,window,"resize",n,{capture:!0,passive:!0}).stop})}function G2(){const e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const Zq=Rn;function eW(e,t,n,r=nW(e)){let i=0,s=0,o=0;const a=r.subscribe(({scrollDepth:c,scrollTop:l,scrollHeight:u})=>{let f=!1;if(c>i&&(i=c,f=!0),u>s){s=u;const d=ir();o=Yt(t.relative,d),f=!0}f&&n({maxDepth:Math.min(i,s),maxDepthScrollTop:l,maxScrollHeight:s,maxScrollHeightTime:o})});return{stop:()=>a.unsubscribe()}}function tW(){const e=Yq(),{height:t}=G2(),n=Math.round((document.scrollingElement||document.documentElement).scrollHeight),r=Math.round(t+e);return{scrollHeight:n,scrollDepth:r,scrollTop:e}}function nW(e,t=Zq){return new Qe(n=>{function r(){n.notify(tW())}if(window.ResizeObserver){const i=zd(r,t,{leading:!1,trailing:!0}),s=document.scrollingElement||document.documentElement,o=new ResizeObserver(Pe(i.throttled));s&&o.observe(s);const a=At(e,window,"scroll",i.throttled,{passive:!0});return()=>{i.cancel(),o.disconnect(),a.stop()}}})}function rW(e,t,n,r,i,s,o){const a={},{stop:c,setLoadEvent:l}=Kq(e,t,n,r,s,o,m=>{a.loadingTime=m,i()}),{stop:u}=eW(r,o,m=>{a.scroll=m}),{stop:f}=Mq(r,o.relative,m=>{a.cumulativeLayoutShift=m,i()}),{stop:d,getInteractionToNextPaint:h,setViewEnd:p}=qq(r,o.relative,s);return{stop:()=>{c(),f(),u()},stopINPTracking:d,setLoadEvent:l,setViewEnd:p,getCommonViewMetrics:()=>(a.interactionToNextPaint=h(),a)}}function iW(e,t){const{stop:n}=At(e,window,"pageshow",r=>{r.persisted&&t(r)},{capture:!0});return n}function sW(e,t,n){xq(e.relative,r=>{t.firstContentfulPaint=r,t.largestContentfulPaint={value:r},n()})}const oW=3e3,aW=5*jn,cW=5*jn;function lW(e,t,n,r,i,s,o,a){const c=new Set;let l=d(Ti.INITIAL_LOAD,L7(),a),u;h();let f;o&&(f=p(s),i.trackBfcacheViews&&(u=iW(i,m=>{l.end();const g=Bd(m.timeStamp);l=d(Ti.BF_CACHE,g,void 0)})));function d(m,g,_){const b=uW(t,n,r,i,e,m,g,_);return c.add(b),b.stopObservable.subscribe(()=>{c.delete(b)}),b}function h(){t.subscribe(10,()=>{l=d(Ti.ROUTE_CHANGE,void 0,{name:l.name,service:l.service,version:l.version,context:l.contextManager.getContext()})}),t.subscribe(9,()=>{l.end({sessionIsActive:!1})})}function p(m){return m.subscribe(({oldLocation:g,newLocation:_})=>{dW(g,_)&&(l.end(),l=d(Ti.ROUTE_CHANGE))})}return{addTiming:(m,g=Qt())=>{l.addTiming(m,g)},startView:(m,g)=>{l.end({endClocks:g}),l=d(Ti.ROUTE_CHANGE,g,m)},setViewContext:m=>{l.contextManager.setContext(m)}
185,setViewContextProperty:(m,g)=>{l.contextManager.setContextProperty(m,g)},setViewName:m=>{l.setViewName(m)},getViewContext:()=>l.contextManager.getContext(),stop:()=>{f&&f.unsubscribe(),u&&u(),l.end(),c.forEach(m=>m.stop())}}}function uW(e,t,n,r,i,s,o=ln(),a){const c=Un(),l=new Qe,u={};let f=0,d;const h=Tl(i),p=Xl();let m=!0,g=a?.name;const _=a?.service||r.service,b=a?.version||r.version,y=a?.context;y&&p.setContext(y);const v={id:c,name:g,startClocks:o,service:_,version:b,context:y};e.notify(1,v),e.notify(2,v);const{throttled:w,cancel:S}=zd(ie,oW,{leading:!1}),{setLoadEvent:O,setViewEnd:A,stop:k,stopINPTracking:R,getCommonViewMetrics:M}=rW(e,t,n,r,le,s,o),{stop:D,initialViewMetrics:$}=s===Ti.INITIAL_LOAD?$q(r,o,O,le):{stop:nt,initialViewMetrics:{}};s===Ti.BF_CACHE&&sW(o,$,le);const{stop:U,eventCounts:J}=Eq(e,c,le),V=sc(ie,aW),W=e.subscribe(11,Ce=>{Ce.reason===wa.UNLOADING&&ie()});ie(),p.changeObservable.subscribe(le);function Q(){e.notify(3,{id:c,name:g,context:p.getContext(),startClocks:o,sessionIsActive:m})}function le(){Q(),w()}function ie(){S(),Q(),f+=1;const Ce=d===void 0?Qt():d.timeStamp;e.notify(4,{customTimings:u,documentVersion:f,id:c,name:g,service:_,version:b,context:p.getContext(),loadingType:s,location:h,startClocks:o,commonViewMetrics:M(),initialViewMetrics:$,duration:Yt(o.timeStamp,Ce),isActive:d===void 0,sessionIsActive:m,eventCounts:J})}return{get name(){return g},service:_,version:b,contextManager:p,stopObservable:l,end(Ce={}){var Re,vt;d||(d=(Re=Ce.endClocks)!==null&&Re!==void 0?Re:ln(),m=(vt=Ce.sessionIsActive)!==null&&vt!==void 0?vt:!0,e.notify(5,{endClocks:d}),e.notify(6,{endClocks:d}),Ud(V),A(d.relative),k(),W.unsubscribe(),ie(),On(()=>{this.stop()},cW))},stop(){D(),U(),R(),l.notify()},addTiming(Ce,Re){if(d)return;const vt=CD(Re)?Re:Yt(o.timeStamp,Re);u[fW(Ce)]=vt,le()},setViewName(Ce){g=Ce,ie()}}}function fW(e){const t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return t!==e&&$e.warn(`Invalid timing name: ${e}, sanitized to: ${t}`),t}function dW(e,t){return e.pathname!==t.pathname||!hW(t.hash)&&iy(t.hash)!==iy(e.hash)}function hW(e){const t=e.substring(1);return t!==""&&!!document.getElementById(t)}function iy(e){const t=e.indexOf("?");return t<0?e:e.slice(0,t)}function pW(e,t,n,r,i,s,o,a,c,l){return e.subscribe(4,u=>e.notify(12,mW(u,n,a))),t.register(0,({startTime:u,eventType:f})=>{const d=c.findView(u);return d?{type:f,service:d.service,version:d.version,context:d.context,view:{id:d.id,name:d.name}}:Hr}),t.register(1,({startTime:u})=>{var f;return{view:{id:(f=c.findView(u))===null||f===void 0?void 0:f.id}}}),lW(r,e,i,s,n,o,!n.trackViewsManually,l)}function mW(e,t,n){var r,i,s,o,a,c,l,u,f,d,h,p,m,g,_,b,y,v;const w=n.getReplayStats(e.id),S=(i=(r=e.commonViewMetrics)===null||r===void 0?void 0:r.cumulativeLayoutShift)===null||i===void 0?void 0:i.devicePixelRatio,O={_dd:{document_version:e.documentVersion,replay_stats:w,cls:S?{device_pixel_ratio:S}:void 0,configuration:{start_session_replay_recording_manually:t.startSessionReplayRecordingManually}},date:e.startClocks.timeStamp,type:ze.VIEW,view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:(s=e.commonViewMetrics.cumulativeLayoutShift)===null||s===void 0?void 0:s.value,cumulative_layout_shift_time:je((o=e.commonViewMetrics.cumulativeLayoutShift)===null||o===void 0?void 0:o.time),cumulative_layout_shift_target_selector:(a=e.commonViewMetrics.cumulativeLayoutShift)===null||a===void 0?void 0:a.targetSelector,first_byte:je((c=e.initialViewMetrics.navigationTimings)===null||c===void 0?void 0:c.firstByte),dom_complete:je((l=e.initialViewMetrics.navigationTimings)===null||l===void 0?void 0:l.domComplete),dom_content_loaded:je((u=e.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domContentLoaded),dom_interactive:je((f=e.initialViewMetrics.navigationTimings)===null||f===void 0?void 0:f.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:je(e.initialViewMetrics.firstContentfulPaint),first_input_delay:je((d=e.initialViewMetrics.firstInput)===null||d===void 0?void 0:d.delay),first_input_time:je((h=e.initialViewMetrics.firstInput)===null||h===void 0?void 0:h.time),first_input_target_selector:(p=e.initialViewMetrics.firstInput)===null||p===void 0?void 0:p.targetSelector,interaction_to_next_paint:je((m=e.commonViewMetrics.interactionToNextPaint)===null||m===void 0?void 0:m.value),interaction_to_next_paint_time:je((g=e.commonViewMetrics.interactionToNextPaint)===null||g===void 0?void 0:g.time),interaction_to_next_paint_target_selector:(_=e.commonViewMetrics.interactionToNextPaint)===null||_===void 0?void 0:_.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:je((b=e.initialViewMetrics.largestContentfulPaint)===null||b===void 0?void 0:b.value),largest_contentful_paint_target_selector:(y=e.initialViewMetrics.largestContentfulPaint)===null||y===void 0?void 0:y.targetSelector,load_event:je((v=e.initialViewMetrics.navigationTimings)===null||v===void 0?void 0:v.loadEvent),loading_time:Y9(je(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},performance:gW(e.commonViewMetrics,e.initialViewMetrics),resource:{count:e.eventCounts.resourceCount},time_spent:je(e.duration)},display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:je(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:t.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:bL()}};return Fs(e.customTimings)||(O.view.custom_timings=A7(e.customTimings,je)),{rawRumEvent:O,startTime:e.startClocks.relative,duration:e.duration,domainContext:{location:e.location}}}function gW({cumulativeLayoutShift:e,interactionToNextPaint:t},{firstContentfulPaint:n,firstInput:r,largestContentfulPaint:i}){return{cls:e&&{score:e.value,timestamp:je(e.time),target_selector:e.targetSelector,previous_rect:e.previousRect,current_rect:e.currentRect},fcp:n&&{timestamp:je(n)},fid:r&&{duration:je(r.delay),timestamp:je(r.time),target_selector:r.targetSelector},inp:t&&{duration:je(t.value),timestamp:je(t.time),target_selector:t.targetSelector},lcp:i&&{timestamp:je(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl}}}const _W="rum";function yW(e,t,n){const r=M6(e,_W,i=>bW(e,i),n);return r.expireObservable.subscribe(()=>{t.notify(9)}
185),r.renewObservable.subscribe(()=>{t.notify(10)}),r.sessionStateUpdateObservable.subscribe(({previousState:i,newState:s})=>{if(!i.forcedReplay&&s.forcedReplay){const o=r.findSession();o&&(o.isReplayForced=!0)}}),{findTrackedSession:i=>{const s=r.findSession(i);if(!(!s||s.trackingType==="0"))return{id:s.id,sessionReplay:s.trackingType==="1"?1:s.isReplayForced?2:0,anonymousId:s.anonymousId}},expire:r.expire,expireObservable:r.expireObservable,setForcedReplay:()=>r.updateSessionState({forcedReplay:"1"})}}function vW(){const e={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:I6("records")?1:0};return{findTrackedSession:()=>e,expire:nt,expireObservable:new Qe,setForcedReplay:nt}}function bW(e,t){return wW(t)?t:gs(e.sessionSampleRate)?gs(e.sessionReplaySampleRate)?"1":"2":"0"}function wW(e){return e==="0"||e==="1"||e==="2"}function SW(e,t,n,r,i,s){const o=[e.rumEndpointBuilder];e.replica&&o.push(e.replica.rumEndpointBuilder);const a=a2({encoder:s(2),request:o2(o,n),flushController:c2({pageMayExitObservable:r,sessionExpireObservable:i})});return t.subscribe(13,c=>{c.type===ze.VIEW?a.upsert(c,c.view.id):a.add(c)}),a}function EW(e){const t=oc();e.subscribe(13,n=>{t.send("rum",n)})}const TW=Vs;function kW(e,t,n,r){const i=$o({expireDelay:TW});let s;e.subscribe(1,({startClocks:c})=>{const l=r.href;i.add(a({url:l,referrer:s||document.referrer}),c.relative),s=l}),e.subscribe(6,({endClocks:c})=>{i.closeActive(c.relative)});const o=n.subscribe(({newLocation:c})=>{const l=i.find();if(l){const u=ir();i.closeActive(u),i.add(a({url:c.href,referrer:l.referrer}),u)}});function a({url:c,referrer:l}){return{url:c,referrer:l}}return t.register(0,({startTime:c,eventType:l})=>{const u=i.find(c);return u?{type:l,view:{url:u.url,referrer:u.referrer}}:Hr}),{findUrl:c=>i.find(c),stop:()=>{o.unsubscribe(),i.stop()}}}function xW(e,t){let n=Tl(t);return new Qe(r=>{const{stop:i}=CW(e,o),{stop:s}=IW(e,o);function o(){if(n.href===t.href)return;const a=Tl(t);r.notify({newLocation:a,oldLocation:n}),n=a}return()=>{i(),s()}})}function CW(e,t){const{stop:n}=ri(sy("pushState"),"pushState",({onPostCall:s})=>{s(t)}),{stop:r}=ri(sy("replaceState"),"replaceState",({onPostCall:s})=>{s(t)}),{stop:i}=At(e,window,"popstate",t);return{stop:()=>{n(),r(),i()}}}function IW(e,t){return At(e,window,"hashchange",t)}function sy(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}const OW=Vs;function AW(e,t,n){const r=$o({expireDelay:OW});return e.subscribe(1,({startClocks:i})=>{r.add({},i.relative)}),e.subscribe(6,({endClocks:i})=>{r.closeActive(i.relative)}),t.register(0,({startTime:i,eventType:s})=>{if(!n.trackFeatureFlagsForEvents.concat([ze.VIEW,ze.ERROR]).includes(s))return vn;const a=r.find(i);return!a||Fs(a)?vn:{type:s,feature_flags:a}}),{addFeatureFlagEvaluation:(i,s)=>{const o=r.find();o&&(o[i]=s)}}}const RW=10*Rn;let Ca,Bu;function PW(e,t,n){e.metricsEnabled&&(Sw(),Bu=!1,t.subscribe(13,()=>{Bu=!0}),n.subscribe(({bytesCount:r,messagesCount:i})=>{Bu&&(Bu=!1,Ca.batchCount+=1,ay(Ca.batchBytesCount,r),ay(Ca.batchMessagesCount,i))}),sc(DW,RW))}function DW(){Ca.batchCount!==0&&(Zd("Customer data measures",Ca),Sw())}function oy(){return{min:1/0,max:0,sum:0}}function ay(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function Sw(){Ca={batchCount:0,batchBytesCount:oy(),batchMessagesCount:oy()}}const NW=4e3,$W=500,LW=Vs;function MW(e,t,n=$W){const r=$o({expireDelay:LW,maxEntries:NW});let i;Mo(rt.VISIBILITY_STATE)&&performance.getEntriesByType(rt.VISIBILITY_STATE).forEach(l=>{const u=l.name==="hidden"?"hidden":"active";o(u,l.startTime)}),o(Ew(),ir());const{stop:s}=Ps(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],c=>{o(VW(c),c.timeStamp)},{capture:!0});function o(c,l=ir()){c!==i&&(i=c,r.closeActive(l),r.add({state:i,startTime:l},l))}function a(c,l,u){return r.findAll(l,u).some(f=>f.state===c)}return e.register(0,({startTime:c,duration:l=0,eventType:u})=>
185{if(u===ze.VIEW){const f=r.findAll(c,l);return{type:u,_dd:{page_states:FW(f,c,n)}}}return u===ze.ACTION||u===ze.ERROR?{type:u,view:{in_foreground:a("active",c,0)}}:vn}),{wasInPageStateDuringPeriod:a,addPageState:o,stop:()=>{s(),r.stop()}}}function FW(e,t,n){if(e.length!==0)return e.slice(-n).reverse().map(({state:r,startTime:i})=>({state:r,start:je(Yt(t,i))}))}function VW(e){return e.type==="freeze"?"frozen":e.type==="pagehide"?e.persisted?"frozen":"terminated":Ew()}function Ew(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function UW(e,t){let n;const r=requestAnimationFrame(Pe(()=>{n=G2()})),i=Jq(t).subscribe(s=>{n=s}).unsubscribe;return e.register(0,({eventType:s})=>({type:s,display:n?{viewport:n}:void 0})),{stop:()=>{i(),r&&cancelAnimationFrame(r)}}}function BW(e,t){const n=window.cookieStore?jW(e):HW;return new Qe(r=>n(t,i=>r.notify(i)))}function jW(e){return(t,n)=>At(e,window.cookieStore,"change",i=>{const s=i.changed.find(o=>o.name===t)||i.deleted.find(o=>o.name===t);s&&n(s.value)}).stop}const zW=Rn;function HW(e,t){const n=kl(document.cookie,e),r=sc(()=>{const i=kl(document.cookie,e);i!==n&&t(i)},zW);return()=>{Ud(r)}}const cy="datadog-ci-visibility-test-execution-id";function qW(e,t,n=BW(e,cy)){var r;let i=_s(cy)||((r=window.Cypress)===null||r===void 0?void 0:r.env("traceId"));const s=n.subscribe(o=>{i=o});return t.register(0,({eventType:o})=>typeof i!="string"?vn:{type:o,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop:()=>{s.unsubscribe()}}}const WW=Vs;function GW(e,t){const n=$o({expireDelay:WW}),r=Mo(rt.LONG_ANIMATION_FRAME)?rt.LONG_ANIMATION_FRAME:rt.LONG_TASK,i=Hi(t,{type:r,buffered:!0}).subscribe(o=>{for(const a of o){if(!t.trackLongTasks)break;const c=Bd(a.startTime),l=Un(),u=QW(a,c,l);e.notify(12,{rawRumEvent:u,startTime:c.relative,duration:a.duration,domainContext:{performanceEntry:a}}),n.add({id:l,startClocks:c,duration:a.duration,entryType:r},c.relative),n.closeActive(Do(c.relative,a.duration))}});return{stop:()=>{i.unsubscribe(),n.stop()},longTaskContexts:{findLongTasks:o=>n.findAll(o)}}}function QW(e,t,n){const r={date:t.timeStamp,type:ze.LONG_TASK,_dd:{discarded:!1}};return e.entryType===rt.LONG_TASK?{...r,long_task:{id:n,entry_type:$5.LONG_TASK,duration:je(e.duration)}}:{...r,long_task:{id:n,entry_type:$5.LONG_ANIMATION_FRAME,duration:je(e.duration),blocking_duration:je(e.blockingDuration),first_ui_event_timestamp:je(e.firstUIEventTimestamp),render_start:je(e.renderStart),style_and_layout_start:je(e.styleAndLayoutStart),start_time:je(e.startTime),scripts:e.scripts.map(i=>({duration:je(i.duration),pause_duration:je(i.pauseDuration),forced_style_and_layout_duration:je(i.forcedStyleAndLayoutDuration),start_time:je(i.startTime),execution_start:je(i.executionStart),source_url:i.sourceURL,source_function_name:i.sourceFunctionName,source_char_position:i.sourceCharPosition,invoker:i.invoker,invoker_type:i.invokerType,window_attribution:i.windowAttribution}))}}}function KW(e){e.register(0,({eventType:t})=>{if(!L6())return vn;const n=N6(),r=$6();return{type:t,session:{type:"synthetics"},synthetics:{test_id:n,result_id:r,injected:eh()}}})}function YW(e,t,n){const r=Xd(e),i=n(r);return t2(t).forEach(([s,o])=>Mm(e,r,s.split(/\.|(?=\[\])/),o)),i}function Mm(e,t,n,r){const[i,...s]=n;if(i==="[]"){Array.isArray(e)&&Array.isArray(t)&&e.forEach((o,a)=>Mm(o,t[a],s,r));return}if(!(!ly(e)||!ly(t))){if(s.length>0)return Mm(e[i],t[i],s,r);JW(e,i,t[i],r)}}function JW(e,t,n,r){const i=No(n);i===r?e[t]=ut(n):r==="object"&&(i==="undefined"||i==="null")&&(e[t]={})}function ly(e){return No(e)==="object"}const Wo={"view.name":"string","view.url":"string","view.referrer":"string"},Go={context:"object"},Qo={service:"string",version:"string"};let Tw;function XW(e,t,n,r,i){Tw={[ze.VIEW]:{"view.performance.lcp.resource_url":"string",...Go,...Wo,...Qo},[ze.ERROR]:{"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string",...Go,...Wo,...Qo},[ze.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string",...Go,...Wo,...Qo},[ze.ACTION]:{"action.target.name":"string",...Go,...Wo,...Qo},[ze.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...Go,...Wo,...Qo},[ze.VITAL]:{...Go,...Wo,...Qo}};const s={[ze.ERROR]:tf(ze.ERROR,r,i),[ze.ACTION]:tf(ze.ACTION,r,i),[ze.VITAL]:tf(ze.VITAL,r,i)};t.subscribe(12,({startTime:o,duration:a,rawRumEvent:c,domainContext:l})=>{const u=n.triggerHook(0,{eventType:c.type,startTime:o,duration:a});
185if(u===Hr)return;const f=Tr(u,c,{ddtags:i2(e).join(",")});ZW(f,e.beforeSend,l,s)&&(Fs(f.context)&&delete f.context,t.notify(13,f))})}function ZW(e,t,n,r){var i;if(t){const o=YW(e,Tw[e.type],a=>t(a,n));if(o===!1&&e.type!==ze.VIEW)return!1;o===!1&&$e.warn("Can't dismiss view events using beforeSend!")}return!((i=r[e.type])===null||i===void 0?void 0:i.isLimitReached())}function eG(e,t,n,r){e.register(0,({eventType:i,startTime:s})=>{const o=t.findTrackedSession(s),a=r.findView(s);if(!o||!a)return Hr;let c,l,u;return i===ze.VIEW?(c=n.getReplayStats(a.id)?!0:void 0,l=o.sessionReplay===1,u=a.sessionIsActive?void 0:!1):c=n.isRecording()?!0:void 0,{type:i,session:{id:o.id,type:"user",has_replay:c,sampled_for_replay:l,is_active:u}}}),e.register(1,({startTime:i})=>{const s=t.findTrackedSession(i);return s?{session:{id:s.id}}:vn})}function tG(e){e.register(0,({eventType:t})=>({type:t,connectivity:v6()}))}function nG(e,t,n){e.register(0,({eventType:r})=>{const i=t.source;return{type:r,_dd:{format_version:2,drift:kD(),configuration:{session_sample_rate:ra(t.sessionSampleRate,3),session_replay_sample_rate:ra(t.sessionReplaySampleRate,3),profiling_sample_rate:ra(t.profilingSampleRate,3),trace_sample_rate:ra(t.traceSampleRate,3),beta_encode_cookie_options:t.betaEncodeCookieOptions},browser_sdk_version:Bi()?"6.25.1":void 0,sdk_name:n},application:{id:t.applicationId},date:Qt(),source:i}}),e.register(1,()=>({application:{id:t.applicationId}}))}function rG(e,t){e.register(1,()=>t.isGranted()?vn:Hr)}const iG=A6,sG=[ze.ACTION,ze.ERROR,ze.LONG_TASK,ze.RESOURCE,ze.VITAL];function oG(e){return{addEvent:(t,n,r,i)=>{sG.includes(n.type)&&e.notify(12,{startTime:t,rawRumEvent:n,domainContext:r,duration:i})}}}function aG(e,t){if(!t.metricsEnabled)return{stop:nt};const{unsubscribe:n}=e.subscribe(4,({initialViewMetrics:r})=>{!r.largestContentfulPaint||!r.navigationTimings||(Zd("Initial view metrics",{metrics:cG(r.largestContentfulPaint,r.navigationTimings)}),n())});return{stop:n}}function cG(e,t){return{lcp:{value:e.value},navigation:{domComplete:t.domComplete,domContentLoaded:t.domContentLoaded,domInteractive:t.domInteractive,firstByte:t.firstByte,loadEvent:t.loadEvent}}}function lG(e,t,n,r,i,s,o,a,c){const l=[],u=new $z,f=iG();u.subscribe(13,v=>s2("rum",v));const d=v=>{u.notify(14,{error:v}),cc("Error reported to customer",{"error.message":v.message})},h=O6(e),p=h.subscribe(v=>{u.notify(11,v)});l.push(()=>p.unsubscribe());const m=R6("browser-rum-sdk",e,f,d,h,i);l.push(m.stop);const g=Bi()?vW():yW(e,u,s);if(Bi())EW(u);else{const v=SW(e,u,d,h,g.expireObservable,i);l.push(()=>v.stop()),PW(m,u,v.flushController.flushObservable)}rG(f,s);const{stop:_}=aG(u,m);l.push(_);const{stop:b,...y}=uG(u,f,e,g,t,r,o,a,c,d);return l.push(b),a.unbuffer(),l.push(()=>n.stop()),{...y,lifeCycle:u,session:g,stopSession:()=>g.expire(),telemetry:m,stop:()=>{l.forEach(v=>v())},hooks:f}}function uG(e,t,n,r,i,s,o,a,c,l){const u=[],f=Rz(),d=xW(n,location),{observable:h,stop:p}=Dz();u.push(p),nG(t,n,c);const m=MW(t,n);u.push(()=>m.stop());const g=Mz(e);u.push(()=>g.stop());const _=kW(e,t,d,location);u.push(()=>_.stop());const b=AW(e,t,n);eG(t,r,i,g),tG(t);const y=q6(t,n,"rum",!0),v=W6(t,n,r,"rum"),w=H6(t,n,"rum"),S=JH(e,t,f,h,n);u.push(S.stop);const O=oG(e),A=UW(t,n);u.push(A.stop);const k=qW(n,t);u.push(k.stop),KW(t),XW(n,e,t,l);const{addTiming:R,startView:M,setViewName:D,setViewContext:$,setViewContextProperty:U,getViewContext:J,stop:V}=pW(e,t,n,location,f,h,d,i,g,s);u.push(V);const{stop:W}=pq(e,n,m);u.push(W);const{stop:Q,longTaskContexts:le}=GW(e,n);u.push(Q);const{addError:ie}=eq(e,n,a);eH(e,n,r,v,w);const Ce=Hj(e,m,o),Re=Nz(n.applicationId,r,g,S.actionContexts,_);return{addAction:S.addAction,addEvent:O.addEvent,addError:ie,addTiming:R,addFeatureFlagEvaluation:b.addFeatureFlagEvaluation,startView:M,setViewContext:$,setViewContextProperty:U,getViewContext:J,setViewName:D,viewHistory:g,getInternalContext:Re.get,startDurationVital:Ce.startDurationVital,stopDurationVital:Ce.stopDurationVital,addDurationVital:Ce.addDurationVital,addOperationStepVital:Ce.addOperationStepVital,globalContext:y,userContext:v,accountContext:w,longTaskContexts:le,stop:()=>u.forEach(vt=>vt())}}function fG(e,{session:t,viewContext:n,errorType:r}){const i=t?t.id:"no-session-id",s=[];r!==void 0&&s.push(`error-type=${r}`),n&&(s.push(`seed=${n.id}`),s.push(`from=${n.startClocks.timeStamp}`));const o=dG(e),a=`/rum/replay/sessions/${i}`;return`${o}${a}?${s.join("&")}`}function dG(e){const t=e.site,n=e.subdomain||hG(e);return`https://${n?`${n}.`:""}${t}`}function hG(e){switch(e.site){case fo:case mN:return"app";case Z7:return"dd";default:return}}const pG=1e3;let yr;function Vae(e){return _h(e).segments_count}function Uae(e){_h(e).segments_count+=1}function Bae(e){_h(e).records_count+=1}function jae(e,t){_h(e).segments_total_raw_size+=t}function mG(e){return yr?.get(e)}function _h(e){yr||(yr=new Map);let t;return yr.has(e)?t=yr.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},yr.set(e,t),yr.size>pG&&gG()),t}function gG(){if(!yr)return;const e=yr.keys().next().value;e&&yr.delete(e)}function kw(e,t,n){let r=0,i=[],s,o=!0,a=0;const c=[],{stop:l}=At(e,t,"message",({data:d})=>{if(d.type!=="wrote"||d.streamId!==n)return;const h=c[0];h&&(h.id===d.id?(c.shift(),r+=d.additionalBytesCount,i.push(d.result),s=d.trailer,h.writeCallback?h.writeCallback(d.result.byteLength):h.finishCallback&&h.finishCallback()):h.id<d.id&&l())});function u(){const d=i.length===0?new Uint8Array(0):u6(i.concat(s)),h={rawBytesCount:r,output:d,outputBytesCount:d.byteLength,encoding:"deflate"};return r=0,i=[],h}function f(){o||(t.postMessage({action:"reset",streamId:n}),o=!0)}return{isAsync:!0,get isEmpty(){return o},write(d,h){t.postMessage({action:"write",id:a,data:d,streamId:n}),c.push({id:a,writeCallback:h,data:d}),o=!1,a+=1},finish(d){f(),c.length?(c.forEach(h=>{delete h.writeCallback}),c[c.length-1].finishCallback=()=>d(u())):d(u())},finishSync(){f();const d=c.map(h=>h.data).join("");return c.length=0,{...u(),pendingData:d}},estimateEncodedBytesCount(d){return d.length/8},stop(){l()}}}function Q2({configuredUrl:e,error:t,source:n,scriptType:r}){if($e.error(`${n} failed to start: an error occurred while initializing the ${r}:`,t),t instanceof Event||t instanceof Error&&_G(t.message)){let i;e?i=`Please make sure the ${r} URL ${e} is correct and CSP is correctly configured.`:i="Please make sure CSP is correctly configured.",$e.error(`${i} See documentation at ${Vd}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else r==="worker"&&l2(t)}function _G(e){return e.includes("Content Security Policy")||e.includes("requires 'TrustedScriptURL'")}const yG=30*Rn;function xw(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new
vendor: 5,817 bytes, line 185
185Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 14,903 bytes, line 185
185for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
185i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.25.1"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let Ht={status:0};function Cw(e,t,n,r=xw){switch(Ht.status===0&&vG(e,t,r),Ht.status){case 1:return Ht.initializationFailureCallbacks.push(n),Ht.worker;case 3:return Ht.worker}}function uy(){return Ht.status}function vG(e,t,n=xw){try{const r=n(e),{stop:i}=At(e,r,"error",a=>{Up(e,t,a)}),{stop:s}=At(e,r,"message",({data:a})=>{a.type==="errored"?Up(e,t,a.error,a.streamId):a.type==="initialized"&&wG(a.version)});r.postMessage({action:"init"}),On(()=>bG(t),yG),Ht={status:1,worker:r,stop:()=>{i(),s()},initializationFailureCallbacks:[]}}catch(r){Up(e,t,r)}}function bG(e){Ht.status===1&&($e.error(`${e} failed to start: a timeout occurred while initializing the Worker`),Ht.initializationFailureCallbacks.forEach(t=>t()),Ht={status:2})}function wG(e){Ht.status===1&&(Ht={status:3,worker:Ht.worker,stop:Ht.stop,version:e})}function Up(e,t,n,r){Ht.status===1||Ht.status===0?(Q2({configuredUrl:e.workerUrl,error:n,source:t,scriptType:"worker"}),Ht.status===1&&Ht.initializationFailureCallbacks.forEach(i=>
185i()),Ht={status:2}):l2(n,{worker_version:Ht.status===3&&Ht.version,stream_id:r})}function Iw(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function SG(e,t,n,r){const i=t.findTrackedSession(),s=EG(i,r),o=n.findView();return fG(e,{viewContext:o,errorType:s,session:i})}function EG(e,t){if(!Iw())return"browser-not-supported";if(!e)return"rum-not-tracked";if(e.sessionReplay===0)return"incorrect-session-plan";if(!t)return"replay-not-started"}function TG(e,t){if(!e.metricsEnabled)return{stop:nt};let n,r,i;const{unsubscribe:s}=t.subscribe(o=>{switch(o.type){case"start":n={forced:o.forced,timestamp:Qt()},r=void 0,i=void 0;break;case"document-ready":n&&(r=Yt(n.timestamp,Qt()));break;case"recorder-settled":n&&(i=Yt(n.timestamp,Qt()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":s(),n&&Zd("Recorder init metrics",{metrics:kG(n.forced,i,Yt(n.timestamp,Qt()),o.type,r)});break}});return{stop:s}}function kG(e,t,n,r,i){return{forced:e,loadRecorderModuleDuration:t,recorderInitDuration:n,result:r,waitForDocReadyDuration:i}}function xG(e,t,n,r,i,s,o){let a=0,c;t.subscribe(9,()=>{(a===2||a===3)&&(d(),a=1)}),t.subscribe(10,()=>{a===1&&f()});const l=new Qe;TG(o,l);const u=async h=>{l.notify({type:"start",forced:h});const[p]=await Promise.all([fy(l,{type:"recorder-settled"},i()),fy(l,{type:"document-ready"},Y$(e,"interactive"))]);if(a!==2){l.notify({type:"aborted"});return}if(!p){a=0,l.notify({type:"recorder-load-failed"});return}const m=s();if(!m){a=0,l.notify({type:"deflate-encoder-load-failed"});return}({stop:c}=p(t,e,n,r,m,o)),a=3,l.notify({type:"succeeded"})};function f(h){const p=n.findTrackedSession();if(CG(p,h)){a=1;return}if(IG(a))return;a=2;const m=OG(p,h)||!1;u(m).catch(As),m&&n.setForcedReplay()}function d(){a===3&&c?.(),a=0}return{start:f,stop:d,getSessionReplayLink(){return SG(e,n,r,a!==0)},isRecording:()=>a===3}}function CG(e,t){return!e||e.sessionReplay===0&&(!t||!t.force)}function IG(e){return e===2||e===3}function OG(e,t){return t&&t.force&&e.sessionReplay===0}async function fy(e,t,n){try{return await n}finally{e.notify(t)}}function AG(){let e=0;return{strategy:{start(){e=1},stop(){e=2},isRecording:()=>!1,getSessionReplayLink:nt},shouldStartImmediately(t){return e===1||e===0&&!t.startSessionReplayRecordingManually}}}function RG(e,t){if(Bi()&&!I6("records")||!Iw())return{start:nt,stop:nt,getReplayStats:()=>{},onRumStart:nt,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:n,shouldStartImmediately:r}=AG();return{start:s=>n.start(s),stop:()=>n.stop(),getSessionReplayLink:()=>n.getSessionReplayLink(),onRumStart:i,isRecording:()=>uy()===3&&n.isRecording(),getReplayStats:s=>uy()===3?mG(s):void 0};function i(s,o,a,c,l,u){let f;function d(){return f||(l??(l=Cw(o,"Datadog Session Replay",()=>{n.stop()},t)),l&&(f=kw(o,l,1))),f}n=xG(o,s,a,c,e,d,u),r(o)&&n.start()}}async function PG(e=DG){try{return await e()}catch(t){Q2({error:t,source:"Recorder",scriptType:"module"})}}async function DG(){return(await be(()=>import("./C17fuhOp.js"),[],import.meta.url)).startRecording}function NG(){return cr().Profiler!==void 0}function $G(e){let t={status:"starting"};return e.register(0,({eventType:n})=>n!==ze.VIEW&&n!==ze.LONG_TASK?vn:{type:n,_dd:{profiling:t}}),{get:()=>t,set:n=>{t=n}}}async function LG(e=MG){try{return await e()}catch(t){Q2({error:t,source:"Profiler",scriptType:"module"})}}async function MG(){return(await be(()=>import("./B9RtdYh9.js"),[],import.meta.url)).createRumProfiler}function FG(){let e;function t(n,r,i,s,o,a,c){const l=s.findTrackedSession();if(!l||!V9(l.id,i.profilingSampleRate))return;const u=$G(r);if(!NG()){u.set({status:"error",error_reason:"not-supported-by-browser"});return}LG().then(f=>{if(!f){cc("[DD_RUM] Failed to lazy load the RUM Profiler"),u.set({status:"error",error_reason:"failed-to-lazy-load"});return}e=f(i,n,s,u,a,c,o,void 0),e.start()}).catch(As)}return{onRumStart:t,stop:()=>{e?.stop().catch(As)}}}const VG=RG(PG),UG=FG(),Fm=Oz(lG,VG,UG,{startDeflateWorker:Cw,createDeflateEncoder:kw,sdkName:"rum"});p6(cr(),"DD_RUM",Fm);const BG=at({name:"datadogRum",dependsOn:["site"],setup(e){const t=Cr(),{$site:n}=_e();Fm.init({applicationId:t.public.ddApplicationId,clientToken:t.public.ddClientToken,site:"datadoghq.com",service:"nexus3-browser",env:t.public.env,version:t.public.version,sessionSampleRate:parseInt(n.settings.datadog_sample_rate,10)||0,sessionReplaySampleRate:parseInt(n.settings.datadog_replay_sample_rate,10)||0,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,useSecureSessionCookie:!0,defaultPrivacyLevel:n.settings.datadog_privacy_level||"mask"}),e.provide("datadogRum",Fm)}}),jG=/<[^\w<>
185]*(?:[^<>"'\s]*:)?[^\w<>]*(?:\W*s\W*c\W*r\W*i\W*p\W*t|\W*f\W*o\W*r\W*m|\W*s\W*t\W*y\W*l\W*e|\W*s\W*v\W*g|\W*m\W*a\W*r\W*q\W*u\W*e\W*e|(?:\W*l\W*i\W*n\W*k|\W*o\W*b\W*j\W*e\W*c\W*t|\W*e\W*m\W*b\W*e\W*d|\W*a\W*p\W*p\W*l\W*e\W*t|\W*p\W*a\W*r\W*a\W*m|\W*i?\W*f\W*r\W*a\W*m\W*e|\W*b\W*a\W*s\W*e|\W*b\W*o\W*d\W*y|\W*m\W*e\W*t\W*a|\W*i\W*m\W*a?\W*g\W*e?|\W*v\W*i\W*d\W*e\W*o|\W*a\W*u\W*d\W*i\W*o|\W*b\W*i\W*n\W*d\W*i\W*n\W*g\W*s|\W*s\W*e\W*t|\W*i\W*s\W*i\W*n\W*d\W*e\W*x|\W*a\W*n\W*i\W*m\W*a\W*t\W*e)[^>\w])|(?:<\w[\s\S]*[\s\0/]|['"])(?:formaction|style|background|src|lowsrc|ping|on(?:d(?:e(?:vice(?:(?:orienta|mo)tion|proximity|found|light)|livery(?:success|error)|activate)|r(?:ag(?:e(?:n(?:ter|d)|xit)|(?:gestur|leav)e|start|drop|over)?|op)|i(?:s(?:c(?:hargingtimechange|onnect(?:ing|ed))|abled)|aling)|ata(?:setc(?:omplete|hanged)|(?:availabl|chang)e|error)|urationchange|ownloading|blclick)|Moz(?:M(?:agnifyGesture(?:Update|Start)?|ouse(?:PixelScroll|Hittest))|S(?:wipeGesture(?:Update|Start|End)?|crolledAreaChanged)|(?:(?:Press)?TapGestur|BeforeResiz)e|EdgeUI(?:C(?:omplet|ancel)|Start)ed|RotateGesture(?:Update|Start)?|A(?:udioAvailable|fterPaint))|c(?:o(?:m(?:p(?:osition(?:update|start|end)|lete)|mand(?:update)?)|n(?:t(?:rolselect|extmenu)|nect(?:ing|ed))|py)|a(?:(?:llschang|ch)ed|nplay(?:through)?|rdstatechange)|h(?:(?:arging(?:time)?ch)?ange|ecking)|(?:fstate|ell)change|u(?:echange|t)|l(?:ick|ose))|m(?:o(?:z(?:pointerlock(?:change|error)|(?:orientation|time)change|fullscreen(?:change|error)|network(?:down|up)load)|use(?:(?:lea|mo)ve|o(?:ver|ut)|enter|wheel|down|up)|ve(?:start|end)?)|essage|ark)|s(?:t(?:a(?:t(?:uschanged|echange)|lled|rt)|k(?:sessione|comma)nd|op)|e(?:ek(?:complete|ing|ed)|(?:lec(?:tstar)?)?t|n(?:ding|t))|u(?:ccess|spend|bmit)|peech(?:start|end)|ound(?:start|end)|croll|how)|b(?:e(?:for(?:e(?:(?:scriptexecu|activa)te|u(?:nload|pdate)|p(?:aste|rint)|c(?:opy|ut)|editfocus)|deactivate)|gin(?:Event)?)|oun(?:dary|ce)|l(?:ocked|ur)|roadcast|usy)|a(?:n(?:imation(?:iteration|start|end)|tennastatechange)|fter(?:(?:scriptexecu|upda)te|print)|udio(?:process|start|end)|d(?:apteradded|dtrack)|ctivate|lerting|bort)|DOM(?:Node(?:Inserted(?:IntoDocument)?|Removed(?:FromDocument)?)|(?:CharacterData|Subtree)Modified|A(?:ttrModified|ctivate)|Focus(?:Out|In)|MouseScroll)|r(?:e(?:s(?:u(?:m(?:ing|e)|lt)|ize|et)|adystatechange|pea(?:tEven)?t|movetrack|trieving|ceived)|ow(?:s(?:inserted|delete)|e(?:nter|xit))|atechange)|p(?:op(?:up(?:hid(?:den|ing)|show(?:ing|n))|state)|a(?:ge(?:hide|show)|(?:st|us)e|int)|ro(?:pertychange|gress)|lay(?:ing)?)|t(?:ouch(?:(?:lea|mo)ve|en(?:ter|d)|cancel|start)|ime(?:update|out)|ransitionend|ext)|u(?:s(?:erproximity|sdreceived)|p(?:gradeneeded|dateready)|n(?:derflow|load))|f(?:o(?:rm(?:change|input)|cus(?:out|in)?)|i(?:lterchange|nish)|ailed)|l(?:o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|evelchange|y)|g(?:amepad(?:(?
185:dis)?connected|button(?:down|up)|axismove)|et)|e(?:n(?:d(?:Event|ed)?|abled|ter)|rror(?:update)?|mptied|xit)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|valid|put))|o(?:(?:(?:ff|n)lin|bsolet)e|verflow(?:changed)?|pen)|SVG(?:(?:Unl|L)oad|Resize|Scroll|Abort|Error|Zoom)|h(?:e(?:adphoneschange|l[dp])|ashchange|olding)|v(?:o(?:lum|ic)e|ersion)change|w(?:a(?:it|rn)ing|heel)|key(?:press|down|up)|(?:AppComman|Loa)d|no(?:update|match)|Request|zoom))[\s\0]*=/,zG="[a-zA-Z0-9._+#%\\-]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}",HG=at({name:"decode-html",setup(e){return{provide:{decodeHtml:n=>{if(!n)return"";if(jG.test(n))return n;const r=document.createElement("textarea");return r.innerHTML=n,r.value}}}}}),dy=(e,t,n)=>{const{$logger:r}=_e(),i={};n&&(i.vueInfo=n),t&&(i.componentName=t.$options.name||t.__VUE_DEVTOOLS_COMPONENT_NAME__||"AnonymousComponent"),r.error(e,{errorContext:i})},qG=at(e=>{e.hook("vue:error",dy),e.hook("app:error",dy)}),WG=at({name:"gam",setup(e){const t=cn(),n={home:[{window:[0,0],sizes:[320,50]},{window:[500,0],sizes:[]}],halfpage:[{window:[0,0],sizes:[300,250]},{window:[900,650],sizes:[300,600]}],square:[{window:[0,0],sizes:[300,250]}],native:[{window:[0,0],sizes:[320,74]},{window:[960,200],sizes:[520,120]}],leaderboard:[{window:[0,0],sizes:[320,50]},{window:[768,90],sizes:[728,90]}],HomeRecents:[{window:[0,0],sizes:[320,50]},{window:[600,0],sizes:[]},{window:[900,0],sizes:[300,250]}],HomeCommunity:[{window:[0,0],sizes:[300,250]},{window:[768,90],sizes:[728,90]}],HomeEngagement:[{window:[0,0],sizes:[300,250]},{window:[900,0],sizes:[]}],HomeCollections:[{window:[0,0],sizes:[]},{window:[900,0],sizes:[300,250]}],video:[{window:[0,0],sizes:[320,180]},{window:[768,0],sizes:[640,360]}],myJournaiHalfpage:[{window:[0,0],sizes:[300,250]},{window:[900,650],sizes:[300,600]}]};let r;function i(c){const l=window.googletag.sizeMapping();return c.forEach(u=>{l.addSize(u.window,u.sizes)}),l.build()}function s(){return window.googletag.mappedSizes=window.googletag.mappedSizes||{},Object.keys(n).forEach(c=>{window.googletag.mappedSizes[c]=i(n[c])}),window.debugAdMapping&&(window.googletag.mappedSizes.debug=this.mapSize(window.debugAdMapping)),!0}function o(){r=window.setTimeout(()=>{const{emptySlots:c}=Xo();if(!c.length)return;const l=c.filter(u=>{const f=document.getElementById(u.getSlotElementId());return f&&getComputedStyle(f).display!=="none"});window.googletag.cmd.push(()=>{window.googletag.pubads().refresh(l,{changeCorrelator:!1})}),Xo().clearEmptySlots()},25e3)}const a={targetingData:{ad_prefix:"",ad_category:"",author_id:"",category:[],env:"",ga_user_id:"",krux_user_id:"",nexus_user_id:"",synthetic_pv_id:"",post_id:"",post_type:"",snowplow_user_d_id:"",tag:[],ugc:!1,wp_user_id:"",sess_refer_source:"",is_facebook_app:"",is_1p_identifiable:!1,engagement_id:""},setTargeting(c){const l={author_id:"post_author",category:"post_categories",tag:"post_tags",ugc:"has_user_generated_content",synthetic_pv_id:"pageViewId"};Object.keys(a.targetingData).forEach(u=>{c[u]?a.targetingData[u]=c[u]:l[u]&&(a.targetingData[u]=c[l[u]])}),a.targetingData.ugc=a.targetingData.ugc||this.isUgcRoute(),sessionStorage.getItem("referer")?a.targetingData.sess_refer_source=sessionStorage.getItem("referer"):a.targetingData.sess_refer_source="Not Available",a.targetingData.is_facebook_app=this.isFacebookApp(),this.initAds()},isUgcRoute(){return/comment-/.test(window.location.hash)},isFacebookApp:El,setUgcFlag(c){a.targetingData.ugc=c;const l=Xo();l.ugc=c,window.googletag.cmd.push(()=>{window.googletag.pubads().setTargeting("ugc",c.toString())})},initAds(){window.googletag.cmd.push(()=>{Object.keys(a.targetingData).forEach(c=>{if(["ugc","is_facebook_app","is_1p_identifiable"].includes(c)&&typeof a.targetingData[c]<"u"){window.googletag.pubads().setTargeting(c,a.targetingData[c].toString());return}if(!a.targetingData[c])return;let u=a.targetingData[c];typeof u=="string"?u=u.trim():Array.isArray(u)&&(u=u.map(f=>typeof f=="string"?f.trim():f)),window.googletag.pubads().setTargeting(c,u)})})},destroyAds(){window.googletag.cmd.push(()=>{window.googletag.destroySlots()})},updateCorrelator(){window.googletag&&window.googletag.cmd&&window.googletag.cmd.push(()=>{window.googletag.pubads().updateCorrelator()})},adsEnabled(){const{env:c}=Za().siteDataLayer,{$site:l}=_e();return c!=="dev"||l.settings.ads_enabled}};window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push(()=>{s(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableVideoAds(),window.googletag.enableServices()}),t.afterEach(()=>{o(Xo())}),t.beforeResolve((c,l,u)=>{r&&window.clearTimeout(r),a.destroyAds(),Xo().resetAdsOnPage(),u()}),e.provide("gam",{...a,network_id:"3996134"})}}),GG=at({name:"hostname",setup(e){const t=C7("hostname",()=>window?.location?.hostname);e.provide("hostname",t.value)}}),QG=(e,t={})=>({logger:e,log(n,r="info",i={}){{const s={...t,...i};this.logger[r](n,s)}},error(n,r){this.log(n,"error",r)},info(n,r){this.log(n,"info",r)},warn(n,r){this.log(n,"warn",r)},debug(n,r){this.log(n,"debug",r)}}),KG=()=>{const e=Cr();Il.init({clientToken:e.public.ddClientToken,env:e.public.env,version:e.public.version,forwardErrorsToLogs:!0,service:window.location.host.split(".")[0],useSecureSessionCookie:!0})},YG=at({name:"logger",setup(e){e.hook("app:mounted",()=>{KG()}),e.provide("logger",QG(Il.logger))}});function JG(){const e=document.getElementById("onetrust-consent-sdk");e&&e.remove(),typeof window.OneTrust=="function"&&(window.OneTrust.Init(),window.setTimeout(()=>
185{window.OneTrust.LoadBanner();const t=document.getElementsByClassName("ot-sdk-show-settings");for(let n=0;n<t.length;n++)t[n].onclick=r=>{r.stopImmediatePropagation(),window.OneTrust.ToggleInfoDisplay()}},1e3))}function XG(){return window.OneTrust.GetDomainData().Groups.sort((t,n)=>t.Order>n.Order?1:-1).filter(t=>(t.Status==="active"||t.Status==="always active")&&(t.Cookies.length!==0||t.Hosts.length!==0)).map(t=>t.OptanonGroupId)}function Ow(){return(window.OnetrustActiveGroups||"").replace(/(^,|,$)/g,"")}function Aw(){typeof window.OneTrust=="object"?window.OneTrust.OnConsentChanged(()=>{const e=XG().join(","),t=Ow();console.log(`default: ${e} current: ${t}`),e!==t&&!window.disableOTReload&&window.setTimeout(()=>{window.location.reload()},100)}):window.setTimeout(Aw,100)}const ZG=at({name:"oneTrust",dependsOn:["site","logger"],setup(e){const t=_e().$logger;let n=_e().$site.settings.one_trust_id,r;r=/prod/.test(Za().siteDataLayer.env),!r&&n&&(n=`${n}-test`),!n&&r&&t.warn("OneTrust ID not configured"),_e().$router.afterEach&&_e().$router.afterEach((s,o)=>{o.name?JG():Aw()});const i={getCurrentCategoryIdsString:Ow};e.provide("oneTrust",i)}}),eQ=ke` 186 query reactions($reactables: [ReactableIdentifier!]) { 187 reactions(reactables: $reactables) { 188 assocId 189 assocType 190 reactionAggregates { 191 count 192 isSelected 193 type 194 } 195 } 196 } 197`,tQ=e=>({post:"POST",cas:"POST",story:"POST",quiz:"POST",recipe:"POST",thread:"THREAD",comment:"COMMENT",reply:"REPLY",status:"USER_PROFILE_STATUS",statusReply:"USER_PROFILE_STATUS_REPLY",message:"MESSAGE"})[e],nQ=0;let Fc;const hy=(e,t)=>`${e}:${t}`,rQ=e=>{const t=e.split(":");return{assocType:t[0],assocId:t[1]}},iQ=({apolloProvider:e})=>({subscribers:{},reactables(){return Object.keys(this.subscribers).map(rQ)},async getReactions(){await e.defaultClient.query({query:eQ,variables:{reactables:this.reactables()}}).then(({data:n})=>{n.reactions&&n.reactions.forEach(r=>{const i=hy(r.assocType,r.assocId);this.publish(i,r.reactionAggregates)})}).catch(n=>{_e().$logger.error(n)})},subscribe(t,n,r){const i=tQ(t),s=hy(i,n);this.subscribers[s]||(this.subscribers[s]=[]),this.subscribers[s].push({callback:r}),Fc&&clearTimeout(Fc),Fc=window.setTimeout(()=>{this.getReactions()},nQ)},publish(t,n){const r=this.subscribers[t];return r?(r.forEach(i=>{i.callback(n)}),delete this.subscribers[t],!0):!1},clearSubscriptions(){this.subscribers={},Fc&&clearTimeout(Fc)}}),sQ=at({name:"reactions-mediator",dependsOn:["logger"],setup(e){e.provide("reactions",iQ({apolloProvider:e.$apollo,context:e.context})),e.$router.beforeEach(()=>{e.$reactions.clearSubscriptions()})}}),oQ=at({name:"runtime-init",parallel:!0,async setup(){$t().initGlobalContextVersions(Cr())}}),aQ=2,cQ={ttl:1e3*60*60*aQ,max:1e3},py=new uc(cQ),my="site-list";async function lQ(){const e=hh();let t=py.get(my);t&&e.set(t),Object.keys(e.sites).length===0&&(t=(await _e().$apollo.defaultClient.query({query:yF})).data.siteSummaries.reduce((r,{prefix:i,name:s,host:o,showInFooter:a})=>(r[i]={name:s,host:o,showInFooter:a},r),{}),py.set(my,t),e.set(t))}const uQ=at({name:"site-list",dependsOn:["apollo"],parallel:!0,async setup(){lQ()}});var Bp,gy;function K2(){if(gy)return Bp;gy=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return Bp=e,Bp}var jp,_y;function fQ(){if(_y)return jp;_y=1;var e=typeof Vu=="object"&&Vu&&Vu.Object===Object&&Vu;return jp=e,jp}var zp,yy;function Rw(){if(yy)return zp;yy=1;var e=fQ(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return zp=n,zp}var Hp,vy;function dQ(){if(vy)return Hp;vy=1;var e=Rw(),t=function(){return e.Date.now()};return Hp=t,Hp}var qp,by;function hQ(){if(by)return qp;by=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return qp=t,qp}var Wp,wy;
197function pQ(){if(wy)return Wp;wy=1;var e=hQ(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Wp=n,Wp}var Gp,Sy;function Pw(){if(Sy)return Gp;Sy=1;var e=Rw(),t=e.Symbol;return Gp=t,Gp}var Qp,Ey;function mQ(){if(Ey)return Qp;Ey=1;var e=Pw(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function s(o){var a=n.call(o,i),c=o[i];try{o[i]=void 0;var l=!0}catch{}var u=r.call(o);return l&&(a?o[i]=c:delete o[i]),u}return Qp=s,Qp}var Kp,Ty;function gQ(){if(Ty)return Kp;Ty=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return Kp=n,Kp}var Yp,ky;function _Q(){if(ky)return Yp;ky=1;var e=Pw(),t=mQ(),n=gQ(),r="[object Null]",i="[object Undefined]",s=e?e.toStringTag:void 0;function o(a){return a==null?a===void 0?i:r:s&&s in Object(a)?t(a):n(a)}return Yp=o,Yp}var Jp,xy;function yQ(){if(xy)return Jp;xy=1;function e(t){return t!=null&&typeof t=="object"}return Jp=e,Jp}var Xp,Cy;function vQ(){if(Cy)return Xp;Cy=1;var e=_Q(),t=yQ(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return Xp=r,Xp}var Zp,Iy;function bQ(){if(Iy)return Zp;Iy=1;var e=pQ(),t=K2(),n=vQ(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt;function c(l){if(typeof l=="number")return l;if(n(l))return r;if(t(l)){var u=typeof l.valueOf=="function"?l.valueOf():l;l=t(u)?u+"":u}if(typeof l!="string")return l===0?l:+l;l=e(l);var f=s.test(l);return f||o.test(l)?a(l.slice(2),f?2:8):i.test(l)?r:+l}return Zp=c,Zp}var e1,Oy;function Dw(){if(Oy)return e1;Oy=1;var e=K2(),t=dQ(),n=bQ(),r="Expected a function",i=Math.max,s=Math.min;function o(a,c,l){var u,f,d,h,p,m,g=0,_=!1,b=!1,y=!0;if(typeof a!="function")throw new TypeError(r);c=n(c)||0,e(l)&&(_=!!l.leading,b="maxWait"in l,d=b?i(n(l.maxWait)||0,c):d,y="trailing"in l?!!l.trailing:y);function v($){var U=u,J=f;return u=f=void 0,g=$,h=a.apply(J,U),h}function w($){return g=$,p=setTimeout(A,c),_?v($):h}function S($){var U=$-m,J=$-g,V=c-U;return b?s(V,d-J):V}function O($){var U=$-m,J=$-g;return m===void 0||U>=c||U<0||b&&J>=d}function A(){var $=t();if(O($))return k($);p=setTimeout(A,S($))}function k($){return p=void 0,y&&u?v($):(u=f=void 0,h)}function R(){p!==void 0&&clearTimeout(p),g=0,u=m=f=p=void 0}function M(){return p===void 0?h:k(t())}function D(){var $=t(),U=O($);if(u=arguments,f=this,m=$,U){if(p===void 0)return w(m);if(b)return clearTimeout(p),p=setTimeout(A,c),v(m)}return p===void 0&&(p=setTimeout(A,c)),h}return D.cancel=R,D.flush=M,D}return e1=o,e1}var t1,Ay;function wQ(){if(Ay)return t1;Ay=1;var e=Dw(),t=K2(),n="Expected a function";function r(i,s,o){var a=!0,c=!0;if(typeof i!="function")throw new TypeError(n);return t(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),e(i,s,{leading:a,maxWait:s,trailing:c})}return t1=r,t1}var SQ=wQ();const Ry=V2(SQ),EQ=()=>{const e=window.referrer||document.referrer;window.snowplow_hu("setReferrerUrl",e)},TQ=e=>({getSnowplowDuid(){const t=document.cookie.match(/_sp_id\.[a-f0-9]+=([^;]+);?/);return t?t[1]:null},track(t,n,r={}){xn.event(t,n,r)},trackSelfDescribingEvent(t,n){xn.selfDescribingEvent(t,n)},trackButtonEvent(t){e&&e.updateSourceContext({trigger:t.data});const n={type:"button_type",text:"button_text",classes:"button_class_list",id:"button_id"},r=Object.keys(t.data).reduce((o,a)=>(n[a]===void 0||(o[n[a]]=t.data[a]),o),{}),i=[e.getComplianceContext,e.getGlobalContext,e.getUserContext],s={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_button_tag/jsonschema/1-0-0",data:r};this.trackSelfDescribingEvent(s,i)},trackToastNotification(t){const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext,e.getSourceContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_toast_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},trackExperimentBucket(t,n){const r=[e.getComplianceContext,e.getGlobalContext,e.getUserContext,e.getSourceContext],i={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_ab_test_new_session_event/jsonschema/1-0-0",data:{session_id:De().user.sessionId,testing_bucket:t,testing_bucket_parameters:n}};this.trackSelfDescribingEvent(i,r)},trackSubscriptionPopUpImpression(t,n){const r=[e.complianceContext,e.globalContext,e.userContext,e.sourceContext],i={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_ab_test_popup_impressions/jsonschema/1-0-0",data:{popUpTime:t,popUpSource:n}};this.trackSelfDescribingEvent(i,r)},trackRecaptcha(t){const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_recaptcha_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},connectSocialAccountTracking(t){const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_social_connect_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},enableScrollTracking(t){if(!t.data)return;const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext,e.getA11yContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_scroll_tracking_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},enableReactionTracking(t){const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext,e.getSourceContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_reaction_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},enableDialogTracking(t){const n=[e.getComplianceContext,e.getGlobalContext,e.getUserContext,e.getSourceContext],r={schema:"https://raw.githubusercontent.com/Health-Union/iglu-schemas/master/schemas/com.health-union/nexus_dialog_tag/jsonschema/1-0-0",data:t.data};this.trackSelfDescribingEvent(r,n)},enableFormTracking:Ry(()=>{new xn(e).enableFormTracking(e)},100),refreshLinkClickTracking:Ry(()=>{new xn(e).refreshLinkTracking()},100),trackSiteSearch(t){const n=new xn(e),r=t.search_terms,{filter:i,totalResults:s,firstPageResults:o}=t;n.trackSiteSearch(r,i,s,o)},trackPageView(){EQ(),new xn(e).trackPageView(null)}}),kQ=at({name:"snowplow",setup(e){const t=$t();kj(),e.provide("snowplow",TQ(t)),e.$router.beforeEach(()=>{$t().resetGlobalContext()})}}
197),xQ=[rA,sA,uA,RF,NF,$F,LF,MF,FF,VF,UF,BF,jF,zF,KF,Sj,Rj,Pj,Fj,jj,BG,HG,qG,WG,GG,YG,ZG,sQ,oQ,uQ,kQ],CQ={engagementTypes:["post","thread","comment","story","recipe"],sidebarAdSections:[{type:"AdSlot",options:{mapping:"square",displayInSidebar:!0}},{type:"AdSlot",options:{mapping:"halfpage",displayInSidebar:!0}},{type:"AdSlot",options:{mapping:"square",displayInSidebar:!0}}],scrollToOffset:-55,copyleaksScanWordMinimum:6},IQ={methods:{scrollTo(e,t){const n=document.querySelector(e);if(!n)return;const r=CQ.scrollToOffset,s=n.getBoundingClientRect().top+window.pageYOffset+r;window.pageYOffset.toFixed()!==s.toFixed()&&window.scrollTo({top:s,behavior:t||"smooth"})}}},te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},OQ={name:"SkipLinks",mixins:[IQ],computed:{...$d(De,["userIsLoggedIn"]),links(){return[{href:"#a11y-tools-toggle-button",text:"Skip to Accessibility Menu"},{href:this.userIsLoggedIn?"#profile-button":"#login-button",text:this.userIsLoggedIn?"Skip to Profile Menu":"Skip to Login"},{href:"#layout-content",text:"Skip to Content"},{href:"#footer",text:"Skip to Footer"}]}},methods:{skipTo(e){e.preventDefault();const t=`#${e.target.href.split("#")[1]}`,n=document.querySelector(t);n.setAttribute("tabindex",-1),n.focus(),this.scrollTo(t,"instant"),n.addEventListener("blur",r=>{r.target.removeAttribute("tabindex")},{once:!0})}}},AQ={class:"skip-links"},RQ=["href"];function PQ(e,t,n,r,i,s){return E(),P("div",AQ,[(E(!0),P(Me,null,Pt(s.links,(o,a)=>(E(),P("a",{key:a,href:o.href,class:"skip-links__link button",onClick:t[0]||(t[0]=(...c)=>s.skipTo&&s.skipTo(...c))},ye(o.text),9,RQ))),128))])}const DQ=Object.assign(te(OQ,[["render",PQ],["__scopeId","data-v-5b04a1c9"]]),{__name:"SkipLinks"}),NQ={name:"ProgressIndicator",props:{currentStep:{type:String,required:!0}},computed:{...ue(Ae,["progressIndicatorSteps"]),...ue(tt,["siteHasFeature"]),siteFeatureNeedsProgressIndicator(){return this.siteHasFeature("rare_disease")||this.siteHasFeature("social_network")}},methods:{isCurrentStepDot(e){return Number(this.currentStep)===e+1}}},$Q={key:0,class:"progress-indicator"},LQ=["data-test-id"];function MQ(e,t,n,r,i,s){return s.siteFeatureNeedsProgressIndicator?(E(),P("div",$Q,[(E(!0),P(Me,null,Pt(e.progressIndicatorSteps,(o,a)=>(E(),P("div",{key:a,class:ve(["progress-indicator__dot",{"progress-indicator__dot--current":s.isCurrentStepDot(a)}]),"data-test-id":`${s.isCurrentStepDot(a)?"current-":""}progress-indicator-dot`},null,10,LQ))),128))])):Y("",!0)}const ui=Object.assign(te(NQ,[["render",MQ],["__scopeId","data-v-31aa697f"]]),{__name:"ProgressIndicator"}),FQ='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24 47c-12.68 0-23-10.32-23-23s10.32-23 23-23 23 10.32 23 23-10.32 23-23 23zm0-42c-10.47 0-19 8.53-19 19s8.52 19 19 19 19-8.52 19-19-8.53-19-19-19z"/><path d="m24 19.4c-2.96 0-5.37-2.41-5.37-5.37s2.41-5.37 5.37-5.37 5.37 2.41 5.37 5.37-2.41 5.37-5.37 5.37zm0-7.24c-1.03 0-1.87.84-1.87 1.87s.84 1.87 1.87 1.87 1.87-.84 1.87-1.87-.84-1.87-1.87-1.87z"/><path d="m36.1 21.3c-.33-1.06-1.46-1.65-2.5-1.31-9.53 2.97-19 .06-19.17 0-1.05-.34-2.18.24-2.51 1.3s.24 2.18 1.29 2.51c.24.08 3.59 1.12 8.38 1.44-1.4 6.06-4.13 10.41-4.16 10.46-.59.93-.32 2.17.61 2.76.33.21.71.32 1.08.32.66 0 1.3-.33 1.69-.92.1-.15 1.55-2.45 2.96-6.07.72 1.88 1.74 3.96 3.17 6.1.61.92 1.85 1.17 2.77.55.92-.61 1.17-1.85.55-2.77-2.83-4.24-3.77-8.16-4.09-10.38 2.71-.13 5.65-.55 8.62-1.48 1.05-.33 1.64-1.45 1.31-2.5z"/></svg>',VQ='<svg height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m19.415933 3.22032731 12.584067 12.58406699-12.584067 12.5840669c-.7722209.7722209-2.0242384.7722209-2.7964593 0s-.7722209-2.0242384 0-2.7964593l7.7655263-7.7658403-22.40760465.0002478c-1.0920853 0-1.97739535-.88531-1.97739535-1.9773953s.88531005-1.9773954 1.97739535-1.9773954l22.49660465-.0004571-7.8545263-7.85437497c-.7371199-.73711996-.7706254-1.91140994-.1005163-2.68827264l.1005163-.10818668c.7722209-.77222092 2.0242384-.77222092 2.7964593 0z" /></svg>',UQ='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m39.98 37.96c-4.61 3.25-8.55 4.35-15.6 4.35-5.62 0-10.55-1.85-13.89-5.2-3.17-3.19-4.82-7.7-4.79-13.04.08-12.11 9.51-18.65 18.33-18.65s17.92 5.46 17.92 14.28c0 3.64-1.6 7.74-3.89 9.98-1.2 1.17-2.46 1.77-3.82 1.72-3-.07-4.1-1.82-4.46-2.72l4.7-10.77c.44-1.01-.02-2.19-1.
19703-2.63-.77-.34-1.63-.15-2.2.41-1.64-1.74-3.69-2.7-5.92-2.71h-.04c-3.19 0-6.47 1.95-8.56 5.11-1.75 2.64-3.23 6.73-2.12 10.29.67 2.13 2.17 3.72 4.34 4.59.93.37 1.85.54 2.75.54 1.86 0 3.61-.73 5.12-1.92 1.24 1.88 3.53 3.73 7.33 3.82 2.41.04 4.74-.93 6.71-2.86 3.05-2.98 5.09-8.14 5.09-12.84 0-11.29-11.38-18.28-21.92-18.28s-22.23 7.92-22.33 22.61c-.05 6.43 2.01 11.93 5.95 15.89 4.09 4.12 10.03 6.38 16.72 6.38 7.9 0 12.58-1.33 17.9-5.08.9-.64 1.12-1.88.48-2.79s-1.88-1.12-2.79-.48zm-19.56-8.73c-1.04-.42-1.7-1.09-2-2.06-.56-1.8.09-4.56 1.63-6.88 1.34-2.02 3.39-3.32 5.23-3.32h.02c1.48 0 2.77.83 3.83 2.46.06.09.13.17.2.25l-2.19 5.01s0 0 0 0c-1.3 2.98-4.1 5.59-6.73 4.54z"/></svg>',BQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#61ccff" r="24.22"/><path d="m25 9.4s-1.38 1.11-3.39 1.83-3.66.74-3.66.74-.45 1.74-1.41 3.34-2.35 3.16-2.35 3.16.63 1.14.98 3.43c.34 2.29.33 3.97.33 3.97s1.43.8 2.95 2.05 2.8 2.77 2.8 2.77 1.27-.37 3.52-.37 3.99.37 3.99.37 1.08-1.52 2.6-2.81 3.15-2.01 3.15-2.01-.14-2.02.17-3.97c.3-1.94 1.14-3.43 1.14-3.43s-1.44-1.64-2.32-3.16-1.43-3.34-1.43-3.34-1.96-.01-3.94-.81-3.12-1.76-3.12-1.76z" fill="#187fb0"/><circle cx="25.11" cy="20.37" fill="#61ccff" r="5.6"/><path d="m37.39 17.08s-1.32-1.5-2.07-2.82c-.74-1.29-1.24-2.9-1.25-2.91-.27-.88-1.08-1.48-2-1.48 0 0-1.6-.03-3.16-.66-1.61-.65-2.55-1.42-2.56-1.42-.39-.32-.87-.48-1.35-.48s-.93.15-1.31.46c-.04.03-1.18.92-2.79 1.49-1.62.58-2.96.61-2.98.61-.94.02-1.77.66-2.01 1.57 0 .01-.4 1.49-1.18 2.79-.83 1.4-2.1 2.82-2.11 2.84-.6.67-.7 1.64-.27 2.42s.47.92.74 2.72c.31 2.07.3 3.62.3 3.64 0 .77.41 1.48 1.08 1.86.01 0 1.29.73 2.64 1.84.35.29.68.59.99.88l-4.63 9.38 4.95-.28 3.09 4.16 3.54-7.17 3.54 7.17 3.09-4.16 4.95.28-4.72-9.57c.25-.25.51-.51.8-.75 1.26-1.07 2.63-1.69 2.64-1.7.8-.36 1.3-1.19 1.24-2.07 0-.02-.12-1.82.14-3.49.24-1.52.89-2.72.9-2.73.43-.78.33-1.75-.26-2.41zm-16.24 22.58-1.72-2.31-2.48.14 2.69-5.45c.41.48 1 .75 1.61.75.2 0 .4-.03.59-.09 0 0 1.06-.28 2.88-.29l-3.58 7.24zm9.53-2.31-1.72 2.31-2.73-5.53.78-1.58c.79.09 1.3.19 1.31.2.15.03.29.05.44.05.65 0 1.27-.31 1.67-.83l2.73 5.54-2.48-.14zm4-15.46c-.3 1.94-.17 3.97-.17 3.97s-1.62.72-3.15 2.01-2.6 2.81-2.6 2.81-1.74-.37-3.99-.37-3.52.37-3.52.37-1.28-1.52-2.8-2.77c-1.52-1.26-2.95-2.05-2.95-2.05s.02-1.68-.33-3.97c-.34-2.29-.98-3.43-.98-3.43s1.4-1.56 2.35-3.16 1.41-3.34 1.41-3.34 1.64-.01 3.66-.74 3.39-1.83 3.39-1.83 1.14.96 3.12 1.76 3.94.81 3.94.81.56 1.82 1.43 3.34 2.32 3.16 2.32 3.16-.83 1.49-1.14 3.43z"/><path d="m25.11 13.72c-3.67 0-6.65 2.98-6.65 6.65s2.98 6.65 6.65 6.65 6.65-2.98 6.65-6.65-2.98-6.65-6.65-6.65zm0 11.2c-2.51 0-4.55-2.04-4.55-4.55s2.04-4.55 4.55-4.55 4.55 2.04 4.55 4.55-2.04 4.55-4.55 4.55z"/></svg>',jQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="24.81" fill="#ffdbb3" r="24.22"/><path d="m34.52 10.79h-19.24v12.58h.01c.05 5.27 4.33 9.52 9.61 9.52s9.56-4.25 9.61-9.52h.01z" fill="#f7a347"/><path d="m40.23 16.91c-1.11-2.15-3.08-2.65-4.58-2.59v-4.65h-21.5v4.66c-1.45.02-3.24.58-4.27 2.59-.65 1.27-.65 2.84.02 4.41.85 1.99 2.68 3.8 4.61 4.61 1.11 4.31 4.82 7.59 9.34 8.04v5.81h-2.81v2.25h7.88v-2.25h-2.82v-5.84c4.41-.5 8.03-3.69 9.16-7.88 2.04-.72 4.05-2.62 4.95-4.74.67-1.57.67-3.14.02-4.41zm-28.26 3.53c-.28-.67-.53-1.65-.09-2.5.58-1.12 1.54-1.37 2.27-1.38v6.59c-.93-.7-1.74-1.68-2.18-2.71zm21.43 1.93v.99c-.06 4.64-3.87 8.41-8.5 8.41s-8.44-3.77-8.49-8.41v-.57s-.01-10.88-.01-10.88h17zm4.74-1.93c-.49 1.14-1.44 2.23-2.49 2.92v-6.79c.73-.06 1.91.07 2.58 1.37.44.85.19 1.83-.09 2.5z"/></svg>',zQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="24.96" cy="25" fill="#ffdbb3" r="24.26"/><path d="m37.72 36.36c0-7.44-5.73-13.47-12.79-13.47s-12.79 6.03-12.79 13.47c0 0 2.9 3.26 12.74 3.26s12.84-3.26 12.84-3.26z" fill="#f7a347"/><path d="m38.07 19.81c1.1-.94 1.82-2.33 1.82-3.89 0-2.83-2.3-5.13-5.13-5.13-1.14 0-2.21.37-3.09 1.03
197-1.36-2.27-3.84-3.79-6.67-3.79s-5.37 1.56-6.72 3.87c-.89-.71-2-1.11-3.18-1.11-2.83 0-5.13 2.3-5.13 5.13 0 1.56.72 2.95 1.82 3.89-3.22 1.38-5.51 4.69-5.51 8.55 0 .28.11.55.3.76.16.18 1.55 1.57 5.33 2.11-.58 1.6-.91 3.33-.91 5.14 0 .28.1.54.28.75.13.15 3.35 3.64 13.58 3.64s13.54-3.48 13.67-3.63c.19-.21.3-.48.3-.76 0-1.81-.33-3.53-.91-5.13 3.78-.54 5.18-1.94 5.34-2.11.19-.21.3-.48.3-.76 0-3.86-2.28-7.17-5.51-8.55zm-3.31-6.77c1.59 0 2.88 1.29 2.88 2.88s-1.29 2.88-2.88 2.88c-.88 0-1.68-.41-2.22-1.07.16-.61.25-1.25.25-1.91 0-.6-.07-1.18-.2-1.74.54-.64 1.32-1.03 2.18-1.03zm-9.75-2.76c3.05 0 5.53 2.48 5.53 5.53s-2.48 5.53-5.53 5.53-5.53-2.48-5.53-5.53 2.48-5.53 5.53-5.53zm-9.9 2.76c.92 0 1.74.44 2.29 1.16-.11.52-.17 1.06-.17 1.61 0 .61.08 1.19.21 1.76-.54.76-1.38 1.23-2.33 1.23-1.59 0-2.88-1.29-2.88-2.88s1.29-2.88 2.88-2.88zm-6.54 14.78c.26-3.6 3.1-6.45 6.55-6.45 1.52 0 3 .57 4.22 1.64-2.71 1.26-4.97 3.39-6.44 6.06-2.46-.26-3.78-.9-4.33-1.25zm16.31 10.68c-7.45 0-10.68-1.94-11.6-2.64.25-6.57 5.38-11.84 11.66-11.84s11.4 5.26 11.65 11.83c-.97.72-4.27 2.65-11.71 2.65zm12.09-9.43c-1.48-2.67-3.73-4.81-6.44-6.06 1.18-1.05 2.68-1.64 4.22-1.64 3.45 0 6.29 2.85 6.55 6.44-.56.36-1.88 1-4.33 1.26z"/></svg>',HQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#ffdbb3" r="24.22"/><path d="m30.63 15.45c-2.34 1.02-3.98 2.98-4.72 5.26l-3.16-1.52.45 2.88-15.28 2.49s-1.83 1.12-2.28 2.82l3.71 2.45 2.1-.36 1.06-1.16 2.09 1.47 1.69-.3 1.49-2.03 2.44 1.69 1.32-1.71 2.37-.47.68 3.28 2.44-1.83c2.32 3.45 6.8 4.89 10.68 3.18 4.38-1.92 6.35-7.09 4.4-11.54s-7.09-6.51-11.47-4.6z" fill="#f7a347"/><path d="m34.27 33.43c-2.82 0-5.57-1.23-7.48-3.45l-1.54 1.16c-.31.23-.71.29-1.07.15s-.63-.45-.71-.82l-.45-2.18-.86.17-1.06 1.38c-.37.47-1.04.58-1.53.24l-1.54-1.07-.84 1.15c-.17.23-.42.39-.71.44l-1.69.3c-.29.05-.6-.02-.85-.19l-1.28-.9-.39.43c-.17.18-.39.31-.64.35l-2.1.36c-.28.05-.57-.01-.81-.17l-3.71-2.45c-.4-.27-.59-.76-.47-1.22.55-2.08 2.56-3.35 2.78-3.49.12-.08.26-.13.4-.15l14.18-2.31-.27-1.78c-.06-.41.11-.83.44-1.08.34-.25.78-.29 1.16-.11l2.08 1c1-2.12 2.72-3.81 4.86-4.75l.45 1.03-.45-1.03c4.94-2.17 10.75.16 12.95 5.18s-.04 10.86-4.98 13.02c-1.25.55-2.57.81-3.87.81zm-7.26-6.15c.06 0 .12 0 .19.02.3.05.57.23.75.48 2.06 3.07 5.97 4.24 9.3 2.78 3.8-1.67 5.52-6.18 3.82-10.06s-6.18-5.68-9.98-4.02c-1.94.85-3.43 2.52-4.1 4.57-.1.31-.33.56-.63.69s-.64.12-.93-.02l-1.24-.6.12.77c.09.61-.32 1.18-.93 1.28l-15.04 2.45c-.35.25-.92.73-1.29 1.33l2.55 1.69 1.28-.22.8-.87c.38-.42 1.01-.48 1.48-.16l1.7 1.2.78-.14 1.23-1.67c.36-.49 1.05-.6 1.55-.26l1.56 1.08.67-.86c.17-.21.4-.36.67-.41l2.37-.47c.6-.13 1.19.27 1.32.87l.32 1.54 1.02-.77c.2-.15.43-.23.68-.23z"/><circle cx="36.77" cy="22.7" fill="#ffdbb3" r="2.41"/><path d="m36.77 26.24c-.44 0-.87-.08-1.29-.24-.88-.34-1.57-1.01-1.95-1.88s-.4-1.83-.05-2.71 1.01-1.57 1.88-1.95 1.83-.4 2.71-.05c.88.34 1.57 1.01 1.95 1.88.78 1.79-.03 3.88-1.82 4.66-.45.2-.94.3-1.42.3zm0-4.83c-.17 0-.35.04-.51.11-.31.14-.56.39-.68.71s-.12.67.02.99c.28.65 1.04.95 1.7.66.65-.28.95-1.05.66-1.7-.21-.48-.69-.77-1.18-.77z"/></svg>',qQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#ffdbb3" r="24.22"/><path d="m23.79 11.29-11.73 16.21 3.99-.41 11.49-14.49-2.12-3.67z" fill="#f7a347"/><rect fill="#f7a347" height="15.55" rx="2" width="7.7" x="34.99" y="19.1"/><path d="m39.69 17.96h-1.7c-1.11 0-2.11.44-2.86 1.16-2.29-.04-6.1-2.7-8.29-4.63l3.39-4.37c.34-.45.27-1.08-.17-1.44l-2.52-2.04c-.22-.17-.49-.26-.77-.22-.27.03-.53.17-.7.39l-4.66 5.92c-3.09.39-5.8 2.87-7.8 4.69-1.43 1.3-2.79 2.68-4.06 4.09-.16.18-.34.36-.53.56-.94.95-2.1 2.14-2 3.8.07 1.11.63 2.1 1.51 2.64.02 0 .03.01.05.02l-2.29 5.83c-.16.42-.04.89.3 1.17.19.16.42.24.66.24.19 0 .38-.05.55-.16l5.02-3.17c.15.07.29.13.41.18h.01c.02 1.43 1.21 2.59 2.68 2.59.81 0 1.54-.36 2.03-.92.49.6 1.24.99 2.08.99 1.29 0 2.36-.89 2.62-2.07 1.46.77 4.1 1.86 7.4 1.86 1.47 0 3.07-.23 4.74-.79.76.91 1.89 1.51 3.17 1.51h1.7c2.28 0 4.14-1.86 4.14-4.14v-9.55c0-2.28-1.86-4.14-4.14-4.14zm-12.64-9.05.92.74-.66.85-.91-.77.65-.83zm-1.93 2.45.92.78-10.58 13.65h-1.7s11.36-14.43 11.36-14.43zm-4.7 14.43h-2.34s.81-1.04.81-1.04c.82.19 1.29.61 1.53 1.04zm-11.05 6.39 1.24-3.17s0 .01 0 .02c0 .8.24 1.46.59 1.99l-1.83 1.15zm.93-5.33c-.25.06-.48.02-.68-.1-.31-.19-.5-.57-.53-1.
19701-.05-.74.7-1.5 1.41-2.23.21-.22.42-.42.6-.63 1.22-1.36 2.53-2.69 3.91-3.94 1.13-1.03 2.53-2.3 4.02-3.17l-8.72 11.08zm5.63 6.3c-.31 0-.55-.2-.6-.47h1.19c-.05.26-.29.47-.6.47zm4.11.06c-.33 0-.6-.24-.61-.53h1.22c-.02.29-.28.53-.61.53zm2.69-2.57c-.19-.14-.42-.21-.65-.21h-8.24c-.3-.15-.97-.57-.97-1.4 0-.72.55-.93.85-.99h8.13c.61 0 1.11-.48 1.12-1.09.03-1.12-.53-3.15-2.62-4.07l5.11-6.6c1.28 1.11 5.12 4.25 8.48 4.97-.06.28-.09.56-.09.85v9.55c0 .19.03.37.06.56-6.11 1.92-11.12-1.52-11.17-1.56zm18.81 1c0 1.03-.83 1.86-1.86 1.86h-1.7c-1.03 0-1.86-.83-1.86-1.86v-9.55c0-1.03.83-1.86 1.86-1.86h1.7c1.03 0 1.86.83 1.86 1.86z"/></svg>',WQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="24.71" cy="25.22" fill="#ffc0d3" r="24.22"/><path d="m29 44.15c-.25 0-.51-.02-.77-.07l-12.83-2.41c-2.24-.42-3.71-2.58-3.29-4.82l5.14-27.32c.2-1.08.82-2.02 1.73-2.64s2.01-.85 3.09-.65l12.83 2.41c2.24.42 3.71 2.58 3.29 4.82l-5.14 27.32c-.2 1.08-.82 2.02-1.73 2.64-.7.48-1.5.72-2.32.72zm-.35-2.28c1.02.19 2-.48 2.19-1.5l5.14-27.32c.09-.49-.01-.99-.3-1.4-.28-.42-.71-.7-1.2-.79l-12.83-2.41c-.49-.09-.99.01-1.4.3-.42.28-.7.71-.79 1.2l-5.14 27.32c-.19 1.02.48 2 1.5 2.19z"/><path d="m22.84 40.01c-.87 0-1.73-.42-2.26-1.19-.85-1.24-.53-2.95.71-3.8.6-.41 1.33-.56 2.05-.43s1.34.54 1.75 1.14.56 1.33.43 2.05-.54 1.34-1.14 1.75c-.47.32-1.01.48-1.54.48zm0-3.66c-.19 0-.37.06-.52.16-.42.29-.53.87-.24 1.3.29.42.87.53 1.3.24.21-.14.34-.35.39-.6.05-.24 0-.49-.15-.7-.14-.21-.35-.34-.6-.39-.06-.01-.12-.02-.17-.02z"/><path d="m30.22 12.61s-.09 0-.14-.01l-4.95-.92c-.41-.08-.68-.47-.6-.87.07-.41.47-.68.87-.6l4.95.92c.41.08.68.47.6.87-.07.36-.38.61-.74.61z"/><path d="m28.58 30.96-3.76-2.92-4.54 1.45 1.61-4.48-2.77-3.87 4.75.15 2.82-3.83 1.33 4.57 4.52 1.49-3.93 2.68z" fill="#ed3870"/><path d="m28.58 32.09c-.24 0-.49-.08-.69-.24l-3.3-2.55-3.97 1.27c-.41.13-.85.02-1.15-.29s-.39-.76-.25-1.16l1.41-3.92-2.43-3.39c-.25-.35-.28-.81-.08-1.19s.58-.63 1.03-.6l4.17.13 2.47-3.36c.25-.34.68-.52 1.1-.44.42.07.76.38.88.79l1.16 4 3.96 1.31c.41.13.7.49.76.91s-.13.84-.48 1.09l-3.45 2.34-.02 4.17c0 .43-.25.82-.63 1-.16.08-.32.11-.49.11zm-3.76-5.17c.25 0 .49.08.69.24l1.96 1.52v-2.48c.02-.37.2-.72.51-.92l2.05-1.4-2.36-.78c-.35-.12-.62-.4-.73-.75l-.69-2.38-1.47 2c-.22.3-.58.47-.94.46l-2.48-.08 1.45 2.01c.22.3.27.69.14 1.04l-.84 2.33 2.36-.75c.11-.04.23-.05.34-.05z"/></svg>',GQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#ffc0d3" r="23.94"/><path d="m34.09 13.92c-6.11-1.82-8.83 2.06-9.13 2.52-.3-.46-3.02-4.34-9.13-2.52-6.49 1.94-6.7 10.21-4.03 14.34 2.65 4.11 9.7 9.4 13.13 11.32v.05s.03-.02.05-.03c0 0 .02 0 .02.01v-.03c3.43-1.92 10.47-7.22 13.12-11.33 2.67-4.13 2.46-12.4-4.03-14.34z" fill="#ed3870"/><path d="m42.98 24.73h-2.36c.39-2.17.26-4.49-.46-6.45-1.01-2.74-3-4.62-5.75-5.44-5-1.49-8.03.47-9.45 1.86-1.42-1.39-4.46-3.35-9.45-1.86-2.75.82-4.74 2.7-5.75 5.44-.74 2.01-.86 4.38-.44 6.58h-2.34c-.62 0-1.12.5-1.12 1.12s.5 1.12 1.12 1.12h3c.25.62.53 1.22.87 1.75 2.85 4.42 10.09 9.72 13.35 11.59.05.05.11.09.18.13.18.11.4.15.6.15.21 0 .41-.06.59-.16.04-.02.08-.05.11-.08 3.23-1.84 10.49-7.16 13.37-11.62.37-.57.67-1.22.93-1.89h2.99c.62 0 1.12-.5 1.12-1.12s-.5-1.12-1.12-1.12zm-31.11-5.67c.53-1.43 1.7-3.3 4.28-4.06 1.03-.31 1.95-.43 2.76-.43 3.38 0 4.91 2.18 5.1 2.49.21.32.56.51.94.51s.74-.19.94-.51c.24-.38 2.53-3.65 7.86-2.05 2.58.77 3.75 2.64 4.28 4.06.63 1.7.7 3.78.29 5.67h-4.09l-3.07-6.4c-.18-.38-.55-.62-.97-.64-.43-.02-.81.2-1.02.56l-6 10.42-4.1-6.11c-.19-.29-.51-.47-.86-.5-.36-.03-.69.12-.92.38l-2.11 2.42h-3.57c-.45-1.92-.39-4.06.25-5.8zm25.3 8.59c-2.45 3.8-8.84 8.65-12.2 10.65-3.37-2-9.79-6.87-12.23-10.65-.11-.17-.2-.35-.29-.53h3.25c.33 0 .63-.14.85-.39l1.48-1.7 4.29 6.39c.21.31.56.5.93.5h.04c.39-.01.74-.23.94-.56l5.84-10.13 2.45 5.11c.19.39.58.64 1.01.64h4.01c-.12.23-.23.46-.37.67z"/></svg>',QQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25.13" cy="25" fill="#61ccff" r="24.22"/><path d="m38.01 36.27c0-7.43-5.72-13.45-12.77-13.45s-12.77 6.02-12.77 13.45c0 0 2.89 3.26 12.72 3.26s12.82-3.26 12.82-3.26z" fill="#187fb0"/><path d="m29.18 22.3c2.29-1.35 3.84-3.82 3.84-6.67 0-4.28-3.49-7.77-7.77-7.77s-7.77 3.49-7.77 7.77c0 2.84 1.55 5.31 3.83 6.66-5.76 1.78-9.98 7.37-9.98 13.97 0 .28.1.54.28.75.13.15 3.35 3.64 13.56 3.64s13.52-3.48 13.65-3.62c.19-.21.3-.48.3-.76 0-6.6-4.21-12.18-9.96-13.97zm-9.45-6.67c0-3.04 2.48-5.52 5.52-5.52s5.52 2.48 5.52 5.52-2.48 5.52-5.52 5.52-5.52-2.48-5.52-5.52zm5.45 22.77c-7.44 0-10.67-1.94-11.59-2.64.25-6.56 5.37-11.82 11.64-11.82s11.38 5.25 11.64 11.81c-.97.72-4.26 2.65-11.69 2.65z"/></svg>',KQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#29e3e2" r="24.22"/><path d="m17.69 33.25c.23.04 23.56-3.24 23.56-3.24l1.12-7.18-21.26-9.99" fill="#0eaeac"/><path d="m11.7 22.28c-.06 0-.11 0-.17-.01l-4.18-.65c-.6-.09-1.01-.66-.92-1.26s.66-1.02 1.26-.92l4.18.65c.6.09 1.01.66.92 1.26-.08.54-.55.93-1.09.93z"/>
197<path d="m13.12 17.75c-.21 0-.43-.06-.61-.19l-1.78-1.2c-.5-.34-.64-1.02-.3-1.53.34-.5 1.02-.64 1.53-.3l1.78 1.2c.5.34.64 1.02.3 1.53-.21.31-.56.48-.91.48z"/><path d="m9.75 27.6c-.48 0-.93-.32-1.06-.81-.16-.59.18-1.19.77-1.35l1.94-.53c.59-.16 1.19.19 1.35.77.16.59-.18 1.19-.77 1.35l-1.94.53c-.1.03-.2.04-.29.04z"/><ellipse cx="19.28" cy="23.01" fill="#29e3e2" rx="10.36" ry="3.21" transform="matrix(.15384817 -.9880945 .9880945 .15384817 -6.42 38.52)"/><path d="m42.83 21.83-21.26-9.99s-.02 0-.03 0c-.17-.07-.34-.13-.5-.15-.96-.16-2.42.29-3.87 3.25-.95 1.94-1.71 4.57-2.16 7.41-.85 5.46-.43 11.53 2.5 11.99.1.02.21.03.33.03.2 0 .42-.04.65-.11 1.09-.13 3.48-.45 8.9-1.2l.5 3.52c.04.29.19.55.43.73.19.14.42.22.66.22.05 0 .1 0 .15-.01l8.56-1.22c.6-.08 1.02-.64.93-1.24l-.5-3.49c1.04-.15 2.12-.3 3.27-.46.48-.07.86-.44.93-.92l1.12-7.18c.08-.48-.18-.96-.62-1.17zm-25.64.85c.92-5.93 2.91-8.74 3.49-8.83h.02c.56.29 1.59 3.57.67 9.48-.89 5.7-2.75 8.49-3.41 8.78-.06 0-.08 0-.13.01-.56-.36-1.55-3.61-.64-9.44zm12.73 12.49-.34-2.42c1.83-.26 3.94-.55 6.38-.89l.34 2.41-6.38.91zm10.37-6.15c-6.36.89-14.64 2.05-19.23 2.67.11-.2.22-.39.33-.62.95-1.94 1.71-4.57 2.16-7.41.44-2.84.51-5.58.2-7.71-.04-.27-.09-.5-.14-.73l17.55 8.25-.86 5.56z"/></svg>',YQ='<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 610.99 610.99"><defs><style>.cls-1{clip-path:url(#clippath);}.cls-2{fill:url(#linear-gradient);}.cls-2,.cls-3,.cls-4,.cls-5{stroke-width:0px;}.cls-6{clip-path:url(#clippath-1);}.cls-3{clip-rule:evenodd;fill:none;}.cls-4{filter:url(#drop-shadow-3);mix-blend-mode:soft-light;}.cls-7{isolation:isolate;}.cls-5{fill:#fff;}</style><linearGradient id="linear-gradient" x1="6.36" y1="305.34" x2="604.93" y2="305.34" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#57c9e0"/><stop offset="1" stop-color="#668eff"/></linearGradient><filter id="drop-shadow-3" filterUnits="userSpaceOnUse"><feOffset dx="0" dy="2.55"/><feGaussianBlur result="blur" stdDeviation="3.54"/><feFlood flood-color="#000" flood-opacity=".25"/><feComposite in2="blur" operator="in"/><feComposite in="SourceGraphic"/></filter><clipPath id="clippath"><path class="cls-3" d="m219.47,273.47h192.55l3.82-18.13c1.38-6.44,2.06-12.42,2.06-17.48,0-21.62-13.28-30.36-47.38-30.36h-135.82s-32.35-61.35-35.89-66.73c0,0-1.38-2.28-4.11-2.27-3.34.02-4.75,2.3-5.66,6.9l-39.21,184.91c-.92,4.6.91,6.9,5.49,6.9h43.92l11.97-56.84c.92-4.6,3.66-6.9,8.24-6.9"/></clipPath><clipPath id="clippath-1"><path class="cls-3" d="m455.95,273.47h-43.92l-11.97,56.84c-.92,4.6-3.66,6.9-8.24,6.9h-192.55l-3.82,18.13c-1.37,6.44-2.06,12.42-2.06,17.48,0,21.62,13.27,30.36,47.38,30.36h135.82s32.35,61.35,35.89,66.73c0,0,1.38,2.28,4.11,2.27,3.33-.02,4.75-2.3,5.66-6.9l39.21-184.91c.92-4.6-.92-6.9-5.49-6.9"/></clipPath></defs><g class="cls-7"><g id="Layer_1"><path class="cls-2" d="m333.31,6.32l23.44,11.29c8.63,4.16,18.09,6.32,27.67,6.32h26.02c19.41,0,37.76,8.84,49.86,24.01l16.22,20.34c5.97,7.49,13.56,13.54,22.19,17.7l23.44,11.29c17.49,8.42,30.19,24.35,34.51,43.27l5.79,25.37c2.13,9.34,6.34,18.08,12.32,25.57l16.22,20.34c12.1,15.17,16.63,35.03,12.32,53.96l-5.79,25.37c-2.13,9.34-2.13,19.04,0,28.38l5.79,25.37c4.32,18.92-.21,38.78-12.32,53.96l-16.22,20.34c-5.97,7.49-10.18,16.23-12.32,25.57l-5.79,25.37c-4.32,18.92-17.02,34.85-34.51,43.27l-23.44,11.29c-8.63,4.16-16.22,10.21-22.19,17.7l-16.22,20.34c-12.1,15.17-30.45,24.01-49.86,24.01h-26.02c-9.58,0-19.04,2.16-27.67,6.32l-23.44,11.29c-17.49,8.42-37.86,8.42-55.34,0l-23.44-11.29c-8.63-4.16-18.09-6.32-27.67-6.32h-26.02c-19.41,0-37.76-8.84-49.86-24.01l-16.22-20.34c-5.97-7.49-13.56-13.54-22.19-17.7l-23.44-11.29c-17.49-8.42-30.19-24.35-34.51-43.27l-5.79-25.37c-2.13-9.34-6.34-18.08-12.32-25.57l-16.22-20.34c-12.1-15.17-16.63-35.03-12.32-53.96l5.79-25.37c2.13-9.34,2.13-19.04,0-28.38l-5.79-25.37c-4.32-18.92.21-38.78,12.32-53.96l16.22-20.34c5.97-7.49,10.18-16.23,12.32-25.57l5.79-25.37c4.32-18.92,17.02-34.85,34.51-43.27l23.44-11.29c8.63-4.16,16.22-10.21,22.19-17.7l16.22-20.34c12.1-15.17,30.45-24.01,49.86-24.01h26.02c9.58,0,19.04-2.16,27.67-6.32l23.44-11.29c17.49-8.42,37.86-8.42,55.34,0Z"/>
197<circle class="cls-4" cx="305.64" cy="305.34" r="249.34"/><g class="cls-1"><rect class="cls-5" x="117.97" y="106.86" width="331.57" height="261.99"/></g><g class="cls-6"><rect class="cls-5" x="161.74" y="241.83" width="331.57" height="261.99"/></g></g></g></svg>',JQ='<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="#61ccff" r="24.22"/><path d="m25.39 27.29 2.42 4.9 5.4.79-3.91 3.81.92 5.38-4.83-2.54-4.84 2.54.93-5.38-3.91-3.81 5.4-.79z" fill="#187fb0"/><path d="m43.58 28.35c0-3.86-2.28-7.16-5.5-8.54 1.1-.94 1.82-2.32 1.82-3.88 0-2.83-2.3-5.12-5.12-5.12-1.14 0-2.2.41-3.08 1.07-1.36-2.28-3.82-3.83-6.66-3.83s-5.35 1.58-6.7 3.9c-.89-.72-2-1.15-3.19-1.15-2.83 0-5.12 2.3-5.12 5.12 0 1.56.72 2.94 1.82 3.88-3.22 1.37-5.5 4.68-5.5 8.54 0 .28.11.55.3.76.16.18 1.59 1.58 5.42 2.12-.6 1.63-.94 3.39-.94 5.23 0 .28.1.54.28.75.23.26 2.32 2.43 8.34 3.29l-.26 1.5c-.07.4.1.81.43 1.05.19.14.41.21.63.21.17 0 .34-.04.5-.12l4.34-2.28 4.33 2.28c.36.19.8.16 1.13-.08s.5-.65.43-1.05l-.28-1.62c5.43-.93 7.4-2.91 7.62-3.15.19-.21.3-.48.3-.76 0-1.85-.34-3.61-.95-5.24 3.75-.54 5.15-1.93 5.31-2.1.19-.21.3-.48.3-.76zm-8.8-15.29c1.58 0 2.87 1.29 2.87 2.87s-1.29 2.87-2.87 2.87c-.89 0-1.69-.42-2.23-1.09.15-.61.26-1.24.26-1.89 0-.6-.08-1.17-.21-1.73.54-.64 1.32-1.03 2.18-1.03zm-9.74-2.75c3.04 0 5.52 2.48 5.52 5.52s-2.48 5.52-5.52 5.52-5.52-2.48-5.52-5.52 2.48-5.52 5.52-5.52zm-9.88 2.75c.91 0 1.74.44 2.29 1.16-.11.52-.17 1.05-.17 1.6 0 .6.08 1.18.21 1.74-.53.76-1.38 1.24-2.33 1.24-1.58 0-2.87-1.29-2.87-2.87s1.29-2.87 2.87-2.87zm-6.53 14.76c.26-3.6 3.09-6.44 6.54-6.44 1.56 0 3.07.59 4.31 1.71h.01c-2.7 1.24-4.94 3.35-6.42 5.99-2.53-.25-3.89-.91-4.44-1.26zm17.27 10.86c-.31-.16-.69-.16-1 0l-2.91 1.53.56-3.24c.06-.35-.06-.7-.31-.95l-2.35-2.29 3.25-.47c.35-.05.65-.27.81-.59l1.45-2.95 1.45 2.95c.16.32.46.54.81.59l3.25.47-2.35 2.29c-.25.25-.37.6-.31.95l.56 3.24zm4.73-.53-.17-.98 3.51-3.42c.29-.29.4-.71.27-1.1s-.46-.67-.87-.73l-4.85-.7-2.17-4.39c-.18-.37-.56-.6-.96-.6s-.78.23-.96.6l-2.17 4.39-4.85.7c-.4.06-.74.34-.87.73s-.02.82.27 1.1l3.51 3.42-.19 1.1c-4.05-.58-6.06-1.79-6.75-2.31.25-6.56 5.37-11.82 11.64-11.82s11.38 5.25 11.64 11.81c-.67.5-2.49 1.59-6.04 2.2zm6.36-9.08c-1.5-2.66-3.77-4.78-6.49-6.01h.02c1.19-1.09 2.7-1.68 4.26-1.68 3.45 0 6.28 2.84 6.54 6.44-.56.36-1.88 1-4.33 1.25z"/></svg>',XQ='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="icon-background" d="m40.12 30.69-.03-.1c-.38-1.18-1.51-1.99-3.37-3.32-1.07-.77-2.41-1.72-3.75-2.87-.47-.44-1.22-2.67-1.77-4.31-2.04-6.06-5.73-17.02-17.18-15.09 0-.01 0-.03 0-.04l-1.19-3.57c-.35-1.05-1.49-1.61-2.53-1.27-1.05.35-1.61 1.48-1.27 2.53l1.14 3.41c-11.19 4.3-8.17 15.51-6.51 21.66.46 1.7 1.09 4.04.92 4.66-.49 1.44-1.01 2.71-1.46 3.84-1 2.47-1.6 3.96-1.2 5.32.36 1.18 1.34 2.87 4.03 2.87.69 0 1.5-.11 2.43-.37l27.35-7.7c5.08-1.45 4.63-4.69 4.38-5.65z"/><path d="m36.26 19.48c-.34 0-.69-.09-1-.27-.95-.56-1.28-1.78-.72-2.73.69-1.19.71-2.43.07-3.31-.46-.64-1.16-.93-1.86-.77-1.08.24-2.15-.45-2.38-1.53-.24-1.08.45-2.15 1.53-2.38 2.26-.49 4.54.39 5.95 2.32 1.59 2.18 1.65 5.12.16 7.68-.37.64-1.04 1-1.73 1z"/><path d="m23.72 48c-1.71 0-3.42-.75-4.74-2.15-.76-.8-.72-2.07.08-2.83s2.07-.72 2.83.08c.75.79 1.65 1.07 2.47.78.55-.2 1.16-.72 1.22-1.58.07-1.1 1.02-1.94 2.12-1.87s1.94 1.02 1.87 2.12c-.15 2.3-1.66 4.29-3.85 5.08-.65.23-1.32.35-1.99.35z"/><path d="m43.23 20.67c-.24 0-.48-.04-.72-.13-1.03-.4-1.54-1.56-1.15-2.59 1.28-3.32 1.1-6.66-.5-9.16-1.36-2.13-3.6-3.4-6.3-3.58-1.1-.07-1.94-1.02-1.87-2.13.07-1.1 1.04-1.93 2.13-1.86 3.95.26 7.38 2.23 9.41 5.41 2.29 3.58 2.6 8.23.86 12.75-.31.79-1.06 1.28-1.87 1.28z"/><path d="m40.12 30.69-.03-.1c-.38-1.18-1.51-1.99-3.37-3.32-1.07-.77-2.41-1.72-3.75-2.87-.47-.44-1.22-2.67-1.77-4.31-2.04-6.06-5.73-17.02-17.18-15.09 0-.01 0-.03 0-.04l-1.19-3.57c-.35-1.05-1.49-1.61-2.53-1.27-1.05.35-1.61 1.48-1.27 2.53l1.14 3.41c-11.19 4.3-8.17 15.51-6.51 21.66.46 1.7 1.09 4.04.92 4.66-.49 1.44-1.01 2.71-1.46 3.84-1 2.47-1.6 3.96-1.2 5.32.36 1.18 1.34 2.87 4.03 2.87.69 0 1.5-.11 2.43-.37l27.35-7.7c5.08-1.45 4.63-4.69 4.38-5.65zm-5.47 1.81-27.34 7.7c-.84.23-1.27.26-1.48.24.14-.57.61-1.74 1-2.71.45-1.12 1.01-2.5 1.54-4.05.58-1.7-.02-3.92-.85-7-2.24-8.28-3.26-14.82 5.39-17.33 8.81-2.55 11.78 3.93 14.49 12.02.97 2.88 1.67 4.97 2.96 6.07 1.48 1.27 2.89 2.28 4.03 3.09.61.44 1.34.96 1.75 1.31-.21.17-.67.43-1.49.66z"/></svg>',ZQ='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m2.35 46.75c-.46 0-.74-.15-1-.29-.72-.38-1.17-1.12-1.17-1.95v-32.14c-.01-4.58 3.73-8.32 8.31-8.32h31.01c4.59 0 8.32 3.73 8.32 8.32v19.79c0 4.59-3.73 8.32-8.32 8.32h-25.71c-7.56 5.18-10.19 6.26-11.45 6.26zm6.14-38.7c-2.38 0-4.32 1.94-4.32 4.32v29.46c2.04-1.14 5.19-3.15 7.86-4.99l.51-.35h26.96c2.38 0 4.32-1.94 4.32-4.32v-19.8c0-2.38-1.94-4.32-4.32-4.32z"/><path d="m35.64 20.24h-23.28c-1.1 0-2-.9-2-2s.9-2 2-2h23.28c1.1 0 2 .9 2 2s-.9 2-2 2z"/><path d="m27.77 29.3h-15.41c-1.1 0-2-.9-2-2s.9-2 2-2h15.41c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>',eK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
197<path d="m24.44 42.45-22.71-22.71c-1.56-1.56-1.56-4.09 0-5.66 1.56-1.56 4.09-1.56 5.66 0l17.05 17.05 16.27-16.27c1.56-1.56 4.09-1.56 5.66 0 1.56 1.56 1.56 4.09 0 5.66z"/></svg>',tK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m46.26 7.14c-.28-1.58-1.15-2.96-2.46-3.88-2.71-1.9-6.45-1.25-8.36 1.46l-18.16 25.85-4.57-5.62c-2.08-2.57-5.87-2.96-8.44-.87s-2.96 5.87-.87 8.44l9.58 11.78c1.14 1.41 2.84 2.21 4.65 2.21h.21c1.87-.07 3.63-1.02 4.7-2.55l22.72-32.34c.92-1.31 1.28-2.9 1-4.48zm-4.27 2.18-22.72 32.34c-.36.51-.94.83-1.57.85-.02 0-.05 0-.07 0-.6 0-1.17-.27-1.55-.74l-9.58-11.78c-.7-.86-.57-2.12.29-2.81.86-.7 2.12-.57 2.81.29l7.91 9.73 21.2-30.18c.64-.9 1.88-1.12 2.79-.49.9.63 1.12 1.88.49 2.79z"/></svg>',nK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m16.59 47.17c-1.21 0-2.37-.55-3.13-1.5l-12.35-15.47c-1.38-1.73-1.1-4.24.63-5.62s4.24-1.09 5.62.63l9.05 11.34 24.42-33.98c1.29-1.79 3.79-2.2 5.58-.91s2.2 3.79.91 5.58l-27.5 38.27c-.73 1.02-1.9 1.63-3.15 1.66-.03 0-.07 0-.1 0z"/></svg>',rK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m41.59 4.97h-4.98c-.28-.77-1.01-1.33-1.88-1.33h-5.49c-.75-2.16-2.8-3.7-5.2-3.7s-4.45 1.55-5.21 3.7h-5.49c-.87 0-1.6.56-1.88 1.33h-5.03c-1.1 0-2 .9-2 2v37.36c0 1.1.9 2 2 2h35.17c1.1 0 2-.9 2-2v-37.36c0-1.1-.9-2-2-2zm-26.25 2.67h4.9c.45 0 .86-.15 1.19-.4.64-.33 1.08-.99 1.08-1.76 0-.84.69-1.53 1.53-1.53s1.53.69 1.53 1.53c0 .28.06.55.16.79.26.8 1.01 1.38 1.89 1.38h5.11v2.77h-17.39v-2.77zm24.25 34.7h-31.16v-33.37h2.91v3.44c0 1.1.9 2 2 2h21.4c1.1 0 2-.9 2-2v-3.44h2.86v33.36z"/><path d="m32.34 21h-16.68c-1.1 0-2 .9-2 2s.9 2 2 2h16.68c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m32.34 29.97h-16.68c-1.1 0-2 .9-2 2s.9 2 2 2h16.68c1.1 0 2-.9 2-2s-.9-2-2-2z"/></svg>',iK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m23.88 47.07c-12.68 0-22.99-10.31-22.99-22.99s10.31-23 22.99-23 23 10.32 23 23-10.32 23-23 23zm0-41.99c-10.47 0-18.99 8.52-18.99 19s8.52 19 19 19 19-8.52 19-19-8.53-19-19.01-19z"/><path d="m33.6 28.51h-14.15v-14.15c0-1.1.9-2 2-2s2 .9 2 2v10.15h10.15c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>',sK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m43.63 36.24c-3.2-3.75-7.3-4.51-10.22-4.48 1.25-3.52 2.48-9.44-.84-14.24-3.25-4.7-8.97-5.69-12.67-5.79.8-2.45 1.28-6.08-.48-10.29-.43-1.02-1.6-1.5-2.62-1.07s-1.5 1.6-1.07 2.62c1.79 4.28.44 7.7-.27 9.05l-.02.03c-1.69.29-6 .61-9.03-2.93-.72-.84-1.98-.94-2.82-.22s-.94 1.98-.22 2.82c3.14 3.67 7.15 4.48 10.05 4.49-1.24 3.46-2.27 8.97 1.06 13.79 3.39 4.91 9.04 5.91 12.7 6-.85 2.45-1.42 6.18.4 10.52.32.77 1.06 1.23 1.85 1.23.26 0 .52-.05.77-.16 1.02-.43 1.5-1.6 1.07-2.62-1.81-4.31-.42-7.75.29-9.08 1.69-.3 6-.62 9.03 2.93.72.84 1.98.94 2.82.22s.94-1.98.22-2.82zm-25.86-8.49c-2.98-4.31-.83-9.88.18-11.99 2.38-.15 8.49-.07 11.33 4.03 2.84 4.11.73 9.95-.26 12.18-2.35.16-8.27.08-11.25-4.23z"/><path d="m10.41 9.83c.37 0 .74-.1 1.07-.31l2.69-1.72c.93-.6 1.2-1.83.61-2.76-.6-.93-1.83-1.2-2.76-.61l-2.69 1.72c-.93.6-1.2 1.83-.61 2.76.38.6 1.03.92 1.69.92z"/><path d="m25.62 21.56c.93-.59 1.2-1.83.61-2.76s-1.83-1.2-2.76-.61l-5.13 3.28c-.93.59-1.2 1.83-.61 2.76.38.6 1.03.92 1.69.92.37 0 .74-.1 1.08-.32l5.13-3.28z"/><path d="m29.22 23.49c-.59-.93-1.83-1.2-2.76-.61l-5.15 3.29c-.93.59-1.2 1.83-.61 2.76.38.6 1.03.92 1.69.92.37 0 .74-.1 1.08-.32l5.15-3.29c.93-.59 1.2-1.83.61-2.76z"/><path d="m35.51 38.11-2.69 1.72c-.93.6-1.2 1.83-.61 2.76.38.6 1.03.92 1.69.92.37 0 .74-.1 1.07-.31l2.69-1.72c.93-.6 1.2-1.83.61-2.76s-1.83-1.2-2.76-.61z"/></svg>',oK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m10.65 23.74c0 2.95-2.39 5.33-5.33 5.33s-5.32-2.39-5.32-5.33 2.39-5.33 5.33-5.33 5.33 2.39 5.33 5.33zm13.33-5.33c-2.95 0-5.33 2.39-5.33 5.33s2.39 5.33 5.33 5.33 5.33-2.39 5.33-5.33c.01-2.95-2.39-5.33-5.33-5.33zm18.68 0c-2.95 0-5.33 2.39-5.33 5.33s2.39 5.33 5.33 5.33 5.33-2.39 5.33-5.33-2.39-5.33-5.33-5.33z"/></svg>',aK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="icon-background" d="m39.47 42.34h-31.01c-4.59 0-8.32-3.73-8.32-8.32v-21.79c0-4.59 3.73-8.32 8.32-8.32h31.01c4.59 0 8.32 3.73 8.32 8.32v21.79c0 4.59-3.73 8.32-8.32 8.32z"/>
197<path d="m39.47 3.91h-31.01c-4.59 0-8.32 3.73-8.32 8.32v21.79c0 4.59 3.73 8.32 8.32 8.32h31.01c4.59 0 8.32-3.73 8.32-8.32v-21.79c0-4.59-3.73-8.32-8.32-8.32zm-7.07 19.54 11.39-11.19v21zm7.07-15.54c.86 0 1.66.26 2.33.69l-17.82 17.51-17.88-17.49c.68-.44 1.49-.71 2.36-.71zm-35.33 25.87v-21.48l11.6 11.35-11.6 10.14zm4.32 4.56c-.94 0-1.81-.31-2.52-.82l12.66-11.07 3.98 3.89c.39.38.89.57 1.4.57s1.01-.19 1.4-.57l4.15-4.08 12.77 11c-.76.67-1.74 1.09-2.83 1.09h-31.01z"/></svg>',cK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m7.73 26h26.9c1.1 0 2-.9 2-2s-.9-2-2-2h-26.97l2.68-2.69c.78-.78.78-2.05 0-2.83s-2.05-.77-2.83 0l-6.04 6.07c-.78.78-.78 2.04 0 2.82l6.1 6.14c.39.39.9.59 1.42.59s1.02-.19 1.41-.58c.78-.78.79-2.05 0-2.83l-2.68-2.69z"/><path d="m43.84 2.46h-28.08c-1.1 0-2 .9-2 2v10.54c0 1.1.9 2 2 2s2-.9 2-2v-8.54h24.08v35.07h-24.08v-8.18c0-1.1-.9-2-2-2s-2 .9-2 2v10.18c0 1.1.9 2 2 2h28.08c1.1 0 2-.9 2-2v-39.07c0-1.1-.9-2-2-2z"/></svg>',lK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m26.38671875 47.53808594h-.00097656l-9.80175781-.0078125c-.96582031-.00097656-1.74853516-.78417969-1.74853516-1.75v-16.20898438h-3.8203125c-.96630859 0-1.75-.78320313-1.75-1.75v-8.24853516c0-.96630859.78369141-1.75 1.75-1.75h3.8203125v-1.80566406c0-10.23388671 4.88623047-15.20849609 14.93798828-15.20849609 1.890625 0 4.97265625.359375 6.34179688.73925781.7578125.20996094 1.28222656.89990234 1.28222656 1.68603516v7.48339844c0 .49609375-.2109375.96923828-.57910156 1.30078125-.37011719.33203125-.86425781.49023438-1.35546875.43945313-.32421875-.03417969-1.13574219-.09179688-2.93261719-.09179688-3.49023438 0-4.39355469.8828125-4.39355469 4.29296875v1.1640625h7.07226563c.51953125 0 1.01269531.23095703 1.34472656.63037109.33300781.39941406.47070313.92578125.37597656 1.43652344l-1.51953125 8.24902344c-.15234375.83007813-.87695313 1.43261719-1.72070313 1.43261719h-5.55273438v16.21679688c0 .46484375-.18457031.91015625-.51269531 1.23828125-.328125.32714844-.7734375.51171875-1.23730469.51171875zm-8.05126953-3.50683594 6.30126953.00585938v-16.21582031c0-.96679688.78320313-1.75 1.75-1.75h5.84570313l.875-4.74853516h-6.72070313c-.96679688 0-1.75-.78369141-1.75-1.75v-2.9140625c0-5.31689453 2.5078125-7.79296875 7.89355469-7.79296875.49902344 0 .95507813.00439453 1.3671875.01269531v-4.21142578c-1.29003906-.19921875-3.01660156-.35839844-4.12402344-.35839844-8.01708984 0-11.43798828 3.50146484-11.43798828 11.70849609v3.55566406c0 .96630859-.78369141 1.75-1.75 1.75h-3.8203125v4.74853516h3.8203125c.96630859 0 1.75.78320313 1.75 1.75z"/></svg>',uK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m48 24.09c0-13.26-10.75-24-24-24s-24 10.74-24 24c0 11.26 7.75 20.7 18.2 23.29v-15.96h-4.95v-7.33h4.95v-3.16c0-8.17 3.7-11.96 11.72-11.96 1.52 0 4.14.3 5.22.6v6.65c-.57-.06-1.55-.09-2.77-.09-3.94 0-5.46 1.49-5.46 5.37v2.59h7.84l-1.35 7.33h-6.49v16.49c11.88-1.44 21.09-11.55 21.09-23.82z"/></svg>',fK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="icon-background" d="m5.22 47.99c-1.1 0-2-.9-2-2v-41.29c0-.53.21-1.04.59-1.41.38-.38.88-.59 1.41-.59l37.55.02c.77 0 1.47.44 1.8 1.13s.24 1.52-.24 2.12l-10.53 13.13 10.52 13.03c.48.6.58 1.42.25 2.12-.33.69-1.03 1.14-1.8 1.14l-35.55-.02v10.62c0 1.1-.9 2-2 2z"/><path d="m5.22 47.99c-1.1 0-2-.9-2-2v-41.29c0-.53.21-1.04.59-1.41.38-.38.88-.59 1.41-.59l37.55.02c.77 0 1.47.44 1.8 1.13s.24 1.52-.24 2.12l-10.53 13.13 10.52 13.03c.48.6.58 1.42.25 2.12-.33.69-1.03 1.14-1.8 1.14l-35.55-.02v10.62c0 1.1-.9 2-2 2zm2-16.62 31.37.02-8.9-11.03c-.59-.73-.59-1.77 0-2.51l8.93-11.14-31.39-.02v24.67h-.01z"/></svg>',dK='<svg enable-background="new 0 0 48 48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m47.64 29.18-2.48-14.77c-.2-1.17-1.31-1.96-2.48-1.76l-21.98 3.69c-.57.1-1.06.41-1.39.87-.33.47-.46 1.04-.37 1.6l2.48 14.77c.1.57.41 1.06.87 1.39.37.26.8.4 1.24.4.12 0 .24-.01.36-.03l21.97-3.69c.57-.1 1.06-.41 1.39-.87.36-.46.49-1.03.39-1.6zm-1.53-.41-8.61-5.19 6.31-8.52zm-3.41-14.66-9.01 12.19-12.4-8.59zm-22.27 4.77 8.89 6.16-6.54 7.83zm3.38 15.02 6.7-8.03 2.92 2.02c.13.09.27.13.41.13.22 0 .44-.1.58-.29l2.2-2.97 9.05 5.45c-.02 0-.03.01-.04.02zm-8.69-14.01h-1.81c-.4 0-.72-.32-.72-.72s.32-.72.72-.72h1.81c.4 0 .72.32.72.72.01.39-.32.72-.72.72zm-5.02 0h-4.2c-.4 0-.72-.32-.72-.72s.32-.72.72-.72h4.2c.4 0 .72.32.72.72.01.39-.32.72-.72.72zm4.14 5.6h-13.19c-.4 0-.72-.32-.72-.72s.32-.72.72-.72h13.19c.4 0 .72.32.72.72s-.32.72-.72.72zm2.91 5.1h-7.61c-.4 0-.72-.32-.72-.72s.32-.72.72-.72h7.61c.4 0 .72.32.72.72s-.32.72-.72.72zm-10.
19766 0h-2.9c-.4 0-.72-.32-.72-.72s.32-.72.72-.72h2.9c.4 0 .72.32.72.72s-.32.72-.72.72z"/></svg>',hK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m45.75 34.3h-3.02v-3.02c0-1.1-.9-2-2-2s-2 .9-2 2v3.02h-3.02c-1.1 0-2 .9-2 2s.9 2 2 2h3.02v3.02c0 1.1.9 2 2 2s2-.9 2-2v-3.02h3.02c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m34.88 30.29c.57-.94.27-2.17-.67-2.75-1.13-.69-2.34-1.25-3.61-1.7 3.09-2.37 5.09-6.09 5.09-10.28 0-7.15-5.82-12.97-12.97-12.97s-12.97 5.82-12.97 12.97c0 4.18 1.99 7.89 5.07 10.26-8.73 3.06-12.71 10.8-14.17 14.58-.4 1.03.11 2.19 1.15 2.59.24.09.48.13.72.13.8 0 1.56-.49 1.87-1.28 1.92-4.97 6.86-13.32 18.34-13.32 3.6 0 6.77.82 9.42 2.42.94.57 2.17.27 2.75-.67zm-21.14-14.73c0-4.95 4.03-8.97 8.97-8.97s8.97 4.03 8.97 8.97-4.03 8.97-8.97 8.97-8.97-4.03-8.97-8.97z"/></svg>',pK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m25.4 47.98h-2.74c-2.61 0-4.74-2.12-4.76-4.73v-1.82c-.64-.22-1.26-.48-1.87-.77l-1.28 1.29c-.88.89-2.1 1.4-3.36 1.4s-2.49-.51-3.37-1.41l-1.93-1.92c-1.85-1.86-1.85-4.88-.01-6.73l1.29-1.32c-.29-.6-.55-1.21-.77-1.83h-1.82c-2.62.01-4.75-2.12-4.75-4.75v-2.74c0-2.62 2.13-4.76 4.76-4.76h1.81c.22-.64.48-1.26.78-1.87l-1.28-1.28c-1.84-1.85-1.84-4.86 0-6.71l1.88-1.93c1.87-1.86 4.88-1.86 6.73-.03l1.33 1.3c.61-.3 1.25-.56 1.89-.79v-1.81c-.02-2.62 2.11-4.75 4.73-4.75h2.68c2.62 0 4.76 2.13 4.76 4.76v1.81c.64.23 1.27.49 1.88.78l1.33-1.3c1.84-1.83 4.86-1.83 6.71 0l1.93 1.88c.9.9 1.41 2.12 1.41 3.37s-.51 2.48-1.4 3.36l-1.3 1.32c.3.62.57 1.25.8 1.89h1.81s.02 0 .03 0c2.58.04 4.68 2.17 4.68 4.76v2.68c0 2.61-2.12 4.74-4.73 4.76h-1.82c-.23.64-.49 1.27-.78 1.89l1.27 1.3c.87.86 1.38 2.09 1.38 3.35s-.51 2.49-1.41 3.37l-1.93 1.93c-.88.89-2.11 1.4-3.36 1.4s-2.49-.51-3.37-1.41l-1.26-1.26c-.59.29-1.2.55-1.82.78v1.8c-.01 2.62-2.15 4.74-4.76 4.74zm-9.74-11.79c.35 0 .7.09 1.02.28 1.16.69 2.41 1.21 3.72 1.54.88.23 1.5 1.02 1.5 1.94v3.28c0 .4.34.74.76.74h2.74c.42 0 .75-.34.76-.75v-3.25c0-.9.6-1.69 1.46-1.93 1.3-.36 2.54-.89 3.69-1.58.79-.47 1.79-.34 2.44.3l2.32 2.32c.29.3.79.29 1.06 0l1.94-1.94c.15-.15.23-.34.23-.54s-.08-.39-.22-.53l-2.31-2.37c-.63-.65-.75-1.63-.29-2.41.69-1.16 1.21-2.42 1.55-3.73.23-.88 1.03-1.5 1.94-1.5h3.28c.4 0 .74-.34.74-.76v-2.68c0-.41-.33-.74-.73-.76h-3.26c-.91 0-1.7-.61-1.93-1.49-.35-1.31-.87-2.56-1.57-3.72-.47-.78-.35-1.78.29-2.43l2.35-2.39c.15-.15.23-.35.23-.54s-.08-.39-.22-.53l-1.92-1.88c-.31-.31-.8-.31-1.1 0l-2.38 2.34c-.65.63-1.64.76-2.42.3-1.17-.69-2.42-1.21-3.73-1.55-.88-.23-1.5-1.02-1.5-1.94v-3.28c0-.42-.34-.76-.76-.76h-2.68c-.42 0-.76.34-.76.76v3.28c0 .91-.62 1.71-1.5 1.94-1.31.34-2.56.86-3.72 1.54-.78.46-1.77.34-2.42-.29l-2.39-2.33c-.31-.3-.79-.3-1.08-.01l-1.87 1.92c-.31.31-.31.79-.02 1.08l2.33 2.33c.65.65.77 1.65.31 2.43-.69 1.16-1.21 2.41-1.54 3.72-.23.88-1.02 1.5-1.94 1.5h-3.28c-.42 0-.76.34-.76.76v2.74c0 .42.34.76.76.76h3.28c.91 0 1.7.61 1.93 1.48.35 1.29.87 2.53 1.55 3.68.46.78.34 1.77-.29 2.42l-2.33 2.38c-.3.31-.3.79 0 1.09l1.94 1.92c.3.31.78.29 1.05.02l2.34-2.35c.39-.39.9-.59 1.42-.59z"/><path d="m24.01 33.33c-5.14 0-9.33-4.18-9.33-9.33s4.18-9.33 9.33-9.33 9.33 4.18 9.33 9.33-4.18 9.33-9.33 9.33zm0-14.65c-2.94 0-5.33 2.39-5.33 5.33s2.39 5.33 5.33 5.33 5.33-2.39 5.33-5.33-2.39-5.33-5.33-5.33z"/></svg>',mK='<svg viewBox="0 0 19 19" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M18.132 9.491c0-.638-.057-1.252-.164-1.84H9.492v3.48h4.844a4.14 4.14 0 01-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z" fill="#4285f4"/><path d="M9.492 18.287c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H1.449v2.331a8.997 8.997 0 008.043 4.959z" fill="#34a853"/><path d="M4.456 10.997c-.18-.54-.282-1.117-.282-1.71s.102-1.17.282-1.71V5.245H1.449a8.996 8.996 0 00-.957 4.042c0 1.452.348 2.826.957 4.041z" fill="#fbbc05"/><path d="M9.492 3.866c1.321 0 2.508.454 3.44 1.346l2.582-2.581C13.955 1.178 11.918.287 9.492.287a8.997 8.997 0 00-8.043 4.958l3.007 2.332c.708-2.128 2.692-3.71 5.036-3.71z" fill="#ea4335"/></g></svg>',gK='<svg height="200" viewBox="0 0 852 200" width="852" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#14086d" height="199.858156" rx="99.929077" width="851.631206"/><g fill="#fff" fill-rule="nonzero" transform="translate(66.3472 60.8993)"><path d="m0 69.1405879v-67.69008606h17.7928226v24.48930616h24.6585313v-24.48930616h17.7928226v67.69008606h-17.7928226v-26.9793343h-24.6585313v26.9793343z"/><path d="m107.143736 70.5910897c-7.022846 0-13.2197125-1.4253195-18.5905985-4.2759586-5.370886-2.850639-9.5662611-6.8999566-12.5861253-12.1479529-3.0198643-5.2479963-4.5297964-11.4579573-4.5297964-18.629883 0-5.2338942.8813813-10.0215576 2.644144-14.3629902 1.7627626-4.3414326 4.2548054-8.0925915 7.4761282-11.25347677s7.0268756-5.60457795 11.4166583-7.33107806c4.3897826-1.72650011 9.1975917-2.58975017 14.4234277-2.58975017 5.826182 0 10.662196.73532385 14.50804 2.20597155 3.845845 1.4706477 7.366334 3.55171493 10.561467 6.24320169l-8.787624 14.61380606c-1.817156-1.9138566-4.008018-3.3472345-6.572586-4.3001336s-5.4142-1.4293487-8.548896-1.4293487c-2.945324 0-5.559249.4180266-7.841775 1.2540797-2.282526.8360532-4.211492 2.0367464-5.7868981 3.6020796-1.5754062 1.5653333-2.7740848 3.4519929-3.5960358 5.6599791-.8219511 2.2079861-1.2329266 4.6859268-1.2329266 7.4338219 0 3.7551881.7453968 6.9694599 2.2361903 9.6428154 1.4907936 2.6733555 3.6302838 4.7282331 6.4184707 6.1646328 2.7881865 1.4363998 6.1404575 2.1545997 10.0568125 2.1545997 2.896975 0 5.804022-.45026 8.721143-1.3507799 2.91712-.9005199 5.699263-2.327854 8.346429-4.2820023l8.12281 14.9039064c-3.078287 2.369153-6.826424 4.3071847-11.244411 5.8140949-4.417987 1.5069103-9.622669 2.2603654-15.614048 2.2603654z"/><path d="m143.206838 69.1405879v-67.69008606h28.030948c5.113019 0 9.6629
19762.9005199 13.649827 2.70155969 3.986866 1.80103978 7.124583 4.4119431 9.413153 7.83270997 2.288569 3.4207668 3.432854 7.540595 3.432854 12.3594844 0 4.8632104-1.057658 8.995126-3.172973 12.395747s-5.1795 5.9964149-9.192555 7.7873818-8.868207 2.6864503-14.565456 2.6864503h-9.802975v21.9267529zm17.792823-36.7097842h9.210687c3.042024 0 5.424272-.5902737 7.146743-1.770821s2.583706-3.1931186 2.583706-6.0377139c0-2.9130912-.892461-4.9689761-2.677384-6.1676547s-4.103712-1.7980179-6.956365-1.7980179h-9.307387z"/><path d="m239.471811 70.5910897c-7.00673 0-13.13913-1.4535237-18.397199-4.3605712-5.258069-2.9070474-9.344657-7.0047151-12.259762-12.2930031-2.915106-5.288288-4.372659-11.4861615-4.372659-18.5936205 0-5.1533107.861235-9.8805365 2.583706-14.1816774s4.158106-8.0361831 7.306903-11.20512672c3.148798-3.16894361 6.865709-5.62069465 11.150733-7.3552531 4.285025-1.73455845 8.984046-2.60183768 14.097065-2.60183768 5.149282 0 9.602524.64668207 13.359727 1.94004622 3.757202 1.29336414 7.048028 3.12462272 9.872478 5.49377573l-5.64487 8.86014875c-2.123374-1.9622067-4.600307-3.4237887-7.4308-4.3847462s-5.958138-1.4414362-9.382934-1.4414362c-3.767275 0-7.166889.5751643-10.198841 1.7254928-3.031952 1.1503286-5.617673 2.802289-7.757163 4.9558813s-3.781378 4.7534154-4.925662 7.7994693c-1.144285 3.0460539-1.716428 6.4748791-1.716428 10.2864756 0 5.2379233 1.019381 9.7052675 3.058142 13.4020326s4.935735 6.5252437 8.690923 8.4854358 8.203394 2.9402881 13.344617 2.9402881c3.396592 0 6.682382-.5106975 9.857369-1.5320926 3.174987-1.021395 6.158589-2.6783919 8.950805-4.9709906l5.028407 9.1502491c-3.271688 2.5625532-6.991621 4.5167016-11.159799 5.8624449-4.168178 1.3457434-8.853098 2.0186151-14.054758 2.0186151z"/><path d="m296.496931 70.5910897c-5.025889 0-9.492981-1.1533504-13.401278-3.4600513-3.908296-2.3067008-6.977518-5.3843585-9.207664-9.232973-2.230147-3.8486146-3.34522-8.0788672-3.34522-12.690758 0-3.4006209.639631-6.6310094 1.918893-9.6911654s3.083324-5.7657448 5.412185-8.1167666c2.328861-2.3510217 5.072727-4.2014188 8.231598-5.5511914 3.15887-1.3497725 6.624714-2.0246588 10.397529-2.0246588 5.018838 0 9.482404 1.1533504 13.390701 3.4600513 3.908297 2.3067008 6.977518 5.3843585 9.207665 9.232973 2.230146 3.8486145 3.34522 8.0788672 3.34522 12.6907579 0 3.400621-.639631 6.6310095-1.918893 9.6911655s-3.078288 5.7657448-5.397076 8.1167665c-2.318788 2.3510218-5.059632 4.2014189-8.222532 5.5511915-3.1629 1.3497725-6.633276 2.0246588-10.411128 2.0246588zm-.002267-9.428262c2.953383 0 5.58141-.6527258 7.884082-1.9581775 2.302672-1.3054516 4.112777-3.1501828 5.430316-5.5341933 1.31754-2.3840106 1.976309-5.2050604 1.976309-8.4631495 0-3.2636291-.65537-6.0913522-1.96611-8.4831693s-3.117823-4.2351632-5.42125-5.5300383c-2.303428-1.2948751-4.937876-1.9423126-7.903347-1.9423126-2.96547 0-5.599919.6474375-7.903346 1.9423126s-4.110511 3.1382212-5.421251 5.5300383-1.96611 5.2195402-1.96611 8.4831693c0 3.2636292.65877 6.086064 1.976309 8.4673046 1.317539 2.3812405 3.127645 4.2245866 5.430316 5.5300382 2.302672 1.3054517 4.930699 1.9581775 7.884082 1.9581775z"/><path d="m333.119836 69.1405879v-47.8665609h10.637013v6.0921078c1.982353-2.6592534 4.300134-4.5811683 6.953343-5.76
19757449 2.65321-1.1845765 5.400098-1.7768647 8.240664-1.7768647 4.371651 0 7.990855.8743303 10.857611 2.6229908 2.866755 1.7486606 5.003224 3.9858582 6.409405 6.7115929s2.109271 5.5451477 2.109271 8.4582389v31.5242401h-10.637013v-28.2122609c0-3.4207668-1.028446-6.1616109-3.085339-8.2225323-2.056892-2.0609214-4.904509-3.0913821-8.542851-3.0913821-2.361095 0-4.469359.5258069-6.324792 1.5774208-1.855434 1.0516138-3.316009 2.5262907-4.381725 4.4240306s-1.598574 4.091624-1.598574 6.5816521v26.9430718z"/><path d="m392.650849 69.1405879v-47.8665609h10.637013v6.0921078c1.982353-2.6592534 4.300134-4.5811683 6.953344-5.7657449 2.653209-1.1845765 5.400097-1.7768647 8.240663-1.7768647 4.371652 0 7.990855.8743303 10.857611 2.6229908 2.866756 1.7486606 5.003224 3.9858582 6.409405 6.7115929s2.109271 5.5451477 2.109271 8.4582389v31.5242401h-10.637013v-28.2122609c0-3.4207668-1.028446-6.1616109-3.085338-8.2225323-2.056893-2.0609214-4.90451-3.0913821-8.542852-3.0913821-2.361095 0-4.469359.5258069-6.324792 1.5774208-1.855434 1.0516138-3.316009 2.5262907-4.381725 4.4240306s-1.598574 4.091624-1.598574 6.5816521v26.9430718z"/><path d="m474.011915 70.5910897c-5.137194 0-9.65591-1.0566503-13.556149-3.1699509-3.900238-2.1133006-6.94327-5.0676908-9.129096-8.8631706-2.185825-3.7954799-3.278738-8.2174959-3.278738-13.2660482 0-3.6786338.629558-7.0722037 1.888674-10.1807098 1.259116-3.108506 3.031952-5.8040219 5.318507-8.0865477 2.286555-2.2825259 4.968976-4.0533469 8.047263-5.312463 3.078287-1.2591162 6.442646-1.8886743 10.093076-1.8886743 3.952617 0 7.478142.7000686 10.576575 2.1002058 3.098434 1.4001372 5.672067 3.3563001 7.720901 5.8684887s3.502357 5.453484 4.360571 8.8238862 1.001249 7.0319121.429107 10.9845296h-38.196549c-.072525 2.8526536.548975 5.3477182 1.8645 7.4851939 1.315524 2.1374756 3.208228 3.8055527 5.67811 5.0042313s5.387003 1.7980179 8.751361 1.7980179c2.699545 0 5.315485-.4099682 7.847819-1.2299047 2.532335-.8199364 4.831985-2.0337244 6.89895-3.641364l4.067449 7.6272222c-1.543173 1.2490433-3.406665 2.320803-5.590476 3.2152791-2.183811.8944762-4.469359 1.5733916-6.856643 2.0367464-2.387285.4633547-4.699022.6950321-6.935212.6950321zm-15.133569-30.8473392h27.160647c-.120876-3.6141671-1.285306-6.4476822-3.493292-8.5005452-2.207987-2.052863-5.330595-3.0792945-9.367825-3.0792945-3.960676 0-7.23337 1.0264315-9.818084 3.0792945s-4.078529 4.8863781-4.481446 8.5005452z"/><path d="m529.952936 70.5910897c-5.048552 0-9.536042-1.1050004-13.46247-3.3150011s-7.011767-5.2258358-9.256015-9.0475052c-2.244249-3.8216695-3.366373-8.1620948-3.366373-13.021276 0-3.6705755.664813-7.0470214 1.99444-10.1293378 1.329626-3.0823164 3.204199-5.7667521 5.623716-8.0533071 2.419518-2.286555 5.259077-4.0583833 8.518677-5.3154849s6.8093-1.8856524 10.649101-1.8856524c3.243483 0 6.243201.4280995 8.999155 1.2842985 2.755953.856199 5.292317 2.1687017 7.609091 3.9375081l-5.137194 8.1107228c-1.482735-1.3054516-3.186068-2.2825258-5.109997-2.9312224-1.92393-.6486967-3.95564-.973045-6.09513-.973045-3.348242 0-6.237158.6265362-8.666748 1.8796086-2.429591 1.2530724-4.306178 3.0651924-5.629761 5.43636s-1.985374 5.2308723-1.985374 8.5791141c0 5.0042313 1.456546 8.9246155 4.369637 11.7611524s6.875781 4.2548054 11.888071 4.2548054c2.405416 0 4.665781-.4391797 6.781096-1.3175392 2.115315-.8783594 3.896209-2.0468192 5.342682-3.5053794l5.052581 8.0744602c-2.558524 1.9178858-5.396068 3.4268107-8.512632 4.5267745-3.116565 1.0999639-6.318749 1.6499459-9.606553 1.6499459z"/><path d="m577.970591 70.5910897c-4.685927 0-8.42802-1.3507798-11.22628-4.0523395s-4.19739-6.8385118-4.19739-12.4108564v-46.82703452h10.637014v13.97316772h13.284179v8.7997112h-13.284179v21.7212651c0 3.3563001.633587 5.7163875 1.900761 7.0802621 1.267175 1.3638747 3.065193 2.045812 5.394054 2.045812 1.116081 0 2.172731-.1259116 3.169951-.3777348.99722-.2518233 1.900762-.5892664 2.710625-1.0123295l1.885653 8.5821359c-1.377977.7212218-2.959427 1.3145173-4.74435 1.7798867-1.784923.4653693-3.628269.698054-5.530038.698054zm-25.951896-40.5173515v-8.7997112h11.894115v8.7997112z"/></g><path d="m738.301661 35.6028369v114.0467891c-20.464354-1.048533-37.546858-7.901893-51.247514-20.560079-9.713994-8.974865-16.983225-21.660007-16.983225-36.2446394 0-19.3360383 9.419211-30.3817821 21.704871-40.359326 11.390505-9.2505631 26.899128-14.8781446 46.525868-16.8827447z" fill="#00cfcd"/><path d="m792.301661 49.6028369v114.0467891c-20.464354-1.048533-37.546858-7.901893-51.247514-20.560079-9.713994-8.974865-16.983225-21.660007-16.983225-36.244639 0-19.3360387 9.419211-30.3817825 21.704871-40.3593264 11.390505-9.2505631 26.899128-14.8781446 46.525868-16.8827447z" fill="#009bff" transform="matrix(-1 0 -0 -1 1516.3726 213.2524)"/><path d="m724.070922 49.6028369c4.940835.2531537 9.684537.8446791 14.231107 1.7745761l-.000368 98.272213c-4.940835-.253154-9.684538-.844679-14.231107-1.774576z" fill="#0601f7"/></g></svg>',_K='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24 47.39c-12.68 0-23-10.32-23-23s10.32-22.99 23-22.99 23 10.32 23 23-10.32 23-23 23zm0-41.99c-10.47 0-19 8.52-19 18.99s8.52 19 19 19 19-8.52 19-19-8.53-18.99-19-18.99z"/><path d="m24 35.82c-1.17 0-2.11-.95-2.11-2.11v-11.49c0-1.17.95-2.11 2.11-2.11s2.11.95 2.11 2.11v11.49c0 1.17-.95 2.11-2.11 2.11z"/><circle cx="24" cy="15.08" r="2.12"/></svg>',yK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m48 23.95c-.01-6.52-.04-7.33-.16-9.89s-.53-4.3-1.13-5.82c-.62-1.58-1.44-2.91-2.78-4.25-1.34-1.33-2.68-2.15-4.26-2.76-1.53-.59-3.27-.99-5.83-1.1-2.55-.11-3.37-.13-9.89-.13-6.52.01-7.33.04-9.89.17-2.55.12-4.3.53-5.82 1.13-1.58.61-2.92 1.44-4.25 2.78s-2.15 2.67-2.76 4.25c-.59 1.53-.99 3.27-1.1 5.83s-.13 3.37-.13 9.89.04 7.33.17 9.89c.12 2.55.53 4.3 1.13 5.82.62 1.58 1.44 2.91 2.78 4.25s2.67 2.15 4.26 2.76c1.53.59 3.27.99 5.83 1.1 2.55.11 3.38.14 9.89.13 6.52-.01 7.34-.04 9.9-.16s4.29-.53 5.82-1.13c1.58-.62 2.92-1.44 4.25-2.78s2.15-2.68 2.76-4.26c.59-1.53.99-3.27 1.1-5.82.11-2.56.14-3.38.13-9.9zm-4.45 9.71c-.1 2.34-.49 3.61-.82 4.46-.43 1.12-.95 1.92-1.79 2.76s-1.64 1.36-2.76 1.8c-.84.33-2.12.72-4.45.83-2.53.12-3.29.14-9.7.16s-7.17-.01-9.7-.12c-2.34-.1-3.61-.49-4.46-.82-1.12-.43-1.92-.95-2.76-1.79s-1.36-1.64-1.8-2.76c-.33-.85-.72-2.12-.83-4.46-.12-2.53-.14-3.29-.16-9.7s.01-7.17.12-9.7c.1-2.34.49-3.61.82-4.46.43-1.12.95-1.92 1.79-2.76s1.64-1.36 2.76-1.8c.85-.33 2.11-.72 4.45-.83 2.53-.12 3.29-.14 9.7-.16 6.41-.01 7.17.01 9.7.12 2.34.1 3.61.49 4.46.82 1.12.43 1.92.95 2.76 1.79s1.36 1.64 1.8 2.76c.33.84.72 2.11.83 4.45.12 2.53.15 3.29.16 9.7s-.01 7.17-.12 9.7z"/><path d="m33.91 11.17c0 1.59 1.29 2.88 2.88 2.88s2.88-1.29 2.88-2.88-1.29-2.88-2.88-2.88c-1.59 0-2.88 1.29-2.87 2.88"/><path d="m23.98 11.68c-6.81.01-12.31 5.54-12.3 12.35s5.54 12.31 12.35 12.3 12.31-5.54 12.3-12.35-5.54-12.31-12.35-12.3zm.04 20.32c-4.42 0-8.01-3.56-8.02-7.98 0-4.42 3.57-8.01 7.98-8.02 4.42 0 8.01 3.57 8.02 7.98s-3.57 8.01-7.98 8.02z"/></svg>',vK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="reaction-icon-background" d="m46.82 21.02c-.45-1.59-1.38-2.79-2.7-3.47-1.51-.77-3.63-.54-5.87-.3-1.57.17-3.52.38-4.34.06-.37-.18-2.06-1.81-.64-4.8 1.62-3.43 2.65-7.03-.82-10.11-1.42-1.26-3.09-2.58-4.97-2.26-2.02.34-3 2.11-4.64 5.03-.91 1.62-2.04 3.64-3.67 6.06-5.29 7.86-11.8 7.4-12.14 7.37h-.21c-1.89-.01-3.37.54-4.42 1.62-1.35 1.39-1.37 3.06-1.36 3.32v13.75c0 2.08.89 3.24 1.63 3.86 1.53 1.26 3.5 1.09 4.09 1 4.81-.34 10.67-.28 11.81.34 2.06 1.17 6.49 3.68 12.22 3.68.97 0 1.98-.07 3.03-.24 5.54-.87 6.58-3.66 7.26-5.5.27-.74.46-1.2.79-1.52 2.26-2.15 3.85-3.86 3.85-6.34 0-.56-.07-1.09-.13-1.61-.15-1.23-.22-1.97.26-2.75 1.02-1.66 1.68-4.67.97-7.2z"/><path d="m30.78 46.17c-5.73 0-10.16-2.51-12.22-3.68-1.13-.62-7-.68-11.81-.34-.59.09-2.56.26-4.09-1-.74-.61-1.63-1.78-1.63-3.86v-13.75c0-.26.01-1.93 1.36-3.32 1.05-1.08 2.54-1.63 4.42-1.63h.21c.34.04 6.85.5 12.14-7.36 1.63-2.42 2.76-4.44 3.67-6.06 1.64-2.93 2.63-4.69 4.64-5.03 1.89-.31 3.56 1 4.97 2.26 3.47 3.08 2.44 6.68.82 10.11-1.41 2.99.27 4.62.64 4.8.82.33 2.77.11 4.34-.06 2.24-.24 4.35-.47 5.87.3 1.32.68 2.25 1.87 2.7 3.47.71 2.53.05 5.54-.97 7.2-.48.78-.41 1.51-.26 2.75.06.51.13 1.05.13 1.61 0 2.48-1.6 4.19-3.85 6.34-.33.32-.52.78-.79 1.52-.68 1.85-1.72 4.63-7.26 5.5-1.04.16-2.05.24-3.03.24zm-18.3-8.23c3.16 0 6.54.22 8.04 1.07 2.22 1.26 6.85 3.88 12.66 2.97 3.23-.5 3.56-1.42 4.13-2.94.34-.92.76-2.06 1.78-3.03 1.98-1.88 2.61-2.72 2.61-3.44 0-.31-.05-.7-.1-1.11-.
19717-1.4-.41-3.32.82-5.33.54-.88.89-2.75.53-4.03-.21-.75-.56-.93-.67-.99-.5-.22-2.45-.01-3.61.11-2.21.24-4.5.49-6.25-.2-1.32-.52-2.55-1.87-3.19-3.51-.57-1.45-.96-3.79.42-6.71 1.84-3.89 1.02-4.63.14-5.41-.91-.81-1.4-1.12-1.63-1.24-.43.46-1.17 1.78-1.84 2.97-.94 1.69-2.12 3.78-3.84 6.34-6.34 9.43-14.52 9.22-15.74 9.13-.7 0-1.23.16-1.48.42-.19.19-.23.48-.23.48v13.81c0 .46.09.7.17.77.16.14.65.18.96.13l.21-.03c1.17-.08 3.57-.23 6.11-.23z"/></svg>',bK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m17.33 32.69c-.51 0-1.02-.2-1.41-.59-.78-.78-.78-2.05 0-2.83l13.73-13.73c.78-.78 2.05-.78 2.83 0s.78 2.05 0 2.83l-13.73 13.73c-.39.39-.9.59-1.41.59z"/><path d="m35.41 30.06c-.53 0-1.06-.21-1.45-.62-.76-.8-.73-2.07.07-2.83 4.28-4.07 6.71-7.97 7.22-11.58.29-2.09-.32-4.09-1.71-5.62-1.6-1.76-4.02-2.7-6.67-2.58-3.31.15-7.02 2.51-11.33 7.21-.75.81-2.01.87-2.83.12-.81-.75-.87-2.01-.12-2.83 5.06-5.52 9.67-8.3 14.1-8.51 3.82-.16 7.41 1.25 9.81 3.89 2.21 2.43 3.17 5.57 2.71 8.87-.64 4.53-3.47 9.22-8.42 13.92-.39.37-.88.55-1.38.55z"/><path d="m15.08 44.8c-3.6 0-6.92-1.4-9.19-3.9-2.21-2.43-3.17-5.57-2.71-8.87.64-4.53 3.47-9.22 8.42-13.92.8-.76 2.07-.73 2.83.07s.73 2.07-.07 2.83c-4.28 4.07-6.71 7.97-7.22 11.58-.29 2.09.32 4.09 1.71 5.62 1.6 1.76 4.03 2.71 6.67 2.58 3.31-.15 7.02-2.51 11.33-7.21.75-.81 2.01-.87 2.83-.12.81.75.87 2.01.12 2.83-5.06 5.52-9.68 8.3-14.1 8.51-.21 0-.41.01-.62.01z"/></svg>',wK='<svg viewBox="0 0 200 208" xmlns="http://www.w3.org/2000/svg"><path d="m185.220366 0c8.162469 0 14.779634 6.6632268 14.779634 14.8777838v177.9367402c0 8.217332-6.617165 14.877784-14.779634 14.877784h-170.440732c-8.16273838 0-14.779634-6.660452-14.779634-14.877784v-177.9367402c0-8.214557 6.61689562-14.8777838 14.779634-14.8777838zm-50.446433 77.8745553c-15.942162 0-23.135287 8.9953279-27.161733 15.3802543l-.0622.0981904.000103-13.2777205h-30.2087482c.1175404 2.6040361.1655183 11.8789507.1748099 23.6487815l.000769 1.128346.0001563.28435-.0000186 6.543671c-.001986 4.176044-.0074566 8.525287-.0153023 12.897659l-.0085963 4.374522-.0036398 1.663579c-.0023949 1.066233-.0049011 2.129721-.0075026 3.188271l-.0031663 1.26775c-.0481502 18.976483-.1250415 36.069035-.1361537 38.49396l-.0006423.139792c-.0000905.01963-.0001726.037415-.0002462.053336l-.0004671.100692h30.2079412v-52.373352c0-2.80294.196323-5.603104.993987-7.60679 2.183758-5.60033 7.154229-11.400473 15.499306-11.400473 10.930894 0 15.303521 8.600308 15.303521 21.207988v50.172627h30.20552v-53.774822c0-28.8064528-14.903075-42.2106117-34.777697-42.2106117zm-74.147743 2.2007242h-30.20821v93.7847095h30.20821zm-14.9044202-45.2105905c-10.333319 0-17.0895233 7.0017998-17.0895233 16.2043238 0 8.9999352 6.5553093 16.2015485 16.6928431 16.2015485h.1963231c10.5347518 0 17.0914059-7.2016133 17.0914059-16.2015485-.1963232-9.202524-6.5566541-16.2043238-16.8910488-16.2043238z"/></svg>',SK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m46.28 37.72-8.76-8.76c1.42-2.73 2.24-5.83 2.24-9.12-0-10.91-8.88-19.79-19.79-19.79s-19.8 8.88-19.8 19.8 8.88 19.8 19.8 19.8c3.16 0 6.14-.76 8.8-2.09l8.84 8.84c1 1 2.33 1.55 3.75 1.55s2.75-.55 3.75-1.55l1.19-1.19c1-1 1.55-2.33 1.55-3.75s-.55-2.75-1.55-3.75zm-42.11-17.87c0-8.71 7.09-15.8 15.8-15.8s15.8 7.09 15.8 15.8c0 4.14-1.62 7.91-4.24 10.73l-.83.83c-2.82 2.62-6.59 4.24-10.73 4.24-8.71 0-15.8-7.09-15.8-15.8zm39.28 22.54-1.19 1.19c-.49.49-1.34.49-1.83 0l-8.12-8.12 1.24-1.24c.27-.25.53-.51.78-.78l1-1 8.12 8.12c.25.24.38.57.38.92s-.14.67-.38.92z"/></svg>
197',EK='<svg height="60" viewBox="0 0 60 60" width="60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" fill="#3a87ff" r="30"/><path d="m37.3646106 25.9981265c0 4.0203413-3.2568034 7.2794262-7.2747532 7.2794262s-7.2747532-3.2590849-7.2747532-7.2794262c0-4.0196333 3.2569735-7.278548 7.2747532-7.278548s7.2747532 3.2589147 7.2747532 7.278548zm-11.6095064 0c0 2.3970848 1.9409816 4.3394262 4.3347532 4.3394262s4.3347532-1.9423414 4.3347532-4.3394262c0-2.3963081-1.9410829-4.338548-4.3347532-4.338548-2.3936702 0-4.3347532 1.9422399-4.3347532 4.338548zm23.7148958-6.5016394v17.0638173c0 3.2952005-2.6691379 5.9664872-5.9628702 5.9664872l-7.2426232-.0000001-11.1692124 9.5885769c-.9533234.8184118-2.4275245.1410644-2.4275245-1.1153684v-8.4732085l-6.1748995.0000001c-3.2937323 0-5.9628702-2.6712867-5.9628702-5.9664872v-17.0638173c0-3.2952004 2.6691379-5.9664871 5.9628702-5.9664871h27.0142596c3.2937323 0 5.9628702 2.6712867 5.9628702 5.9664871zm-32.9771298-3.0264871c-1.6694853 0-3.0228702 1.3544745-3.0228702 3.0264871v17.0638173c0 1.6720127 1.3533849 3.02
19764872 3.0228702 3.0264872h7.6448995c.8118585 0 1.47.6581414 1.47 1.47v6.7438518l9.1547788-7.8592202c.2665472-.2288262.6062287-.3546316.9575246-.3546316h7.7870567c1.6694853 0 3.0228702-1.3544745 3.0228702-3.0264872v-17.0638173c0-1.6720126-1.3533849-3.0264871-3.0228702-3.0264871zm23.2203785 18.8836304c.7483984 1.069115 1.3229451 2.206526 1.7498422 3.3442666.1499969.3997625.2713845.7729812.3669445 1.1113494.0343513.1216344.0632157.2312956.0869225.3279421.0154843.0631254.0264423.1110754.0331948.1428051.1689904.794076-.3377416 1.5747955-1.1318176 1.7437858-.7940759.1689904-1.5747954-.3377416-1.7437858-1.1318175-.0005452-.0025621-.0047708-.0210524-.012944-.0543724-.0157224-.0640962-.0359373-.1408964-.0609035-.2292989-.0739184-.2617375-.1700188-.557208-.2902242-.8775723-.3451093-.9197645-.8098815-1.8398586-1.4057519-2.6910817-1.661333-2.3732762-3.9872248-3.7623474-7.214605-3.7623474-3.2277967 0-5.553939 1.3890964-7.2154012 3.7623878-.5959093.851218-1.0607055 1.7713049-1.4058271 2.6910614-.1202095.3203608-.2163121.6158276-.2902313.8775615-.0249664.088401-.0451812.1651995-.0609035.2292941-.0081729.0333185-.0123982.0518073-.0129431.0543679-.1689904.7940759-.9497099 1.3008079-1.7437858 1.1318175-.794076-.1689903-1.300808-.9497098-1.1318176-1.7437858.0067528-.0317312.0177113-.0796826.0331962-.1428096.0237075-.0966481.0525729-.2063109.0869255-.327947.0955634-.3383717.2169565-.7115941.3669613-1.1113601.4269191-1.1377486 1.0015036-2.2751668 1.749959-3.3442869 2.1795798-3.113389 5.3661432-5.0163008 9.6238676-5.0163008 4.2573729 0 7.4436931 1.902937 9.623128 5.0163412z" fill="#fff" fill-rule="nonzero"/></g></svg>
197',TK='<svg height="60" viewBox="0 0 60 60" width="60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" fill="#00BBDE" r="30"/><g fill="#fff" fill-rule="nonzero" transform="matrix(-1 0 0 1 48.375 11.625)"><path d="m18.07 36.131875c-2.656875 0-5.2975-.593125-7.694375-1.7225-.836875.349375-2.299375.885625-4.119375 1.243125-2.851875.560625-4.671875.30875-4.875.284375-.50375-.073125-.950625-.39-1.18625-.836875-.24375-.455-.26-.99125-.040625-1.454375 1.925625-4.151875 1.405625-8.04375 1.210625-8.701875-.901875-2.185625-1.365-4.50125-1.365-6.881875.008125-9.953125 8.10875-18.061875 18.07-18.061875s18.061875 8.100625 18.061875 18.061875-8.100625 18.061875-18.061875 18.061875zm-7.65375-5.143125c.26 0 .52.065.755625.186875 2.1125 1.113125 4.50125 1.70625 6.898125 1.70625 8.165625 0 14.811875-6.64625 14.811875-14.811875s-6.64625-14.82-14.811875-14.82-14.811875 6.64625-14.811875 14.82c0 1.958125.381875 3.8675 1.129375 5.67125.40625.975.91 4.72875-.39 8.97.479375-.04875 1.031875-.121875 1.649375-.235625 2.364375-.463125 4.01375-1.291875 4.03-1.3.235625-.121875.4875-.17875.739375-.17875z"/><circle cx="9.676875" cy="18.07" r="2.77875"/><path d="m18.07 15.283125c-1.535625 0-2.77875 1.243125-2.77875 2.77875s1.243125 2.77875 2.77875 2.77875 2.77875-1.243125 2.77875-2.77875-1.243125-2.77875-2.77875-2.77875z"/><circle cx="26.625625" cy="18.07" r="2.77875"/></g></g></svg>
197',kK='<svg height="60" viewBox="0 0 60 60" width="60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" fill="#f96f50" r="30"/><g fill="#fff" fill-rule="nonzero" transform="translate(12 15)"><path d="m1.62752995 32.025c-.345 0-.555-.1125-.75-.2175-.54-.285-.877515-.84-.877515-1.4625v-24.105c-.007485-3.435 2.797515-6.24 6.232515-6.24h23.25750005c3.4425 0 6.24 2.7975 6.24 6.24v14.8425c0 3.4425-2.7975 6.24-6.24 6.24h-19.2825c-5.67000005 3.885-7.64250005 4.695-8.58750005 4.695zm4.605-29.025c-1.785 0-3.24 1.455-3.24 3.24v22.095c1.53-.855 3.8925-2.3625 5.895-3.7425l.3825-.2625h20.22000005c1.785 0 3.24-1.455 3.24-3.24v-14.85c0-1.785-1.455-3.24-3.24-3.24z"/><path d="m26.59503 12.1425h-17.46000005c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5h17.46000005c.825 0 1.5.675 1.5 1.5s-.675 1.5-1.5 1.5z"/><path d="m20.69253 18.9375h-11.55750005c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5h11.55750005c.825 0 1.5.675 1.5 1.5s-.675 1.5-1.5 1.5z"/></g></g></svg>',xK=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 155 128"><path fill="currentColor" transform="translate(-1.90735e-05 48.2467)" d="M31.502876 35.988457C26.474152 30.81496 23.287659 25.176195 22.007227 19.166786C20.726793 13.157529 21.342276 6.7311616 23.834476 0L14.819165 1.8672284C4.7394013 3.9549363 -1.7153559 13.703881 0.40215772 23.641764C1.4609926 28.610628 4.4614668 32.686344 8.4586658 35.258862C12.455865 37.831375 17.44776 38.899616 22.487564 37.855686L31.502876 35.988457Z" fill-rule="evenodd"/><path fill="currentColor" transform="translate(26.8983 3.90537)" d="M76.253807 88.184525C70.165932 89.445396 61.440727 72.680031 56.765156 50.737793C52.089741 28.795551 53.234718 9.9857178 59.32259 8.7248459C65.410461 7.4638205 74.135666 24.229334 78.811241 46.171577C83.486656 68.113815 82.341675 86.923653 76.253807 88.184525M43.569283 33.259453C33.339237 46.489601 15.656148 51.031971 14.909424 51.220139C14.87197 51.229832 14.833893 51.237679 14.795972 51.245525C13.350431 51.544933 11.910978 50.669327 11.543156 49.244286C11.167843 47.783554 12.064381 46.297585 13.545501 45.925709C13.627898 45.904938 17.772881 44.83239 23.026638 42.304493C28.282267 39.775982 34.645264 35.794273 39.165714 29.948875C40.092995 28.74847 41.830826 28.518759 43.046497 29.433294C44.263885 30.347523 44.496876 32.060894 43.569283 33.259453M77.826683 27.587145C72.017838 11.013801 64.219452 -0.17126033 57.841312 0.0019844945C57.529514 0.008908133 57.223961 0.04429562 56.920277 0.1072238C56.21553 0.25323564 55.554638 0.54264373 54.935879 0.96837056C54.097706 1.5419556 53.340214 2.361099 52.662308 3.403645C51.01265 5.9423127 49.270138 8.425745 47.326622 10.753779C28.729052 33.035126 12.87696 40.317871 4.921576 42.687447L3.4866478 42.984547C-2.9802814 56.95322 -0.46638748 68.750946 11.155046 78.973007L12.589974 78.675903C20.839991 77.688904 38.324265 78.066933 64.443855 91.086449C67.173264 92.446404 69.782036 94.028534 72.328392 95.698212C73.374428 96.383652 74.402206 96.833069 75.403618 97.025551C76.143944 97.169868 76.867104 97.172638 77.571846 97.026627C77.875374 96.963852 78.169693 96.874916 78.457932 96.757523C84.367584 94.385796 86.941719 81.052406 85.495087 63.575603C85.023331 57.863754 84.121643 51.710793 82.766769 45.35228C81.411896 38.993763 79.726036 33.003277 77.826683 27.587145" fill-rule="evenodd"/><path fill="currentColor" transform="translate(26.7658 87.7086)" d="M25.207918 20.227333C23.585413 18.439034 22.210566 16.431948 21.12801 14.256541C20.150948 12.291613 19.428413 10.220214 18.973667 8.085887C18.819172 7.3607512 18.697138 6.6288452 18.604128 5.8910933L17.865831 0C16.235678 0.02707912 14.819945 0.13047212 13.6191 0.26756015L0.30649507 3.0248609C-0.33005428 11.230142 -1.3754684 38.697292 13.435735 36.580196C26.879114 34.658966 30.442791 29.060049 31.367264 26.615698C31.611645 25.973646 31.363674 25.252972 30.777374 24.883249C28.704336 23.584528 26.832298 22.015324 25.207918 20.227333" fill-rule="evenodd"/><path fill="currentColor" transform="translate(85.6258 41.8816)" d="M0 0.090588436C0.47269133 3.8675101 1.1418562 7.8493714 2.0131128 11.938165C2.8862417 16.035881 3.8999767 19.951891 5.0120263 23.60388C10.010476 22.285774 12.940413 16.289902 11.59272 9.9652357C10.900303 6.7155876 9.2088203 3.9927
197511 7.0349703 2.2199919C4.9773822 0.54231739 2.4870524 -0.2886731 0 0.090588436" fill-rule="evenodd"/><path fill="currentColor" transform="translate(134.393 37.5194)" d="M17.275402 6.2784405L3.880244 9.0528193C2.1410084 9.4131565 0.43485641 8.3149137 0.069375031 6.6001587C-0.29595029 4.8854041 0.81781602 3.203114 2.5570517 2.842931L15.952209 0.068398193C17.691446 -0.29178488 19.397753 0.80630422 19.763079 2.5212126C20.128561 4.2359672 19.014637 5.9182572 17.275402 6.2784405" fill-rule="evenodd"/><path fill="currentColor" transform="translate(127.787 16.9289)" d="M3.8804698 13.403155C2.5941064 13.669639 1.2195718 13.136827 0.48548797 11.97227C-0.45287222 10.48415 0.010143682 8.5278368 1.5196661 7.602839L13.144378 0.47872254C14.653744 -0.44658327 16.637985 0.010069152 17.576345 1.4983437C18.514551 2.9866183 18.051535 4.9427772 16.542168 5.867929L4.9173007 12.992045C4.5889606 13.193293 4.2381487 13.328996 3.8804698 13.403155" fill-rule="evenodd"/><path fill="currentColor" transform="translate(115.947 0.404785)" d="M3.8815248 16.891966C2.9828026 17.078135 2.0099542 16.885658 1.2309264 16.282686C-0.16701646 15.200752 -0.41046265 13.206283 0.68707389 11.827864L9.1394939 1.2136178C10.236875 -0.16449405 12.259819 -0.40482125 13.657918 0.67742038C15.055861 1.7593544 15.299307 3.7538238 14.20177 5.1322432L5.7493501 15.746489C5.2633939 16.356846 4.5957894 16.743954 3.8815248 16.891966" fill-rule="evenodd"/><path fill="currentColor" transform="translate(135.013 57.9649)" d="M17.429695 8.1888542C17.071859 8.2630138 16.695454 8.2777843 16.312651 8.2237797L2.7629981 6.3139329C1.0034751 6.0659127 -0.21874955 4.4587054 0.032811496 2.7241032C0.28437254 0.98950094 1.9143696 -0.21567371 3.6738925 0.032346401L17.223545 1.9421936C18.982912 2.1902137 20.205294 3.797421 19.953732 5.5320234C19.756947 6.8892102 18.715902 7.9223709 17.429695 8.1888542" fill-rule="evenodd"/><path fill="currentColor" transform="translate(129.493 74.5947)" d="M15.948823 12.642571C15.234402 12.790584 14.465518 12.701037 13.771384 12.335008L1.701291 5.971261C0.13402815 5.14504 -0.45726517 3.2224226 0.38090754 1.6773742C1.2190803 0.13201807 3.1693027 -0.45079845 4.7362533 0.37557629L16.806347 6.7393231C18.37361 7.56
19755441 18.964746 9.488162 18.126574 11.03321C17.659657 11.894203 16.847546 12.456403 15.948823 12.642571" fill-rule="evenodd"/></svg> 198`,CK='<svg viewBox="0 0 35 20" xmlns="http://www.w3.org/2000/svg"><path d="m34.2 15.7-3.68-3.65c.6-1.14.94-2.43.94-3.8-0-4.55-3.73-8.25-8.32-8.25s-8.33 3.7-8.33 8.25 3.74 8.25 8.33 8.25c1.33 0 2.58-.32 3.7-.87l3.72 3.68c.42.42.98.65 1.58.65s1.16-.23 1.58-.65l.5-.5c.42-.42.65-.97.65-1.56s-.23-1.15-.65-1.56zm-17.71-7.45c0-3.63 2.98-6.58 6.65-6.58s6.65 2.95 6.65 6.58c0 1.73-.68 3.3-1.78 4.47l-.35.35c-1.19 1.09-2.77 1.77-4.51 1.77-3.66 0-6.65-2.95-6.65-6.58zm16.52 9.39-.5.5c-.21.2-.56.2-.77 0l-3.42-3.38.52-.52c.11-.1.22-.21.33-.32l.42-.42 3.42 3.38c.11.1.16.24.16.38s-.06.28-.16.38z"/><path d="m9.9 4.7h-8.9c-.54 0-.98-.44-.98-.98s.44-.98.98-.98h8.9c.54 0 .98.44.98.98s-.44.98-.98.98z"/><path d="m9.9 11.84h-8.9c-.54 0-.98-.44-.98-.98s.44-.98.98-.98h8.9c.54 0 .98.44.98.98s-.44.98-.98.98z"/><path d="m15.25 18.98h-14.25c-.54 0-.98-.44-.98-.98s.44-.98.98-.98h14.25c.54 0 .98.44.98.98s-.44.98-.98.98z"/></svg>',IK='<svg viewBox="0 0 49.07 13.14" xmlns="http://www.w3.org/2000/svg"><path d="m41.51 0-.99 1.13 5.42 4.77h-45.94v1.5h45.89l-5.36 4.6.98 1.14 7.56-6.49z"/></svg>',OK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m12.07 5.01c-2.21 0-4 1.79-4 4s1.79 4 4 4h17.24l-25.54 25.15c-1.57 1.55-1.59 4.08-.04 5.66.78.8 1.82 1.19 2.85 1.19s2.03-.38 2.81-1.15l25.7-25.3v18.56c0 2.21 1.79 4 4 4s4-1.79 4-4v-32.11z"/></svg>',AK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m23.83 21.25-9.54-9.66s0 0 0 0l-8.65-8.76c-.78-.79-2.04-.79-2.83-.02-.79.78-.79 2.04-.02 2.83l7.01 7.09c-5.84 4.51-9.22 10.33-9.37 10.6-.33.58-.35 1.29-.05 1.89.32.65 8.12 15.93 23.39 15.93 3.81 0 7.52-1.04 11.05-3.07l7.35 7.44c.39.4.91.59 1.42.59s1.02-.19 1.41-.58c.79-.78.79-2.04.02-2.83l-21.19-21.46zm2.49 8.25c-.79.39-1.67.59-2.58.59-3.26 0-5.92-2.66-5.92-5.92 0-.89.2-1.75.57-2.54zm-2.56 7.64c-10.77 0-17.41-9.65-19.27-12.76 1.17-1.78 4.04-5.73 8.14-8.78l2.93 2.97c-1.13 1.64-1.74 3.57-1.74 5.61 0 5.47 4.45 9.92 9.92 9.92 1.99 0 3.89-.58 5.5-1.67l2.65 2.69c-2.64 1.35-5.36 2.03-8.13 2.03z"/><path d="m47.15 23.4c-.36-.65-8.97-15.85-23.25-15.85-1.67 0-3.3.24-3.37.25-1.09.16-1.85 1.18-1.68 2.27.16 1.09 1.18 1.84 2.27 1.68.01 0 1.4-.21 2.78-.21 10.03 0 17.12 9.69 19.16 12.82-.73 1.15-2.07 3.11-3.66 4.77-.77.8-.74 2.06.06 2.83.39.37.89.56 1.39.56.53 0 1.05-.21 1.44-.61 2.77-2.88 4.78-6.42 4.87-6.57.34-.61.34-1.35 0-1.96z"/></svg>',RK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m23.98 41.13c-15.27 0-23.07-15.28-23.39-15.93-.3-.6-.28-1.31.05-1.89.37-.65 9.22-15.82 23.33-15.82s23.03 15.2 23.39 15.85c.33.59.33 1.31.01 1.91-.35.65-8.67 15.87-23.4 15.87zm-19.27-16.76c1.86 3.11 8.5 12.76 19.27 12.76s17.33-9.68 19.3-12.8c-2.02-3.13-9.13-12.83-19.3-12.83s-17.22 9.76-19.27 12.87z"/><path d="m23.95 34.09c-5.47 0-9.92-4.45-9.92-9.92s4.45-9.92 9.92-9.92 9.92 4.45 9.92 9.92-4.45 9.92-9.92 9.92zm0-15.84c-3.26 0-5.92 2.66-5.92 5.92s2.65 5.92 5.92 5.92 5.92-2.66 5.92-5.92-2.66-5.92-5.92-5.92z"/></svg>',PK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,19H18V5H14M6,19H10V5H6V19Z" /></svg>',DK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m28.3 19.03c-.7-.67-1.81-.64-2.47.05l-8.21 8.57c-.67.7-.64 1.81.05 2.47.34.32.77.49 1.21.49.46 0 .92-.18 1.26-.54l8.21-8.57c.67-.7.64-1.81-.05-2.47z"/><path d="m45.88 14c-.03-1.51-.65-2.92-1.74-3.96l-7.12-6.81c-2.25-2.15-5.82-2.07-7.97.17l-4.78 5s-.03.02-.04.03l-15.11 15.79c-.21.22-.37.48-.46.77l-6.05 18.72c-.24.73-.03 1.53.52 2.06.38.36.88.56 1.38.56.23 0 .47-.04.7-.13l18.43-6.86c.28-.11.54-.27.75-.49l15.11-15.79s0-.01.02-.02l4.79-5.01c1.04-1.09 1.59-2.52 1.56-4.03zm-36.49 21.78 3.47 3.32-5.16 1.92zm12.44-.02-5.33 1.98-5.91-5.66 1.75-5.41 13.41-14.01 9.49 9.09zm19.6-20.49-3.43 3.58-9.49-9.08 3.43-3.59c.62-.65 1.66-.68 2.32-.05l7.12 6.81c.31.3.49.71.5 1.15s-.15.86-.45 1.17z"/></svg>',NK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m31.46 22.04c2.94-2.23 4.86-5.76 4.86-9.73 0-6.73-5.48-12.21-12.21-12.21s-12.21 5.48-12.21 12.21c0 3.97 1.91 7.49 4.86 9.73-7.94 3.29-13.79 11.35-13.79 18.24 0 2.8 2.52 4.88 7.48 6.18 3.63.96 8.49 1.48 13.68 1.48s21.15-.55 21.15-7.67-5.86-14.95-13.79-18.24zm-15.57-9.73c0-4.53 3.69-8.21 8.21-8.21s8.21 3.69 8.21 8.21-3.69 8.21-8.21 8.21-8.21-3.69-8.21-8.21zm8.21 31.63c-11.88 0-17.15-2.66-17.15-3.67 0-6.2 7.37-15.75 17.15-15.75s17.15 9.56 17.15 15.75c0 1.01-5.27 3.67-17.15 3.67z"/></svg>',$K='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m41.5 4.05h-35c-3.55 0-6.44 2.89-6.44 6.44v25.7c0 3.55 2.89 6.44 6.44 6.44h35.01c3.55 0 6.44-2.89 6.44-6.44v-25.7c0-3.55-2.89-6.44-6.44-6.44zm-35 4h35.01c1.34 0 2.44
1981.09 2.44 2.44v14.38l-4.67-4.04c-.7-.61-1.74-.61-2.45 0l-6.63 5.67-10.23-9.77c-.73-.69-1.87-.69-2.6 0l-13.31 12.84v-19.08c0-1.35 1.09-2.44 2.44-2.44zm-2.44 28.14v-1.41l14.62-14.1 18.81 17.95h-30.99c-1.35 0-2.44-1.09-2.44-2.44zm38.56 2.16-9.7-9.25 5.12-4.38 5.91 5.11v6.36c0 .94-.54 1.75-1.33 2.16z"/><path d="m30.23 20.92c2.9 0 5.25-2.36 5.25-5.25s-2.36-5.25-5.25-5.25-5.25 2.36-5.25 5.25 2.36 5.25 5.25 5.25zm0-7c.97 0 1.75.79 1.75 1.75s-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75.79-1.75 1.75-1.75z"/></svg>',LK='<svg enable-background="new 0 0 48 48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24 0c-13.3 0-24 10.7-24 24 0 10.2 6.3 18.9 15.2 22.4-.2-1.9-.4-4.8.1-6.9.4-1.9 2.8-11.9 2.8-11.9s-.7-1.4-.7-3.6c0-3.3 1.9-5.8 4.3-5.8 2.1 0 3 1.5 3 3.4 0 2.1-1.3 5.1-2 8-.6 2.4 1.2 4.3 3.6 4.3 4.3 0 7.5-4.5 7.5-11 0-5.7-4.1-9.8-10-9.8-6.8 0-10.8 5.2-10.8 10.4 0 2.1.8 4.3 1.8 5.5.2.2.2.5.2.7-.2.8-.6 2.4-.7 2.7-.1.4-.4.5-.8.3-3-1.4-4.8-5.8-4.8-9.3 0-7.6 5.5-14.5 15.9-14.5 8.3 0 14.8 5.9 14.8 13.9s-5.2 14.9-12.4 14.9c-2.4 0-4.7-1.3-5.5-2.8 0 0-1.2 4.6-1.5 5.7-.5 2.1-2 4.7-3 6.3 2.3.7 4.6 1.1 7.1 1.1 13.2 0 24-10.7 24-24-.1-13.3-10.8-24-24.1-24z"/></svg>',MK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,5.14V19.14L19,12.14L8,5.14Z" /></svg>',FK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24.66 32.06c5.79 0 10.5-4.71 10.5-10.5v-11c0-5.79-4.71-10.5-10.5-10.5s-10.5 4.71-10.5 10.5v11c0 5.79 4.71 10.5 10.5 10.5zm-6.5-21.5c0-3.58 2.92-6.5 6.5-6.5s6.5 2.92 6.5 6.5v11c0 3.58-2.92 6.5-6.5 6.5s-6.5-2.92-6.5-6.5z"/><path d="m40.86 19.43c-1.1 0-2 .9-2 2 0 5.75-4.5 14.25-14.15 14.25-7.13 0-14.35-4.89-14.35-14.25 0-1.1-.9-2-2-2s-2 .9-2 2c0 8.52 5.57 17.14 16.24 18.15v4.11h-6.94c-1.1 0-2 .9-2 2s.9 2 2 2h18c1.1 0 2-.9 2-2s-.9-2-2-2h-7.06v-4.1c4.54-.46 8.61-2.55 11.61-6.02 2.91-3.37 4.65-7.9 4.65-12.13 0-1.1-.9-2-2-2z"/></svg>',VK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><circle cx="23.88" cy="22.15" r="3.56"/><circle cx="17.92" cy="31.55" r="3.56"/><circle cx="29.83" cy="31.55" r="3.56"/><path d="m45.88 42.31h-43.82c-.72 0-1.39-.39-1.75-1.02s-.34-1.41.04-2.02l21.91-35.64c.36-.59 1.01-.95 1.7-.95s1.34.36 1.7.95l21.91 35.63c.38.62.4 1.39.04 2.02s-1.02 1.02-1.75 1.02zm-40.24-4h36.66l-18.33-29.82z"/></svg>',UK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m43.02734375 12.22998047h-3.15039063v-8.33105469c0-.96630859-.78320313-1.75-1.75-1.75h-28.36474609c-.96630859 0-1.75.78369141-1.75 1.75v8.33105469h-3.03955078c-2.59423828 0-4.70507813 2.11083984-4.70507813 4.70507813v16.88818359c0 2.59472656 2.11083984 4.70507813 4.70507813 4.70507813h3.0625v5.57226563c0 .96679688.78369141 1.75 1.75 1.75h28.36523438c.96679688 0 1.75-.78320313 1.75-1.75v-5.57226563h3.12695313c2.59472656 0 4.70507813-2.11035156 4.70507813-4.70507813v-16.88818359c0-2.59423828-2.11035156-4.70507813-4.70507813-4.70507813zm-31.51513672-6.58105469h24.86474609v6.58105469h-24.86474609zm.1303711 36.70166016v-13.80761719h24.734375v13.80761719zm32.58984375-8.52734375c0 .6640625-.54101563 1.20507813-1.20507813 1.20507813h-3.15039063v-8.23535156c0-.96679688-.78320313-1.75-1.75-1.75h-28.23437499c-.96630859 0-1.75.78320313-1.75 1.75v8.23535156h-3.16992188c-.66455078 0-1.20507813-.54101563-1.20507813-1.20507813v-16.88818359c0-.66455078.54052734-1.20507813 1.20507813-1.20507813h38.0546875c.6640625 0 1.20507813.54052734 1.20507813 1.20507813z"/><path d="m31.34863281 33.56445313h-14.70166016c-.96630859 0-1.75.78320313-1.75 1.75s.78369141 1.75 1.75 1.75h14.70166016c.96679688 0 1.75-.78320313 1.75-1.75s-.78320313-1.75-1.75-1.75z"/><circle cx="37.76943" cy="20.386687" r="2.120162"/></svg>',BK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24 47.39c-12.68 0-23-10.32-23-23s10.32-22.99 23-22.99 23 10.32 23 23-10.32 23-23 23zm0-41.99c-10.47 0-19 8.52-19 18.99s8.52 19 19 19 19-8.52 19-19-8.53-18.99-19-18.99z"/><path d="m23.81 28.73c-.91 0-1.76-.58-2.06-1.48-.38-1.14.24-2.37 1.37-2.75 1.3-.44 5.03-2.21 5.03-4.45 0-1.03-.36-2.02-1.02-2.81-.66-.78-1.58-1.31-2.59-1.48s-2.05.02-2.93.54-1.56 1.34-1.9 2.3c-.4 1.13-1.64 1.72-2.77 1.33-1.13-.4-1.73-1.64-1.33-2.77.68-1.93 2.03-3.57 3.79-4.6s3.85-1.42 5.87-1.07 3.86 1.4 5.17 2.97c1.32 1.57 2.04 3.56 2.04 5.6 0 5.74-7.18 8.3-8 8.57-.23.08-.46.11-.69.11z"/><path d="m24.01 37.42c-1.2 0-2.18-.97-2.18-2.17s.96-2.17 2.16-2.17h.02c1.2 0 2.17.97 2.17 2.17s-.97 2.17-2.17 2.17z"/></svg>',jK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m31.94 16.22h-24.83l11.33-10.7c.8-.76.84-2.02.08-2.83s-2.02-.84-2.83-.08l-14.89 14.07c-.4.38-.63.9-.63 1.45v.04.04c0 .74.41 1.38 1.01 1.73l14.66 13.88c.39.37.88.55 1.37.55.53 0 1.06-.21 1.45-.62.76-.8.72-2.07-.08-2.83l-11.31-10.7h24.65c7.36 0 11.93 3.86 11.93 10.07 0 6.73-4.2 10.43-11.84 10.43-1.1 0-2 .9-2 2s.9 2 2 2c9.92 0 15.84-5.39 15.84-14.43 0-8.42-6.4-14.07-15.93-14.07z"/></svg>',zK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="icon-background" d="m9.41 46.86c-.29 0-.59-.06-.86-.2-.69-.33-1.14-1.03-1.14-1.8v-35.78c0-1.1.9-2 2-2h27.37c1.1 0 2 .9 2 2v35.78c0 .77-.44 1.47-1.13 1.8s-1.51.24-2.12-.24l-12.48-9.99-12.38 9.98c-.36.29-.81.44-1.26.44z"/><path d="m36.77 22.72c-1.1 0-2 .9-2 2v15.98l-10.48-8.39c-.73-.59-1.77-.58-2.5 0l-10.38 8.36v-29.59h8.98c1.1 0 2-.9 2-2s-.9-2-2-2h-10.98c-1.1 0-2 .9-2 2v35.78c0 .77.44 1.47 1.14 1.8.27.13.57.2.86.2.45 0 .89-.15 1.26-.44l12.38-9.98 12.48 9.99c.6.48 1.42.57 2.12.24.69-.33 1.13-1.03 1.13-1.8v-20.14c0-1.1-.9-2-2-2z"/><path d="m43.71 7.08h-4.94v-4.94c0-1.1-.9-2-2-2s-2 .9-2 2v4.94h-4.94c-1.1 0-2 .9-2 2s.9 2 2 2h4.94v4.94c0 1.1.9 2 2 2s2-.9 2-2v-4.94h4.94c1.1 0 2-.9 2-2s-.9-2-2-2z"/></svg>',HK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><circle class="reaction-icon-background" cx="23.89" cy="23.31" r="21.43"/><path d="M24,46A22.63,22.63,0,1,1,46.62,23.37,22.65,22.65,0,0,1,24,46ZM24,4A19.38,19.38,0,1,0,43.37,23.37,19.4,19.4,0,0,0,24,4ZM9.22,27.31a.43.43,0,0,0,.24.06,1.55,1.55,0,0,0,.85-.41,8.57,8.57,0,0,1,2.54-1.6c3-1.24,5.64-.56,7-.81s1.57-1.37-.15-1.93-6.58-.24-9.09,1.62A3.44,3.44,0,0,0,9,26.55c0,.22,0,.61.22.76m22.22-3.88S29.67,25,33.21,24.71s6.24,2,7.41,2.48,1.69-.08,1.19-1.62-2.53-2.91-5.73-3.16-4.64,1-4.64,1M18.24,35.77s-.91,1.6.81,1.6,2.22-1.09,4.68-1.93a9.17,9.17,0,0,1,7.86.92C34.46,38,34,35.77,34,35.77c-1.56-2.78-4.1-4.63-8.61-4.37s-7.12,4.37-7.12,4.37M23,11.69s.19-3.28-2.37.51-6.39,4.28-7.7,5-1.25,1.76.33,2.77,4.21.34,6.91-2.6A10,10,0,0,0,23,11.69m8,0a10,10,0,0,0,2.83,5.64c2.7,2.94,5.33,3.61,6.91,2.6s1.65-2.1.33-2.77-5.13-1.18-7.7-5S31,11.69,31,11.69"/></svg>',qK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 47.96"><path class="reaction-icon-background" d="M43.66,19.93c-1.39-1.46-3.29-.64-5.64.85-1.85,1.16-4.84,2.77-4.84,2.77S34.66,15.3,35.41,11c.31-1.8.54-4-1-4.73s-2.76.38-3.86,2c-1.53,2.24-3.3,5.06-3.3,5.06a77.93,77.93,0,0,0-.7-8.66C26.07,2.42,25,1.94,24,1.93c-1.15,0-2.18.87-2.91,4a61.6,61.6,0,0,0-.82,7.12S18.48,6.82,17.79,5C17,2.75,15.62,2.39,14.6,2.78c-1.29.48-1.77,2.38-1.83,5s.27,8.66.27,8.66S8.57,9.74,5.63,10.51s-2,5.22-.25,9.94C7.23,25.46,9,29.33,14.5,37h0v7.72a1.3,1.3,0,0,0,1.3,1.3H31a1.3,1.3,0,0,0,1.3-1.3V37s6.14-6.28,8.31-8.74C43,25.5,45.18,21.54,43.66,19.93Z"/><path d="M19.53,33.51a1.74,1.74,0,0,1-1.37-.66l-3.68-4.64A1.75,1.75,0,0,1,17.23,26l2.22,2.8,7.48-10.58a1.75,1.75,0,0,1,2.86,2L21,32.77a1.74,1.74,0,0,1-1.38.74Z"/>
198<path d="M31,47.48H15.77a2.81,2.81,0,0,1-2.8-2.8V37.42C7.4,29.68,5.72,25.71,4,21,2.58,17.22,1.47,13.42,2.72,11a3.83,3.83,0,0,1,2.52-2c2.08-.55,4.32,1,6.08,2.85-.05-1.51-.09-3.08-.06-4.18.06-2.29.41-5.45,2.8-6.36A3.42,3.42,0,0,1,17,1.59a5.2,5.2,0,0,1,2.19,2.86c.12.32.28.77.45,1.29l0-.13C20,4.33,20.87.43,24,.43h0c.94,0,3.2.39,4,3.87a36.48,36.48,0,0,1,.49,4.26l.8-1.19c2.26-3.3,4.39-3.18,5.77-2.49,2.66,1.32,2.06,4.83,1.8,6.32-.46,2.64-1.18,6.7-1.67,9.5.69-.4,1.41-.82,2-1.19,1.65-1,5.07-3.2,7.53-.61h0c2.31,2.43-.21,7.07-3.05,10.31-1.87,2.11-6.5,6.89-7.94,8.37v7.1A2.8,2.8,0,0,1,31,47.48Zm-15-3H30.75V37a1.51,1.51,0,0,1,.43-1c.06-.07,6.13-6.29,8.25-8.7C42.14,24.15,43,21.43,42.57,21h0c-.39-.41-1-.66-3.76,1.08-1.87,1.17-4.8,2.75-4.92,2.82a1.51,1.51,0,0,1-2.19-1.59s1.47-8.23,2.22-12.59c.32-1.85.26-2.91-.17-3.12s-1.39.66-2,1.5c-1.5,2.18-3.24,5-3.26,5a1.5,1.5,0,0,1-2.77-.75A74.94,74.94,0,0,0,25.09,5c-.34-1.51-.88-1.51-1.06-1.52h0c-.48,0-1,1.1-1.45,2.86a63.36,63.36,0,0,0-.78,6.87,1.5,1.5,0,0,1-2.93.33c0-.06-1.83-6.22-2.5-8-.35-.93-.71-1.22-.86-1.3a.41.41,0,0,0-.39,0s-.78.33-.86,3.63c-.07,2.65.26,8.48.27,8.54a1.51,1.51,0,0,1-2.75.92C9.75,14.23,7,11.71,6,12a.88.88,0,0,0-.63.45c-.53,1-.06,3.56,1.4,7.52,1.7,4.6,3.34,8.45,8.93,16.15A1.53,1.53,0,0,1,16,37.23Z"/></svg>',WK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m47.95 6.57s0-.09 0-.13c0-.14-.02-.28-.05-.41 0-.02 0-.04-.01-.06-.04-.15-.1-.3-.18-.44-.02-.04-.05-.07-.07-.11-.04-.06-.07-.12-.11-.18-.03-.04-.08-.08-.11-.12-.02-.02-.03-.05-.05-.07-.01-.01-.03-.02-.05-.04-.25-.23-.53-.38-.84-.46-.04-.01-.08-.02-.12-.03-.13-.02-.26-.04-.39-.04-.03 0-.07 0-.1 0-.16 0-.32.04-.48.09 0 0-.02 0-.03 0l-43.94 14.34c-.76.25-1.3.92-1.37 1.72-.07.79.33 1.56 1.03 1.94l13.82 7.53v13.04c0 .79.46 1.51 1.19 1.83.26.12.54.17.81.17.49 0 .96-.18 1.34-.51l8.79-7.92 8.22 4.48c.3.16.63.24.96.24.26 0 .52-.05.76-.15.56-.23.98-.7 1.15-1.28l9.75-32.96s0-.03 0-.04c.04-.14.06-.28.06-.43zm-11.83 5.22-18.81 15.06-10.24-5.58 29.04-9.48zm-17.21 26.86v-6.37l4.41 2.4zm16.09-2.16-13.88-7.56 21.12-16.91-7.23 24.47z"/></svg>',GK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path class="reaction-icon-background" d="M41.25,12.19c2.44,1.67,3.66,2.78,3.66,5.11V38.56A5.58,5.58,0,0,1,39.23,44H9.69A5.57,5.57,0,0,1,4,38.56V17.3c0-2.26,1.26-3.41,3.46-5C9.23,11,18.76,5.08,22.73,2.64a3.38,3.38,0,0,1,3.59.1C30.29,5.21,39.36,10.89,41.25,12.19Z"/><path d="M42.4,10.93C40.51,9.63,32,4.27,27,1.18a5,5,0,0,0-5.27-.1C16.61,4.23,7.74,9.73,6,11,3.61,12.77,1.8,14.35,1.8,17.42V39.25a7.23,7.23,0,0,0,7.33,7.12H39.47a7.23,7.23,0,0,0,7.33-7.12V17.42C46.8,14.2,44.89,12.64,42.4,10.93Zm1.31,29.15L33.3,32.21,43.8,24V39.25A3.84,3.84,0,0,1,43.71,40.08ZM5,40.44a3.91,3.91,0,0,1-.21-1.19V23.83L16,32ZM18.43,30.1l-.54-.39a32.31,32.31,0,0,1-3.31-3.54c-2.25-2.84-3.29-6.29-2.69-9A5.59,5.59,0,0,1,15,13.23c4.33-2.18,7.91,3.27,8.06,3.5a1.5,1.5,0,0,0,2.62-.17c.1-.22,2.62-5.4,7.17-3.9a5.51,5.51,0,0,1,3.68,3.86c.85,2.94-.16,6.63-2.63,9.63A33.75,33.75,0,0,1,30.1,30,11.21,11.21,0,0,0,18.43,30.1ZM7.75,13.45c1.21-.9,7-4.56,15.56-9.82a1.79,1.79,0,0,1,.93-.26,2.17,2.17,0,0,1,1.18.36c4,2.47,13.37,8.36,15.28,9.67,2.52,1.73,3.1,2.48,3.1,4v2.72L38.51,24.3a12.67,12.67,0,0,0,.88-8.61,8.48,8.48,0,0,0-5.62-5.88c-4.4-1.45-7.74,1-9.61,3.5-2.3-2.49-6.21-4.94-10.54-2.75a8.54,8.54,0,0,0-4.66,6,12.58,12.58,0,0,0,.78,7.22L4.8,20.11V17.42C4.8,15.87,5.5,15.11,7.75,13.45ZM9.13,43.37a4.5,4.5,0,0,1-2.23-.6l11.69-9,.15-.13c.2-.2,4.91-4.8,11.07-.3L42,42.56a4.4,4.4,0,0,1-2.56.81Z"/></svg>',QK='<svg width="171" height="520" xmlns="http://www.w3.org/2000/svg"><path d="M170.88 278.758c-.866-3.69-1.901-7.343-2.817-11.02-1.15-4.61-2.646-9.402-3.062-14.15-.413-4.727.297-9.662.46-14.39.287-8.267.186-16.538-.607-24.776-.837-8.691-2.252-17.33-4.1-25.863l.004.008c-.28-2.012-.576-4.032-.996-6.02-.608-2.872-1.554-5.613-1.362-8.61l-.044.253c.25-5.618.757-11.234.378-16.86-.402-5.945-1.812-11.828-3.436-17.546l.002.003c-1.332-4.61-2.327-8.943-1.8-13.753.52-4.72 1.503-8.884.593-13.635-1.961-10.226-9.295-18.564-19.41-21.274-1.696-.455-3.418-.523-5.12-.897-1.611-.355-3.024-1.131-4.513-1.801-1.561-.702-2.942-.483-4.551-.782l-2.623-.844s-.201.06-.561.16c-3.814-1.16-7.872-3.388-10.507-6.412-2.627-3.015-4.228-6.896-5.385-10.682l-.878-3.442c1.502-1.348 3.073-2.734 4.33-4.323.986-1.248 1.09-2.527 1.247-4.096l.002.008.005-.08c.17-1.72.327-3.97.473-6.382 1.956.624 3.897-6.188 4.477-7.463.744-1.637 1.784-3.24 1.302-5.10
1987-.353-1.368-1.69-3.101-3.203-2.015 1.025-5.146 2.152-10.28 2.988-15.461.76-4.713.277-9.011-2.573-12.997C104.33 1.15 94.442-.71 85.928.226c-8.51-.944-18.407.93-23.664 8.283-2.852 3.987-3.333 8.283-2.573 12.997.836 5.182 1.962 10.315 2.988 15.46-1.51-1.08-2.85.644-3.204 2.016-.481 1.867.559 3.47 1.303 5.107.578 1.272 2.518 8.087 4.477 7.463.146 2.412.302 4.66.472 6.38l.006.082.002-.008c.157 1.568.252 2.836 1.234 4.08 1.24 1.573 2.786 2.939 4.268 4.272l-.895 3.509c-1.157 3.786-2.758 7.666-5.385 10.682-2.62 3.006-6.647 5.235-10.436 6.406-.348-.097-.54-.154-.54-.154l-2.623.844c-1.186.22-2.377-.005-3.557.362-1.45.452-2.74 1.35-4.185 1.84-1.622.553-3.318.587-4.983.93-4.293.885-8.41 2.845-11.77 5.662-4.288 3.597-7.236 8.612-8.655 14-1.173 4.455-.863 8.368-.208 12.835.426 2.909.845 5.852.398 8.778-.401 2.622-1.106 5.19-1.841 7.735l.002-.003c-1.625 5.72-3.028 11.6-3.436 17.547-.386 5.624.128 11.242.378 16.859l-.044-.253c.192 3-.755 5.736-1.362 8.61-.42 1.989-.716 4.008-.997 6.02l.004-.008c-2.638 12.187-4.452 24.617-4.793 37.093-.16 5.823-.018 11.647.244 17.465.154 3.43.595 6.99.307 10.42-.283 3.36-1.26 6.739-2.041 10.009a646.165 646.165 0 01-2.964 11.803c-.722 2.785-1.59 5.368.215 7.995.706 1.026 1.396 2.056 2.545 2.585.584.269.963.34 1.426.76 1.315 1.19 2.28 3.003 3.39 4.386 1.242 1.545 2.67 2.94 4.128 4.28 1.307 1.202 2.997 3.018 4.944 2.822 2.39-.242 4.743-3.114 5.96-4.943.538-.808 1.69-4.947-.756-3.603 1.326-2.196-.468-2.634-2.011-1.596-1.01.68-1.918 1.55-2.765 2.42.633-.781 2.79-2.742 2.759-3.757-.088-2.743-4.388 1.755-4.948 2.359.408-.532 2.189-2.38 1.859-3.1-.697-1.517-2.951 1.336-4.075 1.056-.695-2.29.402-4.763 1.08-6.945.599-1.931 1.186-3.884 1.956-5.755.367-.891.9-2.683 1.62-1.177.907 1.896.34 4.682.493 6.717.144 1.923.643 4.597 1.98 6.095 1.657 1.854 2.666-.463 2.865-2.04.32-2.556-.086-5.148.16-7.72.256-2.648.789-5.41.36-8.063-.476-2.96-2.171-5.356-3.478-7.975-1.082-2.17-1.853-4.55-2.55-6.868-.016-9.354 3.649-17.773 6.45-26.515 1.397-4.357 2.52-8.812 3.135-13.35.592-4.36.597-8.768.904-13.152.535-3.377.762-6.914 1.739-10.198 1.284-4.31 2.662-8.45 3.539-12.881l-.002.008c2.52-8.806 4.602-17.738 6.847-26.617.855 3.47 2 7.369 4.612 9.975.24.357.318.49.318.546-.7 2.237-.578 7.504.152 9.57.51 2.367 1.783 5.072 1.49 7.51-.15 1.267-.6 2.49-.636 3.777-.038 1.333.264 2.674.387 3.998-.887 3.18-1.616 6.41-2.372 9.624v-.004c-.707 3.06-.958 5.932-.448 9.047l.712 5.182-.318 1.958a81.73 81.73 0 00-2.376 8.5c-3.013 7.52-2.58 22.677-2.58 22.677h.002c-3.298 28.568-2.578 57.916 1.925 86.3.84 5.297 1.812 10.575 2.979 15.81l-.001-.003c.627 2.9 1.443 5.764 2.013 8.679.427 2.748-.548 5.594-.738 8.338-.238 3.442.178 6.894.309 10.334.105 2.755-.457 5.282-.938 7.99-2.043 11.513-4.017 23.338-3.741 35.067.322 13.697 5.454 26.668 9.252 39.655 2.972 10.167 3.83 21.15 4.172 31.705.075 2.332-.464 4.083-1.047 6.372-.863 3.39 1.068 6.59.14 10.033-.681 2.535-1.627 5.306-3.035 7.542-1.046 1.66-5.583 5.499-1.663 6.368h-.001l.045.008c.322.069.617.112.834.135l.009.002.539.258v-.001c.88.92 2.125 1.334 3.386 1.303a5.25 5.25 0 001.217-.164s.258.122.618.269l.042.018-.001-.001c.673.27 1.686.605 2.267.477-.054.015-.094.024-.094.024l1.82-.151h2.214c-.306-.035.968.1.984.102h-.003c.377.137.759.125 1.156.064.532-.025 1.04-.297 1.456-.616.464 1.104 2.729.642 3.678.637 0 0-.141 0-.35-.022 1.867.102 6.15.558 7.367-1.318 1.43-2.21-.257-4.782-1.06-6.795-.878-2.196-1.415-4.584-1.907-6.89-.466-2.182-.976-4.387-.425-6.59 1.41-3.423 1.617-6.731-.213-10.018-1.302-2.337-1.967-4.615-2.253-7.28-.723-6.744-.75-13.622-.52-20.395.285-8.373 1.63-16.647 2.236-24.998.435-5.975.596-11.965.402-17.953-.24-7.416-1.063-14.767-1.596-22.16 0-5.058.94-9.672 2.363-14.503 1.944-6.6 2.467-13.264 2.764-20.106.36-8.326 1.96-16.472 3-24.74.917-7.273 1.713-14.566 2.264-21.878.557-6.181.786-12.415.702-18.62-.093-6.872-.583-13.725-.065-20.595 1.698.797 2.95.562 2.95.562s1.158.229 2.77-.535c.524 6.99.005 13.964-.071 20.956-.066 6.076.16 12.179.707 18.232.935 12.433 2.236 25.008 4.47 37.285.99 5.437.768 11.043 1.204 16.542.32 4.063.959 8.009 2.073 11.932.999 3.52 2.08 6.88 2.437 10.546.45 4.628-.19 9.133-.584 13.742-.492 5.744-.838 11.51-.887 17.276-.112 13.322 2.345 26.403 2.74 39.68.197 6.61.169 13.323-.56 19.904-.288 2.605-.974 4.818-2.233 7.106-1.817 3.304-1.631 6.577-.214 10.018.533 2.13.068 4.243-.375 6.358-.5 2.383-1.051 4.855-1.956 7.122-.791 1.983-2.46 4.464-1.
198133 6.676 1.2 1.999 5.496 1.543 7.439 1.437-.208.023-.35.022-.35.022.986.005 3.167.45 3.679-.637.41.317.928.59 1.456.616.396.06.784.082 1.155-.063l-.003-.001a82.18 82.18 0 01.985-.102h2.214l1.819.15s-.04-.008-.093-.023c.58.128 1.593-.207 2.266-.477l.04-.017c.362-.147.62-.27.62-.27s.5.147 1.217.165c1.26.03 2.506-.383 3.385-1.303l.54-.257.008-.002c.218-.023.513-.066.835-.135l.044-.007-.001-.001c3.567-.791.158-3.89-1.003-5.444-1.438-1.925-2.3-4.237-3.078-6.496-1.052-3.048-.991-5.138-.404-8.301.543-2.93-.984-5.231-1.148-8.071-.25-4.35.389-8.907.786-13.228.517-5.631 1.084-11.35 2.426-16.854 3.129-12.825 8.443-24.998 9.9-38.234 1.337-12.155-.785-24.765-2.814-36.734-.546-3.224-1.566-6.612-1.564-9.9.003-3.335.468-6.661.424-9.996-.044-3.332-1.326-6.845-.813-10.146.566-2.915 1.385-5.778 2.013-8.68l-.001.004c6.14-27.548 7.768-56.073 6.346-84.212-.303-5.978-.755-11.951-1.442-17.898 0 0 .435-15.156-2.578-22.676a81.73 81.73 0 00-2.376-8.5v-.001l-.318-1.958.712-5.182c.509-3.115.258-5.987-.45-9.047v.004c-.753-3.214-1.484-6.443-2.371-9.624.123-1.324.426-2.665.388-3.998-.037-1.286-.485-2.51-.638-3.777-.292-2.438.982-5.143 1.492-7.51.729-2.066.85-7.333.152-9.57 0-.031.022-.085.084-.188 2.847-2.414 4.063-6.728 4.885-10.181 2.306 9.128 4.45 18.306 7.063 27.353.819 4.414 2.37 8.477 3.51 12.786.806 3.046 1.018 6.289 1.51 9.397.306 4.385.313 8.792.904 13.153.615 4.538 1.74 8.99 3.135 13.349 2.797 8.744 6.467 17.16 6.45 26.515-.64 2.028-1.295 4.076-2.153 6.025-1.004 2.28-2.494 4.305-3.316 6.672-.954 2.749-.698 5.559-.396 8.403.263 2.482.257 4.87.257 7.362 0 1.195-.137 5.172 1.946 4.917 1.744-.213 2.48-3.77 2.748-5.067.47-2.285.19-4.628.468-6.937.132-1.101.394-3.091 1.397-1.467 1.088 1.765 1.594 4.128 2.21 6.089.753 2.397 2.087 5.226 1.326 7.734-.987.246-3.524-2.538-4.075-1.056-.296.796 1.414 2.519 1.858 3.1-.56-.604-4.86-5.102-4.948-2.36-.032 1.016 2.127 2.977 2.76 3.759-.848-.871-1.756-1.74-2.766-2.421-1.49-1.006-3.387-.686-2.01 1.596-1.568-.862-1.838 1.17-1.504 2.18.68 2.063 2.79 4.152 4.529 5.393 3.355 2.394 6.068-.777 8.435-3.1 2.259-2.217 3.857-4.953 6.035-7.203 1.037-1.071 2.359-1.241 3.34-2.515 1.235-1.602 2.4-3.477 1.895-5.628-.33-1.405.364 1.553 0 0"/><circle data-zone-name="torso" data-zone="2" cx="86" cy="205" r="45"/><circle data-zone-name="arms" data-zone="4" cx="26" cy="153" r="25"/><circle data-zone-name="legs" data-zone="3" cx="59" cy="393" r="25"/><circle data-zone-name="head" data-zone="1" cx="86" cy="62" r="50"/></svg>',KK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m24 46.18c-3.27 0-6.52-.73-9.47-2.12-1.03.43-2.83 1.09-5.07 1.53-3.51.69-5.75.38-6 .35-.62-.09-1.17-.48-1.46-1.03-.3-.56-.32-1.22-.05-1.79 2.37-5.11 1.73-9.9 1.49-10.71-1.11-2.69-1.68-5.54-1.68-8.47.01-12.25 9.98-22.23 22.24-22.23s22.23 9.97 22.23 22.23-9.97 22.23-22.23 22.23zm-9.42-6.33c.32 0 .64.08.93.23 2.6 1.37 5.54 2.1 8.49 2.1 10.05 0 18.23-8.18 18.23-18.23s-8.18-18.24-18.23-18.24-18.23 8.18-18.23 18.24c0 2.41.47 4.76 1.39 6.98.5 1.2 1.12 5.82-.48 11.04.59-.06 1.27-.15 2.03-.29 2.91-.57 4.94-1.59 4.96-1.6.29-.15.6-.22.91-.22z"/><circle cx="13.67" cy="23.95" r="3.42"/><path d="m24 20.52c-1.89 0-3.42 1.53-3.42 3.42s1.53 3.42 3.42 3.42 3.42-1.53 3.42-3.42-1.53-3.42-3.42-3.42z"/><circle cx="34.53" cy="23.95" r="3.42"/></svg>',YK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path class="icon-background" d="m24 46.14c-3.27 0-6.52-.73-9.47-2.12-1.03.43-2.83 1.09-5.07 1.53-3.51.69-5.75.38-6 .35-.62-.09-1.17-.48-1.46-1.03s-.32-1.22-.05-1.79c2.37-5.11 1.73-9.9 1.49-10.71-1.11-2.69-1.68-5.54-1.68-8.47.01-12.25 9.98-22.23 22.24-22.23s22.23 9.97 22.23 22.23-9.97 22.23-22.23 22.23z"/><path d="m24 46.14c-3.27 0-6.52-.73-9.47-2.12-1.03.43-2.83 1.09-5.07 1.53-3.51.69-5.75.38-6 .35-.62-.09-1.17-.48-1.46-1.03s-.32-1.22-.05-1.79c2.37-5.11 1.73-9.9 1.49-10.71-1.11-2.69-1.68-5.54-1.68-8.47.01-12.25 9.98-22.23 22.24-22.23s22.23 9.97 22.23 22.23-9.97 22.23-22.23 22.23zm-9.42-6.33c.32 0 .64.08.93.23 2.6 1.37 5.54 2.1 8.49 2.1 10.05 0 18.23-8.18 18.23-18.23s-8.18-18.24-18.23-18.24-18.23 8.18-18.23 18.24c0 2.41.47 4.76 1.39 6.98.5 1.2 1.12 5.82-.48 11.04.59-.05 1.27-.15 2.03-.29 2.91-.57 4.94-1.59 4.96-1.6.29-.15.6-.22.91-.22z"/></svg>',JK='<svg enable-background="new 0 0 48 48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m38.7 9.6c-3.3-2.1-5.2-5.7-5.2-9.6h-8.3v33.1c-.2 3.8-3.4 6.8-7.2 6.7s-6.8-3.4-6.7-7.2c.1-3.7 3.2-6.7 6.9-6.7.7 0 1.4.1 2 .3v-8.4c-.7-.1-1.4-.1-2-.1-8.4 0-15.2 6.8-15.2 15.2s6.9 15.1 15.3 15.1 15.2-6.8 15.2-15.2v-16.8c3.3 2.4 7.4 3.7 11.5 3.7v-8.3c-2.3.1-4.5-.6-6.3-1.8z"/></svg>',XK='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m43.66 9.43h-5.16l-3.04-7.09c-.32-.74-1.04-1.21-1.84-1.21h-18.39c-.8 0-1.52.48-1.84 1.21l-3.04 7.
19809h-6.01c-1.1 0-2 .9-2 2s.9 2 2 2h2.46v30.59c0 1.1.9 2 2 2h31.3c1.1 0 2-.9 2-2v-30.59h1.56c1.1 0 2-.9 2-2s-.9-2-2-2zm-27.11-4.31h15.75l1.85 4.31h-19.45zm21.55 36.9h-27.3v-28.59h6.9v22.29c0 1.1.9 2 2 2s2-.9 2-2v-22.29h5.49v22.29c0 1.1.9 2 2 2s2-.9 2-2v-22.29h6.9v28.59z"/></svg>',ZK='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44"><path class="icon-background" d="M16.17 37.69a20.48 20.48 0 01-11.55-3.41 1.3 1.3 0 01.78-2.34h1.08a14.59 14.59 0 005.92-1.18 9.15 9.15 0 01-4.5-5.02 1.31 1.31 0 01.26-1.26 8.3 8.3 0 01-2.78-6.34A1.32 1.32 0 016 17.08a1.94 1.94 0 01.3-.13 8.29 8.29 0 01.25-8.06 1.27 1.27 0 011-.61h.11a1.29 1.29 0 011 .43A20 20 0 0021 15.6c0-4.09 2.12-7 6.14-8.32a7.48 7.48 0 012.33-.38A9 9 0 0135 9a13 13 0 003.35-1.35 1.34 1.34 0 01.65-.13 1.32 1.32 0 01.7.2A1.34 1.34 0 0140.28 9a4.55 4.55 0 01-.45 1.47H40a1.33 1.33 0 011 .5 1.31 1.31 0 010 1.58 17.88 17.88 0 01-3.23 3.29C38 20 35.75 31.59 24.92 35.94a23.42 23.42 0 01-8.75 1.75z"/><path d="M29.43 8.2a7.82 7.82 0 015.13 2.21A12.75 12.75 0 0039 8.82c-.19 1.92-2.84 3.85-2.84 3.85a12.79 12.79 0 003.86-1 15.68 15.68 0 01-3.56 3.45c.45 2.65-.93 15.13-12 19.58a22.06 22.06 0 01-8.26 1.65 19.25 19.25 0 01-10.8-3.11h1.11a14.33 14.33 0 009.27-3 7.53 7.53 0 01-6.64-4.94 5.18 5.18 0 001.17.13 7.76 7.76 0 002-.27 7.1 7.1 0 01-5.6-7 6.92 6.92 0 003 .8h.1a7.12 7.12 0 01-2.13-9.38C14 16.68 21 17 22.19 17h.17c-.53-4.13 1.15-7.16 5.14-8.47a6.16 6.16 0 011.93-.31m0-2.62a8.92 8.92 0 00-2.74.4c-4 1.32-6.46 4.17-6.94 8A19.15 19.15 0 019.62 7.85 2.57 2.57 0 007.68 7h-.22a2.59 2.59 0 00-2 1.22 9.68 9.68 0 00-.78 8.33 2.57 2.57 0 00-.61 1.54 9.61 9.61 0 002.51 6.7 2.6 2.6 0 00.07 1.38 10.19 10.19 0 002.81 4.22 13.89 13.89 0 01-3 .31H5.4a2.6 2.6 0 00-1.56 4.68A21.88 21.88 0 0016.17 39a24.7 24.7 0 009.23-1.84C36.31 32.77 39 21.44 39.1 16.4a18.55 18.55 0 003-3.12 2.61 2.61 0 000-3.17 2.82 2.82 0 00-.56-.53l.06-.33a3 3 0 000-.43 2.59 2.59 0 00-2.6-2.6 2.53 2.53 0 00-1.31.37 13.35 13.35 0 01-2.36 1 9.93 9.93 0 00-5.85-2z"/></svg>',eY='<svg viewBox="0 0 30 25" xmlns="http://www.w3.org/2000/svg"><path d="M30 2.96c-1.104.501-2.29.84-3.535.993A6.307 6.307 0 0029.171.461a12.135 12.135 0 01-3.908 1.532A6.077 6.077 0 0020.77 0c-3.4 0-6.155 2.826-6.155 6.311 0 .495.055.977.16 1.438-5.116-.263-9.65-2.775-12.686-6.594a6.402 6.402 0 00-.834 3.173 6.352 6.352 0 002.738 5.253 6.01 6.01 0 01-2.788-.79v.08c0 3.058 2.122 5.609 4.937 6.189a6.023 6.023 0 01-2.78.108c.784 2.507 3.057 4.332 5.75 4.383A12.154 12.154 0 010 22.165 17.107 17.107 0 009.435 25c11.321 0 17.512-9.617 17.512-17.957 0-.274-.006-.546-.018-.817A12.68 12.68 0 0030 2.96z"/></svg>',tY='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m40.69 39.91c3.94-4.13 6.37-9.71 6.37-15.86 0-12.68-10.32-23-23-23s-23 10.33-23 23.01c0 6.14 2.43 11.73 6.37 15.86v.03s.37.36.37.36c.04.04.08.07.11.11l.22.22s.02.01.02.02c.52.5 1.06.97 1.62 1.41.03.02.06.04.08.07.54.42 1.1.83 1.67 1.2.05.04.11.07.16.1.55.35 1.12.68 1.7.99.08.04.15.08.23.12.57.29 1.15.56 1.74.8.09.04.17.07.26.1.59.23 1.2.45 1.81.63.08.02.17.05.25.07.62.18 1.26.34 1.9.46.07.01.14.02.21.04.66.12 1.32.22 2 .29.05 0 .09 0 .14.01.7.06 1.4.1 2.12.1s1.42-.04 2.12-.1c.05 0 .09 0 .14-.01.68-.07 1.34-.17 2-.29.07-.01.14-.02.21-.04.64-.13 1.27-.28 1.9-.46.08-.02.17-.05.25-.07.62-.19 1.22-.4 1.81-.63.09-.03.17-.07.26-.1.59-.24 1.17-.51 1.74-.8.08-.04.16-.08.23-.12.58-.31 1.15-.64 1.7-.99.06-.04.11-.07.17-.11.58-.38 1.13-.78 1.67-1.2.03-.02.06-.05.09-.07.56-.44 1.1-.92 1.61-1.41 0 0 .02-.02.03-.02l.28-.26s.04-.04.06-.05l.38-.36v-.03zm-16.63-34.85c10.47 0 19 8.52 19 19 0 4.11-1.33 7.91-3.55 11.02-1.63-3.69-4.89-7.14-8.94-9.03 2.01-1.79 3.28-4.39 3.28-7.29 0-5.4-4.39-9.79-9.79-9.79s-9.79 4.39-9.79 9.79c0 2.9 1.27 5.49 3.28 7.29-4.05 1.89-7.3 5.34-8.94 9.03-2.23-3.11-3.55-6.91-3.55-11.02-0-10.48 8.52-19 19-19zm12.29 33.46c-.27.23-.55.44-.84.66-.19.15-.38.29-.58.43-.26.18-.53.35-.79.52-.24.15-.48.3-.72.44-.25.14-.51.28-.76.41-.27.14-.55.28-.83.4-.25.11-.5.22-.75.32-.3.12-.61.23-.92.34-.25.08-.49.17-.74.24-.33.1-.67.18-1.01.26-.24.06-.48.12-.72.16-.38.07-.77.13-1.16.18-.21.03-.41.06-.62.08-.6.06-1.21.09-1.83.09s-1.23-.03-1.83-.09c-.21-.02-.41-.06-.62-.08-.39-.05-.78-.1-1.16-.18-.24-.05-.48-.11-.72-.16-.34-.08-.68-.16-1.01-.26-.25-.07-.5-.
19816-.74-.24-.31-.11-.62-.22-.93-.34-.25-.1-.5-.21-.75-.32-.28-.13-.56-.26-.84-.4-.26-.13-.51-.26-.76-.41-.24-.14-.48-.29-.72-.44-.27-.17-.53-.34-.79-.52-.2-.14-.38-.29-.58-.43-.28-.22-.57-.43-.84-.66-.03-.03-.06-.06-.09-.08 1.11-4.7 6.49-9.89 12.38-9.89s11.27 5.2 12.38 9.89c-.03.03-.06.06-.09.09zm-18.07-19.77c0-3.19 2.6-5.79 5.79-5.79s5.79 2.6 5.79 5.79-2.6 5.79-5.79 5.79-5.79-2.6-5.79-5.79z"/></svg>',nY='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m42.35 8.03h-4.42v-4.92c0-1.1-.9-2-2-2h-30.12c-1.1 0-2 .9-2 2v36.51c0 1.1.9 2 2 2h5.63v3.45c0 1.1.9 2 2 2h28.91c1.1 0 2-.9 2-2v-35.04c0-1.1-.9-2-2-2zm-34.54 29.6v-32.52h26.11v2.92h-20.48c-1.1 0-2 .9-2 2v27.6zm32.54 5.45h-24.91v-31.05h24.91z"/><path d="m33.3 18.99h-10.82c-1.1 0-2 .9-2 2s.9 2 2 2h10.82c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m33.3 25.96h-10.82c-1.1 0-2 .9-2 2s.9 2 2 2h10.82c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m33.3 32.85h-10.82c-1.1 0-2 .9-2 2s.9 2 2 2h10.82c1.1 0 2-.9 2-2s-.9-2-2-2z"/></svg>',rY='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m39.49 4.05h-31.01c-4.59 0-8.32 3.74-8.32 8.32v21.79c0 4.59 3.73 8.32 8.32 8.32h31.01c4.59 0 8.32-3.73 8.32-8.32v-21.79c0-4.59-3.73-8.32-8.32-8.32zm-31.01 4h31.01c2.38 0 4.32 1.94 4.32 4.32v2.13h-39.65v-2.13c0-2.38 1.94-4.32 4.32-4.32zm31.01 30.43h-31.01c-2.38 0-4.32-1.94-4.32-4.32v-15.66h39.65v15.66c0 2.38-1.94 4.32-4.32 4.32z"/></svg>',iY='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><circle class="reaction-icon-background" cx="24" cy="23.57" r="21.43"/><path d="M24,46.25A22.63,22.63,0,1,1,46.62,23.63,22.65,22.65,0,0,1,24,46.25Zm0-42A19.38,19.38,0,1,0,43.37,23.63,19.4,19.4,0,0,0,24,4.25ZM19,19.13c0-2.49-1.12-4.5-2.5-4.5s-2.5,2-2.5,4.5,1.12,4.5,2.5,4.5,2.5-2,2.5-4.5m16,0c0-2.49-1.12-4.5-2.5-4.5s-2.5,2-2.5,4.5,1.12,4.5,2.5,4.5,2.5-2,2.5-4.5m-5,15c0-3.59-2.46-6.5-5.5-6.5S19,30.54,19,34.13s2.46,6.5,5.5,6.5,5.5-2.91,5.5-6.5M10.35,14.9S8.68,16,8.15,19.06s.38,5.31,1.84,6.12,2.2.48,2-.75-1.86-4.28-.72-7.58-.89-2-.89-2m28.3,0s-2-1.34-.89,2-.48,6.34-.72,7.58.51,1.57,2,.75,2.37-3,1.84-6.12-2.2-4.16-2.2-4.16"/></svg>',sY='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m30.29 23.81 15.25-15.25c1.56-1.56 1.56-4.09 0-5.66-1.56-1.56-4.09-1.56-5.66 0l-15.25 15.25-15.24-15.24c-1.56-1.56-4.09-1.56-5.66 0-1.56 1.56-1.56 4.09 0 5.66l15.25 15.25-15.25 15.25c-1.56 1.56-1.56 4.09 0 5.66.78.78 1.8 1.17 2.83 1.17s2.05-.39 2.83-1.17l15.25-15.25 15.25 15.25c.78.78 1.8 1.17 2.83 1.17s2.05-.39 2.83-1.17c1.56-1.56 1.56-4.09 0-5.66l-15.25-15.25z"/></svg>',oY='<svg enable-background="new 0 0 48 48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="m47 12.4c-.6-2.1-2.2-3.7-4.2-4.2-3.7-1-18.8-1-18.8-1s-15 0-18.8 1c-2 .6-3.7 2.2-4.2 4.2-1 3.8-1 11.6-1 11.6s0 7.8 1 11.6c.6 2.1 2.2 3.7 4.2 4.2 3.7 1 18.8 1 18.8 1s15 0 18.8-1c2.1-.6 3.7-2.2 4.2-4.2 1-3.7 1-11.6 1-11.6s0-7.8-1-11.6zm-27.8 18.8v-14.4l12.5 7.2z"/></svg>',aY=`<svg class="clinical-challenge-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 199 <circle class="clinical-challenge-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 200 <rect class="clinical-challenge-icon__page" fill="#0EAEAC" height="70" opacity=".283762" rx="4" width="60" x="29.8462" y="24"/> 201 <g class="clinical-challenge-icon__group-1" fill="#0EAEAC"> 202 <circle class="clinical-challenge-icon__dot-1" cx="43.8462" cy="41.224447" r="4"/> 203 <rect class="clinical-challenge-icon__line-1" height="8" width="25" rx="4" x="55.129" y="37"/> 204 </g> 205 <g class="clinical-challenge-icon__group-2" fill="#0EAEAC"> 206 <circle class="clinical-challenge-icon__dot-2" opacity=".65" cx="43.8462" cy="57.47637" r="4"/> 207 <rect class="clinical-challenge-icon__line-2" opacity=".65" height="8" width="25" rx="4" x="55.129" y="53.738462"/> 208 </g> 209 <g class="clinical-challenge-icon__group-3" fill="#0EAEAC"> 210 <circle class="clinical-challenge-icon__dot-3" opacity=".4" cx="43.8462" cy="73.635985" r="4"/> 211 <rect class="clinical-challenge-icon__line-3" opacity=".4" height="8" width="25" rx="4" x="55.129" y="69.476923"/> 212 </g> 213</svg>
213`,cY=`<svg class="forum-driver-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 214 <circle class="forum-driver-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 215 <g class="forum-driver-icon__main-group" transform="translate(14 23)"> 216 <path class="forum-driver-icon__handle" d="m22.341042 54.9471233 18.1924397-3.2343087c2.1750335-.3866842 4.2517159 1.0630593 4.6384002 3.2380927.0006565.0036926.0013078.0073862.0019538.0110806l.7355361 4.2058805c.7885101 4.5087928-2.2200276 8.8054797-6.7265846 9.6066694l-9.7626942 1.7356423c-4.4902038.7982824-8.7773689-2.1946112-9.5756513-6.6848149-.0013553-.0076232-.0026998-.0152482-.0040336-.0228751l-.7394126-4.2280472c-.3798079-2.1717855 1.069338-4.2414042 3.2400465-4.6273196z" fill="#71eceb" opacity=".674024"/> 217 <path class="forum-driver-icon__megaphone" d="m2.53337967 40.8186232 47.85308723-35.30653255c1.7776574-1.31157512 4.2819752-.93374078 5.5935503.84391662.1879719.2547698.3450311.53095595.4678799.82275947l16.7881729 39.87707146c.8571776 2.0360603-.0984956 4.3814931-2.134556 5.2386707-.2635302.1109458-.5381968.193315-.8192901.2456954l-58.1547704 10.8368682c-1.8495872.3446619-3.68936022-.6462286-4.41938059-2.3802514l-6.48648975-15.4074071c-.7167055-1.7023959-.17454285-3.6741534 1.31179651-4.7707908z" fill="#71cde7"/> 218 <g class="forum-driver-icon__lines" fill="#71eceb"> 219 <path class="forum-driver-icon__line-1" d="m65.0994822 9.11085426 6.454451-6.50775304c1.4141993-1.42587796 3.7165368-1.43534542 5.1424147-.02114617.0070777.00701971.0141265.01406849.0211462.02114617 1.4292997 1.44110313 1.4292997 3.7650993 0 5.20620243l-6.4544511 6.50775305c-1.4141992 1.4258779-3.7165367 1.4353454-5.1424147.0211462-.0070777-.0070197-.0141264-.0140685-.0211461-.0211462-1.4292998-1.4411031-1.4292998-3.7650993 0-5.20620244z"/> 220 <path class="forum-driver-icon__line-2" d="m75.9238156 19.1058626 12.5650022-5.3775722c1.8558174-.7942531 4.004124.0663148 4.7983771 1.9221322.002836.0066264.0056524.0132613.0084491.0199044.7892693 1.8747572-.0835048 4.0350014-1.9535599 4.835348l-12.5650022 5.3775722c-1.8558174.7942531-4.004124-.0663148-4.7983771-1.9221321-.002836-.0066265-.0056523-.0132614-.0084491-.0199045-.7892693-1.8747572.0835048-4.0350014 1.9535599-4.835348z" opacity=".65"/> 221 <rect class="forum-driver-icon__line-3" height="7.362682" opacity=".5" rx="3.681341" width="17.343147" x="74.195028" y="32.763521"/> 222 </g> 223 </g> 224</svg>`,lY=`<svg class="forum-starter-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 225 <circle class="forum-starter-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 226 <g class="forum-starter-icon__main-group" transform="translate(19.9705 30.9536)"> 227 <path class="forum-starter-icon__bubble-1" d="m42.3737374 25.7575758c5.5228475 0 10 4.4771525 10 10v8.5213355c0 5.5228475-4.4771525 10-10 10l-29.3287374-.0003355-6.53586189 5.265344c-.6462843.5205563-1.43675884.8259187-2.26097234.8771371l-.24816577.0077022c-2.209139 0-4-1.790861-4-4v-11.9586481c-0-.017715.00011766-.0354227.00035269-.0531218l-.00035269-.1380779v-8.5213355c0-5.5228475 4.4771525-10 10-10z" fill="#71cde7"/> 228 <g class="forum-starter-icon__bubble-2-group" fill="#fff"> 229 <path class="forum-starter-icon__bubble-2" d="m81.5656566 39.8647502c0 2.209139-1.790861 4-4 4-.9225641 0-1.8167674-.3189022-2.5311351-.9026858l-9.0816326-7.4210644-37.064.0000156c-5.5228475 0-10-4.4771525-10-10v-15.5410156c0-5.5228475 4.4771525-10 10-10h42.6767677c5.5228475-0 10 4.4771525 10 10z" fill="#71eceb" opacity=".65"/> 230 <circle class="forum-starter-icon__dot-1" cx="35.374271" cy="17.371907" r="4.474547"/> 231 <circle class="forum-starter-icon__dot-2" cx="50.289427" cy="17.371907" opacity=".8" r="4.474547"/> 232 <circle class="forum-starter-icon__dot-3" cx="65.204583" cy="17.371907" opacity=".65" r="4.474547"/> 233 </g> 234 </g> 235</svg>`,uY=`<svg class="poll-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 236 <circle class="poll-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 237 <g class="poll-icon__main-group" fill="#379ec1" transform="translate(25 89), scale(1 -1)"> 238 <rect class="poll-icon__line-1" height="32" width="16" rx="8" x="0" y="0"/> 239 <rect class="poll-icon__line-2" height="66" width="16" opacity=".8" rx="8" x="24.5" y="0"/> 240 <rect class="poll-icon__line-3" height="49" width="16" opacity=".65" rx="8" x="51" y="0"/> 241 </g> 242</svg>
242`,fY=`<svg class="quizlet-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 243 <circle class="quizlet-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 244 <rect class="quizlet-icon__page" fill="#0da5a3" height="70" opacity=".283762" rx="4" width="60" x="29.8462" y="24"/> 245 <g class="quizlet-icon__group-1" fill="#0da5a3"> 246 <circle class="quizlet-icon__dot-1" cx="43.8462" cy="41.224447" r="4"/> 247 <rect class="quizlet-icon__line-1" height="8" width="25" rx="4" x="55.129" y="37"/> 248 </g> 249 <g class="quizlet-icon__group-2" fill="#0da5a3"> 250 <circle class="quizlet-icon__dot-2" opacity=".65" cx="43.8462" cy="57.47637" r="4"/> 251 <rect class="quizlet-icon__line-2" opacity=".65" height="8" width="25" rx="4" x="55.129" y="53.738462"/> 252 </g> 253 <g class="quizlet-icon__group-3" fill="#0da5a3"> 254 <circle class="quizlet-icon__dot-3" opacity=".4" cx="43.8462" cy="73.635985" r="4"/> 255 <rect class="quizlet-icon__line-3" opacity=".4" height="8" width="25" rx="4" x="55.129" y="69.476923"/> 256 </g> 257</svg>`,dY=`<svg class="this-or-that-icon" display="block" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg"> 258 <circle class="this-or-that-icon__bg" cx="59" cy="59" fill="#fff" r="59"/> 259 <rect class="this-or-that-icon__square" fill="#a49dff" height="51" width="51" rx="4" x="25" y="28"/> 260 <rect class="this-or-that-icon__circle" fill="#6e75ea" height="51" width="51" opacity=".86" rx="25.5" x="51" y="45"/> 261</svg>`,hY=e=>Object.assign({"/assets/icons/accessibility.svg":FQ,"/assets/icons/arrow.svg":VQ,"/assets/icons/at.svg":UQ,"/assets/icons/badge-award-finalist.svg":BQ,"/assets/icons/badge-award-winner.svg":jQ,"/assets/icons/badge-caregiver.svg":zQ,"/assets/icons/badge-community-admin.svg":HQ,"/assets/icons/badge-contributor.svg":qQ,"/assets/icons/badge-digital-creator.svg":WQ,"/assets/icons/badge-healthcare-provider.svg":GQ,"/assets/icons/badge-member.svg":QQ,"/assets/icons/badge-moderator.svg":KQ,"/assets/icons/badge-patient-leader-certification.svg":YQ,"/assets/icons/badge-patient-leader.svg":JQ,"/assets/icons/bell.svg":XQ,"/assets/icons/blog.svg":ZQ,"/assets/icons/caret.svg":eK,"/assets/icons/check-outlined.svg":tK,"/assets/icons/check.svg":nK,"/assets/icons/clipboard.svg":rK,"/assets/icons/clock.svg":iK,"/assets/icons/dna.svg":sK,"/assets/icons/ellipsis.svg":oK,"/assets/icons/envelope.svg":aK,"/assets/icons/exit.svg":cK,"/assets/icons/facebook-outlined.svg":lK,"/assets/icons/facebook.svg":uK,"/assets/icons/flag.svg":fK,"/assets/icons/flying-envelope.svg":dK,"/assets/icons/follow.svg":hK,"/assets/icons/gear.svg":pK,"/assets/icons/google.svg":mK,"/assets/icons/hcp_connect_badge.svg":gK,"/assets/icons/info.svg":_K,"/assets/icons/instagram.svg":yK,"/assets/icons/like.svg":vK,"/assets/icons/link.svg":bK,"/assets/icons/linkedin.svg":wK,"/assets/icons/magnifying-glass.svg":SK,"/assets/icons/mega-menu-community-hub.svg":EK,"/assets/icons/mega-menu-forums.svg":TK,"/assets/icons/mega-menu-stories.svg":kK,"/assets/icons/megaphone.svg":xK,"/assets/icons/menu-search.svg":CK,"/assets/icons/my-journai-arrow.svg":IK,"/assets/icons/outbound.svg":OK,"/assets/icons/password-hide.svg":AK,"/assets/icons/password-show.svg":RK,"/assets/icons/pause.svg":PK,"/assets/icons/pencil.svg":DK,"/assets/icons/person.svg":NK,"/assets/icons/photo.svg":$K,"/assets/icons/pinterest.svg":LK,"/assets/icons/play.svg":MK,"/assets/icons/podcast.svg":FK,"/assets/icons/prevalence.svg":VK,"/assets/icons/printer.svg":UK,"/assets/icons/question.svg":BK,"/assets/icons/reply-arrow.svg":jK,"/assets/icons/ribbon.svg":zK,"/assets/icons/sad.svg":HK,"/assets/icons/same.svg":qK,"/assets/icons/send.svg":WK,"/assets/icons/support.svg":GK,"/assets/icons/symptoms.svg":QK,"/assets/icons/text-bubble-ellipsis.svg":KK,"/assets/icons/text-bubble.svg":YK,"/assets/icons/tiktok.svg":JK,"/assets/icons/trash-can.svg":XK,"/assets/icons/twitter-outlined.svg":ZK,"/assets/icons/twitter.svg":eY,"/assets/icons/user.svg":tY,"/assets/icons/view-articles.svg":nY,"/assets/icons/website.svg":rY,"/assets/icons/wow.svg":iY,"/assets/icons/x.svg":sY,"/assets/icons/youtube.svg":oY})[`/assets/icons/${e}`],zae=e=>Object.assign({"/assets/engagement-toolkit-illustrations/clinical-challenge.svg":aY,"/assets/engagement-toolkit-illustrations/forum-driver.svg":cY,"/assets/engagement-toolkit-illustrations/forum-starter.svg":lY,"/assets/engagement-toolkit-illustrations/poll.svg":uY,"/assets/engagement-toolkit-illustrations/quizlet.svg":fY,"/assets/engagement-toolkit-illustrations/this-or-that.svg":dY})[`/assets/engagement-toolkit-illustrations/${e}`];function Y2(e){return`/common/nexus/default-user-${e==="full"?"full":"thumb"}.png`}function Nw(e){return/wp-content\//.test(e)?e:`/content/${e}`}function Py(e,t="thumb"){return!e||!e[t]?Y2(t):Nw(e[t])}function Hae(e,t="thumb"){return e?Nw(e):Y2(t)}const pY=["innerHTML"],mY=["innerHTML"],gY=["innerHTML"],_Y=["innerHTML"],Xe={__name:"IconComponent",props:{name:{type:String,required:!0},title:{type:String,default:null},container:{type:String,default:"span",validator:e=>["div","span","i","button"].includes(e)}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=c=>c.replace(">",`><title>${n.title}</title>`),s=()=>{const c=hY(`${n.name}.svg`);return n.title&&c?i(c):c},o=c=>{r("click",c)},a=re(()=>s());return(c,l)=>e.container==="div"?(E(),P("div",{key:0,class:"icon",onClick:o,innerHTML:F(a)},null,8,pY)):e.container==="i"?(E(),P("i",{key:1,class:"icon",onClick:o,innerHTML:F(a)},null,8,mY)):e.container==="button"?(E(),P("button",{key:2,class:"icon",onClick:o,innerHTML:F(a)},null,8,gY)):e.container==="span"?(E(),P("span",{key:3,class:"icon",onClick:o,innerHTML:F(a)},null,8,_Y)):Y("",!0)}},yY={name:"LoadingSpinner"},vY={class:"loading-spinner","data-test-id":"loading-spinner"};function bY(e,t,n,r,i,s){return E(),P("div",vY,[...t[0]||(t[0]=[C("span",{class:"loading-spinner__dot"},null,-1),C("span",{class:"loading-spinner__dot"},null,-1),C("span",{class:"loading-spinner__dot"},null,-1),C("span",{class:"loading-spinner__hidden-text"}," Loading... ",-1)])])}const J2=Object.assign(te(yY,[["render",bY],["__scopeId","data-v-e7b20f6c"]]),{__name:"LoadingSpinner"}),wY={name:"LoadingButton",props:{loading:{type:Boolean,default:!1},buttonType:{type:String,default:""}},methods:{handleClick(e){this.$snowplow.trackButtonEvent({data:{type:`${this.buttonType}`,text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}})}}},SY=["disabled"];function EY(e,t,n,r,i,s){const o=J2;return E(),P("button",{class:"button",disabled:n.loading,onClick:t[0]||(t[0]=(...a)=>s.handleClick&&s.handleClick(...a))},[n.loading?(E(),q(o,{key:0,class:"loading-spinner--white"})):_t(e.$slots,"default",{key:1},()=>[t[1]||(t[1]=ee(" Submit ",-1))])],8,SY)}const Ar=Object.assign(te(wY,[["render",EY]]),{__name:"LoadingButton"}),TY=ke` 262mutation updateUser( 263 $username: String, 264 $firstName: String, 265 $lastName: String, 266 $bio: String, 267 $ethnicity: EthnicityOption, 268 $gender: GenderOption, 269 $birthday: Birthday, 270 $zipcode: String, 271) { 272 updateUser( 273 username: $username, 274 firstName: $firstName, 275 lastName: $lastName, 276 bio: $bio, 277 ethnicity: $ethnicity, 278 gender: $gender, 279 birthday: $birthday, 280 zipcode: $zipcode, 281 ) { 282 username 283 email 284 slug 285 id 286 bio 287 } 288} 289`,qae=ke` 290mutation updateEmail($clearToken: Boolean, $email: String, $token: String) { 291 updateEmail(clearToken: $clearToken, email: $email, token: $token) { 292 id 293 email 294 isUpdatingEmail 295 slug 296 } 297} 298`,Wae=ke` 299mutation updateGeneralSettings( 300 $username: String, 301 $subscribed: Boolean, 302 $email: String, 303) { 304 updateGeneralSettings( 305 username: $username, 306 subscribed: $subscribed, 307 email: $email, 308 ) { 309 id 310 username 311 email 312 isUpdatingEmail 313 slug 314 receiveEmails 315 } 316} 317`;ke` 318mutation unsubscribe($email: Email!, $hash: String, $legacyHash: String) { 319 unsubscribe(email: $email, hash: $hash, legacyHash: $legacyHash) 320} 321`;const Gae=ke` 322mutation delete_user { 323 delete_user 324} 325`,Qae=ke` 326mutation deleteProfilePicture { 327 deleteProfilePicture 328} 329`,$w=ke` 330mutation resendEmailVerification($verificationRedirect: String) { 331 resendEmailVerification(verificationRedirect: $verificationRedirect) 332}`,kY=ke` 333mutation setPhone($phoneNumber: PhoneNumber!) { 334 setPhone(phoneNumber: $phoneNumber) 335} 336`,xY=ke` 337mutation resendPhoneVerification { 338 resendPhoneVerification 339}`,CY=ke` 340mutation verifyPhone($code: String!) { 341 verifyPhone(code: $code) 342} 343`,IY=ke` 344mutation setDisorderRelationship($disorderId: NexusId, $relationship: DisorderRelationship
344) { 345 setDisorderRelationship(disorderId: $disorderId, relationship: $relationship) 346} 347`,Kae=ke` 348mutation updateUserPrivacySetting($name: String!, $isPrivate: Boolean!) { 349 updateUserPrivacySetting(name: $name, isPrivate: $isPrivate) { 350 id 351 name 352 isPrivate 353 } 354} 355`,Yae=ke` 356mutation deleteUserDisorder($id: NexusId!) { 357 deleteUserDisorder(id: $id) 358} 359`,OY=ke` 360mutation setSocialSites($socialSites: [NewSocialSite!]) { 361 setSocialSites(socialSites: $socialSites) 362} 363`;ke` 364mutation updateSocialSite($id: NexusId!, $type: String!, $url: String!) { 365 updateSocialSite(id: $id, type: $type, url: $url) 366}`;const Jae=ke` 367mutation deleteSocialSite($id: NexusId!) { 368 deleteSocialSite(id: $id) 369}`,AY={name:"ResendVerificationEmail",data(){return{tryingToSubmit:!1}},computed:{...ue(De,["userIsLoggedIn","userIsUnverified"])},methods:{...yt(Ae,["openAuthDialog"]),resendEmail(){if(!this.userIsLoggedIn||!this.userIsUnverified){Ge().addToastNotification({toastType:"error",description:"You must be logged in and unverified to resend a verification email."}),this.$logger.error("[Invalid Resend Email Verification Attempt: ResendVerificationEmail]");return}this.tryingToSubmit=!0,this.$apollo.mutate({mutation:$w}).then(()=>{this.openAuthDialog({authStep:"verifyViaEmail"}),Ge().addToastNotification({toastType:"success",description:"Email resent."})}).catch(e=>{this.$logger.error(`[Resend Email Verification] ${e}`),Ge().addToastNotification({toastType:"error",description:`${e}`.replace("Error: GraphQL error: ","")})}).finally(()=>{this.tryingToSubmit=!1})}}};function RY(e,t,n,r,i,s){const o=Ar;return E(),q(o,{class:"resend-verification-email text-button text-button--link-style","data-test-id":"resend-verification-email-button",loading:i.tryingToSubmit,onClick:s.resendEmail},{default:j(()=>[_t(e.$slots,"default",{},()=>[t[0]||(t[0]=ee("verify via email",-1))])]),_:3},8,["loading","onClick"])}const PY=Object.assign(te(AY,[["render",RY]]),{__name:"ResendVerificationEmail"}),DY={name:"ResendVerificationText",data(){return{tryingToSubmit:!1}},methods:{resendVerificationText(){this.tryingToSubmit=!0,this.$apollo.mutate({mutation:xY}).then(()=>{Ge().addToastNotification({toastType:"success",description:"Code resent."})}).catch(e=>{this.$logger.error(`[Resend Phone Verification] ${e}`),Ge().addToastNotification({toastType:"error",description:`${e}`.replace("Error: GraphQL error: ","")})}).finally(()=>{this.tryingToSubmit=!1})}}};function NY(e,t,n,r,i,s){const o=Ar;return E(),q(o,{class:"resend-verification-text text-button text-button--link-style","data-test-id":"resend-verification-text-button",loading:i.tryingToSubmit,onClick:s.resendVerificationText},{default:j(()=>[_t(e.$slots,"default",{},()=>[t[0]||(t[0]=ee("Resend Text",-1))])]),_:3},8,["loading","onClick"])}const $Y=Object.assign(te(DY,[["render",NY]]),{__name:"ResendVerificationText"}),LY={name:"VerifyViaTextMessageButton"};function MY(e,t,n,r,i,s){return E(),P("span",null,[C("button",{class:"text-button text-button--link-style","data-test-id":"verify-via-text-message-button",onClick:t[0]||(t[0]=o=>("useAuthStore"in e?e.useAuthStore:F(Ae))().openAuthDialog({authStep:"requestVerificationText"}))}," verify via text message "),t[1]||(t[1]=ee(". ",-1))])}const FY=Object.assign(te(LY,[["render",MY]]),{__name:"VerifyViaTextMessageButton"}),VY={name:"HelpCopySection",components:{ResendVerificationEmail:PY,ResendVerificationText:$Y,VerifyViaTextMessageButton:FY},props:{dialogType:{type:String,required:!0}},computed:{actionOne(){return{enterVerificationNumber:"resend-verification-text",verifyViaEmail:"resend-verification-email"}[this.dialogType]||""},actionTwo(){return{enterVerificationNumber:"resend-verification-email",verifyViaEmail:"verify-via-text-message-button"}[this.dialogType]||""}}},UY={class:"verification-help-actions"};function BY(e,t,n,r,i,s){return E(),P("div",UY,[(E(),q(Mi(s.actionOne),null,{default:j(()=>[...t[0]||(t[0]=[ee("Resend now",-1)])]),_:1})),t[1]||(t[1]=ee(" or ",-1)),(E(),q(Mi(s.actionTwo)))])}const jY=Object.assign(te(VY,[["render",BY],["__scopeId","data-v-ea1889ab"]]),{__name:"VerificationHelpActions"});function Lw(e){return!e||typeof e!="string"?"":e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()}const zY={name:"HelpCopySection",props:{dialogType:{type:String,required:!0}},computed:{...ue(tt,["siteHasFeature"]),hasTwoActions(){return this.dialogType==="enterVerificationNumber"||this.dialogType==="verifyViaEmail"},isLogInOptions(){return this.dialogType==="logIn"},kebabCaseDialogType(){return Lw(this.dialogType)||""},buttonTextAndAction(){return{logIn:[{text:"Create one now.",action:"openRegisterDialog"}],register:[{text:"Log in",action:"openLoginDialog"}],loginWithEmail:[{text:"Need help signing in?",action:"openRequestPasswordReset"}],requestVerificationText:[{text:"Return to verification options",action:"openVerificationPrompt"}],requestPasswordReset:[{text:"Return to log in options",action:"openLoginDialog"}]}[this.dialogType]||""},helpCopyForDisorderDemographicInfo(){return this.siteHasFeature("social_network")?"Diagnosed with more than one condition?":"Diagnosed with more than one rare condition?"},secondaryHelpCopyForDisorderDemographicInfo(){return this.siteHasFeature("social_network")?"Let us know in your profile.":"Let us know in your profile. By providing us with this information, we are able to personalize a site experience that is specific to your condition."},helpIcon(){return{verificationOptions:"question",enterVerificationNumber:"question",verifyViaEmail:"question",requestDisorderDemographicInfo:"question"}[this.dialogType]||""},helpCopy(){return{logIn:"Don't have an account?",register:"Already a member?",verificationOptions:"Why do I need to verify?",enterVerificationNumber:"Didnât receive a text message?",verifyViaEmail:"Didn't receive the email?",requestDisorderDemographicInfo:this.helpCopyForDisorderDemographicInfo}[this.dialogType]||""},helpCopySecondary(){return{logIn:"(It's free and easy to do!)",verificationOptions:"This helps us prevent spammers and keep our community secure.",requestDisorderDemographicInfo:this.secondaryHelpCopyForDisorderDemographicInfo}[this.dialogType]||""},flowNavigation(){return{loginWithEmail:{returnText:"Return to log in options",returnAction:"openLoginDialog",switchFlowText:"create an account",switchFlowAction:"openAuthDialog",switchFlowAuthStep:"registerWithEmail"}
369,registerWithEmail:{returnText:"Return to sign up options",returnAction:"openRegisterDialog",switchFlowText:"log in",switchFlowAction:"openLoginWithEmailDialog"}}[this.dialogType]||""}},methods:{handleClick(e,t=!1){if(t){Ae()[e]({authStep:t});return}Ae()[e]()}}},HY={class:"help-copy-section"},qY={key:1,class:"help-copy-section__help-text","data-test-id":"help-copy-section-help-text"},WY={key:2,class:"help-copy-section__flow-navigation-text"},GY=["onClick"],QY={key:3,class:"help-copy-section__secondary-text","data-test-id":"help-copy-section-secondary-text"};function KY(e,t,n,r,i,s){const o=Xe,a=jY;return E(),P("div",HY,[C("div",{class:ve(`help-copy-section__container help-copy-section__container--${s.kebabCaseDialogType}`)},[s.helpIcon?(E(),q(o,{key:0,name:s.helpIcon,class:"help-copy-section__icon"},null,8,["name"])):Y("",!0),s.helpCopy?(E(),P("p",qY,ye(s.helpCopy),1)):Y("",!0),s.flowNavigation?(E(),P("p",WY,[C("button",{class:"help-copy-section__flow-navigation-link text-button text-button--link-style","data-test-id":"help-copy-section-return-button",onClick:t[0]||(t[0]=c=>s.handleClick(s.flowNavigation.returnAction))},ye(s.flowNavigation.returnText),1),t[2]||(t[2]=ee(" or ",-1)),C("button",{class:"help-copy-section__flow-navigation-link text-button text-button--link-style","data-test-id":"help-copy-section-switch-flow-button",onClick:t[1]||(t[1]=c=>s.handleClick(s.flowNavigation.switchFlowAction,s.flowNavigation.switchFlowAuthStep))},ye(s.flowNavigation.switchFlowText),1)])):Y("",!0),(E(!0),P(Me,null,Pt(s.buttonTextAndAction,(c,l)=>(E(),P("button",{key:l,class:"help-copy-section__link text-button text-button--link-style","data-test-id":"help-copy-section-link",onClick:u=>s.handleClick(c.action)},ye(c.text),9,GY))),128)),s.helpCopySecondary||s.hasTwoActions?(E(),P("p",QY,[s.hasTwoActions?(E(),q(a,{key:0,"dialog-type":n.dialogType},null,8,["dialog-type"])):(E(),P(Me,{key:1},[ee(ye(s.helpCopySecondary),1)],64))])):Y("",!0)],2)])}const YY=Object.assign(te(zY,[["render",KY],["__scopeId","data-v-828d4fde"]]),{__name:"HelpCopySection"}),JY={name:"SiteLogo",props:{link:{type:Boolean,default:!1},showSecondaryShnLogo:{type:Boolean,default:!1}},data(){return{logoSize:48,logoSrc:"/images/logo_avatar.svg"}},created(){tt().siteHasFeature("social_network")&&this.showSecondaryShnLogo&&(this.logoSrc="/images/shn-logo-v2.svg")}},XY={class:"site-logo"},ZY=["src","alt","width","height"],eJ=["src","alt"];function tJ(e,t,n,r,i,s){const o=li;return E(),P("div",XY,[n.link?(E(),q(o,{key:0,to:"/",class:"site-logo__link link link--unstyled"},{default:j(()=>[C("img",{src:i.logoSrc,alt:e.$site.name,width:i.logoSize,height:i.logoSize,class:"site-logo__image","data-test-id":"site-logo-image"},null,8,ZY)]),_:1})):(E(),P("img",{key:1,src:i.logoSrc,alt:e.$site.name,class:"site-logo__image","data-test-id":"site-logo-image"},null,8,eJ))])}const Mw=Object.assign(te(JY,[["render",tJ],["__scopeId","data-v-2c787704"]]),{__name:"SiteLogo"}),nJ={name:"DialogBase",props:{maxWidth:{type:Number,default:500},showLogo:{type:Boolean,default:!1},tooltipAnchorRect:{type:Object,default:()=>{}},dialogType:{type:String,default:""},ariaLabelText:{type:String,default:""},unobtrusiveMode:{type:Boolean,default:!1}},data(){return{cssPosition:"top: 120px; left: 50%; transform: translateX(-50%);",positionOffset:8}},computed:{shouldIncludeIcon(){return this.dialogType.includes("accountConfirmation")||this.dialogType.includes("verifyViaEmail")},iconNameBasedOnDialogType(){return{accountConfirmation:"check",accountConfirmationWithNoCTA:"check",verifyViaEmail:"flying-envelope"}[this.dialogType]||""},dialogContainerAriaLabel(){return this.ariaLabelText?this.ariaLabelText:this.headingContent?this.headingContent:"Dialog"},backButton(){return{loginWithEmail:{action:"openLoginDialog"},registerWithEmail:{action:"openRegisterDialog"},requestVerificationText:{action:"openVerificationPrompt"},requestPasswordReset:{action:"openLoginDialog"}}[this.dialogType]||""},headingContent(){return this.$slots.heading?.()[0].children},copyContent(){return this.$slots.copy?.()[0].children}},mounted(){this.$refs.dialogContainer.focus({preventScroll:!0}),this.unobtrusiveMode&&(this.cssPosition="top: auto; left: 50%; bottom: 16px; transform: translateX(-50%);"),mD(this.tooltipAnchorRect)||this.setCssPosition(),this.$snowplow.enableDialogTracking({data:{dialog_type:this.dialogType,dialog_text:this.headingContent||"",dialog_class_list:["dialog-base__container"]}})},methods:{closeDialogIfClickedOutside(e){this.$refs.dialogContainer.contains(e.target)||this.closeDialog()},resetFocus(){const e=document.querySelector("#app");e&&(e.setAttribute("tabindex",-1),e.focus(),e.addEventListener("blur",t=>{t.target.removeAttribute("tabindex")},{once:!0}))},closeDialog(){this.$emit("close"),$t().resetSourceContext(),this.resetFocus()},goBack(){Ae()[this.backButton.action]()},checkIsOffscreenY(){return this.$refs.dialogContainer.getBoundingClientRect().height+this.tooltipAnchorRect.top>window.innerHeight},checkIsOffscreenX(){return this.$refs.dialogContainer.getBoundingClientRect().width+this.tooltipAnchorRect.right>window.innerWidth},setCssPosition(){const e=this.checkIsOffscreenY(),t=this.checkIsOffscreenX();if(e&&t){this.cssPosition=`bottom: ${this.positionOffset}px; right: ${this.positionOffset}px`;return}if(e){this.cssPosition=` 370 bottom: ${this.positionOffset}px; 371 left: ${this.tooltipAnchorRect.right+this.positionOffset}px; 372 `;return}if(t){this.cssPosition=` 373 top: ${this.tooltipAnchorRect.top+this.positionOffset}px; 374 right: ${this.positionOffset}px; 375 `;return}this.cssPosition=` 376 top: ${this.tooltipAnchorRect.top}px; 377 left: ${this.tooltipAnchorRect.right+this.positionOffset}px; 378 `}}},rJ={class:"dialog-base__wrapper"},iJ=["aria-label"],sJ={key:2,id:"dialog-heading",class:"dialog-base__heading","data-test-id":"dialog-base-heading"},oJ={key:3,id:"dialog-copy",class:"dialog-base__copy","data-test-id":"dialog-base-copy"};function aJ(e,t,n,r,i,s){const o=Xe,a=Mw;return E(),q(Fr,{appear:""},{default:j(()=>[C("div",{class:ve(["dialog-base",n.unobtrusiveMode?"dialog-base--unobtrusive-mode":""]),"data-test-id":"dialog-base",onMousedown:t[1]||(t[1]=(...c)=>s.closeDialogIfClickedOutside&&s.closeDialogIfClickedOutside(...c)),onKeyup:t[2]||(t[2]=V4((...c)=>s.closeDialog&&s.closeDialog(...c),["esc"]))},[C("div",rJ,[C("div",{ref:"dialogContainer",style:Pi(`max-width: ${n.maxWidth}px; ${i.cssPosition}`),role:"dialog","aria-label":s.dialogContainerAriaLabel,class:"dialog-base__container","data-test-id":"dialog-base-container",tabindex:"0",onClick:t[0]||(t[0]=on(()=>{},["stop"]))},[Kt(I(o,{container:"button",name:"caret",class:"dialog-base__icon-button dialog-base__icon-button--back","data-test-id":"dialog-base-back-button",type:"button",title:"back","aria-label":"back",onClick:s.goBack},null,8,["onClick"]),[[oi,s.backButton]]),n.showLogo?(E(),q(a,{key:0})):Y("",!0),I(o,{container:"button",name:"x",class:"dialog-base__icon-button dialog-base__icon-button--close","data-test-id":"dialog-base-close-button",type:"button",title:"close","aria-label":"close",onClick:s.closeDialog},null,8,["onClick"]),s.shouldIncludeIcon?(E(),q(o,{key:1,name:s.iconNameBasedOnDialogType,class:"dialog-base__icon"},null,8,["name"])):Y("",!0),s.headingContent?(E(),P("h2",sJ,[_t(e.$slots,"heading",{},void 0,!0)])):Y("",!0),s.copyContent?(E(),P("p",oJ,[_t(e.$slots,"copy",{},void 0,!0)])):Y("",!0),_t(e.$slots,"default",{},void 0,!0)],12,iJ)])],34)]),_:3})}const ru=Object.assign(te(nJ,[["render",aJ],["__scopeId","data-v-26a5d17b"]]),{__name:"DialogBase"}),gc={computed:{...ue(De,["userIsLoggedIn","userIsUnverified"]),...ue(Ae,["authDialogRedirect","authOpen"]),redirect(){return this.$route?.query?.redirect||this.$route?.query?.redirect_to||this.authDialogRedirect},redirectParams(){const{redirect:e,redirect_to:t,...n}=this.$route.query;return n},redirectIsSameOrigin(){return this.redirect?this.redirect.startsWith("/")?!0:gD(this.redirect)?new URL(this.redirect).origin===new URL(window.location).origin:!1:!1},redirectToWP(){return/admin|wp-admin|dashboard/.test(this.redirect)},redirectToModeration(){return/moderation/.test(this.redirect)},redirectOutsideTheSpa(){return this.redirect.startsWith("http")||this.redirect.startsWith("www.")||this.redirectToModeration||this.redirectToWP},fullRedirectUrl(){if(!this.redirect)return null;let e=`${this.redirect}?`;try{e=new URL(this.redirect),Object.keys(this.redirectParams).forEac
378h(t=>e.searchParams.append(t,this.redirectParams[t])),e=e.toString()}catch{Object.keys(this.redirectParams).forEach(t=>{e=`${e}&${t}=${this.redirectParams[t]}`})}return e},redirectAsRoute(){if(!this.redirect)return null;const e=this.$router.resolve(this.redirect);return e.name?e:null},userMustVerifyFirst(){return this.redirectAsRoute?this.redirectAsRoute?.meta?.requiresVerify&&this.userIsUnverified:!1},userMustLoginFirst(){return(this.redirectAsRoute?.meta?.requiresAuth||this.redirectAsRoute?.meta?.requiresVerify||this.redirectToModeration||this.redirectToWP)&&!this.userIsLoggedIn},userQualifiesForRedirect(){return!this.userMustLoginFirst&&!this.userMustVerifyFirst}},methods:{...yt(Ae,["closeAuthDialog","clearAuthDialogRedirect","openVerificationPrompt"]),cleanupAuthDialog(){this.authOpen&&(this.closeAuthDialog(),this.clearAuthDialogRedirect())},handleLoginRedirect(){if(this.userIsLoggedIn){if(!this.redirect){["member-login","register"].includes(this.$route.name)&&(this.$router.push({name:"profile"}),this.cleanupAuthDialog());return}if(this.redirectOutsideTheSpa){if(!this.redirectIsSameOrigin){this.$router.push("/");return}window.location=this.fullRedirectUrl,this.cleanupAuthDialog();return}if(this.userMustVerifyFirst){this.$router.push({name:"profile",query:this.$route.query}),this.openVerificationPrompt({dialogHeading:"You must verify your account to proceed"});return}this.$router.push({path:this.redirect,query:this.redirectParams}),this.cleanupAuthDialog()}}}},cJ={name:"ButtonComponent",props:{buttonType:{type:String,default:""},useButtonClass:{type:Boolean,default:!0}},methods:{handleClick(e){this.$snowplow.trackButtonEvent({data:{type:this.buttonType,text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}})}}};function lJ(e,t,n,r,i,s){return E(),P("button",{class:ve({button:n.useButtonClass}),onClick:t[0]||(t[0]=(...o)=>s.handleClick&&s.handleClick(...o))},[_t(e.$slots,"default",{},()=>[t[1]||(t[1]=ee("Button Text",-1))])],2)}const Yi=Object.assign(te(cJ,[["render",lJ]]),{__name:"ButtonComponent"}),uJ={name:"FacebookLogin",props:{buttonText:{type:String,default:()=>""}},computed:{buttonTextContent(){return this.buttonText?this.buttonText:"Log in with Facebook"}}};function fJ(e,t,n,r,i,s){const o=Xe,a=Yi;return E(),q(a,{class:"facebook-login button--block button--social-login"},{default:j(()=>[I(o,{name:"facebook",class:"button__icon"}),ee(" "+ye(s.buttonTextContent),1)]),_:1})}const dJ=Object.assign(te(uJ,[["render",fJ],["__scopeId","data-v-d631ce0a"]]),{__name:"FacebookLogin"}),hJ={name:"GoogleLogin",props:{buttonTextOverride:{type:String,default:""}},computed:{buttonText(){return this.buttonTextOverride?this.buttonTextOverride:"Log in with Google"}}};function pJ(e,t,n,r,i,s){const o=Xe,a=Yi;return E(),q(a,{class:"button--block button--social-login"},{default:j(()=>[I(o,{name:"google",class:"button__icon"}),ee(" "+ye(s.buttonText),1)]),_:1})}const mJ=Object.assign(te(hJ,[["render",pJ]]),{__name:"GoogleLogin"}),Fw=ke` 379mutation updateUser($username: String) { 380 updateUser(username: $username) { 381 username 382 id 383 email 384 slug 385 } 386} 387`,Fo={data(){return{otTimeoutId:null}},methods:{setDataLayer(e){const t=typeof e=="string"?JSON.parse(e):e||{},{visitorType:n,user:r,userIsLoggedIn:i,userHasSubscribed:s,userHasBeenLoggedIn:o,userWasReferredByEmail:a}=De(),{pageViewId:c}=It(),l={...t,visitorType:n,pageViewId:c,userIsLoggedIn:i};r&&(l.nexus_user_id=r.id,l.wp_user_id=r.legacyId,l.vmp_email=r.sha256Email);const u=this.$snowplow.getSnowplowDuid();u&&(l.snowplow_user_d_id=u),(o||a||s)&&(l.is_1p_identifiable=!0),l.ga_user_id=this.gaUserId(),Za().setDataLayer(l)},gaUserId(){return window&&window.ga&&window.ga.getAll&&window.ga.getAll()[0].get("clientId")||this.gaUserIdFromCookie()},gaUserIdFromCookie(){const e=(document&&document.cookie||"").match(/_ga=(.*?);/);return e&&e[1]},pushDataLayer(e){const t=e||Za().getDataLayer;this.$gam.setTargeting(t),this.pushDatalayerToGtm(t)},pushDatalayerToGtm(e){!window||!window.dataLayer||window.dataLayer.push(e)},sendNexusReady(){this.shouldWaitForOneTrust()?(this.$gtm.trackEvent({event:"ot-not-ready"}),window.addEventListener("OneTrustGroupsUpdated",this.sendReadyAndContentView),this.otTimeoutId=window.setTimeout(this.otTimeout,6e3)):(this.$gtm.trackEvent({event:"nexus-ready"}),this.sendContentView())},otTimeout(){this.$gtm.trackEvent({event:"ot-timeout"}),this.sendReadyAndContentView()},sendReadyAndContentView(){window.clearTimeout(this.otTimeoutId),window.removeEventListener("OneTrustGroupsUpdated",this.sendReadyAndContentView),window.setTimeout(()=>{this.$gtm.trackEvent({event:"nexus-ready"}),this.sendContentView()})},sendContentView(){const{name:e}=this.$route,t=this.$route.fullPath,n={};this.$gtm.trackView(e,t,n)},shouldWaitForOneTrust(){return this.$site.settings.one_trust_id&&!window.oneTrustFired}}},gJ={name:"SocialLogin",mixins:[Fo,gc],props:{accountProviders:{type:Array,default:()=>["facebook","google"]},isRegistrationPage:{type:Boolean,default:()=>!1},googleButtonText:{type:String,default:()=>""},facebookButtonText:{type:String,default:()=>""}},computed:{...ue(tt,["siteHasFeature"]),...ue(De,["user","firstTimeLoggingIn","loggedIn"]),...ue(Ae,["authOpen"]),showGoogleLogin(){return this.accountProviders.includes("google")},showFacebookLogin(){return this.accountProviders.includes("facebook")},userHasFirstAndLastName(){return this.user.fname&&this.user.lname},nextStepForNewUser(){return this.siteHasFeature("rare_disease")?"requestDisorderDemographicInfo":this.siteHasFeature("social_network")&&!this.userHasFirstAndLastName?"fNameAndLName":"setUsername"}},methods:{...yt(Ae,["openAuthDialog","setProgressIndicatorSteps","closeAuthDialog"]),...yt(De,["checkForCurrentUser","setUser","setLoggedInFromSocial"]),doGoogleLogIn(){this.$googleLogIn(this.callback)},doFacebookLogIn(){this.$facebookLogIn(this.callback)},callback(e){if(typeof parentLoginPayload<"u"){const{user:t}=parentLoginPayload;this.setUser(t),this.setLoggedInFromSocial(),this.setDataLayer(),this.pushDataLayer(),this.$snowplow.connectSocialAccountTracking({data:{connected_account:e}}),this.cleanUp()}else this.checkForCurrentUser().then(this.cleanUp)},cleanUp(){if(!this.loggedIn)return;const{username:e}=this.user,t=`CommunityMember${this.user.id}`,n=this.siteHasFeature("social_network");if(!e)this.$apollo.mutate({mutation:Fw,variables:{username:t}}).then(({data:r})=>{this.setUser(r.updateUser),this.siteHasFeature("social_network")&&this.setProgressIndicatorSteps(4),this.openAuthDialog({authStep:this.nextStepForNewUser})});else if(e===t&&!n)this.openAuthDialog({authStep:this.nextStepForNewUser});else{if(this.handleLoginRedirect(),Ge().addToastNotification({toastType:"success",description:`Welcome back ${e}!`}),n){if(this.firstTimeLoggingIn){this.openAuthDialog({authStep:"setUsername"});return}if(!this.user.hasDisorder){this.openAuthDialog({authStep:"requestDisorderDemographicInfo"});return}if(!this.user.hasSocialSite){this.openAuthDialog({authStep:"setSocialSites"});return}}this.closeAuthDialog()}}}},_J={class:"social-login"};function yJ(e,t,n,r,i,s){const o=dJ,a=mJ;return E(),P("div",_J,[s.showFacebookLogin?(E(),q(o,{key:0,class:"social-login__facebook","data-test-id":"social-login-facebook","button-text":n.facebookButtonText,onClick:s.doFacebookLogIn},null,8,["button-text","onClick"])):Y("",!0),s.showGoogleLogin?(E(),q(a,{key:1,class:"social-login__google","data-test-id":"social-login-google","button-text-override":n.googleButtonText,onClick:s.doGoogleLogIn},null,8,["button-text-override","onClick"])):Y("",!0)])}const X2=Object.assign(te(gJ,[["render",yJ],["__scopeId","data-v-e4dd26c3"]]),{__name:"SocialLogin"}),vJ={name:"EmailLoginButton",props:{buttonText:{type:String,default:"Log in with email"}}};function bJ(e,t,n,r,i,s){const o=Xe,a=Yi;return E(),q(a,{class:"email-login-button button--block","data-test-id":"email-login-button",onClick:t[0]||(t[0]=c=>e.$emit("click"))},{default:j(()=>[I(o,{name:"envelope",class:"button__icon"}),ee(" "+ye(n.buttonText),1)]),_:1})}const Vw=Object.assign(te(vJ,[["render",bJ],["__scopeId","data-v-02f22b49"]]),{__name:"EmailLoginButton"}),wJ={name:"LoginOptions",methods:{goToLoginWithEmail(){Ae().openLoginWithEmailDialog()}}},SJ={class:"login-options"};function EJ(e,t,n,r,i,s){const o=X2,a=Vw;return E(),P("div",SJ,[I(o),I(a,{onClick:s.goToLoginWithEmail},null,8,["onClick"])])}const TJ=Object.assign(te(wJ,[["render",EJ],["__scopeId","data-v-7ddb836b"]]),{__name:"LoginOptions"}),kJ={name:"InlineValidationError",props:{validationText:{type:String,default:""},validationButtonText:{type:String,default:""},validationButtonAction:{type:String,default:""}}},xJ={class:"inline-validation-error"},CJ={class:"inline-validation-error__text"},IJ={class:"inline-validation-error__button text-button text-button--link-style"};function OJ(e,t,n,r,i,s){return E(),P("div",xJ,[C("p",CJ,[ee(ye(n.validationText)+" ",1),C("button",IJ,ye(n.validationButtonText),1)])])}const yh=Object.assign(te(kJ,[["render",OJ],["__scopeId","data-v-715eb3c9"]]),{__name:"InlineValidationError"});var AJ=Dw();const ec=V2(AJ),RJ={name:"ValidationError",props:{validator:{type:Object,default:()=>({})},model:{type:String,default:""}},data(){return{checking:!1,message:""}},computed:{hasError(){return this.errors.length>0},validations(){return Object.keys(this.validator).filter(e=>e[0]!=="$")},errors(){return this.validations.filter(e=>this.validator[e].$invalid)},validationMessage(){return{required:"This field is required",email:"Please enter a valid email address",sameAsEmail:"The email address you entered does not match",sameAsPassword:"The password you entered does not match",minValue:`Please enter a value greater than ${this.messageValue}`,maxValue:`Please enter a value less than ${this.messageValue}`,minLength:`Please enter at least ${this.messageValue} characters`,maxLength:`Maximum length of ${this.messageValue} exceeded`,alpha:"Please use alphabetic characters only",alphaNum:"Please use alphabetic or numeric characters only",alphaNumHelper:"Please use alphabetic or numeric characters only",containsNumber:"Please include at least one numeric character",passwordRulesHelper:"Please enter at least 8 characters, including a number",notJustNums:"Passwords cannot be only numbers",notJustMention:"Please include additional text or an image",phone:"Please enter a valid US phone number",zipcode:"Please enter a valid US zipcode",socialSites:"Please enter at least one social media handle",noDuplicateSocials:"Please remove duplicate entries",twitterHandle:"Your username must be more than 4 characters long and can be up to 15 characters or less",instagramHandle:"Your username cannot exceed 30 characters",url:"Please check that your url is valid"}[this.errors[0]]||"something went wrong"},messageValue(){return{minValue:this.validator?.minValue?.$params?.min||"",maxValue:this.validator?.maxValue?.$params?.max||"",minLength:this.validator?.minLength?.$params?.min||"",maxLength:this.validator?.maxLength?.$params?.max||""}[this.errors[0]]||""}},watch:{model:ec(function(){this.validations.includes("notJustMention")||this.checkErrors()},500),hasError:ec(function(){this.validations.includes("notJustMention")||this.checkErrors()},500)},methods:{checkErrors(){this.setMessage()},resetErrors(){this.checking&&clearTimeout(this.checking),this.message=""},setMessage(){this.hasError?this.message=this.validationMessage:this.message="",this.checking=!1}}},PJ={key:0,class:"validation-error"},DJ={class:"validation-error__message","data-test-id":"validation-error-message"};function NJ(e,t,n,r,i,s){return i.message?(E(),P("div",PJ,[C("p",DJ,[_t(e.$slots,"default",{},()=>[ee(ye(i.message),1)],!0)])])):Y("",!0)}const Ji=Object.assign(te(RJ,[["render",NJ],["__scopeId","data-v-1c353e6d"]]),{__name:"ValidationError"}),$J=["text","email","password","tel","url"],LJ={name:"TextInput",inheritAttrs:!1,props:{id:{type:String,required:!0},modelValue:{type:String,default:""},class:{type:String,default:""},inputType:{type:String,default:"text",validator:e=>$J.includes(e)},emitKeypress:{type:Boolean,default:!1},excludeLabel:{type:Boolean,default:!1},includeIcon:{type:Boolean,default:!1},iconHasTooltip:{type:Boolean,default:!1},inlinePrefix:{type:String,default:""}}
387,computed:{classNames(){const e={"text-input":!0,"text-input--has-button":!!this.$slots.inlineButton};return this.class.split(" ").forEach(t=>e[t]=!0),e}},methods:{emitFocusEvent(){this.$emit("focus")},emitBlurEvent(){this.$emit("blur")},emitInputEvent(e){this.$emit("update:modelValue",e.target.value,e)},emitKeypressEvent(e){this.emitKeypress&&this.$emit("keypress",e)}}},MJ=["for"],FJ={key:0,class:"text-input__inline-prefix"},VJ=["id","type","value"];function UJ(e,t,n,r,i,s){const o=Xe;return E(),P("div",{class:ve(s.classNames)},[n.excludeLabel?Y("",!0):(E(),P("label",{key:0,class:"text-input__label heading--4",for:n.id},[_t(e.$slots,"default")],8,MJ)),C("div",{class:ve(["text-input__input-wrapper",{"text-input__input-wrapper--mock-input":n.inlinePrefix}])},[n.inlinePrefix?(E(),P("span",FJ,ye(n.inlinePrefix),1)):Y("",!0),C("input",xs({id:n.id,ref:"input",class:"text-input__input",type:n.inputType,value:n.modelValue},e.$attrs,{onInput:t[0]||(t[0]=on((...a)=>s.emitInputEvent&&s.emitInputEvent(...a),["prevent"])),onKeypress:t[1]||(t[1]=(...a)=>s.emitKeypressEvent&&s.emitKeypressEvent(...a)),onFocus:t[2]||(t[2]=(...a)=>s.emitFocusEvent&&s.emitFocusEvent(...a)),onBlur:t[3]||(t[3]=(...a)=>s.emitBlurEvent&&s.emitBlurEvent(...a))}),null,16,VJ),n.includeIcon?(E(),q(o,{key:1,class:"text-input__icon",name:"pencil",title:"Editable field"})):Y("",!0),e.$slots.inlineButton?(E(),P("div",{key:2,class:ve(["text-input__inline-button",{"text-input__inline-button--with-tooltip":n.iconHasTooltip}])},[_t(e.$slots,"inlineButton")],2)):Y("",!0)],2)],2)}const fi=Object.assign(te(LJ,[["render",UJ]]),{__name:"TextInput"}
387),BJ={name:"PasswordInput",props:{placeholder:{type:String,default:""},modelValue:{type:String,default:""},id:{type:String,default:"password"},showDisclaimer:{type:Boolean,default:!1}},data(){return{isVisible:!1,toggledInputType:"password"}},methods:{toggleVisibility(){this.isVisible?(this.isVisible=!1,this.toggledInputType="password"):(this.isVisible=!0,this.toggledInputType="text")}}},jJ={class:"password-input"},zJ={key:0,class:"input-disclaimer disclaimer-text","data-test-id":"password-input-disclaimer-text"};function HJ(e,t,n,r,i,s){const o=Xe,a=fi;return E(),P("div",jJ,[I(a,{id:n.id,"input-type":i.toggledInputType,placeholder:n.placeholder,value:n.modelValue,autocapitalize:"none",class:"password-input__input","data-test-id":"password-input",onInput:t[1]||(t[1]=c=>e.$emit("update:modelValue",c.target.value,c))},{inlineButton:j(()=>[C("button",{class:"password-input__visibility-button",type:"button",onClick:t[0]||(t[0]=(...c)=>s.toggleVisibility&&s.toggleVisibility(...c))},[Kt(I(o,{name:"password-show",title:"show password",class:"password-input__visibility-button-icon"},null,512),[[oi,!i.isVisible]]),Kt(I(o,{name:"password-hide",title:"hide password",class:"password-input__visibility-button-icon"},null,512),[[oi,i.isVisible]])])]),default:j(()=>[_t(e.$slots,"default",{},()=>[t[2]||(t[2]=ee("Password",-1))],!0)]),_:3},8,["id","input-type","placeholder","value"]),n.showDisclaimer?(E(),P("p",zJ,[_t(e.$slots,"disclaimer",{},()=>[t[3]||(t[3]=ee(" Your password must contain at least 8 characters and a number ",-1))],!0)])):Y("",!0)])}const Z2=Object.assign(te(BJ,[["render",HJ],["__scopeId","data-v-4e61b28d"]]),{__name:"PasswordInput"});var qJ={};const WJ={name:"RecaptchaComponent",emits:["verify","error"],setup(){const e=Cr().public.recaptcha.v3SiteKey;return W0({script:[{src:`https://www.google.com/recaptcha/api.js?render=${e}`,async:!0}]}),{myExecute:()=>new Promise((n,r)=>{const i=setTimeout(()=>{r(new Error("reCAPTCHA failed to load"))},1e4),s=()=>{window.grecaptcha?.ready?(clearTimeout(i),window.grecaptcha.ready(()=>{window.grecaptcha.execute(e,{action:"submit"}).then(n).catch(r)})):setTimeout(s,100)};s()})}},methods:{execute(){this.$snowplow.trackRecaptcha({data:{recaptcha_type:"token"}}),qJ.VUE_APP_TEST==="true"&&this.$emit("verify","dummyRecaptchaToken"),this.myExecute().then(e=>{this.$emit("verify",e)}).catch(e=>{this.$emit("error",e)})}}},eg=Object.assign(WJ,{__name:"RecaptchaComponent"}),GJ={name:"FormComponent",mounted(){this.$snowplow.enableFormTracking()}};function QJ(e,t,n,r,i,s){return E(),P("form",dd(p0(e.$attrs)),[_t(e.$slots,"default")],16)}const lr=Object.assign(te(GJ,[["render",QJ]]),{__name:"FormComponent"});function Dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ll(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dy(Object(n),!0).forEach(function(r){KJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function KJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nd(e){return typeof e=="function"}function Vm(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function vh(e){return nd(e.$validator)?Ll({},e):{$validator:e}}function Uw(e){return typeof e=="object"?e.$valid:e}function Bw(e){return e.$validator||e}function YJ(e,t){if(!Vm(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!Vm(t)&&!nd(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=vh(t);return n.$params=Ll(Ll({},n.$params||{}),e),n}function JJ(e,t){if(!nd(e)&&typeof F(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!Vm(t)&&!nd(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=vh(t);return n.$message=e,n}function XJ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=vh(e);return Ll(Ll({},n),{},{$async:!0,$watchTargets:t})}function ZJ(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return F(t).reduce((s,o,a)=>{const c=Object.entries(o).reduce((l,u)=>{let[f,d]=u;const h=e[f]||{},p=Object.entries(h).reduce((m,g)=>{let[_,b]=g;const v=Bw(b).call(this,d,o,a,...r),w=Uw(v);if(m.$data[_]=v,m.$data.$invalid=!w||!!m.$data.$invalid,m.$data.$error=m.$data.$invalid,!w){let S=b.$message||"";const O=b.$params||{};typeof S=="function"&&(S=S({$pending:!1,$invalid:!w,$params:O,$model:d,$response:v})),m.$errors.push({$property:f,$message:S,$params:O,$response:v,$model:d,$pending:!1,$validator:_})}return{$valid:m.$valid&&w,$data:m.$data,$errors:m.$errors}},{$valid:!0,$data:{},$errors:[]});return l.$data[f]=p.$data,l.$errors[f]=p.$errors,{$valid:l.$valid&&p.$valid,$data:l.$data,$errors:l.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:s.$valid&&c.$valid,$data:s.$data.concat(c.$data),$errors:s.$errors.concat(c.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:t=>{let{$response:n}=t;return n?n.$errors.map(r=>Object.values(r).map(i=>i.map(s=>s.$message)).reduce((i,s)=>i.concat(s),[])):[]}}}const _c=e=>{if(e=F(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;
387if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},tg=e=>(e=F(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function js(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r=>(r=F(r),!_c(r)||t.every(i=>(i.lastIndex=0,i.test(r))))}var eX=Object.freeze({__proto__:null,forEach:ZJ,len:tg,normalizeValidatorObject:vh,regex:js,req:_c,unwrap:F,unwrapNormalizedValidator:Bw,unwrapValidatorResponse:Uw,withAsync:XJ,withMessage:JJ,withParams:YJ});js(/^[a-zA-Z]*$/);js(/^[a-zA-Z0-9]*$/);js(/^\d*(\.\d+)?$/);const tX=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var nX=js(tX),jw={$validator:nX,$message:"Value is not a valid email address",$params:{type:"email"}};function rX(e){return t=>!_c(t)||tg(t)<=F(e)}function iX(e){return{$validator:rX(e),$message:t=>{let{$params:n}=t;return`The maximum length allowed is ${n.max}`},$params:{max:e,type:"maxLength"}}}function sX(e){return t=>!_c(t)||tg(t)>=F(e)}function oX(e){return{$validator:sX(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function aX(e){return typeof e=="string"&&(e=e.trim()),_c(e)}var ci={$validator:aX,$message:"Value is required",$params:{type:"required"}};const Ny=(e,t)=>e?_c(typeof t=="string"?t.trim():t):!0;function cX(e){return function(t,n){if(typeof e!="function")return Ny(F(e),t);const r=e.call(this,t,n);return Ny(r,t)}}function Um(e){return{$validator:cX(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const lX=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;js(lX);js(/(^[0-9]*$)|(^-[0-9]+$)/);js(/^[-]?\d*(\.\d+)?$/);function $y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ps(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$y(Object(n),!0).forEach(function(r){uX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$y(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function uX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ly(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=F(e[r])),n),{})}function rd(e){return typeof e=="function"}function fX(e){return rr(e)||Sr(e)}function zw(e,t,n){let r=e;const i=t.split(".");for(let s=0;s<i.length;s++){if(!r[i[s]])return n;r=r[i[s]]}return r}function n1(e,t,n){return re(()=>e.some(r=>zw(t,r,{[n]:!1})[n]))}function My(e,t,n){return re(()=>e.reduce((r,i)=>{const s=zw(t,i,{[n]:!1})[n]||[];return r.concat(s)},[]))}function Hw(e,t,n,r){return e.call(r,F(t),F(n),r)}function qw(e){return e.$valid!==void 0?!e.$valid:!e}function dX(e,t,n,r,i,s,o){let{$lazy:a,$rewardEarly:c}=i,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const h=Ee(!!r.value),p=Ee(0);n.value=!1;const m=it([t,r].concat(l,d),()=>{if(a&&!r.value||c&&!f.value&&!n.value)return;let g;
vendor: 4,326 bytes, line 387
387try{g=Hw(e,t,u,o)}catch(_){g=Promise.reject(_)}p.value++,n.value=!!p.value,h.value=!1,Promise.resolve(g).then(_=>{p.value--,n.value=!!p.value,s.value=_,h.value=qw(_)}).catch(_=>{p.value--,n.value=!!p.value,s.value=_,h.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:h,$unwatch:m}}function hX(e,t,n,r,i,s,o,a){let{$lazy:c,$rewardEarly:l}=r;const u=()=>({}),f=re(()=>{if(c&&!n.value||l&&!a.value)return!1;let d=!0;try{const h=Hw(e,t,o,s);i.value=h,d=qw(h)}catch(h){i.value=h}return d});return{$unwatch:u,$invalid:f}}function pX(e,t,n,r,i,s,o,a,c,l,u){const f=Ee(!1),d=e.$params||{},h=Ee(null);let p,m;e.$async?{$invalid:p,$unwatch:m}=dX(e.$validator,t,f,n,r,h,i,e.$watchTargets,c,l,u):{$invalid:p,$unwatch:m}=hX(e.$validator,t,n,r,h,i,c,l);const g=e.$message;return{$message:rd(g)?re(()=>g(Ly({$pending:f,$invalid:p,$params:Ly(d),$model:t,$response:h,$validator:s,$propertyPath:a,$property:o}))):g||"",$params:d,$pending:f,$invalid:p,$response:h,$unwatch:m}}function mX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=F(e),n=Object.keys(t),r={},i={},s={};let o=null;return n.forEach(a=>{const c=t[a];switch(!0){case rd(c.$validator):r[a]=c;break;case rd(c):r[a]={$validator:c};break;case a==="$validationGroups":o=c;break;case a.startsWith("$"):s[a]=c;break;default:i[a]=c}}),{rules:r,nestedValidators:i,config:s,validationGroups:o}}const gX="__root";function _X(e,t,n,r,i,s,o,a,c){const l=Object.keys(e),u=r.get(i,e),f=Ee(!1),d=Ee(!1),h=Ee(0);if(u){if(!u.$partial)return u;u.$unwatch(),f.value=u.$dirty.value}const p={$dirty:f,$path:i,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return l.length?(l.forEach(m=>{p[m]=pX(e[m],t,p.$dirty,s,o,m,n,i,c,d,h)}),p.$externalResults=re(()=>a.value?[].concat(a.value).map((m,g)=>({$propertyPath:i,$property:n,$validator:"$externalResults",$uid:`${i}-externalResult-${g}`,$message:m,$params:{},$response:null,$pending:!1})):[]),p.$invalid=re(()=>{const m=l.some(g=>F(p[g].$invalid));return d.value=m,!!p.$externalResults.value.length||m}),p.$pending=re(()=>l.some(m=>F(p[m].$pending))),p.$error=re(()=>p.$dirty.value?p.$pending.value||p.$invalid.value:!1),p.$silentErrors=re(()=>l.filter(m=>F(p[m].$invalid)).map(m=>{const g=p[m];return An({$propertyPath:i,$property:n,$validator:m,$uid:`${i}-${m}`,$message:g.$message,$params:g.$params,$response:g.$response,$pending:g.$pending})}).concat(p.$externalResults.value)),p.$errors=re(()=>p.$dirty.value?p.$silentErrors.value:[]),p.$unwatch=()=>l.forEach(m=>{p[m].$unwatch()}),p.$commit=()=>{d.value=!0,h.value=Date.now()},r.set(i,e,p),p):(u&&r.set(i,e,p),p)}function yX(e,t,n,r,i,s,o){const a=Object.keys(e);return a.length?a.reduce((c,l)=>(c[l]=Bm({validations:e[l],state:t,key:l,parentKey:n,resultsCache:r,globalConfig:i,instance:s,externalResults:o}),c),{}):{}}function vX(e,t,n){const r=re(()=>[t,n].filter(p=>p).reduce((p,m)=>p.concat(Object.values(F(m))),[])),i=re({get(){return e.$dirty.value||(r.value.length?r.value.every(p=>p.$dirty):!1)},set(p){e.$dirty.value=p}}),s=re(()=>{const p=F(e.$silentErrors)||[],m=r.value.filter(g=>(F(g).$silentErrors||[]).length).reduce((g,_)=>g.concat(..._.$silentErrors),[]);return p.concat(m)}),o=re(()=>{const p=F(e.$errors)||[],m=r.value.filter(g=>(F(g).$errors||[]).length).reduce((g,_)=>g.concat(..._.$errors),[]);return p.concat(m)}),a=re(()=>r.value.some(p=>p.$invalid)||F(e.$invalid)||!1),c=re(()=>r.value.some(p=>F(p.$pending))||F(e.$pending)||!1),l=re(()=>r.value.some(p=>p.$dirty)||r.value.some(p=>p.$anyDirty)||i.value),u=re(()=>i.value?c.value||a.value:!1),f=()=>{e.$touch(),r.value.forEach(p=>{p.$touch()})},d=()=>{e.$commit(),r.value.forEach(p=>{p.$commit()})},h=()=>{e.$reset(),r.value.forEach(p=>{p.$reset()})};return r.value.length&&r.value.every(p=>p.$dirty)&&f(),{$dirty:i,$errors:o,$invalid:a,$anyDirty:l,$error:u,$pending:c,$touch:f,$reset:h,$silentErrors:s,$commit:d}}function Bm(e){let{validations:t,state:n,key:r,parentKey:i,childResults:s,resultsCache:o,globalConfig:a={},instance:c,externalResults:l}=e;const u=i?`${i}.${r}`:r,{rules:f,nestedValidators:d,config:h,validationGroups:p}=mX(t),m=ps(ps({},a),h),g=r?re(()=>{const ie=F(n);return ie?F(ie[r]):void 0}):n,_=ps({},F(l)||{}),b=re(()=>{const ie=F(l);return r?ie?F(ie[r]):void 0:ie}),y=_X(f,g,r,o,u,m,c,b,n),v=yX(d,g,u,o,m,c,b),w={};
387p&&Object.entries(p).forEach(ie=>{let[Ce,Re]=ie;w[Ce]={$invalid:n1(Re,v,"$invalid"),$error:n1(Re,v,"$error"),$pending:n1(Re,v,"$pending"),$errors:My(Re,v,"$errors"),$silentErrors:My(Re,v,"$silentErrors")}});const{$dirty:S,$errors:O,$invalid:A,$anyDirty:k,$error:R,$pending:M,$touch:D,$reset:$,$silentErrors:U,$commit:J}=vX(y,v,s),V=r?re({get:()=>F(g),set:ie=>{S.value=!0;const Ce=F(n),Re=F(l);Re&&(Re[r]=_[r]),et(Ce[r])?Ce[r].value=ie:Ce[r]=ie}}):null;r&&m.$autoDirty&&it(g,()=>{S.value||D();const ie=F(l);ie&&(ie[r]=_[r])},{flush:"sync"});async function W(){return D(),m.$rewardEarly&&(J(),await Wt()),await Wt(),new Promise(ie=>{if(!M.value)return ie(!A.value);const Ce=it(M,()=>{ie(!A.value),Ce()})})}function Q(ie){return(s.value||{})[ie]}function le(){et(l)?l.value=_:Object.keys(_).length===0?Object.keys(l).forEach(ie=>{delete l[ie]}):Object.assign(l,_)}return An(ps(ps(ps({},y),{},{$model:V,$dirty:S,$error:R,$errors:O,$invalid:A,$anyDirty:k,$pending:M,$touch:D,$reset:$,$path:u||gX,$silentErrors:U,$validate:W,$commit:J},s&&{$getResultsForChild:Q,$clearExternalResults:le,$validationGroups:w}),v))}class bX{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const i=Object.keys(r),s=Object.keys(n);return s.length!==i.length||!s.every(a=>i.includes(a))?!1:s.every(a=>n[a].$params?Object.keys(n[a].$params).every(c=>F(r[a].$params[c])===F(n[a].$params[c])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:i,result:s}=r,o=this.checkRulesValidity(t,n,i),a=s.$unwatch?s.$unwatch:()=>({});return o?s:{$dirty:s.$dirty,$partial:!0,$unwatch:a}}}const hf={COLLECT_ALL:!0,COLLECT_NONE:!1},Fy=Symbol("vuelidate#injectChildResults"),Vy=Symbol("vuelidate#removeChildResults");function wX(e){let{$scope:t,instance:n}=e;const r={},i=Ee([]),s=re(()=>i.value.reduce((u,f)=>(u[f]=F(r[f]),u),{}));function o(u,f){let{$registerAs:d,$scope:h,$stopPropagation:p}=f;p||t===hf.COLLECT_NONE||h===hf.COLLECT_NONE||t!==hf.COLLECT_ALL&&t!==h||(r[d]=u,i.value.push(d))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],o);function a(u){i.value=i.value.filter(f=>f!==u),delete r[u]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],a);const c=Ft(Fy,[]);ni(Fy,n.__vuelidateInjectInstances);const l=Ft(Vy,[]);return ni(Vy,n.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:c,removeValidationResultsFromParent:l}}function Ww(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?Ww(t[n]):re(()=>t[n])}})}let Uy=0;function di(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:i,$scope:s=hf.COLLECT_ALL,$stopPropagation:o,$externalResults:a,currentVueInstance:c}=r;const l=c||((n=Et())===null||n===void 0?void 0:n.proxy),u=l?l.$options:{};i||(Uy+=1,i=`_vuelidate_${Uy}`);const f=Ee({}),d=new bX,{childResults:h,sendValidationResultsToParent:p,removeValidationResultsFromParent:m}=l?wX({$scope:s,instance:l}):{childResults:Ee({})};if(!e&&u.validations){const g=u.validations;t=Ee({}),Bl(()=>{t.value=l,it(()=>rd(g)?g.call(t.value,new Ww(t.value)):g,_=>{f.value=Bm({validations:_,state:t,childResults:h,resultsCache:d,globalConfig:r,instance:l,externalResults:a||l.vuelidateExternalResults})},{immediate:!0})}),r=u.validationsConfig||r}else{const g=et(e)||fX(e)?e:An(e||{});it(g,_=>{f.value=Bm({validations:_,state:t,childResults:h,resultsCache:d,globalConfig:r,instance:l??{},externalResults:a})},{immediate:!0})}return l&&(p.forEach(g=>g(f,{$registerAs:i,$scope:s,$stopPropagation:o})),xr(()=>m.forEach(g=>g(i)))),re(()=>ps(ps({},F(f.value)),h.value))}const SX={name:"LoginWithEmail",mixins:[Fo,gc],setup(){return{v$:di()}},data(){return{tryingToLogIn:!1,loginAttemptFailed:!1,responseMessage:null}},validations(){return{email:{required:ci,email:jw},password:{required:ci}}},computed:{...ue(De,["user","userIsUnverified","logIn","firstTimeLoggingIn"]),...ue(Ae,["authDialogRedirect","clearLogInForm","closeAuthDialog"]),...ue(tt,["siteHasFeature"]),...Ld(Ae,{email:"logInEmail",password:"logInPassword"}),formIsInvalid(){return this.v$.$anyError},loginAttemptFailedErrorMessage(){return this.responseMessage||"The email and password you entered did not match our records."}},methods:{...yt(Ae,["clearLogInForm","closeAuthDialog","openAuthDialog"]),loginSuccess(){this.setDataLayer(),this.pushDataLayer(),this.clearLogInForm(),this.handleLoginRedirect();const{username:e}=this.user;e&&Ge().addToastNotification({toastType:"success",description:`Welcome back ${e}!`}),this.siteHasFeature("social_network")&&(this.firstTimeLoggingIn?this.openAuthDialog({authStep:"setUsername"}):this.user.hasDisorder?this.user.hasSocialSite||this.openAuthDialog({authStep:"setSocialSites"}):this.openAuthDialog({authStep:"requestDisorderDemographicInfo"})),!this.userMustVerifyFirst&&this.closeAuthDialog()},changeLoginAttemptStatus(){this.loginAttemptFailed=!1},onCaptchaVerified(e){this.logIn({email:this.email,password:this.password,remember_me:this.rememberMe,recaptcha_token:e}).then(t=>{t.status==="success"?this.loginSuccess():(this.responseMessage=t.message,this.loginAttemptFailed=!0)}).catch(t=>{this.$logger.error(t)}).finally(()=>{this.tryingToLogIn=!1})},onCaptchaError(e){this.$logger.error(e),this.tryingToLogIn=!1,this.loginAttemptFailed=!0,this.responseMessage="Something went wrong. Please try again."},tryToLogIn(){if(this.tryingToLogIn=!0,this.v$.$touch(),this.$refs.email.checkErrors(),this.$refs.password.checkErrors(),this.v$.$invali
387d){this.tryingToLogIn=!1;return}this.$refs.recaptcha.execute()}}};function EX(e,t,n,r,i,s){const o=yh,a=Ji,c=fi,l=Z2,u=eg,f=Ar,d=lr;return E(),q(d,{novalidate:"true",class:"login-with-email",onSubmit:on(s.tryToLogIn,["prevent"])},{default:j(()=>[i.loginAttemptFailed?(E(),q(o,{key:0,"validation-text":s.loginAttemptFailedErrorMessage},null,8,["validation-text"])):Y("",!0),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.email?.$error}])},[I(a,{ref:"email",class:"validation-error--label",model:e.email,validator:r.v$.email},null,8,["model","validator"]),I(c,{id:"email",modelValue:e.email,"onUpdate:modelValue":t[0]||(t[0]=h=>e.email=h),name:"email","input-type":"email",class:"text-input--full-width text-input--lowercase","data-test-id":"login-email-input",autocapitalize:"off",onInput:s.changeLoginAttemptStatus},{default:j(()=>[...t[2]||(t[2]=[ee(" Email ",-1)])]),_:1},8,["modelValue","onInput"])],2),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.password?.$error}])},[I(a,{ref:"password",class:"validation-error--label",model:e.password,validator:r.v$.password},null,8,["model","validator"]),I(l,{id:"password",modelValue:e.password,"onUpdate:modelValue":t[1]||(t[1]=h=>e.password=h),name:"password",class:"password-input--full-width","data-test-id":"login-password-input",onInput:s.changeLoginAttemptStatus},null,8,["modelValue","onInput"])],2),I(u,{ref:"recaptcha",onVerify:s.onCaptchaVerified,onError:s.onCaptchaError},null,8,["onVerify","onError"]),I(f,{class:"login-with-email__button button--center","data-test-id":"login-submit-button",type:"submit",loading:i.tryingToLogIn,"button-type":"log in"},{default:j(()=>[...t[3]||(t[3]=[ee(" Log in ",-1)])]),_:1},8,["loading"])]),_:1},8,["onSubmit"])}const TX=Object.assign(te(SX,[["render",EX],["__scopeId","data-v-affdf958"]]),{__name:"LoginWithEmail"}),kX={name:"RegisterOptions",computed:{...ue(tt,["siteHasFeature"])},methods:{goToRegisterWithEmail(){Ae().openAuthDialog({authStep:"registerWithEmail"})}}},xX={class:"register-options"};function CX(e,t,n,r,i,s){const o=X2,a=Vw,c=ui;return E(),P("div",xX,[I(o,{"google-button-text":"Sign up with Google","facebook-button-text":"Sign up with Facebook"}),I(a,{"button-text":"Sign up with email",onClick:s.goToRegisterWithEmail},null,8,["onClick"]),e.siteHasFeature("social_network")?Y("",!0):(E(),q(c,{key:0,"current-step":"1"}))])}const IX=Object.assign(te(kX,[["render",CX],["__scopeId","data-v-b2059d30"]]),{__name:"RegisterOptions"}),OX={name:"IconWithTooltip",props:{iconName:{type:String,default:()=>"info"}},data(){return{tooltipIsActive:!1,positionStyles:{},arrowPositionStyles:{}}},watch:{tooltipIsActive(e){e&&this.$nextTick(this.handleDropdownPosition)}},mounted(){window.addEventListener("resize",ec(this.handleDropdownPosition,200))},beforeUnmount(){window.removeEventListener("resize",ec(this.handleDropdownPosition,200))},methods:{setTooltipVisibility(e){this.tooltipIsActive=e},resetPositionStyles(){this.positionStyles={},this.arrowPositionStyles={}},setArrowPosition(e){const r=this.$refs.arrow.getBoundingClientRect().width/2;this.arrowPositionStyles={transform:`translateX(${e-r+4}px) rotate(45deg)`}},handleDropdownPosition(){if(!this.tooltipIsActive){this.resetPositionStyles();return}const e=8,t=this.$refs.tooltip.getBoundingClientRect(),n=t.width/2,r=e,s=t.x-r;t.x<r&&(this.positionStyles.transform=`translateX(-${s+n}px)`,this.setArrowPosition(s));const a=window.innerWidth-e,c=t.x+t.width,l=c-a;c>a&&(this.positionStyles.transform=`translateX(-${l+n}px)`,this.setArrowPosition(l))}}},AX={class:"icon-with-tooltip__tooltip-inner-wrapper"},RX={class:"icon-with-tooltip__content"};function PX(e,t,n,r,i,s){const o=Xe;return E(),P("div",{class:ve(["icon-with-tooltip",i.tooltipIsActive?"icon-with-tooltip--active":""])},[I(o,{container:"button",name:n.iconName,"aria-label":"Show Information",class:"icon-with-tooltip__toggle-button",type:"button",onClick:t[0]||(t[0]=a=>s.setTooltipVisibility(!i.tooltipIsActive))},null,8,["name"]),i.tooltipIsActive?(E(),P("div",{key:0,ref:"tooltip",class:"icon-with-tooltip__tooltip",style:Pi(i.positionStyles)},[C("div",{ref:"arrow",class:"icon-with-tooltip__arrow",style:Pi(i.arrowPositionStyles)},null,4),C("div",AX,[C("div",RX,[_t(e.$slots,"default",{},void 0,!0)]),C("button",{class:"icon-with-tooltip__confirm-button text-button",type:"button",onClick:t[1]||(t[1]=a=>s.setTooltipVisibility(!1))},"Ok")])],4)):Y("",!0)],2)}const DX=Object.assign(te(OX,[["render",PX],["__scopeId","data-v-541ee14d"]]),{__name:"IconWithTooltip"}),NX=e=>e.match(/^[a-z\d.\-_â¢Â®()/, ]*$/i),$X={name:"UsernameInput",props:{modelValue:{type:String,default:""},showDisclaimer:{type:Boolean,default:!0}},setup(){return{v$:di()}},validations(){return{modelValue:{required:Um(function(){return!this.isSHN}),minLength:oX(4),maxLength:iX(60),alphaNumHelper:NX}}},computed:{...ue(tt,["siteHasFeature"]),...ue(De,["user","firstTimeLoggingIntoSHN"]),isSHN(){return this.siteHasFeature("social_network")}},mounted(){this.siteHasFeature("social_network")&&this.firstTimeLoggingIntoSHN&&this.$emit("update:modelValue",this.user?.username||"")},methods:{checkErrors(){this.$refs.username.checkErrors()}}},LX={class:"username-input"},MX={key:0,class:"input-disclaimer disclaimer-text"};function FX(e,t,n,r,i,s){const o=Ji,a=DX,c=fi;return E(),P("div",LX,[C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.modelValue?.$error}])},[I(o,{ref:"username",class:"validation-error--label",model:n.modelValue,validator:r.v$.modelValue},null,8,["model","validator"]),I(c,{id:"username",value:n.modelValue,name:"username",class:"text-input--full-width","data-test-id":"username-input","icon-has-tooltip":"",onInput:t[0]||(t[0]=l=>e.$emit("update:modelValue",l.target.value,l))}
387,{inlineButton:j(()=>[I(a,{class:"username-input__tooltip"},{default:j(()=>[...t[2]||(t[2]=[C("p",null,"Note: Please use a minimum of 4 characters and limit to alphabetic or numeric characters only.",-1)])]),_:1})]),default:j(()=>[_t(e.$slots,"input",{},()=>[t[1]||(t[1]=ee(" Username ",-1))],!0)]),_:3},8,["value"]),n.showDisclaimer?(E(),P("p",MX,[_t(e.$slots,"disclaimer",{},()=>[ee(" Your username will be publicly visible. "+ye(s.isSHN&&e.firstTimeLoggingIntoSHN?"You can continue using your existing username or choose a new one.":"We will assign you a generic username if you do not select one."),1)],!0)])):Y("",!0)],2)])}const Gw=Object.assign(te($X,[["render",FX],["__scopeId","data-v-844241aa"]]),{__name:"UsernameInput"}),VX={name:"PasswordStrengthIndicator",props:{password:{type:String,required:!0}},computed:{isWeak(){return new RegExp("(?=.*[a-z])(?=.*[0-9]).{8,}").test(this.password)},isModerate(){return new RegExp("(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{8,}").test(this.password)},isStrong(){return new RegExp("(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*?[#?!@$%^&*-]).{9,}").test(this.password)},strengthStatus(){return this.isWeak&&this.isModerate&&this.isStrong?"Strong":this.isWeak&&this.isModerate&&!this.isStrong?"Moderate":this.isWeak&&!this.isModerate?"Weak":""},lowercaseStrengthStatus(){return this.strengthStatus.toLowerCase().trim()}}},UX={class:"password-strength-indicator__text"};function BX(e,t,n,r,i,s){return E(),P("div",{class:ve(`password-strength-indicator password-strength-indicator--${s.lowercaseStrengthStatus}`),"aria-live":"polite"},[t[0]||(t[0]=C("span",{class:"password-strength-indicator__pill"},null,-1)),t[1]||(t[1]=C("span",{class:"password-strength-indicator__pill"},null,-1)),t[2]||(t[2]=C("span",{class:"password-strength-indicator__pill"},null,-1)),C("span",UX,ye(s.strengthStatus),1)],2)}const Qw=Object.assign(te(VX,[["render",BX],["__scopeId","data-v-0a39c255"]]),{__name:"PasswordStrengthIndicator"}),jX=e=>e.match(/^(?=.*\d).{8,}/),zX=e=>e.match(/\D/),HX={name:"RegisterWithEmail",mixins:[Fo],setup(){return{v$:di()}},data(){return{username:"",fname:"",lname:"",tryingToRegister:!1,registrationAttemptFailed:!1}},validations(){return{fname:{required:Um(e=>e.siteIsSHN)},lname:{required:Um(e=>e.siteIsSHN)},email:{required:ci,email:jw},password:{required:ci,passwordRulesHelper:jX,notJustNums:zX}}},computed:{...ue(De,["user"]),...ue(tt,["siteHasFeature"]),...ue(Ae,["clearLogInForm"]),...Ld(Ae,{email:"logInEmail",password:"logInPassword"}),formIsInvalid(){return this.v$.$anyError},siteIsSHN(){return this.siteHasFeature("social_network")},registrationAttemptFailedErrorMessage(){return"Something went wrong. If you already have an account,"},registrationAttemptFailedButtonText(){return"log in here."},showPasswordStrengthIndicator(){return this.password?.length&&!this.v$.password.$invalid},buttonText(){return this.siteHasFeature("rare_disease")||this.siteHasFeature("social_network")?"Continue":"Sign up"}},methods:{...yt(Ae,["closeAuthDialog","openAuthDialog","openLoginDialog"]),...yt(De,["register"]),registrationSuccess(e){this.setDataLayer(),this.pushDataLayer(),this.clearLogInForm(),e.user.isVerified?(this.closeAuthDialog(),Ge().addToastNotification({toastType:"success",description:`Welcome back ${this.user.username}!`})):this.siteHasFeature("rare_disease")?this.openAuthDialog({authStep:"requestDisorderDemographicInfo"}):this.siteHasFeature("social_network")?this.openAuthDialog({authStep:"setUsername"}):this.openAuthDialog({authStep:"verificationOptions",dialogText:"Please verify your account.",emailAlreadySent:!0})},registrationFailed(){this.registrationAttemptFailed=!0},setRegistrationFailedAttemptToFalse(){this.registrationAttemptFailed=!1},onCaptchaVerified(e){return this.register({fname:this.fname,lname:this.lname,username:this.username,email:this.email,password:this.password,recaptcha_token:e}).then(t=>{if(t.username_exists){Ge().addToastNotification({toastType:"error",description:"This username already exists. Please try another username."});return}if(t.status==="success"){this.registrationSuccess(t);return}this.registrationFailed()}).catch(()=>{this.registrationFailed()}).finally(()=>{this.tryingToRegister=!1})},tryToRegister(){if(this.tryingToRegister=!0,this.v$.$touch(),this.siteIsSHN&&(this.$refs.fname.checkErrors(),this.$refs.lname.checkErrors()),this.siteIsSHN||this.$refs.username.checkErrors(),this.$refs.email.checkErrors(),this.$refs.password.checkErrors(),this.v$.$invali
387d){this.tryingToRegister=!1;return}this.$refs.recaptcha.execute()}}},qX={key:3,class:"input-disclaimer disclaimer-text"};function WX(e,t,n,r,i,s){const o=yh,a=Ji,c=fi,l=Gw,u=Z2,f=Qw,d=eg,h=Ar,p=ui,m=lr;return E(),q(m,{class:"register-with-email",onSubmit:on(s.tryToRegister,["prevent"])},{default:j(()=>[i.registrationAttemptFailed?(E(),q(o,{key:0,"validation-text":s.registrationAttemptFailedErrorMessage,"validation-button-text":s.registrationAttemptFailedButtonText,onClick:e.openLoginDialog},null,8,["validation-text","validation-button-text","onClick"])):Y("",!0),s.siteIsSHN?(E(),P("div",{key:1,class:ve(["validation-group",{"validation-group--invalid":r.v$.fname?.$error}])},[I(a,{ref:"fname",class:"validation-error--label",model:i.fname,validator:r.v$.fname},null,8,["model","validator"]),I(c,{id:"fname",modelValue:i.fname,"onUpdate:modelValue":t[0]||(t[0]=g=>i.fname=g),name:"fname","input-type":"text",class:"text-input--full-width","data-test-id":"register-fname-input",onInput:s.setRegistrationFailedAttemptToFalse},{default:j(()=>[...t[5]||(t[5]=[ee("First name ",-1)])]),_:1},8,["modelValue","onInput"])],2)):Y("",!0),s.siteIsSHN?(E(),P("div",{key:2,class:ve(["validation-group",{"validation-group--invalid":r.v$.lname?.$error}])},[I(a,{ref:"lname",class:"validation-error--label",model:i.lname,validator:r.v$.lname},null,8,["model","validator"]),I(c,{id:"lname",modelValue:i.lname,"onUpdate:modelValue":t[1]||(t[1]=g=>i.lname=g),name:"lname","input-type":"text",class:"text-input--full-width","data-test-id":"register-lname-input",onInput:s.setRegistrationFailedAttemptToFalse},{default:j(()=>[...t[6]||(t[6]=[ee("Last name ",-1)])]),_:1},8,["modelValue","onInput"])],2)):Y("",!0),s.siteIsSHN?(E(),P("p",qX,[_t(e.$slots,"disclaimer",{},()=>[t[7]||(t[7]=ee(" Your name will be publicly visible. You can change this setting in your profile. ",-1))],!0)])):Y("",!0),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.email?.$error}])},[I(a,{ref:"email",class:"validation-error--label",model:e.email,validator:r.v$.email},null,8,["model","validator"]),I(c,{id:"email",modelValue:e.email,"onUpdate:modelValue":t[2]||(t[2]=g=>e.email=g),name:"email","input-type":"email",class:"text-input--full-width text-input--lowercase","data-test-id":"register-email-input",autocapitalize:"off",onInput:s.setRegistrationFailedAttemptToFalse},{default:j(()=>[...t[8]||(t[8]=[ee("Email address",-1)])]),_:1},8,["modelValue","onInput"])],2),s.siteIsSHN?Y("",!0):(E(),q(l,{key:4,ref:"username",modelValue:i.username,"onUpdate:modelValue":t[3]||(t[3]=g=>i.username=g),onInput:s.setRegistrationFailedAttemptToFalse},null,8,["modelValue","onInput"])),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.password?.$error}])},[I(a,{ref:"password",class:"validation-error--label",model:e.password,validator:r.v$.password},null,8,["model","validator"]),I(u,{id:"password",modelValue:e.password,"onUpdate:modelValue":t[4]||(t[4]=g=>e.password=g),name:"password",class:"password-input--full-width","data-test-id":"register-password-input","show-disclaimer":"",onInput:s.setRegistrationFailedAttemptToFalse},null,8,["modelValue","onInput"]),s.showPasswordStrengthIndicator?(E(),q(f,{key:0,password:e.password},null,8,["password"])):Y("",!0)],2),I(d,{ref:"recaptcha",onVerify:s.onCaptchaVerified},null,8,["onVerify"]),I(h,{class:"register-with-email__button button--center","data-test-id":"register-submit-button",type:"submit",loading:i.tryingToRegister,"button-type":"registration"},{default:j(()=>[ee(ye(s.buttonText),1)]),_:1},8,["loading"]),I(p,{"current-step":"1"})]),_:3},8,["onSubmit"])}const GX=Object.assign(te(HX,[["render",WX],["__scopeId","data-v-2c1f92ae"]]),{__name:"RegisterWithEmail"}),QX={name:"SetUsername",setup(){return{v$:di()}},data(){return{username:"",tryingToRegister:!1}},validations:{},computed:{...ue(De,["userIsUnverified","user","loggedIn"]),...ue(tt,["siteHasFeature"]),currentStepBasedOnSiteFeature(){return this.siteHasFeature("social_network")?"2":"3"},buttonText(){return this.siteHasFeature("social_network")?"Continue":"Sign up"}},methods:{...yt(Ae,["openAuthDialog"]),...yt(Ge,["addGenericErrorNotification"]),...yt(De,["setUser"]),moveToNextStep(){let e="accountConfirmation";this.firstTimeLoggingIntoSHN&&!this.userIsUnverified?e="accountConfirmation":this.siteHasFeature("social_network")&&(e="requestDisorderDemographicInfo"),this.openAuthDialog({authStep:e})},submitUsernameForm(){if(this.tryingToRegister=!0,this.v$.$touch(),this.$refs.username.checkErrors(),this.$refs.username.v$.$invali
387d){this.tryingToRegister=!1;return}!this.loggedIn&&(this._.provides[_r]||this.$route).query.email&&(this.$logger.error("TOMBSTONE 𪦠12/30/20 - 8/4/25 SetUsername upgrade lead functionality"),this.upgradeAccount()),this.siteHasFeature("social_network")&&this.username===this.user.username?this.moveToNextStep():this.setUsername()},setUsername(){this.$apollo.mutate({mutation:Fw,variables:{username:this.username}}).then(({data:e})=>{this.setUser(e.updateUser),this.moveToNextStep()}).catch(e=>{if(e.message==="Username already exists"){Ge().addToastNotification({toastType:"error",description:"This username already exists. Please try another username."});return}this.addGenericErrorNotification()}).finally(()=>{this.tryingToRegister=!1})},upgradeAccount(){this.$auth.upgradeLead({username:this.username,email:(this._.provides[_r]||this.$route).query.email}).then(e=>{if(e.username_exists){Ge().addToastNotification({toastType:"error",description:"This username already exists. Please try another username."});return}e.status==="success"?this.openAuthDialog({authStep:"accountConfirmation"}):this.addGenericErrorNotification()}).catch(()=>{this.addGenericErrorNotification()}).finally(()=>{this.tryingToRegister=!1})}}},KX={class:"set-username"};function YX(e,t,n,r,i,s){const o=Gw,a=Ar,c=lr,l=ui;return E(),P("div",KX,[I(c,{method:"post",onSubmit:on(s.submitUsernameForm,["prevent"])},{default:j(()=>[I(o,{ref:"username",modelValue:i.username,"onUpdate:modelValue":t[0]||(t[0]=u=>i.username=u),class:"set-username__input"},{input:j(()=>[...t[1]||(t[1]=[ee(" Username ",-1)])]),_:1},8,["modelValue"]),I(a,{"input-type":"submit",loading:i.tryingToRegister,"button-type":"registration",class:"set-username__submit-button","data-test-id":"set-username-submit-button"},{default:j(()=>[ee(ye(s.buttonText),1)]),_:1},8,["loading"])]),_:1},8,["onSubmit"]),I(l,{"current-step":s.currentStepBasedOnSiteFeature},null,8,["current-step"])])}const JX=Object.assign(te(QX,[["render",YX],["__scopeId","data-v-24c37072"]]),{__name:"SetUsername"}),XX={name:"VerificationOptions",mixins:[gc],computed:{...ue(De,["user","userIsLoggedIn","userIsVerified"]),...ue(Ae,["authDialogRedirect","progressIndicatorSteps","emailAlreadySent"]),...ue(tt,["siteHasFeature"]),getCurrentStep(){return this.siteHasFeature("social_network")?`${this.progressIndicatorSteps}`:"3"}},methods:{...yt(Ae,["openAuthDialog"]),handleSendingEmail(){if(!this.userIsLoggedIn||!this.userIsUnverified){Ge().addToastNotification({toastType:"error",description:"You must be logged in and unverified to resend a verification email."}),this.$logger.error("[Invalid Resend Email Verification Attempt: VerificationOptions]");return}this.emailAlreadySent||this.$apollo.mutate({mutation:$w,variables:{verificationRedirect:this.redirectToInfluitive?this.redirect:null}}).catch(e=>{this.$logger.error(`[Resend Email Verification] ${e}`)}),this.openAuthDialog({authStep:"verifyViaEmail"})}}},ZX={class:"verification-options"};function eZ(e,t,n,r,i,s){const o=Xe,a=Yi,c=ui;return E(),P("div",ZX,[I(a,{class:"verification-options__button verification-options__button--text button--block","data-test-id":"send-text-verification-options-button",onClick:t[0]||(t[0]=l=>e.openAuthDialog({authStep:"requestVerificationText"}))},{default:j(()=>[I(o,{name:"text-bubble-ellipsis",class:"button__icon"}),t[1]||(t[1]=ee(" Send me a text message ",-1))]),_:1}),I(a,{class:"verification-options__button verification-options__button--email button--block","data-test-id":"send-email-verification-options-button",onClick:s.handleSendingEmail},{default:j(()=>[I(o,{name:"envelope",class:"button__icon"}),t[2]||(t[2]=ee(" Send me an email ",-1))]),_:1},8,["onClick"]),I(c,{"current-step":s.getCurrentStep},null,8,["current-step"])])}const tZ=Object.assign(te(XX,[["render",eZ],["__scopeId","data-v-40787ca2"]]),{__name:"VerificationOptions"});function nZ(e){if(!e)return"";let t=e;return t.length>=6&&(t=`${t.slice(0,3)}(${t.slice(3,6)})${t.slice(6)}`),t}function rZ(e){if(!e)return"";let t=e;return t.length>8&&(t=`${t.slice(0,8)}-${t.slice(8)}`),t.length>12&&(t=`${t.slice(0,12)}-${t.slice(12)}`),t}function iZ(e){if(!e)return"";let t=e;return t.length>17&&(t=t.slice(0,17)),t}function id(e){if(!e)return"";const t=/\D/g,n="+1 ";let r=e;return r.slice(0,3)===n&&(r=r.slice(3)),r.slice(0,2)===n.slice(0,2)&&(r=r.slice(2)),r=r.replace(t,""),r}function Kw(e){let n=id(e);return n=`+1 ${n}`,n=nZ(n),n=rZ(n),n=iZ(n),n}function Xae(e){return!e||id(e).length===10}function Zae(e,t){return t?.inputType?.includes("delete")?e:Kw(e)}const sZ={name:"RequestVerificationText",data(){return{phoneNumber:"+1",phoneNumberIsInvalid:!1,tryingToSubmit:!1,errorText:"Please enter a valid phone number"}},computed:{...ue(tt,["siteHasFeature"])},methods:{...yt(Ae,["openAuthDialog"]),formatPhoneNumber(e,t){if(t.inputType.includes("delete"))return;const n=Kw(e);this.phoneNumber=n,id(this.phoneNumber).length===10&&(this.phoneNumberIsInvalid=!1)},tryToSubmitPhoneNumber(){const e=id(this.phoneNumber);if(e.length!==10){this.errorText="Please enter a valid phone number",this.phoneNumberIsInvalid=!0;return}this.tryingToSubmit=!0,this.$apollo.mutate({mutation:kY,variables:{phoneNumber:e}}).then(()=>{this.openAuthDialog({authStep:"enterVerificationNumber"})}).catch(t=>{this.$logger.error(`[Set Phone Number] ${t}`),this.errorText=`${t}`.replace("Error: GraphQL error: ",""),this.phoneNumberIsInvalid=!0}).finally(()=>{this.tryingToSubmit=!1})}}},oZ={class:"request-verification-text"};function aZ(e,t,n,r,i,s){const o=fi,a=yh,c=Ar,l=lr,u=ui;return E(),P("div",oZ,[I(l,{novalidate:"true",class:"request-verification-text__form",onSubmit:on(s.tryToSubmitPhoneNumber,["prevent"])},{default:j(()=>[I(o,{id:"phone-number",modelValue:i.phoneNumber,"onUpdate:modelValue":[t[0]||(t[0]=f=>i.phoneNumber=f),s.formatPhoneNumber],name:"phone_number","input-type":"tel",class:"text-input--full-width text-input--lowercase","data-test-id":"request-verification-text-phone-number-input"},{default:j(()=>[...t[1]||(t[1]=[ee(" Phone Number ",-1)])]),_:1},8,["modelValue","onUpdate:modelValue"]),i.phoneNumberIsInvalid?(E(),q(a,{key:0,"validation-text":i.errorText,class:"request-verification-text__error"},null,8,["validation-text"])):Y("",!0),I(c,{class:"request-verification-text__submit button--large",type:"submit",loading:i.tryingToSubmit},{default:j(()=>[...t[2]||(t[2]=[ee(" Send ",-1)])]),_:1},8,["loading"])]),_:1},8,["onSubmit"]),e.siteHasFeature("social_network")?Y("",!0):(E(),q(u,{key:0,"current-step":"3"}))])}const cZ=Object.assign(te(sZ,[["render",aZ],["__scopeId","data-v-80d323a9"]]),{__name:"RequestVerificationText"}),lZ={name:"CompositeInput",props:{numberOfDigits:{type:Number,default:6},disabled:{type:Boolean,default:!1}},data(){return{digits:[],value:""}},computed:{fullCode(){return this.digits.join("")}},watch:{fullCode(e,t){e!==t&&e.length===this.numberOfDigits&&this.$emit("fullcodeentered",e)}},methods:{focusFirstInput(){this.$refs.digit_1[0].focus()},cleanupDigits(){const e=/\D/g,n=this.digits.join("").replace(e,"");this.digits=n.split(""),this.digits=this.digits.slice(0,this.numberOfDigits)},handleBackspace(e){if(this.$refs[`digit_${e}`][0].selectionStart===0&&e!==1){const r=`digit_${e-1}`;this.$refs[r][0].focus()}},handleDelete(e){const t=this.$refs[`digit_${e}`][0].selectionStart,r=e-1+1;t===1&&e!==this.numberOfDigits&&this.digits.splice(r,1)},handleArrow(e,t){const n=this.$refs[`digit_${e}`][0].selectionStart,r=n===0&&t==="left"&&e!==1,i=n===1&&t==="right"&&e!==this.numberOfDigits;r&&this.$refs[`digit_${e-1}`][0].focus(),i&&this.$refs[`digit_${e+1}`][0].focus()},handleKeyDown(e,t){const n=t.code==="Backspace",r=t.code==="Delete",i=t.code.includes("ArrowLeft"),s=t.code.includes("ArrowRight");n?this.handleBackspace(e):r?this.handleDelete(e):(i||s)&&this.handleArrow(e,i?"left":"right")},handleInput(e,t){const n=t.inputType==="deleteContentBackward",r=t.inputType==="deleteContentForward",i=t.inputType==="insertFromPaste";if(this.cleanupDigits(),n||r)return;const s=e-1,o=i?`digit_${this.digits.length}`:`digit_${e+1}`,a=e===this.numberOfDigits,c=!!this.digits[s];!a&&c&&this.$refs[o][0].focus()},handleFocus(e){const t=!!`${this.digits[e-2]}`;if(e!==1&&!t){const n=`digit_${e-1}`;this.$refs[n][0].focus()}},clearDigits(){this.digits=[]}}},uZ={class:"composite-input"},fZ=["for"],dZ=["id","onUpdate:modelValue","name","disabled","onFocus","onKeydown","onInput"];function hZ(e,t,n,r,i,s){return E(),P("fieldset",uZ,[t[0]||(t[0]=C("legend",{class:"visually-hidden"},"Verification Code",-1)),(E(!0),P(Me,null,Pt(n.numberOfDigits,o=>(E(),P("div",{key:`digit_${o}`,class:"composite-input__input-wrapper"},[C("label",{class:"composite-input__input-label visually-hidden",for:`digit_${o}`},"Verification Code Digit "+ye(o),9,fZ),Kt(C("input",{id:`digit_${o}`,ref_for:!0,ref:`digit_${o}`,"onUpdate:modelValue":a=>i.digits[o-1]=a,type:"text",pattern:"\\d*",name:`digit_${o}`,disabled:n.disabled,class:ve("composite-input__input text-input"),onFocus:a=>s.handleFocus(o,a),onKeydown:a=>s.handleKeyDown(o,a),onInput:a=>s.handleInput(o,a)},null,40,dZ),[[Fi,i.digits[o-1]]])]))),128))])}const pZ=Object.assign(te(lZ,[["render",hZ],["__scopeId","data-v-c8e5e85c"]]),{__name:"CompositeInput"}),mZ={name:"EnterVerificationNumber",data(){return{tryingToSubmit:!1,errorText:""}},computed:{...ue(tt,["siteHasFeature"]),verificationCode(){return`${this.$refs.codeInput?.fullCode}`}},methods:{...yt(De,["verifyUser"]),...yt(Ae,["openAuthDialog"]),tryToSubmit(e){this.tryingToSubmit=!0,this.errorText="",this.$apollo.mutate({mutation:CY,variables:{code:e}}).then(t=>{const n=t.data.verifyPhone,r=this.siteHasFeature("rare_disease");n?(Ge().addToastNotification({toastType:"success",description:"Account verified."}),this.verifyUser(),this.openAuthDialog({authStep:r?"accountConfirmationWithNoCTA":"accountConfirmation"})):(this.errorText="Incorrect code.",this.tryingToSubmit=!1,this.$refs.codeInput.clearDigits(),this.$nextTick(this.$refs.codeInput.focusFirstInput))}).catch(t=>{this.$logger.error(`[Verify Phone] ${t}`),this.errorText=`${t}`.replace("Error: GraphQL error: ","")}).finally(()=>{this.tryingToSubmit=!1})}}},gZ={class:"enter-verification-number"};function _Z(e,t,n,r,i,s){const o=pZ,a=yh,c=J2,l=lr,u=ui;return E(),P("div",gZ,[I(l,{novalidate:"true",class:"enter-verification-number__form",onSubmit:t[1]||(t[1]=on(f=>s.tryToSubmit(s.verificationCode),["prevent"]))},{default:j(()=>[I(o,{ref:"codeInput",disabled:i.tryingToSubmit,onFullcodeentered:t[0]||(t[0]=f=>s.tryToSubmit(f))},null,8,["disabled"]),i.errorText?(E(),q(a,{key:0,"validation-text":i.errorText,class:"enter-verification-number__error"},null,8,["validation-text"])):Y("",!0),i.tryingToSubmit?(E(),q(c,{key:1})):Y("",!0)]),_:1}),e.siteHasFeature("social_network")?Y("",!0):(E(),q(u,{key:0,"current-step":"3"}))])}const yZ=Object.assign(te(mZ,[["render",_Z],["__scopeId","data-v-d1b741a4"]]),{__name:"EnterVerificationNumber"}),vZ={name:"PhoneDisclaimer"},bZ={class:"disclaimer-text"};function wZ(e,t,n,r,i,s){return E(),P("p",bZ,[...t[0]||(t[0]=[ee(" By providing your phone number, you are agreeing to our ",-1),C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/privacy-notice/",target:"_blank",rel:"noopener"},"privacy notice",-1),ee(" and ",-1),C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"},"terms of use",-1),ee(". ",-1)])])}const SZ=Object.assign(te(vZ,[["render",wZ]]),{__name:"PhoneDisclaimer"}),EZ={name:"EmailDisclaimer"},TZ={class:"disclaimer-text"};function kZ(e,t,n,r,i,s){return E(),P("p",TZ,[...t[0]||(t[0]=[ee(" By providing your email address, you are agreeing to our ",-1),C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/privacy-notice/",target:"_blank",rel:"noopener"},"privacy notice",-1),ee(" and ",-1),C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"},"terms of use",-1),ee(". ",-1)])])}const xZ=Object.assign(te(EZ,[["render",kZ]]),{__name:"EmailDisclaimer"}
387),CZ={name:"PrivacyPolicyAndTermsOfUseLinks"},IZ={class:"disclaimer-text"};function OZ(e,t,n,r,i,s){return E(),P("p",IZ,[...t[0]||(t[0]=[C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/privacy-notice/",target:"_blank",rel:"noopener"},"Privacy notice",-1),ee(" and ",-1),C("a",{class:"auth-dialog__disclaimer-link",href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"},"terms of use",-1),ee(". ",-1)])])}const AZ=Object.assign(te(CZ,[["render",OZ]]),{__name:"PrivacyPolicyAndTermsOfUseLinks"}),RZ={name:"AccountConfirmation",mixins:[gc],computed:{...ue(tt,["siteHasFeature"]),ctaText(){return this.siteHasFeature("mental_health")?"Read recent articles":"Visit the forums"},ctaLink(){return this.siteHasFeature("mental_health")?"/page/1":{name:"forums"}}},mounted(){this.handleLoginRedirect()},methods:{...yt(Ae,["closeAuthDialog"]),handleClickingCTA(){this.closeAuthDialog()}}},PZ={class:"account-confirmation"},DZ={key:0,class:"account-confirmation__container"},NZ={class:"account-confirmation__cta-text"},$Z={key:1,class:"account-confirmation__container account-confirmation__container--shn"};function LZ(e,t,n,r,i,s){const o=li;return E(),P("div",PZ,[e.siteHasFeature("social_network")?(E(),P("div",$Z,[I(o,{class:"account-confirmation__cta account-confirmation__cta--shn","data-test-id":"account-confirmation-cta",to:{name:"profile"},onClick:s.handleClickingCTA},{default:j(()=>[...t[3]||(t[3]=[C("img",{src:"/common/nexus/profile-emblem.png",alt:"",class:"account-confirmation__cta-image account-confirmation__cta-image--shn",loading:"lazy"},null,-1),C("div",{class:"account-confirmation__cta-text account-confirmation__cta-text--shn","data-test-id":"shn-account-confirmation-cta-text"}," Set up your profile ",-1)])]),_:1},8,["onClick"]),t[4]||(t[4]=m0('<a href="/page/1" class="account-confirmation__cta" data-test-id="shn-account-confirmation-cta-text" data-v-8d15d120><img src="/common/nexus/resources-emblem.png" alt="" class="account-confirmation__cta-image account-confirmation__cta-image--shn" loading="lazy" data-v-8d15d120><div class="account-confirmation__cta-text account-confirmation__cta-text--shn" data-v-8d15d120> Check out Health Leader resources </div></a><a href="/patient-leader-certification-program-login" class="account-confirmation__cta" data-test-id="shn-account-confirmation-cta-text" data-v-8d15d120><img src="/common/nexus/patient-leader-certification.png" alt="" class="account-confirmation__cta-image account-confirmation__cta-image--shn" loading="lazy" data-v-8d15d120><div class="account-confirmation__cta-text account-confirmation__cta-text--shn" data-v-8d15d120> Complete Patient Leader Certification </div></a>',2))])):(E(),P("div",DZ,[I(o,{class:"account-confirmation__cta","data-test-id":"account-confirmation-cta",to:s.ctaLink,onClick:s.handleClickingCTA},{default:j(()=>[t[0]||(t[0]=C("img",{src:"/common/nexus/bubbles.png",alt:"",class:"account-confirmation__cta-image",loading:"lazy"},null,-1)),C("div",NZ,ye(s.ctaText),1)]),_:1},8,["to","onClick"]),e.siteHasFeature("mental_health")?Y("",!0):(E(),q(o,{key:0,class:"account-confirmation__cta","data-test-id":"account-confirmation-cta",to:{name:"community"},onClick:s.handleClickingCTA},{default:j(()=>[...t[1]||(t[1]=[C("img",{src:"/common/nexus/megaphone.png",alt:"",class:"account-confirmation__cta-image",loading:"lazy"},null,-1),C("div",{class:"account-confirmation__cta-text"}," See what's new in the community ",-1)])]),_:1},8,["onClick"])),I(o,{class:"account-confirmation__cta","data-test-id":"account-confirmation-cta",to:{name:"profile"},onClick:s.handleClickingCTA},{default:j(()=>[...t[2]||(t[2]=[C("img",{src:"/common/nexus/pencil.png",alt:"",class:"account-confirmation__cta-image",loading:"lazy"},null,-1),C("div",{class:"account-confirmation__cta-text"}," Set up your profile ",-1)])]),_:1},8,["onClick"])]))])}const MZ=Object.assign(te(RZ,[["render",LZ],["__scopeId","data-v-8d15d120"]]),{__name:"AccountConfirmation"}),FZ=e=>e.match(/^(?=.*\d).{8,}$/i),VZ=e=>e.match(/\D/),UZ={name:"ResetPassword",setup(){return{v$:di()}},data(){return{password:"",resetKey:"",emailOrUsername:"",tryingToSetPassword:!1}},validations:{password:{required:ci,passwordRulesHelper:FZ,notJustNums:VZ}},computed:{showPasswordStrengthIndicator(){return this.password.length&&!this.v$.password?.$invali
387d}},mounted(){!(this._.provides[_r]||this.$route)||!(this._.provides[_r]||this.$route).query||(this.resetKey=(this._.provides[_r]||this.$route).query.reset_key||(this._.provides[_r]||this.$route).query.key,this.emailOrUsername=(this._.provides[_r]||this.$route).query.email_or_username||(this._.provides[_r]||this.$route).query.login)},methods:{...yt(Ae,["closeAuthDialog"]),resetSuccess(){Ge().addToastNotification({toastType:"success",description:"Success! Your password has been reset",type:"Registration"}),this.tryingToSetPassword=!1,this.closeAuthDialog()},resetFailed(){this.password="",Ge().addToastNotification({toastType:"error",description:"Something went wrong, password was not saved.",type:"Registration"}),this.tryingToSetPassword=!1},tryToResetPassword(){return this.tryingToSetPassword=!0,this.v$.$touch(),this.$refs.password.checkErrors(),this.v$.$invalid?(this.tryingToSetPassword=!1,!1):this.$resetPassword({email_or_username:this.emailOrUsername,reset_key:this.resetKey,password:this.password}).then(e=>{e.status==="success"?(De().setUser(e.user),De().setLoggedIn(),this.$router.replace({query:void 0}),this.resetSuccess()):this.resetFailed()}).catch(e=>{this.$logger.error(e),this.tryingToSetPassword=!1})}}};function BZ(e,t,n,r,i,s){const o=Ji,a=Z2,c=Qw,l=Ar,u=lr;return E(),q(u,{class:"reset-password",onSubmit:on(s.tryToResetPassword,["prevent"])},{default:j(()=>[C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.password?.$error}])},[I(o,{ref:"password",model:i.password,validator:r.v$.password},null,8,["model","validator"]),I(a,{id:"password",modelValue:i.password,"onUpdate:modelValue":t[0]||(t[0]=f=>i.password=f),name:"password",class:"reset-password__input password-input--full-width","data-test-id":"reset-password-input","show-disclaimer":""},{default:j(()=>[...t[1]||(t[1]=[ee(" New password ",-1)])]),_:1},8,["modelValue"])],2),s.showPasswordStrengthIndicator?(E(),q(c,{key:0,password:i.password},null,8,["password"])):Y("",!0),I(l,{class:"reset-password__button button--center button--large","data-test-id":"reset-password-submit-button",type:"submit",loading:i.tryingToSetPassword,"button-type":"setting password"},{default:j(()=>[...t[2]||(t[2]=[ee(" Set password ",-1)])]),_:1},8,["loading"])]),_:1},8,["onSubmit"])}const jZ=Object.assign(te(UZ,[["render",BZ],["__scopeId","data-v-9c74bdd3"]]),{__name:"ResetPassword"}),zZ={name:"RequestPasswordReset",setup(){return{v$:di()}},data(){return{emailOrUsername:"",tryingToRequestPasswordReset:!1}},validations:{emailOrUsername:{required:ci}},methods:{...yt(Ae,["closeAuthDialog"]),onCaptchaVerified(e){return this.$requestPasswordReset({email_or_username:this.emailOrUsername,recaptcha_token:e}).then(t=>{t.status==="success"&&Ge().addToastNotification({toastType:"success",description:"Check your email! If an account exists, we have sent you a link to create a new password",type:"Registration"}),this.tryingToRequestPasswordReset=!1,this.closeAuthDialog()}).catch(t=>{this.$logger.error(t),this.tryingToReset=!1})},requestPasswordResetEmail(){return this.tryingToRequestPasswordReset=!0,this.v$.$touch(),this.$refs.emailOrUsername.checkErrors(),this.v$.$invalid?(this.tryingToRequestPasswordReset=!1,!1):this.$refs.recaptcha.execute()}}};function HZ(e,t,n,r,i,s){const o=Ji,a=fi,c=eg,l=Ar,u=lr;return E(),q(u,{method:"post",class:"request-password-reset",onSubmit:on(s.requestPasswordResetEmail,["prevent"])},{default:j(()=>[C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.emailOrUsername?.$error}])},[I(o,{ref:"emailOrUsername",class:"validation-error--label",model:i.emailOrUsername,validator:r.v$.emailOrUsername},null,8,["model","validator"]),I(a,{id:"email-address-user-name",modelValue:i.emailOrUsername,"onUpdate:modelValue":t[0]||(t[0]=f=>i.emailOrUsername=f),class:"text-input--full-width","data-test-id":"request-password-reset-input",name:"email or username"},{default:j(()=>[...t[1]||(t[1]=[ee(" Username or email address ",-1)])]),_:1},8,["modelValue"]),I(c,{ref:"recaptcha",onVerify:s.onCaptchaVerified},null,8,["onVerify"])],2),I(l,{class:"request-password-reset__button button--center","data-test-id":"request-password-reset-button",type:"submit",loading:i.tryingToRequestPasswordReset,"button-type":"password reset request"},{default:j(()=>[...t[2]||(t[2]=[ee(" Send ",-1)])]),_:1},8,["loading"])]),_:1},8,["onSubmit"])}const qZ=Object.assign(te(zZ,[["render",HZ],["__scopeId","data-v-ddb9d96d"]
387]),{__name:"RequestPasswordReset"});var pf={exports:{}},WZ=pf.exports,By;function GZ(){return By||(By=1,(function(e,t){(function(n,r){e.exports=r()})(WZ,function(){var n="__v-click-outside",r=typeof window<"u",i=typeof navigator<"u",s=r&&("ontouchstart"in window||i&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],o=function(u){var f=u.event,d=u.handler;(0,u.middleware)(f)&&d(f)},a=function(u,f){var d=(function(b){var y=typeof b=="function";if(!y&&typeof b!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:y?b:b.handler,middleware:b.middleware||function(v){return v},events:b.events||s,isActive:b.isActive!==!1,detectIframe:b.detectIframe!==!1,capture:!!b.capture}})(f.value),h=d.handler,p=d.middleware,m=d.detectIframe,g=d.capture;if(d.isActive){if(u[n]=d.events.map(function(b){return{event:b,srcTarget:document.documentElement,handler:function(y){return(function(v){var w=v.el,S=v.event,O=v.handler,A=v.middleware,k=S.path||S.composedPath&&S.composedPath();(k?k.indexOf(w)<0:!w.contains(S.target))&&o({event:S,handler:O,middleware:A})})({el:u,event:y,handler:h,middleware:p})},capture:g}}),m){var _={event:"blur",srcTarget:window,handler:function(b){return(function(y){var v=y.el,w=y.event,S=y.handler,O=y.middleware;setTimeout(function(){var A=document.activeElement;A&&A.tagName==="IFRAME"&&!v.contains(A)&&o({event:w,handler:S,middleware:O})},0)})({el:u,event:b,handler:h,middleware:p})},capture:g};u[n]=[].concat(u[n],[_])}
387u[n].forEach(function(b){var y=b.event,v=b.srcTarget,w=b.handler;return setTimeout(function(){u[n]&&v.addEventListener(y,w,g)},0)})}},c=function(u){(u[n]||[]).forEach(function(f){return f.srcTarget.removeEventListener(f.event,f.handler,f.capture)}),delete u[n]},l=r?{beforeMount:a,updated:function(u,f){var d=f.value,h=f.oldValue;JSON.stringify(d)!==JSON.stringify(h)&&(c(u),a(u,{value:d}))},unmounted:c}:{};return{install:function(u){u.directive("click-outside",l)},directive:l}})})(pf)),pf.exports}var QZ=GZ();const Vo=V2(QZ),KZ=ke` 388query disorderSearch($offset: Int, $search: String, $type: DisorderSearchType) { 389 disorderSearch(offset: $offset, search: $search, type: $type) { 390 total 391 disorders { 392 id 393 name 394 slug 395 synonyms 396 } 397 } 398} 399`,ece=ke` 400query featuredDisorders { 401 featuredDisorders { 402 id 403 name 404 slug 405 } 406} 407`,tce=ke` 408query disorderDetail($slug: String!) { 409 disorderDetail(slug: $slug) { 410 id 411 name 412 slug 413 summary 414 cream 415 datalayer 416 synonyms 417 onsetAge 418 orphaCode 419 tableOfContents { 420 id 421 text 422 } 423 prevalences { 424 class 425 geographic 426 } 427 inheritanceType 428 seo { 429 allowIndexing 430 title 431 metaDescription 432 canonical 433 ogTitle 434 ogDescription 435 ogImage 436 twitterTitle 437 twitterDescription 438 twitterImage 439 keywords 440 } 441 } 442} 443`,YZ={name:"ConditionSelect",directives:{clickOutside:Vo.directive},props:{clickHandlerForOptions:{type:Function,default:()=>{}},collapsible:{type:Boolean,default:!0},inputId:{type:String,default:"condition-search"},renderLabel:{type:Boolean,default:!0},type:{type:String,default:"SITE"}},data(){return{searchTerm:"",matchingDisorders:[],selectedDisorder:null,optionsAreVisible:!1,clearSearchIsVisible:!1}},computed:{showNoMatches(){return this.searchTerm.length>0&&this.matchingDisorders.length===0&&!this.$apollo.loading&&this.optionsAreVisible},showList(){return this.searchTerm.length>0&&this.matchingDisorders.length>0&&this.optionsAreVisible},skipQuery(){return this.searchTerm===""}},methods:{handleClear(e,t){this.searchTerm="",this.selectedDisorder=t,this.clickHandlerForOptions(e,t),this.clearSearchIsVisible=!1},disorderInputId(e){return`disorder-input-${e.id}`},inputKeyup(e){if(e.code==="ArrowDown"&&this.showList){const t=this.matchingDisorders[0];this.$refs[this.disorderInputId(t)][0].focus(),this.selectedDisorder=t.id,this.clearSearchIsVisible=!0}},onClickOutside(){this.optionsAreVisible=!1},handleSelection(e,t){this.$emit("conditionSelected",e,t),this.searchTerm=t.name,this.optionsAreVisible=!1},handleOptionClick(e,t){e.target.previousElementSibling.focus(),this.handleSelection(e,t),this.clickHandlerForOptions(e,t),this.clearSearchIsVisible=!0},handleOptionKeydown(e,t){["Space","Enter"].includes(e.code)&&(this.handleSelection(e,t),this.clickHandlerForOptions(e,t),this.clearSearchIsVisible=!0)},handleLabelMousdown(e){e.button===0&&!e.ctrlKey&&e.preventDefault()},handleFocusout(e){if(!e||!e.relatedTarget)return;e.relatedTarget.closest(".condition-select")||(this.optionsAreVisible=!1)},focusInput(){this.optionsAreVisible=!0,this.$nextTick(()=>{this.$refs.input.focus()})},disordersIncludingSynonyms(e){const t=[];return e.forEach(n=>{t.push(n),n.synonyms&&n.synonyms.forEach(r=>{const i={...n};i.synonyms=null,i.name=r,t.push(i)})}),t}},apollo:{disorderSearch:{query:KZ,variables(){return{search:this.searchTerm,offset:0,type:this.t
443ype}},result({data:e}){this.matchingDisorders=this.disordersIncludingSynonyms(e.disorderSearch.disorders)},skip(){return this.skipQuery}}}},JZ=["for"],XZ=["id"],ZZ={class:"condition-select__options"},eee={key:0,class:"condition-select__option-list"},tee=["id","value","onKeydown"],nee=["for","onClick"],ree={key:1,class:"condition-select__no-matches"};function iee(e,t,n,r,i,s){const o=Xe,a=Td("click-outside");return Kt((E(),P("div",{class:ve(["condition-select",{"condition-select--open":!n.collapsible||s.showList||s.showNoMatches}]),onFocuswithin:t[7]||(t[7]=c=>i.optionsAreVisible=!0),onFocusout:t[8]||(t[8]=(...c)=>s.handleFocusout&&s.handleFocusout(...c))},[n.renderLabel?(E(),P("label",{key:0,for:n.inputId,class:"visually-hidden"}," Search for your condition ",8,JZ)):Y("",!0),I(o,{name:"magnifying-glass",class:"condition-select__search-icon"}),Kt(C("input",{id:n.inputId,ref:"input","onUpdate:modelValue":t[0]||(t[0]=c=>i.searchTerm=c),class:"condition-select__search","data-test-id":"condition-select-search-input",type:"text",placeholder:"Search your condition",onFocus:t[1]||(t[1]=c=>i.optionsAreVisible=!0),onKeyup:t[2]||(t[2]=(...c)=>s.inputKeyup&&s.inputKeyup(...c))},null,40,XZ),[[Fi,i.searchTerm]]),i.clearSearchIsVisible?(E(),P("button",{key:1,class:"condition-select__clear-search-button","data-test-id":"condition-select-clear-search-button","aria-label":"Clear Search",onClick:t[3]||(t[3]=c=>s.handleClear(c,null))},[I(o,{name:"x",title:"clear",class:"condition-select__clear-search-button-icon"})])):Y("",!0),C("div",ZZ,[s.showList?(E(),P("ul",eee,[(E(!0),P(Me,null,Pt(i.matchingDisorders,(c,l)=>(E(),P("li",{key:`disorder_${l}`,class:"condition-select__option","data-test-id":"condition-select-option"},[Kt(C("input",{id:s.disorderInputId(c),ref_for:!0,ref:s.disorderInputId(c),"onUpdate:modelValue":t[4]||(t[4]=u=>i.selectedDisorder=u),class:"condition-select__input visually-hidden",name:"disorder",type:"radio",value:c.id,onKeydown:u=>s.handleOptionKeydown(u,c),onFocus:t[5]||(t[5]=u=>i.optionsAreVisible=!0)},null,40,tee),[[Id,i.selectedDisorder]]),C("label",{class:"condition-select__label",for:s.disorderInputId(c),onMousedown:t[6]||(t[6]=(...u)=>s.handleLabelMousdown&&s.handleLabelMousdown(...u)),onClick:u=>s.handleOptionClick(u,c)},ye(c.name),41,nee)]))),128))])):Y("",!0),s.showNoMatches?(E(),P("div",ree,"No matches found.")):Y("",!0)])],34)),[[a,s.onClickOutside]])}const see=Object.assign(te(YZ,[["render",iee],["__scopeId","data-v-2ab66b6c"]]),{__name:"ConditionSelect"}),oee={name:"SelectInput",inheritAttrs:!1,props:{options:{type:Array,required:!0,validator:e=>e.every(t=>"value"in t&&"name"in t)},defaultBlank:{type:Boolean,default:!1},modelValue:{type:[String,Number,Boolean],default:null},class:{type:String,default:null},id:{type:String,default:null},dataTestId:{type:String,default:null}},computed:{myClass(){return this.class}},methods:{announceChange(e){this.$emit("change",e.target.value),this.$emit("update:modelValue",e.target.value,e)},emitBlurEvent(){this.$emit("blur")}}},aee=["for"],cee={class:"select-input__input-wrapper"},lee=["id","data-test-id"],uee={key:0,disabled:"",selected:""},fee=["value","disabled","selected"];function dee(e,t,n,r,i,s){const o=Xe;return E(),P("div",{class:ve(["select-input",s.myClass])},[e.$slots.default?(E(),P("label",{key:0,class:"select-input__label",for:n.id},[_t(e.$slots,"default")],8,aee)):Y("",!0),C("div",cee,[C("select",{id:n.id,"data-test-id":n.dataTestId,onChange:t[0]||(t[0]=(...a)=>s.announceChange&&s.announceChange(...a)),onBlur:t[1]||(t[1]=(...a)=>s.emitBlurEvent&&s.emitBlurEvent(...a))},[n.defaultBlank?(E(),P("option",uee," Please select... ")):Y("",!0),(E(!0),P(Me,null,Pt(n.options,a=>(E(),P("option",{key:`${n.id}-${a.value}`,value:a.value,disabled:a.disabled,selected:a.selected},ye(a.name),9,fee))),128))],40,lee),I(o,{name:"caret",class:"select-input__arrow"})])],2)}const Yw=Object.assign(te(oee,[["render",dee]]),{__name:"SelectInput"}),hee={name:"RequestDisorderDemographicInfo",setup(){return{v$:di()}},data(){return{tryingToSubmit:null,condition:null,relationship:null}},validations:{condition:{required:ci},relationship:{required:ci}},computed:{...ue(De,["user"]),...ue(Ae,["fastTrackToContent"]),...ue(tt,["siteHasFeature"]),siteIsSHN(){return this.siteHasFeature("social_network")},getRelationshipOptions(){const e=[{value:"",name:"Select",selected:!0,disabled:!0},{value:"PATIENT",name:"Patient",selected:!1},{value:"CAREGIVER",name:"Caregiver",selected:!1},{value:"HEALTHCARE_PROVIDER",name:"Healthcare Provider",selected:!1}],t=this.siteIsSHN?[]:[{value:"OTHER",name:"Other",selected:!1}];return[...e,...t]},getCurrentStep(){return this.siteIsSHN?"3":"2"},conditionSelectLabel(){return"Primary condition"},conditionName(){return this.condition?.name}},methods:{...yt(Ae,["closeAuthDialog","openAuthDialog"]),...yt(Ge,["addGenericErrorNotification"]),handleFormSubmit(){const{username:e}=this.user,t=`CommunityMember${this.user.id}`;let r=!e||e===t?"setUsername":"verificationOptions";if(this.siteHasFeature("social_network")&&(r="setSocialSites"),this.tryingToSubmit=!0,(!this.condition||!this.relationship
443)&&this.siteIsSHN&&(this.$refs.condition.checkErrors(),this.$refs.relationship.checkErrors(),this.v$.$invalid)){this.tryingToSubmit=!1;return}if(!this.condition&&!this.relationship){if(this.fastTrackToContent){this.closeAuthDialog();return}this.openAuthDialog({authStep:r});return}this.$apollo.mutate({mutation:IY,variables:{disorderId:this.condition?.id,relationship:this.relationship}}).then(()=>{if(this.fastTrackToContent){this.closeAuthDialog();return}this.openAuthDialog({authStep:r})}).catch(()=>{this.addGenericErrorNotification()}).finally(()=>{this.tryingToSubmit=!1})},setCondition(e,t){this.condition=t},setRelationship(e){this.relationship=e}}},pee={class:"request-disorder-demographic-info__field","data-test-id":"request-disorder-demographic-info-field"},mee={for:"user-condition-select",class:"request-disorder-demographic-info__label"},gee={key:0},_ee={class:"request-disorder-demographic-info__field","data-test-id":"request-disorder-demographic-info-field"},yee={for:"user-relationship-select",class:"request-disorder-demographic-info__label"},vee={key:0},bee={class:"request-disorder-demographic-info__field request-disorder-demographic-info__field--submit","data-test-id":"request-disorder-demographic-info-field"};function wee(e,t,n,r,i,s){const o=Ji,a=see,c=Yw,l=Ar,u=ui;return E(),P("form",{class:"request-disorder-demographic-info",onSubmit:t[0]||(t[0]=on((...f)=>s.handleFormSubmit&&s.handleFormSubmit(...f),["prevent"]))},[C("div",pee,[C("label",mee,[ee(ye(s.conditionSelectLabel)+" ",1),s.siteIsSHN?Y("",!0):(E(),P("span",gee,"(optional)"))]),C("div",{class:ve(["validation-group",{"validation-group--invalid":s.siteIsSHN&&r.v$.condition?.$error}])},[s.siteIsSHN?(E(),q(o,{key:0,ref:"condition",class:"validation-error--label",model:s.conditionName,validator:r.v$.condition},null,8,["model","validator"])):Y("",!0),I(a,{"input-id":"user-condition-select",type:"USER",name:"condition","click-handler-for-options":s.setCondition,"render-label":!1},null,8,["click-handler-for-options"])],2)]),C("div",_ee,[C("label",yee,[t[1]||(t[1]=ee(" Relationship to condition ",-1)),s.siteIsSHN?Y("",!0):(E(),P("span",vee,"(optional)"))]),C("div",{class:ve(["validation-group",{"validation-group--invalid":s.siteIsSHN&&r.v$.relationship?.$error}])},[s.siteIsSHN?(E(),q(o,{key:0,ref:"relationship",class:"validation-error--label",model:i.relationship,validator:r.v$.relationship},null,8,["model","validator"])):Y("",!0),I(c,{id:"user-relationship-select",class:"request-disorder-demographic-info__relationship-select select-input--block select-input--cyan",options:s.getRelationshipOptions,onChange:s.setRelationship},null,8,["options","onChange"])],2)]),C("div",bee,[I(l,{class:"button button--large",type:"submit",loading:i.tryingToSubmit},{default:j(()=>[...t[2]||(t[2]=[ee("Continue",-1)])]),_:1},8,["loading"])]),I(u,{"current-step":s.getCurrentStep},null,8,["current-step"])],32)}const See=Object.assign(te(hee,[["render",wee],["__scopeId","data-v-687998e8"]]),{__name:"RequestDisorderDemographicInfo"}),Eee={name:"FNameAndLName",setup(){return{v$:di()}},data(){return{fname:"",lname:"",tryingToSubmit:!1}},validations:{fname:{required:ci},lname:{required:ci}},methods:{...yt(Ae,["openAuthDialog"]),tryToSubmit(){if(this.tryingToSubmit=!0,this.v$.$touch(),this.$refs.fname.checkErrors(),this.$refs.lname.checkErrors(),this.v$?.$invalid){this.tryingToSubmit=!1;return}this.$apollo.mutate({mutation:TY,variables:{firstName:this.fname,lastName:this.lname}}).then(()=>{this.openAuthDialog({authStep:"setUsername"})}).catch(()=>{this.tryingToSubmit=!1}).finally(()=>{this.tryingToSubmit=!1})}}},Tee={class:"input-disclaimer disclaimer-text"},kee={class:"f-name-and-l-name__button--submit"};function xee(e,t,n,r,i,s){const o=Ji,a=fi,c=Ar,l=ui,u=lr;return E(),q(u,{class:"f-name-and-l-name",onSubmit:on(s.tryToSubmit,["prevent"])},{default:j(()=>[C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.fname?.$error}])},[I(o,{ref:"fname",class:"validation-error--label",model:i.fname,validator:r.v$.fname},null,8,["model","validator"]),I(a,{id:"fname",modelValue:i.fname,"onUpdate:modelValue":t[0]||(t[0]=f=>i.fname=f),name:"fname","input-type":"text",class:"text-input--full-width"},{default:j(()=>[...t[2]||(t[2]=[ee("First name ",-1)])]),_:1},8,["modelValue"])],2),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.lname?.$error}])},[I(o,{ref:"lname",class:"validation-error--label",model:i.lname,validator:r.v$.lname},null,8,["model","validator"]),I(a,{id:"lname",modelValue:i.lname,"onUpdate:modelValue":t[1]||(t[1]=f=>
443i.lname=f),name:"lname","input-type":"text",class:"text-input--full-width"},{default:j(()=>[...t[3]||(t[3]=[ee("Last name ",-1)])]),_:1},8,["modelValue"])],2),C("p",Tee,[_t(e.$slots,"disclaimer",{},()=>[t[4]||(t[4]=ee(" Your name will be publicly visible. You can change this setting in your profile. ",-1))],!0)]),C("div",kee,[I(c,{class:"button button--large",type:"submit",loading:i.tryingToSubmit},{default:j(()=>[_t(e.$slots,"default",{},()=>[t[5]||(t[5]=ee("Continue",-1))],!0)]),_:3},8,["loading"])]),I(l,{"current-step":"1"})]),_:3},8,["onSubmit"])}const Cee=Object.assign(te(Eee,[["render",xee],["__scopeId","data-v-6719baa5"]]),{__name:"FNameAndLName"}),Iee={name:"UserSocialForm",props:{sites:{type:Array,default:()=>[{id:"",type:"",url:""}]},isEditing:{type:Boolean,default:!1},saveButtonText:{type:String,default:"Save"},allowMultiple:{type:Boolean,default:!0},savedSitesToValidateAgainst:{type:Array,default:()=>[]}},setup(){return{v$:di()}},data(){return{tryingToSubmit:null,socialSites:[{platform:null,handle:null}],platforms:[{value:"",name:"Select"},{value:"WEBSITE",name:"Website",label:"Link"},{value:"BLOG",name:"Blog",label:"Link"},{value:"FACEBOOK",name:"Facebook",label:"Handle"},{value:"TWITTER",name:"Twitter",label:"Handle"},{value:"YOUTUBE",name:"Youtube",label:"Handle"},{value:"PINTEREST",name:"Pinterest",label:"Handle"},{value:"INSTAGRAM",name:"Instagram",label:"Handle"},{value:"LINKEDIN",name:"LinkedIn",label:"Link"},{value:"TIKTOK",name:"TikTok",label:"Handle"},{value:"PODCAST",name:"Podcast",label:"Link"}],handlePrefix:{WEBSITE:"https://",BLOG:"https://",FACEBOOK:"@",TWITTER:"@",YOUTUBE:"@",PINTEREST:"@",INSTAGRAM:"@",LINKEDIN:"linkedin.com/in/",TIKTOK:"@",PODCAST:"https://"}}},validations:{socialSites:{socialSites:e=>e.some(t=>t.handle&&t.platform),noDuplicateSocials:(e,t)=>{const r=[...e,...t.formatSiteList(t.savedSitesToValidateAgainst)].map(s=>`${s.platform}${s.handle}`);return r.filter((s,o)=>r.indexOf(s)!==o).length===0},twitterHandle:e=>e.filter(r=>r.platform==="TWITTER").every(r=>r.handle!==null&&r.handle.length>4&&r.handle.length<16),instagramHandle:e=>e.filter(r=>r.platform==="INSTAGRAM").every(r=>r.handle!==null&&r.handle.length<31),url:e=>e.filter(r=>r.platform==="WEBSITE"||r.platform==="BLOG"||r.platform==="PODCAST").every(r=>r.handle!==null&&r.handle.includes("."))}},created(){this.socialSites=this.formatSiteList(this.sites)||{platform:null,handle:null}},mounted(){document.addEventListener("click",this.onClickOutside)},beforeUnmount(){document.removeEventListener("click",this.onClickOutside)},methods:{...yt(Ge,["addGenericErrorNotification"]),checkForDupes(){this.v$.$touch(),this.$refs.validationError[0].checkErrors()},formatSiteList(e){return!e||!e.length?[]:e.map(t=>({platform:t.type.toUpperCase(),handle:t.url,id:t.id}))},optionsWithSelection(e){const t=this.platforms.map(r=>({...r}));if(!e.platform)return t;const n=t.findIndex(r=>r.value===e.platform);return n>=0&&(t[n].selected=!0),t},labelForSite(e){return this.platforms.find(t=>t.value===e.type?.toUpperCase)?.label||"Handle"},addInput(){this.socialSites.push({platform:null,handle:null})},onClickOutside(e){if(!this.visible){this.visible=!0;return}this.$el.contains(e.target)||this.$emit("focusout",this.$el,e)},handleSubmit(){this.tryingToSubmit=!0;const t=this.socialSites.filter(r=>r.platform&&r.handle).map(r=>{const i={handle:r.handle,platform:r.platform};return r.id&&(i.id=r.id),i}),n=this.socialSites[0].handle===this.sites[0].url&&this.socialSites[0].id===this.sites[0].id&&this.socialSites[0].platform.toLowerCase()===this.sites[0].type;if(this.isEditing&&n){this.$emit("success");return}if(this.$refs.validationError[0].checkErrors(),this.v$.$invalid){this.tryingToSubmit=!1;return}this.$apollo.mutate({mutation:OY,variables:{socialSites:t}}).then(()=>{this.$emit("success")}).catch(()=>{this.addGenericErrorNotification()}).finally(()=>{this.tryingToSubmit=!1})}}},Oee={class:"user-social-form__platform"},Aee={class:"user-social-form__handle"},Ree={class:"user-social-form__label-text"},Pee={key:0,class:"user-social-form__disclaimer"};function Dee(e,t,n,r,i,s){const o=Ji,a=Yw,c=fi,l=Ar,u=lr;return E(),q(u,{ref:"user-social-form",class:"user-social-form",onSubmit:on(s.handleSubmit,["prevent"])},{default:j(()=>[(E(!0),P(Me,null,Pt(i.socialSites,(f,d)=>(E(),P("fieldset",{key:`socialFieldset${d}`,class:"user-social-form__fieldset"},[t[2]||(t[2]=C("legend",{class:"visually-hidden"},"Please provide a social media platform and handle.",-1)),d===0?(E(),q(o,{key:0,ref_for:!0,ref:"validationError",class:"validation-error--label",model:`${i.socialSites.some(h=>h.handle&&h.platform)}`,validator:r.v$.socialSites},null,8,["model","validator"])):Y("",!0),C("label",Oee,[t[1]||(t[1]=C("div",{class:"user-social-form__label-text"},"Platform",-1)),I(a,{id:`platform-select-${d}`,modelValue:i.socialSites[d].platform,"onUpdate:modelValue":h=>i.socialSites[d].platform=h,options:s.optionsWithSelection(f),class:"user-social-form__select-input select-input--cyan","data-test-id":`user-social-form-select-${d}`,onInput:s.checkForDupes},null,8,["id","modelValue","onUpdate:modelValue","options","data-test-id","onInput"])]),C("label",Aee,[C("div",Ree,ye(s.labelForSite(f)),1),I(c,{id:`handle-input-${d}`,modelValue:i.socialSites[d].handle,"onUpdate:modelValue":h=>
443i.socialSites[d].handle=h,value:f.handle,name:"site-url","input-type":"text","inline-prefix":i.handlePrefix[i.socialSites[d].platform],"include-icon":"",class:"user-social-form__text-input text-input--full-width"},null,8,["id","modelValue","onUpdate:modelValue","value","inline-prefix"])])]))),128)),e.$slots.disclaimer?(E(),P("p",Pee,[_t(e.$slots,"disclaimer",{},void 0,!0)])):Y("",!0),n.allowMultiple?(E(),P("button",{key:1,type:"button",class:"user-social-form__button user-social-form__button--add button","data-test-id":"user-social-form-add-button",onClick:t[0]||(t[0]=(...f)=>s.addInput&&s.addInput(...f))},"+ Add")):Y("",!0),I(l,{class:"user-social-form__button button--large","data-test-id":"user-social-form-save-button",type:"submit",loading:i.tryingToSubmit},{default:j(()=>[ee(ye(n.saveButtonText),1)]),_:1},8,["loading"])]),_:3},8,["onSubmit"])}const Nee=Object.assign(te(Iee,[["render",Dee],["__scopeId","data-v-bbd7ad11"]]),{__name:"UserSocialForm"});function $ee(){return window.innerWidth>=600}function nce(){return window.innerWidth>=900}const Lee={name:"SetSocialSites",computed:{...ue(De,["userIsUnverified"]),...ue(Ae,["authDialogRedirect"])},mounted(){$ee()&&this.$refs.form.addInput()},methods:{...yt(Ae,["openAuthDialog"]),handleSuccess(){if(this.userIsUnverified){this.openAuthDialog({authStep:"verificationOptions"});return}this.openAuthDialog({authStep:"accountConfirmation"})}}},Mee={class:"set-social-sites"};function Fee(e,t,n,r,i,s){const o=Nee,a=ui;return E(),P("div",Mee,[I(o,{ref:"form","save-button-text":"Continue",onSuccess:s.handleSuccess},{disclaimer:j(()=>[...t[0]||(t[0]=[ee("This information will be publicly visible.",-1)])]),_:1},8,["onSuccess"]),I(a,{"current-step":"4"})])}const Vee=Object.assign(te(Lee,[["render",Fee],["__scopeId","data-v-ed74330f"]]),{__name:"SetSocialSites"}),Uee={name:"AuthDialog",components:{LoginOptions:TJ,LoginWithEmail:TX,RegisterOptions:IX,SetUsername:JX,RegisterWithEmail:GX,VerificationOptions:tZ,RequestVerificationText:cZ,PhoneDisclaimer:SZ,EmailDisclaimer:xZ,PrivacyPolicyAndTermsOfUseLinks:AZ,EnterVerificationNumber:yZ,AccountConfirmation:MZ,ResetPassword:jZ,RequestPasswordReset:qZ,RequestDisorderDemographicInfo:See,FNameAndLName:Cee,SetSocialSites:Vee},mixins:[gc],computed:{...ue(tt,["siteHasFeature"]),...ue(Ae,["authForm","isUGC","authDialogRedirect"]),...ue(De,["userIsLoggedIn","firstTimeLoggingIn","loggedInFromSocial","user"]),usersEmail(){return this.user.email||"your email address."},setUsernameHeading(){return this.firstTimeLoggingIn?"Confirm your username":"Choose your username"},heading(){const e={logIn:"Welcome back!",register:"Join in",loginWithEmail:"Log in with email",setUsername:this.setUsernameHeading,registerWithEmail:"Sign up with email",verificationOptions:"You're almost done!",requestVerificationText:"Verify via text message",enterVerificationNumber:"Enter verification code",accountConfirmation:"You're all set!",accountConfirmationWithNoCTA:"You're all set!",verifyViaEmail:"Check your inbox",resetPassword:"Create a new password",requestPasswordReset:"Trouble signing in?",requestDisorderDemographicInfo:"Tell us a little about yourself",fNameAndLName:this.loggedInFromSocial?"Create your account":"Please provide your first and last name",setSocialSites:"Where can we find you?"}[this.authForm]||"";return Ae().authDialogHeading||e},copy(){const e={logIn:"Log in now - connect with others, stay up on the latest news, or join the conversation.",register:"Ask questions. Stay up on the latest news. And so much more. Create your free account now.",loginWithEmail:"Enter the email address and password associated with your account.",verificationOptions:"Please verify your account.",requestVerificationText:"Enter your phone number and we'll send you a text with your verification code.",accountConfirmation:"Welcome to the community. We're glad to have you here.",verifyViaEmail:`We sent an email containing a verification link to ${this.usersEmail}.`,requestPasswordReset:"Enter your username or email address. If an account exists, we'll email you a link to create a new password.",accountConfirmationWithNoCTA:"We're so excited you're here."}[this.authForm]||"";return Ae().authDialogText||e},bodyComponent(){return{logIn:"login-options",register:"register-options",loginWithEmail:"login-with-email",setUsername:"set-username",registerWithEmail:"register-with-email",verificationOptions:"verification-options",requestVerificationText:"request-verification-text",enterVerificationNumber:"enter-verification-number",accountConfirmation:"account-confirmation",resetPassword:"reset-password",requestPasswordReset:"request-password-reset",requestDisorderDemographicInfo:"request-disorder-demographic-info",fNameAndLName:"f-name-and-l-name",setSocialSites:"set-social-sites"}[this.authForm]||""},disclaimerComponent(){return{registerWithEmail:"email-disclaimer",loginWithEmail:"email-disclaimer",requestPasswordReset:"email-disclaimer",requestVerificationText:"phone-disclaimer",register:"email-disclaimer",logIn:"email-disclaimer",setUsername:"privacy-policy-and-terms-of-use
443-links",verificationOptions:"privacy-policy-and-terms-of-use-links",verifyViaEmail:"privacy-policy-and-terms-of-use-links",accountConfirmation:"privacy-policy-and-terms-of-use-links",accountConfirmationWithNoCTA:"privacy-policy-and-terms-of-use-links",requestDisorderDemographicInfo:"privacy-policy-and-terms-of-use-links",enterVerificationNumber:"privacy-policy-and-terms-of-use-links",fNameAndLName:this.loggedInFromSocial?"email-disclaimer":"",setSocialSites:"privacy-policy-and-terms-of-use-links"}[this.authForm]||""},kebabCaseAuthType(){return Lw(this.authForm)||""}},mounted(){Ae().setAuthDialogWasShown()},beforeUnmount(){Ae().clearLogInForm()},methods:{close(){this.redirect&&this.handleLoginRedirect(),Ae().closeAuthDialog(),Ae().clearAuthDialogRedirect()},handleVerificationSkip(){Ae().openAuthDialog({authStep:"accountConfirmation"})}}},Bee={class:"auth-dialog"};function jee(e,t,n,r,i,s){const o=ui,a=YY,c=ru;return E(),q(c,{class:ve(["dialog-base--auth",`dialog-base--${s.kebabCaseAuthType}`]),"max-width":668,"show-logo":"","dialog-type":e.authForm,onClose:s.close},{heading:j(()=>[ee(ye(s.heading),1)]),copy:j(()=>[ee(ye(s.copy),1)]),default:j(()=>[C("div",Bee,[(E(),q(Mi(s.bodyComponent)))]),e.authForm==="verifyViaEmail"&&!e.siteHasFeature("social_network")?(E(),q(o,{key:0,"current-step":"3"})):Y("",!0),I(a,{"dialog-type":e.authForm},null,8,["dialog-type"]),!e.isUGC&&e.authForm==="verificationOptions"?(E(),P("button",{key:1,class:"text-button text-button--link-style text-button--center",onClick:t[0]||(t[0]=(...l)=>s.handleVerificationSkip&&s.handleVerificationSkip(...l))}," Skip this step ")):Y("",!0),(E(),q(Mi(s.disclaimerComponent),{class:"disclaimer-text--auth","data-test-id":"auth-disclaimer-text"}))]),_:1},8,["class","dialog-type","onClose"])}const zee=Object.assign(te(Uee,[["render",jee]]),{__name:"AuthDialog"}),sd=un("imageUploads",{state:()=>({uploadedImages:[],imageUploadOpen:!1,mentionBoxID:"",imageType:"ugc"}),actions:{clearUploadedImages(){this.uploadedImages=[]},addUploadedImage(e){this.uploadedImages.push(e),this.imageUploadOpen=!1},setImageUploadOpen(e){this.imageUploadOpen=e},setMentionBoxID(e){this.mentionBoxID=e},setImageType(e){this.imageType=e},openImageUploadDialog(e){this.setImageUploadOpen(!0),this.setMentionBoxID(e),this.setImageType("ugc")},openAvatarUploadDialog(e){this.setImageUploadOpen(!0),this.setMentionBoxID(e),this.setImageType("avatar")},closeImageUploadDialog(){this.setImageUploadOpen(!1)}}}),Hee=eX.regex(/^[a-z\d.\-_(),& ]*$/i),qee={setup(){return{v$:di()}},data(){return{uploading:!1,images:[],altText:""}},validations(){return{altText:{alphaNumHelper:Hee}}},computed:{...$d(sd,["mentionBoxID","imageType"])},methods:{processFile(e){this.images=e.target.files},uploadImage(){const e=new FormData;let t=0;for(t=0;t<this.images.length;t+=1){const i=this.images.item(t);e.append(`images[${t}]`,i,i.name)}e.append("alt",this.altText),e.append("image_type",this.imageType);const n={withCredentials:!0},r=`${w2()}/upload-image`;return $fetch(r,{method:"POST",body:e,...n})},handleSubmit(){if(this.$refs.altText.checkErrors(),this.v$.$invalid){this.uploading=!1;return}const e=this.imageType;if(this.images.length===0){Ge().addToastNotification({toastType:"error",description:"Please select an image to upload"});return}if(this.images.length&&this.images[0].size>4e6){Ge().addToastNotification({toastType:"error",description:"Images must be 4 MB or smaller. Please try again."});return}this.uploading=!0,this.uploadImage().then(t=>{let n={};e==="avatar"?n=t.images.full:n=t.images.medium;const r={...n,mentionBoxId:this.mentionBoxID};sd().addUploadedImage(r)}).catch(()=>{Ge().addGenericErrorNotification()}).finally(()=>{this.uploading=!1})}}},Wee={key:0,class:"image-upload-form__text"},Gee={class:"image-upload-form__file-upload"},Qee={key:0,class:"image-upload-form__preview"},Kee={class:"disclaimer-text"},Yee={class:"align-center"};function Jee(e,t,n,r,i,s){const o=Ji,a=fi,c=Ar,l=lr;return E(),q(l,{class:"image-upload-form",onSubmit:on(s.handleSubmit,["prevent"])},{default:j(()=>[e.imageType!=="avatar"?(E(),P("p",Wee," Your image will be reviewed before itâs displayed. ")):Y("",!0),C("div",Gee,[t[2]||(t[2]=C("label",{for:"images",class:"image-upload-form__label"},"Select an image:",-1)),C("input",{id:"images",type:"file",name:"images",class:"image-upload-form__input",accept:"image/png,image/gif,image/jpeg,image/jpg",onChange:t[0]||(t[0]=(...u)=>s.processFile&&s.processFile(...u))},null,32),i.images.length>0?(E(),P("span",Qee,ye(i.images[0].name),1)):Y("",!0)]),C("div",{class:ve(["validation-group",{"validation-group--invalid":r.v$.altText.$error}])},[I(o,{ref:"altText",model:i.altText,validator:r.v$.altText},null,8,["model","validator"]),e.imageType!=="avatar"?(E(),q(a,{key:0,id:"imageUploadAlt",modelValue:i.altText,"onUpdate:modelValue":t[1]||(t[1]=u=>i.altText=u),class:"text-input--full-width"},{default:j(()=>[...t[3]||(t[3]=[ee("Describe your image (optional):",-1)])]),_:1},8,["modelValue"])):Y("",!0)],2),C("p",Kee,[t[4]||(t[4]=ee(" By clicking upload, you acknowledge that your post complies with our ",-1)),t[5]||(t[5]=C("a",{href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"}
443,"Terms of Use",-1)),t[6]||(t[6]=ee(" and ",-1)),t[7]||(t[7]=C("a",{href:"https://health-union.com/community-rules/",target:"_blank",rel:"noopener noreferrer nofollow"},"Community Rules",-1)),ee(". "+ye(e.$site.name)+" reserves the right to not publish submitted images. ",1)]),C("div",Yee,[I(c,{type:"submit",loading:i.uploading,"button-type":"upload image"},{default:j(()=>[...t[8]||(t[8]=[ee(" Upload ",-1)])]),_:1},8,["loading"])])]),_:1},8,["onSubmit"])}const Xee=Object.assign(te(qee,[["render",Jee],["__scopeId","data-v-b252b959"]]),{__name:"ImageUploadForm"}),Zee={methods:{close(){sd().closeImageUploadDialog()}}};function ete(e,t,n,r,i,s){const o=Xee,a=ru;return E(),q(a,{class:"dialog-base--image-upload",onClose:s.close},{heading:j(()=>[...t[0]||(t[0]=[ee("Upload an image",-1)])]),default:j(()=>[I(o)]),_:1},8,["onClose"])}const tte=Object.assign(te(Zee,[["render",ete]]),{__name:"ImageUploadDialog"}),nte=["alt"],rte="/images/header-masthead.svg",ite=Object.assign({name:"MastheadLink"},{__name:"MastheadLink",setup(e){return(t,n)=>{const r=li;return E(),q(r,{to:"/",class:"masthead-link link link--unstyled"},{default:j(()=>[C("img",{src:rte,alt:t.$site.name,class:"masthead-link__image","data-test-id":"site-logo-image"},null,8,nte)]),_:1})}}}),ste=te(ite,[["__scopeId","data-v-7d7e4c51"]]);function yc(){const e=tt(),{$site:t}=_e(),n=re(()=>e.getSiteSortOrders(t.name)),r=re(()=>{const s=e.isParentSite?t.childSites:t.siblingSites.concat(t);return n.value?s.slice().sort((o,a)=>n.value.indexOf(o.prefix)>n.value.indexOf(a.prefix)?1:-1):s});function i(s){const o=s.split(".")[0],a={Postpartum:"Postpartum Depression",Bipolar:"Bipolar Disorder"},c=o.replace(/([a-z])([A-Z])/g,"$1 $2");return a[o]||c}return{isParentSite:re(()=>e.isParentSite),sortedChildCommunities:r,formattedCommunityName:i}}const ote={class:"community-nav-menu community-nav-menu--communities list-reset"},ate=["href"],cte=["src","alt"],lte={class:"community-nav-menu__item-content"},ute={class:"community-nav-menu__item-label"},fte={class:"community-nav-menu__item-copy"},dte={__name:"CommunitiesNavMenu",setup(e){const{sortedChildCommunities:t,formattedCommunityName:n}=yc();return(r,i)=>(E(),P("ul",ote,[(E(!0),P(Me,null,Pt(F(t),s=>(E(),P("li",{key:s.prefix,class:"community-nav-menu__item"},[C("a",{class:"community-nav-menu__link",href:`https://${s.name}`,target:"_blank",rel:"noopener"},[C("img",{class:"community-nav-menu__item-icon",src:`https://${s.name}/images/logo_avatar.svg`,alt:`${F(n)(s.name)} logo`},null,8,cte),C("div",lte,[C("span",ute,ye(F(n)(s.name)),1),C("p",fte," A community for people living with "+ye(F(n)(s.name).toLowerCase()),1)])],8,ate)]))),128))]))}},hte=te(dte,[["__scopeId","data-v-d5fefb3d"]]),pte={class:"community-nav-menu list-reset"},mte={key:0,class:"community-nav-menu__item"},gte={key:1,class:"community-nav-menu__item"},_te={key:2,class:"community-nav-menu__item"},yte={__name:"CommunityNavMenu",setup(e){const t=tt();return(n,r)=>{const i=Xe,s=li;return E(),P("ul",pte,[F(t).siteHasFeature("forums")?(E(),P("li",mte,[I(s,{class:"community-nav-menu__link",to:"/forums"},{default:j(()=>[I(i,{name:"mega-menu-forums",class:"community-nav-menu__item-icon"}),r[0]||(r[0]=C("div",{class:"community-nav-menu__item-content"},[C("span",{class:"community-nav-menu__item-label"},"Forums"),C("p",{class:"community-nav-menu__item-copy"}," Join discussions and connect with other community members ")],-1))]),_:1})])):Y("",!0),F(t).siteHasFeature("stories")?(E(),P("li",gte,[I(s,{class:"community-nav-menu__link",to:"/stories"},{default:j(()=>[I(i,{name:"mega-menu-stories",class:"community-nav-menu__item-icon"}),r[1]||(r[1]=C("div",{class:"community-nav-menu__item-content"},[C("span",{class:"community-nav-menu__item-label"},"Stories"),C("p",{class:"community-nav-menu__item-copy"}," Read personal stories and experiences or share your own story ")],-1))]),_:1})])):Y("",!0),F(t).siteHasFeature("community")?(E(),P("li",_te,[I(s,{class:"community-nav-menu__link",to:"/community"},{default:j(()=>[I(i,{name:"mega-menu-community-hub",class:"community-nav-menu__item-icon"}),r[2]||(r[2]=C("div",{class:"community-nav-menu__item-content"},[C("span",{class:"community-nav-menu__item-label"},"Community Hub"),C("p",{class:"community-nav-menu__item-copy"}," Get the latest updates from the community ")],-1))]),_:1})])):Y("",!0)])}}},Jw=te(yte,[["__scopeId","data-v-314b2525"]]),vte={name:"AppLink",props:{to:{type:[String,Object],required:!0},exact:{type:Boolean,default:!1},vHtml:{type:String,default:null}},computed:{isFullUrl(){return this.to.match(/^http(s)?:\/\//)},linkType(){return this.isFullUrl?"a":li},linkProps(){return this.isFullUrl?{href:this.to,target:"_blank",rel:"noopener"}:{to:this.to,exact:this.exact}}}};function bte(e,t,n,r,i,s){return n.vHtml?(E(),q(Mi(s.linkType),xs({key:0},s.linkProps,{innerHTML:n.vHtml}),null,16,["innerHTML"])):(E(),q(Mi(s.linkType),dd(xs({key:1},s.linkProps)),{default:j(()=>[_t(e.$slots,"default")]),_:3},16))}const Xw=Object.assign(te(vte,[["render",bte]]),{__name:"AppLink"}),wte={key:1,class:"mega-menu-child-section__parent-item"},Ste={key:2,class:"mega-menu-child-section__list list-reset"},Ete={__name:"MegaMenuChildSection",props:{item:{type:Object,required:!0}},setup(e){const t=re(()=>e.item.items?.length>0);return(n,r)=>{const i=Xe,s=Xw;return E(),P("div",{class:ve(["mega-menu-child-section",{"mega-menu-child-section--has-list":F(t)}])},[e.item.url?(E(),q(s,{key:0,class:"mega-menu-child-section__parent-item mega-menu-child-section__parent-item--link link--unstyled",to:e.item.url},{default:j(()=>[ee(ye(e.item.title)+" ",1),I(i,{name:"caret",class:"mega-menu-child-section__icon"})]),_:1}
443,8,["to"])):(E(),P("div",wte,ye(e.item.title),1)),F(t)?(E(),P("ul",Ste,[(E(!0),P(Me,null,Pt(e.item.items,o=>(E(),P("li",{key:o.menu_id,class:"mega-menu-child-section__list-item"},[I(s,{class:"mega-menu-child-section__link link--unstyled",to:o.url},{default:j(()=>[ee(ye(o.title),1)]),_:2},1032,["to"])]))),128))])):Y("",!0)],2)}}},Tte=te(Ete,[["__scopeId","data-v-4cb08b66"]]),kte={class:"mega-menu-child-list"},xte={__name:"MegaMenuChildList",props:{items:{type:Object,required:!0}},setup(e){const t=new Set(["automated_recents","automated_popular"]);function n(s){return t.has(s.type)}function r(s){return s.type==="column"}function i(s){return s.type==="link_list_full_width"}return(s,o)=>{const a=Tte;return E(),P("div",kte,[(E(!0),P(Me,null,Pt(e.items,c=>(E(),P("div",{key:c.menu_id,class:ve(["mega-menu-child-list__item",{"mega-menu-child-list__item--wide":n(c),"mega-menu-child-list__item--column":r(c),"mega-menu-child-list__item--full-width":i(c)}])},[r(c)?(E(!0),P(Me,{key:0},Pt(c.items,l=>(E(),q(a,{key:l.menu_id,item:l},null,8,["item"]))),128)):(E(),q(a,{key:1,item:c},null,8,["item"]))],2))),128))])}}},Zw=te(xte,[["__scopeId","data-v-b202c6fd"]]),Cte={key:0,class:"mega-menu-teasers"},Ite=["src","alt"],Ote={class:"mega-menu-teasers__content"},Ate={class:"mega-menu-teasers__label"},Rte={class:"mega-menu-teasers__title"},Pte={__name:"MegaMenuTeasers",props:{limit:{type:Number,required:!0}},setup(e){const t=Rt(),{formattedCommunityName:n}=yc(),r=re(()=>(t.featuredContent||[]).filter(a=>a?.secondaryImg?.[0]?.url));function i(a){const c=a.secondaryImg[0];return c.urlPostThumbnail||c.urlMedium||c.url}function s(a){return a.secondaryImg[0]?.alt||a.title||""}function o(a){return a.sourceSiteName?n(a.sourceSiteName):"Featured"}return(a,c)=>{const l=Xw;return F(r).length?(E(),P("div",Cte,[(E(!0),P(Me,null,Pt(F(r).slice(0,e.limit),u=>(E(),q(l,{key:u.permalink,to:u.permalink,class:"mega-menu-teasers__link link--unstyled"},{default:j(()=>[C("img",{src:i(u),alt:s(u),class:"mega-menu-teasers__image",loading:"lazy"},null,8,Ite),C("div",Ote,[C("p",Ate,ye(o(u)),1),C("p",Rte,ye(u.title),1)])]),_:2},1032,["to"]))),128))])):Y("",!0)}}},ng=te(Pte,[["__scopeId","data-v-42b03efb"]]),Dte=["aria-expanded"],Nte={__name:"MegaMenuItem",props:{item:{type:Object,required:!0},isOpen:{type:Boolean,default:!1}},emits:["click"],setup(e,{expose:t}){const n=Ee(null),r=Ee(null);function i(){n.value?.contains(document.activeElement)&&r.value?.focus()}return t({restoreFocus:i}),(s,o)=>{const a=Xe;return E(),P("li",{ref_key:"rootRef",ref:n,class:ve(["mega-menu-item",{"mega-menu-item--open":e.isOpen}])},[C("button",{ref_key:"buttonRef",ref:r,class:"mega-menu-item__button text-button","aria-expanded":e.isOpen,onClick:o[0]||(o[0]=c=>s.$emit("click",c))},[ee(ye(e.item.title)+" ",1),I(a,{name:"caret",class:"mega-menu-item__icon"})],8,Dte),_t(s.$slots,"default",{},void 0,!0)],2)}}},eS=te(Nte,[["__scopeId","data-v-c2d2a010"]]),$te={class:"mega-menu__header-nav"},Lte={class:"mega-menu__header-nav-list list-reset"},Mte={class:"mega-menu__panel"},Fte={class:"mega-menu__panel-content"},Vte={__name:"MegaMenu",setup(e){const t=Vo.directive,n=Rt(),r=Ee(null),i=new Map;function s(p,m){m?i.set(p,m):i.delete(p)}function o(p){return n.expandedDropdownItem===p}function a(p){n.setexpandedDropdownItem(p),p!==null&&n.searchPanelOpen&&n.setSearchPanelOpen(!1)}function c(p){clearTimeout(r.value),r.value=setTimeout(()=>{a(p)},200)}function l(){clearTimeout(r.value),r.value=setTimeout(()=>{a(null)},200)}function u(p){clearTimeout(r.value),a(o(p)?null:p)}function f(p,m){p.detail===0&&u(m)}function d(){n.expandedDropdownItem!==null&&u(n.expandedDropdownItem)}function h(p){p.key!=="Escape"||n.expandedDropdownItem===null||(i.get(n.expandedDropdownItem)?.restoreFocus(),u(n.expandedDropdownItem))}return yn(()=>{document.addEventListener("keyup",h)}),xr(()=>{document.removeEventListener("keyup",h),clearTimeout(r.value)}),(p,m)=>{const g=hte,_=Jw,b=Zw,y=ng,v=eS;return Kt((E(),P("div",{class:"mega-menu",onMouseleave:l},[C("nav",$te,[C("ul",Lte,[(E(!0),P(Me,null,Pt(F(n).megaMenuItems,w=>(E(),q(v,{key:w.menu_id,ref_for:!0,ref:S=>s(w.menu_id,S),item:w,"is-open":o(w.menu_id),class:"mega-menu__header-nav-item",onMouseenter:()=>c(w.menu_id),onClick:S=>f(S,w.menu_id)},{default:j(()=>[Kt(C("div",Mte,[C("div",Fte,[w.menu_id==="community"?(E(),P(Me,{key:0},[("useSiteStore"in p?p.useSiteStore:F(tt))().isParentSite?(E(),q(g,{
443key:0})):(E(),q(_,{key:1}))],64)):(E(),q(b,{key:1,items:w.items},null,8,["items"]))]),I(y,{limit:3})],512),[[oi,o(w.menu_id)]])]),_:2},1032,["item","is-open","onMouseenter","onClick"]))),128))])])],32)),[[F(t),d]])}}},Ute=te(Vte,[["__scopeId","data-v-ac2067f7"]]),Ri=un("siteSearch",{state:()=>({focusSearch:!1}),actions:{setFocusSearch(e){this.focusSearch=e}}}),Bte=Object.assign({name:"NewSearchButton"},{__name:"NewSearchButton",setup(e){const{$snowplow:t}=_e(),n=Rt(),r=Ri();function i(s){const o=!n.searchPanelOpen;n.setSearchPanelOpen(o),o&&r.setFocusSearch(!0),t.trackButtonEvent({data:{type:"search",text:s.target.textContent.trim(),classes:s.target.classList,id:s.target.id}})}return(s,o)=>{const a=Xe;return E(),q(a,{id:"search-button",name:"magnifying-glass",container:"button","aria-label":"Site Wide Search","aria-expanded":F(n).searchPanelOpen?"true":"false","aria-controls":"search-panel",class:ve(`new-header__icon-button new-header__icon-button--search${F(n).searchPanelOpen?" new-header__icon-button--search-open":""}`),onClick:i},null,8,["aria-expanded","class"])}}}),jte={name:"SiteSearch",props:{focusOnRequest:{type:Boolean,default:!1}},emits:["blur"],data(){return{term:""}},computed:{...ue(Ri,["focusSearch"])},watch:{focusSearch(e){e&&this.focusOnRequest&&this.$nextTick(()=>{this.$refs.search.focus()})}},mounted(){this.focusSearch&&this.focusOnRequest&&this.$refs.search.focus()},methods:{searchFunction(){if(this.term.toLowerCase().replace(/\s/g,"")==="supersecretdebugtool"){this.$router.push({name:"debugTool"});return}this.$router.push({name:"search",query:{s:this.term}}),this.term=""},emitBlurEvent(){this.$emit("blur")}}},zte={class:"site-search__button"};function Hte(e,t,n,r,i,s){const o=Xe,a=lr;return E(),q(a,{class:"site-search",role:"search",onSubmit:on(s.searchFunction,["prevent"])},{default:j(()=>[Kt(C("input",{id:"search",ref:"search","onUpdate:modelValue":t[0]||(t[0]=c=>i.term=c),name:"search",class:"site-search__input",type:"search",placeholder:"Search the community","aria-label":"Search text",onBlur:t[1]||(t[1]=(...c)=>s.emitBlurEvent&&s.emitBlurEvent(...c))},null,544),[[Fi,i.term]]),C("button",zte,[t[2]||(t[2]=C("span",{class:"site-search__button-hidden-text"},"Search",-1)),I(o,{name:"magnifying-glass",class:"site-search__button-icon"})])]),_:1},8,["onSubmit"])}const rg=Object.assign(te(jte,[["render",Hte],["__scopeId","data-v-9674675b"]]),{__name:"SiteSearch"}),qte=Object.assign({name:"SearchPanel"},{__name:"SearchPanel",setup(e){const t=Vo.directive,n=Rt(),r=Ri(),i=Vi(),s=Ee(null);it(()=>i.fullPath,()=>{n.searchPanelOpen&&n.setSearchPanelOpen(!1)});function o(){r.setFocusSearch(!1)}function a(l){n.searchPanelOpen&&(l.target.closest("#search-button")||n.setSearchPanelOpen(!1))}function c(l){l.key!=="Escape"||!n.searchPanelOpen||(s.value?.contains(document.activeElement)&&document.getElementById("search-button")?.focus(),n.setSearchPanelOpen(!1))}return yn(()=>{document.addEventListener("keyup",c)}),xr(()=>{document.removeEventListener("keyup",c)}),(l,u)=>{const f=rg,d=ng;return Kt((E(),P("div",{id:"search-panel",ref_key:"panelRef",ref:s,class:"search-panel"},[I(f,{"focus-on-request":"",onBlur:o}),I(d,{limit:3})])),[[oi,F(n).searchPanelOpen],[F(t),a]])}}}),Wte=te(qte,[["__scopeId","data-v-42c09fa9"]]),Gte=Object.assign({name:"NewAccessibilityButton"},{__name:"NewAccessibilityButton",emits:["a11y_menu","a11yButtonClicked"],setup(e,{emit:t}){const n=t,{$snowplow:r}=_e(),i=Jn(),s=re(()=>{const a=["new-header__icon-button","new-header__icon-button--accessibility"];return i.a11yMenuOpen&&a.push("new-header__icon-button--accessibility-open"),a});function o(a){n("a11y_menu",{label:"toggle",opening:!i.a11yMenuOpen}),i.setA11yMenuOpen(!i.a11yMenuOpen),n("a11yButtonClicked"),r.trackButtonEvent({data:{type:"a11y",text:a.target.textContent.trim(),classes:a.target.classList,id:a.target.id}})}return(a,c)=>{const l=Xe;return E(),q(l,{id:"a11y-tools-toggle-button",name:"accessibility",container:"button","aria-label":"Accessibility Tools","aria-expanded":F(i).a11yMenuOpen?"true":"false","aria-controls":"accessibility-menu",class:ve(F(s)),onClick:o},null,8,["aria-expanded","class"])}}}),Qte={class:"accessibility-option"},Kte={class:"accessibility-option__example","aria-hidden":"true"},Yte={key:0,class:"accessibility-option__visual-label","aria-hidden":"true"},Jte=Object.assign({name:"NewAccessibilityOption"}
443,{__name:"NewAccessibilityOption",props:{visualLabel:{type:String,default:null},settingType:{type:String,required:!0,validator:e=>["fontSize","contrast"].includes(e)},settingValue:{type:String,required:!0}},setup(e){const t=e,n=Jn(),r=t.settingType==="fontSize",i=re(()=>Object.values(n.settings).includes(t.settingValue)),s=re(()=>{const a=["accessibility-option__button",`accessibility-option__button--${t.settingValue}`];return i.value&&a.push("accessibility-option__button--selected"),a});function o(){n.setA11ySettings({[t.settingType]:t.settingValue})}return(a,c)=>(E(),P("div",Qte,[C("button",{class:ve(F(s)),onClick:o},[C("span",Kte,ye(r?"A":""),1)],2),e.visualLabel?(E(),P("span",Yte,ye(e.visualLabel),1)):Y("",!0)]))}}),Xte=te(Jte,[["__scopeId","data-v-77747129"]]),Zte={class:"accessibility-menu__fieldset"},ene={class:"accessibility-menu__options accessibility-menu__options--font-size"},tne={class:"accessibility-menu__fieldset"},nne={class:"accessibility-menu__options accessibility-menu__options--contrast"},rne=Object.assign({name:"NewAccessibilityMenu"},{__name:"NewAccessibilityMenu",props:{setFocus:{type:Boolean,default:!1}},setup(e){const t=e,n=Vo.directive,r=Jn(),i=Ee(null);function s(){r.resetA11ySettings()}function o(){r.setA11yMenuOpen(!1)}function a(l){l.key!=="Escape"||!r.a11yMenuOpen||(i.value?.contains(document.activeElement)&&document.getElementById("a11y-tools-toggle-button")?.focus(),o())}yn(()=>{document.addEventListener("keyup",a),t.setFocus&&i.value?.focus()}),xr(()=>{document.removeEventListener("keyup",a)});function c(l){const u=l.target.classList.contains("new-header__icon-button--accessibility");!r.a11yMenuOpen||u||o()}return(l,u)=>{const f=Xte;return Kt((E(),P("div",{id:"accessibility-menu",ref_key:"menuRef",ref:i,tabindex:"0",class:"accessibility-menu","aria-description":"Accessibility tools, buttons to change the appearance of the website"},[C("fieldset",Zte,[u[0]||(u[0]=C("legend",{class:"accessibility-menu__legend"},"Text Size",-1)),C("div",ene,[I(f,{"setting-type":"fontSize","setting-value":"font-reg","aria-label":"Standard Font Size"}),I(f,{"setting-type":"fontSize","setting-value":"font-lg","aria-label":"Large Font Size"}),I(f,{"setting-type":"fontSize","setting-value":"font-xl","aria-label":"Extra Large Font Size"})])]),C("fieldset",tne,[u[1]||(u[1]=C("legend",{class:"accessibility-menu__legend"},"Contrast",-1)),C("div",nne,[I(f,{"visual-label":"Default","setting-type":"contrast","setting-value":"contrast-reg","aria-label":"Standard Contrast Style"}),I(f,{"visual-label":"Low","setting-type":"contrast","setting-value":"contrast-low","aria-label":"Low Contrast Style"}),I(f,{"visual-label":"High","setting-type":"contrast","setting-value":"contrast-light","aria-label":"Light High Contrast Style"}),I(f,{"visual-label":"High","setting-type":"contrast","setting-value":"contrast-dark","aria-label":"Dark High Contrast Style"})])]),C("button",{class:"accessibility-menu__reset-button","aria-label":"Reset Accessibility Styles to Default",onClick:s},"Reset")])),[[F(n),c]])}}}),ine=te(rne,[["__scopeId","data-v-365443bb"]]);function sne(){let e=[];return{cleanup:()=>{e=e.filter(r=>(r(),!1))},onCleanup:r=>{e.push(r)}}}function one(e){let t=()=>{};const n=new Promise(i=>{t=()=>{e(),i()}});return{promise:n,resolvePromise:t,onResolvedPromise:i=>{n.then(i)}}}function ane(e){const t=e.effect.fn,n=e.render;e.render=(...r)=>{e.effect.fn=()=>n(...r);const i=e.effect.run();return e.effect.fn=t,e.render=n,i}}const cne=e=>typeof e=="function",lne=e=>e!==null&&typeof e=="object";function mf(e,t){if(si(e)&&(t(e),e.children!==null)){if(Array.isArray(e.children)){e.children.forEach(n=>mf(n,t));return}lne(e.children)&&Object.keys(e.children).forEach(n=>{if(!cne(e.children[n]))return;const r=e.children[n]();if(Array.isArray(r)){r.forEach(i=>mf(i,t));return}mf(r,t)})}}function une(e){var t,n;return((t=e.type)==null?void 0:t.__asyncLoader)&&((n=e.type)==null?void 0:n.name)==="AsyncComponentWrapper"}function fne({subTree:e},t){const n=[];if(mf(e,r=>{une(r)&&n.push(r.type.__asyncLoader())}),n.length>0){Promise.all(n).then(t);return}t()}function dne(e){if(!e||!e.subTree)return;const t=e.subTree.el,n=e.u;e.u===null&&(e.u=[]),e.u.push(()=>{e.subTree.el===null&&(e.subTree.el=t),e.u=n})}function hne(){const e=Et();if(!e||e.isMounted)throw new Error("useLazyHydration must be called from the setup method.");const t=e.vnode.el!==null;if(e.vnode.type.__isLazilyHydrated=!0,!t)return{willPerformHydration:t,onHydrated:()=>{}};const{cleanup:n,onCleanup:r}=sne(),{promise:i,resolvePromise:s,onResolvedPromise:o}=one(n),a=c=>o(()=>Wt(()=>fne(e,c)));return e.type.__asyncLoader=()=>i,dne(e.parent),Bl(()=>{e.asyncDep=new Promise(c=>{c(!0)})}),o(()=>{ane(e),e.asyncDep=null}),ic(n),{willPerformHydration:t,hydrate:s,onHydrated:a,onCleanup:r}}function pne({willPerformHydration:e,hydrate:t,onCleanup:n}
443,r=2e3){if(!e)return;if(!Et())throw new Error("useHydrateWhenIdle must be called from the setup or lifecycle hook methods.");if(!("requestIdleCallback"in window)){t();return}const i=requestIdleCallback(()=>{t()},{timeout:r});n(()=>{cancelIdleCallback(i)})}const tS={ELEMENT:1,COMMENT:8},jy=e=>e&&e.nodeType===tS.ELEMENT,nS=e=>e&&e.nodeType===tS.COMMENT,mne=e=>nS(e)&&e?.data==="[",gne=e=>nS(e)&&e?.data==="]";function rS({vnode:e,subTree:t}){if(!e||e.el===null)return[];if(jy(e.el))return[e.el];const n=[];if(t&&mne(t.el)&&gne(t.anchor)){let r=e.el.nextSibling;for(;r;){if(r&&jy(r)&&n.push(r),r===t.anchor)return n;r=r.nextSibling}}return n}function _ne({willPerformHydration:e,hydrate:t,onCleanup:n},r=["focus"]){if(!e)return;const i=Et();if(!i||i.isMounted)throw new Error("useHydrateOnInteraction must be called from the setup method.");const s=F(r);yn(()=>{const o=rS(i),a=o.length>1?o[0].parentElement||document:o[0],c={capture:!0,once:!1,passive:!0},l=u=>{u.stopPropagation();const f=u.composedPath&&u.composedPath()||u.path;if(!f){let d=u.target;for(;d;){if(o.includes(d)){t();return}if(d===a)return;d=d.parentElement}return}o.forEach(d=>{f.includes(d)&&t()})};s.forEach(u=>{a.addEventListener(u,l,c)}),n(()=>{s.forEach(u=>{a.removeEventListener(u,l,c)})})})}function yne({willPerformHydration:e,hydrate:t,onCleanup:n},r){if(!e)return;if(!Et())throw new Error("useHydrateWhenTriggered must be called from the setup or lifecycle hook methods.");const i=it(et(r)?r:()=>r,s=>{s&&t()},{immediate:!0});n(i)}const r1=new Map;function vne(e){const t=typeof IntersectionObserver<"u";if(!t)return{supported:t};const n=JSON.stringify(e);if(r1.has(n))return{supported:t,observer:r1.get(n)};const r=new IntersectionObserver(i=>{i.forEach(s=>{!(s.isIntersecting||s.intersectionRatio>0)||!s.target.hydrate||s.target.hydrate()})},e);return r1.set(n,r),{supported:t,observer:r}}function bne({willPerformHydration:e,hydrate:t,onCleanup:n},r){if(!e)return;const i=Et();if(!i||i.isMounted)throw new Error("useHydrateWhenVisible must be called from the setup method.");const{supported:s,observer:o}=vne(r);if(!s){t();return}yn(()=>{const a=rS(i);a.forEach(c=>{c.hydrate=t,o.observe(c)}),n(()=>{a.forEach(c=>{delete c.hydrate,o.unobserve(c)})})})}const zy=e=>e.length===1?e[0]:e,wne=or({name:"LazyHydrationWrapper",inheritAttrs:!1,suspensible:!1,props:{whenIdle:{default:!1,type:[Boolean,Number]},whenVisible:{default:!1,type:[Boolean,Object]},onInteraction:{default:!1,type:[Array,Boolean,String]},whenTriggered:{default:void 0,type:[Boolean,Object]}},emits:["hydrated"],setup(e,{slots:t,emit:n}){const r=hne();if(!r.willPerformHydration)return()=>zy(t.default());if(r.onHydrated(()=>n("hydrated")),e.whenIdle&&pne(r,e.whenIdle!==!0?e.whenIdle:void 0),e.whenVisible&&bne(r,e.whenVisible!==!0?e.whenVisible:void 0),e.onInteraction){let i;e.onInteraction!==!0&&(i=re(()=>Array.isArray(e.onInteraction)?e.onInteraction:[e.onInteraction]).value),_ne(r,i)}return e.whenTriggered!==void 0&&yne(r,nc(e,"whenTriggered")),()=>zy(t.default())}}),bh=Fl(wne);async function Sne(e,t){return await Ene(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function Ene(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const r=new Image;r.onload=()=>{const i={width:r.width,height:r.height,ratio:r.width/r.height};t(i)},r.onerror=i=>n(i),r.src=e})}function ti(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function Tne(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const n of e.split(" ")){const r=Number.parseInt(n.replace("x",""));r&&t.add(r)}return Array.from(t)}function kne(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function xne(e){const t={};if(typeof e=="string")for(const n of e.split(/[\s,]+/).filter(r=>r)){const r=n.split(":");r.length!==2?t["1px"]=r[0].trim():t[r[0].trim()]=r[1].trim()}else Object.assign(t,e);return t}function Cne(e){const t={options:e},n=(i,s={})=>iS(t,i,s),r=(i,s={},o={})=>n(i,{...o,modifiers:Wl(s,o.modifiers||{})}).url;for(const i in e.presets)r[i]=(s,o,a)=>r(s,o,{...e.presets[i],...a});return r.options=e,r.getImage=n,r.getMeta=(i,s)=>Ine(t,i,s),r.getSizes=(i,s)=>
443Rne(t,i,s),t.$img=r,r}async function Ine(e,t,n){const r=iS(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await Sne(e,r.url)}function iS(e,t,n){if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:r,defaults:i}=One(e,n.provider||e.options.provider),s=Ane(e,n.preset);if(t=Br(t)?t:iI(t),!r.supportsAlias){for(const l in e.options.alias)if(t.startsWith(l)){const u=e.options.alias[l];u&&(t=Dd(u,t.slice(l.length)))}}if(r.validateDomains&&Br(t)){const l=j0(t).host;if(!e.options.domains.find(u=>u===l))return{url:t}}const o=Wl(n,s,i);o.modifiers={...o.modifiers};const a=o.modifiers.format;o.modifiers?.width&&(o.modifiers.width=ti(o.modifiers.width)),o.modifiers?.height&&(o.modifiers.height=ti(o.modifiers.height));const c=r.getImage(t,o,e);return c.format=c.format||a||"",c}function One(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function Ane(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function Rne(e,t,n){const r=ti(n.modifiers?.width),i=ti(n.modifiers?.height),s=xne(n.sizes),o=n.densities?.trim()?Tne(n.densities.trim()):e.options.densities;kne(o);const a=r&&i?i/r:0,c=[],l=[];if(Object.keys(s).length>=1){for(const p in s){const m=Hy(p,String(s[p]),i,a,e);if(m!==void 0){c.push({size:m.size,screenMaxWidth:m.screenMaxWidth,media:`(max-width: ${m.screenMaxWidth}px)`});for(const g of o)l.push({width:m._cWidth*g,src:qy(e,t,n,m,g)})}}Pne(c)}else for(const p of o){const m=Object.keys(s)[0];let g=m?Hy(m,String(s[m]),i,a,e):void 0;g===void 0&&(g={size:"",screenMaxWidth:0,_cWidth:n.modifiers?.width,_cHeight:n.modifiers?.height}),l.push({width:p,src:qy(e,t,n,g,p)})}Dne(l);const u=l[l.length-1],f=c.length?c.map(p=>`${p.media?p.media+" ":""}${p.size}`).join(", "):void 0,d=f?"w":"x",h=l.map(p=>`${p.src} ${p.width}${d}`).join(", ");return{sizes:f,srcset:h,src:u?.src}}function Hy(e,t,n,r,i){const s=i.options.screens&&i.options.screens[e]||Number.parseInt(e),o=t.endsWith("vw");if(!o&&/^\d+$/.test(t)&&(t=t+"px"),!o&&!t.endsWith("px"))return;let a=Number.parseInt(t);if(!s||!a)return;o&&(a=Math.round(a/100*s));const c=r?Math.round(a*r):n;return{size:t,screenMaxWidth:s,_cWidth:a,_cHeight:c}}function qy(e,t,n,r,i){return e.$img(t,{...n.modifiers,width:r._cWidth?r._cWidth*i:void 0,height:r._cHeight?r._cHeight*i:void 0},n)}function Pne(e){e.sort((n,r)=>n.screenMaxWidth-r.screenMaxWidth);let t=null;for(let n=e.length-1;n>=0;n--){const r=e[n];r.media===t&&e.splice(n,1),t=r.media}for(let n=0;n<e.length;n++)e[n].media=e[n+1]?.media||""}function Dne(e){e.sort((n,r)=>n.width-r.width);let t=null;for(let n=e.length-1;n>=0;n--){const r=e[n];r.width===t&&e.splice(n,1),t=r.width}}const Nne=e=>({url:e}),$ne=Object.freeze(Object.defineProperty({__proto__:null,getImage:Nne},Symbol.toStringTag,{value:"Module"})),Lne={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"none",domains:[],alias:{},densities:[1,2],format:["webp"],providers:{none:{provider:$ne,defaults:{}}}},sS=e=>{const t=Cr(),n=_e();return n.$img||n._img||(n._img=Cne({...Lne,event:n.ssrContext?.event,nuxt:{baseURL:t.app.baseURL},runtimeConfig:t}))};function Mne(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const Fne={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},Vne=e=>{const t=re(()=>({provider:e.provider,preset:e.preset})),n=re(()=>({width:ti(e.width),height:ti(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),r=sS(),i=re(()=>({...e.modifiers,width:ti(e.width),height:ti(e.height),format:e.format,quality:e.quality||r.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:i}},Une={...Fne,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},Bne=["src"],jne=or({__name:"NuxtImg",props:Une,emits:["load","error"],setup(e,{emit:t}){const n=e,r=zv(),i=t,s=!1,o=sS(),a=Vne(n),c=Ee(!1),l=Ee(),u=re(()=>o.getSizes(n.src,{...a.options.value,sizes:n.sizes,densities:n.densities,modifiers:{...a.modifiers.value,width:ti(n.width),height:ti(n.height)}})),f=re(()=>{const _={...a.attrs.value,"data-nuxt-img":""};return(!n.placeholder||c.value)&&(_.sizes=u.value.sizes,_.srcset=u.value.srcset),_}),d=re(()=>{let _=n.placeholder;if(_===""&&(_=!0),!_||c.value)return!1;if(typeof _=="string")return _;const b=Array.isArray(_)?_:typeof _=="number"?[_,_]:[10,10];return o(n.src,{...a.modifiers.value,width:b[0],height:b[1],quality:b[2]||50,blur:b[3]||3},a.options.value)}),h=re(()=>n.sizes?u.value.src:o(n.src,a.modifiers.value,a.options.value)),p=re(()=>d.value?d.value:h.value),g=_e().isHydrating;return yn(()=>
443{if(d.value||n.custom){const _=new Image;h.value&&(_.src=h.value),n.sizes&&(_.sizes=u.value.sizes||"",_.srcset=u.value.srcset),_.onload=b=>{c.value=!0,i("load",b)},_.onerror=b=>{i("error",b)},Mne("nuxt-image");return}l.value&&(l.value.complete&&g&&(l.value.getAttribute("data-error")?i("error",new Event("error")):i("load",new Event("load"))),l.value.onload=_=>{i("load",_)},l.value.onerror=_=>{i("error",_)})}),(_,b)=>_.custom?_t(_.$slots,"default",dd(xs({key:1},{...F(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...f.value,...F(r)},isLoaded:c.value,src:p.value}))):(E(),P("img",xs({key:0,ref_key:"imgEl",ref:l,class:d.value&&!c.value?_.placeholderClass:void 0},{...F(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},...f.value,...F(r)},{src:p.value}),null,16,Bne))}}),zne=Object.assign(jne,{__name:"NuxtImg"}),ms=un("profileTooltip",{state:()=>({profileTooltipUserId:"",tooltipAnchorRect:{},isCrossPublished:!1,originalSite:""}),getters:{showTooltip:e=>!!e.profileTooltipUserId},actions:{addProfileTooltip(e){this.profileTooltipUserId=e.userId,this.tooltipAnchorRect=e.anchorRect,this.isCrossPublished=e.isCrossPublished,this.originalSite=e.originalSite},removeProfileTooltip(){this.profileTooltipUserId="",this.tooltipAnchorRect={},this.isCrossPublished=!1,this.originalSite=""}}}),Hne={computed:{...ue(tt,["siteHasFeature"]),profileTooltipEnabled(){return this.showTooltip&&this.siteHasFeature("Accounts")}},methods:{openUserProfileTooltip(e){if(!this.profileTooltipEnabled)return;const{top:t,right:n,bottom:r,left:i}=e.target.getBoundingClientRect();ms().addProfileTooltip({userId:this.user?this.user.id:this.userId,isCrossPublished:this.isCrossPublished,originalSite:this.originalSite,anchorRect:{top:t,right:n,bottom:r,left:i}})}}},qne=["full","thumb","header","profileTooltip","medium","large"],Wne={name:"UserAvatar",mixins:[Hne],props:{user:{type:Object,default:()=>{}},isCrossPublished:{type:Boolean,default:!1},originalSite:{type:String,default:null},size:{type:String,default:"thumb",validator:e=>qne.includes(e)},displayTooltip:{type:Boolean,default:!0}},data(){return{pxSizeMap:{full:150,thumb:44,header:28,profileTooltip:100,medium:125,large:150}}},computed:{...ue(hh,["getSiteSummary"]),username(){return this.user?this.user.username:"Anonymous"},isUserEditorialTeam(){return this.user&&this.user.username==="Editorial Team"},src(){if(this.user){const{avatar:e,site:t}=this.user,n=Py(e,this.size),r=t?.name;if(this.isCrossPublished&&this.$site.prefix!==this.originalSite){const i=this.siteHost(this.originalSite);return this.isUserEditorialTeam?`https://${this.siteHost(this.$site.prefix)}/images/logo_avatar.svg`:`https://${i}${n}`}return r&&r!==this.$site.name?`https://${r.toLowerCase()}${n}`:n}return Py(null,this.size)},showTooltip(){return this.user?this.displayTooltip:!1}},methods:{defaultAvatarSrc:Y2,siteHost(e){return this.getSiteSummary(e)&&this.getSiteSummary(e).host},isEditorialTeam(e){return e.username==="Editorial Team"}}};function Gne(e,t,n,r,i,s){const o=zne;return E(),P("div",{class:ve(["user-avatar",`user-avatar--${n.size}`]),onClick:t[0]||(t[0]=(...a)=>e.openUserProfileTooltip&&e.openUserProfileTooltip(...a))},[I(o,{src:s.src,alt:`${s.username}'s avatar image`,width:i.pxSizeMap[n.size],height:i.pxSizeMap[n.size],loading:"lazy",class:"user-avatar__image","data-test-id":"user-avatar-image",placeholder:s.defaultAvatarSrc(n.size)},null,8,["src","alt","width","height","placeholder"])],2)}const ig=Object.assign(te(Wne,[["render",Gne],["__scopeId","data-v-5cd24a60"]]),{__name:"UserAvatar"}),wh=ke` 444fragment StatusReplyFragment on UserProfileStatusReply { 445 body, 446 id, 447 insertedAt, 448 user { 449 id 450 username 451 insertedAt 452 roleId 453 avatar { 454 thumb 455 } 456 } 457 inReplyTo { 458 id 459 } 460}`,rce=ke` 461${wh} 462fragment UserStatusRepliesFragment on UserProfileStatus { 463 replies { 464 ...StatusReplyFragment 465 } 466}`,Qne=ke` 467query user($id: NexusId, $slug: String, $originalSite: String) { 468 user(id: $id, slug: $slug, originalSite: $originalSite) { 469 id 470 badge 471 secondaryBadge 472 username 473 slug 474 avatar { 475 thumb 476 full 477 } 478 roleId 479 legacyRole 480 description 481 isFollowed 482 site { 483 name 484 } 485 socialSites { 486 id 487 type 488 url 489 } 490 } 491} 492`,ice=ke` 493${wh} 494query user($slug: String) { 495 user(slug: $slug) { 496 id 497 badge 498 secondaryBadge 499 username 500 firstName 501 lastName 502 slug 503 avatar { 504 thumb 505 full 506 } 507 roleId 508 legacyRole 509 insertedAt 510 isFollowed 511 bio 512 profileStatus { 513 id 514 body 515 insertedAt 516 replies { 517 ...StatusReplyFragment 518 } 519 } 520 socialSites { 521 id 522 type 523 url 524 } 525 } 526} 527`,sce=ke` 528query user($slug: String) { 529 user(slug: $slug) { 530 id 531 username 532 slug 533 avatar { 534 thumb 535 full 536 } 537 email 538 isUpdatingEmail 539 receiveEmails 540 authAccounts { 541 id 542 provider 543 } 544 socialSites { 545 id 546 type 547 url 548 } 549 } 550} 551`,oce=ke` 552${wh} 553query userProfileStatusHistory($userSlug: String, $limit: Int) { 554 userProfileStatusHistory(slug: $userSlug, limit: $limit) { 555 id 556 body 557 insertedAt 558 user { 559 username 560 id 561 } 562 replies { 563 ...StatusReplyFragment 564 } 565 } 566} 567`,ace=ke` 568${wh} 569query userProfileStatus($id: NexusId!, $slug: String) { 570 userProfileStatus(id: $id, slug: $slug) { 571 id 572 body 573 insertedAt 574 user { 575 username 576 id 577 } 578 replies { 579 ...StatusReplyFragment 580 } 581 } 582} 583`,cce=ke` 584query users($text: String, $type: Mentionable, $id: NexusId, $adminsOnly: Boolean) { 585 userSearch(username: $text, type: $type, id: $id, adminsOnly: $adminsOnly) { 586 id 587 username 588 slug 589 avatar { 590 thumb 591 } 592 } 593} 594`,lce=ke` 595query publicProfile($userId: NexusId) { 596 publicProfile(userId: $userId) { 597 id 598 value 599 profileField { 600 icon 601 } 602 } 603} 604`,Sh=ke` 605query unreads { 606 unreads { 607 messages 608 notifications 609 } 610} 611`,uce=ke` 612query userDisorders($userId: NexusId!) { 613 userDisorders(userId: $userId) { 614 id 615 relationshipType 616 disorder { 617 id 618 name 619 } 620 } 621} 622`,fce=ke` 623query userRecommendations($limit: Int, $cacheKey: String) { 624 userRecommendations(limit: $limit, cacheKey: $cacheKey) { 625 id 626 username 627 roleId 628 avatar { 629 thumb 630 full 631 } 632 shortBio 633 } 634} 635`,dce=ke` 636query userAwards($userId: NexusId!) { 637 userAwards(userId: $userId) { 638 id 639 status 640 earnedAt 641 award { 642 id 643 name 644 year 645 } 646 } 647} 648`,hce=ke` 649query userPrivacySettings($userId: NexusId!, $name: String) { 650 userPrivacySettings(userId: $userId, name: $name) { 651 id 652 name 653 isPrivate 654 } 655} 656`,pce=ke` 657query userSocialSites($userId: NexusId!) { 658 userSocialSites(userId: $userId) { 659 id 660 type 661 url 662 } 663} 664`,Kne=["aria-expanded"],Yne={class:"profile-button__user-avatar-wrapper","aria-label":"Notifications","aria-live":"polite",role:"region"},Jne={key:0,class:"profile-button__notification-indicator"},Xne={class:"visually-hidden"},Zne={key:1,class:"visually-hidden"},ere=Object.assign({name:"NewProfileButton"},{__name:"NewProfileButton",setup(e){const{$apollo:t,$logger:n}=_e(),r=Vi(),i=Ds(),s=De(),o=Ee(null),a=Ee(0);function c(){i.profileMenuOpen=!i.profileMenuOpen}function l(){if(!o.value||!o.value.messages){a.value=0;return}a.value=o.value.messages+o.value.notifications}function u(){t.defaultClient.query({query:Sh}).then(({data:{unreads:f}})=>{o.value=f,l()}).catch(f=>{n.error(f)})}return it(r,()=>{u()}),yn(()=>{u()}),(f,d)=>{const h=ig;return E(),P("button",{id:"profile-button",type:"button","aria-label":"Your Account","aria-expanded":F(i).profileMenuOpen?"true":"false","aria-controls":"profile-menu",class:"profile-button",onClick:c},[C("div",Yne,[I(h,{user:F(s).user,"display-tooltip":!1,class:"user-avatar--new-header"},null,8,["user"]),F(a)>0?(E(),P("div",Jne,[C("span",Xne,"You have "+ye(F(a))+" unreads.",1)])):(E(),P("span",Zne,"You have no new notifications."))])],8,Kne)}}}),tre=te(ere,[["__scopeId","data-v-b7b5ee66"]]),nre=Object.assign({name:"NewLoginButton"},{__name:"NewLoginButton",setup(e){function t(){Ae().openAuthDialog()}return(n,r)=>{const i=Xe;return E(),q(i,{id:"login-button",name:"user",container:"button","aria-label":"Site Log in",class:"new-header__icon-button
664new-header__icon-button--log-in","aria-haspopup":"true",onClick:t})}}}),rre={__name:"NewLogoutButton",setup(e){const t=De(),{$snowplow:n}=_e(),r=Vi();function i(s){n.trackButtonEvent({data:{type:"log out",text:s.target.textContent.trim(),classes:s.target.classList,id:s.target.id}}),(r.meta.requiresAuth||r.meta.requiresVerify)&&ba({path:"/"}),t.logOut()}return(s,o)=>(E(),P("button",{type:"button",class:"text-button",onClick:on(i,["prevent"])}," Log out "))}},ire={class:"profile-menu__list list-reset"},sre={class:"profile-menu__item"},ore={class:"profile-menu__item"},are={key:0,class:"profile-menu__item-count"},cre={class:"profile-menu__item"},lre={key:0,class:"profile-menu__item"},ure={key:1,class:"profile-menu__item"},fre={class:"profile-menu__item"},dre=Object.assign({name:"NewProfileMenu"},{__name:"NewProfileMenu",setup(e){const t=Vo.directive,{$apollo:n,$logger:r}=_e(),i=De(),s=Ds(),o=Ee({notifications:0}),a=Ee(null);function c(){i.userIsLoggedIn&&n.defaultClient.query({query:Sh,fetchPolicy:"no-cache"}).then(({data:{unreads:d}})=>{o.value=d}).catch(d=>{r.error(d)})}function l(){s.setProfileMenuOpen(!1)}function u(d){d.key!=="Escape"||!s.profileMenuOpen||(a.value?.contains(document.activeElement)&&document.getElementById("profile-button")?.focus(),l())}yn(()=>{document.addEventListener("keyup",u),a.value?.focus(),c()}),xr(()=>{document.removeEventListener("keyup",u)});function f(d){const h=d.target.classList.contains("profile-button");!s.profileMenuOpen||h||l()}return(d,h)=>{const p=li,m=rre;return Kt((E(),P("div",{id:"profile-menu",ref_key:"menuRef",ref:a,tabindex:"0",class:ve(["profile-menu",{"profile-menu--open":F(s).profileMenuOpen}]),"aria-description":"Profile Menu, links related to your profile and account."},[C("ul",ire,[C("li",sre,[I(p,{to:"/profile",class:"profile-menu__item-link",onClick:l},{default:j(()=>[...h[0]||(h[0]=[ee(" View profile ",-1)])]),_:1})]),C("li",ore,[I(p,{to:"/profile/notifications",class:"profile-menu__item-link","aria-label":"Notifications",onClick:l},{default:j(()=>[h[1]||(h[1]=ee(" Notifications ",-1)),F(o).notifications>0?(E(),P("span",are,ye(F(o).notifications),1)):Y("",!0)]),_:1})]),C("li",cre,[I(p,{to:"/profile/edit",class:"profile-menu__item-link",onClick:l},{default:j(()=>[...h[2]||(h[2]=[ee(" Account settings ",-1)])]),_:1})]),F(i).isModeratorOrAdmin?(E(),P("li",lre,[C("a",{href:"/moderation",class:"profile-menu__item-link",onClick:l}," Moderation ")])):Y("",!0),F(i).isAdmin?(E(),P("li",ure,[C("a",{href:"/wp-admin/",class:"profile-menu__item-link",onClick:l}," WP Admin ")])):Y("",!0),C("li",fre,[I(m,{class:"profile-menu__item-link"})])])],2)),[[F(t),f]])}}}),hre=te(dre,[["__scopeId","data-v-af20c74a"]]),pre={name:"SubscribeButton",methods:{...yt(It,["openLeadGenFormInDialog"])}};function mre(e,t,n,r,i,s){const o=Xe,a=Yi;return E(),q(a,{class:"subscribe-button","use-button-class":!1,onClick:e.openLeadGenFormInDialog},{default:j(()=>[I(o,{name:"envelope",class:"subscribe-button__icon"}),t[0]||(t[0]=C("span",{class:"subscribe-button__text"},"Subscribe",-1))]),_:1},8,["onClick"])}const gre=Object.assign(te(pre,[["render",mre],["__scopeId","data-v-2cdb9ad3"]]),{__name:"SubscribeButton"}),_re=Object.assign({name:"NewMenuButton"},{__name:"NewMenuButton",emits:["topNavigation"],setup(e,{emit:t}){const n=t,{$snowplow:r}=_e(),i=Rt(),s=re(()=>i.navMenuOpen?"x":"menu-search");function o(a){n("topNavigation",{label:"toggle",opening:!i.navMenuOpen}),i.setNavOpen(!i.navMenuOpen),i.setExpandedDrawerItem(null),r.trackButtonEvent({data:{type:"site menu",text:a.target.textContent.trim(),classes:a.target.classList,id:a.target.id}})}return(a,c)=>{const l=Xe;return E(),q(l,{name:F(s),container:"button","aria-label":"Site Nav Menu","aria-expanded":F(i).navMenuOpen?"true":"false","aria-controls":"navigation-drawer",class:ve(`new-header__icon-button new-header__icon-button--menu${F(i).navMenuOpen?" new-header__icon-button--menu-open":""}`),onClick:o},null,8,["name","aria-expanded","class"])}}}),yre={name:"OneTap",mixins:[gc,Fo],computed:{clientId(){return this.$site.settings.google_client_id}},methods:{...yt(De,["setUser"])},mounted(){window.oneTapCallback=t=>
664{const n=new Request("/api/auth/one-tap",{method:"POST",body:new URLSearchParams(t)});fetch(n).then(r=>r.json()).then(r=>{this.setDataLayer(),this.pushDataLayer(),De().setUser(r.user),De().setLoggedInFromSocial(),this.$snowplow.connectSocialAccountTracking({data:{connected_account:"google"}}),this.handleLoginRedirect()})};const e=document.createElement("script");e.setAttribute("src","https://accounts.google.com/gsi/client"),e.setAttribute("async",""),e.setAttribute("defer",""),document.head.appendChild(e)}},vre=["data-client_id"];function bre(e,t,n,r,i,s){return E(),P("div",{id:"g_id_onload","data-client_id":s.clientId,"data-callback":"oneTapCallback","data-context":"signin","data-prompt_parent_id":"g_id_onload"},null,8,vre)}const oS=Object.assign(te(yre,[["render",bre],["__scopeId","data-v-2add566e"]]),{__name:"OneTap"}),wre={name:"FacebookOneTap",data(){return{showFacebookOneTapLogin:!1}},computed:{...$d(De,["userIsLoggedIn"])},mounted(){this.toggleFacebookOneTapDialog()},methods:{toggleFacebookOneTapDialog(e){if(this.userIsLoggedIn){this.showFacebookOneTapLogin=!1;return}this.showFacebookOneTapLogin=e!==void 0?e:!this.showFacebookOneTapLogin}}},Sre={class:"facebook-one-tap"},Ere={class:"facebook-one-tap__dialog-contents"},Tre={class:"facebook-one-tap__text"};function kre(e,t,n,r,i,s){const o=X2,a=ru;return E(),P("div",Sre,[i.showFacebookOneTapLogin?(E(),q(a,{key:0,class:"facebook-one-tap__dialog","dialog-type":"Facebook Log in","unobtrusive-mode":"",onClose:t[0]||(t[0]=c=>s.toggleFacebookOneTapDialog(!1))},{default:j(()=>[C("div",Ere,[C("p",Tre,"Sign in to "+ye(e.$site.name),1),I(o,{class:"facebook-one-tap__login","account-providers":["facebook"]})])]),_:1})):Y("",!0)])}const aS=Object.assign(te(wre,[["render",kre],["__scopeId","data-v-f6cc3dbe"]]),{__name:"FacebookOneTap"}),xre=["href"],Cre={class:"mega-menu-child-community__name"},Ire={__name:"MegaMenuChildCommunity",props:{community:{type:Object,required:!0}},setup(e){const{formattedCommunityName:t}=yc(),n=r=>r.split(".")[0].toLowerCase();return(r,i)=>{const s=Xe;return E(),P("li",{class:ve(["mega-menu-child-community",`mega-menu-child-community--${n(e.community.name)}`])},[C("a",{class:"mega-menu-child-community__link",href:`https://${e.community.name}`,target:"_blank",rel:"noopener"},[C("span",Cre,ye(F(t)(e.community.name)),1),I(s,{name:"outbound",class:"mega-menu-child-community__icon"})],8,xre)],2)}}},Ore=te(Ire,[["__scopeId","data-v-01c6a253"]]);let i1=0;function Are(e){const{body:t}=document;e?(i1=window.scrollY,t.style.position="fixed",t.style.top=`-${i1}px`,t.style.left="0",t.style.right="0"):(t.style.position="",t.style.top="",t.style.left="",t.style.right="",window.scrollTo(0,i1))}const Rre={class:"mega-menu-drawer__container"},Pre={class:"mega-menu-drawer__main-panel"},Dre={class:"mega-menu-drawer__panel-header"},Nre={class:"mega-menu-drawer__nav-list list-reset"},$re={class:"mega-menu-drawer__sub-panel"},Lre={class:"mega-menu-drawer__panel-header"},Mre={class:"mega-menu-drawer__title"},Fre={class:"mega-menu-drawer__main-panel-footer"},Vre={__name:"MegaMenuDrawer",setup(e){const t=Rt(),n=De(),r=tt(),i=Ri(),{sortedChildCommunities:s}=yc(),o=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),a=Ee(null),c=Ee(null),l=Ee(null);function u(){t.setExpandedDrawerItem(null)}function f(b){l.value=document.activeElement,t.setExpandedDrawerItem(b)}function d(){t.setNavOpen(!1),Ae().openAuthDialog()}function h(){i.setFocusSearch(!1)}function p(){const b=a.value;return b?t.expandedDrawerItem!==null?[...b.querySelectorAll(".mega-menu-drawer__sub-panel")].find(y=>y.offsetParent!==null)||b:b.querySelector(".mega-menu-drawer__main-panel")||b:null}function m(b){return b?[...b.querySelectorAll(o)].filter(y=>y.offsetParent!==null):[]}function g(b){const y=p(),v=m(y);if(v.length===0){b.preventDefault(),a.value?.focus();return}const w=v[0],S=v[v.length-1],O=document.activeElement,A=!y.contains(O);b.shiftKey&&(O===w||A)?(b.preventDefault(),S.focus()):!b.shiftKey&&(O===S||A)&&(b.preventDefault(),w.focus())}function _(b){if(b.key==="Escape"){b.preventDefault(),t.expandedDrawerItem!==null?u():t.setNavOpen(!1);return}b.key==="Tab"&&g(b)}return it(()=>
664t.navMenuOpen,b=>{b||i.setFocusSearch(!1),Are(b),b?(c.value=document.activeElement,Wt(()=>a.value?.focus({preventScroll:!0}))):(t.setExpandedDrawerItem(null),c.value?.isConnected&&c.value.focus({preventScroll:!0}),c.value=null)}),it(()=>t.expandedDrawerItem,(b,y)=>{t.navMenuOpen&&Wt(()=>{if(b!==null)m(p())[0]?.focus({preventScroll:!0});else if(y!==null){const v=l.value;v?.isConnected&&a.value?.contains(v)?v.focus({preventScroll:!0}):m(p())[0]?.focus({preventScroll:!0})}})}),(b,y)=>{const v=rg,w=ng,S=Ore,O=Xe,A=Jw,k=Zw,R=eS;return E(),P("div",{id:"navigation-drawer",ref_key:"drawerRef",ref:a,class:ve(["mega-menu-drawer",{"mega-menu-drawer--active-sub":F(t).expandedDrawerItem!==null}]),role:"dialog","aria-modal":"true","aria-label":"Site navigation",tabindex:"-1",onKeydown:_},[C("div",Rre,[C("div",Pre,[C("div",Dre,[I(v,{onBlur:h}),I(w,{limit:1})]),C("nav",null,[C("ul",Nre,[F(r).isParentSite?(E(!0),P(Me,{key:0},Pt(F(s),M=>(E(),q(S,{key:M.prefix,community:M},null,8,["community"]))),128)):Y("",!0),(E(!0),P(Me,null,Pt(F(t).drawerMenuItems,M=>(E(),q(R,{key:M.menu_id,item:M,"is-open":F(t).expandedDrawerItem===M.menu_id,class:"mega-menu-drawer__nav-item",onClick:D=>f(M.menu_id)},{default:j(()=>[I(Fr,null,{default:j(()=>[Kt(C("div",$re,[C("div",Lre,[C("button",{class:"mega-menu-drawer__back-button text-button",onClick:u},[I(O,{name:"caret",class:"mega-menu-drawer__back-icon"}),y[0]||(y[0]=ee(" Back ",-1))]),C("span",Mre,ye(M.title),1)]),M.menu_id==="community"?(E(),q(A,{key:0})):(E(),q(k,{key:1,items:M.items},null,8,["items"]))],512),[[oi,F(t).expandedDrawerItem===M.menu_id]])]),_:2},1024)]),_:2},1032,["item","is-open","onClick"]))),128))])]),C("div",Fre,[F(r).siteHasFeature("accounts")&&!F(n).userIsLoggedIn?(E(),P("button",{key:0,class:"mega-menu-drawer__log-in-button text-button","aria-label":"Site Log in","aria-haspopup":"true",onClick:d},[y[1]||(y[1]=ee(" Log In ",-1)),I(O,{class:"mega-menu-drawer__log-in-button-icon",name:"user"})])):Y("",!0)])])])],34)}}},Ure=te(Vre,[["__scopeId","data-v-aff77d3b"]]),Bre={class:"new-header"},jre=Object.assign({name:"NewHeader"},{__name:"NewHeader",setup(e){const{$site:t}=_e(),n=Ee(!1),r=De(),i=tt(),s=Jn(),o=Ds(),a=It(),c=Rt(),l=re(()=>zf(t,"enable_subscription_button_in_header")&&!r.userIsLoggedIn&&!r.userWasReferredByEmail&&!r.userHasSubscribed),u=re(()=>t.settings.one_tap_enabled&&t.settings.google_client_id&&!r.userIsLoggedIn&&r.loaded&&!El(a.userAgent)),f=re(()=>El(a.userAgent)&&zf(t,"facebook_one_tap")&&r.loaded),d=re(()=>c.navMenuOpen);function h(){n.value=!0}return(p,m)=>{const g=ste,_=Ute,b=Bte,y=Wte,v=Gte,w=ine,S=bh,O=tre,A=nre,k=X0,R=hre,M=gre,D=_re,$=oS,U=aS,J=Ure;return E(),P("header",Bre,[I(g),I(_),I(b),I(y),I(v,{onA11yButtonClicked:h}),I(S,{"when-visible":""},{default:j(()=>[I(Fr,null,{default:j(()=>[F(s).a11yMenuOpen?(E(),q(w,{key:0,"set-focus":F(n)},null,8,["set-focus"])):Y("",!0)]),_:1})]),_:1}),I(k,null,{default:j(()=>[F(r).userIsLoggedIn?(E(),q(O,{key:0})):F(i).siteHasFeature("accounts")?(E(),q(A,{key:1})):Y("",!0)]),_:1}),I(S,null,{default:j(()=>[I(Fr,null,{default:j(()=>[F(o).profileMenuOpen?(E(),q(R,{key:0})):Y("",!0)]),_:1})]),_:1}),F(l)?(E(),q(M,{key:0})):Y("",!0),I(D),F(u)?(E(),q($,{key:1})):Y("",!0),F(f)?(E(),q(U,{key:2})):Y("",!0),I(Fr,null,{default:j(()=>[Kt(I(J,null,null,512),[[oi,F(d)]])]),_:1})])}}}),zre={name:"MenuButton",computed:{...ue(Rt,["navMenuOpen"])},methods:{handleClick(){this.$emit("topNavigation",{label:"toggle",opening:!this.navMenuOpen}),Rt().setNavOpen(!this.navMenuOpen),this.$snowplow.trackButtonEvent({data:{type:"site menu",text:event.target.textContent.trim(),classes:event.target.classList,id:event.target.id}})}}},Hre=["aria-expanded"];function qre(e,t,n,r,i,s){return E(),P("button",{type:"button","aria-label":"Site Nav Menu","aria-expanded":e.navMenuOpen?"true":"false","aria-controls":"navigation-drawer",class:ve(`header__button header__button--menu${e.navMenuOpen?" header__button--menu-open":""}`),onClick:t[0]||(t[0]=(...o)=>s.handleClick&&s.handleClick(...o))},[...t[1]||(t[1]=[C("div",{class:"header__hamburger"},[C("div",{class:"header__hamburger-filling"})],-1),C("span",{class:"header__button-text"},"Menu",-1)])],10,Hre)}const Wre=Object.assign(te(zre,[["render",qre]]),{__name:"MenuButton"}),Gre={name:"NavItemSubCommunity",props:{community:{type:Object,required:!0}},setup(){const{formattedCommunityName:e}=yc();return{formattedCommunityName:e}},methods:{navItemSubCommunityClassName(e){return e.split(".")[0].toLowerCase()}}},Qre=["href"],Kre={class:"nav-item-sub-community__text"};function Yre(e,t,n,r,i,s){const o=Xe;return E(),P("li",{class:ve(["nav-item-sub-community",`nav-item-sub-community--${s.navItemSubCommunityClassName(n.community.name)}`])},[C("a",{href:`https://${n.community.name.toLowerCase()}`,class:"nav-item-sub-community__link link link--unstyled",target:"_blank"},[C("span",Kre,ye(r.formattedCommunityName(n.community.name)),1),I(o,{name:"website",title:"icon",class:"nav-item-sub-community__icon"})],8,Qre)],2)}const Jre=Object.assign(te(Gre,[["render",Yre],["__scopeId","data-v-82fd00c3"]]),{__name:"NavItemSubCommunity"}),Xre=["aria-expanded","aria-controls"],Zre=["id"],eie=or({__name:"NavItem",props:{item:{},isChild:{type:Boolean,default:!1}},emits:["navChange"],setup(e,{emit:t}){const n=e,r=t,i=Vi(),{expandedNavItems:s}=dO(Rt()),o=Ee(!1),a=re(()=>n.item.url===i.path),c=re(()=>!!n.item.items?.length),l=re(()=>`nav-item-children-${n.item.menuId}`),u=re(()=>({"nav-item--child":n.isChild,"nav-item--selected":a.value})),f=re(()=>a.value?!1:m(n.item.items));function d(){o.value=!o.value}function h(){r("navChange",[n.item.menuId])}function p(g){g.push(n.item.menuId),r("navChange",g)}function m(g){return!!g?.some(_=>_.url===i.path?!0:m(_.items))}return it(()=>i.path,g=>{n.item.url===g&&(o.value=!0,h())}
664),it(s,g=>{o.value=g.includes(n.item.menuId)}),(a.value||f.value)&&(o.value=!0,h()),(g,_)=>{const b=li,y=Xe,v=cS;return E(),P("li",{class:ve(["nav-item",F(u)])},[I(b,{class:"nav-item__link",to:e.item.url},{default:j(()=>[ee(ye(e.item.title),1)]),_:1},8,["to"]),F(c)?(E(),P("button",{key:0,class:"nav-item__button","aria-expanded":F(o)?"true":"false","aria-controls":F(l),onClick:d},[I(y,{name:"caret",title:`Expand ${e.item.title} navigation`,class:ve(["nav-item__icon",{"nav-item__icon--expanded":F(o)}])},null,8,["title","class"])],8,Xre)):Y("",!0),F(c)&&F(o)?(E(),P("ul",{key:1,id:F(l),class:"nav-item__children"},[(E(!0),P(Me,null,Pt(e.item.items,w=>(E(),q(v,{key:`nav-item-${w.menuId}`,"is-child":"",item:w,onNavChange:p},null,8,["item"]))),128))],8,Zre)):Y("",!0)],2)}}}),cS=Object.assign(te(eie,[["__scopeId","data-v-29965b6b"]]),{__name:"NavItem"}),tie=ke` 665fragment MenuItemFields on MenuItem { menuId title url } 666{ 667 menu{ 668 items { 669 ... MenuItemFields 670 items { 671 ... MenuItemFields 672 items { 673 ... MenuItemFields 674 items { 675 ... MenuItemFields 676 items { 677 ... MenuItemFields 678 } 679 } 680 } 681 } 682 } 683 } 684}`,nie={name:"NavigationDrawer",props:{focusRef:{type:String,default:null}},setup(){const{sortedChildCommunities:e}=yc();return{sortedChildCommunities:e}},data(){return{menu:{}}},computed:{...ue(Rt,["navMenuOpen"]),...ue(Ri,["focusSearch"]),...ue(tt,["isParentSite"])},watch:{navMenuOpen(e){e&&!this.focusRef&&this.$refs.drawer.focus(),e||Ri().setFocusSearch(!1)}},mounted(){document.addEventListener("keyup",this.escapeKeyEventListener)},beforeUnmount(){document.removeEventListener("keyup",this.escapeKeyEventListener)},methods:{close(){Rt().setNavOpen(!1)},updateNavState(e){Rt().setExpandedNavItems(e)},escapeKeyEventListener(e){e.key==="Escape"&&this.close()},handleSearchBlur(){Ri().setFocusSearch(!1)}},apollo:{menu:{query:tie,result({data:e}){if(e)try{[this.menu]=e.menu,Rt().menuData=this.menu}catch(t){throw console.error(t),new Error("Error in NavigationDrawer query, unable to destructure menu")}}}}},rie={id:"navigation-drawer",class:"navigation-drawer"},iie={ref:"drawer",tabindex:"0",class:"navigation-drawer__drawer"},sie={key:0,class:"navigation-drawer__nav"},oie={class:"navigation-drawer__list"};function aie(e,t,n,r,i,s){const o=rg,a=Jre,c=cS;return E(),P("div",rie,[C("div",{class:"navigation-drawer__overlay",onClick:t[0]||(t[0]=(...l)=>s.close&&s.close(...l))}),I(Fr,{name:"navigation-drawer",appear:""},{default:j(()=>[C("div",iie,[I(o,{"focus-on-request":"",onBlur:s.handleSearchBlur},null,8,["onBlur"]),i.menu?(E(),P("nav",sie,[C("ul",oie,[e.isParentSite?(E(!0),P(Me,{key:0},Pt(r.sortedChildCommunities,l=>(E(),q(a,{key:l.id,community:l},null,8,["community"]))),128)):Y("",!0),(E(!0),P(Me,null,Pt(i.menu.items,l=>(E(),q(c,{key:l.menuId,item:l,onNavChange:s.updateNavState},null,8,["item","onNavChange"]))),128))])])):Y("",!0)],512)]),_:1})])}const cie=Object.assign(te(nie,[["render",aie],["__scopeId","data-v-a09e3113"]]),{__name:"NavigationDrawer"}),lie={name:"SearchButton",computed:{...ue(Rt,["navMenuOpen"])},methods:{handleClick(e){this.navMenuOpen||(this.$emit("topNavigation",{label:"toggle",opening:!0}),Rt().setNavOpen(!0),this.$emit("search-focus")),Ri().setFocusSearch(!0),this.$snowplow.trackButtonEvent({data:{type:"search",text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}})}}},uie=["aria-expanded"];function fie(e,t,n,r,i,s){const o=Xe;return E(),P("button",{type:"button","aria-label":"Site Wide Search","aria-expanded":e.navMenuOpen?"true":"false","aria-controls":"navigation-drawer",class:ve(`header__button header__button--search${e.navMenuOpen?" header__button--search-open":""}`),onClick:t[0]||(t[0]=(...a)=>s.handleClick&&s.handleClick(...a))},[I(o,{name:"magnifying-glass",class:"header__button-icon"}),t[1]||(t[1]=C("span",{class:"header__button-text"},"Search",-1))],10,uie)}const die=Object.assign(te(lie,[["render",fie]]),{__name:"SearchButton"}),hie={name:"AccessibilityButton",computed:{...ue(Jn,["a11yMenuOpen"]),classes(){const e=["header__button","header__button--accessibility"];return this.a11yMenuOpen&&e.push("header__button--accessibility-open"),e}},methods:{handleClick(e){this.$emit("a11y_menu",{label:"toggle",opening:!this.a11yMenuOpen}),Jn().setA11yMenuOpen(!this.a11yMenuOpen),this.$emit("a11yButtonClicked"),this.$snowplow.trackButtonEvent({data:{type:"a11y",text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}})}}},pie=["aria-expanded"];function mie(e,t,n,r,i,s){const o=Xe;return E(),P("button",{id:"a11y-tools-toggle-button",type:"button","aria-label":"Accessibility Tools","aria-expanded":e.a11yMenuOpen?"true":"false","aria-controls":"accessibility-menu",class:ve(s.classes),onClick:t[0]||(t[0]=(...a)=>s.handleClick&&s.handleClick(...a))},[I(o,{name:"accessibility",class:"header__button-icon"}),t[1]||(t[1]=C("span",{class:"header__button-text"},"Accessibility",-1))],10,pie)}
684const gie=Object.assign(te(hie,[["render",mie]]),{__name:"AccessibilityButton"}),_ie={name:"AccessibilityOption",props:{name:{type:String,required:!0},setting:{type:Object,required:!0}},data(){return{settingValue:Object.values(this.setting)}},computed:{...ue(Jn,["settings"]),settingActive(){return Object.values(this.settings).includes(this.settingValue[0])},classes(){const e=["accessibility-option",`accessibility-option--${this.settingValue}`];return this.settingActive&&e.push("accessibility-option--selected"),e}},methods:{handleClick(){Jn().setA11ySettings(this.setting)}}},yie={class:"accessibility-option__hidden-text"},vie={class:"accessibility-option__letter","aria-hidden":"true"};function bie(e,t,n,r,i,s){return E(),P("button",{class:ve(s.classes),onClick:t[0]||(t[0]=(...o)=>s.handleClick&&s.handleClick(...o))},[C("span",yie,ye(n.name),1),C("span",vie,[_t(e.$slots,"default",{},void 0,!0)])],2)}const wie=Object.assign(te(_ie,[["render",bie],["__scopeId","data-v-e6e98a58"]]),{__name:"AccessibilityOption"}),Sie={name:"AccessibilityMenu",directives:{clickOutside:Vo.directive},props:{setFocus:{type:Boolean,default:!1},subButtonShown:{type:Boolean,default:!1}},computed:{...ue(Jn,["a11yMenuOpen"]),...ue(De,["userIsLoggedIn"])},mounted(){this.setFocus&&this.$el.focus()},methods:{resetAccessibility(){Jn().resetA11ySettings()},closeA11yMenu(){Jn().setA11yMenuOpen(!1)},onClickOutside(e){const t=e.target.classList.contains("header__button--accessibility");!this.a11yMenuOpen||t||this.closeA11yMenu()}}},Eie={class:"accessibility-menu__options accessibility-menu__options--font-sizes"},Tie={class:"accessibility-menu__options accessibility-menu__options--contrast"};function kie(e,t,n,r,i,s){const o=wie,a=Td("click-outside");return Kt((E(),P("div",{id:"accessibility-menu",tabindex:"0",class:ve(["accessibility-menu",{"accessibility-menu--logged-out":!e.userIsLoggedIn,"accessibility-menu--sub-button-shown":n.subButtonShown}]),"aria-description":"Accessibility tools, buttons to change the appearance of the website"},[C("ul",Eie,[I(o,{name:"Regular font size",setting:{fontSize:"font-reg"},"aria-label":"Standard Font Size"},{default:j(()=>[...t[1]||(t[1]=[ee("A",-1)])]),_:1}),I(o,{name:"Large font size",setting:{fontSize:"font-lg"},"aria-label":"Large Font Size"},{default:j(()=>[...t[2]||(t[2]=[ee("A",-1)])]),_:1}),I(o,{name:"Extra large font size",setting:{fontSize:"font-xl"},"aria-label":"Extra Large Font Size"},{default:j(()=>[...t[3]||(t[3]=[ee("A",-1)])]),_:1})]),C("ul",Tie,[I(o,{name:"Regular contrast",setting:{contrast:"contrast-reg"},"aria-label":"Standard Contrast Style"},{default:j(()=>[...t[4]||(t[4]=[ee("T",-1)])]),_:1}),I(o,{name:"Low contrast",setting:{contrast:"contrast-low"},"aria-label":"Low Contrast Style"},{default:j(()=>[...t[5]||(t[5]=[ee("T",-1)])]),_:1}),I(o,{name:"Light contrast",setting:{contrast:"contrast-light"},"aria-label":"Bright High Contrast Style"},{default:j(()=>[...t[6]||(t[6]=[ee("T",-1)])]),_:1}),I(o,{name:"Dark contrast",setting:{contrast:"contrast-dark"},"aria-label":"Dark High Contrast Style"},{default:j(()=>[...t[7]||(t[7]=[ee("T",-1)])]),_:1})]),C("button",{class:"accessibility-menu__reset-button button","aria-label":"Reset Accessibility Styles to Default",onClick:t[0]||(t[0]=(...c)=>s.resetAccessibility&&s.resetAccessibility(...c))},"Reset")],2)),[[a,s.onClickOutside]])}const xie=Object.assign(te(Sie,[["render",kie],["__scopeId","data-v-457af0d8"]]),{__name:"AccessibilityMenu"}),Cie={name:"ProfileButton",data:()=>({unreads:()=>{},unreadsCount:0}),computed:{...Ld(Ds,["profileMenuOpen"]),...ue(De,["user"])},watch:{$route(){this.getUnreads()},unreads(){this.updateCount()}},mounted(){this.getUnreads()},methods:{toggleProfileMenu(){this.profileMenuOpen=!this.profileMenuOpen},updateCount(){(!this.unreads||!this.unreads.messages)&&(this.unreadsCount=0),this.unreadsCount=this.unreads.messages+this.unreads.notifications},getUnreads(){this.$apollo.query({query:Sh}).then(({data:{unreads:e}})=>{this.unreads=e,this.updateCount()}).catch(e=>{this.$logger.error(e)})}}},Iie=["aria-expanded"],Oie={class:"profile-button__user-avatar-wrapper","aria-label":"Notifications","aria-live":"polite",role:"region"},Aie={key:0,class:"profile-button__notification-indicator"},Rie={class:"visually-hidden"},Pie={key:1,class:"visually-hidden"};function Die(e,t,n,r,i,s){const o=ig;return E(),P("button",{id:"profile-button",type:"button","aria-label":"Your Account","aria-expanded":e.profileMenuOpen?"true":"false","aria-controls":"profile-menu",class:"header__button header__button--profile profile-button",onClick:t[0]||(t[0]=(...a)=>s.toggleProfileMenu&&s.toggleProfileMenu(...a))},[C("div",Oie,[I(o,{user:e.user,"display-tooltip":!1,class:"user-avatar--header"},null,8,["user"]),e.unreadsCount>0?(E(),P("div",Aie,[C("span",Rie,"You have "+ye(e.unreadsCount)+" unreads.",1)])):(E(),P("span",Pie,"You have no new notifications."))])],8,Iie)}const Nie=Object.assign(te(Cie,[["render",Die],["__scopeId","data-v-2d3d44c2"]]),{__name:"ProfileButton"}),$ie={name:"LoginButton",methods:{openLoginDialog(){Ae().openAuthDialog()}}};function Lie(e,t,n,r,i,s){const o=Xe;return E(),P("button",{id:"login-button",type:"button","aria-label":"Site Log in",class:"header__button header__button--log-in","aria-haspopup":"true",onClick:t[0]||(t[0]=(...a)=>s.openLoginDialog&&s.openLoginDialog(...a))},[I(o,{name:"user",class:"header__button-icon"}),t[1]||(t[1]=C("span",{class:"header__button-text"},"Log in",-1))])}const Mie=Object.assign(te($ie,[["render",Lie]]),{__name:"LoginButton"}),Fie={name:"RoleBadge",props:{user:{type:Object,default:()=>{}}},data(){return{primaryBadges:{admin:"Community Admin",moderator:"Moderator",moderator_contributor:"Moderator & Contributor",contributor:"Contributor",member:"Member",null:"Member"},secondaryBadges:{null:"",digital_creator:"Digital Creator",healthcare_provider:"Healthcare Provider",patient_leader:"Patient Leader"},primaryBadgeIcons:{admin:"badge-community-admin",contributor:"badge-contributor",member:"badge-member",moderator:"badge-moderator",moderator_contributor:"badge-moderator",null:"badge-member"},secondaryBadgeIcons:{digital_creator:"badge-digital-creator",healthcare_provider:"badge-healthcare-provider",patient_leader:"badge-patient-leader",null:""}}},computed:{primaryBadgeIcon(){return this.primaryBadgeIcons[this.user.badge]},secondaryBadgeIcon(){return this.secondaryBadgeIcons[this.user.secondaryBadge]||""},showSecondaryBadge(){return!!this.user.secondaryBadge},primaryBadgeText(){return this.primaryBadges[this.user.badge]},secondaryBadgeText(){return this.secondaryBadges[this.user.secondaryBadge]},isModeratorContributor(){return this.user.badge==="moderator_contributor"}}},Vie={class:"role-badge"},Uie={key:0,class:"role-badge__half"},Bie={class:"role-badge__text","data-test-id":"user-role-badge-text"},jie={key:0,class:"role-badge"},zie={class:"role-badge__text","data-test-id":"user-secondary-role-badge-text"};function Hie(e,t,n,r,i,s){const o=Xe;return E(),P("div",null,[C("div",Vie,[s.isModeratorContributor?(E(),P("div",Uie)):Y("",!0),s.primaryBadgeIcon?(E(),q(o,{key:1,name:s.primaryBadgeIcon,title:"Primary Badge",class:"role-badge__icon"},null,8,["name"])):Y("",!0),C("span",Bie,ye(s.primaryBadgeText),1)]),s.showSecondaryBadge?(E(),P("div",jie,[I(o,{name:s.secondaryBadgeIcon,title:"Secondary Badge",class:"role-badge__icon"},null,8,["name"]),C("span",zie,ye(s.secondaryBadgeText),1)])):Y("",!0)])}const lS=Object.assign(te(Fie,[["render",Hie],["__scopeId","data-v-27b8e0c9"]]),{__name:"RoleBadge"}),qie={__name:"LogoutButton",setup(e){const t=De(),{$snowplow:n}=_e(),r=Vi();function i(s){n.trackButtonEvent({data:{type:"log out",text:s.target.textContent.trim(),classes:s.target.classList,id:s.target.id}}),(r.meta.requiresAuth||r.meta.requiresVerify)&&ba({path:"/"}),t.logOut()}return(s,o)=>{const a=Xe;return E(),P("button",{type:"button",class:"logout-button",onClick:on(i,["prevent"])},[I(a,{name:"exit",class:"logout-button__icon"}),o[0]||(o[0]=ee(" Log out ",-1))])}}},Wie=te(qie,[["__scopeId","data-v-08e571e7"]]),Gie={name:"ProfileMenu",directives:{clickOutside:Vo.directive},data(){return{unreads:{notifications:0}}},computed:{...ue(De,["user","isModeratorOrAdmin","isAdmin","loggedIn"]),...ue(Ds,["profileMenuOpen"])},mounted(){this.$el.focus()},methods:{closeProfileMenu(){Ds().setProfileMenuOpen(!1)},onClickOutside(e){const t=e.target.classList.contains("header__button--profile");!this.profileMenuOpen||t||this.closeProfileMenu()}},apollo:{unreads:{query:Sh,fetchPolicy:"no-cache",notifyOnNetworkStatusChange:!0,skip(){return!this.loggedIn}}}},Qie={class:"profile-menu__heading"},Kie={class:"profile-menu__username"},Yie={class:"profile-menu__actions list-reset"},Jie={class:"profile-menu__item"}
684,Xie={class:"profile-menu__item"},Zie={key:0,class:"profile-menu__item-count"},ese={class:"profile-menu__item profile-menu__item--secondary"},tse={key:0,class:"profile-menu__item profile-menu__item--secondary"},nse={key:1,class:"profile-menu__item profile-menu__item--secondary"},rse={class:"profile-menu__item profile-menu__item--secondary"};function ise(e,t,n,r,i,s){const o=lS,a=li,c=Xe,l=Wie,u=Td("click-outside");return Kt((E(),P("div",{id:"profile-menu",tabindex:"0",class:ve(["profile-menu",{"profile-menu--open":e.profileMenuOpen}]),"aria-description":"Profile Menu, links related to your profile and account."},[C("div",Qie,[I(a,{to:"/profile",class:"profile-menu__heading-link",onClick:s.closeProfileMenu},{default:j(()=>[C("h3",Kie,ye(e.user.username),1),I(o,{user:e.user},null,8,["user"])]),_:1},8,["onClick"])]),C("ul",Yie,[C("li",Jie,[I(a,{to:"/profile",class:"profile-menu__item-link",onClick:s.closeProfileMenu},{default:j(()=>[...t[2]||(t[2]=[ee(" My Profile ",-1)])]),_:1},8,["onClick"])]),C("li",Xie,[I(a,{to:"/profile/notifications",class:"profile-menu__item-link","aria-label":"Notifications",onClick:s.closeProfileMenu},{default:j(()=>[t[3]||(t[3]=ee(" Notifications ",-1)),i.unreads.notifications>0?(E(),P("span",Zie,"("+ye(i.unreads.notifications)+")",1)):Y("",!0)]),_:1},8,["onClick"])]),C("li",ese,[I(a,{to:"/profile/edit",class:"profile-menu__item-link",onClick:s.closeProfileMenu},{default:j(()=>[I(c,{name:"gear",title:"gear icon",class:"profile-menu__icon"}),t[4]||(t[4]=ee(" Account Settings ",-1))]),_:1},8,["onClick"])]),e.isModeratorOrAdmin?(E(),P("li",tse,[C("a",{href:"/moderation",class:"profile-menu__item-link",onClick:t[0]||(t[0]=(...f)=>s.closeProfileMenu&&s.closeProfileMenu(...f))}," Moderation ")])):Y("",!0),e.isAdmin?(E(),P("li",nse,[C("a",{href:"/wp-admin/",class:"profile-menu__item-link",onClick:t[1]||(t[1]=(...f)=>s.closeProfileMenu&&s.closeProfileMenu(...f))}," WP Admin ")])):Y("",!0),C("li",rse,[I(l)])])],2)),[[u,s.onClickOutside]])}const sse=Object.assign(te(Gie,[["render",ise],["__scopeId","data-v-afe4499d"]]),{__name:"ProfileMenu"}),ose={name:"SubscribeTrigger",methods:{...yt(It,["openLeadGenFormInDialog"])}},ase={class:"subscribe-trigger"};function cse(e,t,n,r,i,s){const o=Yi;return E(),P("div",ase,[I(o,{class:"subscribe-trigger__button",onClick:e.openLeadGenFormInDialog},{default:j(()=>[...t[0]||(t[0]=[ee(" Subscribe ",-1)])]),_:1},8,["onClick"])])}const lse=Object.assign(te(ose,[["render",cse],["__scopeId","data-v-1e88ac9d"]]),{__name:"SubscribeTrigger"}),use={name:"TheHeader",data(){return{navFocusRef:null,a11yMenuFocus:!1}},computed:{...ue(Rt,["navMenuOpen"]),...ue(De,{userIsLoaded:e=>e.loaded,userIsLoggedIn:"userIsLoggedIn",userWasReferredByEmail:"userWasReferredByEmail",userHasSubscribed:"userHasSubscribed"}),...ue(tt,["siteHasFeature"]),...ue(Jn,["a11yMenuOpen"]),...ue(Ds,["profileMenuOpen"]),...ue(It,["userAgent"]),displaySubscribeButton(){return zf(this.$site,"enable_subscription_button_in_header")&&!this.userIsLoggedIn&&!this.userWasReferredByEmail&&!this.userHasSubscribed},displayOneTap(){return this.$site.settings.one_tap_enabled&&this.$site.settings.google_client_id&&!this.userIsLoggedIn&&this.userIsLoaded&&!El(this.userAgent)},displayFacebookOneTap(){return El(this.userAgent)&&zf(this.$site,"facebook_one_tap")&&this.userIsLoaded}},methods:{handleA11yButtonClicked(){this.a11yMenuFocus=!0}}},fse={class:"header"};function dse(e,t,n,r,i,s){const o=Mw,a=Wre,c=cie,l=X0,u=die,f=gie,d=xie,h=bh,p=Nie,m=Mie,g=sse,_=lse,b=oS,y=aS;return E(),P("header",fse,[I(o,{link:""}),I(a),I(l,null,{default:j(()=>[Kt(I(c,{"focus-ref":i.navFocusRef},null,8,["focus-ref"]),[[oi,e.navMenuOpen]])]),_:1}),I(u,{onSearchFocus:t[0]||(t[0]=v=>i.navFocusRef="search")}),I(f,{onA11yButtonClicked:s.handleA11yButtonClicked},null,8,["onA11yButtonClicked"]),I(h,{"when-visible":""},{default:j(()=>[I(Fr,null,{default:j(()=>[e.a11yMenuOpen?(E(),q(d,{key:0,"set-focus":i.a11yMenuFocus,"sub-button-shown":s.displaySubscribeButton},null,8,["set-focus","sub-button-shown"])):Y("",!0)]),_:1})]),_:1}),e.userIsLoggedIn?(E(),q(p,{key:0})):e.siteHasFeature("accounts")?(E(),q(m,{key:1,style:Pi(s.displaySubscribeButton?"margin-right: 0px;":"")},null,8,["style"])):Y("",!0),I(h,null,{default:j(()=>[I(Fr,null,{default:j(()=>
684[e.profileMenuOpen?(E(),q(g,{key:0})):Y("",!0)]),_:1})]),_:1}),s.displaySubscribeButton?(E(),q(_,{key:2})):Y("",!0),I(l,null,{default:j(()=>[s.displayOneTap?(E(),q(b,{key:0})):Y("",!0),s.displayFacebookOneTap?(E(),q(y,{key:1})):Y("",!0)]),_:1})])}const hse=Object.assign(te(use,[["render",dse]]),{__name:"TheHeader"}),pse={computed:{...ue(De,["user"])},methods:{insertQualtricsParams(e){if(this.user.acId)try{const n=new RegExp(`(https://healthunion.az1.qualtrics.com.*?(?=["'> ]|$))`).exec(e);if(!n)return e;const r=new URL(n[1]);return r.searchParams.append("ac_id",this.user.acId),r.searchParams.append("ac_hash",this.user.sha256Email),e.replace(n[1],r.href)}catch(t){return console.error(t),e}return e}}},mse={name:"ContentDriverBanner",mixins:[pse],computed:{bannerContent(){return this.insertQualtricsParams(this.$site.settings.content_driver_banner)}}},gse={class:"content-driver-banner"},_se=["innerHTML"];function yse(e,t,n,r,i,s){return E(),P("div",gse,[C("div",{class:"content-driver-banner__text",innerHTML:s.bannerContent},null,8,_se)])}const vse=Object.assign(te(mse,[["render",yse],["__scopeId","data-v-1e6b5847"]]),{__name:"ContentDriverBanner"}),bse={name:"PopOverBase",props:{heading:{type:String,default:""}},mounted(){this.$el.focus({preventScroll:!0}),document.addEventListener("keyup",e=>{e.keyCode===27&&this.close()})},methods:{close(){this.$emit("close")}}},wse={tabindex:"0",class:"pop-over"},Sse={class:"pop-over__header"},Ese=["title"],Tse={class:"pop-over__body"};function kse(e,t,n,r,i,s){const o=Xe;return E(),q(Fr,{appear:""},{default:j(()=>[C("div",wse,[C("div",Sse,[n.heading?(E(),P("p",{key:0,class:"pop-over__heading",title:n.heading},ye(n.heading),9,Ese)):Y("",!0),I(o,{container:"button",name:"x",class:"pop-over__close-button text-button",type:"button",title:"close",onClick:s.close},null,8,["onClick"])]),C("div",Tse,[_t(e.$slots,"default",{},void 0,!0)])])]),_:3})}const xse=Object.assign(te(bse,[["render",kse],["__scopeId","data-v-f99bd6eb"]]),{__name:"PopOverBase"}),uS=ke` 685mutation generateLead($campaign: String!, $email: String!, $decoyEmail: String, $form: String!, $pageviewId: String, $medium: String, $contentType: String) { 686 generateLead(campaign: $campaign, email: $email, decoyEmail: $decoyEmail, form: $form, pageviewId: $pageviewId, medium: $medium, contentType: $contentType) { 687 discardReason 688 user { 689 id 690 } 691 } 692} 693`,jm=un("experiment",{state:()=>({variants:{}}),getters:{getVariantKey:e=>t=>e.variants[t]?.key},actions:{setVariant(e){this.variants[e.symbol]={key:e.key,experimentId:e.experimentId,versionId:e.versionId}}}}),Cse={name:"LeadGenPopUp",components:{PopOverBase:xse,DialogBase:ru},mixins:[Fo],props:{openInDialog:{type:Boolean,default:!1}},data(){return{email:"",userSignedUp:!1,id:"leadgen-email-address",medium:"Site"}},computed:{popUpTime(){return this.$site.settings.subscription_pop_up_time_based?15:jm().getVariantKey("lead_gen_pop_up_timing")},campaignBasedOnContainer(){return this.openInDialog?It().engagementSubWallIsActive?"subscription wall - polls":"nav subscribe":`subscription pop up - ${this.popUpTime} seconds`},formBasedOnContainer(){return this.openInDialog?It().engagementSubWallIsActive?"subscription wall":"nav subscribe":"subscription pop up"}},mounted(){this.trackPopUpImpression()},methods:{close(){this.openInDialog||De().setHasLeadGenPopUpDisabledCookie(),It().setEngagementSubWallStatus(!1),this.$emit("close")},handleSubscribe(){this.$apollo.mutate({mutation:uS,variables:{campaign:this.campaignBasedOnContainer,email:this.email,form:this.formBasedOnContainer,pageviewId:It().pageViewId,medium:this.medium}}).then(()=>{this.userSignedUp=!0,De().setHasLeadGenPopUpDisabledCookie()}).catch(()=>{this.$logger.warn("problem submitting new lead.")}),y2().trackUserSubscribe(this.email),this.setDataLayer(),this.pushDataLayer(),this.$gtm.trackEvent({event:"nexus.event",action:"form_submit",label:"lead_gen_subscription_pop_up"})},trackPopUpImpression(){let e;this.$site.settings.subscription_pop_up_time_based?e="Site Setting":jm().getVariantKey("lead_gen_pop_up_timing")&&(e="A/B Test"),this.$snowplow.trackSubscriptionPopUpImpression(this.popUpTime,e)}}},Ise={class:"lead-gen-pop-up","data-test-id":"lead-gen-pop-up"},Ose={key:"pending",class:"lead-gen-pop-up__content"},Ase=["for"],Rse={class:"lead-gen-pop-up__input-container"},Pse={key:"success",class:"lead-gen-pop-up__content","data-test-id":"lead-gen-pop-up__success-content"};function Dse(e,t,n,r,i,s){const o=fi,a=Yi,c=lr;return E(),P("div",Ise,[(E(),q(Mi(n.openInDialog?"dialog-base":"pop-over-base"),{class:ve({"lead-gen-pop-up__base--success":i.userSignedUp&&!n.openInDialog,"lead-gen-pop-up__base":!n.openInDialog,"lead-gen-pop-up__dialog-base":n.openInDialog}),onClose:s.close},{default:j(()=>[i.userSignedUp?(E(),P("div",Pse,[...t[5]||(t[5]=[C("div",{class:"lead-gen-pop-up__image-container"},[C("img",{src:"/common/nexus/subscription-pop-up-success.png",alt:"",rel:"preload",class:"lead-gen-pop-up__image lead-gen-pop-up__image--success","data-test-id":"lead-gen-pop-up__success-image"})],-1),C("div",{class:"lead-gen-pop-up__success-text","data-test-id":"lead-gen-pop-up__success-text"},[C("h3",null,"Thanks for signing up!"),C("p",null,"Watch your inbox for the latest articles and more.")],-1)])])):(E(),P("div",Ose,[t[4]||(t[4]=C("div",{class:"lead-gen-pop-up__image-container"},[C("img",{src:"/common/nexus/subscription-pop-up.png",alt:"",class:"lead-gen-pop-up__image"})],-1)),I(c,{class:"lead-gen-pop-up__form","data-test-id":"lead-gen-pop-up__form",method:"post",onSubmit:on(s.handleSubscribe,["prevent"])},{default:j(()=>[C("label",{class:"lead-gen-pop-up__label heading heading--3","data-test-id":"lead-gen-pop-up__heading",for:i.id}," Stay in the Know ",8,Ase),t[2]||(t[2]=C("p",{class:"lead-gen-pop-up__text","data-test-id":"lead-gen-pop-up-text"}," Get the latest from our community and Health Leaders. ",-1)),C("div",Rse,[I(o,{id:i.id,modelValue:i.email,"onUpdate:modelValue":t[0]||(t[0]=l=>i.email=l),"exclude-label":"",placeholder:"Enter your email","input-type":"email",required:"",name:"email",class:"lead-gen-pop-up__input text-input--full-width","data-test-id":"lead-gen-pop-up__input"},null,8,["id","modelValue"]),I(a,{class:"lead-gen-pop-up__button","data-gtm_category":"lead_gen","data-gtm_action":"form_submit","data-gtm_label":"lead_gen_shortcode","button-type":"subscribe to newsletter","data-test-id":"lead-gen-pop-up__cta-button"},{default:j(()=>[...t[1]||(t[1]=[ee(" Sign up ",-1)])]),_:1})]),t[3]||(t[3]=C("p",{class:"lead-gen-pop-up__disclaimer disclaimer-text","data-test-id":"lead-gen-pop-up__disclaimer-text"},[ee(" By providing your email address, you are agreeing to our "),C("a",{href:"https://health-union.com/privacy-notice/",target:"_blank",rel:"noopener"},"Privacy Notice"),ee(" and "),C("a",{href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"},"Terms of Use"),ee(". ")],-1))]),_:1},8,["onSubmit"])]))]),_:1},40,["class","onClose"]))])}const Nse=Object.assign(te(Cse,[["render",Dse],["__scopeId","data-v-8434a18c"]]),{__name:"LeadGenPopUp"}),fS=(e="RouteProvider")=>or({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,i={};for(const s in t.route)Object.defineProperty(i,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return ni(_r,Jr(i)),()=>t.vnode?Gt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),$se=fS(),Wy=new WeakMap,Lse=or({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const i=_e(),s=Ee(),o=Ft(_r,null);let a;r({pageRef:s});const c=Ft(rO,null);let l;const u=i.deferHydration();let f=!1,d=0;if(i.isHydrating){const p=i.hooks.hookOnce("app:error",u);cn().beforeEach(p)}e.pageKey&&it(()=>e.pageKey,(p,m)=>{p!==m&&i.callHook("page:loading:start")});let h=!1;{const p=cn().beforeResolve(()=>{h=!1});xr(()=>{p()})}return()=>Gt(v7,{name:e.name,route:e.route,...t},{default:p=>{const m=Fse(o,p.route,p.Component),g=o&&o.matched.length===p.route.matched.length;if(!p.Component){if(l&&!g)return l;u();return}if(l&&c&&!c.isCurrent(p.route))return l;if(m&&o&&(!c||c?.isCurrent(o)))return g?l:null;const _=G1(p,e.pageKey),b=Vse(o,p.route,p.Component);!i.isHydrating&&a===_&&!b&&Wt(()=>{h||(h=!0,i.callHook("page:loading:end"))}),f&&a!==_&&d++,a=_;const y=!!(e.transition??p.route.meta.pageTransition??S3),v=y&&Mse([e.transition,p.route.meta.pageTransition,S3,{onAfterLeave(){delete i._runningTransition,i.callHook("page:transition:finish",p.Component)}}]),w=e.keepalive??p.route.meta.keepalive??UI;return l=_P(y&&v,bR(w,Gt(h0,{key:d,suspensible:!0,onPending:()=>
693{f=!0,y&&(i._runningTransition=!0),i.callHook("page:start",p.Component)},onResolve:async()=>{f=!1;try{await Wt(),i._route.sync?.(),await i.callHook("page:finish",p.Component),delete i._runningTransition,!h&&!b&&(h=!0,await i.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const S={key:_||void 0,vnode:n.default?Use(n.default,p):p.Component,route:p.route,renderKey:_||void 0,trackRootNodes:y,vnodeRef:s};if(!w)return Gt($se,S);const O=p.Component.type,A=O;let k=Wy.get(A);return k||(k=fS(O.name||O.__name),Wy.set(A,k)),Gt(k,S)}}))).default(),l}})}});function Mse(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?J0(n.onAfterLeave):void 0});return Wl(...t)}function Fse(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>i.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((i,s)=>i.components?.default!==e.matched[s]?.components?.default)||n&&G1({route:t,Component:n})!==G1({route:e,Component:n})}function Vse(e,t,n){return e?t.matched.findIndex(i=>i.components?.default===n?.type)<t.matched.length-1:!1}function Use(e,t){const n=e(t);return n.length===1?Gt(n[0]):Gt(Me,void 0,n)}const Bse={name:"ToastNotification",props:{notification:{type:Object,required:!0}},data(){return{timer:null}},mounted(){this.$snowplow.trackToastNotification({data:{toast_type:this.notification.type||"",toast_url:"",toast_text:this.notification.description||"",class_list:["toast-notification"],toast_id:this.notification.id}}),this.timer=setTimeout(()=>{this.clearSelf()},this.notification.clearAfter||5e3)},beforeUnmount(){this.timer&&clearTimeout(this.timer)},methods:{clearSelf(){Ge().removeToastNotification(this.notification.id)},closeToast(e){this.$snowplow.trackButtonEvent({data:{type:"toast notification",text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}}),Ge().removeToastNotification()}}},jse={class:"toast-notification__message"},zse=["onClick"],Hse={class:"toast-notification__action-text"};function qse(e,t,n,r,i,s){const o=Xe;return E(),P("div",{class:ve(["toast-notification",`toast-notification--${n.notification.toastType}`]),"aria-role":"alert","aria-live":"assertive"},[C("p",jse,ye(n.notification.description),1),(E(!0),P(Me,null,Pt(n.notification.actions,(a,c)=>(E(),P("button",{key:c,class:"toast-notification__action-button",onClick:a.handler},[C("span",Hse,ye(a.text),1)],8,zse))),128)),C("button",{id:"close",class:"toast-notification__close-button",onClick:t[0]||(t[0]=(...a)=>s.closeToast&&s.closeToast(...a))},[I(o,{name:"x",class:"toast-notification__close-icon"})])],2)}const Wse=Object.assign(te(Bse,[["render",qse],["__scopeId","data-v-1b3a8674"]]),{__name:"ToastNotification"}),Gse={name:"ToastNotifications",computed:{...ue(Ge,["notifications"])}},Qse={class:"toast-notifications"};function Kse(e,t,n,r,i,s){const o=Wse;return E(),P("div",Qse,[(E(!0),P(Me,null,Pt(e.notifications,a=>(E(),q(o,{key:a.id,notification:a},null,8,["notification"]))),128))])}const Yse=Object.assign(te(Gse,[["render",Kse],["__scopeId","data-v-0f9552ad"]]),{__name:"ToastNotifications"}),Jse=ke` 694mutation updateFollow($isFollowing: Boolean, $userId: NexusId!) { 695 updateFollow(isFollowing: $isFollowing, userId: $userId) { 696 username 697 id 698 avatar { 699 thumb 700 } 701 slug 702 } 703} 704`,Xse={name:"FollowButton",props:{currentlyFollowing:{type:Boolean,default:!1},user:{type:Object,required:!0},isOnFollowingDetails:{type:Boolean,default:!1},isInProfileTooltipOrMemberProfile:{type:Boolean,default:!1},text:{type:String,default:""},edit:{type:Boolean,default:!1}},data(){return{isFollowing:!1}},computed:{...ue(De,["userIsLoggedIn","isCurrentUser"]),editToUnfollow(){return this.isOnFollowingDetails&&this.edit&&this.isFollowing},followButtonText(){return this.isFollowing&&this.isOnFollowingDetails?this.text:this.isFollowing&&this.isInProfileTooltipOrMemberProfile?"Following":this.isFollowing?"Unfollow":"Follow"},followIconName(){return this.isFollowing?"check-outlined":"follow"},followIconTitle(){return this.isFollowing?"check-outlined icon":"follow icon"},toastNotificationDescriptionText(){return this.isFollowing?`You're now following ${this.user.username}`:`You are no longer following ${this.user.username}`}},created(){this.isFollowing=this.currentlyFollowing},methods:{...yt(Ae,["openRegisterDialog"]),tryToFollow(e){if(this.$emit("click"),!this.userIsLoggedIn){this.openRegisterDialog({dialogText:"Create an account to follow other members."});return}if(this.isCurrentUser(this.user.id)){Ge().addToastNotification({toastType:"error",description:"You cannot follow yourself",type:"Following"});return}this.isOnFollowingDetails&&!this.edit&&this.isFollowing||(this.$snowplow.trackButtonEvent({data:{type:`${this.isFollowing?"unfollow user":"follow user"}`,text:e.target.textContent.trim(),classes:e.target.classList,id:e.target.id}}),this.handleFollowing())},handleFollowing(){this.$apollo.mutate({mutation:Jse,variables:{isFollowing:!this.isFollowing,userId:this.user.id},update(e){const t=Object.keys(e.data.data.ROOT_QUERY).filter(n=>/^userFollowing/.test(n));t.length&&t.forEach(n=>{delete e.data.data.ROOT_QUERY[n]})}}).then(()=>{this.isFollowing=!this.isFollowing,Ge().addToastNotification({toastType:"success",description:`${this.toastNotificationDescriptionText}`,type:"Following"})}).catch(()=>{})}}};function Zse(e,t,n,r,i,s){const o=Xe;return E(),P("button",{class:ve(["follow-button button",{"button--secondary":i.isFollowing}]),"data-test-id":"follow-button",onClick:t[0]||(t[0]=(...a)=>s.tryToFollow&&s.tryToFollow(...a))},[n.isInProfileTooltipOrMemberProfile?(E(),q(o,{key:0,name:s.followIconName,title:s.followIconTitle,class:ve(["follow-button__follow-icon button__icon",{"follow-button__follow-icon--following":i.isFollowing}])},null,8,["name","title","class"])):Y("",!0),C("span",{class:ve(["follow-button__text",{"follow-button__text--edit":s.editToUnfollow}])},ye(s.followButtonText),3),s.editToUnfollow?(E(),q(o,{key:1,title:"Unfollow",name:"x",class:"follow-button__unfollow-icon"})):Y("",!0)],2)}const eoe=Object.assign(te(Xse,[["render",Zse],["__scopeId","data-v-eb60600f"]]
704),{__name:"FollowButton"}),toe=ke` 705mutation contentFlag($assocId: NexusId!, $assocType: ContentFlagType!) { 706 contentFlag(assocId: $assocId, assocType: $assocType) 707} 708`,noe=ke` 709mutation moderationContentFlag($assocId: NexusId!, $assocType: ContentFlagType!, $operation: ContentFlagOperation) { 710 moderationContentFlag(assocId: $assocId, assocType: $assocType, operation: $operation) 711} 712`;function roe(e){switch(e){case"comment":return"COMMENT";case"reply":return"REPLY";case"thread":return"THREAD";case"user":return"USER";case"user_profile_status":return"STATUS_UPDATE";case"user_profile_status_reply":return"STATUS_UPDATE_REPLY";default:return""}}function mce(e){const t=e.split("_");return t[0]=t[0].charAt(0).toUpperCase()+t[0].slice(1),t.join(" ")}function ioe(e){return`${window.location.origin}/moderation/${e}`}function soe(e,t="_blank"){window.open(ioe(e),t)}const ooe={computed:{...$d(De,["isModeratorOrAdmin","userIsLoggedIn","isAdmin","userIsUnverified"]),moderationDataIsValid(){return this.moderation&&this.moderation.assocId&&this.moderation.assocType}},created(){if(!this.moderationDataIsValid)throw new Error("Moderation data is not valid")},methods:{checkModeratorPermission(e=!0){return(e?this.isAdmin:this.isModeratorOrAdmin)?!0:(Ge().addToastNotification({toastType:"error",description:"Not authorized"}),!1)},openModerationContentFlag(){if(!this.checkModeratorPermission())return;const e=`content-flag/${this.moderation.assocType}/${this.moderation.assocId}`;soe(e)},moderatorDelete(){this.checkModeratorPermission()&&this.moderatorOperation("DELETE").then(({data:e})=>{e&&(Ge().addToastNotification({toastType:"success",description:"Deleted"}),this.navigateByAssocType())}).catch(()=>{Ge().addGenericErrorNotification()})},navigateByAssocType(){this.moderation.assocType==="THREAD"?this.$router.push({name:"forums"}):window.setTimeout(()=>{this.$router.go()},1e3)},markAsSpam(){this.checkModeratorPermission(!1)&&this.moderatorOperation("SPAM").then(({data:e})=>{e&&(Ge().addToastNotification({toastType:"success",description:"Marked as spam"}),window.setTimeout(()=>{this.$router.go()},1e3))}).catch(()=>{Ge().addGenericErrorNotification()})},moderatorOperation(e){return this.$apollo.mutate({mutation:noe,variables:{assocId:this.moderation.assocId,assocType:this.moderation.assocType,operation:e}})},reportContentOrUser(){if(!this.userIsLoggedIn){Ae().openRegisterDialog();return}if(this.userIsLoggedIn&&this.userIsUnverified){Ae().openVerificationPrompt({dialogHeading:"Verify your account"});return}this.$apollo.mutate({mutation:toe,variables:{assocId:this.moderation.assocId,assocType:this.moderation.assocType}}).then(({data:e})=>{e&&Ge().addToastNotification({toastType:"success",description:"Thank you! Our moderators will review."})}).catch(()=>{Ge().addGenericErrorNotification()})}}},aoe={name:"ProfileTooltip",mixins:[ooe],data(){return{userId:ms().profileTooltipUserId,isCrossPublished:ms().isCrossPublished,originalSite:ms().originalSite,user:{},memberUnavailable:!1}},computed:{...ue(ms,["tooltipAnchorRect"]),...ue(De,["userIsLoggedIn","isAdmin","isModeratorOrAdmin","isCurrentUser"]),...ue(tt,["siteHasFeature","getSiteSummary"]),showViewArticlesButton(){const e=["moderator_contributor","contributor"].includes(this.user?.badge),t=["author","contributor","administrator"].includes(this.user?.legacyRole);return e||t},showFlagUserButton(){return!this.onCrossPublishedSite&&this.isModeratorOrAdmin&&!this.userIsOnTheirOwnProfile},followedByCurrentUser(){return this.user.isFollowed},onCrossPublishedSite(){return this.originalSite&&this.$site.prefix!==this.originalSite},isEditorialTeam(){return this.user.username==="Editorial Team"},userIsOnTheirOwnProfile(){return this.isCurrentUser(this.user.id)},moderation(){return{assocId:ms().profileTooltipUserId,assocType:roe("user")}},ariaLabelText(){return`Profile tooltip for ${this.user.username}`},profileBelongsToAdmin(){return[1,5,6].includes(this.user.roleId)}},methods:{close(){ms().removeProfileTooltip()},closeIfUserNotLoggedIn(){this.userIsLoggedIn||this.close()},refetchUserSummary(){this.$apollo.queries.user.refetch()}
712,siteHost(e){return this.getSiteSummary(e)&&this.getSiteSummary(e).host},crossPublishingAuthorIndex(e,t){return`https://${this.siteHost(t)}/author/${e.slug}`},crossPublishingAuthorProfile(e,t){return`https://${this.siteHost(t)}/members/${e.slug}`}},apollo:{user:{query:Qne,variables(){return{id:this.userId,originalSite:this.originalSite,ignore404:!0}},fetchPolicy:"no-cache",result(){this.$nextTick(()=>{this.$refs.dialogRef?.setCssPosition?.()})},error(e,t){t.memberUnavailable=!0,this.$nextTick(()=>{this.$refs.dialogRef?.setCssPosition?.()})}}}},coe={class:"profile-tooltip","data-test-id":"profile-tooltip"},loe={key:1,class:"profile-tooltip__content"},uoe={class:"profile-tooltip__username","data-test-id":"profile-tooltip-username"},foe={key:0,class:"profile-tooltip__disabled"},doe={key:1,class:"profile-tooltip__actions"},hoe=["href"],poe=["href"];function moe(e,t,n,r,i,s){const o=J2,a=ig,c=lS,l=Xe,u=li,f=eoe,d=Yi,h=ru;return E(),q(h,{ref:"dialogRef",class:"dialog-base--profile-tooltip","max-width":250,"tooltip-anchor-rect":e.tooltipAnchorRect,"dialog-type":"profile-tooltip","aria-label-text":s.ariaLabelText,onClose:s.close},{default:j(()=>[C("div",coe,[i.user.id?(E(),P("div",loe,[I(a,{user:i.user,"is-cross-published":i.isCrossPublished,"original-site":i.originalSite,size:"full",class:"user-avatar--profile-tooltip"},null,8,["user","is-cross-published","original-site"]),C("h4",uoe,ye(i.user.username),1),I(c,{user:i.user},null,8,["user"]),i.memberUnavailable?(E(),P("div",foe,[...t[0]||(t[0]=[C("p",null,"This member is no longer available.",-1)])])):(E(),P("div",doe,[s.onCrossPublishedSite&&!s.isEditorialTeam?(E(),P("a",{key:0,href:s.crossPublishingAuthorProfile(i.user,i.originalSite),class:"profile-tooltip__action profile-tooltip__action--view-profile link--unstyled","data-test-id":"profile-tooltip-view-profile-link",target:"_blank"},[I(l,{name:"user",title:"user icon",container:"div",class:"profile-tooltip__action-icon"}),t[1]||(t[1]=ee(" View profile ",-1))],8,hoe)):(E(),q(u,{key:1,class:"profile-tooltip__action profile-tooltip__action--view-profile link--unstyled","data-test-id":"profile-tooltip-view-profile-link",to:{name:"memberProfile",params:{slug:i.user.slug}},onClick:s.close},{default:j(()=>[I(l,{name:"user",title:"user icon",container:"div",class:"profile-tooltip__action-icon"}),t[2]||(t[2]=ee(" View profile ",-1))]),_:1},8,["to","onClick"])),!s.onCrossPublishedSite&&!s.userIsOnTheirOwnProfile?(E(),q(f,{key:2,"currently-following":s.followedByCurrentUser,"is-in-profile-tooltip-or-member-profile":"",user:i.user,class:"profile-tooltip__action profile-tooltip__action--follow text-button",onClick:s.closeIfUserNotLoggedIn},null,8,["currently-following","user","onClick"])):Y("",!0),s.showViewArticlesButton&&s.onCrossPublishedSite&&!s.isEditorialTeam?(E(),P("a",{key:3,href:s.crossPublishingAuthorIndex(i.user,i.originalSite),class:"profile-tooltip__action profile-tooltip__action--view-articles link--unstyled","data-test-id":"profile-tooltip-view-articles-link",target:"_blank"},[I(l,{name:"view-articles",title:"view-articles icon",container:"div",class:"profile-tooltip__action-icon"}),t[3]||(t[3]=ee(" View articles ",-1))],8,poe)):s.showViewArticlesButton?(E(),q(u,{key:4,class:"profile-tooltip__action profile-tooltip__action--view-articles link--unstyled","data-test-id":"profile-tooltip-view-articles-link",to:{name:"authorIndex",params:{slug:i.user.slug}},onClick:s.close},{default:j(()=>[I(l,{name:"view-articles",title:"view-articles icon",container:"div",class:"profile-tooltip__action-icon"}),t[4]||(t[4]=ee(" View articles ",-1))]),_:1},8,["to","onClick"])):Y("",!0),s.showFlagUserButton?(E(),q(d,{key:5,class:"profile-tooltip__flag-user-button","data-test-id":"profile-tooltip-flag-user-button",onClick:e.reportContentOrUser},{default:j(()=>[I(l,{name:"flag",title:"flag icon",class:"profile-tooltip__flag-user-icon icon--small"}),t[5]||(t[5]=ee(" Flag User ",-1))]),_:1},8,["onClick"])):Y("",!0)]))])):(E(),q(o,{key:0}))])]),_:1},8,["tooltip-anchor-rect","aria-label-text","onClose"])}const goe=Object.assign(te(aoe,[["render",moe],["__scopeId","data-v-82cbaa07"]]),{__name:"ProfileTooltip"}),_oe={name:"SubscriptionForm",mixins:[Fo],setup(){return{dataLayerStore:Za(),emailPattern:zG}},data(){return{email:"",decoyEmail:""}},methods:{handleSubscribe(){this.$apollo.mutate({mutation:uS,variables:{campaign:"site",form:"footer",email:this.email,decoyEmail:this.decoyEmail,pageviewId:It().pageViewId,medium:"Site"}}).catch(()=>{this.$logger.warn("problem submitting new lead.")}),y2().trackUserSubscribe(this.email),this.setDataLayer(),this.pushDataLayer(),Ge().addToastNotification({toastType:"success",description:"Thanks for signing up for emails!"}),this.email="",this.decoyEmail=""}}},yoe={class:"subscription-form__group"},voe=["pattern"];function boe(e,t,n,r,i,s){const o=Yi,a=lr;return E(),q(a,{method:"post",class:"subscription-form",onSubmit:t[2]||(t[2]=on(c=>s.handleSubscribe(),["prevent"]))},{default:j(()=>[t[4]||(t[4]=C("label",{class:"subscription-form__label heading heading--3",for:"emailaddressnexus"},"Stay connected with the community",-1)),C("div",yoe,[Kt(C("input",{id:"emailaddressnexus","onUpdate:modelValue":t[0]||(t[0]=c=>i.email=c),pattern:r.emailPattern,placeholder:"Enter your email",class:"subscription-form__input",required:"",type:"email",title:"Invalid email address"},null,8,voe),[[Fi,i.email]]),Kt(C("input",{id:"email-address","onUpdate:modelValue":t[1]||(t[1]=c=>i.decoyEmail=c),autocomplete:"off",class:"decoyfield",tabindex:"-1",placeholder:"Enter email address",type:"email"}
712,null,512),[[Fi,i.decoyEmail]]),I(o,{type:"submit",class:"subscription-form__button","button-type":"subscribe to newsletter"},{default:j(()=>[...t[3]||(t[3]=[ee("Subscribe",-1)])]),_:1})]),t[5]||(t[5]=C("p",{class:"subscription-form__disclaimer disclaimer-text"},[ee(" By providing your email address, you are agreeing to our "),C("a",{href:"https://health-union.com/privacy-notice/",target:"_blank",rel:"noopener"},"Privacy Notice"),ee(" and "),C("a",{href:"https://health-union.com/terms-of-use/",target:"_blank",rel:"noopener"},"Terms of Use"),ee(". ")],-1))]),_:1})}const woe=Object.assign(te(_oe,[["render",boe],["__scopeId","data-v-f49a5791"]]),{__name:"SubscriptionForm"}),Soe={name:"SocialFollow",props:{useSiteSocials:{type:Boolean,default:!1}},data(){return{huSocials:{linkedin:"https://www.linkedin.com/company/health-union-llc"}}},computed:{socialNetworks(){return this.useSiteSocials?this.$site.settings.social:this.huSocials}}},Eoe={class:"social-follow"},Toe={class:"social-follow__list"},koe=["href"];function xoe(e,t,n,r,i,s){const o=Xe;return E(),P("div",Eoe,[C("ul",Toe,[(E(!0),P(Me,null,Pt(s.socialNetworks,(a,c)=>(E(),P("li",{key:c,class:"social-follow__item"},[a?(E(),P("a",{key:0,href:a,class:"social-follow__link link link--unstyled",target:"_blank",rel:"noopener noreferrer"},[I(o,{name:c,title:`Follow us on ${c}`,class:"social-follow__icon"},null,8,["name","title"])],8,koe)):Y("",!0)]))),128))])])}const Coe=Object.assign(te(Soe,[["render",xoe],["__scopeId","data-v-ba6fc4a0"]]),{__name:"SocialFollow"}),Ioe={name:"AllSiteLinks",data(){return{showAsTruncatedList:!0}},computed:{...ue(hh,["footerSites"]),toggleButtonText(){return this.showAsTruncatedList?"View all":"View less"}},methods:{handleClick(){this.showAsTruncatedList=!this.showAsTruncatedList}}},Ooe={class:"all-site-links"},Aoe=["href"];function Roe(e,t,n,r,i,s){const o=Xe;return E(),P("div",Ooe,[t[2]||(t[2]=C("h2",{class:"all-site-links__heading heading--3"}," OUR COMMUNITIES ",-1)),C("ul",{class:ve(["all-site-links__list",{"all-site-links__list--truncated":i.showAsTruncatedList}])},[(E(!0),P(Me,null,Pt(e.footerSites,a=>(E(),P("li",{key:a.name,class:"all-site-links__site"},[C("a",{href:`https://${a.host}`,class:"all-site-links__link link link--unstyled",rel:"noopener",target:"_blank",onFocus:t[0]||(t[0]=c=>i.showAsTruncatedList=!1)},ye(a.name),41,Aoe)]))),128))],2),C("button",{class:"all-site-links__toggle text-button",tabindex:"-1",onClick:t[1]||(t[1]=(...a)=>s.handleClick&&s.handleClick(...a))},[I(o,{name:"caret",title:"caret icon",class:ve(["all-site-links__toggle-icon icon--small",{"all-site-links__toggle-icon--expanded":!i.showAsTruncatedList}])},null,8,["class"]),ee(" "+ye(s.toggleButtonText),1)])])}const Poe=Object.assign(te(Ioe,[["render",Roe],["__scopeId","data-v-a4a840f6"]]),{__name:"AllSiteLinks"});function Doe(e,t){return(n,r)=>or({inheritAttrs:!1,props:e,emits:["hydrated"],setup(i,s){const o=ao({loader:r}),a=ao({hydrate:t(i),loader:()=>Promise.resolve(o)}),c=()=>{s.emit("hydrated")};return()=>Gt(a,xs(s.attrs,{onVnodeMounted:c}),s.slots)}})}const Noe=()=>{},$oe=Doe({hydrateNever:{type:Boolean,required:!1,default:!0}},()=>Noe),Loe='<svg viewBox="0 0 526 98" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="m13.007496.6667213c1.0441657 1.58227999 10.5839778 19.5995899 10.5839778 19.5995899l40.0974875.0004258c10.0576039 0 13.97251 2.5666428 13.97251 8.9158007 0 1.4860264-.2023965 3.2422069-.6075471 5.1332855-.3811934 1.8405909-.749335 3.612335-1.104425 5.3152323 1.7445749.0078886 3.2019173.0086994 4.2765216.0087713 9.8218744.0006574 9.4439585 6.5417058 8.5043712 10.8771832-.1463138.6751263-.2972415 1.3728572-.4527832 2.0931929-1.447061 6.7015447-4.5161903 21.1559792-9.2073881 43.3633036-.2694874 1.3507704-.6846049 2.0209673-1.6668952 2.0264743-.8045357.0041541-1.2089452-.6664006-1.2089452-.6664006-1.0422556-1.5819221-10.5646175-19.599232-10.5646175-19.599232h-39.9822834c-10.0388495 0-13.9469513-2.5666428-13.9469513-8.9158007 0-1.4860264.2020263-3.2422069.6064357-5.1332855.3954112-1.9334028.7598928-3.713107 1.0934447-5.3391126 21.6144457-.0519579 38.0471828-.0780621 49.2973869-.0780621 3.6865195 0 9.4076728-.2859927 10.9185851-7.4425438.571429-2.7066169 1.3475549-6.4382436 2.3283777-11.19488-23.2929668-.0359182-40.876763-.0538772-52.7513885-.0538772-5.1956674 0-6.5582014 3.5239713-7.1666104 6.1450622-.5333095 2.2975543-1.4090346 6.505738-2.6271753 12.6245513-2.4009325.0087683-3.92405295.0145008-4.16541608.0145008-11.43158026 0-9.30875942-8.4206211-8.62807454-11.6177643l9.52029212-44.71634123c.2699812-1.35077045.6858595-2.02096729 1.6699498-2.02677856.8060101-.00384987 1.2111607.66670479 1.2111607.66670479z"/></defs><g fill="#fff" fill-rule="evenodd"><path d="m123.718887 38.9609371c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247561.553394-1.247561 1.2871709v57.763502c0 .7337769.536484 1.2871709 1.247561 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908884 0 10.560272 4.1652907 10.560272 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845745c.744961 0 1.286151-.5416196 1.286151-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m55.536126 17.1033601h-26.067023c1.201913-6.5912759 6.523932-11.1470038 13.117984-11.1470038 7.010534 0 12.041722 4.3565061 12.949039 11.1470038m-13.026688-17.1034072c-10.775336 0-19.541679 8.999835-19.541679 20.0620635 0 11.5487442 8.751755 20.2570465 20.35723 20.2570465 6.557345 0 12.031838-2.6035422 15.815936-7.5110873.202358-.2359578.301184-.5458585.270595-.8505784-.03153-.3117846-.192946-.5957816-.459306-.80301l-2.760071-2.1010134c-.528484-.3960888-1.198619-.2072284-1.598629.1361114l-.054119.0546329c-2.909722 3.4701337-6.6157 5.1576322-11.330645 5.1576322-7.342777 0-12.858683-4.8157053-13.877062-12.0418536h31.627166c.669664 0 1.053203-.3838435 1.051321-1.0107094.040942-.4493088.040942-.9767993.040942-1.3257908 0-11.4154587-8.401157-20.0234436-19.541679-20.0234436m45.069332 34.0515814c-7.471722 0-13.550937-6.27
71257235-13.550937-13.9893295 0-7.6924122 6.079215-13.9502388 13.550937-13.9502388 7.685845 0 13.706235 6.1273669 13.706235 13.9502388 0 7.8445366-6.02039 13.9893295-13.706235 13.9893295m18.876721-33.5851291h-3.884336c-.720959 0-1.28615.5656393-1.28615 1.2871709v4.7370527c-3.390676-4.142684-8.422335-6.4904875-14.016831-6.4904875-10.882633 0-19.736037 8.999835-19.736037 20.0620635 0 11.0838932 8.853404 20.1016252 19.736037 20.1016252 5.594496 0 10.626155-2.3482745 14.016831-6.4909585v4.7370527c0 .7215316.565191 1.2867 1.28615 1.2867h3.884336c.72143 0 1.28615-.5651684 1.28615-1.2867v-36.6563481c0-.7215316-.56472-1.2871709-1.28615-1.2871709m25.857417 33.2042998-.049413.0113034c-1.000496.2967134-1.896048.4474249-2.663127.4474249-3.336086 0-4.462232-1.5782326-4.462232-6.2540587v-47.228764c0-.7220026-.564721-1.2876419-1.286151-1.2876419h-3.845275c-.721431 0-1.286151.5656393-1.286151 1.2876419v48.1617627c0 7.6669797 3.202906 11.3937939 9.792252 11.3937939 1.517215 0 2.63442-.2345448 4.025044-.6329885.882847-.196396 1.067792-.7813452 1.067792-1.2377187v-3.5365409c0-.4921675-.207534-.768629-.381656-.9141598-.238124-.1992219-.562368-.2755196-.911083-.2100543m24.66887-32.9709324h-10.326854v-11.5793575c0-.7220025-.565191-1.2871709-1.286621-1.2871709h-3.883865c-.72143 0-1.286621.5651684-1.286621 1.2871709v11.5793575h-4.889067c-.711077 0-1.247561.53691-1.247561 1.2480801v3.6929042c0 .6885635.559543 1.2485511 1.247561 1.2485511h4.889067v21.5300882c0 7.6377793 3.608563 11.5105954 10.724982 11.5105954 2.481946 0 4.213755-.4436572 5.579908-.8769529l.054119-.0193099c.341185-.1276339 1.05085-.3918501 1.05085-1.2071054v-3.5765737c0-.3438108-.142121-.6522985-.400481-.8680044-.27436-.2293642-.64284-.3230879-1.008496-.2552677l-.071061.018368c-.791549.2769325-2.35959.5562198-4.078693.5562198-4.033045 0-5.394021-1.5287804-5.394021-6.0590757v-20.7529817h10.287794c.711548 0 1.247562-.5369099 1.247562-1.2485511v-3.6929042c0-.7229445-.508249-1.2480801-1.208502-1.2480801m26.254322-.6997726c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247562.553394-1.247562 1.2871709v57.763502c0 .7337769.536485 1.2871709 1.247562 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908883 0 10.560271 4.1652907 10.560271 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845275c.745431 0 1.286622-.5416196 1.286622-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m83.569255 19.1132871v18.8139833c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85461 0-1.475803-.6216851-1.475803-1.4769733v-35.3734159c0-.8161973.621193-1.4383534 1.475803-1.4383534h6.875c.815551 0 1.437214.6221561 1.437214 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176261-3.731524 7.962558 0 15.186744 4.6259029 15.186744 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85414 0-1.475803-.6216851-1.475803-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612901-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426m-29.065012 2.3069067v-18.8139833c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85461 0 1.475803.6216851 1.475803 1.4769733v35.3734159c0 .8161973-.621193 1.4383534-1.475803 1.4383534h-6.875c-.815551 0-1.437214-.6221561-1.437214-1.4383534v-1.8269067c-2.369002 2.2154599-5.748383 3.731524-10.176261 3.731524-7.962558 0-15.186744-4.6259029-15.186744-17.2588284v-20.0192048c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85414 0 1.475803.6216851 1.475803 1.4769733v19.1248259c0 5.4421002 2.291353 8.7846 7.612901 8.7846 5.010482 0 7.962087-2.409501 7.962087-9.0954426m63.979039 16.5072179v-35.3734159c0-.8161973.621663-1.4383535 1.476273-1.4383535h6.87453c.816021 0 1.437213.6221562 1.437213 1.4383535v35.3734159c0 .8548172-.621192 1.4769733-1.437213 1.4769733h-6.87453c-.85461 0-1.476273-.6221561-1.476273-1.4769733m37.479834-7.1138211c5.787443 0 10.176262-4.7808532 10.176262-10.4174655 0-5.5975216-4.388819-10.3783748-10.176262-10.3783748-5.748383 0-10.098613 4.7808532-10.098613 10.3783748 0 5.6366123 4.35023 10.4174655 10.098613 10.4174655m-20.041927-10.4174655c0-11.0010019 8.894817-19.7469821 20.041927-19.7469821 11.
71218617 0 20.119576 8.7459802 20.119576 19.7469821 0 10.8842004-8.933406 19.8246927-20.119576 19.8246927-11.14711 0-20.041927-8.9404923-20.041927-19.8246927m57.480866-1.282838v18.8139833c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.85461 0-1.475802-.6216851-1.475802-1.4769733v-35.3734159c0-.8161973.621192-1.4383534 1.475802-1.4383534h6.875001c.81555 0 1.437213.6221561 1.437213 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176262-3.731524 7.962557 0 15.186743 4.6259029 15.186743 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.854139 0-1.475802-.6216851-1.475802-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612902-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426"/><g xlink:href="#a"><path d="m11.7963353.00001651c.8060101-.00384987 1.2111607.66670479 1.2111607.66670479 1.0441657 1.58227999 10.5839778 19.5995899 10.5839778 19.5995899l40.0974875.0004258c10.0576039 0 13.97251 2.5666428 13.97251 8.9158007 0 1.4860264-.2023965 3.2422069-.6075471 5.1332855-.3837865 1.8531119-.7543432 3.6364372-1.1116699 5.3499757l.0025039-.0351354c-23.2929668-.0359182-40.876763-.0538772-52.7513885-.0538772-5.1956674 0-6.5582014 3.5239713-7.1666104 6.1450622-.5333095 2.2975543-1.4090346 6.505738-2.6271753 12.6245513-2.4009325.0087683-3.92405295.0145008-4.16541608.0145008-11.43158026 0-9.30875942-8.4206211-8.62807454-11.6177643l9.52029212-44.71634123c.2699812-1.35077045.6858595-2.02096729 1.6699498-2.02677856z"/><path d="m80.2260208 39.6398268c9.8218744.0006574 9.4439585 6.5417058 8.5043712 10.8771832-.1463138.6751263-.2972415 1.3728572-.4527832 2.0931929-1.447061 6.7015447-4.5161903 21.1559792-9.2073881 43.3633036-.2694874 1.3507704-.6846049 2.0209673-1.6668952 2.0264743-.8045357.0041541-1.2089452-.6664006-1.2089452-.6664006-1.0422556-1.5819221-10.5646175-19.599232-10.5646175-19.599232h-39.9822834c-10.0388495 0-13.9469513-2.5666428-13.9469513-8.9158007 0-1.4860264.2020263-3.2422069.6064357-5.1332855.3954112-1.9334028.7598928-3.713107 1.0934447-5.3391126 21.6144457-.0519579 38.0471828-.0780621 49.2973869-.0780621 3.6865195 0 9.4076728-.2859927 10.9185851-7.4425438.571429-2.7066169 1.3475549-6.4382436 2.3283777-11.19488 1.7493159.0082806 3.2066583.0090914 4.2812626.0091633z"/></g></g></svg>',Moe='<svg viewBox="0 0 526 98" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#3252f0"/><stop offset="1" stop-color="#007fff"/></linearGradient><linearGradient id="b" x1="100%" x2="0%" xlink:href="#a" y1="51.048526%" y2="48.951474%"/><linearGradient id="c" x1="94.775493%" x2="18.553799%" xlink:href="#a" y1="92.925432%" y2="46.950701%"/><linearGradient id="d" x1="9.294936%" x2="88.220637%" y1="21.570602%" y2="80.427348%"><stop offset="0" stop-color="#00bcc6"/><stop offset="1" stop-color="#29d6c5"/></linearGradient><linearGradient id="e" x1="93.921044%" x2="14.440433%" y1="54.419237%" y2="45.497092%"><stop offset="0" stop-color="#023ac7"/><stop offset="1" stop-color="#361fa5"/></linearGradient><g fill="none" fill-rule="evenodd"><path d="m123.718887 38.9609371c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247561.553394-1.247561 1.2871709v57.763502c0 .7337769.536484 1.2871709 1.247561 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908884 0 10.560272 4.1652907 10.560272 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845745c.744961 0 1.286151-.5416196 1.286151-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m55.536126 17.1033601h-26.067023c1.201913-6.5912759 6.523932-11.1470038 13.117984-11.1470038 7.010534 0 12.041722 4.3565061 12.949039 11.1470038m-13.026688-17.1034072c-10.775336 0-19.541679 8.999835-19.541679 20.0620635 0 11.5487442 8.751755 20.2570465 20.35723 20.2570465 6.557345 0 12.031838-2.6035422 15.815936-7.5110873.202358-.2359578.301184-.5458585.270595-.8505784-.03153-.3117846-.192946-.5957816-.459306-.80301l-2.760071-2.1010134c-.528484-.3960888-1.198619-.2072284-1.598629.1361114l-.054119.0546329c-2.909722 3.4701337-6.6157 5.1576322-11.330645 5.1576322-7.342777 0-12.858683-4.8157053-13.877062-12.0418536h31.627166c.669664 0 1.053203-.3838435 1.051321-1.0107094.040942-.4493088.040942-.9767993.040942-1.3257908 0-11.4154587-8.401157-20.0234436-19.541679-20.0234436m45.069332 34.0515814c-7.471722 0-13.550937-6.27
71257235-13.550937-13.9893295 0-7.6924122 6.079215-13.9502388 13.550937-13.9502388 7.685845 0 13.706235 6.1273669 13.706235 13.9502388 0 7.8445366-6.02039 13.9893295-13.706235 13.9893295m18.876721-33.5851291h-3.884336c-.720959 0-1.28615.5656393-1.28615 1.2871709v4.7370527c-3.390676-4.142684-8.422335-6.4904875-14.016831-6.4904875-10.882633 0-19.736037 8.999835-19.736037 20.0620635 0 11.0838932 8.853404 20.1016252 19.736037 20.1016252 5.594496 0 10.626155-2.3482745 14.016831-6.4909585v4.7370527c0 .7215316.565191 1.2867 1.28615 1.2867h3.884336c.72143 0 1.28615-.5651684 1.28615-1.2867v-36.6563481c0-.7215316-.56472-1.2871709-1.28615-1.2871709m25.857417 33.2042998-.049413.0113034c-1.000496.2967134-1.896048.4474249-2.663127.4474249-3.336086 0-4.462232-1.5782326-4.462232-6.2540587v-47.228764c0-.7220026-.564721-1.2876419-1.286151-1.2876419h-3.845275c-.721431 0-1.286151.5656393-1.286151 1.2876419v48.1617627c0 7.6669797 3.202906 11.3937939 9.792252 11.3937939 1.517215 0 2.63442-.2345448 4.025044-.6329885.882847-.196396 1.067792-.7813452 1.067792-1.2377187v-3.5365409c0-.4921675-.207534-.768629-.381656-.9141598-.238124-.1992219-.562368-.2755196-.911083-.2100543m24.66887-32.9709324h-10.326854v-11.5793575c0-.7220025-.565191-1.2871709-1.286621-1.2871709h-3.883865c-.72143 0-1.286621.5651684-1.286621 1.2871709v11.5793575h-4.889067c-.711077 0-1.247561.53691-1.247561 1.2480801v3.6929042c0 .6885635.559543 1.2485511 1.247561 1.2485511h4.889067v21.5300882c0 7.6377793 3.608563 11.5105954 10.724982 11.5105954 2.481946 0 4.213755-.4436572 5.579908-.8769529l.054119-.0193099c.341185-.1276339 1.05085-.3918501 1.05085-1.2071054v-3.5765737c0-.3438108-.142121-.6522985-.400481-.8680044-.27436-.2293642-.64284-.3230879-1.008496-.2552677l-.071061.018368c-.791549.2769325-2.35959.5562198-4.078693.5562198-4.033045 0-5.394021-1.5287804-5.394021-6.0590757v-20.7529817h10.287794c.711548 0 1.247562-.5369099 1.247562-1.2485511v-3.6929042c0-.7229445-.508249-1.2480801-1.208502-1.2480801m26.254322-.6997726c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247562.553394-1.247562 1.2871709v57.763502c0 .7337769.536485 1.2871709 1.247562 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908883 0 10.560271 4.1652907 10.560271 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845275c.745431 0 1.286622-.5416196 1.286622-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m83.569255 19.1132871v18.8139833c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85461 0-1.475803-.6216851-1.475803-1.4769733v-35.3734159c0-.8161973.621193-1.4383534 1.475803-1.4383534h6.875c.815551 0 1.437214.6221561 1.437214 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176261-3.731524 7.962558 0 15.186744 4.6259029 15.186744 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85414 0-1.475803-.6216851-1.475803-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612901-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426m-29.065012 2.3069067v-18.8139833c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85461 0 1.475803.6216851 1.475803 1.4769733v35.3734159c0 .8161973-.621193 1.4383534-1.475803 1.4383534h-6.875c-.815551 0-1.437214-.6221561-1.437214-1.4383534v-1.8269067c-2.369002 2.2154599-5.748383 3.731524-10.176261 3.731524-7.962558 0-15.186744-4.6259029-15.186744-17.2588284v-20.0192048c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85414 0 1.475803.6216851 1.475803 1.4769733v19.1248259c0 5.4421002 2.291353 8.7846 7.612901 8.7846 5.010482 0 7.962087-2.409501 7.962087-9.0954426m63.979039 16.5072179v-35.3734159c0-.8161973.621663-1.4383535 1.476273-1.4383535h6.87453c.816021 0 1.437213.6221562 1.437213 1.4383535v35.3734159c0 .8548172-.621192 1.4769733-1.437213 1.4769733h-6.87453c-.85461 0-1.476273-.6221561-1.476273-1.4769733m37.479834-7.1138211c5.787443 0 10.176262-4.7808532 10.176262-10.4174655 0-5.5975216-4.388819-10.3783748-10.176262-10.3783748-5.748383 0-10.098613 4.7808532-10.098613 10.3783748 0 5.6366123 4.35023 10.4174655 10.098613 10.4174655m-20.041927-10.4174655c0-11.0010019 8.894817-19.7469821 20.041927-19.7469821 11.
71218617 0 20.119576 8.7459802 20.119576 19.7469821 0 10.8842004-8.933406 19.8246927-20.119576 19.8246927-11.14711 0-20.041927-8.9404923-20.041927-19.8246927m57.480866-1.282838v18.8139833c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.85461 0-1.475802-.6216851-1.475802-1.4769733v-35.3734159c0-.8161973.621192-1.4383534 1.475802-1.4383534h6.875001c.81555 0 1.437213.6221561 1.437213 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176262-3.731524 7.962557 0 15.186743 4.6259029 15.186743 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.854139 0-1.475802-.6216851-1.475802-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612902-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426" fill="url(#b)"/><path d="m62.3073084 58.2733343c-11.2439885-.087571-51.7390184.087571-53.07313711.087571-11.43158443 0-9.30876282-8.4206241-8.62807769-11.6177684l9.5202956-44.7163576c.2699813-1.35077095.6858597-2.02096803 1.6699504-2.0267793.8060104-.00384987 1.2111611.66670503 1.2111611.66670503 1.0441661 1.58228056 10.5839817 19.59959697 10.5839817 19.59959697l40.0975022.0004259c10.0576075 0 13.972515 2.5666437 13.972515 8.9158039 0 1.486027-.2023966 3.2422081-.6075473 5.1332874-.945667 4.5661499-1.8110086 8.7085891-2.596025 12.4273177-1.1775245 5.5780928-.9066305 11.6177684-12.1506189 11.5301974z" fill="url(#c)"/><path d="m88.7304243 50.5170119c-.1463138.6751265-.2972416 1.3728577-.4527833 2.0931937-1.4470615 6.7015471-4.516192 21.1559869-9.2073915 43.3633193-.2694874 1.350771-.6846052 2.0209681-1.6668958 2.0264751-.804536.0041541-1.2089456-.6664008-1.2089456-.6664008-1.042256-1.5819227-10.5646213-19.5992392-10.5646213-19.5992392h-39.9822981c-10.0388531 0-13.9469563-2.5666437-13.9469563-8.9158039 0-1.4860269.2020263-3.2422081.6064359-5.1332874 2.1804706-10.6616314 3.4204029-16.6494381 3.7197969-17.9634201.449091-1.970973 1.7514554-6.1450644 7.1666129-6.1450644 5.4151576 0 47.210794.0623832 57.0326719.0630406 9.821878.0006573 9.443962 6.5417082 8.5043743 10.8771871z" fill="url(#d)"/><path d="m13.3995889 58.2925273c.9808232-4.7566381 1.7569494-8.4882661 2.3283786-11.194884 1.5109128-7.1565538 7.2320682-7.4425466 10.9185891-7.4425466 11.2502082 0 27.6829513-.0261042 49.2982293-.0783125-1.2181411 6.1188155-2.0938665 10.3270008-2.6271763 12.6245559-.6084092 2.6210918-1.9709437 6.1450645-7.1666129 6.1450645-11.8746299 0-29.4584325-.0179591-52.7514078-.0538773z" fill="url(#e)" transform="matrix(-1 -0 0 -1 89.3444 97.9232)"/></g></svg>',ju='<svg viewBox="0 0 526 98" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" x1="94.775493%" x2="18.553799%" y1="92.925432%" y2="46.950701%"><stop offset="0" stop-color="#3252f0"/><stop offset="1" stop-color="#007fff"/></linearGradient><linearGradient id="b" x1="9.294936%" x2="88.220637%" y1="21.570602%" y2="80.427348%"><stop offset="0" stop-color="#00bcc6"/><stop offset="1" stop-color="#29d6c5"/></linearGradient><linearGradient id="c" x1="93.921044%" x2="14.440433%" y1="54.419237%" y2="45.497092%"><stop offset="0" stop-color="#023ac7"/><stop offset="1" stop-color="#361fa5"/></linearGradient><g fill="none" fill-rule="evenodd"><path d="m123.718887 38.9609371c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247561.553394-1.247561 1.2871709v57.763502c0 .7337769.536484 1.2871709 1.247561 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908884 0 10.560272 4.1652907 10.560272 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845745c.744961 0 1.286151-.5416196 1.286151-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m55.536126 17.1033601h-26.067023c1.201913-6.5912759 6.523932-11.1470038 13.117984-11.1470038 7.010534 0 12.041722 4.3565061 12.949039 11.1470038m-13.026688-17.1034072c-10.775336 0-19.541679 8.999835-19.541679 20.0620635 0 11.5487442 8.751755 20.2570465 20.35723 20.2570465 6.557345 0 12.031838-2.6035422 15.815936-7.5110873.202358-.2359578.301184-.5458585.270595-.8505784-.03153-.3117846-.192946-.5957816-.459306-.80301l-2.760071-2.1010134c-.528484-.3960888-1.198619-.2072284-1.598629.1361114l-.054119.0546329c-2.909722 3.4701337-6.6157 5.1576322-11.330645 5.1576322-7.342777 0-12.858683-4.8157053-13.877062-12.0418536h31.627166c.669664 0 1.053203-.3838435 1.051321-1.0107094.040942-.4493088.040942-.9767993.040942-1.3257908 0-11.4154587-8.401157-20.0234436-19.541679-20.0234436m45.069332 34.0515814c-7.471722 0-13.550937-6.27
71257235-13.550937-13.9893295 0-7.6924122 6.079215-13.9502388 13.550937-13.9502388 7.685845 0 13.706235 6.1273669 13.706235 13.9502388 0 7.8445366-6.02039 13.9893295-13.706235 13.9893295m18.876721-33.5851291h-3.884336c-.720959 0-1.28615.5656393-1.28615 1.2871709v4.7370527c-3.390676-4.142684-8.422335-6.4904875-14.016831-6.4904875-10.882633 0-19.736037 8.999835-19.736037 20.0620635 0 11.0838932 8.853404 20.1016252 19.736037 20.1016252 5.594496 0 10.626155-2.3482745 14.016831-6.4909585v4.7370527c0 .7215316.565191 1.2867 1.28615 1.2867h3.884336c.72143 0 1.28615-.5651684 1.28615-1.2867v-36.6563481c0-.7215316-.56472-1.2871709-1.28615-1.2871709m25.857417 33.2042998-.049413.0113034c-1.000496.2967134-1.896048.4474249-2.663127.4474249-3.336086 0-4.462232-1.5782326-4.462232-6.2540587v-47.228764c0-.7220026-.564721-1.2876419-1.286151-1.2876419h-3.845275c-.721431 0-1.286151.5656393-1.286151 1.2876419v48.1617627c0 7.6669797 3.202906 11.3937939 9.792252 11.3937939 1.517215 0 2.63442-.2345448 4.025044-.6329885.882847-.196396 1.067792-.7813452 1.067792-1.2377187v-3.5365409c0-.4921675-.207534-.768629-.381656-.9141598-.238124-.1992219-.562368-.2755196-.911083-.2100543m24.66887-32.9709324h-10.326854v-11.5793575c0-.7220025-.565191-1.2871709-1.286621-1.2871709h-3.883865c-.72143 0-1.286621.5651684-1.286621 1.2871709v11.5793575h-4.889067c-.711077 0-1.247561.53691-1.247561 1.2480801v3.6929042c0 .6885635.559543 1.2485511 1.247561 1.2485511h4.889067v21.5300882c0 7.6377793 3.608563 11.5105954 10.724982 11.5105954 2.481946 0 4.213755-.4436572 5.579908-.8769529l.054119-.0193099c.341185-.1276339 1.05085-.3918501 1.05085-1.2071054v-3.5765737c0-.3438108-.142121-.6522985-.400481-.8680044-.27436-.2293642-.64284-.3230879-1.008496-.2552677l-.071061.018368c-.791549.2769325-2.35959.5562198-4.078693.5562198-4.033045 0-5.394021-1.5287804-5.394021-6.0590757v-20.7529817h10.287794c.711548 0 1.247562-.5369099 1.247562-1.2485511v-3.6929042c0-.7229445-.508249-1.2480801-1.208502-1.2480801m26.254322-.6997726c-5.528142 0-9.915078 2.0633355-12.541028 5.8523183v-25.2060374c0-.7215316-.565191-1.2871709-1.286151-1.2871709h-3.884335c-.711077 0-1.247562.553394-1.247562 1.2871709v57.763502c0 .7337769.536485 1.2871709 1.247562 1.2871709h3.884335c.72096 0 1.286151-.5656393 1.286151-1.2871709v-18.8530741c0-8.7699999 3.973749-13.4057932 11.49206-13.4057932 6.908883 0 10.560271 4.1652907 10.560271 12.0451504v20.2137169c0 .7215316.565191 1.2871709 1.286151 1.2871709h3.845275c.745431 0 1.286622-.5416196 1.286622-1.2871709v-20.6799808c0-11.267573-5.806267-17.7298021-15.929351-17.7298021m83.569255 19.1132871v18.8139833c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85461 0-1.475803-.6216851-1.475803-1.4769733v-35.3734159c0-.8161973.621193-1.4383534 1.475803-1.4383534h6.875c.815551 0 1.437214.6221561 1.437214 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176261-3.731524 7.962558 0 15.186744 4.6259029 15.186744 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437214 1.4769733h-6.875c-.85414 0-1.475803-.6216851-1.475803-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612901-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426m-29.065012 2.3069067v-18.8139833c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85461 0 1.475803.6216851 1.475803 1.4769733v35.3734159c0 .8161973-.621193 1.4383534-1.475803 1.4383534h-6.875c-.815551 0-1.437214-.6221561-1.437214-1.4383534v-1.8269067c-2.369002 2.2154599-5.748383 3.731524-10.176261 3.731524-7.962558 0-15.186744-4.6259029-15.186744-17.2588284v-20.0192048c0-.8552882.621663-1.4769733 1.437214-1.4769733h6.875c.85414 0 1.475803.6216851 1.475803 1.4769733v19.1248259c0 5.4421002 2.291353 8.7846 7.612901 8.7846 5.010482 0 7.962087-2.409501 7.962087-9.0954426m63.979039 16.5072179v-35.3734159c0-.8161973.621663-1.4383535 1.476273-1.4383535h6.87453c.816021 0 1.437213.6221562 1.437213 1.4383535v35.3734159c0 .8548172-.621192 1.4769733-1.437213 1.4769733h-6.87453c-.85461 0-1.476273-.6221561-1.476273-1.4769733m37.479834-7.1138211c5.787443 0 10.176262-4.7808532 10.176262-10.4174655 0-5.5975216-4.388819-10.3783748-10.176262-10.3783748-5.748383 0-10.098613 4.7808532-10.098613 10.3783748 0 5.6366123 4.35023 10.4174655 10.098613 10.4174655m-20.041927-10.4174655c0-11.0010019 8.894817-19.7469821 20.041927-19.7469821 11.
71218617 0 20.119576 8.7459802 20.119576 19.7469821 0 10.8842004-8.933406 19.8246927-20.119576 19.8246927-11.14711 0-20.041927-8.9404923-20.041927-19.8246927m57.480866-1.282838v18.8139833c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.85461 0-1.475802-.6216851-1.475802-1.4769733v-35.3734159c0-.8161973.621192-1.4383534 1.475802-1.4383534h6.875001c.81555 0 1.437213.6221561 1.437213 1.4383534v1.8269067c2.369002-2.2154599 5.748383-3.731524 10.176262-3.731524 7.962557 0 15.186743 4.6259029 15.186743 17.2588284v20.0192048c0 .8552882-.621663 1.4769733-1.437213 1.4769733h-6.875001c-.854139 0-1.475802-.6216851-1.475802-1.4769733v-19.1248259c0-5.4421002-2.291353-8.7846-7.612902-8.7846-5.010482 0-7.962087 2.409501-7.962087 9.0954426" fill="#fff"/><path d="m62.3073084 58.2733343c-11.2439885-.087571-51.7390184.087571-53.07313711.087571-11.43158443 0-9.30876282-8.4206241-8.62807769-11.6177684l9.5202956-44.7163576c.2699813-1.35077095.6858597-2.02096803 1.6699504-2.0267793.8060104-.00384987 1.2111611.66670503 1.2111611.66670503 1.0441661 1.58228056 10.5839817 19.59959697 10.5839817 19.59959697l40.0975022.0004259c10.0576075 0 13.972515 2.5666437 13.972515 8.9158039 0 1.486027-.2023966 3.2422081-.6075473 5.1332874-.945667 4.5661499-1.8110086 8.7085891-2.596025 12.4273177-1.1775245 5.5780928-.9066305 11.6177684-12.1506189 11.5301974z" fill="url(#a)"/><path d="m88.7304243 50.5170119c-.1463138.6751265-.2972416 1.3728577-.4527833 2.0931937-1.4470615 6.7015471-4.516192 21.1559869-9.2073915 43.3633193-.2694874 1.350771-.6846052 2.0209681-1.6668958 2.0264751-.804536.0041541-1.2089456-.6664008-1.2089456-.6664008-1.042256-1.5819227-10.5646213-19.5992392-10.5646213-19.5992392h-39.9822981c-10.0388531 0-13.9469563-2.5666437-13.9469563-8.9158039 0-1.4860269.2020263-3.2422081.6064359-5.1332874 2.1804706-10.6616314 3.4204029-16.6494381 3.7197969-17.9634201.449091-1.970973 1.7514554-6.1450644 7.1666129-6.1450644 5.4151576 0 47.210794.0623832 57.0326719.0630406 9.821878.0006573 9.443962 6.5417082 8.5043743 10.8771871z" fill="url(#b)"/><path d="m13.3995889 58.2925273c.9808232-4.7566381 1.7569494-8.4882661 2.3283786-11.194884 1.5109128-7.1565538 7.2320682-7.4425466 10.9185891-7.4425466 11.2502082 0 27.6829513-.0261042 49.2982293-.0783125-1.2181411 6.1188155-2.0938665 10.3270008-2.6271763 12.6245559-.6084092 2.6210918-1.9709437 6.1450645-7.1666129 6.1450645-11.8746299 0-29.4584325-.0179591-52.7514078-.0538773z" fill="url(#c)" transform="matrix(-1 -0 0 -1 89.3444 97.9232)"/></g></svg>',Foe=$oe("components/Footer/FooterLinks.vue",()=>be(()=>import("./CszJ0e_x.js"),__vite__mapDeps([199,200]),import.meta.url).then(e=>e.default||e)),Voe={name:"TheFooter",computed:{...ue(Rt,["headerVersion"]),hasFooterTop(){return this.hasSubscribeForm||this.siteHasSocial},siteHasSocial(){return this.$site.settings.social?Object.values(this.$site.settings.social).filter(e=>e!=="").length>0:!1},hasSubscribeForm(){return this.siteHasFeature("Accounts")},logoHtml(){const e=Jn().settings?.contrast;return e&&{"contrast-reg":ju,"contrast-low":ju,"contrast-light":Moe,"contrast-dark":Loe}[e]||ju}},methods:{...yt(tt,["siteHasFeature"])}},Uoe={key:0,class:"footer__top"},Boe={class:"footer__bottom"},joe={class:"footer__flex-container"},zoe={class:"footer__left"},Hoe={href:"https://health-union.com/communities/",class:"footer__hu-link link link--unstyled",rel:"noopener","aria-label":"health-union.com"},qoe=["innerHTML"],Woe={class:"footer__introduction-copy"},Goe={class:"footer__disclaimer disclaimer-text"};function Qoe(e,t,n,r,i,s){const o=woe,a=Coe,c=Poe,l=Foe,u=bh;return E(),P("footer",{id:"footer",class:ve(["footer",{"footer--old-background":e.headerVersion==1}])},[s.hasFooterTop?(E(),P("div",Uoe,[s.hasSubscribeForm?(E(),q(o,{key:0})):Y("",!0),s.siteHasSocial?(E(),q(a,{key:1,"use-site-socials":""})):Y("",!0)])):Y("",!0),C("div",Boe,[C("div",joe,[C("div",zoe,[C("a",Hoe,[C("div",{class:"footer__hu-logo","aria-roledescription":"Health Union logo",innerHTML:s.logoHtml},null,8,qoe)]),C("p",Woe,ye(e.$site.name)+" is a Health Union community. Health Union reaches millions of people through condition-specific online health communities and a Social Health Network of patient leaders across virtually all health conditions. ",1),I(a)]),I(c)]),I(l,{"hydrate-never":""}),I(u,null,{default:j(()=>[C("p",Goe," © "+ye(new Date().getFullYear())+" Health Union, LLC. All rights reserved. This information is not designed to replace a physicianâs independent judgment about the appropriateness or risks of a procedure for a given patient. Always consult your doctor about your medical conditions. "+ye(e.$site.name)+" does not provide medical advice, diagnosis or treatment. Use of the site is conditional upon your acceptance of our terms of use. ",1)]),_:1})])],2)}const Koe=Object.assign(te(Voe,[["render",Qoe],["__scopeId","data-v-e53506f0"]]),{__name:"TheFooter"}
712),Yoe={computed:{...ue(Jn,["a11yClasses"]),...ue(It,["userMousing"]),...ue(Rt,["headerVersion"]),classes(){const e=[...this.a11yClasses];return e.push(this.$site?.name.toLowerCase().split(".")[0]),this.userMousing&&e.push("user-mousing"),this.headerVersion===2&&e.push("new-header-active"),e}},mounted(){window.addEventListener("keydown",this.handleFirstTab)},beforeUnmount(){window.removeEventListener("keydown",this.handleFirstTab),window.removeEventListener("mousedown",this.handleMouseDownOnce)},methods:{handleFirstTab(e){e.keyCode===9&&(It().setUserMousing(!1),window.removeEventListener("keydown",this.handleFirstTab),window.addEventListener("mousedown",this.handleMouseDownOnce))},handleMouseDownOnce(){It().setUserMousing(!0),window.removeEventListener("mousedown",this.handleMouseDownOnce),window.addEventListener("keydown",this.handleFirstTab)}}};function Joe(e,t,n,r,i,s){return E(),P("div",{id:"site-wrapper",class:ve(s.classes)},[_t(e.$slots,"default")],2)}const Xoe=Object.assign(te(Yoe,[["render",Joe]]),{__name:"SiteWrapper"}),Zoe=un("post",{state:()=>({id:"",tags:[]}),actions:{setCurrentPostId(e){this.id=e},setCurrentPostTags(e){this.tags=e}}});function eae(){return Wl(Cr().public["nuxt-schema-org"],{scriptAttributes:{}})}function tae(e){const t=eae(),n={type:"application/ld+json",key:"schema-org-graph",nodes:e,tagPriority:"high",...t.scriptAttributes};if(t?.reactive)return W0({script:[n]})}function iu(e,t){return e||(e={}),e._resolver=t,e}function gce(e){return iu(e,"article")}function nae(e){return iu(e,"organization")}function rae(e){return iu(e,"webPage")}function iae(e){return iu(e,"webSite")}function sae(e){return iu(e,"searchAction")}const oae=ke` 713query getExperimentVariant($symbol: String!) { 714 getExperimentVariant(symbol: $symbol) { 715 experimentId 716 versionId 717 key 718 } 719} 720`;function aae(){const{$snowplow:e}=_e(),t=jm(),n=$t();return{bucket:async i=>{let s=t.getVariantKey(i);if(typeof s<"u")return Promise.resolve(s);const{data:o,error:a}=await bj(oae,{symbol:i}),c=o.value?.getExperimentVariant?.key;return s={symbol:i,key:c,experimentId:o.value?.getExperimentVariant?.experimentId,versionId:o.value?.getExperimentVariant?.versionId},t.setVariant(s),c&&(n.addExperimentBucket(s),e&&e.trackExperimentBucket(i,c)),c}}}const cae={mixins:[Fo],setup(){const e=Cr();It();const t=Rt(),n=Ee(e.public.version),r=Vi(),i=Zoe(),{$site:s,$hostname:o}=_e(),a=s.settings.pwa_settings?.theme_color;return W0({titleTemplate:`%s | ${s.name}`,meta:a?[{name:"theme-color",content:a}]:[],link:re(()=>{let c=`https://${o}`;return r.path!=="/"&&(c+=r.path),[{rel:"canonical",href:c}]})}),tae([iae({name:s.name,inLanguage:"en-US",potentialAction:[sae({target:"/search?s={search_term_string}","query-input":"required name=search_term_string"})]}),rae({audience:[{"@type":"Audience",name:`People affected by or interested in ${s.settings.condition_name}`,audienceType:"Public",description:`Individuals with or at risk for ${s.settings.condition_name}, as well as their caregivers and healthcare providers.`}]}),nae({name:s.name,logo:{url:`https://${o}/images/logo_avatar.jpg`,width:256,height:256},sameAs:Object.values(s.settings.social||{})})]),{...aae(),version:n,route:r,postStore:i,headerVersion:t.headerVersion,menuData:t.menuData,menuFeaturedContent:t.featuredContent}},data(){return{firstPageView:!0,firstPageLoaded:!1,openLeadGenPopUp:!1}},computed:{...ue(Ae,["authOpen","authDialogWasShown"]),...ue(It,["subscriptionWallIsActive","openLeadGenForm","openLeadGenFormViaSubscribeTrigger"]),...ue(ms,["showTooltip"]),...ue(tt,["siteHasFeature"]),...ue(Ge,["anyToasts"]),...ue(De,{user:"user",hasLeadGenPopUpDisabledCookie:"hasLeadGenPopUpDisabledCookie",userWasReferredByEmail:"userWasReferredByEmail",userHasSubscribed:"userHasSubscribed",visitorType:"visitorType",userIsLoggedIn:"userIsLoggedIn",userLoaded:"loaded"}),...Ld(It,["windowWidth"]),everythingReadyForPageView(){return this.userLoaded&&this.firstPageLoaded},hasContentDriverBanner(){return this.$site?.settings.content_driver_banner},showContentDriverBanner(){const e=!this.postStore.tags?.find(t=>t.name==="hide-content-driver-banner");return this.hasContentDriverBanner&&e},authIsVisible(){return this.authDialogWasShown||this.route.name==="register"},userQualifiesForLeadGenPopUp(){return!this.hasLeadGenPopUpDisabledCookie&&!this.userWasReferredByEmail&&!this.userIsLoggedIn&&!this.authIsVisible&&!this.subscriptionWallIsActive}},watch:{route(){this.$nextTick(()=>{window.setTimeout(this.resetFocus,0)})},everythingReadyForPageView:{handler(){this.pushDataLayerAndTrackPageview()},once:!0}},beforeCreate(){this.route?.query?.utm_medium==="email"&&De().setUserWasReferredByEmail()},created(){this.setSubscriptionWallStatus()},mounted(){De().checkForCurrentUser(),$t().initUserContext();const e=this.route.fullPath.includes("just-verified"),t=this.route.fullPath.includes("reset_key"),n=this.siteHasFeature("rare_disease");this.pushDataLayer(),this.userQualifiesForLeadGenPopUp&&this.setupLeadGenPopTrigger(),window.setTimeout(this.sendNexusReady,0),window.setTimeout(this.detectAdblock,500),window.addEventListener("scroll",ec(this.handleScroll,1e3)),window.addEventListener("resize",ec(this.handleResize,250)),this.handleResize(),e&&!n&&this.openAuthDialog({authStep:"accountConfirmation"}),e&&n&&this.openAuthDialog({authStep:"accountConfirmationWithNoCTA"}),t&&this.openAuthDialog({authStep:"resetPassword"}),Is("OptanonAlertBoxClosed").value||document.addEventListener("focusout",this.oneTrustBannerFocusControl),this.oneTrustGroupsUpdated(),window.addEventListener("OneTrustGroupsUpdated",this.oneTrustGroupsUpdated)},methods:{...yt(Ae,["openAuthDialog"]),closeLeadGenForm(){It().openLeadGenFormInDialog(!1),this.openLeadGenPopUp=!1},handleScroll(){this.setScrollPosition(document.body)},setScrollPosition(e){const t=e.parentNode,n=Math.round((e.scrollTop||t.scrollTop)/(t.scrollHeight-t.clientHeight)*100),r=Math.round(n/10)*10;this.$snowplow.enableScrollTracking({data:{scroll_depth:r}})},handleResize(){this.windowWidth=window.innerWidth},oneTrustGroupsUpdated(){const e=this.$oneTrust.getCurrentCategoryIdsString();$t().updateComplianceContext(e),e.includes("C0002")?_e().$datadogRum.setTrackingConsent("granted"):_e().$datadogRum.setTrackingConsent("not-granted")},oneTrustBannerFocusControl(e){const t=document.querySelector("#onetrust-consent-sdk");if(!t){document.removeEventListener("focusout",this.oneTrustBannerFocusControl);return}t.contains(e.relatedTarget)||(this.resetFocus(),document.removeEventListener("focusout",this.oneTrustBannerFocusControl))},setSubscriptionWallStatus(){const e=this.$site.settings.subscription_wall&&!this.userHasSubscribed&&!this.userIsLoggedIn&&!this.userWasReferredByEmail;It().setSubscriptionWallStatus(e)},detectAdblock(){const e=Is("adblock");(document.querySelector(".ad-slot.ad-detect")||{}).offsetParent?e.value==="recorded"&&(e.value="disabled",$fetch("/api/health")):(It().setHasAdblock(!0),e.value||(e.value="enabled",$fetch("/api/health")))},handleOnLoad(e){this.setDataLayer(e),this.everythingReadyForPageView&&this.pushDataLayerAndTrackPageview(),this.firstPageLoaded=!0},resetFocus(){const e=this.$el;if(!e){const t=this.route.name,n=this.route.path;this.$logger.warn(`watcher ran before this.$el exists at ${t} ${n}`);return}e.setAttribute("tabindex","-1"),e.focus(),e.addEventListener("blur",t=>{t.target.removeAttribute("tabindex")},{once:!0})},triggerLeadGenPopUp(){!this.postStore.tags?.find(t=>t.name==="prohibit-subscription-popup")&&this.userQualifiesForLeadGenPopUp&&(this.openLeadGenPopUp=!0)},pushDataLayerAndTrackPageview(){const e=this.route;if(e.query.fbclid&&(!e.query.utm_source||!e.query.utm_medium)){const n={...e.query};n.utm_source=e.query.utm_source||"facebook.com",n.utm_medium=e.query.utm_medium||"organic";
720const r=new URLSearchParams(n).toString(),i=`${e.path}?${r}`;window.history.replaceState(window.history.state,"",i)}this.pushDataLayer(),this.$nextTick(()=>{this.$snowplow.trackPageView(),this.firstPageView?this.firstPageView=!1:this.$gtm.trackView(e.name,e.fullPath)})},async setupLeadGenPopTrigger(){let e;this.$site.settings.subscription_pop_up_time_based?e=15e3:await this.bucket("lead_gen_pop_up_timing").then(t=>{e=parseInt(t,10)*1e3}),!(!e||isNaN(e))&&window.setTimeout(()=>this.triggerLeadGenPopUp(),e)}}},lae=["data-version"],uae={class:"app_wrapper"};function fae(e,t,n,r,i,s){const o=DQ,a=zee,c=tte,l=X0,u=jre,f=hse,d=vse,h=Nse,p=Lse,m=Yse,g=goe,_=Koe,b=bh,y=Xoe;return E(),P("div",{id:"app",class:"app","data-version":r.version},[I(y,{class:"app__site-wrapper"},{default:j(()=>[I(l,null,{default:j(()=>[I(o),e.authOpen?(E(),q(a,{key:0})):Y("",!0),("useImageUploadsStore"in e?e.useImageUploadsStore:F(sd))().imageUploadOpen?(E(),q(c,{key:1})):Y("",!0)]),_:1}),r.headerVersion===2?(E(),q(u,{key:0})):(E(),q(f,{key:1})),C("div",uae,[I(l,null,{default:j(()=>[s.showContentDriverBanner?(E(),q(d,{key:0})):Y("",!0),i.openLeadGenPopUp||e.openLeadGenFormViaSubscribeTrigger?(E(),q(h,{key:1,"open-in-dialog":e.openLeadGenFormViaSubscribeTrigger,onClose:s.closeLeadGenForm},null,8,["open-in-dialog","onClose"])):Y("",!0)]),_:1}),(E(),q(p,{ref:"routerView",key:r.route.fullPath,onLoaded:s.handleOnLoad},null,8,["onLoaded"])),I(l,null,{default:j(()=>[e.anyToasts?(E(),q(m,{key:0})):Y("",!0),e.showTooltip?(E(),q(g,{key:1})):Y("",!0)]),_:1})]),I(b,{"when-visible":""},{default:j(()=>[I(_)]),_:1})]),_:1}),t[0]||(t[0]=C("div",{class:"ad-slot ad-detect",style:{position:"absolute","z-index":"-1","font-size":"0"},"aria-hidden":"true"},"Â ",-1))],8,lae)}const dae=te(cae,[["render",fae]]),hae=["innerHTML"],pae=["innerHTML"],mae={__name:"error",props:{error:Object},setup(e){return(t,n)=>{const r=li;return E(),P("div",null,[C("h1",null,ye(e.error?.statusCode),1),C("div",{innerHTML:e.error?.message},null,8,hae),C("div",{innerHTML:e.error?.stack},null,8,pae),I(r,{to:"/"},{default:j(()=>[...n[0]||(n[0]=[ee("Go Home",-1)])]),_:1})])}}},gae={key:0},Gy={__name:"nuxt-root",setup(e){const t=()=>null,n=_e(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);cn().beforeEach(l)}const i=!1;ni(_r,Vi()),n.hooks.callHookWith(l=>l.map(u=>u()),"vue:setup");const s=Nd(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;s0((l,u,f)=>{if(n.hooks.callHook("vue:error",l,u,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",l),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,l),!1;if(Q8(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Js(l)),!1});const c=!1;return(l,u)=>(E(),q(h0,{onResolve:F(r)},{default:j(()=>[F(o)?(E(),P("div",gae)):F(s)?(E(),q(F(mae),{key:1,error:F(s)},null,8,["error"])):F(c)?(E(),q(F(t),{key:2,context:F(c)},null,8,["context"])):F(i)?(E(),q(Mi(F(i)),{key:3})):(E(),q(F(dae),{key:4}))]),_:1},8,["onResolve"]))}};let Qy;{let e;Qy=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?y0(Gy):Rf(Gy),i=WI({vueApp:r});async function s(o){await i.callHook("app:error",o),i.payload.error||=Ss(o)}r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)}),!n&&E3.id&&i.hook("app:suspense:resolve",()=>{document.getElementById(E3.id)?.remove()});try{await KI(i,xQ)}catch(o){s(o)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(zI),await i.hooks.callHook("app:mounted",r),await Wt()}catch(o){s(o)}return r},e=Qy().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Jae as $,re as A,Hae as B,sd as C,tce as D,mD as E,Me as F,ice as G,pD as H,jw as I,ci as J,Ji as K,fi as L,di as M,$d as N,Gw as O,_r as P,Ar as Q,sce as R,Ge as S,Wae as T,qae as U,lr as V,Yi as W,ru as X,pce as Y,Pt as Z,te as _,q as a,C7 as a$,Nee as a0,dJ as a1,mJ as a2,Qae as a3,Gae as a4,F as a5,Ae as a6,X2 as a7,dce as a8,Yw as a9,tae as aA,Ee as aB,Lj as aC,Fi as aD,Pae as aE,yt as aF,Za as aG,or as aH,cn as aI,dO as aJ,cT as aK,bj as aL,it as aM,yn as aN,TX as aO,ba as aP,Qne as aQ,Rt as aR,rae as aS,Tae as aT,Eae as aU,gD as aV,It as aW,Xw as aX,xs as aY,Zae as aZ,Xae as a_,ke as aa,ec as ab,cce as ac,Lw as ad,hce as ae,uce as af,Kae as ag,IY as ah,Yae as ai,Mi as aj,TY as ak,_t as al,oi as am,V4 as an,Fr as ao,Pi as ap,OE as aq,l1 as ar,ig as as,zf as at,Hne as au,eoe as av,un as aw,GX as ax,Vi as ay,_e as az,I as b,rg as b$,Zoe as b0,Iae as b1,ic as b2,Wt as b3,zae as b4,X0 as b5,V2 as b6,yc as b7,ece as b8,Gt as b9,wae as bA,tQ as bB,nce as bC,lS as bD,IQ as bE,lce as bF,QE as bG,mce as bH,wh as bI,Py as bJ,bh as bK,Sae as bL,ooe as bM,roe as bN,Et as bO,fce as bP,jm as bQ,aae as bR,gce as bS,Ry as bT,m0 as bU,KE as bV,xr as bW,ace as bX,rce as bY,oce as bZ,zP as b_,Jn as ba,Du as bb,yae as bc,_P as bd,Ft as be,vae as bf,Fn as bg,h0 as bh,ni as bi,JO as bj,rO as bk,Jr as bl,Fo as bm,uS as bn,y2 as bo,zG as bp,Mw as bq,Ld as br,pse as bs,Pw as bt,vQ as bu,Xo as bv,Fl as bw,be as bx,RE as by,hh as bz,P as c,sw as c0,$p as c1,qd as c2,He as c3,IH as c4,Lae as c5,Qz as c6,xae as c7,Mae as c8,xH as c9,s2 as cA,Bae as cB,Vae as cC,Uae as cD,jae as cE,E$ as cF,vr as cG,On as cH,Rn as cI,Zd as cJ,oc as cK,o2 as cL,Bi as cM,cc as cN,Wa as cO,t2 as cP,i2 as cQ,kD as cR,As as cS,cr as cT,$e as cU,ln as cV,L7 as cW,CH as ca,$ae as cb,iw as cc,Dae as cd,lH as ce,Nae as cf,Qt as cg,Yt as ch,G2 as ci,Yq as cj,Fae as ck,uH as cl,X9 as cm,zd as cn,Ps as co,gh as cp,At as cq,Jq as cr,nt as cs,ri as ct,ze as cu,H2 as cv,Cae as cw,sL as cx,Pz as cy,Pe as cz,ee as d,C as e,Xe as f,li as g,
720Kt as h,on as i,see as j,tt as k,CQ as l,ue as m,ve as n,E as o,W0 as p,Y as q,Td as r,J2 as s,ye as t,$t as u,Vo as v,j as w,gc as x,De as y,Lse as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.