1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BLFr9kFK.js","./4ZFq2pOT.js","./CGe_xyEl.js","./BrLhZk-K.js","./C65s_fHi.js","./C5Y1Aug-.js","./TG6Vq8Xg.js","./DQyxhsdq.js","./BYfu-SCU.js","./lfMCpk41.js","./B7KryvF9.js","./CLMpSiT6.js","./1AlW6HdF.js","./6qLrMlnH.js","./BRRLZ7MH.js","./B7fMlV7y.js","./g8GAfrL0.js","./CMvwrFTt.js","./CNr1nkuz.js","./DashboardLayout.Dt_sZxup.css","./Bn0ZQo9K.js","./IgorjE-X.js","./4L77gXUd.js","./S3ph7CRN.js","./BYhQLcD9.js","./DD4XQldF.js","./NoteShareModel.BOoG3Thd.css","./CvxYvwXf.js","./CxlsBQ1r.js","./sttLanguage.BOBcZUQy.css","./CrfI8ojZ.js","./CeuK9Zq7.js","./CustomCheckbox.-8bFdXRF.css","./y04EsGA9.js","./DFewoUBt.js","./main.Bsuj-Z1v.css","./B9evxRo6.js","./sort-arrow.CYmUZ1Tt.css","./2YQSkCoU.js","./C1oINQcN.js","./uppd9Dey.js","./TDtrdbi3.js","./Jw6adls9.js","./DashboardLayoutCalendar.EAJUWo70.css","./C8V5GDyD.js","./DtOANUqP.js","./CMJZANAj.js","./BOkk4Dbh.js","./IWwiQ3ZK.js","./TVqaU9bK.js","./BLSlG-MN.js","./f3Vg697J.js","./TiltCard.VpBmv2l3.css","./D42F-hVr.js","./Widgets.BEJB4lSP.css","./BfxZL7wm.js","./By_kCtgV.js","./B-ylynQW.js","./Cuab05HG.js","./BHPuUWta.js","./UnlockProFeatures.OERI64A-.css","./B3Y9h4mr.js","./Blnsv2M7.js","./DZUzuePC.js","./UreOw38q.js","./DZ5cFooK.js","./ftvbMdDT.js","./LandingPageLayout.CBNFyVwz.css","./AdIVWzdN.js","./CfCZOpgG.js","./BC6M8K_0.js","./ANwQ6lg3.js","./CtU7hygk.js","./B6MmmSFJ.js","./EmailConsentInput.hOAn8-tf.css","./CXy5wBRA.js","./Dn8Ls3im.js","./BeASxX6S.js","./Cv8EEBIp.js","./QWQAN2eu.js","./AGdHzWQF.js","./beGgGukZ.js","./K-dzTw8s.js","./P_OCFj8Q.js","./Ch_4-Rk6.js","./BalmQuRT.js","./DeTY3Ev-.js","./CA8rFvCU.js","./CQW0Plgp.js","./C98zerfc.js","./B5jmzM27.js","./DoLdCMvC.js","./B2X3Xb47.js","./BIhhs5BG.js","./BBgI-Xq8.js","./C0GUklkL.js","./hw_BsH8f.js","./B8yB9Ngw.js","./sH5e7RFZ.js","./ClV4E6RL.js","./NGtaersb.js","./_id_.BWYoeHk8.css","./Cmdilnu6.js","./BJTQTDbu.js","./_GPBbKTB.js","./CDKiq56S.js","./_b
1LZBmLJ.js","./B5kizdKt.js","./documentation.tn0RQdqM.css","./CfDGw85D.js","./CTa_YuI2.js","./CTc3LYuy.js","./CheckoutLeft.l4AvoXj3.css","./y3eHeKUm.js","./ConnectZoom.BbF4SuHZ.css","./CMCKB4Ge.js","./OnboardingLayout.B6cYJBSR.css","./GenericOnboarding.B7hnUyoK.css","./4kWqgLT4.js","./DYGNUkFw.js","./B7vuQUP0.js","./C3WZOmjX.js","./KiiyO_Pa.js","./ChxrdZiA.js","./HEZdkDgu.js","./B4-NFmdu.js","./ZFwU2yA2.js","./DiVloZaS.js","./CRWznp44.js","./BxTrXA_A.js","./b01OwspI.js","./ClJD7O_8.js","./DYRHZ3hm.js","./pricing.Dik-lbWc.css","./DxVBcG46.js","./DJcwc_yN.js","./GuestNoteWidget.BwaQJawc.css","./oWbd-OCm.js","./Cmt_7Xsj.js","./8ZND638s.js","./B3oVzHP2.js","./CBceoTe5.js","./CozsH_dx.js","./Bq7bWN8X.js","./BBVW7EHW.js"])))=>i.map(i=>d[i]); 2(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function r(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 o(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();/** 3* @vue/shared v3.5.22 4* (c) 2018-present Yuxi (Evan) You and Vue contributors 5* @license MIT
vendor: 3,618 bytes, lines 6-9
6**/function C_(n){const e=Object.create(null);for(const r of n.split(","))e[r]=1;return r=>r in e}const rt={},ta=[],bo=()=>{},x1=()=>!1,mc=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),O_=n=>n.startsWith("onUpdate:"),Ht=Object.assign,k_=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},s2=Object.prototype.hasOwnProperty,ct=(n,e)=>s2.call(n,e),Oe=Array.isArray,na=n=>xa(n)==="[object Map]",Da=n=>xa(n)==="[object Set]",Sy=n=>xa(n)==="[object Date]",a2=n=>xa(n)==="[object RegExp]",Me=n=>typeof n=="function",bt=n=>typeof n=="string",no=n=>typeof n=="symbol",ft=n=>n!==null&&typeof n=="object",N1=n=>(ft(n)||Me(n))&&Me(n.then)&&Me(n.catch),V1=Object.prototype.toString,xa=n=>V1.call(n),l2=n=>xa(n).slice(8,-1),M1=n=>xa(n)==="[object Object]",L_=n=>bt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,ra=C_(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nf=n=>{const e=Object.create(null);return(r=>e[r]||(e[r]=n(r)))},c2=/-\w/g,kr=nf(n=>n.replace(c2,e=>e.slice(1).toUpperCase())),u2=/\B([A-Z])/g,ui=nf(n=>n.replace(u2,"-$1").toLowerCase()),rf=nf(n=>n.charAt(0).toUpperCase()+n.slice(1)),xu=nf(n=>n?`on${rf(n)}`:""),Ar=(n,e)=>!Object.is(n,e),oa=(n,...e)=>{for(let r=0;r<n.length;r++)n[r](...e)},F1=(n,e,r,o=!1)=>{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,writable:o,value:r})},nd=n=>{const e=parseFloat(n);return isNaN(e)?n:e},U1=n=>{const e=bt(n)?Number(n):NaN;return isNaN(e)?n:e};let Py;const of=()=>Py||(Py=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(n){if(Oe(n)){const e={};for(let r=0;r<n.length;r++){const o=n[r],i=bt(o)?h2(o):Di(o);if(i)for(const s in i)e[s]=i[s]}return e}else if(bt(n)||ft(n))return n}const d2=/;(?![^(]*\))/g,f2=/:([^]+)/,p2=/\/\*[^]*?\*\//g;function h2(n){const e={};return n.replace(p2,"").split(d2).forEach(r=>{if(r){const o=r.split(f2);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function Le(n){let e="";if(bt(n))e=n;else if(Oe(n))for(let r=0;r<n.length;r++){const o=Le(n[r]);o&&(e+=o+" ")}else if(ft(n))for(const r in n)n[r]&&(e+=r+" ");return e.trim()}function m2(n){if(!n)return null;let{class:e,style:r}=n;return e&&!bt(e)&&(n.class=Le(e)),r&&(n.style=Di(r)),n}const _2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",g2=C_(_2);function B1(n){return!!n||n===""}function y2(n,e){if(n.length!==e.length)return!1;let r=!0;for(let o=0;r&&o<n.length;o++)r=vs(n[o],e[o]);return r}function vs(n,e){if(n===e)return!0;let r=Sy(n),o=Sy(e);if(r||o)return r&&o?n.getTime()===e.getTime():!1;if(r=no(n),o=no(e),r||o)return n===e;if(r=Oe(n),o=Oe(e),r||o)return r&&o?y2(n,e):!1;if(r=ft(n),o=ft(e),r||o){if(!r||!o)return!1;const i=Object.keys(n).length,s=Object.keys(e).length;if(i!==s)return!1;for(const a in n){const l=n.hasOwnProperty(a),c=e.hasOwnProperty(a);if(l&&!c||!l&&c||!vs(n[a],e[a]))return!1}}return String(n)===String(e)}function D_(n,e){return n.findIndex(r=>vs(r,e))}const j1=n=>!!(n&&n.__v_isRef===!0),pe=n=>bt(n)?n:n==null?"":Oe(n)||ft(n)&&(n.toString===V1||!Me(n.toString))?j1(n)?pe(n.value):JSON.stringify(n,$1,2):String(n),$1=(n,e)=>j1(e)?$1(n,e.value):na(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[o,i],s)=>(r[_p(o,s)+" =>"]=i,r),{})}:Da(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>_p(r))}:no(e)?_p(e):ft(e)&&!Oe(e)&&!M1(e)?String(e):e,_p=(n,e="")=>{var r;return no(n)?`Symbol(${(r=n.description)!=null?r:e})`:n};/** 7* @vue/reactivity v3.5.22 8* (c) 2018-present Yuxi (Evan) You and Vue contributors 9* @license MIT
vendor: 10,083 bytes, line 10
10**/let sr;class z1{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=sr,!e&&sr&&(this.index=(sr.scopes||(sr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].pause();for(e=0,r=this.effects.length;e<r;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].resume();for(e=0,r=this.effects.length;e<r;e++)this.effects[e].resume()}}run(e){if(this._active){const r=sr;try{return sr=this,e()}finally{sr=r}}}on(){++this._on===1&&(this.prevScope=sr,sr=this)}off(){this._on>0&&--this._on===0&&(sr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let r,o;for(r=0,o=this.effects.length;r<o;r++)this.effects[r].stop();for(this.effects.length=0,r=0,o=this.cleanups.length;r<o;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,o=this.scopes.length;r<o;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function _c(n){return new z1(n)}function gc(){return sr}function rd(n,e=!1){sr&&sr.cleanups.push(n)}let gt;const gp=new WeakSet;class H1{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,sr&&sr.active&&sr.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gp.has(this)&&(gp.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||G1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ry(this),W1(this);const e=gt,r=to;gt=this,to=!0;try{return this.fn()}finally{K1(this),gt=e,to=r,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)V_(e);this.deps=this.depsTail=void 0,Ry(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gp.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Uh(this)&&this.run()}get dirty(){return Uh(this)}}let q1=0,Rl,Cl;function G1(n,e=!1){if(n.flags|=8,e){n.next=Cl,Cl=n;return}n.next=Rl,Rl=n}function x_(){q1++}function N_(){if(--q1>0)return;if(Cl){let e=Cl;for(Cl=void 0;e;){const r=e.next;e.next=void 0,e.flags&=-9,e=r}}let n;for(;Rl;){let e=Rl;for(Rl=void 0;e;){const r=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){n||(n=o)}e=r}}if(n)throw n}function W1(n){for(let e=n.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function K1(n){let e,r=n.depsTail,o=r;for(;o;){const i=o.prevDep;o.version===-1?(o===r&&(r=i),V_(o),v2(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=i}n.deps=e,n.depsTail=r}function Uh(n){for(let e=n.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Y1(e.dep.computed)||e.dep.version!==e.version))return!0;return!!n._dirty}function Y1(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===zl)||(n.globalVersion=zl,!n.isSSR&&n.flags&128&&(!n.deps&&!n._dirty||!Uh(n))))return;n.flags|=2;const e=n.dep,r=gt,o=to;gt=n,to=!0;try{W1(n);const i=n.fn(n._value);(e.version===0||Ar(i,n._value))&&(n.flags|=128,n._value=i,e.version++)}catch(i){throw e.version++,i}finally{gt=r,to=o,K1(n),n.flags&=-3}}function V_(n,e=!1){const{dep:r,prevSub:o,nextSub:i}=n;if(o&&(o.nextSub=i,n.prevSub=void 0),i&&(i.prevSub=o,n.nextSub=void 0),r.subs===n&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let s=r.computed.deps;s;s=s.nextDep)V_(s,!0)}!e&&!--r.sc&&r.map&&r.map.delete(r.key)}function v2(n){const{prevDep:e,nextDep:r}=n;e&&(e.nextDep=r,n.prevDep=void 0),r&&(r.prevDep=e,n.nextDep=void 0)}let to=!0;const J1=[];function ti(){J1.push(to),to=!1}function ni(){const n=J1.pop();to=n===void 0?!0:n}function Ry(n){const{cleanup:e}=n;if(n.cleanup=void 0,e){const r=gt;gt=void 0;try{e()}finally{gt=r}}}let zl=0;class E2{constructor(e,r){this.sub=e,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class sf{constructor(e){this.computed=e,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(e){if(!gt||!to||gt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==gt)r=this.activeLink=new E2(gt,this),gt.deps?(r.prevDep=gt.depsTail,gt.depsTail.nextDep=r,gt.depsTail=r):gt.deps=gt.depsTail=r,Q1(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=gt.depsTail,r.nextDep=void 0,gt.depsTail.nextDep=r,gt.depsTail=r,gt.deps===r&&(gt.deps=o)}return r}trigger(e){this.version++,zl++,this.notify(e)}notify(e){x_();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{N_()}}}function Q1(n){if(n.dep.sc++,n.sub.flags&4){const e=n.dep.computed;if(e&&!n.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)Q1(o)}const r=n.dep.subs;r!==n&&(n.prevSub=r,r&&(r.nextSub=n)),n.dep.subs=n}}const od=new WeakMap,fs=Symbol(""),Bh=Symbol(""),Hl=Symbol("");function lr(n,e,r){if(to&>){let o=od.get(n);o||od.set(n,o=new Map);let i=o.get(r);i||(o.set(r,i=new sf),i.map=o,i.key=r),i.track()}}function zo(n,e,r,o,i,s){const a=od.get(n);if(!a){zl++;return}const l=c=>{c&&c.trigger()};if(x_(),e==="clear")a.forEach(l);else{const c=Oe(n),u=c&&L_(r);if(c&&r==="length"){const d=Number(o);a.forEach((p,h)=>{(h==="length"||h===Hl||!no(h)&&h>=d)&&l(p)})}else switch((r!==void 0||a.has(void 0))&&l(a.get(r)),u&&l(a.get(Hl)),e){case"add":c?u&&l(a.get("length")):(l(a.get(fs)),na(n)&&l(a.get(Bh)));break;case"delete":c||(l(a.get(fs)),na(n)&&l(a.get(Bh)));break;case"set":na(n)&&l(a.get(fs));break}}N_()}function w2(n,e){const r=od.get(n);return r&&r.get(e)}function js(n){const e=Ke(n);return e===n?e:(lr(e,"iterate",Hl),jr(n)?e:e.map(Wn))}function af(n){return lr(n=Ke(n),"iterate",Hl),n}const b2={__proto__:null,[Symbol.iterator](){return yp(this,Symbol.iterator,Wn)},concat(...n){return js(this).concat(...n.map(e=>Oe(e)?js(e):e))},entries(){return yp(this,"entries",n=>(n[1]=Wn(n[1]),n))},every(n,e){return Mo(this,"every",n,e,void 0,arguments)},filter(n,e){return Mo(this,"filter",n,e,r=>r.map(Wn),arguments)},find(n,e){return Mo(this,"find",n,e,Wn,arguments)},findIndex(n,e){return Mo(this,"findIndex",n,e,void 0,arguments)},findLast(n,e){return Mo(this,"findLast",n,e,Wn,arguments)},findLastIndex(n,e){return Mo(this,"findLastIndex",n,e,void 0,arguments)},forEach(n,e){return Mo(this,"forEach",n,e,void 0,arguments)},includes(...n){return vp(this,"includes",n)},indexOf(...n){return vp(this,"indexOf",n)},join(n){return js(this).join(n)},lastIndexOf(...n){return vp(this,"lastIndexOf",n)},map(n,e){return Mo(this,"map",n,e,void 0,arguments)},pop(){return ll(this,"pop")},push(...n){return ll(this,"push",n)},reduce(n,...e){return Cy(this,"reduce",n,e)},reduceRight(n,...e){return Cy(this,"reduceRight",n,e)},shift(){return ll(this,"shift")},some(n,e){return Mo(this,"some",n,e,void 0,arguments)},splice(...n){return ll(this,"splice",n)},toReversed(){return js(this).toReversed()},toSorted(n){return js(this).toSorted(n)},toSpliced(...n){return js(this).toSpliced(...n)},unshift(...n){return ll(this,"unshift",n)},values(){return yp(this,"values",Wn)}};function yp(n,e,r){const o=af(n),i=o[e]();return o!==n&&!jr(n)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=r(s.value)),s}),i}const T2=Array.prototype;function Mo(n,e,r,o,i,s){const a=af(n),l=a!==n&&!jr(n),c=a[e];if(c!==T2[e]){const p=c.apply(n,s);return l?Wn(p):p}let u=r;a!==n&&(l?u=function(p,h){return r.call(this,Wn(p),h,n)}:r.length>2&&(u=function(p,h){return r.call(this,p,h,n)}));const d=c.call(a,u,o);return l&&i?i(d):d}function Cy(n,e,r,o){const i=af(n);let s=r;return i!==n&&(jr(n)?r.length>3&&(s=function(a,l,c){return r.call(this,a,l,c,n)}):s=function(a,l,c){return r.call(this,a,Wn(l),c,n)}),i[e](s,...o)}function vp(n,e,r){const o=Ke(n);lr(o,"iterate",Hl);const i=o[e](...r);return(i===-1||i===!1)&&U_(r[0])?(r[0]=Ke(r[0]),o[e](...r)):i}function ll(n,e,r=[]){ti(),x_();const o=Ke(n)[e].apply(n,r);return N_(),ni(),o}const A2=C_("__proto__,__v_isRef,__isVue"),X1=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(no));function I2(n){no(n)||(n=String(n));const e=Ke(this);return lr(e,"has",n),e.hasOwnProperty(n)}class Z1{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,o){if(r==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return s;if(r==="__v_raw")return o===(i?s?N2:rT:s?nT:tT).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const a=Oe(e);if(!i){let c;if(a&&(c=b2[r]))return c;if(r==="hasOwnProperty")return I2}const l=Reflect.get(e,r,dt(e)?e:o);if((no(r)?X1.has(r):A2(r))||(i||lr(e,"get",r),s))return l;if(dt(l)){const c=a&&L_(r)?l:l.value;return i&&ft(c)?$h(c):c}return ft(l)?i?$h(l):di(l):l}}class eT extends Z1{constructor(e=!1){super(!1,e)}set(e,r,o,i){let s=e[r];if(!this._isShallow){const c=ri(s);if(!jr(o)&&!ri(o)&&(s=Ke(s),o=Ke(o)),!Oe(e)&&dt(s)&&!dt(o))return c||(s.value=o),!0}const a=Oe(e)&&L_(r)?Number(r)<e.length:ct(e,r),l=Reflect.set(e,r,o,dt(e)?e:i);return e===Ke(i)&&(a?Ar(o,s)&&zo(e,"set",r,o):zo(e,"add",r,o)),l}deleteProperty(e,r){const o=ct(e,r);e[r];const i=Reflect.deleteProperty(e,r);return i&&o&&zo(e,"delete",r,void 0),i}has(e,r){const o=Reflect.has(e,r);return(!no(r)||!X1.has(r))&&lr(e,"has",r),o}ownKeys(e){return lr(e,"iterate",Oe(e)?"length":fs),Reflect.ownKeys(e)}}class S2 extends Z1{constructor(e=!1){super(!0,e)}set(e,r){return!0}deleteProperty(e,r){return!0}}const P2=new eT,R2=new S2,C2=new eT(!0);const jh=n=>n,iu=n=>Reflect.getPrototypeOf(n);function O2(n,e,r){return function(...o){const i=this.__v_raw,s=Ke(i),a=na(s),l=n==="entr
10ies"||n===Symbol.iterator&&a,c=n==="keys"&&a,u=i[n](...o),d=r?jh:e?id:Wn;return!e&&lr(s,"iterate",c?Bh:fs),{next(){const{value:p,done:h}=u.next();return h?{value:p,done:h}:{value:l?[d(p[0]),d(p[1])]:d(p),done:h}},[Symbol.iterator](){return this}}}}function su(n){return function(...e){return n==="delete"?!1:n==="clear"?void 0:this}}function k2(n,e){const r={get(i){const s=this.__v_raw,a=Ke(s),l=Ke(i);n||(Ar(i,l)&&lr(a,"get",i),lr(a,"get",l));const{has:c}=iu(a),u=e?jh:n?id:Wn;if(c.call(a,i))return u(s.get(i));if(c.call(a,l))return u(s.get(l));s!==a&&s.get(i)},get size(){const i=this.__v_raw;return!n&&lr(Ke(i),"iterate",fs),i.size},has(i){const s=this.__v_raw,a=Ke(s),l=Ke(i);return n||(Ar(i,l)&&lr(a,"has",i),lr(a,"has",l)),i===l?s.has(i):s.has(i)||s.has(l)},forEach(i,s){const a=this,l=a.__v_raw,c=Ke(l),u=e?jh:n?id:Wn;return!n&&lr(c,"iterate",fs),l.forEach((d,p)=>i.call(s,u(d),u(p),a))}};return Ht(r,n?{add:su("add"),set:su("set"),delete:su("delete"),clear:su("clear")}:{add(i){!e&&!jr(i)&&!ri(i)&&(i=Ke(i));const s=Ke(this);return iu(s).has.call(s,i)||(s.add(i),zo(s,"add",i,i)),this},set(i,s){!e&&!jr(s)&&!ri(s)&&(s=Ke(s));const a=Ke(this),{has:l,get:c}=iu(a);let u=l.call(a,i);u||(i=Ke(i),u=l.call(a,i));const d=c.call(a,i);return a.set(i,s),u?Ar(s,d)&&zo(a,"set",i,s):zo(a,"add",i,s),this},delete(i){const s=Ke(this),{has:a,get:l}=iu(s);let c=a.call(s,i);c||(i=Ke(i),c=a.call(s,i)),l&&l.call(s,i);const u=s.delete(i);return c&&zo(s,"delete",i,void 0),u},clear(){const i=Ke(this),s=i.size!==0,a=i.clear();return s&&zo(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{r[i]=O2(i,n,e)}),r}function M_(n,e){const r=k2(n,e);return(o,i,s)=>i==="__v_isReactive"?!n:i==="__v_isReadonly"?n:i==="__v_raw"?o:Reflect.get(ct(r,i)&&i in o?r:o,i,s)}const L2={get:M_(!1,!1)},D2={get:M_(!1,!0)},x2={get:M_(!0,!1)};const tT=new WeakMap,nT=new WeakMap,rT=new WeakMap,N2=new WeakMap;function V2(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function M2(n){return n.__v_skip||!Object.isExtensible(n)?0:V2(l2(n))}function di(n){return ri(n)?n:F_(n,!1,P2,L2,tT)}function yo(n){return F_(n,!1,C2,D2,nT)}function $h(n){return F_(n,!0,R2,x2,rT)}function F_(n,e,r,o,i){if(!ft(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=M2(n);if(s===0)return n;const a=i.get(n);if(a)return a;const l=new Proxy(n,s===2?o:r);return i.set(n,l),l}function To(n){return ri(n)?To(n.__v_raw):!!(n&&n.__v_isReactive)}function ri(n){return!!(n&&n.__v_isReadonly)}function jr(n){return!!(n&&n.__v_isShallow)}function U_(n){return n?!!n.__v_raw:!1}function Ke(n){const e=n&&n.__v_raw;return e?Ke(e):n}function B_(n){return!ct(n,"__v_skip")&&Object.isExtensible(n)&&F1(n,"__v_skip",!0),n}const Wn=n=>ft(n)?di(n):n,id=n=>ft(n)?$h(n):n;function dt(n){return n?n.__v_isRef===!0:!1}function me(n){return oT(n,!1)}function oi(n){return oT(n,!0)}function oT(n,e){return dt(n)?n:new F2(n,e)}class F2{constructor(e,r){this.dep=new sf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?e:Ke(e),this._value=r?e:Wn(e),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(e){const r=this._rawValue,o=this.__v_isShallow||jr(e)||ri(e);e=o?e:Ke(e),Ar(e,r)&&(this._rawValue=e,this._value=o?e:Wn(e),this.dep.trigger())}}function Q(n){return dt(n)?n.value:n}function vo(n){return Me(n)?n():Q(n)}const U2={get:(n,e,r)=>e==="__v_raw"?n:Q(Reflect.get(n,e,r)),set:(n,e,r,o)=>{const i=n[e];return dt(i)&&!dt(r)?(i.value=r,!0):Reflect.set(n,e,r,o)}};function iT(n){return To(n)?n:new Proxy(n,U2)}class B2{constructor(e){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new sf,{get:o,set:i}=e(r.track.bind(r),r.trigger.bind(r));this._get=o,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function sT(n){return new B2(n)}function j2(n){const e=Oe(n)?new Array(n.length):{};for(const r in n)e[r]=aT(n,r);return e}class $2{constructor(e,r,o){this._object=e,this._key=r,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return w2(Ke(this._object),this._key)}}class z2{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function j_(n,e,r){return dt(n)?n:Me(n)?new z2(n):ft(n)&&arguments.length>1?aT(n,e,r):me(n)}function aT(n,e,r){const o=n[e];return dt(o)?o:new $2(n,e,r)}class H2{constructor(e,r,o){this.fn=e,this.setter=r,this._value=void 0,this.dep=new sf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=zl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&>!==this)return G1(this,!0),!0}get value(){const e=this.dep.track();return Y1(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function q2(n,e,r=!1){let o,i;return Me(n)?o=n:(o=n.get,i=n.set),new H2(o,i,r)}const au={},sd=new WeakMap;let is;function G2(n,e=!1,r=is){if(r){let o=sd.get(r);o||sd.set(r,o=[]),o.push(n)}}function W2(n,e,r=rt){const{immediate:o,deep:i,once:s,scheduler:a,augmentJob:l,call:c}=r,u=P=>i?P:jr(P)||i===!1||i===0?Ho(P,1):Ho(P);let d,p,h,m,g=!1,v=!1;if(dt(n)?(p=()=>n.value,g=jr(n)):To(n)?(p=()=>u(n),g=!0):Oe(n)?(v=!0,g=n.some(P=>To(P)||jr(P)),p=()=>n.map(P=>{if(dt(P))return P.value;if(To(P))return u(P);if(Me(P))return c?c(P,2):P()})):Me(n)?e?p=c?()=>c(n,2):n:p=()=>
vendor: 1,305 bytes, lines 10-13
10{if(h){ti();try{h()}finally{ni()}}const P=is;is=d;try{return c?c(n,3,[m]):n(m)}finally{is=P}}:p=bo,e&&i){const P=p,D=i===!0?1/0:i;p=()=>Ho(P(),D)}const w=gc(),I=()=>{d.stop(),w&&w.active&&k_(w.effects,d)};if(s&&e){const P=e;e=(...D)=>{P(...D),I()}}let b=v?new Array(n.length).fill(au):au;const E=P=>{if(!(!(d.flags&1)||!d.dirty&&!P))if(e){const D=d.run();if(i||g||(v?D.some((V,S)=>Ar(V,b[S])):Ar(D,b))){h&&h();const V=is;is=d;try{const S=[D,b===au?void 0:v&&b[0]===au?[]:b,m];b=D,c?c(e,3,S):e(...S)}finally{is=V}}}else d.run()};return l&&l(E),d=new H1(p),d.scheduler=a?()=>a(E,!1):E,m=P=>G2(P,!1,d),h=d.onStop=()=>{const P=sd.get(d);if(P){if(c)c(P,4);else for(const D of P)D();sd.delete(d)}},e?o?E(!0):b=d.run():a?a(E.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function Ho(n,e=1/0,r){if(e<=0||!ft(n)||n.__v_skip||(r=r||new Map,(r.get(n)||0)>=e))return n;if(r.set(n,e),e--,dt(n))Ho(n.value,e,r);else if(Oe(n))for(let o=0;o<n.length;o++)Ho(n[o],e,r);else if(Da(n)||na(n))n.forEach(o=>{Ho(o,e,r)});else if(M1(n)){for(const o in n)Ho(n[o],e,r);for(const o of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,o)&&Ho(n[o],e,r)}return n}/** 11* @vue/runtime-core v3.5.22 12* (c) 2018-present Yuxi (Evan) You and Vue contributors 13* @license MIT
14**/function yc(n,e,r,o){try{return o?n(...o):n()}catch(i){Na(i,e,r)}}function ro(n,e,r,o){if(Me(n)){const i=yc(n,e,r,o);return i&&N1(i)&&i.catch(s=>{Na(s,e,r)}),i}if(Oe(n)){const i=[];for(let s=0;s<n.length;s++)i.push(ro(n[s],e,r,o));return i}}function Na(n,e,r,o=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=e&&e.appContext.config||rt;if(e){let l=e.parent;const c=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const d=l.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](n,c,u)===!1)return}l=l.parent}if(s){ti(),yc(s,null,10,[n,c,u]),ni();return}}K2(n,r,i,o,a)}function K2(n,e,r,o=!0,i=!1){if(i)throw n;console.error(n)}const gr=[];let mo=-1;const ia=[];let Ti=null,qs=0;const lT=Promise.resolve();let ad=null;function Hr(n){const e=ad||lT;return n?e.then(this?n.bind(this):n):e}function Y2(n){let e=mo+1,r=gr.length;for(;e<r;){const o=e+r>>>1,i=gr[o],s=ql(i);s<n||s===n&&i.flags&2?e=o+1:r=o}return e}function $_(n){if(!(n.flags&1)){const e=ql(n),r=gr[gr.length-1];!r||!(n.flags&2)&&e>=ql(r)?gr.push(n):gr.splice(Y2(e),0,n),n.flags|=1,cT()}}function cT(){ad||(ad=lT.then(uT))}function zh(n){Oe(n)?ia.push(...n):Ti&&n.id===-1?Ti.splice(qs+1,0,n):n.flags&1||(ia.push(n),n.flags|=1),cT()}function Oy(n,e,r=mo+1){for(;r<gr.length;r++){const o=gr[r];if(o&&o.flags&2){if(n&&o.id!==n.uid)continue;gr.splice(r,1),r--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function ld(n){if(ia.length){const e=[...new Set(ia)].sort((r,o)=>ql(r)-ql(o));if(ia.length=0,Ti){Ti.push(...e);return}for(Ti=e,qs=0;qs<Ti.length;qs++){const r=Ti[qs];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Ti=null,qs=0}}const ql=n=>n.id==null?n.flags&2?-1:1/0:n.id;function uT(n){try{for(mo=0;mo<gr.length;mo++){const e=gr[mo];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),yc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;mo<gr.length;mo++){const e=gr[mo];e&&(e.flags&=-2)}mo=-1,gr.length=0,ld(),ad=null,(gr.length||ia.length)&&uT()}}let Jn=null,dT=null;function cd(n){const e=Jn;return Jn=n,dT=n&&n.type.__scopeId||null,e}function et(n,e=Jn,r){if(!e||n._n)return n;const o=(...i)=>{o._d&&_d(-1);const s=cd(e);let a;try{a=n(...i)}finally{cd(s),o._d&&_d(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function J2(n,e){if(Jn===null)return n;const r=ff(Jn),o=n.dirs||(n.dirs=[]);for(let i=0;i<e.length;i++){let[s,a,l,c=rt]=e[i];s&&(Me(s)&&(s={mounted:s,updated:s}),s.deep&&Ho(a),o.push({dir:s,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function _o(n,e,r,o){const i=n.dirs,s=e&&e.dirs;for(let a=0;a<i.length;a++){const l=i[a];s&&(l.oldValue=s[a].value);let c=l.dir[o];c&&(ti(),ro(c,r,8,[n.el,l,n,e]),ni())}}const fT=Symbol("_vte"),pT=n=>n.__isTeleport,Ol=n=>n&&(n.disabled||n.disabled===""),ky=n=>n&&(n.defer||n.defer===""),Ly=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Dy=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,Hh=(n,e)=>{const r=n&&n.to;return bt(r)?e?e(r):null:r},hT={name:"Teleport",__isTeleport:!0,process(n,e,r,o,i,s,a,l,c,u){const{mc:d,pc:p,pbc:h,o:{insert:m,querySelector:g,createText:v,createComment:w}}=u,I=Ol(e.props);let{shapeFlag:b,children:E,dynamicChildren:P}=e;if(n==null){const D=e.el=v(""),V=e.anchor=v("");m(D,r,o),m(V,r,o);const S=(A,R)=>{b&16&&d(E,A,R,i,s,a,l,c)},C=()=>{const A=e.target=Hh(e.props,g),R=_T(A,e,v,m);A&&(a!=="svg"&&Ly(A)?a="svg":a!=="mathml"&&Dy(A)&&(a="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(A),I||(S(A,R),Nu(e,!1)))};I&&(S(r,V),Nu(e,!0)),ky(e.props)?(e.el.__isMounted=!1,Wt(()=>{C(),delete e.el.__isMounted},s)):C()}else{if(ky(e.props)&&n.el.__isMounted===!1){Wt(()=>{hT.process(n,e,r,o,i,s,a,l,c,u)},s);return}e.el=n.el,e.targetStart=n.targetStart;const D=e.anchor=n.anchor,V=e.target=n.target,S=e.targetAnchor=n.targetAnchor,C=Ol(n.props),A=C?r:V,R=C?D:S;if(a==="svg"||Ly(V)?a="svg":(a==="mathml"||Dy(V))&&(a="mathml"),P?(h(n.dynamicChildren,P,A,i,s,a,l),X_(n,e,!0)):c||p(n,e,A,R,i,s,a,l,!1),I)C?e.props&&n.props&&e.props.to!==n.props.to&&(e.props.to=n.props.to):lu(e,r,D,u,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const L=e.target=Hh(e.props,g);L&&lu(e,L,null,u,0)}else C&&lu(e,V,S,u,1);Nu(e,I)}},remove(n,e,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetStart:u,targetAnchor:d,target:p,props:h}=n;
vendor: 40,123 bytes, lines 14-15
14if(p&&(i(u),i(d)),s&&i(c),a&16){const m=s||!Ol(h);for(let g=0;g<l.length;g++){const v=l[g];o(v,e,r,m,!!v.dynamicChildren)}}},move:lu,hydrate:Q2};function lu(n,e,r,{o:{insert:o},m:i},s=2){s===0&&o(n.targetAnchor,e,r);const{el:a,anchor:l,shapeFlag:c,children:u,props:d}=n,p=s===2;if(p&&o(a,e,r),(!p||Ol(d))&&c&16)for(let h=0;h<u.length;h++)i(u[h],e,r,2);p&&o(l,e,r)}function Q2(n,e,r,o,i,s,{o:{nextSibling:a,parentNode:l,querySelector:c,insert:u,createText:d}},p){function h(v,w,I,b){w.anchor=p(a(v),w,l(v),r,o,i,s),w.targetStart=I,w.targetAnchor=b}const m=e.target=Hh(e.props,c),g=Ol(e.props);if(m){const v=m._lpa||m.firstChild;if(e.shapeFlag&16)if(g)h(n,e,v,v&&a(v));else{e.anchor=a(n);let w=v;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")e.targetStart=w;else if(w.data==="teleport anchor"){e.targetAnchor=w,m._lpa=e.targetAnchor&&a(e.targetAnchor);break}}w=a(w)}e.targetAnchor||_T(m,e,d,u),p(v&&a(v),e,m,r,o,i,s)}Nu(e,g)}else g&&e.shapeFlag&16&&h(n,e,n,a(n));return e.anchor&&a(e.anchor)}const mT=hT;function Nu(n,e){const r=n.ctx;if(r&&r.ut){let o,i;for(e?(o=n.el,i=n.anchor):(o=n.targetStart,i=n.targetAnchor);o&&o!==i;)o.nodeType===1&&o.setAttribute("data-v-owner",r.uid),o=o.nextSibling;r.ut()}}function _T(n,e,r,o){const i=e.targetStart=r(""),s=e.targetAnchor=r("");return i[fT]=s,n&&(o(i,n),o(s,n)),s}const $o=Symbol("_leaveCb"),cu=Symbol("_enterCb");function gT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return br(()=>{n.isMounted=!0}),Hi(()=>{n.isUnmounting=!0}),n}const Mr=[Function,Array],yT={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mr,onEnter:Mr,onAfterEnter:Mr,onEnterCancelled:Mr,onBeforeLeave:Mr,onLeave:Mr,onAfterLeave:Mr,onLeaveCancelled:Mr,onBeforeAppear:Mr,onAppear:Mr,onAfterAppear:Mr,onAppearCancelled:Mr},vT=n=>{const e=n.subTree;return e.component?vT(e.component):e},X2={name:"BaseTransition",props:yT,setup(n,{slots:e}){const r=Gr(),o=gT();return()=>{const i=e.default&&z_(e.default(),!0);if(!i||!i.length)return;const s=ET(i),a=Ke(n),{mode:l}=a;if(o.isLeaving)return Ep(s);const c=xy(s);if(!c)return Ep(s);let u=Gl(c,a,o,r,p=>u=p);c.type!==Ft&&Fi(c,u);let d=r.subTree&&xy(r.subTree);if(d&&d.type!==Ft&&!Xr(d,c)&&vT(r).type!==Ft){let p=Gl(d,a,o,r);if(Fi(d,p),l==="out-in"&&c.type!==Ft)return o.isLeaving=!0,p.afterLeave=()=>{o.isLeaving=!1,r.job.flags&8||r.update(),delete p.afterLeave,d=void 0},Ep(s);l==="in-out"&&c.type!==Ft?p.delayLeave=(h,m,g)=>{const v=wT(o,d);v[String(d.key)]=d,h[$o]=()=>{m(),h[$o]=void 0,delete u.delayedLeave,d=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return s}}};function ET(n){let e=n[0];if(n.length>1){for(const r of n)if(r.type!==Ft){e=r;break}}return e}const Z2=X2;function wT(n,e){const{leavingVNodes:r}=n;let o=r.get(e.type);return o||(o=Object.create(null),r.set(e.type,o)),o}function Gl(n,e,r,o,i){const{appear:s,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:w,onAppear:I,onAfterAppear:b,onAppearCancelled:E}=e,P=String(n.key),D=wT(r,n),V=(A,R)=>{A&&ro(A,o,9,R)},S=(A,R)=>{const L=R[1];V(A,R),Oe(A)?A.every(O=>O.length<=1)&&L():A.length<=1&&L()},C={mode:a,persisted:l,beforeEnter(A){let R=c;if(!r.isMounted)if(s)R=w||c;else return;A[$o]&&A[$o](!0);const L=D[P];L&&Xr(n,L)&&L.el[$o]&&L.el[$o](),V(R,[A])},enter(A){let R=u,L=d,O=p;if(!r.isMounted)if(s)R=I||u,L=b||d,O=E||p;else return;let k=!1;const ee=A[cu]=J=>{k||(k=!0,J?V(O,[A]):V(L,[A]),C.delayedLeave&&C.delayedLeave(),A[cu]=void 0)};R?S(R,[A,ee]):ee()},leave(A,R){const L=String(n.key);if(A[cu]&&A[cu](!0),r.isUnmounting)return R();V(h,[A]);let O=!1;const k=A[$o]=ee=>{O||(O=!0,R(),ee?V(v,[A]):V(g,[A]),A[$o]=void 0,D[L]===n&&delete D[L])};D[L]=n,m?S(m,[A,k]):k()},clone(A){const R=Gl(A,e,r,o,i);return i&&i(R),R}};return C}function Ep(n){if(vc(n))return n=ii(n),n.children=null,n}function xy(n){if(!vc(n))return pT(n.type)&&n.children?ET(n.children):n;if(n.component)return n.component.subTree;const{shapeFlag:e,children:r}=n;if(r){if(e&16)return r[0];if(e&32&&Me(r.default))return r.default()}}function Fi(n,e){n.shapeFlag&6&&n.component?(n.transition=e,Fi(n.component.subTree,e)):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function z_(n,e=!1,r){let o=[],i=0;for(let s=0;s<n.length;s++){let a=n[s];const l=r==null?a.key:String(r)+String(a.key!=null?a.key:s);a.type===We?(a.patchFlag&128&&i++,o=o.concat(z_(a.children,e,l))):(e||a.type!==Ft)&&o.push(l!=null?ii(a,{key:l}):a)}if(i>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function fr(n,e){return Me(n)?Ht({name:n.name},e,{setup:n}):n}function H_(n){n.ids=[n.ids[0]+n.ids[2]+++"-",0,0]}function eQ(n){const e=Gr(),r=oi(null);if(e){const i=e.refs===rt?e.refs={}:e.refs;Object.defineProperty(i,n,{enumerable:!0,get:()=>r.value,set:s=>r.value=s})}return r}const ud=new WeakMap;function sa(n,e,r,o,i=!1){if(Oe(n)){n.forEach((g,v)=>sa(g,e&&(Oe(e)?e[v]:e),r,o,i));return}if(xi(o)&&!i){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&sa(n,e,r,o.component.subTree);return}const s=o.shapeFlag&4?ff(o.component):o.el,a=i?null:s,{i:l,r:c}=n,u=e&&e.r,d=l.refs===rt?l.refs={}:l.refs,p=l.setupState,h=Ke(p),m=p===rt?x1:g=>ct(h,g);if(u!=null&&u!==c){if(Ny(e),bt(u))d[u]=null,m(u)&&(p[u]=null);else if(dt(u)){u.value=null;const g=e;g.k&&(d[g.k]=null)}}if(Me(c))yc(c,l,12,[a,d]);else{const g=bt(c),v=dt(c);if(g||v){const w=()=>{if(n.f){const I=g?m(c)?p[c]:d[c]:c.value;if(i)Oe(I)&&k_(I,s);else if(Oe(I))I.includes(s)||I.push(s);else if(g)d[c]=[s],m(c)&&(p[c]=d[c]);else{const b=[s];c.value=b,n.k&&(d[n.k]=b)}}else g?(d[c]=a,m(c)&&(p[c]=a)):v&&(c.value=a,n.k&&(d[n.k]=a))};if(a){const I=()=>{w(),ud.delete(n)};I.id=-1,ud.set(n,I),Wt(I,r)}else Ny(n),w()}}}function Ny(n){const e=ud.get(n);e&&(e.flags|=8,ud.delete(n))}let Vy=!1;const $s=()=>{Vy||(console.error("Hydration completed but contains mismatches."),Vy=!0)},eO=n=>n.namespaceURI.includes("svg")&&n.tagName!=="foreignObject",tO=n=>n.namespaceURI.includes("MathML"),uu=n=>{if(n.nodeType===1){if(eO(n))return"svg";if(tO(n))return"mathml"}},Xs=n=>n.nodeType===8;function nO(n){const{mt:e,p:r,o:{patchProp:o,createText:i,nextSibling:s,parentNode:a,remove:l,insert:c,createComment:u}}=n,d=(E,P)=>{if(!P.hasChildNodes()){r(null,E,P),ld(),P._vnode=E;return}p(P.firstChild,E,null,null,null),ld(),P._vnode=E},p=(E,P,D,V,S,C=!1)=>{C=C||!!P.dynamicChildren;const A=Xs(E)&&E.data==="[",R=()=>v(E,P,D,V,S,A),{type:L,ref:O,shapeFlag:k,patchFlag:ee}=P;let J=E.nodeType;P.el=E,ee===-2&&(C=!1,P.dynamicChildren=null);let q=null;switch(L){case Vi:J!==3?P.children===""?(c(P.el=i(""),a(E),E),q=E):q=R():(E.data!==P.children&&($s(),E.data=P.children),q=s(E));break;case Ft:b(E)?(q=s(E),I(P.el=E.content.firstChild,E,D)):J!==8||A?q=R():q=s(E);break;case Ll:if(A&&(E=s(E),J=E.nodeType),J===1||J===3){q=E;const j=!P.children.length;for(let G=0;G<P.staticCount;G++)j&&(P.children+=q.nodeType===1?q.outerHTML:q.data),G===P.staticCount-1&&(P.anchor=q),q=s(q);return A?s(q):q}else R();break;case We:A?q=g(E,P,D,V,S,C):q=R();break;default:if(k&1)(J!==1||P.type.toLowerCase()!==E.tagName.toLowerCase())&&!b(E)?q=R():q=h(E,P,D,V,S,C);else if(k&6){P.slotScopeIds=S;const j=a(E);if(A?q=w(E):Xs(E)&&E.data==="teleport start"?q=w(E,E.data,"teleport end"):q=s(E),e(P,j,null,D,V,uu(j),C),xi(P)&&!P.type.__asyncResolved){let G;A?(G=ge(We),G.anchor=q?q.previousSibling:j.lastChild):G=E.nodeType===3?Xt(""):ge("div"),G.el=E,P.component.subTree=G}}else k&64?J!==8?q=R():q=P.type.hydrate(E,P,D,V,S,C,n,m):k&128&&(q=P.type.hydrate(E,P,D,V,uu(a(E)),S,C,n,p))}return O!=null&&sa(O,null,V,P),q},h=(E,P,D,V,S,C)=>{C=C||!!P.dynamicChildren;const{type:A,props:R,patchFlag:L,shapeFlag:O,dirs:k,transition:ee}=P,J=A==="input"||A==="option";if(J||L!==-1){k&&_o(P,null,D,"created");let q=!1;if(b(E)){q=BT(null,ee)&&D&&D.vnode.props&&D.vnode.props.appear;const G=E.content.firstChild;if(q){const te=G.getAttribute("class");te&&(G.$cls=te),ee.beforeEnter(G)}I(G,E,D),P.el=E=G}if(O&16&&!(R&&(R.innerHTML||R.textContent))){let G=m(E.firstChild,P,E,D,V,S,C);for(;G;){du(E,1)||$s();const te=G;G=G.nextSibling,l(te)}}else if(O&8){let G=P.children;G[0]===` 15`&&(E.tagName==="PRE"||E.tagName==="TEXTAREA")&&(G=G.slice(1)),E.textContent!==G&&(du(E,0)||$s(),E.textContent=P.children)}if(R){if(J||!C||L&48){const G=E.tagName.includes("-");for(const te in R)(J&&(te.endsWith("value")||te==="indeterminate")||mc(te)&&!ra(te)||te[0]==="."||G)&&o(E,te,null,R[te],void 0,D)}else if(R.onClick)o(E,"onClick",null,R.onClick,void 0,D);else if(L&4&&To(R.style))for(const G in R.style)R.style[G]}let j;(j=R&&R.onVnodeBeforeMount)&&Tr(j,D,P),k&&_o(P,null,D,"beforeMount"),((j=R&&R.onVnodeMounted)||k||q)&&WT(()=>{j&&Tr(j,D,P),q&&ee.enter(E),k&&_o(P,null,D,"mounted")},V)}return E.nextSibling},m=(E,P,D,V,S,C,A)=>{A=A||!!P.dynamicChildren;const R=P.children,L=R.length;for(let O=0;O<L;O++){const k=A?R[O]:R[O]=Or(R[O]),ee=k.type===Vi;E?(ee&&!A&&O+1<L&&Or(R[O+1]).type===Vi&&(c(i(E.data.slice(k.children.length)),D,s(E)),E.data=k.children),E=p(E,k,V,S,C,A)):ee&&!k.children?c(k.el=i(""),D):(du(D,1)||$s(),r(null,k,D,null,V,S,uu(D),C))}return E},g=(E,P,D,V,S,C)=>{const{slotScopeIds:A}=P;A&&(S=S?S.concat(A):A);const R=a(E),L=m(s(E),P,R,D,V,S,C);return L&&Xs(L)&&L.data==="]"?s(P.anchor=L):($s(),c(P.anchor=u("]"),R,L),L)},v=(E,P,D,V,S,C)=>{if(du(E.parentElement,1)||$s(),P.el=null,C){const L=w(E);for(;;){const O=s(E);if(O&&O!==L)l(O);else break}}const A=s(E),R=a(E);return l(E),r(null,P,R,A,D,V,uu(R),S),D&&(D.vnode.el=P.el,df(D,P.el)),A},w=(E,P="[",D="]")=>{let V=0;for(;E;)if(E=s(E),E&&Xs(E)&&(E.data===P&&V++,E.data===D)){if(V===0)return s(E);V--}return E},I=(E,P,D)=>{const V=P.parentNode;V&&V.replaceChild(E,P);let S=D;for(;S;)S.vnode.el===P&&(S.vnode.el=S.subTree.el=E),S=S.parent},b=E=>E.nodeType===1&&E.tagName==="TEMPLATE";return[d,p]}const My="data-allow-mismatch",rO={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function du(n,e){if(e===0||e===1)for(;n&&!n.hasAttribute(My);)n=n.parentElement;const r=n&&n.getAttribute(My);if(r==null)return!1;if(r==="")return!0;{const o=r.split(",");return e===0&&o.includes("children")?!0:o.includes(rO[e])}}of().requestIdleCallback;of().cancelIdleCallback;function oO(n,e){if(Xs(n)&&n.data==="["){let r=1,o=n.nextSibling;for(;o;){if(o.nodeType===1){if(e(o)===!1)break}else if(Xs(o))if(o.data==="]"){if(--r===0)break}else o.data==="["&&r++;o=o.nextSibling}}else e(n)}const xi=n=>!!n.type.__asyncLoader;function es(n){Me(n)&&(n={loader:n});const{loader:e,loadingComponent:r,errorComponent:o,delay:i=200,hydrate:s,timeout:a,suspensible:l=!0,onError:c}=n;let u=null,d,p=0;const h=()=>(p++,u=null,m()),m=()=>{let g;return u||(g=u=e().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),c)return new Promise((w,I)=>{c(v,()=>w(h()),()=>I(v),p+1)});throw v}).then(v=>g!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),d=v,v)))};return fr({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(g,v,w){let I=!1;(v.bu||(v.bu=[])).push(()=>I=!0);const b=()=>{I||w()},E=s?()=>{const P=s(b,D=>oO(g,D));P&&(v.bum||(v.bum=[])).push(P)}:b;d?E():m().then(()=>!v.isUnmounted&&E())},get __asyncResolved(){return d},setup(){const g=Kn;if(H_(g),d)return()=>wp(d,g);const v=E=>{u=null,Na(E,g,13,!o)};if(l&&g.suspense||_a)return m().then(E=>()=>wp(E,g)).catch(E=>(v(E),()=>o?ge(o,{error:E}):null));const w=me(!1),I=me(),b=me(!!i);return i&&setTimeout(()=>{b.value=!1},i),a!=null&&setTimeout(()=>{if(!w.value&&!I.value){const E=new Error(`Async component timed out after ${a}ms.`);v(E),I.value=E}},a),m().then(()=>{w.value=!0,g.parent&&vc(g.parent.vnode)&&g.parent.update()}).catch(E=>{v(E),I.value=E}),()=>{if(w.value&&d)return wp(d,g);if(I.value&&o)return ge(o,{error:I.value});if(r&&!b.value)return ge(r)}}})}function wp(n,e){const{ref:r,props:o,children:i,ce:s}=e.vnode,a=ge(n,o,i);return a.ref=r,a.ce=s,delete e.vnode.ce,a}const vc=n=>n.type.__isKeepAlive,iO={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const r=Gr(),o=r.ctx;if(!o.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const i=new Map,s=new Set;let a=null;const l=r.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=o,h=p("div");o.activate=(b,E,P,D,V)=>{const S=b.component;u(b,E,P,0,l),c(S.vnode,b,E,P,S,l,D,b.slotScopeIds,V),Wt(()=>{S.isDeactivated=!1,S.a&&oa(S.a);const C=b.props&&b.props.onVnodeMounted;C&&Tr(C,S.parent,b)},l)},o.deactivate=b=>{const E=b.component;hd(E.m),hd(E.a),u(b,h,null,1,l),Wt(()=>{E.da&&oa(E.da);const P=b.props&&b.props.onVnodeUnmounted;P&&Tr(P,E.parent,b),E.isDeactivated=!0},l)};function m(b){bp(b),d(b,r,l,!0)}function g(b){i.forEach((E,P)=>{const D=Zh(E.type);D&&!b(D)&&v(P)})}function v(b){const E=i.get(b);E&&(!a||!Xr(E,a))?m(E):a&&bp(a),i.delete(b),s.delete(b)}wt(()=>[n.include,n.exclude],([b,E])=>{b&&g(P=>El(b,P)),E&&g(P=>!El(E,P))},{flush:"post",deep:!0});let w=null;const I=()=>{w!=null&&(md(r.subTree.type)?Wt(()=>{i.set(w,fu(r.subTree))},r.subTree.suspense):i.set(w,fu(r.subTree)))};return br(I),W_(I),Hi(()=>{i.forEach(b=>{const{subTree:E,suspense:P}=r,D=fu(E);if(b.type===D.type&&b.key===D.key){bp(D);const V=D.component.da;V&&Wt(V,P);return}m(b)})}),()=>{if(w=null,!e.default)return a=null;const b=e.default(),E=b[0];if(b.length>1)return a=null,b;if(!Es(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return a=null,E;let P=fu(E);if(P.type===Ft)return a=null,P;const D=P.type,V=Zh(xi(P)?P.type.__asyncResolved||{}:D),{include:S,exclude:C,max:A}=n;if(S&&(!V||!El(S,V))||C&&V&&El(C,V))return P.shapeFlag&=-257,a=P,E;const R=P.key==null?D:P.key,L=i.get(R);return P.el&&(P=ii(P),E.shapeFlag&128&&(E.ssContent=P)),w=R,L?(P.el=L.el,P.component=L.component,P.transition&&Fi(P,P.transition),P.shapeFlag|=512,s.delete(R),s.add(R)):(s.add(R),A&&s.size>parseInt(A,10)&&v(s.values().next().value)),P.shapeFlag|=256,a=P,md(E.type)?E:P}}},bT=iO;function El(n,e){return Oe(n)?n.some(r=>El(r,e)):bt(n)?n.split(",").includes(e):a2(n)?(n.lastIndex=0,n.test(e)):!1}function q_(n,e){TT(n,"a",e)}function G_(n,e){TT(n,"da",e)}function TT(n,e,r=Kn){const o=n.__wdc||(n.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return n()});if(lf(e,o,r),r){let i=r.parent;for(;i&&i.parent;)vc(i.parent.vnode)&&sO(o,e,r,i),i=i.parent}}function sO(n,e,r,o){const i=lf(e,n,o,!0);qi(()=>{k_(o[e],i)},r)}function bp(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function fu(n){return n.shapeFlag&128?n.ssContent:n}function lf(n,e,r=Kn,o=!1){if(r){const i=r[n]||(r[n]=[]),s=e.__weh||(e.__weh=(...a)=>{ti();const l=wc(r),c=ro(e,r,n,a);return l(),ni(),c});return o?i.unshift(s):i.push(s),s}}const fi=n=>(e,r=Kn)=>{(!_a||n==="sp")&&lf(n,(...o)=>e(...o),r)},aO=fi("bm"),br=fi("m"),lO=fi("bu"),W_=fi("u"),Hi=fi("bum"),qi=fi("um"),cO=fi("sp"),uO=fi("rtg"),dO=fi("rtc");function AT(n,e=Kn){lf("ec",n,e)}const K_="components",fO="directives";function qh(n,e){return Y_(K_,n,!0,e)||n}const IT=Symbol.for("v-ndc");function Va(n){return bt(n)?Y_(K_,n,!1)||n:n||IT}function tQ(n){return Y_(fO,n)}function Y_(n,e,r=!0,o=!1){const i=Jn||Kn;if(i){const s=i.type;if(n===K_){const l=Zh(s,!1);if(l&&(l===e||l===kr(e)||l===rf(kr(e))))return s}const a=Fy(i[n]||s[n],e)||Fy(i.appContext[n],e);return!a&&o?s:a}}function Fy(n,e){return n&&(n[e]||n[kr(e)]||n[rf(kr(e))])}function Eo(n,e,r,o){let i;const s=r,a=Oe(n);if(a||bt(n)){const l=a&&To(n);let c=!1,u=!1;l&&(c=!jr(n),u=ri(n),n=af(n)),i=new Array(n.length);for(let d=0,p=n.length;d<p;d++)i[d]=e(c?u?id(Wn(n[d])):Wn(n[d]):n[d],d,void 0,s)}else if(typeof n=="number"){i=new Array(n);for(let l=0;l<n;l++)i[l]=e(l+1,l,void 0,s)}else if(ft(n))if(n[Symbol.iterator])i=Array.from(n,(l,c)=>e(l,c,void 0,s));else{const l=Object.keys(n);i=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const d=l[c];i[c]=e(n[d],d,c,s)}}else i=[];return i}function nQ(n,e){for(let r=0;r<e.length;r++){const o=e[r];if(Oe(o))for(let i=0;i<o.length;i++)n[o[i].name]=o[i].fn;else o&&(n[o.name]=o.key?(...i)=>{const s=o.fn(...i);return s&&(s.key=o.key),s}:o.fn)}return n}function Co(n,e,r={},o,i){if(Jn.ce||Jn.parent&&xi(Jn.parent)&&Jn.parent.ce){const u=Object.keys(r).length>0;return e!=="default"&&(r.name=e),Y(),Xe(We,null,[ge("slot",r,o&&o())],u?-2:64)}let s=n[e];s&&s._c&&(s._d=!1),Y();const a=s&&ST(s(r)),l=r.key||a&&a.key,c=Xe(We,{key:(l&&!no(l)?l:`_${e}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&n._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function ST(n){return n.some(e=>Es(e)?!(e.type===Ft||e.type===We&&!ST(e.children)):!0)?n:null}function rQ(n,e){const r={};for(const o in n)r[xu(o)]=n[o];return r}const Gh=n=>n?QT(n)?ff(n):Gh(n.parent):null,kl=Ht(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Gh(n.parent),$root:n=>Gh(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>CT(n),$forceUpdate:n=>n.f||(n.f=()=>{$_(n.update)}),$nextTick:n=>n.n||(n.n=Hr.bind(n.proxy)),$watch:n=>NO.bind(n)}),Tp=(n,e)=>n!==rt&&!n.__isScriptSetup&&ct(n,e),pO={get({_:n},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=n;let u;if(e[0]!=="$"){const m=a[e];if(m!==void 0)switch(m){case 1:return o[e];case 2:return i[e];case 4:return r[e];case 3:return s[e]}else{if(Tp(o,e))return a[e]=1,o[e];if(i!==rt&&ct(i,e))return a[e]=2,i[e];if((u=n.propsOptions[0])&&ct(u,e))return a[e]=3,s[e];if(r!==rt&&ct(r,e))return a[e]=4,r[e];Wh&&(a[e]=0)}}const d=kl[e];let p,h;if(d)return e==="$attrs"&&lr(n.attrs,"get",""),d(n);if((p=l.__cssModules)&&(p=p[e]))return p;if(r!==rt&&ct(r,e))return a[e]=4,r[e];if(h=c.config.globalProperties,ct(h,e))return h[e]},set({_:n},e,r){const{data:o,setupState:i,ctx:s}=n;return Tp(i,e)?(i[e]=r,!0):o!==rt&&ct(o,e)?(o[e]=r,!0):ct(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:o,appContext:i,propsOptions:s,type:a}},l){let c,u;return!!(r[l]||n!==rt&&l[0]!=="$"&&ct(n,l)||Tp(e,l)||(c=s[0])&&ct(c,l)||ct(o,l)||ct(kl,l)||ct(i.config.globalProperties,l)||(u=a.__cssModules)&&u[l])},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ct(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};function oQ(){return PT().slots}function hO(){return PT().attrs}function PT(n){const e=Gr();return e.setupContext||(e.setupContext=ZT(e))}function dd(n){return Oe(n)?n.reduce((e,r)=>(e[r]=null,e),{}):n}function fd(n,e){return!n||!e?n||e:Oe(n)&&Oe(e)?n.concat(e):Ht({},dd(n),dd(e))}let Wh=!0;function mO(n){const e=CT(n),r=n.proxy,o=n.ctx;Wh=!1,e.beforeCreate&&Uy(e.beforeCreate,n,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:m,updated:g,activated:v,deactivated:w,beforeDestroy:I,beforeUnmount:b,destroyed:E,unmounted:P,render:D,renderTracked:V,renderTriggered:S,errorCaptured:C,serverPrefetch:A,expose:R,inheritAttrs:L,components:O,directives:k,filters:ee}=e;if(u&&_O(u,o,null),a)for(const j in a){const G=a[j];Me(G)&&(o[j]=G.bind(r))}if(i){const j=i.call(r,r);ft(j)&&(n.data=di(j))}if(Wh=!0,s)for(const j in s){const G=s[j],te=Me(G)?G.bind(r,r):Me(G.get)?G.get.bind(r,r):bo,le=!Me(G)&&Me(G.set)?G.set.bind(r):bo,Ae=z({get:te,set:le});Object.defineProperty(o,j,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ie=>Ae.value=Ie})}if(l)for(const j in l)RT(l[j],o,r,j);if(c){const j=Me(c)?c.call(r):c;Reflect.ownKeys(j).forEach(G=>{Ni(G,j[G])})}d&&Uy(d,n,"c");function q(j,G){Oe(G)?G.forEach(te=>j(te.bind(r))):G&&j(G.bind(r))}if(q(aO,p),q(br,h),q(lO,m),q(W_,g),q(q_,v),q(G_,w),q(AT,C),q(dO,V),q(uO,S),q(Hi,b),q(qi,P),q(cO,A),Oe(R))if(R.length){const j=n.exposed||(n.exposed={});R.forEach(G=>{Object.defineProperty(j,G,{get:()=>r[G],set:te=>r[G]=te,enumerable:!0})})}else n.exposed||(n.exposed={});D&&n.render===bo&&(n.render=D),L!=null&&(n.inheritAttrs=L),O&&(n.components=O),k&&(n.directives=k),A&&H_(n)}function _O(n,e,r=bo){Oe(n)&&(n=Kh(n));for(const o in n){const i=n[o];let s;ft(i)?"default"in i?s=zt(i.from||o,i.default,!0):s=zt(i.from||o):s=zt(i),dt(s)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):e[o]=s}}function Uy(n,e,r){ro(Oe(n)?n.map(o=>o.bind(e.proxy)):n.bind(e.proxy),e,r)}function RT(n,e,r,o){let i=o.includes(".")?$T(r,o):()=>r[o];if(bt(n)){const s=e[n];Me(s)&&wt(i,s)}else if(Me(n))wt(i,n.bind(r));else if(ft(n))if(Oe(n))n.forEach(s=>RT(s,e,r,o));else{const s=Me(n.handler)?n.handler.bind(r):e[n.handler];Me(s)&&wt(i,s,n)}}function CT(n){const e=n.type,{mixins:r,extends:o}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=n.appContext,l=s.get(e);let c;return l?c=l:!i.length&&!r&&!o?c=e:(c={},i.length&&i.forEach(u=>pd(c,u,a,!0)),pd(c,e,a)),ft(e)&&s.set(e,c),c}function pd(n,e,r,o=!1){const{mixins:i,extends:s}=e;s&&pd(n,s,r,!0),i&&i.forEach(a=>pd(n,a,r,!0));for(const a in e)if(!(o&&a==="expose")){const l=gO[a]||r&&r[a];n[a]=l?l(n[a],e[a]):e[a]}return n}const gO={data:By,props:jy,emits:jy,methods:wl,computed:wl,beforeCreate:mr,created:mr,beforeMount:mr,mounted:mr,beforeUpdate:mr,updated:mr,beforeDestroy:mr,beforeUnmount:mr,destroyed:mr,unmounted:mr,activated:mr,deactivated:mr,errorCaptured:mr,serverPrefetch:mr,components:wl,directives:wl,watch:vO,provide:By,inject:yO};function By(n,e){return e?n?function(){return Ht(Me(n)?n.call(this,this):n,Me(e)?e.call(this,this):e)}:e:n}function yO(n,e){return wl(Kh(n),Kh(e))}function Kh(n){if(Oe(n)){const e={};for(let r=0;r<n.length;r++)e[n[r]]=n[r];return e}return n}function mr(n,e){return n?[...new Set([].concat(n,e))]:e}function wl(n,e){return n?Ht(Object.create(null),n,e):e}function jy(n,e){return n?Oe(n)&&Oe(e)?[...new Set([...n,...e])]:Ht(Object.create(null),dd(n),dd(e??{})):e}function vO(n,e){if(!n)return e;if(!e)return n;const r=Ht(Object.create(null),n);for(const o in e)r[o]=mr(n[o],e[o]);return r}function OT(){return{app:null,config:{isNativeTag:x1,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 EO=0;function wO(n,e){return function(o,i=null){Me(o)||(o=Ht({},o)),i!=null&&!ft(i)&&(i=null);const s=OT(),a=new WeakSet,l=[];let c=!1;const u=s.app={_uid:EO++,_component:o,_props:i,_container:null,_context:s,_instance:null,version:rk,get config(){return s.config},set config(d){},use(d,...p){return a.has(d)||(d&&Me(d.install)?(a.add(d),d.install(u,...p)):Me(d)&&(a.add(d),d(u,...p))),u},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),u},component(d,p){return p?(s.components[d]=p,u):s.components[d]},directive(d,p){return p?(s.directives[d]=p,u):s.directives[d]},mount(d,p,h){if(!c){const m=u._ceVNode||ge(o,i);return m.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),p&&e?e(m,d):n(m,d,h),c=!0,u._container=d,d.__vue_app__=u,ff(m.component)}},onUnmount(d){l.push(d)},unmount(){c&&(ro(l,u._instance,16),n(null,u._container),delete u._container.__vue_app__)},provide(d,p){return s.provides[d]=p,u},runWithContext(d){const p=ps;ps=u;try{return d()}finally{ps=p}}};return u}}let ps=null;function Ni(n,e){if(Kn){let r=Kn.provides;const o=Kn.parent&&Kn.parent.provides;o===r&&(r=Kn.provides=Object.create(o)),r[n]=e}}function zt(n,e,r=!1){const o=Gr();if(o||ps){let i=ps?ps._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(i&&n in i)return i[n];if(arguments.length>1)return r&&Me(e)?e.call(o&&o.proxy):e}}function Ec(){return!!(Gr()||ps)}const kT={},LT=()=>Object.create(kT),DT=n=>Object.getPrototypeOf(n)===kT;function bO(n,e,r,o=!1){const i={},s=LT();n.propsDefaults=Object.create(null),xT(n,e,i,s);for(const a in n.propsOptions[0])a in i||(i[a]=void 0);r?n.props=o?i:yo(i):n.type.props?n.props=i:n.props=s,n.attrs=s}function TO(n,e,r,o){const{props:i,attrs:s,vnode:{patchFlag:a}}=n,l=Ke(i),[c]=n.propsOptions;let u=!1;if((o||a>0)&&!(a&16)){if(a&8){const d=n.vnode.dynamicProps;for(let p=0;p<d.length;p++){let h=d[p];if(uf(n.emitsOptions,h))continue;const m=e[h];if(c)if(ct(s,h))m!==s[h]&&(s[h]=m,u=!0);else{const g=kr(h);i[g]=Yh(c,l,g,m,n,!1)}else m!==s[h]&&(s[h]=m,u=!0)}}}else{xT(n,e,i,s)&&(u=!0);let d;for(const p in l)(!e||!ct(e,p)&&((d=ui(p))===p||!ct(e,d)))&&(c?r&&(r[p]!==void 0||r[d]!==void 0)&&(i[p]=Yh(c,l,p,void 0,n,!0)):delete i[p]);if(s!==l)for(const p in s)(!e||!ct(e,p))&&(delete s[p],u=!0)}u&&zo(n.attrs,"set","")}function xT(n,e,r,o){const[i,s]=n.propsOptions;let a=!1,l;if(e)for(let c in e){if(ra(c))continue;const u=e[c];let d;i&&ct(i,d=kr(c))?!s||!s.includes(d)?r[d]=u:(l||(l={}))[d]=u:uf(n.emitsOptions,c)||(!(c in o)||u!==o[c])&&(o[c]=u,a=!0)}if(s){const c=Ke(r),u=l||rt;for(let d=0;d<s.length;d++){const p=s[d];r[p]=Yh(i,c,p,u[p],n,!ct(u,p))}}return a}function Yh(n,e,r,o,i,s){const a=n[r];if(a!=null){const l=ct(a,"default");if(l&&o===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&Me(c)){const{propsDefaults:u}=i;if(r in u)o=u[r];else{const d=wc(i);o=u[r]=c.call(null,e),d()}}else o=c;i.ce&&i.ce._setProp(r,o)}a[0]&&(s&&!l?o=!1:a[1]&&(o===""||o===ui(r))&&(o=!0))}return o}const AO=new WeakMap;function NT(n,e,r=!1){const o=r?AO:e.propsCache,i=o.get(n);if(i)return i;const s=n.props,a={},l=[];let c=!1;if(!Me(n)){const d=p=>{c=!0;const[h,m]=NT(p,e,!0);Ht(a,h),m&&l.push(...m)};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}if(!s&&!c)return ft(n)&&o.set(n,ta),ta;if(Oe(s))for(let d=0;d<s.length;d++){const p=kr(s[d]);$y(p)&&(a[p]=rt)}else if(s)for(const d in s){const p=kr(d);if($y(p)){const h=s[d],m=a[p]=Oe(h)||Me(h)?{type:h}:Ht({},h),g=m.type;let v=!1,w=!0;if(Oe(g))for(let I=0;I<g.length;++I){const b=g[I],E=Me(b)&&b.name;if(E==="Boolean"){v=!0;break}else E==="String"&&(w=!1)}else v=Me(g)&&g.name==="Boolean";m[0]=v,m[1]=w,(v||ct(m,"default"))&&l.push(p)}}const u=[a,l];return ft(n)&&o.set(n,u),u}function $y(n){return n[0]!=="$"&&!ra(n)}const J_=n=>n==="_"||n==="_ctx"||n==="$stable",Q_=n=>Oe(n)?n.map(Or):[Or(n)],IO=(n,e,r)=>{if(e._n)return e;const o=et((...i)=>Q_(e(...i)),r);return o._c=!1,o},VT=(n,e,r)=>{const o=n._ctx;for(const i in n){if(J_(i))continue;const s=n[i];if(Me(s))e[i]=IO(i,s,o);else if(s!=null){const a=Q_(s);e[i]=()=>a}}},MT=(n,e)=>{const r=Q_(e);n.slots.default=()=>r},FT=(n,e,r)=>{for(const o in e)(r||!J_(o))&&(n[o]=e[o])},SO=(n,e,r)=>{const o=n.slots=LT();if(n.vnode.shapeFlag&32){const i=e._;i?(FT(o,e,r),r&&F1(o,"_",i,!0)):VT(e,o)}else e&&MT(n,e)},PO=(n,e,r)=>{const{vnode:o,slots:i}=n;let s=!0,a=rt;if(o.shapeFlag&32){const l=e._;l?r&&l===1?s=!1:FT(i,e,r):(s=!e.$stable,VT(e,i)),a=e}else e&&(MT(n,e),a={default:1});if(s)for(const l in i)!J_(l)&&a[l]==null&&delete i[l]},Wt=WT;function RO(n){return UT(n)}function CO(n){return UT(n,nO)}function UT(n,e){const r=of();r.__VUE__=!0;const{insert:o,remove:i,patchProp:s,createElement:a,createText:l,createComment:c,setText:u,setElementText:d,parentNode:p,nextSibling:h,setScopeId:m=bo,insertStaticContent:g}=n,v=(M,B,K,ce=null,ie=null,N=null,F=void 0,H=null,Z=!!B.dynamicChildren)=>{if(M===B)return;M&&!Xr(M,B)&&(ce=oe(M),Ie(M,ie,N,!0),M=null),B.patchFlag===-2&&(Z=!1,B.dynamicChildren=null);const{type:ae,ref:fe,shapeFlag:$}=B;switch(ae){case Vi:w(M,B,K,ce);break;case Ft:I(M,B,K,ce);break;case Ll:M==null&&b(B,K,ce,F);break;case We:O(M,B,K,ce,ie,N,F,H,Z);break;default:$&1?D(M,B,K,ce,ie,N,F,H,Z):$&6?k(M,B,K,ce,ie,N,F,H,Z):($&64||$&128)&&ae.process(M,B,K,ce,ie,N,F,H,Z,de)}fe!=null&&ie?sa(fe,M&&M.ref,N,B||M,!B):fe==null&&M&&M.ref!=null&&sa(M.ref,null,N,M,!0)},w=(M,B,K,ce)=>{if(M==null)o(B.el=l(B.children),K,ce);else{const ie=B.el=M.el;B.children!==M.children&&u(ie,B.children)}},I=(M,B,K,ce)=>{M==null?o(B.el=c(B.children||""),K,ce):B.el=M.el},b=(M,B,K,ce)=>{[M.el,M.anchor]=g(M.children,B,K,ce,M.el,M.anchor)},E=({el:M,anchor:B},K,ce)=>{let ie;for(;M&&M!==B;)ie=h(M),o(M,K,ce),M=ie;o(B,K,ce)},P=({el:M,anchor:B})=>{let K;for(;M&&M!==B;)K=h(M),i(M),M=K;i(B)},D=(M,B,K,ce,ie,N,F,H,Z)=>{B.type==="svg"?F="svg":B.type==="math"&&(F="mathml"),M==null?V(B,K,ce,ie,N,F,H,Z):A(M,B,ie,N,F,H,Z)},V=(M,B,K,ce,ie,N,F,H)=>{let Z,ae;const{props:fe,shapeFlag:$,transition:X,dirs:_e}=M;if(Z=M.el=a(M.type,N,fe&&fe.is,fe),$&8?d(Z,M.children):$&16&&C(M.children,Z,null,ce,ie,Ap(M,N),F,H),_e&&_o(M,null,ce,"created"),S(Z,M,M.scopeId,F,ce),fe){for(const qe in fe)qe!=="value"&&!ra(qe)&&s(Z,qe,null,fe[qe],N,ce);"value"in fe&&s(Z,"value",null,fe.value,N),(ae=fe.onVnodeBeforeMount)&&Tr(ae,ce,M)}_e&&_o(M,null,ce,"beforeMount");const be=BT(ie,X);be&&X.beforeEnter(Z),o(Z,B,K),((ae=fe&&fe.onVnodeMounted)||be||_e)&&Wt(()=>{ae&&Tr(ae,ce,M),be&&X.enter(Z),_e&&_o(M,null,ce,"mounted")},ie)},S=(M,B,K,ce,ie)=>{if(K&&m(M,K),ce)for(let N=0;N<ce.length;N++)m(M,ce[N]);if(ie){let N=ie.subTree;if(B===N||md(N.type)&&(N.ssContent===B||N.ssFallback===B)){const F=ie.vnode;S(M,F,F.scopeId,F.slotScopeIds,ie.parent)}}},C=(M,B,K,ce,ie,N,F,H,Z=0)=>{for(let ae=Z;ae<M.length;ae++){const fe=M[ae]=H?Ai(M[ae]):Or(M[ae]);v(null,fe,B,K,ce,ie,N,F,H)}},A=(M,B,K,ce,ie,N,F)=>{const H=B.el=M.el;let{patchFlag:Z,dynamicChildren:ae,dirs:fe}=B;Z|=M.patchFlag&16;const $=M.props||rt,X=B.props||rt;let _e;if(K&&ts(K,!1),(_e=X.onVnodeBeforeUpdate)&&Tr(_e,K,B,M),fe&&_o(B,M,K,"beforeUpdate"),K&&ts(K,!0),($.innerHTML&&X.innerHTML==null||$.textContent&&X.textContent==null)&&d(H,""),ae?R(M.dynamicChildren,ae,H,K,ce,Ap(B,ie),N):F||G(M,B,H,null,K,ce,Ap(B,ie),N,!1),Z>0){if(Z&16)L(H,$,X,K,ie);else if(Z&2&&$.class!==X.class&&s(H,"class",null,X.class,ie),Z&4&&s(H,"style",$.style,X.style,ie),Z&8){const be=B.dynamicProps;for(let qe=0;qe<be.length;qe++){const Ge=be[qe],Tt=$[Ge],Vt=X[Ge];(Vt!==Tt||Ge==="value")&&s(H,Ge,Tt,Vt,ie,K)}}Z&1&&M.children!==B.children&&d(H,B.children)}else!F&&ae==null&&L(H,$,X,K,ie);((_e=X.onVnodeUpdated)||fe)&&Wt(()=>{_e&&Tr(_e,K,B,M),fe&&_o(B,M,K,"updated")},ce)},R=(M,B,K,ce,ie,N,F)=>{for(let H=0;H<B.length;H++){const Z=M[H],ae=B[H],fe=Z.el&&(Z.type===We||!Xr(Z,ae)||Z.shapeFlag&198)?p(Z.el):K;v(Z,ae,fe,null,ce,ie,N,F,!0)}},L=(M,B,K,ce,ie)=>{if(B!==K){if(B!==rt)for(const N in B)!ra(N)&&!(N in K)&&s(M,N,B[N],null,ie,ce);for(const N in K){if(ra(N))continue;const F=K[N],H=B[N];F!==H&&N!=="value"&&s(M,N,H,F,ie,ce)}"value"in K&&s(M,"value",B.value,K.value,ie)}},O=(M,B,K,ce,ie,N,F,H,Z)=>{const ae=B.el=M?M.el:l(""),fe=B.anchor=M?M.anchor:l("");let{patchFlag:$,dynamicChildren:X,slotScopeIds:_e}=B;_e&&(H=H?H.concat(_e):_e),M==null?(o(ae,K,ce),o(fe,K,ce),C(B.children||[],K,fe,ie,N,F,H,Z)):$>0&&$&64&&X&&M.dynamicChildren?(R(M.dynamicChildren,X,K,ie,N,F,H),(B.key!=null||ie&&B===ie.subTree)&&X_(M,B,!0)):G(M,B,K,fe,ie,N,F,H,Z)},k=(M,B,K,ce,ie,N,F,H,Z)=>{B.slotScopeIds=H,M==null?B.shapeFlag&512?ie.ctx.activate(B,K,ce,F,Z):ee(B,K,ce,ie,N,F,Z):J(M,B,Z)},ee=(M,B,K,ce,ie,N,F)=>{const H=M.component=XO(M,ce,ie);if(vc(M)&&(H.ctx.renderer=de),ZO(H,!1,F),H.asyncDep){if(ie&&ie.registerDep(H,q,F),!M.el){const Z=H.subTree=ge(Ft);I(null,Z,B,K),M.placeholder=Z.el}}else q(H,M,B,K,ie,N,F)},J=(M,B,K)=>{const ce=B.component=M.component;if(jO(M,B,K))if(ce.asyncDep&&!ce.asyncResolved){j(ce,B,K);return}else ce.next=B,ce.update();else B.el=M.el,ce.vnode=B},q=(M,B,K,ce,ie,N,F)=>{const H=()=>{if(M.isMounted){let{next:$,bu:X,u:_e,parent:be,vnode:qe}=M;{const tr=jT(M);if(tr){$&&($.el=qe.el,j(M,$,F)),tr.asyncDep.then(()=>{M.isUnmounted||H()});return}}let Ge=$,Tt;ts(M,!1),$?($.el=qe.el,j(M,$,F)):$=qe,X&&oa(X),(Tt=$.props&&$.props.onVnodeBeforeUpdate)&&Tr(Tt,be,$,qe),ts(M,!0);const Vt=Ip(M),Qt=M.subTree;M.subTree=Vt,v(Qt,Vt,p(Qt.el),oe(Qt),M,ie,N),$.el=Vt.el,Ge===null&&df(M,Vt.el),_e&&Wt(_e,ie),(Tt=$.props&&$.props.onVnodeUpdated)&&Wt(()=>Tr(Tt,be,$,qe),ie)}else{let $;const{el:X,props:_e}=B,{bm:be,m:qe,parent:Ge,root:Tt,type:Vt}=M,Qt=xi(B);if(ts(M,!1),be&&oa(be),!Qt&&($=_e&&_e.onVnodeBeforeMount)&&Tr($,Ge,B),ts(M,!0),X&&Fe){const tr=()=>{M.subTree=Ip(M),Fe(X,M.subTree,M,ie,null)};Qt&&Vt.__asyncHydrate?Vt.__asyncHydrate(X,M,tr):tr()}else{Tt.ce&&Tt.ce._def.shadowRoot!==!1&&Tt.ce._injectChildStyle(Vt);const tr=M.subTree=Ip(M);v(null,tr,K,ce,M,ie,N),B.el=tr.el}if(qe&&Wt(qe,ie),!Qt&&($=_e&&_e.onVnodeMounted)){const tr=B;Wt(()=>Tr($,Ge,tr),ie)}(B.shapeFlag&256||Ge&&xi(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&M.a&&Wt(M.a,ie),M.isMounted=!0,B=K=ce=null}};M.scope.on();const Z=M.effect=new H1(H);M.scope.off();const ae=M.update=Z.run.bind(Z),fe=M.job=Z.runIfDirty.bind(Z);fe.i=M,fe.id=M.uid,Z.scheduler=()=>$_(fe),ts(M,!0),ae()},j=(M,B,K)=>{B.component=M;const ce=M.vnode.props;M.vnode=B,M.next=null,TO(M,B.props,ce,K),PO(M,B.children,K),ti(),Oy(M),ni()},G=(M,B,K,ce,ie,N,F,H,Z=!1)=>{const ae=M&&M.children,fe=M?M.shapeFlag:0,$=B.children,{patchFlag:X,shapeFlag:_e}=B;if(X>0){if(X&128){le(ae,$,K,ce,ie,N,F,H,Z);return}else if(X&256){te(ae,$,K,ce,ie,N,F,H,Z);return}}_e&8?(fe&16&&_t(ae,ie,N),$!==ae&&d(K,$)):fe&16?_e&16?le(ae,$,K,ce,ie,N,F,H,Z):_t(ae,ie,N,!0):(fe&8&&d(K,""),_e&16&&C($,K,ce,ie,N,F,H,Z))},te=(M,B,K,ce,ie,N,F,H,Z)=>{M=M||ta,B=B||ta;const ae=M.length,fe=B.length,$=Math.min(ae,fe);let X;for(X=0;X<$;X++){const _e=B[X]=Z?Ai(B[X]):Or(B[X]);v(M[X],_e,K,null,ie,N,F,H,Z)}ae>fe?_t(M,ie,N,!0,!1,$):C(B,K,ce,ie,N,F,H,Z,$)},le=(M,B,K,ce,ie,N,F,H,Z)=>{let ae=0;const fe=B.length;let $=M.length-1,X=fe-1;for(;ae<=$&&ae<=X;){const _e=M[ae],be=B[ae]=Z?Ai(B[ae]):Or(B[ae]);if(Xr(_e,be))v(_e,be,K,null,ie,N,F,H,Z);else break;ae++}for(;ae<=$&&ae<=X;){const _e=M[$],be=B[X]=Z?Ai(B[X]):Or(B[X]);if(Xr(_e,be))v(_e,be,K,null,ie,N,F,H,Z);else break;$--,X--}if(ae>$){if(ae<=X){const _e=X+1,be=_e<fe?B[_e].el:ce;for(;ae<=X;)v(null,B[ae]=Z?Ai(B[ae]):Or(B[ae]),K,be,ie,N,F,H,Z),ae++}}else if(ae>X)for(;ae<=$;)Ie(M[ae],ie,N,!0),ae++;else{const _e=ae,be=ae,qe=new Map;for(ae=be;ae<=X;ae++){const pr=B[ae]=Z?Ai(B[ae]):Or(B[ae]);pr.key!=null&&qe.set(pr.key,ae)}let Ge,Tt=0;const Vt=X-be+1;let Qt=!1,tr=0;const hi=new Array(Vt);for(ae=0;ae<Vt;ae++)hi[ae]=0;for(ae=_e;ae<=$;ae++){const pr=M[ae];if(Tt>=Vt){Ie(pr,ie,N,!0);continue}let Vr;if(pr.key!=null)Vr=qe.get(pr.key);else for(Ge=be;Ge<=X;Ge++)if(hi[Ge-be]===0&&Xr(pr,B[Ge])){Vr=Ge;break}Vr===void 0?Ie(pr,ie,N,!0):(hi[Vr-be]=ae+1,Vr>=tr?tr=Vr:Qt=!0,v(pr,B[Vr],K,null,ie,N,F,H,Z),Tt++)}const Ns=Qt?OO(hi):ta;for(Ge=Ns.length-1,ae=Vt-1;ae>=0;ae--){const pr=be+ae,Vr=B[pr],Vs=B[pr+1],Ya=pr+1<fe?Vs.el||Vs.placeholder:ce;hi[ae]===0?v(null,Vr,K,Ya,ie,N,F,H,Z):Qt&&(Ge<0||ae!==Ns[Ge]?Ae(Vr,K,Ya,2):Ge--)}}},Ae=(M,B,K,ce,ie=null)=>{const{el:N,type:F,transition:H,children:Z,shapeFlag:ae}=M;if(ae&6){Ae(M.component.subTree,B,K,ce);return}if(ae&128){M.suspense.move(B,K,ce);return}if(ae&64){F.move(M,B,K,de);return}if(F===We){o(N,B,K);for(let $=0;$<Z.length;$++)Ae(Z[$],B,K,ce);o(M.anchor,B,K);return}if(F===Ll){E(M,B,K);return}if(ce!==2&&ae&1&&H)if(ce===0)H.beforeEnter(N),o(N,B,K),Wt(()=>H.enter(N),ie);else{const{leave:$,delayLeave:X,afterLeave:_e}=H,be=()=>{M.ctx.isUnmounted?i(N):o(N,B,K)},qe=()=>{N._isLeaving&&N[$o](!0),$(N,()=>{be(),_e&&_e()})};X?X(N,be,qe):qe()}else o(N,B,K)},Ie=(M,B,K,ce=!1,ie=!1)=>{const{type:N,props:F,ref:H,children:Z,dynamicChildren:ae,shapeFlag:fe,patchFlag:$,dirs:X,cacheIndex:_e}=M;if($===-2&&(ie=!1),H!=null&&(ti(),sa(H,null,K,M,!0),ni()),_e!=null&&(B.renderCache[_e]=void 0),fe&256){B.ctx.deactivate(M);return}const be=fe&1&&X,qe=!xi(M);let Ge;if(qe&&(Ge=F&&F.onVnodeBeforeUnmount)&&Tr(Ge,B,M),fe&6)mt(M.component,K,ce);else{if(fe&128){M.suspense.unmount(K,ce);return}be&&_o(M,null,B,"beforeUnmount"),fe&64?M.type.remove(M,B,K,de,ce):ae&&!ae.hasOnce&&(N!==We||$>0&&$&64)?_t(ae,B,K,!1,!0):(N===We&&$&384||!ie&&fe&16)&&_t(Z,B,K),ce&&Ce(M)}(qe&&(Ge=F&&F.onVnodeUnmounted)||be)&&Wt(()=>{Ge&&Tr(Ge,B,M),be&&_o(M,null,B,"unmounted")},K)},Ce=M=>{const{type:B,el:K,anchor:ce,transition:ie}=M;if(B===We){vt(K,ce);return}if(B===Ll){P(M);return}const N=()=>{i(K),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(M.shapeFlag&1&&ie&&!ie.persisted){const{leave:F,delayLeave:H}=ie,Z=()=>F(K,N);H?H(M.el,N,Z):Z()}else N()},vt=(M,B)=>{let K;for(;M!==B;)K=h(M),i(M),M=K;i(B)},mt=(M,B,K)=>{const{bum:ce,scope:ie,job:N,subTree:F,um:H,m:Z,a:ae}=M;hd(Z),hd(ae),ce&&oa(ce),ie.stop(),N&&(N.flags|=8,Ie(F,M,B,K)),H&&Wt(H,B),Wt(()=>{M.isUnmounted=!0},B)},_t=(M,B,K,ce=!1,ie=!1,N=0)=>{for(let F=N;F<M.length;F++)Ie(M[F],B,K,ce,ie)},oe=M=>{if(M.shapeFlag&6)return oe(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const B=h(M.anchor||M.el),K=B&&B[fT];return K?h(K):B};let Ee=!1;const ye=(M,B,K)=>{M==null?B._vnode&&Ie(B._vnode,null,null,!0):v(B._vnode||null,M,B,null,null,null,K),B._vnode=M,Ee||(Ee=!0,Oy(),ld(),Ee=!1)},de={p:v,um:Ie,m:Ae,r:Ce,mt:ee,mc:C,pc:G,pbc:R,n:oe,o:n};let Pe,Fe;return e&&([Pe,Fe]=e(de)),{render:ye,hydrate:Pe,createApp:wO(ye,Pe)}}function Ap({type:n,props:e},r){return r==="svg"&&n==="foreignObject"||r==="mathml"&&n==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function ts({effect:n,job:e},r){r?(n.flags|=32,e.flags|=4):(n.flags&=-33,e.flags&=-5)}function BT(n,e){return(!n||n&&!n.pendingBranch)&&e&&!e.persisted}function X_(n,e,r=!1){const o=n.children,i=e.children;if(Oe(o)&&Oe(i))for(let s=0;s<o.length;s++){const a=o[s];let l=i[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[s]=Ai(i[s]),l.el=a.el),!r&&l.patchFlag!==-2&&X_(a,l)),l.type===Vi&&l.patchFlag!==-1&&(l.el=a.el),l.type===Ft&&!l.el&&(l.el=a.el)}}function OO(n){const e=n.slice(),r=[0];let o,i,s,a,l;const c=n.length;for(o=0;o<c;o++){const u=n[o];if(u!==0){if(i=r[r.length-1],n[i]<u){e[o]=i,r.push(o);continue}for(s=0,a=r.length-1;s<a;)l=s+a>>1,n[r[l]]<u?s=l+1:a=l;u<n[r[s]]&&(s>0&&(e[o]=r[s-1]),r[s]=o)}}for(s=r.length,a=r[s-1];s-- >0;)r[s]=a,a=e[a];return r}function jT(n){const e=n.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:jT(e)}function hd(n){if(n)for(let e=0;e<n.length;e++)n[e].flags|=8}const kO=Symbol.for("v-scx"),LO=()=>zt(kO);function DO(n,e){return cf(n,null,e)}function xO(n,e){return cf(n,null,{flush:"sync"})}function wt(n,e,r){return cf(n,e,r)}function cf(n,e,r=rt){const{immediate:o,deep:i,flush:s,once:a}=r,l=Ht({},r),c=e&&o||!e&&s!=="post";let u;if(_a){if(s==="sync"){const m=LO();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=bo,m.resume=bo,m.pause=bo,m}}const d=Kn;l.call=(m,g,v)=>ro(m,d,g,v);let p=!1;s==="post"?l.scheduler=m=>{Wt(m,d&&d.suspense)}:s!=="sync"&&(p=!0,l.scheduler=(m,g)=>{g?m():$_(m)}),l.augmentJob=m=>{e&&(m.flags|=4),p&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const h=W2(n,e,l);return _a&&(u?u.push(h):c&&h()),h}function NO(n,e,r){const o=this.proxy,i=bt(n)?n.includes(".")?$T(o,n):()=>o[n]:n.bind(o,o);let s;Me(e)?s=e:(s=e.handler,r=e);const a=wc(this),l=cf(i,s.bind(o),r);return a(),l}function $T(n,e){const r=e.split(".");return()=>{let o=n;for(let i=0;i<r.length&&o;i++)o=o[r[i]];return o}}function zT(n,e,r=rt){const o=Gr(),i=kr(e),s=ui(e),a=HT(n,i),l=sT((c,u)=>{let d,p=rt,h;return xO(()=>{const m=n[i];Ar(d,m)&&(d=m,u())}),{get(){return c(),r.get?r.get(d):d},set(m){const g=r.set?r.set(m):m;if(!Ar(g,d)&&!(p!==rt&&Ar(m,p)))return;const v=o.vnode.props;v&&(e in v||i in v||s in v)&&(`onUpdate:${e}`in v||`onUpdate:${i}`in v||`onUpdate:${s}`in v)||(d=m,u()),o.emit(`update:${e}`,g),Ar(m,g)&&Ar(m,p)&&!Ar(g,h)&&u(),p=m,h=g}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?a||rt:l,done:!1}:{done:!0}}}},l}const HT=(n,e)=>e==="modelValue"||e==="model-value"?n.modelModifiers:n[`${e}Modifiers`]||n[`${kr(e)}Modifiers`]||n[`${ui(e)}Modifiers`];function VO(n,e,...r){if(n.isUnmounted)return;const o=n.vnode.props||rt;let i=r;const s=e.startsWith("update:"),a=s&&HT(o,e.slice(7));a&&(a.trim&&(i=r.map(d=>bt(d)?d.trim():d)),a.number&&(i=r.map(nd)));let l,c=o[l=xu(e)]||o[l=xu(kr(e))];!c&&s&&(c=o[l=xu(ui(e))]),c&&ro(c,n,6,i);const u=o[l+"Once"];if(u){if(!n.emitted)n.emitted={};else if(n.emitted[l])return;n.emitted[l]=!0,ro(u,n,6,i)}}const MO=new WeakMap;function qT(n,e,r=!1){const o=r?MO:e.emitsCache,i=o.get(n);if(i!==void 0)return i;const s=n.emits;let a={},l=!1;if(!Me(n)){const c=u=>{const d=qT(u,e,!0);d&&(l=!0,Ht(a,d))};!r&&e.mixins.length&&e.mixins.forEach(c),n.extends&&c(n.extends),n.mixins&&n.mixins.forEach(c)}
vendor: 5,085 bytes, line 15
15return!s&&!l?(ft(n)&&o.set(n,null),null):(Oe(s)?s.forEach(c=>a[c]=null):Ht(a,s),ft(n)&&o.set(n,a),a)}function uf(n,e){return!n||!mc(e)?!1:(e=e.slice(2).replace(/Once$/,""),ct(n,e[0].toLowerCase()+e.slice(1))||ct(n,ui(e))||ct(n,e))}function Ip(n){const{type:e,vnode:r,proxy:o,withProxy:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,props:p,data:h,setupState:m,ctx:g,inheritAttrs:v}=n,w=cd(n);let I,b;try{if(r.shapeFlag&4){const P=i||o,D=P;I=Or(u.call(D,P,d,p,m,h,g)),b=l}else{const P=e;I=Or(P.length>1?P(p,{attrs:l,slots:a,emit:c}):P(p,null)),b=e.props?l:UO(l)}}catch(P){Dl.length=0,Na(P,n,1),I=ge(Ft)}let E=I;if(b&&v!==!1){const P=Object.keys(b),{shapeFlag:D}=E;P.length&&D&7&&(s&&P.some(O_)&&(b=BO(b,s)),E=ii(E,b,!1,!0))}return r.dirs&&(E=ii(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(r.dirs):r.dirs),r.transition&&Fi(E,r.transition),I=E,cd(w),I}function FO(n,e=!0){let r;for(let o=0;o<n.length;o++){const i=n[o];if(Es(i)){if(i.type!==Ft||i.children==="v-if"){if(r)return;r=i}}else return}return r}const UO=n=>{let e;for(const r in n)(r==="class"||r==="style"||mc(r))&&((e||(e={}))[r]=n[r]);return e},BO=(n,e)=>{const r={};for(const o in n)(!O_(o)||!(o.slice(9)in e))&&(r[o]=n[o]);return r};function jO(n,e,r){const{props:o,children:i,component:s}=n,{props:a,children:l,patchFlag:c}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return o?zy(o,a,u):!!a;if(c&8){const d=e.dynamicProps;for(let p=0;p<d.length;p++){const h=d[p];if(a[h]!==o[h]&&!uf(u,h))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?zy(o,a,u):!0:!!a;return!1}function zy(n,e,r){const o=Object.keys(e);if(o.length!==Object.keys(n).length)return!0;for(let i=0;i<o.length;i++){const s=o[i];if(e[s]!==n[s]&&!uf(r,s))return!0}return!1}function df({vnode:n,parent:e},r){for(;e;){const o=e.subTree;if(o.suspense&&o.suspense.activeBranch===n&&(o.el=n.el),o===n)(n=e.vnode).el=r,e=e.parent;else break}}const md=n=>n.__isSuspense;let Jh=0;const $O={name:"Suspense",__isSuspense:!0,process(n,e,r,o,i,s,a,l,c,u){if(n==null)zO(e,r,o,i,s,a,l,c,u);else{if(s&&s.deps>0&&!n.suspense.isInFallback){e.suspense=n.suspense,e.suspense.vnode=e,e.el=n.el;return}HO(n,e,r,o,i,a,l,c,u)}},hydrate:qO,normalize:GO},Z_=$O;function Wl(n,e){const r=n.props&&n.props[e];Me(r)&&r()}function zO(n,e,r,o,i,s,a,l,c){const{p:u,o:{createElement:d}}=c,p=d("div"),h=n.suspense=GT(n,i,o,e,p,r,s,a,l,c);u(null,h.pendingBranch=n.ssContent,p,null,o,h,s,a),h.deps>0?(Wl(n,"onPending"),Wl(n,"onFallback"),u(null,n.ssFallback,e,r,o,null,s,a),aa(h,n.ssFallback)):h.resolve(!1,!0)}function HO(n,e,r,o,i,s,a,l,{p:c,um:u,o:{createElement:d}}){const p=e.suspense=n.suspense;p.vnode=e,e.el=n.el;const h=e.ssContent,m=e.ssFallback,{activeBranch:g,pendingBranch:v,isInFallback:w,isHydrating:I}=p;if(v)p.pendingBranch=h,Xr(v,h)?(c(v,h,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():w&&(I||(c(g,m,r,o,i,null,s,a,l),aa(p,m)))):(p.pendingId=Jh++,I?(p.isHydrating=!1,p.activeBranch=v):u(v,i,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),w?(c(null,h,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():(c(g,m,r,o,i,null,s,a,l),aa(p,m))):g&&Xr(g,h)?(c(g,h,r,o,i,p,s,a,l),p.resolve(!0)):(c(null,h,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0&&p.resolve()));else if(g&&Xr(g,h))c(g,h,r,o,i,p,s,a,l),aa(p,h);else if(Wl(e,"onPending"),p.pendingBranch=h,h.shapeFlag&512?p.pendingId=h.component.suspenseId:p.pendingId=Jh++,c(null,h,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0)p.resolve();else{const{timeout:b,pendingId:E}=p;b>0?setTimeout(()=>{p.pendingId===E&&p.fallback(m)},b):b===0&&p.fallback(m)}}function GT(n,e,r,o,i,s,a,l,c,u,d=!1){const{p,m:h,um:m,n:g,o:{parentNode:v,remove:w}}=u;let I;const b=WO(n);b&&e&&e.pendingBranch&&(I=e.pendingId,e.deps++);const E=n.props?U1(n.props.timeout):void 0,P=s,D={vnode:n,parent:e,parentComponent:r,namespace:a,container:o,hiddenContainer:i,deps:0,pendingId:Jh++,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(V=!1,S=!1){const{vnode:C,activeBranch:A,pendingBranch:R,pendingId:L,effects:O,parentComponent:k,container:ee}=D;let J=!1;D.isHydrating?D.isHydrating=!1:V||(J=A&&R.transition&&R.transition.mode==="out-in",J&&(A.transition.afterLeave=()=>{L===D.pendingId&&(h(R,ee,s===P?g(A):s,0),zh(O))}),A&&(v(A.el)===ee&&(s=g(A)),m(A,k,D,!0)),J||h(R,ee,s,0)),aa(D,R),D.pendingBranch=null,D.isInFallback=!1;let q=D.parent,j=!1;for(;q;){if(q.pendingBranch){q.effects.push(...O),j=!0;break}q=q.parent}!j&&!J&&zh(O),D.effects=[],b&&e&&e.pendingBranch&&I===e.pendingId&&(e.deps--,e.deps===0&&!S&&e.resolve()),Wl(C,"onResolve")},fallback(V){if(!D.pendingBranch)return;const{vnode:S,activeBranch:C,parentComponent:A,container:R,namespace:L}=D;Wl(S,"onFallback");const O=g(C),k=()=>{D.isInFallback&&(p(null,V,R,O,A,null,L,l,c),aa(D,V))},ee=V.transition&&V.transition.mode==="out-in";ee&&(C.transition.afterLeave=k),D.isInFallback=!0,m(C,A,null,!0),ee||k()},move(V,S,C){D.activeBranch&&h(D.activeBranch,V,S,C),D.container=V},next(){return D.activeBranch&&g(D.activeBranch)}
vendor: 4,279 bytes, line 15
15,registerDep(V,S,C){const A=!!D.pendingBranch;A&&D.deps++;const R=V.vnode.el;V.asyncDep.catch(L=>{Na(L,V,0)}).then(L=>{if(V.isUnmounted||D.isUnmounted||D.pendingId!==V.suspenseId)return;V.asyncResolved=!0;const{vnode:O}=V;Xh(V,L),R&&(O.el=R);const k=!R&&V.subTree.el;S(V,O,v(R||V.subTree.el),R?null:g(V.subTree),D,a,C),k&&w(k),df(V,O.el),A&&--D.deps===0&&D.resolve()})},unmount(V,S){D.isUnmounted=!0,D.activeBranch&&m(D.activeBranch,r,V,S),D.pendingBranch&&m(D.pendingBranch,r,V,S)}};return D}function qO(n,e,r,o,i,s,a,l,c){const u=e.suspense=GT(e,o,r,n.parentNode,document.createElement("div"),null,i,s,a,l,!0),d=c(n,u.pendingBranch=e.ssContent,r,u,s,a);return u.deps===0&&u.resolve(!1,!0),d}function GO(n){const{shapeFlag:e,children:r}=n,o=e&32;n.ssContent=Hy(o?r.default:r),n.ssFallback=o?Hy(r.fallback):ge(Ft)}function Hy(n){let e;if(Me(n)){const r=ma&&n._c;r&&(n._d=!1,Y()),n=n(),r&&(n._d=!0,e=Ir,KT())}return Oe(n)&&(n=FO(n)),n=Or(n),e&&!n.dynamicChildren&&(n.dynamicChildren=e.filter(r=>r!==n)),n}function WT(n,e){e&&e.pendingBranch?Oe(n)?e.effects.push(...n):e.effects.push(n):zh(n)}function aa(n,e){n.activeBranch=e;const{vnode:r,parentComponent:o}=n;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;r.el=i,o&&o.subTree===r&&(o.vnode.el=i,df(o,i))}function WO(n){const e=n.props&&n.props.suspensible;return e!=null&&e!==!1}const We=Symbol.for("v-fgt"),Vi=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),Ll=Symbol.for("v-stc"),Dl=[];let Ir=null;function Y(n=!1){Dl.push(Ir=n?null:[])}function KT(){Dl.pop(),Ir=Dl[Dl.length-1]||null}let ma=1;function _d(n,e=!1){ma+=n,n<0&&Ir&&e&&(Ir.hasOnce=!0)}function YT(n){return n.dynamicChildren=ma>0?Ir||ta:null,KT(),ma>0&&Ir&&Ir.push(n),n}function se(n,e,r,o,i,s){return YT(U(n,e,r,o,i,s,!0))}function Xe(n,e,r,o,i){return YT(ge(n,e,r,o,i,!0))}function Es(n){return n?n.__v_isVNode===!0:!1}function Xr(n,e){return n.type===e.type&&n.key===e.key}const JT=({key:n})=>n??null,Vu=({ref:n,ref_key:e,ref_for:r})=>(typeof n=="number"&&(n=""+n),n!=null?bt(n)||dt(n)||Me(n)?{i:Jn,r:n,k:e,f:!!r}:n:null);function U(n,e=null,r=null,o=0,i=null,s=n===We?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&JT(e),ref:e&&Vu(e),scopeId:dT,slotScopeIds:null,children:r,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:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Jn};return l?(tg(c,r),s&128&&n.normalize(c)):r&&(c.shapeFlag|=bt(r)?8:16),ma>0&&!a&&Ir&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ir.push(c),c}const ge=KO;function KO(n,e=null,r=null,o=0,i=null,s=!1){if((!n||n===IT)&&(n=Ft),Es(n)){const l=ii(n,e,!0);return r&&tg(l,r),ma>0&&!s&&Ir&&(l.shapeFlag&6?Ir[Ir.indexOf(n)]=l:Ir.push(l)),l.patchFlag=-2,l}if(nk(n)&&(n=n.__vccOpts),e){e=YO(e);let{class:l,style:c}=e;l&&!bt(l)&&(e.class=Le(l)),ft(c)&&(U_(c)&&!Oe(c)&&(c=Ht({},c)),e.style=Di(c))}const a=bt(n)?1:md(n)?128:pT(n)?64:ft(n)?4:Me(n)?2:0;return U(n,e,r,o,i,a,s,!0)}function YO(n){return n?U_(n)||DT(n)?Ht({},n):n:null}function ii(n,e,r=!1,o=!1){const{props:i,ref:s,patchFlag:a,children:l,transition:c}=n,u=e?Kl(i||{},e):i,d={__v_isVNode:!0,__v_skip:!0,type:n.type,props:u,key:u&&JT(u),ref:e&&e.ref?r&&s?Oe(s)?s.concat(Vu(e)):[s,Vu(e)]:Vu(e):s,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:l,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==We?a===-1?16:a|16:a,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:c,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&ii(n.ssContent),ssFallback:n.ssFallback&&ii(n.ssFallback),placeholder:n.placeholder,el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return c&&o&&Fi(d,c.clone(d)),d}function Xt(n=" ",e=0){return ge(Vi,null,n,e)}function eg(n,e){const r=ge(Ll,null,n);return r.staticCount=e,r}function Ue(n="",e=!1){return e?(Y(),Xe(Ft,null,n)):ge(Ft,null,n)}function Or(n){return n==null||typeof n=="boolean"?ge(Ft):Oe(n)?ge(We,null,n.slice()):Es(n)?Ai(n):ge(Vi,null,String(n))}function Ai(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:ii(n)}function tg(n,e){let r=0;const{shapeFlag:o}=n;
vendor: 3,614 bytes, lines 15-18
15if(e==null)e=null;else if(Oe(e))r=16;else if(typeof e=="object")if(o&65){const i=e.default;i&&(i._c&&(i._d=!1),tg(n,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!DT(e)?e._ctx=Jn:i===3&&Jn&&(Jn.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Me(e)?(e={default:e,_ctx:Jn},r=32):(e=String(e),o&64?(r=16,e=[Xt(e)]):r=8);n.children=e,n.shapeFlag|=r}function Kl(...n){const e={};for(let r=0;r<n.length;r++){const o=n[r];for(const i in o)if(i==="class")e.class!==o.class&&(e.class=Le([e.class,o.class]));else if(i==="style")e.style=Di([e.style,o.style]);else if(mc(i)){const s=e[i],a=o[i];a&&s!==a&&!(Oe(s)&&s.includes(a))&&(e[i]=s?[].concat(s,a):a)}else i!==""&&(e[i]=o[i])}return e}function Tr(n,e,r,o=null){ro(n,e,7,[r,o])}const JO=OT();let QO=0;function XO(n,e,r){const o=n.type,i=(e?e.appContext:n.appContext)||JO,s={uid:QO++,vnode:n,type:o,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new z1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:NT(o,i),emitsOptions:qT(o,i),emit:null,emitted:null,propsDefaults:rt,inheritAttrs:o.inheritAttrs,ctx:rt,data:rt,props:rt,attrs:rt,slots:rt,refs:rt,setupState:rt,setupContext:null,suspense:r,suspenseId:r?r.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=e?e.root:s,s.emit=VO.bind(null,s),n.ce&&n.ce(s),s}let Kn=null;const Gr=()=>Kn||Jn;let gd,Qh;{const n=of(),e=(r,o)=>{let i;return(i=n[r])||(i=n[r]=[]),i.push(o),s=>{i.length>1?i.forEach(a=>a(s)):i[0](s)}};gd=e("__VUE_INSTANCE_SETTERS__",r=>Kn=r),Qh=e("__VUE_SSR_SETTERS__",r=>_a=r)}const wc=n=>{const e=Kn;return gd(n),n.scope.on(),()=>{n.scope.off(),gd(e)}},qy=()=>{Kn&&Kn.scope.off(),gd(null)};function QT(n){return n.vnode.shapeFlag&4}let _a=!1;function ZO(n,e=!1,r=!1){e&&Qh(e);const{props:o,children:i}=n.vnode,s=QT(n);bO(n,o,s,e),SO(n,i,r||e);const a=s?ek(n,e):void 0;return e&&Qh(!1),a}function ek(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,pO);const{setup:o}=r;if(o){ti();const i=n.setupContext=o.length>1?ZT(n):null,s=wc(n),a=yc(o,n,0,[n.props,i]),l=N1(a);if(ni(),s(),(l||n.sp)&&!xi(n)&&H_(n),l){if(a.then(qy,qy),e)return a.then(c=>{Xh(n,c)}).catch(c=>{Na(c,n,0)});n.asyncDep=a}else Xh(n,a)}else XT(n)}function Xh(n,e,r){Me(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:ft(e)&&(n.setupState=iT(e)),XT(n)}function XT(n,e,r){const o=n.type;n.render||(n.render=o.render||bo);{const i=wc(n);ti();try{mO(n)}finally{ni(),i()}}}const tk={get(n,e){return lr(n,"get",""),n[e]}};function ZT(n){const e=r=>{n.exposed=r||{}};return{attrs:new Proxy(n.attrs,tk),slots:n.slots,emit:n.emit,expose:e}}function ff(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(iT(B_(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in kl)return kl[r](n)},has(e,r){return r in e||r in kl}})):n.proxy}function Zh(n,e=!0){return Me(n)?n.displayName||n.name:n.name||e&&n.__name}function nk(n){return Me(n)&&"__vccOpts"in n}const z=(n,e)=>q2(n,e,_a);function Bt(n,e,r){try{_d(-1);const o=arguments.length;return o===2?ft(e)&&!Oe(e)?Es(e)?ge(n,null,[e]):ge(n,e):ge(n,null,e):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&Es(r)&&(r=[r]),ge(n,e,r))}finally{_d(1)}}const rk="3.5.22";/** 16* @vue/runtime-dom v3.5.22 17* (c) 2018-present Yuxi (Evan) You and Vue contributors 18* @license MIT
19**/let em;const Gy=typeof window<"u"&&window.trustedTypes;if(Gy)try{em=Gy.createPolicy("vue",{createHTML:n=>n})}catch{}const eA=em?n=>em.createHTML(n):n=>n,ok="http://www.w3.org/2000/svg",ik="http://www.w3.org/1998/Math/MathML",Bo=typeof document<"u"?document:null,Wy=Bo&&Bo.createElement("template"),sk={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,o)=>{const i=e==="svg"?Bo.createElementNS(ok,n):e==="mathml"?Bo.createElementNS(ik,n):r?Bo.createElement(n,{is:r}):Bo.createElement(n);return n==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:n=>Bo.createTextNode(n),createComment:n=>Bo.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Bo.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,o,i,s){const a=r?r.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Wy.innerHTML=eA(o==="svg"?`<svg>${n}</svg>`:o==="mathml"?`<math>${n}</math>`:n);const l=Wy.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,r)}return[a?a.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},yi="transition",cl="animation",ga=Symbol("_vtc"),tA={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},nA=Ht({},yT,tA),ak=n=>(n.displayName="Transition",n.props=nA,n),pf=ak((n,{slots:e})=>Bt(Z2,rA(n),e)),ns=(n,e=[])=>{Oe(n)?n.forEach(r=>r(...e)):n&&n(...e)},Ky=n=>n?Oe(n)?n.some(e=>e.length>1):n.length>1:!1;function rA(n){const e={};for(const O in n)O in tA||(e[O]=n[O]);if(n.css===!1)return e;const{name:r="v",type:o,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:m=`${r}-leave-to`}=n,g=lk(i),v=g&&g[0],w=g&&g[1],{onBeforeEnter:I,onEnter:b,onEnterCancelled:E,onLeave:P,onLeaveCancelled:D,onBeforeAppear:V=I,onAppear:S=b,onAppearCancelled:C=E}=e,A=(O,k,ee,J)=>{O._enterCancelled=J,wi(O,k?d:l),wi(O,k?u:a),ee&&ee()},R=(O,k)=>{O._isLeaving=!1,wi(O,p),wi(O,m),wi(O,h),k&&k()},L=O=>(k,ee)=>{const J=O?S:b,q=()=>A(k,O,ee);ns(J,[k,q]),Yy(()=>{wi(k,O?c:s),ho(k,O?d:l),Ky(J)||Jy(k,o,v,q)})};return Ht(e,{onBeforeEnter(O){ns(I,[O]),ho(O,s),ho(O,a)},onBeforeAppear(O){ns(V,[O]),ho(O,c),ho(O,u)},onEnter:L(!1),onAppear:L(!0),onLeave(O,k){O._isLeaving=!0;const ee=()=>R(O,k);ho(O,p),O._enterCancelled?(ho(O,h),tm(O)):(tm(O),ho(O,h)),Yy(()=>{O._isLeaving&&(wi(O,p),ho(O,m),Ky(P)||Jy(O,o,w,ee))}),ns(P,[O,ee])},onEnterCancelled(O){A(O,!1,void 0,!0),ns(E,[O])},onAppearCancelled(O){A(O,!0,void 0,!0),ns(C,[O])},onLeaveCancelled(O){R(O),ns(D,[O])}})}function lk(n){if(n==null)return null;if(ft(n))return[Sp(n.enter),Sp(n.leave)];{const e=Sp(n);return[e,e]}}function Sp(n){return U1(n)}function ho(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n[ga]||(n[ga]=new Set)).add(e)}function wi(n,e){e.split(/\s+/).forEach(o=>o&&n.classList.remove(o));const r=n[ga];r&&(r.delete(e),r.size||(n[ga]=void 0))}function Yy(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let ck=0;function Jy(n,e,r,o){const i=n._endId=++ck,s=()=>{i===n._endId&&o()};if(r!=null)return setTimeout(s,r);const{type:a,timeout:l,propCount:c}=oA(n,e);if(!a)return o();const u=a+"end";let d=0;const p=()=>{n.removeEventListener(u,h),s()},h=m=>{m.target===n&&++d>=c&&p()};setTimeout(()=>{d<c&&p()},l+1),n.addEventListener(u,h)}function oA(n,e){const r=window.getComputedStyle(n),o=g=>(r[g]||"").split(", "),i=o(`${yi}Delay`),s=o(`${yi}Duration`),a=Qy(i,s),l=o(`${cl}Delay`),c=o(`${cl}Duration`),u=Qy(l,c);let d=null,p=0,h=0;e===yi?a>0&&(d=yi,p=a,h=s.length):e===cl?u>
vendor: 8,511 bytes, line 19
190&&(d=cl,p=u,h=c.length):(p=Math.max(a,u),d=p>0?a>u?yi:cl:null,h=d?d===yi?s.length:c.length:0);const m=d===yi&&/\b(?:transform|all)(?:,|$)/.test(o(`${yi}Property`).toString());return{type:d,timeout:p,propCount:h,hasTransform:m}}function Qy(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((r,o)=>Xy(r)+Xy(n[o])))}function Xy(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function tm(n){return(n?n.ownerDocument:document).body.offsetHeight}function uk(n,e,r){const o=n[ga];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}const yd=Symbol("_vod"),iA=Symbol("_vsh"),dk={name:"show",beforeMount(n,{value:e},{transition:r}){n[yd]=n.style.display==="none"?"":n.style.display,r&&e?r.beforeEnter(n):ul(n,e)},mounted(n,{value:e},{transition:r}){r&&e&&r.enter(n)},updated(n,{value:e,oldValue:r},{transition:o}){!e!=!r&&(o?e?(o.beforeEnter(n),ul(n,!0),o.enter(n)):o.leave(n,()=>{ul(n,!1)}):ul(n,e))},beforeUnmount(n,{value:e}){ul(n,e)}};function ul(n,e){n.style.display=e?n[yd]:"none",n[iA]=!e}const fk=Symbol(""),pk=/(?:^|;)\s*display\s*:/;function hk(n,e,r){const o=n.style,i=bt(r);let s=!1;if(r&&!i){if(e)if(bt(e))for(const a of e.split(";")){const l=a.slice(0,a.indexOf(":")).trim();r[l]==null&&Mu(o,l,"")}else for(const a in e)r[a]==null&&Mu(o,a,"");for(const a in r)a==="display"&&(s=!0),Mu(o,a,r[a])}else if(i){if(e!==r){const a=o[fk];a&&(r+=";"+a),o.cssText=r,s=pk.test(r)}}else e&&n.removeAttribute("style");yd in n&&(n[yd]=s?o.display:"",n[iA]&&(o.display="none"))}const Zy=/\s*!important$/;function Mu(n,e,r){if(Oe(r))r.forEach(o=>Mu(n,e,o));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const o=mk(n,e);Zy.test(r)?n.setProperty(ui(o),r.replace(Zy,""),"important"):n[o]=r}}const ev=["Webkit","Moz","ms"],Pp={};function mk(n,e){const r=Pp[e];if(r)return r;let o=kr(e);if(o!=="filter"&&o in n)return Pp[e]=o;o=rf(o);for(let i=0;i<ev.length;i++){const s=ev[i]+o;if(s in n)return Pp[e]=s}return e}const tv="http://www.w3.org/1999/xlink";function nv(n,e,r,o,i,s=g2(e)){o&&e.startsWith("xlink:")?r==null?n.removeAttributeNS(tv,e.slice(6,e.length)):n.setAttributeNS(tv,e,r):r==null||s&&!B1(r)?n.removeAttribute(e):n.setAttribute(e,s?"":no(r)?String(r):r)}function rv(n,e,r,o,i){if(e==="innerHTML"||e==="textContent"){r!=null&&(n[e]=e==="innerHTML"?eA(r):r);return}const s=n.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?n.getAttribute("value")||"":n.value,c=r==null?n.type==="checkbox"?"on":"":String(r);(l!==c||!("_value"in n))&&(n.value=c),r==null&&n.removeAttribute(e),n._value=r;return}let a=!1;if(r===""||r==null){const l=typeof n[e];l==="boolean"?r=B1(r):r==null&&l==="string"?(r="",a=!0):l==="number"&&(r=0,a=!0)}try{n[e]=r}catch{}a&&n.removeAttribute(i||e)}function qo(n,e,r,o){n.addEventListener(e,r,o)}function _k(n,e,r,o){n.removeEventListener(e,r,o)}const ov=Symbol("_vei");function gk(n,e,r,o,i=null){const s=n[ov]||(n[ov]={}),a=s[e];if(o&&a)a.value=o;else{const[l,c]=yk(e);if(o){const u=s[e]=wk(o,i);qo(n,l,u,c)}else a&&(_k(n,l,a,c),s[e]=void 0)}}const iv=/(?:Once|Passive|Capture)$/;function yk(n){let e;if(iv.test(n)){e={};let o;for(;o=n.match(iv);)n=n.slice(0,n.length-o[0].length),e[o[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):ui(n.slice(2)),e]}let Rp=0;const vk=Promise.resolve(),Ek=()=>Rp||(vk.then(()=>Rp=0),Rp=Date.now());function wk(n,e){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;ro(bk(o,r.value),e,5,[o])};return r.value=n,r.attached=Ek(),r}function bk(n,e){if(Oe(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(o=>i=>!i._stopped&&o&&o(i))}else return e}const sv=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,Tk=(n,e,r,o,i,s)=>{const a=i==="svg";e==="class"?uk(n,o,a):e==="style"?hk(n,r,o):mc(e)?O_(e)||gk(n,e,r,o,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Ak(n,e,o,a))?(rv(n,e,o),!n.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&nv(n,e,o,a,s,e!=="value")):n._isVueCE&&(/[A-Z]/.test(e)||!bt(o))?rv(n,kr(e),o,s,e):(e==="true-value"?n._trueValue=o:e==="false-value"&&(n._falseValue=o),nv(n,e,o,a))};function Ak(n,e,r,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in n&&sv(e)&&Me(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=n.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return sv(e)&&bt(r)?!1:e in n}const sA=new WeakMap,aA=new WeakMap,vd=Symbol("_moveCb"),av=Symbol("_enterCb"),Ik=n=>(delete n.props.mode,n),Sk=Ik({name:"TransitionGroup",props:Ht({},nA,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Gr(),o=gT();let i,s;return W_(()=>{if(!i.length)return;const a=n.moveClass||`${n.name||"v"}-move`;if(!kk(i[0].el,r.vnode.el,a)){i=[];return}i.forEach(Rk),i.forEach(Ck);const l=i.filter(Ok);tm(r.vnode.el),l.forEach(c=>{const u=c.el,d=u.style;ho(u,a),d.transform=d.webkitTransform=d.transitionDuration="";const p=u[vd]=h=>{h&&h.target!==u||(!h||h.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",p),u[vd]=null,wi(u,a))};u.addEventListener("transitionend",p)}),i=[]}),()=>{const a=Ke(n),l=rA(a);let c=a.tag||We;if(i=[],s)for(let u=0;u<s.length;u++){const d=s[u];d.el&&d.el instanceof Element&&(i.push(d),Fi(d,Gl(d,l,o,r)),sA.set(d,d.el.getBoundingClientRect()))}s=e.default?z_(e.default()):[];for(let u=0;u<s.length;u++){const d=s[u];d.key!=null&&Fi(d,Gl(d,l,o,r))}return ge(c,null,s)}}}),Pk=Sk;function Rk(n){const e=n.el;e[vd]&&e[vd](),e[av]&&e[av]()}function Ck(n){aA.set(n,n.el.getBoundingClientRect())}function Ok(n){const e=sA.get(n),r=aA.get(n),o=e.left-r.left,i=e.top-r.top;if(o||i){const s=n.el.style;return s.transform=s.webkitTransform=`translate(${o}px,${i}px)`,s.transitionDuration="0s",n}}function kk(n,e,r){const o=n.cloneNode(),i=n[ga];i&&i.forEach(l=>{l.split(/\s+/).forEach(c=>c&&o.classList.remove(c))}),r.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(o);const{hasTransform:a}=oA(o);return s.removeChild(o),a}const Ui=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Oe(e)?r=>oa(e,r):e};function Lk(n){n.target.composing=!0}function lv(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const $r=Symbol("_assign"),cv={created(n,{modifiers:{lazy:e,trim:r,number:o}},i){n[$r]=Ui(i);const s=o||i.props&&i.props.type==="number";qo(n,e?"change":"input",a=>{if(a.target.composing)return;let l=n.value;r&&(l=l.trim()),s&&(l=nd(l)),n[$r](l)}),r&&qo(n,"change",()=>{n.value=n.value.trim()}),e||(qo(n,"compositionstart",Lk),qo(n,"compositionend",lv),qo(n,"change",lv))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,oldValue:r,modifiers:{lazy:o,trim:i,number:s}},a){if(n[$r]=Ui(a),n.composing)return;const l=(s||n.type==="number")&&!/^0\d/.test(n.value)?nd(n.value):n.value,c=e??"";l!==c&&(document.activeElement===n&&n.type!=="range"&&(o&&e===r||i&&n.value.trim()===c)||(n.value=c))}},Dk={deep:!0,created(n,e,r){n[$r]=Ui(r),qo(n,"change",()=>{const o=n._modelValue,i=ya(n),s=n.checked,a=n[$r];if(Oe(o)){const l=D_(o,i),c=l!==-1;if(s&&!c)a(o.concat(i));else if(!s&&c){const u=[...o];u.splice(l,1),a(u)}}else if(Da(o)){const l=new Set(o);s?l.add(i):l.delete(i),a(l)}else a(lA(n,s))})},mounted:uv,beforeUpdate(n,e,r){n[$r]=Ui(r),uv(n,e,r)}};function uv(n,{value:e,oldValue:r},o){n._modelValue=e;let i;if(Oe(e))i=D_(e,o.props.value)>-1;else if(Da(e))i=e.has(o.props.value);else{if(e===r)return;i=vs(e,lA(n,!0))}n.checked!==i&&(n.checked=i)}const xk={created(n,{value:e},r){n.checked=vs(e,r.props.value),n[$r]=Ui(r),qo(n,"change",()=>{n[$r](ya(n))})},beforeUpdate(n,{value:e,oldValue:r},o){n[$r]=Ui(o),e!==r&&(n.checked=vs(e,o.props.value))}},Nk={deep:!0,created(n,{value:e,modifiers:{number:r}},o){const i=Da(e);qo(n,"change",()=>{const s=Array.prototype.filter.call(n.options,a=>a.selected).map(a=>r?nd(ya(a)):ya(a));n[$r](n.multiple?i?new Set(s):s:s[0]),n._assigning=!0,Hr(()=>{n._assigning=!1})}),n[$r]=Ui(o)},mounted(n,{value:e}){dv(n,e)},beforeUpdate(n,e,r){n[$r]=Ui(r)},updated(n,{value:e}){n._assigning||dv(n,e)}};function dv(n,e){const r=n.multiple,o=Oe(e);if(!(r&&!o&&!Da(e))){for(let i=0,s=n.options.length;i<s;i++){const a=n.options[i],l=ya(a);if(r)if(o){const c=typeof l;
19c==="string"||c==="number"?a.selected=e.some(u=>String(u)===String(l)):a.selected=D_(e,l)>-1}else a.selected=e.has(l);else if(vs(ya(a),e)){n.selectedIndex!==i&&(n.selectedIndex=i);return}}!r&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function ya(n){return"_value"in n?n._value:n.value}function lA(n,e){const r=e?"_trueValue":"_falseValue";return r in n?n[r]:e}const iQ={created(n,e,r){pu(n,e,r,null,"created")},mounted(n,e,r){pu(n,e,r,null,"mounted")},beforeUpdate(n,e,r,o){pu(n,e,r,o,"beforeUpdate")},updated(n,e,r,o){pu(n,e,r,o,"updated")}};function Vk(n,e){switch(n){case"SELECT":return Nk;case"TEXTAREA":return cv;default:switch(e){case"checkbox":return Dk;case"radio":return xk;default:return cv}}}function pu(n,e,r,o,i){const a=Vk(n.tagName,r.props&&r.props.type)[i];a&&a(n,e,r,o)}const Mk=["ctrl","shift","alt","meta"],Fk={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>Mk.some(r=>n[`${r}Key`]&&!e.includes(r))},sQ=(n,e)=>{const r=n._withMods||(n._withMods={}),o=e.join(".");return r[o]||(r[o]=((i,...s)=>{for(let a=0;a<e.length;a++){const l=Fk[e[a]];if(l&&l(i,e))return}return n(i,...s)}))},Uk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},aQ=(n,e)=>{const r=n._withKeys||(n._withKeys={}),o=e.join(".");return r[o]||(r[o]=(i=>{if(!("key"in i))return;const s=ui(i.key);if(e.some(a=>a===s||Uk[a]===s))return n(i)}))},cA=Ht({patchProp:Tk},sk);let xl,fv=!1;function uA(){return xl||(xl=RO(cA))}function Bk(){return xl=fv?xl:CO(cA),fv=!0,xl}const lQ=((...n)=>{uA().render(...n)}),jk=((...n)=>{const e=uA().createApp(...n),{mount:r}=e;return e.mount=o=>{const i=fA(o);if(!i)return;const s=e._component;!Me(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=r(i,!1,dA(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e}),$k=((...n)=>{const e=Bk().createApp(...n),{mount:r}=e;return e.mount=o=>{const i=fA(o);if(i)return r(i,!0,dA(i))},e});function dA(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function fA(n){return bt(n)?document.querySelector(n):n}const zk=/"(?:_|\\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*:/,Hk=/"(?: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*:/,qk=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Gk(n,e){if(n==="__proto__"||n==="constructor"&&e&&typeof e=="object"&&"prototype"in e){Wk(n);return}return e}function Wk(n){console.warn(`[destr] Dropping "${n}" key to prevent prototype pollution.`)}function Yl(n,e={}){if(typeof n!="string")return n;if(n[0]==='"'&&n[n.length-1]==='"'&&n.indexOf("\\")===-1)return n.slice(1,-1);const r=n.trim();if(r.length<=9)switch(r.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(!qk.test(n)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return n}try{if(zk.test(n)||Hk.test(n)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(n,Gk)}return JSON.parse(n)}catch(o){if(e.strict)throw o;return n}}const pA=/#/g,hA=/&/g,mA=/\//g,Kk=/=/g,Yk=/\?/g,hf=/\+/g,Jk=/%5e/gi,Qk=/%60/gi,Xk=/%7c/gi,Zk=/%20/gi,eL=/%252f/gi;function _A(n){return encodeURI(""+n).replace(Xk,"|")}function nm(n){return _A(typeof n=="string"?n:JSON.stringify(n)).replace(hf,"%2B").replace(Zk,"+").replace(pA,"%23").replace(hA,"%26").replace(Qk,"`").replace(Jk,"^").replace(mA,"%2F")}function Cp(n){return nm(n).replace(Kk,"%3D")}function gA(n){return _A(n).replace(pA,"%23").replace(Yk,"%3F").replace(eL,"%2F").replace(hA,"%26").replace(hf,"%2B")}function pv(n){return gA(n).replace(mA,"%2F")}function va(n=""){try{return decodeURIComponent(""+n)}catch{return""+n}}function tL(n){return va(n.replace(hf," "))}function nL(n){return va(n.replace(hf," "))}function mf(n=""){const e=Object.create(null);n[0]==="?"&&(n=n.slice(1));for(const r of n.split("&")){const o=r.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const i=tL(o[1]);if(i==="__proto__"||i==="constructor")continue;const s=nL(o[2]||"");e[i]===void 0?e[i]=s:Array.isArray(e[i])?e[i].push(s):e[i]=[e[i],s]}return e}function yA(n,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${Cp(n)}=${nm(r)}`).join("&"):`${Cp(n)}=${nm(e)}`:Cp(n)}function rL(n){return Object.keys(n).filter(e=>n[e]!==void 0).map(e=>
19yA(e,n[e])).filter(Boolean).join("&")}const oL=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,vA=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,iL=/^([/\\]\s*){2,}[^/\\]/,sL=/^[\s\0]*(blob|data|javascript|vbscript):$/i,aL=/\/$|\/\?|\/#/,lL=/^\.?\//;function Er(n,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?oL.test(n):vA.test(n)||(e.acceptRelative?iL.test(n):!1)}function cL(n){return!!n&&sL.test(n)}function rm(n="",e){return e?aL.test(n):n.endsWith("/")}function Jl(n="",e){if(!e)return(rm(n)?n.slice(0,-1):n)||"/";if(!rm(n,!0))return n||"/";let r=n,o="";const i=n.indexOf("#");i!==-1&&(r=n.slice(0,i),o=n.slice(i));const[s,...a]=r.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function Ql(n="",e){if(!e)return n.endsWith("/")?n:n+"/";if(rm(n,!0))return n||"/";let r=n,o="";const i=n.indexOf("#");if(i!==-1&&(r=n.slice(0,i),o=n.slice(i),!r))return o;const[s,...a]=r.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function uL(n=""){return n.startsWith("/")}function om(n=""){return uL(n)?n:"/"+n}function dL(n,e){if(EA(e)||Er(n))return n;const r=Jl(e);return n.startsWith(r)?n:Lr(r,n)}function hv(n,e){if(EA(e))return n;const r=Jl(e);if(!n.startsWith(r))return n;const o=n.slice(r.length);return o[0]==="/"?o:"/"+o}function _f(n,e){const r=Ea(n),o={...mf(r.search),...e};return r.search=rL(o),gL(r)}function EA(n){return!n||n==="/"}function fL(n){return n&&n!=="/"}function Lr(n,...e){let r=n||"";for(const o of e.filter(i=>fL(i)))if(r){const i=o.replace(lL,"");r=Ql(r)+i}else r=o;return r}function wA(...n){const e=/\/(?!\/)/,r=n.filter(Boolean),o=[];let i=0;for(const a of r)if(!(!a||a==="/")){for(const[l,c]of a.split(e).entries())if(!(!c||c===".")){if(c===".."){if(o.length===1&&Er(o[0]))continue;o.pop(),i--;continue}if(l===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+c;continue}o.push(c),i++}}let s=o.join("/");return i>=0?r[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:r[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,r[r.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function pL(n){return hL(n,"https://")}function hL(n,e){let r=n.match(vA);return r||(r=n.match(/^\/{2,}/)),r?e+n.slice(r[0].length):e+n}function mL(n,e){return va(Jl(n))===va(Jl(e))}function _L(n,e,r={}){return r.trailingSlash||(n=Ql(n),e=Ql(e)),r.leadingSlash||(n=om(n),e=om(e)),r.encoding||(n=va(n),e=va(e)),n===e}const bA=Symbol.for("ufo:protocolRelative");function Ea(n="",e){const r=n.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,p,h=""]=r;return{protocol:p.toLowerCase(),pathname:h,href:p+h,auth:"",host:"",search:"",hash:""}}if(!Er(n,{acceptRelative:!0}))return e?Ea(e+n):im(n);const[,o="",i,s=""]=n.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",l=""]=s.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:d}=im(l);return{protocol:o.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:a,pathname:c,search:u,hash:d,[bA]:!o}}function im(n=""){const[e="",r="",o=""]=(n.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:o}}function gL(n){const e=n.pathname||"",r=n.search?(n.search.startsWith("?")?"":"?")+n.search:"",o=n.hash||"",i=n.auth?n.auth+"@":"",s=n.host||"";return(n.protocol||n[bA]?(n.protocol||"")+"//":"")+i+s+e+r+o}
19class yL extends Error{constructor(e,r){super(e,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function vL(n){const e=n.error?.message||n.error?.toString()||"",r=n.request?.method||n.options?.method||"GET",o=n.request?.url||String(n.request)||"/",i=`[${r}] ${JSON.stringify(o)}`,s=n.response?`${n.response.status} ${n.response.statusText}`:"<no response>",a=`${i}: ${s}${e?` ${e}`:""}`,l=new yL(a,n.error?{cause:n.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(l,c,{get(){return n[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,c,{get(){return n.response&&n.response[u]}});return l}const EL=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function mv(n="GET"){return EL.has(n.toUpperCase())}function wL(n){if(n===void 0)return!1;const e=typeof n;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(n)?!0:n.buffer||n instanceof FormData||n instanceof URLSearchParams?!1:n.constructor&&n.constructor.name==="Object"||typeof n.toJSON=="function"}const bL=new Set(["image/svg","application/xml","application/xhtml","application/html"]),TL=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function AL(n=""){if(!n)return"json";const e=n.split(";").shift()||"";return TL.test(e)?"json":e==="text/event-stream"?"stream":bL.has(e)||e.startsWith("text/")?"text":"blob"}function IL(n,e,r,o){const i=SL(e?.headers??n?.headers,r?.headers,o);let s;return(r?.query||r?.params||e?.params||e?.query)&&(s={...r?.params,...r?.query,...e?.params,...e?.query}),{...r,...e,query:s,params:s,headers:i}}function SL(n,e,r){if(!e)return new r(n);const o=new r(e);if(n)for(const[i,s]of Symbol.iterator in n||Array.isArray(n)?n:new r(n))o.set(i,s);return o}async function hu(n,e){if(e)if(Array.isArray(e))for(const r of e)await r(n);else await e(n)}const PL=new Set([408,409,425,429,500,502,503,504]),RL=new Set([101,204,205,304]);function TA(n={}){const{fetch:e=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:o=globalThis.AbortController}=n;async function i(l){const c=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!c){let d;typeof l.options.retry=="number"?d=l.options.retry:d=mv(l.options.method)?0:1;const p=l.response&&l.response.status||500;if(d>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(p):PL.has(p))){const h=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return h>0&&await new Promise(m=>setTimeout(m,h)),s(l.request,{...l.options,retry:d-1})}}const u=vL(l);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){const d={request:c,options:IL(c,u,n.defaults,r),response:void 0,error:void 0};if(d.options.method&&(d.options.method=d.options.method.toUpperCase()),d.options.onRequest&&(await hu(d,d.options.onRequest),d.options.headers instanceof r||(d.options.headers=new r(d.options.headers||{}))),typeof d.request=="string"&&(d.options.baseURL&&(d.request=dL(d.request,d.options.baseURL)),d.options.query&&(d.request=_f(d.request,d.options.query),delete d.options.query),"query"in d.options&&delete d.options.query,"params"in d.options&&delete d.options.params),d.options.body&&mv(d.options.method))if(wL(d.options.body)){const m=d.options.headers.get("content-type");typeof d.options.body!="string"&&(d.options.body=m==="application/x-www-form-urlencoded"?new URLSearchParams(d.options.body).toString():JSON.stringify(d.options.body)),m||d.options.headers.set("content-type","application/json"),d.options.headers.has("accept")||d.options.headers.set("accept","application/json")}else("pipeTo"in d.options.body&&typeof d.options.body.pipeTo=="function"||typeof d.options.body.pipe=="function")&&("duplex"in d.options||(d.options.duplex="half"));let p;if(!d.options.signal&&d.options.timeout){const m=new o;p=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,m.abort(g)},d.options.timeout),d.options.signal=m.signal}try{d.response=await e(d.request,d.options)}catch(m){return d.error=m,d.options.onRequestError&&await hu(d,d.options.onRequestError),await i(d)}finally{p&&clearTimeout(p)}if((d.response.body||d.response._bodyInit)&&!RL.has(d.response.status)&&d.options.method!=="HEAD"){const m=(d.options.parseResponse?"json":d.options.responseType)||AL(d.response.headers.get("content-type")||"");switch(m){case"json":{const g=await d.response.text(),v=d.options.parseResponse||Yl;d.response._data=v(g);break}case"stream":{d.response._data=d.response.body||d.response._bodyInit;break}default:d.response._data=await d.response[m]()}}return d.options.onResponse&&await hu(d,d.options.onResponse),!d.options.ignoreResponseError&&d.response.status>=400&&d.response.status<600?(d.options.onResponseError&&await hu(d,d.options.onResponseError),await i(d)):d.response},a=async function(c,u){return(await s(c,u))._data};return a.raw=s,a.native=(...l)=>e(...l),a.create=(l={},c={})=>TA({...n,...c,defaults:{...n.defaults,...c.defaults,...l}}),a}const Ed=(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")})(),CL=Ed.fetch?(...n)=>Ed.fetch(...n):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),OL=Ed.Headers,kL=Ed.AbortController,LL=TA({fetch:CL,Headers:OL,AbortController:kL}),DL=LL,xL=()=>window?.__NUXT__?.config||{},ng=()=>xL().app,NL=()=>ng().baseURL,VL=()=>ng().buildAssetsDir,rg=(...n)=>wA(AA(),VL(),...n),AA=(...n)=>
19{const e=ng(),r=e.cdnURL||e.baseURL;return n.length?wA(r,...n):r};globalThis.__buildAssetsURL=rg,globalThis.__publicAssetsURL=AA;globalThis.$fetch||(globalThis.$fetch=DL.create({baseURL:NL()}));"global"in globalThis||(globalThis.global=globalThis);function sm(n,e={},r){for(const o in n){const i=n[o],s=r?`${r}:${o}`:o;typeof i=="object"&&i!==null?sm(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const ML={run:n=>n()},FL=()=>ML,IA=typeof console.createTask<"u"?console.createTask:FL;function UL(n,e){const r=e.shift(),o=IA(r);return n.reduce((i,s)=>i.then(()=>o.run(()=>s(...e))),Promise.resolve())}function BL(n,e){const r=e.shift(),o=IA(r);return Promise.all(n.map(i=>o.run(()=>i(...e))))}function Op(n,e){for(const r of[...n])r(e)}class jL{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,r,o={}){if(!e||typeof r!="function")return()=>{};const i=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(r),()=>{r&&(this.removeHook(e,r),r=void 0)}}hookOnce(e,r){let o,i=(...s)=>(typeof o=="function"&&o(),o=void 0,i=void 0,r(...s));return o=this.hook(e,i),o}removeHook(e,r){if(this._hooks[e]){const o=this._hooks[e].indexOf(r);o!==-1&&this._hooks[e].splice(o,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,r){this._deprecatedHooks[e]=typeof r=="string"?{to:r}:r;const o=this._hooks[e]||[];delete this._hooks[e];for(const i of o)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const r in e)this.deprecateHook(r,e[r])}addHooks(e){const r=sm(e),o=Object.keys(r).map(i=>this.hook(i,r[i]));return()=>{for(const i of o.splice(0,o.length))i()}}removeHooks(e){const r=sm(e);for(const o in r)this.removeHook(o,r[o])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...r){return r.unshift(e),this.callHookWith(UL,e,...r)}callHookParallel(e,...r){return r.unshift(e),this.callHookWith(BL,e,...r)}callHookWith(e,r,...o){const i=this._before||this._after?{name:r,args:o,context:{}}:void 0;this._before&&Op(this._before,i);const s=e(r in this._hooks?[...this._hooks[r]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&i&&Op(this._after,i)}):(this._after&&i&&Op(this._after,i),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const r=this._before.indexOf(e);r!==-1&&this._before.splice(r,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const r=this._after.indexOf(e);r!==-1&&this._after.splice(r,1)}}}}function SA(){return new jL}function $L(n={}){let e,r=!1;const o=a=>{if(e&&e!==a)throw new Error("Context conflict")};let i;if(n.asyncContext){const a=n.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?i=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>
19{if(i){const a=i.getStore();if(a!==void 0)return a}return e};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,l)=>{l||o(a),e=a,r=!0},unset:()=>{e=void 0,r=!1},call:(a,l)=>{o(a),e=a;try{return i?i.run(a,l):l()}finally{r||(e=void 0)}},async callAsync(a,l){e=a;const c=()=>{e=a},u=()=>e===a?c:void 0;am.add(u);try{const d=i?i.run(a,l):l();return r||(e=void 0),await d}finally{am.delete(u)}}}}function zL(n={}){const e={};return{get(r,o={}){return e[r]||(e[r]=$L({...n,...o})),e[r]}}}const wd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},_v="__unctx__",HL=wd[_v]||(wd[_v]=zL()),qL=(n,e={})=>HL.get(n,e),gv="__unctx_async_handlers__",am=wd[gv]||(wd[gv]=new Set);function jt(n){const e=[];for(const i of am){const s=i();s&&e.push(s)}const r=()=>{for(const i of e)i()};let o=n();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(i=>{throw r(),i})),[o,r]}const GL=!1,yv=!1,WL=!1,KL={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},YL=null,JL="#__nuxt",PA="nuxt-app",vv=36e5,QL="vite:preloadError";function RA(n=PA){return qL(n,{asyncContext:!1})}const XL="__nuxt_plugin";function ZL(n){let e=0;const r={_id:n.id||PA||"nuxt-app",_scope:_c(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.19.3"},get vue(){return r.vueApp.version}},payload:yo({...n.ssrContext?.payload||{},data:yo({}),state:di({}),once:new Set,_errors:yo({})}),static:{data:{}},runWithContext(i){return r._scope.active&&!gc()?r._scope.run(()=>Ev(r,i)):Ev(r,i)},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};e++;let i=!1;return()=>{if(!i&&(i=!0,e--,e===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:yo({}),_payloadRevivers:{},...n};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(r.payload[s],i[s]);break;default:r.payload[s]=i[s]}}r.hooks=SA(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(i,s)=>{const a="$"+i;mu(r,a,s),mu(r.vueApp.config.globalProperties,a,s)},mu(r.vueApp,"$nuxt",r),mu(r.vueApp.config.globalProperties,"$nuxt",r);{window.addEventListener(QL,s=>{r.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=xe;const i=r.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});r.hook("app:mounted",i)}const o=r.payload.config;return r.provide("config",o),r}function eD(n,e){e.hooks&&n.hooks.addHooks(e.hooks)}async function tD(n,e){if(typeof e=="function"){const{provide:r}=await n.runWithContext(()=>e(n))||{};if(r&&typeof r=="object")for(const o in r)n.provide(o,r[o])}}async function nD(n,e){const r=new Set,o=[],i=[];let s,a=0;async function l(c){const u=c.dependsOn?.filter(d=>e.some(p=>p._name===d)&&!r.has(d))??[];if(u.length>0)o.push([new Set(u),c]);else{const d=tD(n,c).then(async()=>{c._name&&(r.add(c._name),await Promise.all(o.map(async([p,h])=>{p.has(c._name)&&(p.delete(c._name),p.size===0&&(a++,await l(h)))})))}).catch(p=>{if(!c.parallel&&!n.payload.error)throw p;s||=p});c.parallel?i.push(d):await d}}for(const c of e)eD(n,c);for(const c of e)await l(c);if(await Promise.all(i),a)for(let c=0;c<a;c++)await Promise.all(i);if(s)throw n.payload.error||s}function It(n){if(typeof n=="function")return n;const e=n._name||n.name;return delete n.name,Object.assign(n.setup||(()=>{}),n,{[XL]:!0,_name:e})}function Ev(n,e,r){const o=()=>e();return RA(n._id).set(n),n.vueApp.runWithContext(o)}function CA(n){let e;return Ec()&&(e=Gr()?.appContext.app.$nuxt),e||=RA(n).tryUse(),e||null}function xe(n){const e=CA(n);if(!e)throw new Error("[nuxt] instance unavailable");return e}function Do(n){return xe().$config}function mu(n,e,r){Object.defineProperty(n,e,{get:()=>r})}function rD(n,e){return{ctx:{table:n},matchAll:r=>kA(r,n)}}function OA(n){const e={};for(const r in n)e[r]=r==="dynamic"?new Map(Object.entries(n[r]).map(([o,i])=>[o,OA(i)])):new Map(Object.entries(n[r]));return e}function oD(n){return rD(OA(n))}function kA(n,e,r){n.endsWith("/")&&(n=n.slice(0,-1)||"/");const o=[];for(const[s,a]of wv(e.wildcard))(n===s||n.startsWith(s+"/"))&&o.push(a);for(const[s,a]of wv(e.dynamic))if(n.startsWith(s+"/")){const l="/"+n.slice(s.length).split("/").splice(2).join("/");o.push(...kA(l,a))}const i=e.static.get(n);
19return i&&o.push(i),o.filter(Boolean)}function wv(n){return[...n.entries()].sort((e,r)=>e[0].length-r[0].length)}function kp(n){if(n===null||typeof n!="object")return!1;const e=Object.getPrototypeOf(n);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in n?!1:Symbol.toStringTag in n?Object.prototype.toString.call(n)==="[object Module]":!0}function lm(n,e,r=".",o){if(!kp(e))return lm(n,{},r,o);const i={...e};for(const s of Object.keys(n)){if(s==="__proto__"||s==="constructor")continue;const a=n[s];a!=null&&(o&&o(i,s,a,r)||(Array.isArray(a)&&Array.isArray(i[s])?i[s]=[...a,...i[s]]:kp(a)&&kp(i[s])?i[s]=lm(a,i[s],(r?`${r}.`:"")+s.toString(),o):i[s]=a))}return i}function LA(n){return(...e)=>e.reduce((r,o)=>lm(r,o,"",n),{})}const gf=LA();function iD(n,e){try{return e in n}catch{return!1}}class bv extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,r={}){super(e,r),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const e={message:this.message,statusCode:cm(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=DA(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}function sD(n){if(typeof n=="string")return new bv(n);if(aD(n))return n;const e=new bv(n.message??n.statusMessage??"",{cause:n.cause||n});if(iD(n,"stack"))try{Object.defineProperty(e,"stack",{get(){return n.stack}})}catch{try{e.stack=n.stack}catch{}}if(n.data&&(e.data=n.data),n.statusCode?e.statusCode=cm(n.statusCode,e.statusCode):n.status&&(e.statusCode=cm(n.status,e.statusCode)),n.statusMessage?e.statusMessage=n.statusMessage:n.statusText&&(e.statusMessage=n.statusText),e.statusMessage){const r=e.statusMessage;DA(e.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return n.fatal!==void 0&&(e.fatal=n.fatal),n.unhandled!==void 0&&(e.unhandled=n.unhandled),e}function aD(n){return n?.constructor?.__h3_error__===!0}const lD=/[^\u0009\u0020-\u007E]/g;function DA(n=""){return n.replace(lD,"")}function cm(n,e=200){return!n||(typeof n=="string"&&(n=Number.parseInt(n,10)),n<100||n>999)?e:n}const xA=Symbol("layout-meta"),ws=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Zn=()=>xe()?.$router,Ls=()=>Ec()?zt(ws,xe()._route):xe()._route;const cD=(n,e,r={})=>{const o=xe(),i=r.global||typeof n!="string",s=e;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",n);return}i?o._middleware.global.push(s):o._middleware.named[n]=s},uD=()=>{try{if(xe()._processingMiddleware)return!0}catch{return!1}return!1},Kt=(n,e)=>{n||="/";const r=typeof n=="string"?n:"path"in n?um(n):Zn().resolve(n).href;if(e?.open){const{target:c="_blank",windowFeatures:u={}}=e.open,d=[];for(const[p,h]of Object.entries(u))h!==void 0&&d.push(`${p.toLowerCase()}=${h}`);return open(r,c,d.join(", ")),Promise.resolve()}const o=Er(r,{acceptRelative:!0}),i=e?.external||o;if(i){if(!e?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(r,window.location.href);if(c&&cL(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const s=uD();if(!i&&s){if(e?.replace){if(typeof n=="string"){const{pathname:c,search:u,hash:d}=Ea(n);return{path:c,...u&&{query:mf(u)},...d&&{hash:d},replace:!0}}return{...n,replace:!0}}return n}const a=Zn(),l=xe();return i?(l._scope.stop(),e?.replace?location.replace(r):location.href=r,s?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e?.replace?a.replace(n):a.push(n)};function um(n){return _f(n.path||"",n.query||{})+(n.hash||"")}const NA="__nuxt_error",yf=()=>j_(xe().payload,"error"),ss=n=>{const e=hs(n);try{const r=yf();xe().hooks.callHook("app:error",e),r.value||=e}catch{throw e}return e},dD=async(n={})=>{const e=xe(),r=yf();e.callHook("app:error:cleared",n),n.redirect&&await Zn().replace(n.redirect),r.value=YL},VA=n=>!!n&&typeof n=="object"&&NA in n,hs=n=>{const e=sD(n);return Object.defineProperty(e,NA,{value:!0,configurable:!1,writable:!1}),e};function fD(n){const e=hD(n),r=new ArrayBuffer(e.length),o=new DataView(r);for(let i=0;i<r.byteLength;i++)o.setUint8(i,e.charCodeAt(i));return r}const pD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19+/";function hD(n){n.length%4===0&&(n=n.replace(/==?$/,""));let e="",r=0,o=0;for(let i=0;i<n.length;i++)r<<=6,r|=pD.indexOf(n[i]),o+=6,o===24&&(e+=String.fromCharCode((r&16711680)>>16),e+=String.fromCharCode((r&65280)>>8),e+=String.fromCharCode(r&255),r=o=0);return o===12?(r>>=4,e+=String.fromCharCode(r)):o===18&&(r>>=2,e+=String.fromCharCode((r&65280)>>8),e+=String.fromCharCode(r&255)),e}const mD=-1,_D=-2,gD=-3,yD=-4,vD=-5,ED=-6;function wD(n,e){return bD(JSON.parse(n),e)}function bD(n,e){if(typeof n=="number")return i(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const r=n,o=Array(r.length);function i(s,a=!1){if(s===mD)return;if(s===gD)return NaN;if(s===yD)return 1/0;if(s===vD)return-1/0;if(s===ED)return-0;if(a||typeof s!="number")throw new Error("Invalid input");if(s in o)return o[s];const l=r[s];if(!l||typeof l!="object")o[s]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=e?.[c];if(u)return o[s]=u(i(l[1]));switch(c){case"Date":o[s]=new Date(l[1]);break;case"Set":const d=new Set;o[s]=d;for(let m=1;m<l.length;m+=1)d.add(i(l[m]));break;case"Map":const p=new Map;o[s]=p;for(let m=1;m<l.length;m+=2)p.set(i(l[m]),i(l[m+1]));break;case"RegExp":o[s]=new RegExp(l[1],l[2]);break;case"Object":o[s]=Object(l[1]);break;case"BigInt":o[s]=BigInt(l[1]);break;case"null":const h=Object.create(null);o[s]=h;for(let m=1;m<l.length;m+=2)h[l[m]]=i(l[m+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const m=globalThis[c],g=new m(i(l[1]));o[s]=l[2]!==void 0?g.subarray(l[2],l[3]):g;break}case"ArrayBuffer":{const m=l[1],g=fD(m);o[s]=g;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 m=c.slice(9);o[s]=Temporal[m].from(l[1]);break}case"URL":{const m=new URL(l[1]);o[s]=m;break}case"URLSearchParams":{const m=new URLSearchParams(l[1]);o[s]=m;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);o[s]=c;for(let u=0;u<l.length;u+=1){const d=l[u];d!==_D&&(c[u]=i(d))}}else{const c={};o[s]=c;for(const u in l){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=l[u];c[u]=i(d)}}return o[s]}return i(0)}const TD=new Set(["link","style","script","noscript"]),AD=new Set(["title","titleTemplate","script","style","noscript"]),Tv=new Set(["base","meta","link","style","script","noscript"]),ID=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),SD=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),PD=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),RD=new Set(["templateParams","htmlAttrs","bodyAttrs"]),CD=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const OD=["name","property","http-equiv"],kD=new Set(["viewport","description","keywords","robots"]);function MA(n){const e=n.split(":");return e.length?CD.has(e[1]):!1}function dm(n){const{props:e,tag:r}=n;if(SD.has(r))return r;if(r==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(n.tag==="meta"){for(const o of OD)if(e[o]!==void 0){const i=e[o],s=i.includes(":"),a=kD.has(i),c=!(s||a)&&n.key?`:key:${n.key}`:"";return`${r}:${i}${c}`}}if(n.key)return`${r}:key:${n.key}`;if(e.id)return`${r}:id:${e.id}`;if(AD.has(r)){const o=n.textContent||n.innerHTML;if(o)return`${r}:content:${o}`}}function Av(n){const e=n._h||n._d;if(e)return e;const r=n.textContent||n.innerHTML;return r||`${n.tag}:${Object.entries(n.props).map(([o,i])=>`${o}:${String(i)}`).join(",")}`}function bd(n,e,r){typeof n==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(n=n());let i;if(e&&(i=e(r,n)),Array.isArray(i))return i.map(s=>bd(s,e));if(i?.constructor===Object){const s={};for(const a of Object.keys(i))s[a]=bd(i[a],e,a);return s}return i}function LD(n,e){const r=n==="style"?new Map:new Set;function o(i){const s=i.trim();if(s)if(n==="style"){const[a,...l]=s.split(":").map(c=>c.trim());a&&l.length&&r.set(a,l.join(":"))}
19else s.split(" ").filter(Boolean).forEach(a=>r.add(a))}return typeof e=="string"?n==="style"?e.split(";").forEach(o):o(e):Array.isArray(e)?e.forEach(i=>o(i)):e&&typeof e=="object"&&Object.entries(e).forEach(([i,s])=>{s&&s!=="false"&&(n==="style"?r.set(i.trim(),s):o(i))}),r}function FA(n,e){return n.props=n.props||{},e?n.tag==="templateParams"?(n.props=e,n):(Object.entries(e).forEach(([r,o])=>{if(o===null){n.props[r]=null;return}if(r==="class"||r==="style"){n.props[r]=LD(r,o);return}if(PD.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof o=="object"){let a=e.type;if(e.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;e.type=a,n.props.type=a,n[r]=JSON.stringify(o)}else n[r]=o;return}const i=String(o),s=r.startsWith("data-");i==="true"||i===""?n.props[r]=s?i:!0:!o&&s&&i==="false"?n.props[r]="false":o!==void 0&&(n.props[r]=o)}),n):n}function DD(n,e){const r=typeof e=="object"&&typeof e!="function"?e:{[n==="script"||n==="noscript"||n==="style"?"innerHTML":"textContent"]:e},o=FA({tag:n,props:{}},r);return o.key&&TD.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function xD(n,e){if(!n)return[];typeof n=="function"&&(n=n());const r=(i,s)=>{for(let a=0;a<e.length;a++)s=e[a](i,s);return s};n=r(void 0,n);const o=[];return n=bd(n,r),Object.entries(n||{}).forEach(([i,s])=>{if(s!==void 0)for(const a of Array.isArray(s)?s:[s])o.push(DD(i,a))}),o.flat()}const fm=(n,e)=>n._w===e._w?n._p-e._p:n._w-e._w,Iv={base:-10,title:10},ND={critical:-8,high:-1,low:2},Sv={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}},VD=/@import/,dl=n=>n===""||n===!0;function MD(n,e){if(typeof e.tagPriority=="number")return e.tagPriority;let r=100;const o=ND[e.tagPriority]||0,i=n.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Sv;if(e.tag in Iv)r=Iv[e.tag];else if(e.tag==="meta"){const s=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;s&&(r=Sv.meta[s])}else e.tag==="link"&&e.props.rel?r=i.link[e.props.rel]:e.tag==="script"?dl(e.props.async)?r=i.script.async:e.props.src&&!dl(e.props.defer)&&!dl(e.props.async)&&e.props.type!=="module"&&!e.props.type?.endsWith("json")?r=i.script.sync:dl(e.props.defer)&&e.props.src&&!dl(e.props.async)&&(r=i.script.defer):e.tag==="style"&&(r=e.innerHTML&&VD.test(e.innerHTML)?i.style.imported:i.style.sync);return(r||100)+o}function Pv(n,e){const r=typeof e=="function"?e(n):e,o=r.key||String(n.plugins.size+1);n.plugins.get(o)||(n.plugins.set(o,r),n.hooks.addHooks(r.hooks||{}))}function FD(n={}){const e=SA();e.addHooks(n.hooks||{});const r=!n.document,o=new Map,i=new Map,s=new Set,a={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:n,hooks:e,ssr:r,entries:o,headEntries(){return[...o.values()]},use:l=>Pv(a,l),push(l,c){const u={...c||{}};delete u.head;const d=u._index??a._entryCount++,p={_i:d,input:l,options:u},h={_poll(m=!1){a.dirty=!0,!m&&s.add(d),e.callHook("entries:updated",a)},dispose(){o.delete(d)&&a.invalidate()},patch(m){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(p.input=m,o.set(d,p),h._poll())}};return h.patch(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await e.callHook("entries:resolve",l);s.size;){const h=s.values().next().value;s.delete(h);const m=o.get(h);if(m){const g={tags:xD(m.input,n.propResolvers||[]).map(v=>Object.assign(v,m.options)),entry:m};await e.callHook("entries:normalize",g),m._tags=g.tags.map((v,w)=>(v._w=MD(a,v),v._p=(m._i<<10)+w,v._d=dm(v),v))}}let c=!1;l.entries.flatMap(h=>(h._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(fm).reduce((h,m)=>{const g=String(m._d||m._p);if(!h.has(g))return h.set(g,m);const v=h.get(g);if((m?.tagDuplicateStrategy||(RD.has(m.tag)?"merge":null)||(m.key&&m.key===v.ke
19y?"merge":null))==="merge"){const I={...v.props};Object.entries(m.props).forEach(([b,E])=>I[b]=b==="style"?new Map([...v.props.style||new Map,...E]):b==="class"?new Set([...v.props.class||new Set,...E]):E),h.set(g,{...m,props:I})}else m._p>>10===v._p>>10&&m.tag==="meta"&&MA(g)?(h.set(g,Object.assign([...Array.isArray(v)?v:[v],m],m)),c=!0):(m._w===v._w?m._p>v._p:m?._w<v?._w)&&h.set(g,m);return h},l.tagMap);const u=l.tagMap.get("title"),d=l.tagMap.get("titleTemplate");if(a._title=u?.textContent,d){const h=d?.textContent;if(a._titleTemplate=h,h){let m=typeof h=="function"?h(u?.textContent):h;typeof m=="string"&&!a.plugins.has("template-params")&&(m=m.replace("%s",u?.textContent||"")),u?m===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:m}):(d.tag="title",d.textContent=m)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(fm)),await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l);const p=[];for(const h of l.tags){const{innerHTML:m,tag:g,props:v}=h;if(ID.has(g)&&!(Object.keys(v).length===0&&!h.innerHTML&&!h.textContent)&&!(g==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(g==="script"&&m){if(v.type?.endsWith("json")){const w=typeof m=="string"?m:JSON.stringify(m);h.innerHTML=w.replace(/</g,"\\u003C")}else typeof m=="string"&&(h.innerHTML=m.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));h._d=dm(h)}p.push(h)}}return p},invalidate(){for(const l of o.values())s.add(l._i);a.dirty=!0,e.callHook("entries:updated",a)}};return(n?.plugins||[]).forEach(l=>Pv(a,l)),a.hooks.callHook("init",a),n.init?.forEach(l=>l&&a.push(l)),a}const Lp="%separator";function UD(n,e,r=!1){let o;if(e==="s"||e==="pageTitle")o=n.pageTitle;else if(e.includes(".")){const i=e.indexOf(".");o=n[e.substring(0,i)]?.[e.substring(i+1)]}else o=n[e];if(o!==void 0)return r?(o||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):o||""}function _u(n,e,r,o=!1){if(typeof n!="string"||!n.includes("%"))return n;let i=n;try{i=decodeURI(n)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return n;const a=n.includes(Lp);return n=n.replace(/%\w+(?:\.\w+)?/g,l=>{if(l===Lp||!s.includes(l))return l;const c=UD(e,l.slice(1),o);return c!==void 0?c:l}).trim(),a&&(n=n.split(Lp).map(l=>l.trim()).filter(l=>l!=="").join(r?` ${r} `:" ")),n}const Rv=n=>n.includes(":key")?n:n.split(":").join(":key:"),BD={key:"aliasSorting",hooks:{"tags:resolve":n=>{let e=!1;for(const r of n.tags){const o=r.tagPriority;if(!o)continue;const i=String(o);if(i.startsWith("before:")){const s=Rv(i.slice(7)),a=n.tagMap.get(s);a&&(typeof a.tagPriority=="number"&&(r.tagPriority=a.tagPriority),r._p=a._p-1,e=!0)}else if(i.startsWith("after:")){const s=Rv(i.slice(6)),a=n.tagMap.get(s);a&&(typeof a.tagPriority=="number"&&(r.tagPriority=a.tagPriority),r._p=a._p+1,e=!0)}}e&&(n.tags=n.tags.sort(fm))}}},jD={key:"deprecations",hooks:{"entries:normalize":({tags:n})=>{for(const e of n)e.props.children&&(e.innerHTML=e.props.children,delete e.props.children),e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.body&&(e.tagPosition="bodyClose",delete e.props.body)}}};async function pm(n){if(typeof n==="function")return n;if(n instanceof Promise)return await n;if(Array.isArray(n))return await Promise.all(n.map(r=>pm(r)));if(n?.constructor===Object){const r={};for(const o of Object.keys(n))r[o]=await pm(n[o]);return r}return n}const $D={key:"promises",hooks:{"entries:resolve":async n=>{const e=[];for(const r in n.entries)n.entries[r]._promisesProcessed||e.push(pm(n.entries[r].input).then(o=>{n.entries[r].input=o,n.entries[r]._promisesProcessed=!0}));await Promise.all(e)}}},zD={meta:"content",link:"href",htmlAttrs:"lang"},HD=["innerHTML","textContent"],qD=n=>({key:"template-params",hooks:{"entries:normalize":e=>{const r=e.tags.filter(o=>o.tag==="templateParams"&&o.mode==="server")?.[0]?.props||{};Object.keys(r).length&&(n._ssrPayload={templateParams:{...n._ssrPayload?.templateParams||{},...r}})},"tags:resolve":({tagMap:e,tags:r})=>{const o=e.get("templateParams")?.props||{},i=o.separator||"|";delete o.separator,o.pageTitle=_u(o.pageTitle||n._title||"",o,i);for(const s of r){if(s.processTemplateParams===!1)continue;const a=zD[s.tag];if(a&&typeof s.props[a]=="string")s.props[a]=_u(s.props[a],o,i);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const l of HD)typeof s[l]=="string"&&(s[l]=_u(s[l],o,i,s.tag==="script"&&s.props.type.endsWith("json")))}n._templateParams=o,n._separator=i},"tags:afterResolve":({tagMap:e})=>{const r=e.get("title");r?.textContent&&r.processTemplateParams!==!1&&(r.textContent=_u(r.textContent,n._templateParams,n._separator))}}}),GD=(n,e)=>dt(e)?vo(e):e,og="usehead";function WD(n){return{install(r){r.config.globalProperties.$unhead=n,r.config.globalProperties.$head=n,r.provide(og,n)}}.install}function KD(){if(Ec()){const n=zt(og);if(!n)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return n}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function YD(n,e={}){const r=e.head||KD();return r.ssr?r.push(n||{},e):JD(r,n,e)}function JD(n,e,r={}){const o=me(!1);let i;return DO(()=>{const a=o.value?{}:bd(e,GD);i?i.patch(a):i=n.push(a,r)}),Gr()&&(Hi(()=>{i.dispose()}),G_(()=>{o.value=!0}),q_(()=>{o.value=!1})),i}function QD(n){const e=n||CA();return e?.ssrContext?.head||e?.runWithContext(()=>{if(Ec())return zt(og)})}function ig(n,e={}){const r=QD(e.nuxt);if(r)return YD(n,{head:r,...e})}const XD="modulepreload",ZD=function(n,e){return new URL(n,e).href},Cv={},_=function(e,r,o){let i=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>
19({status:"rejected",reason:h}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");i=u(r.map(d=>{if(d=ZD(d,o),d in Cv)return;Cv[d]=!0;const p=d.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(o)for(let g=a.length-1;g>=0;g--){const v=a[g];if(v.href===d&&(!p||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":XD,p||(m.as="script"),m.crossOrigin="",m.href=d,c&&m.setAttribute("nonce",c),document.head.appendChild(m),p)return new Promise((g,v)=>{m.addEventListener("load",g),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return i.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return e().catch(s)})};let Fu,Uu;function ex(){return Fu=$fetch(rg(`builds/meta/${Do().app.buildId}.json`),{responseType:"json"}),Fu.then(n=>{Uu=oD(n.matcher)}).catch(n=>{console.error("[nuxt] Error fetching app manifest.",n)}),Fu}function vf(){return Fu||ex()}async function sg(n){const e=typeof n=="string"?n:n.path;if(await vf(),!Uu)return console.error("[nuxt] Error creating app manifest matcher.",Uu),{};try{return gf({},...Uu.matchAll(e).reverse())}catch(r){return console.error("[nuxt] Error matching route rules.",r),{}}}async function Ov(n,e={}){if(!await BA(n))return null;const o=await nx(n,e);return await UA(o)||null}const tx="_payload.json";async function nx(n,e={}){const r=new URL(n,"http://localhost");if(r.host!=="localhost"||Er(r.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+n);const o=Do(),i=e.hash||(e.fresh?Date.now():o.app.buildId),s=o.app.cdnURL,a=s&&await BA(n)?s:o.app.baseURL;return Lr(a,r.pathname,tx+(i?`?${i}`:""))}async function UA(n){const e=fetch(n,{cache:"force-cache"}).then(r=>r.text().then(jA));try{return await e}catch(r){console.warn("[nuxt] Cannot load payload ",n,r)}return null}async function BA(n=Ls().path){const e=xe();return n=n.replace(/\/$/,""),(await vf()).prerendered.includes(n)?!0:e.runWithContext(async()=>{const o=await sg({path:n});return!!o.prerender&&!o.redirect})}let rs=null;async function rx(){if(rs)return rs;const n=document.getElementById("__NUXT_DATA__");if(!n)return{};const e=await jA(n.textContent||""),r=n.dataset.src?await UA(n.dataset.src):void 0;return rs={...e,...r,...window.__NUXT__},rs.config?.public&&(rs.config.public=di(rs.config.public)),rs}async function jA(n){return await wD(n,xe()._payloadRevivers)}function ox(n,e){xe()._payloadRevivers[n]=e}const ix=[["NuxtError",n=>hs(n)],["EmptyShallowRef",n=>oi(n==="_"?void 0:n==="0n"?BigInt(0):Yl(n))],["EmptyRef",n=>me(n==="_"?void 0:n==="0n"?BigInt(0):Yl(n))],["ShallowRef",n=>oi(n)],["ShallowReactive",n=>yo(n)],["Ref",n=>me(n)],["Reactive",n=>di(n)]],sx=It({name:"nuxt:revive-payload:client",order:-30,async setup(n){let e,r;for(const[o,i]of ix)ox(o,i);Object.assign(n.payload,([e,r]=jt(()=>n.runWithContext(rx)),e=await e,r(),e)),window.__NUXT__=n.payload}});async function ag(n,e={}){const r=e.document||n.resolvedOptions.document;if(!r||!n.dirty)return;const o={shouldRender:!0,tags:[]};if(await n.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return n._domUpdatePromise||(n._domUpdatePromise=new Promise(async i=>{const s=new Map,a=new Promise(m=>{n.resolveTags().then(g=>{m(g.map(v=>{const w=s.get(v._d)||0,I={tag:v,id:(w?`${v._d}:${w}`:v._d)||Av(v),shouldRender:!0};return v._d&&MA(v._d)&&s.set(v._d,w+1),I}))})});let l=n._dom;if(!l){l={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const g=r[m]?.children;for(const v of g){const w=v.tagName.toLowerCase();if(!Tv.has(w))continue;const I=FA({tag:w,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((b,E)=>(b[E]=v.getAttribute(E),b),{})||{}});if(I.key=v.getAttribute("data-hid")||void 0,I._d=dm(I)||Av(I),l.elMap.has(I._d)){let b=1,E=I._d;for(;l.elMap.has(E);)E=`${I._d}:${b++}`;l.elMap.set(E,v)}else l.elMap.set(I._d,v)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function c(m,g,v){const w=`${m}:${g}`;l.sideEffects[w]=v,delete l.pendingSideEffects[w]}function u({id:m,$el:g,tag:v}){const w=v.tag.endsWith("Attrs");l.elMap.set(m,g),w||(v.textContent&&v.textContent!==g.textContent&&(g.textContent=v.textContent),v.innerHTML&&v.innerHTML!==g.innerHTML&&(g.innerHTML=v.innerHTML),c(m,"el",()=>{g?.remove(),l.elMap.delete(m)}));for(const I in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,I))continue;const b=v.props[I];if(I.startsWith("on")&&typeof b=="function"){const P=g?.dataset;if(P&&P[`${I}fired`]){const D=I.slice(0,-5);b.call(g,new Event(D.substring(2)))}g.getAttribute(`data-${I}`)!==""&&((v.tag==="bodyAttrs"?r.defaultView:g).addEventListener(I.substring(2),b.bind(g)),g.setAttribute(`data-${I}`,""));continue}const E=`attr:${I}`;if(I==="class"){if(!b)continue;for(const P of b)w&&c(m,`${E}:${P}`,()=>g.classList.remove(P)),!g.classList.contains(P)&&g.classList.add(P)}else if(I==="style"){if(!b)continue;for(const[P,D]of b)c(m,`${E}:${P}`,()=>{g.style.removeProperty(P)}),g.style.setProperty(P,D)}else b!==!1&&b!==null&&(g.getAttribute(I)!==b&&g.setAttribute(I,b===!0?"":String(b)),w&&c(m,E,()=>g.removeAttribute(I)))}}const d=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await a;for(const m of h){const{tag:g,shouldRender:v,id:w}=m;if(v){if(g.tag==="title"){r.title=g.textContent,c("title","",()=>r.title=l.title);continue}m.$el=m.$el||l.elMap.get(w),m.$el?u(m):Tv.has(g.tag)&&d.push(m)}}for(const m of d){const g=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),u(m),p[g]=p[g]||r.createDocumentFragment(),p[g].appendChild(m.$el)}for(const m of h)await n.hooks.callHook("dom:renderTag",m,r,c);p.head&&r.head.appendChild(p.head),p.bodyOpen&&r.body.insertBefore(p.bodyOpen,r.body.firstChild),p.bodyClose&&r.body.appendChild(p.bodyClose);for(const m in l.pendingSideEffects)l.pendingSideEffects[m]();n._dom=l,await n.hooks.callHook("dom:rendered",{renders:h}),i()}).finally(()=>{n._domUpdatePromise=void 0,n.dirty=!1})),n._domUpdatePromise}function ax(n={}){const e=n.domOptions?.render||ag;n.document=n.document||(typeof window<"u"?document:void 0);const r=n.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return FD({...n,plugins:[...n.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[r?JSON.parse(r):!1,...n.init||[]]})}function lx(n,e){let r=0;return()=>{const o=++r;e(()=>{r===o&&n()})}}function cx(n={}){const e=ax({domOptions:{render:lx(()=>ag(e),r=>setTimeout(r,0))},...n});return e.install=WD(e),e}const ux={disableDefaults:!0,disableCapoSorting:!1,plugins:[jD,$D,qD,BD]},dx=It({name:"nuxt:head",enforce:"pre",setup(n){const e=cx(ux);n.vueApp.use(e);{let r=!0;const o=async()=>{r=!1,await ag(e)};e.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!r}),n.hooks.hook("page:start",()=>{r=!0}),n.hooks.hook("page:finish",()=>{n.isHydrating||o()}),n.hooks.hook("app:error",o),n.hooks.hook("app:suspense:resolve",o)}}});/*! 20 * vue-router v4.6.0 21 * (c) 2025 Eduardo San Martin Morote 22 * @license MIT 23 */const Gs=typeof document<"u";function $A(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function fx(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&$A(n.default)}const at=Object.assign;function Dp(n,e){const r={};for(const o in e){const i=e[o];r[o]=oo(i)?i.map(n):n(i)}return r}const Nl=()=>{},oo=Array.isArray;function kv(n,e){const r={};for(const o in n)r[o]=o in e?e[o]:n[o];return r}const zA=/#/g,px=/&/g,hx=/\//g,mx=/=/g,_x=/\?/g,HA=/\+/g,gx=/%5B/g,yx=/%5D/g,qA=/%5E/g,vx=/%60/g,GA=/%7B/g,Ex=/%7C/g,WA=/%7D/g,wx=/%20/g;function lg(n){return n==null?"":encodeURI(""+n).replace(Ex,"|").replace(gx,"[").replace(yx,"]")}function bx(n){return lg(n).replace(GA,"{").replace(WA,"}").replace(qA,"^")}function hm(n){return lg(n).replace(HA,"%2B").replace(wx,"+").replace(zA,"%23").replace(px,"%26").replace(vx,"`").replace(GA,"{").replace(WA,"}").replace(qA,"^")}function Tx(n){return hm(n).replace(mx,"%3D")}function Ax(n){return lg(n).replace(zA,"%23").replace(_x,"%3F")}function Ix(n){return Ax(n).replace(hx,"%2F")}function Xl(n){if(n==null)return null;try{return decodeURIComponent(""+n)}catch{}return""+n}const Sx=/\/$/,Px=n=>n.replace(Sx,"");function xp(n,e,r="/"){let o,i={},s="",a="";const l=e.indexOf("#");let c=e.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(o=e.slice(0,c),s=e.slice(c,l>0?l:e.length),i=n(s)),l>=0&&(o=o||e.slice(0,l),a=e.slice(l,e.length)),o=kx(o??e,r),{fullPath:o+s+a,path:o,query:i,hash:Xl(a)}}function Rx(n,e){const r=e.query?n(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function Lv(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function Cx(n,e,r){const o=e.matched.length-1,i=r.matched.length-1;return o>-1&&o===i&&wa(e.matched[o],r.matched[i])&&KA(e.params,r.params)&&n(e.query)===n(r.query)&&e.hash===r.hash}function wa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function KA(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const r in n)if(!Ox(n[r],e[r]))return!1;return!0}function Ox(n,e){return oo(n)?Dv(n,e):oo(e)?Dv(e,n):n===e}function Dv(n,e){return oo(e)?n.length===e.length&&n.every((r,o)=>r===e[o]):n.length===1&&n[0]===e}function kx(n,e){if(n.startsWith("/"))return n;if(!n)return e;const r=e.split("/"),o=n.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let s=r.length-1,a,l;for(a=0;a<o.length;a++)if(l=o[a],l!==".")if(l==="..")s>1&&s--;else break;return r.slice(0,s).join("/")+"/"+o.slice(a).join("/")}const Fr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let mm=(function(n){return n.pop="pop",n.push="push",n})({}
vendor: 9,546 bytes, lines 23-27
23),Np=(function(n){return n.back="back",n.forward="forward",n.unknown="",n})({});function Lx(n){if(!n)if(Gs){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Px(n)}const Dx=/^[^#]+#/;function xx(n,e){return n.replace(Dx,"#")+e}function Nx(n,e){const r=document.documentElement.getBoundingClientRect(),o=n.getBoundingClientRect();return{behavior:e.behavior,left:o.left-r.left-(e.left||0),top:o.top-r.top-(e.top||0)}}const Ef=()=>({left:window.scrollX,top:window.scrollY});function Vx(n){let e;if("el"in n){const r=n.el,o=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?o?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;e=Nx(i,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function xv(n,e){return(history.state?history.state.position-e:-1)+n}const _m=new Map;function Mx(n,e){_m.set(n,e)}function Fx(n){const e=_m.get(n);return _m.delete(n),e}function Ux(n){return typeof n=="string"||n&&typeof n=="object"}function YA(n){return typeof n=="string"||typeof n=="symbol"}let Ct=(function(n){return n[n.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",n[n.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",n[n.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",n[n.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",n[n.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",n})({});const JA=Symbol("");Ct.MATCHER_NOT_FOUND+"",Ct.NAVIGATION_GUARD_REDIRECT+"",Ct.NAVIGATION_ABORTED+"",Ct.NAVIGATION_CANCELLED+"",Ct.NAVIGATION_DUPLICATED+"";function ba(n,e){return at(new Error,{type:n,[JA]:!0},e)}function Fo(n,e){return n instanceof Error&&JA in n&&(e==null||!!(n.type&e))}const Bx=["params","query","hash"];function jx(n){if(typeof n=="string")return n;if(n.path!=null)return n.path;const e={};for(const r of Bx)r in n&&(e[r]=n[r]);return JSON.stringify(e,null,2)}function $x(n){const e={};if(n===""||n==="?")return e;const r=(n[0]==="?"?n.slice(1):n).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(HA," "),s=i.indexOf("="),a=Xl(s<0?i:i.slice(0,s)),l=s<0?null:Xl(i.slice(s+1));if(a in e){let c=e[a];oo(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Nv(n){let e="";for(let r in n){const o=n[r];if(r=Tx(r),o==null){o!==void 0&&(e+=(e.length?"&":"")+r);continue}(oo(o)?o.map(i=>i&&hm(i)):[o&&hm(o)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+r,i!=null&&(e+="="+i))})}return e}function zx(n){const e={};for(const r in n){const o=n[r];o!==void 0&&(e[r]=oo(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return e}const QA=Symbol(""),Vv=Symbol(""),cg=Symbol(""),ug=Symbol(""),gm=Symbol("");function fl(){let n=[];function e(o){return n.push(o),()=>{const i=n.indexOf(o);i>-1&&n.splice(i,1)}}function r(){n=[]}return{add:e,list:()=>n.slice(),reset:r}}function Hx(n,e,r){const o=()=>{n[e].delete(r)};qi(o),G_(o),q_(()=>{n[e].add(r)}),n[e].add(r)}function cQ(n){const e=zt(QA,{}).value;e&&Hx(e,"leaveGuards",n)}function Ii(n,e,r,o,i,s=a=>a()){const a=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(ba(Ct.NAVIGATION_ABORTED,{from:r,to:e})):h instanceof Error?c(h):Ux(h)?c(ba(Ct.NAVIGATION_GUARD_REDIRECT,{from:e,to:h})):(a&&o.enterCallbacks[i]===a&&typeof h=="function"&&a.push(h),l())},d=s(()=>n.call(o&&o.instances[i],e,r,u));let p=Promise.resolve(d);n.length<3&&(p=p.then(u)),p.catch(h=>c(h))})}function Vp(n,e,r,o,i=s=>s()){const s=[];for(const a of n)for(const l in a.components){let c=a.components[l];if(!(e!=="beforeRouteEnter"&&!a.instances[l]))if($A(c)){const u=(c.__vccOpts||c)[e];u&&s.push(Ii(u,r,o,a,l,i))}else{let u=c();s.push(()=>u.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=fx(d)?d.default:d;a.mods[l]=d,a.components[l]=p;const h=(p.__vccOpts||p)[e];return h&&Ii(h,r,o,a,l,i)()}))}}return s}function qx(n,e){const r=[],o=[],i=[],s=Math.max(e.matched.length,n.matched.length);for(let a=0;a<s;a++){const l=e.matched[a];l&&(n.matched.find(u=>wa(u,l))?o.push(l):r.push(l));const c=n.matched[a];c&&(e.matched.find(u=>wa(u,c))||i.push(c))}return[r,o,i]}/*! 24 * vue-router v4.6.0 25 * (c) 2025 Eduardo San Martin Morote 26 * @license MIT 27 */let Gx=()=>location.protocol+"//"+location.host;function XA(n,e){const{pathname:r,search:o,hash:i}=e,s=n.indexOf("#");if(s>-1){let a=i.includes(n.slice(s))?n.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Lv(l,"")}return Lv(r,n)+o+i}function Wx(n,e,r,o){let i=[],s=[],a=null;const l=({state:h})=>{const m=XA(n,location),g=r.value,v=e.value;let w=0;if(h){if(r.value=m,e.value=h,a&&a===g){a=null;return}w=v?h.position-v.position:0}else o(m);i.forEach(I=>{I(r.value,g,{delta:w,type:mm.pop,direction:w?w>0?Np.forward:Np.back:Np.unknown})})};function c(){a=r.value}function u(h){i.push(h);const m=()=>{const g=i.indexOf(h);g>-1&&i.splice(g,1)};return s.push(m),m}function d(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(at({},h.state,{scroll:Ef()}),"")}}function p(){for(const h of s)h();s=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:c,listen:u,destroy:p}}function Mv(n,e,r,o=!1,i=!1){return{back:n,current:e,forward:r,replaced:o,position:window.history.length,scroll:i?Ef():null}}function Kx(n){const{history:e,location:r}=window,o={value:XA(n,r)},i={value:e.state};i.value||s(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(c,u,d){const p=n.indexOf("#"),h=p>-1?(r.host&&document.querySelector("base")?n:n.slice(p))+c:Gx()+n+c;try{e[d?"replaceState":"pushState"](u,"",h),i.value=u}catch(m){console.error(m),r[d?"replace":"assign"](h)}}function a(c,u){s(c,at({},e.state,Mv(i.value.back,c,i.value.forward,!0),u,{position:i.value.position}),!0),o.value=c}function l(c,u){const d=at({},i.value,e.state,{forward:c,scroll:Ef()});s(d.current,d,!0),s(c,at({},Mv(o.value,c,null),{position:d.position+1},u),!1),o.value=c}return{location:o,state:i,push:l,replace:a}}function ZA(n){n=Lx(n);const e=Kx(n),r=Wx(n,e.state,e.location,e.replace);function o(s,a=!0){a||r.pauseListeners(),history.go(s)}const i=at({location:"",base:n,go:o,createHref:xx.bind(null,n)},e,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function Yx(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),ZA(n)}let ls=(function(n){return n[n.Static=0]="Static",n[n.Param=1]="Param",n[n.Group=2]="Group",n})({});var qt=(function(n){return n[n.Static=0]="Static",n[n.Param=1]="Param",n[n.ParamRegExp=2]="ParamRegExp",n[n.ParamRegExpEnd=3]="ParamRegExpEnd",n[n.EscapeNext=4]="EscapeNext",n})(qt||{});const Jx={type:ls.Static,value:""},Qx=/[a-zA-Z0-9_]/;function Xx(n){if(!n)return[[]];if(n==="/")return[[Jx]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(m){throw new Error(`ERR (${r})/"${u}": ${m}`)}let r=qt.Static,o=r;const i=[];let s;function a(){s&&i.push(s),s=[]}let l=0,c,u="",d="";function p(){u&&(r===qt.Static?s.push({type:ls.Static,value:u}):r===qt.Param||r===qt.ParamRegExp||r===qt.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:ls.Param,value:u,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):e("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;l<n.length;){if(c=n[l++],c==="\\"&&r!==qt.ParamRegExp){o=r,r=qt.EscapeNext;continue}switch(r){case qt.Static:c==="/"?(u&&p(),a()):c===":"?(p(),r=qt.Param):h();break;case qt.EscapeNext:h(),r=o;break;case qt.Param:c==="("?r=qt.ParamRegExp:Qx.test(c)?h():(p(),r=qt.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case qt.ParamRegExp:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:r=qt.ParamRegExpEnd:d+=c;break;case qt.ParamRegExpEnd:p(),r=qt.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,d="";break;default:e("Unknown state");break}}return r===qt.ParamRegExp&&e(`Unfinished custom RegExp for param "${u}"`),p(),a(),i}const Fv="[^/]+?",Zx={sensitive:!1,strict:!1,start:!0,end:!0};var _r=(function(n){return n[n._multiplier=10]="_multiplier",n[n.Root=90]="Root",n[n.Segment=40]="Segment",n[n.SubSegment=30]="SubSegment",n[n.Static=40]="Static",n[n.Dynamic=20]="Dynamic",n[n.BonusCustomRegExp=10]="BonusCustomRegExp",n[n.BonusWildcard=-50]="BonusWildcard",n[n.BonusRepeatable=-20]="BonusRepeatable",n[n.BonusOptional=-8]="BonusOptional",n[n.BonusStrict=.7000000000000001]="BonusStrict",n[n.BonusCaseSensitive=.25]="BonusCaseSensitive",n})(_r||{});const e5=/[.+*?^${}()[\]/\\]/g;function t5(n,e){const r=at({},Zx,e),o=[];let i=r.start?"^":"";const s=[];for(const u of n){const d=u.length?[]:[_r.Root];r.strict&&!u.length&&(i+="/");for(let p=0;p<u.length;p++){const h=u[p];let m=_r.Segment+(r.sensitive?_r.BonusCaseSensitive:0);if(h.type===ls.Static)p||(i+="/"),i+=h.value.replace(e5,"\\$&"),m+=_r.Static;else if(h.type===ls.Param){const{value:g,repeatable:v,optional:w,regexp:I}=h;s.push({name:g,repeatable:v,optional:w});const b=I||Fv;if(b!==Fv){m+=_r.BonusCustomRegExp;try{`${b}`}catch(P){throw new Error(`Invalid custom RegExp for param "${g}" (${b}): `+P.message)}}let E=v?`((?:${b}
27)(?:/(?:${b}))*)`:`(${b})`;p||(E=w&&u.length<2?`(?:/${E})`:"/"+E),w&&(E+="?"),i+=E,m+=_r.Dynamic,w&&(m+=_r.BonusOptional),v&&(m+=_r.BonusRepeatable),b===".*"&&(m+=_r.BonusWildcard)}d.push(m)}o.push(d)}if(r.strict&&r.end){const u=o.length-1;o[u][o[u].length-1]+=_r.BonusStrict}r.strict||(i+="/?"),r.end?i+="$":r.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const a=new RegExp(i,r.sensitive?"":"i");function l(u){const d=u.match(a),p={};if(!d)return null;for(let h=1;h<d.length;h++){const m=d[h]||"",g=s[h-1];p[g.name]=m&&g.repeatable?m.split("/"):m}return p}function c(u){let d="",p=!1;for(const h of n){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const m of h)if(m.type===ls.Static)d+=m.value;else if(m.type===ls.Param){const{value:g,repeatable:v,optional:w}=m,I=g in u?u[g]:"";if(oo(I)&&!v)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const b=oo(I)?I.join("/"):I;if(!b)if(w)h.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${g}"`);d+=b}}return d||"/"}return{re:a,score:o,keys:s,parse:l,stringify:c}}function n5(n,e){let r=0;for(;r<n.length&&r<e.length;){const o=e[r]-n[r];if(o)return o;r++}return n.length<e.length?n.length===1&&n[0]===_r.Static+_r.Segment?-1:1:n.length>e.length?e.length===1&&e[0]===_r.Static+_r.Segment?1:-1:0}function eI(n,e){let r=0;const o=n.score,i=e.score;for(;r<o.length&&r<i.length;){const s=n5(o[r],i[r]);if(s)return s;r++}if(Math.abs(i.length-o.length)===1){if(Uv(o))return 1;if(Uv(i))return-1}return i.length-o.length}function Uv(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const r5={strict:!1,end:!0,sensitive:!1};function o5(n,e,r){const o=t5(Xx(n.path),r),i=at(o,{record:n,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function i5(n,e){const r=[],o=new Map;e=kv(r5,e);function i(p){return o.get(p)}function s(p,h,m){const g=!m,v=jv(p);v.aliasOf=m&&m.record;const w=kv(e,p),I=[v];if("alias"in p){const P=typeof p.alias=="string"?[p.alias]:p.alias;for(const D of P)I.push(jv(at({},v,{components:m?m.record.components:v.components,path:D,aliasOf:m?m.record:v})))}let b,E;for(const P of I){const{path:D}=P;if(h&&D[0]!=="/"){const V=h.record.path,S=V[V.length-1]==="/"?"":"/";P.path=h.record.path+(D&&S+D)}if(b=o5(P,h,w),m?m.alias.push(b):(E=E||b,E!==b&&E.alias.push(b),g&&p.name&&!$v(b)&&a(p.name)),tI(b)&&c(b),v.children){const V=v.children;for(let S=0;S<V.length;S++)s(V[S],b,m&&m.children[S])}m=m||b}return E?()=>{a(E)}:Nl}function a(p){if(YA(p)){const h=o.get(p);h&&(o.delete(p),r.splice(r.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=r.indexOf(p);h>-1&&(r.splice(h,1),p.record.name&&o.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return r}function c(p){const h=l5(p,r);r.splice(h,0,p),p.record.name&&!$v(p)&&o.set(p.record.name,p)}function u(p,h){let m,g={},v,w;if("name"in p&&p.name){if(m=o.get(p.name),!m)throw ba(Ct.MATCHER_NOT_FOUND,{location:p});w=m.record.name,g=at(Bv(h.params,m.keys.filter(E=>!E.optional).concat(m.parent?m.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),p.params&&Bv(p.params,m.keys.map(E=>E.name))),v=m.stringify(g)}else if(p.path!=null)v=p.path,m=r.find(E=>E.re.test(v)),m&&(g=m.parse(v),w=m.record.name);else{if(m=h.name?o.get(h.name):r.find(E=>E.re.test(h.path)),!m)throw ba(Ct.MATCHER_NOT_FOUND,{location:p,currentLocation:h});w=m.record.name,g=at({},h.params,p.params),v=m.stringify(g)}const I=[];let b=m;for(;b;)I.unshift(b.record),b=b.parent;return{name:w,path:v,params:g,matched:I,meta:a5(I)}}n.forEach(p=>s(p));function d(){r.length=0,o.clear()}return{addRoute:s,resolve:u,removeRoute:a,clearRoutes:d,getRoutes:l,getRecordMatcher:i}}function Bv(n,e){const r={};for(const o of e)o in n&&(r[o]=n[o]);return r}function jv(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:s5(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function s5(n){const e={},r=n.props||!1;if("component"in n)e.default=r;else for(const o in n.components)e[o]=typeof r=="object"?r[o]:r;return e}function $v(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function a5(n){return n.reduce((e,r)=>at(e,r.meta),{})}function l5(n,e){let r=0,o=e.length;for(;r!==o;){const s=r+o>>1;eI(n,e[s])<0?o=s:r=s+1}
vendor: 5,430 bytes, line 27
27const i=c5(n);return i&&(o=e.lastIndexOf(i,o-1)),o}function c5(n){let e=n;for(;e=e.parent;)if(tI(e)&&eI(n,e)===0)return e}function tI({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function zv(n){const e=zt(cg),r=zt(ug),o=z(()=>{const c=Q(n.to);return e.resolve(c)}),i=z(()=>{const{matched:c}=o.value,{length:u}=c,d=c[u-1],p=r.matched;if(!d||!p.length)return-1;const h=p.findIndex(wa.bind(null,d));if(h>-1)return h;const m=Hv(c[u-2]);return u>1&&Hv(d)===m&&p[p.length-1].path!==m?p.findIndex(wa.bind(null,c[u-2])):h}),s=z(()=>i.value>-1&&h5(r.params,o.value.params)),a=z(()=>i.value>-1&&i.value===r.matched.length-1&&KA(r.params,o.value.params));function l(c={}){if(p5(c)){const u=e[Q(n.replace)?"replace":"push"](Q(n.to)).catch(Nl);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:o,href:z(()=>o.value.href),isActive:s,isExactActive:a,navigate:l}}function u5(n){return n.length===1?n[0]:n}const d5=fr({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:zv,setup(n,{slots:e}){const r=di(zv(n)),{options:o}=zt(cg),i=z(()=>({[qv(n.activeClass,o.linkActiveClass,"router-link-active")]:r.isActive,[qv(n.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const s=e.default&&u5(e.default(r));return n.custom?s:Bt("a",{"aria-current":r.isExactActive?n.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},s)}}}),f5=d5;function p5(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function h5(n,e){for(const r in e){const o=e[r],i=n[r];if(typeof o=="string"){if(o!==i)return!1}else if(!oo(i)||i.length!==o.length||o.some((s,a)=>s!==i[a]))return!1}return!0}function Hv(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const qv=(n,e,r)=>n??e??r,m5=fr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:r}){const o=zt(gm),i=z(()=>n.route||o.value),s=zt(Vv,0),a=z(()=>{let u=Q(s);const{matched:d}=i.value;let p;for(;(p=d[u])&&!p.components;)u++;return u}),l=z(()=>i.value.matched[a.value]);Ni(Vv,z(()=>a.value+1)),Ni(QA,l),Ni(gm,i);const c=me();return wt(()=>[c.value,l.value,n.name],([u,d,p],[h,m,g])=>{d&&(d.instances[p]=u,m&&m!==d&&u&&u===h&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),u&&d&&(!m||!wa(d,m)||!h)&&(d.enterCallbacks[p]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=i.value,d=n.name,p=l.value,h=p&&p.components[d];if(!h)return Gv(r.default,{Component:h,route:u});const m=p.props[d],g=m?m===!0?u.params:typeof m=="function"?m(u):m:null,w=Bt(h,at({},g,e,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(p.instances[d]=null)},ref:c}));return Gv(r.default,{Component:w,route:u})||w}}});function Gv(n,e){if(!n)return null;const r=n(e);return r.length===1?r[0]:r}const nI=m5;function _5(n){const e=i5(n.routes,n),r=n.parseQuery||$x,o=n.stringifyQuery||Nv,i=n.history,s=fl(),a=fl(),l=fl(),c=oi(Fr);let u=Fr;Gs&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Dp.bind(null,oe=>""+oe),p=Dp.bind(null,Ix),h=Dp.bind(null,Xl);function m(oe,Ee){let ye,de;return YA(oe)?(ye=e.getRecordMatcher(oe),de=Ee):de=oe,e.addRoute(de,ye)}function g(oe){const Ee=e.getRecordMatcher(oe);Ee&&e.removeRoute(Ee)}function v(){return e.getRoutes().map(oe=>oe.record)}function w(oe){return!!e.getRecordMatcher(oe)}function I(oe,Ee){if(Ee=at({},Ee||c.value),typeof oe=="string"){const B=xp(r,oe,Ee.path),K=e.resolve({path:B.path},Ee),ce=i.createHref(B.fullPath);return at(B,K,{params:h(K.params),hash:Xl(B.hash),redirectedFrom:void 0,href:ce})}let ye;if(oe.path!=null)ye=at({},oe,{path:xp(r,oe.path,Ee.path).path});else{const B=at({},oe.params);for(const K in B)B[K]==null&&delete B[K];ye=at({},oe,{params:p(B)}),Ee.params=p(Ee.params)}const de=e.resolve(ye,Ee),Pe=oe.hash||"";de.params=d(h(de.params));const Fe=Rx(o,at({},oe,{hash:bx(Pe),path:de.path})),M=i.createHref(Fe);return at({fullPath:Fe,hash:Pe,query:o===Nv?zx(oe.query):oe.query||{}},de,{redirectedFrom:void 0,href:M})}function b(oe){return typeof oe=="string"?xp(r,oe,c.value.path):at({},oe)}function E(oe,Ee){if(u!==oe)return ba(Ct.NAVIGATION_CANCELLED,{from:Ee,to:oe})}function P(oe){return S(oe)}function D(oe){return P(at(b(oe),{replace:!0}))}function V(oe,Ee){const ye=oe.matched[oe.matched.length-1];if(ye&&ye.redirect){const{redirect:de}=ye;let Pe=typeof de=="function"?de(oe,Ee):de;return typeof Pe=="string"&&(Pe=Pe.includes("?")||Pe.includes("#")?Pe=b(Pe):{path:Pe},Pe.params={}),at({query:oe.query,hash:oe.hash,params:Pe.path!=null?{}:oe.params},Pe)}}function S(oe,Ee){const ye=u=I(oe),de=c.value,Pe=oe.state,Fe=oe.force,M=oe.replace===!0,B=V(ye,de);if(B)return S(at(b(B),{state:typeof B=="object"?at({},Pe,B.state):Pe,force:Fe,replace:M}),Ee||ye);const K=ye;K.redirectedFrom=Ee;let ce;return!Fe&&Cx(o,de,ye)&&(ce=ba(Ct.NAVIGATION_DUPLICATED,{to:K,from:
27de}),Ae(de,de,!0,!1)),(ce?Promise.resolve(ce):R(K,de)).catch(ie=>Fo(ie)?Fo(ie,Ct.NAVIGATION_GUARD_REDIRECT)?ie:le(ie):G(ie,K,de)).then(ie=>{if(ie){if(Fo(ie,Ct.NAVIGATION_GUARD_REDIRECT))return S(at({replace:M},b(ie.to),{state:typeof ie.to=="object"?at({},Pe,ie.to.state):Pe,force:Fe}),Ee||K)}else ie=O(K,de,!0,M,Pe);return L(K,de,ie),ie})}function C(oe,Ee){const ye=E(oe,Ee);return ye?Promise.reject(ye):Promise.resolve()}function A(oe){const Ee=vt.values().next().value;return Ee&&typeof Ee.runWithContext=="function"?Ee.runWithContext(oe):oe()}function R(oe,Ee){let ye;const[de,Pe,Fe]=qx(oe,Ee);ye=Vp(de.reverse(),"beforeRouteLeave",oe,Ee);for(const B of de)B.leaveGuards.forEach(K=>{ye.push(Ii(K,oe,Ee))});const M=C.bind(null,oe,Ee);return ye.push(M),_t(ye).then(()=>{ye=[];for(const B of s.list())ye.push(Ii(B,oe,Ee));return ye.push(M),_t(ye)}).then(()=>{ye=Vp(Pe,"beforeRouteUpdate",oe,Ee);for(const B of Pe)B.updateGuards.forEach(K=>{ye.push(Ii(K,oe,Ee))});return ye.push(M),_t(ye)}).then(()=>{ye=[];for(const B of Fe)if(B.beforeEnter)if(oo(B.beforeEnter))for(const K of B.beforeEnter)ye.push(Ii(K,oe,Ee));else ye.push(Ii(B.beforeEnter,oe,Ee));return ye.push(M),_t(ye)}).then(()=>(oe.matched.forEach(B=>B.enterCallbacks={}),ye=Vp(Fe,"beforeRouteEnter",oe,Ee,A),ye.push(M),_t(ye))).then(()=>{ye=[];for(const B of a.list())ye.push(Ii(B,oe,Ee));return ye.push(M),_t(ye)}).catch(B=>Fo(B,Ct.NAVIGATION_CANCELLED)?B:Promise.reject(B))}function L(oe,Ee,ye){l.list().forEach(de=>A(()=>de(oe,Ee,ye)))}function O(oe,Ee,ye,de,Pe){const Fe=E(oe,Ee);if(Fe)return Fe;const M=Ee===Fr,B=Gs?history.state:{};ye&&(de||M?i.replace(oe.fullPath,at({scroll:M&&B&&B.scroll},Pe)):i.push(oe.fullPath,Pe)),c.value=oe,Ae(oe,Ee,ye,M),le()}let k;function ee(){k||(k=i.listen((oe,Ee,ye)=>{if(!mt.listening)return;const de=I(oe),Pe=V(de,mt.currentRoute.value);if(Pe){S(at(Pe,{replace:!0,force:!0}),de).catch(Nl);return}u=de;const Fe=c.value;Gs&&Mx(xv(Fe.fullPath,ye.delta),Ef()),R(de,Fe).catch(M=>Fo(M,Ct.NAVIGATION_ABORTED|Ct.NAVIGATION_CANCELLED)?M:Fo(M,Ct.NAVIGATION_GUARD_REDIRECT)?(S(at(b(M.to),{force:!0}),de).then(B=>{Fo(B,Ct.NAVIGATION_ABORTED|Ct.NAVIGATION_DUPLICATED)&&!ye.delta&&ye.type===mm.pop&&i.go(-1,!1)}).catch(Nl),Promise.reject()):(ye.delta&&i.go(-ye.delta,!1),G(M,de,Fe))).then(M=>{M=M||O(de,Fe,!1),M&&(ye.delta&&!Fo(M,Ct.NAVIGATION_CANCELLED)?i.go(-ye.delta,!1):ye.type===mm.pop&&Fo(M,Ct.NAVIGATION_ABORTED|Ct.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),L(de,Fe,M)}).catch(Nl)}))}let J=fl(),q=fl(),j;function G(oe,Ee,ye){le(oe);const de=q.list();return de.length?de.forEach(Pe=>Pe(oe,Ee,ye)):console.error(oe),Promise.reject(oe)}function te(){return j&&c.value!==Fr?Promise.resolve():new Promise((oe,Ee)=>{J.add([oe,Ee])})}function le(oe){return j||(j=!oe,ee(),J.list().forEach(([Ee,ye])=>oe?ye(oe):Ee()),J.reset()),oe}function Ae(oe,Ee,ye,de){const{scrollBehavior:Pe}=n;if(!Gs||!Pe)return Promise.resolve();const Fe=!ye&&Fx(xv(oe.fullPath,0))||(de||!ye)&&history.state&&history.state.scroll||null;return Hr().then(()=>Pe(oe,Ee,Fe)).then(M=>M&&Vx(M)).catch(M=>G(M,oe,Ee))}const Ie=oe=>i.go(oe);let Ce;const vt=new Set,mt={currentRoute:c,listening:!0,addRoute:m,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:w,getRoutes:v,resolve:I,options:n,push:P,replace:D,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:a.add,afterEach:l.add,onError:q.add,isReady:te,install(oe){oe.component("RouterLink",f5),oe.component("RouterView",nI),oe.config.globalProperties.$router=mt,Object.defineProperty(oe.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(c)}),Gs&&!Ce&&c.value===Fr&&(Ce=!0,P(i.location).catch(de=>{}));const Ee={};for(const de in Fr)Object.defineProperty(Ee,de,{get:()=>c.value[de],enumerable:!0});oe.provide(cg,mt),oe.provide(ug,yo(Ee)),oe.provide(gm,c);const ye=oe.unmount;vt.add(oe),oe.unmount=function(){vt.delete(oe),vt.size<1&&(u=Fr,k&&k(),k=null,c.value=Fr,Ce=!1,j=!1),ye()}}};function _t(oe){return oe.reduce((Ee,ye)=>Ee.then(()=>A(ye)),Promise.resolve())}return mt}function rI(n){return zt(ug)}const g5=/(:\w+)\([^)]+\)/g,y5=/(:\w+)[?+*]/g,v5=/:\w+/g,E5=(n,e)=>e.path.replace(g5,"$1").replace(y5,"$1").replace(v5,r=>n.params[r.slice(1)]?.toString()||""),ym=(n,e)=>{const r=n.route.matched.find(i=>i.components?.default===n.Component.type),o=e??r?.meta.key??(r&&E5(n.route,r));return typeof o=="function"?o(n.route):o},w5=(n,e)=>({default:()=>n?Bt(bT,n===!0?{}:n,e):e});function dg(n){return Array.isArray(n)?n:[n]}const rn={meta:{requiresAuth:!0},layout:"DashboardLayout",name:"Home",ssr:!1},on={meta:{isMarketingPage:!0},path:"/",name:"LandingPage"},sn={meta:{isInAuthFlow:!0,onlyUnauth:!0}
27,path:"/login",name:"Login"},an={meta:{requiresAuth:!0},name:"Notes",path:"/notes",ssr:!1},ln={meta:{requiresAuth:!0},name:"AskAI",path:"/ask-ai",ssr:!1},cn={meta:{isInAuthFlow:!0,onlyUnauth:!0},path:"/signup",name:"Signup"},un={meta:{onlyNonPro:!0,requiresAuth:!0},name:"Paywall",path:"/paywall",ssr:!1},dn={meta:{requiresAuth:!0},layout:"DashboardLayout",name:"Calendar"},fn={meta:{isInAuthFlow:!0,onlyUnauth:!0},name:"Register",path:"/register"},pn={meta:{requiresAuth:!0},name:"SettingsEmail"},hn={meta:{requiresAuth:!0},name:"SettingsProfile"},mn={meta:{requiresAuth:!0},name:"SettingsCalendar"},_n={meta:{requiresAuth:!0},name:"SettingsSubscription"},gn={meta:{requiresAuth:!0},name:"Settings",redirect:"/settings/profile",layout:"DashboardLayout",ssr:!1},yn={meta:{requiresAuth:!0},name:"Note",path:"/note/:id",ssr:!1},vn={meta:{isInAuthFlow:!0,onlyUnauth:!0},name:"EmailLogin",path:"/email-login"},En={meta:{isInAuthFlow:!0,requiresAuth:!0},name:"VerifyEmail",path:"/verify"},wn={meta:{isMarketingPage:!0},path:"/faq/",name:"Documentation"},bn={name:"DemoNote"},Tn={meta:{isInAuthFlow:!0,onlyUnauth:!0},path:"/google-one-tap",name:"GoogleOneTap"},An={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/onboarding/",name:"Onboarding1",ssr:!0},In={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/onboarding-speech-to-text/",name:"Onboarding2",ssr:!0},Sn={name:"ResetPassword",path:"/reset-password"},Pn={meta:{isInAuthFlow:!0,onlyUnauth:!0},name:"ForgotPassword",path:"/forgot-password"},Rn={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/onboarding-audio-to-text/",name:"Onboarding4",ssr:!0},Cn={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/onboarding-transcribe/",name:"Onboarding3",ssr:!0},On={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/onboarding-widget",name:"OnboardingWidget",ssr:!0},kn={meta:{requiresAuth:!0},name:"NotificationsDemo"},Ln={meta:{requiresAuth:!1,isMarketingPage:!0},path:"/start",name:"OnboardingDefault",ssr:!0},Dn={meta:{onlyNonPro:!0,requiresAuth:!0},name:"Checkout",ssr:!1},xn={name:"EmailActionHandler",path:"/email-action"},Nn={meta:{isMarketingPage:!0},path:"/ai-chat/",name:"LandingPageAIChat"},Vn={meta:{isMarketingPage:!0},path:"/pricing/",name:"LandingPagePricing"},Mn={meta:{isMarketingPage:!0},path:"/youtube-video-summarizer",name:"LandingPageYoutube"},Fn={meta:{isMarketingPage:!0},path:"/recording/",name:"LandingPageRecording"},Un={meta:{isMarketingPage:!0},path:"/transcribe/",name:"LandingPageTranscribe"},Bn={meta:{isMarketingPage:!0},path:"/integrations/",name:"LandingPageIntegrations"},jn={meta:{isMarketingPage:!0},path:"/audio-to-text/",name:"LandingPageAudioToText"},$n={meta:{isMarketingPage:!0},path:"/video-to-text/",name:"LandingPageVideoToText"},zn={meta:{isMarketingPage:!0},path:"/meeting-summarizer/",name:"LandingPageMeetingSummarizer"},Hn=null,qn={},Mp=[{name:"Home___en",path:"/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___es",path:"/es/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___pt",path:"/pt/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___de",path:"/de/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___fr",path:"/fr/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___it",path:"/it/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___pl",path:"/pl/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)}
27,{name:"Home___ru",path:"/ru/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___ro",path:"/ro/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___tr",path:"/tr/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___he",path:"/he/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___zh",path:"/zh/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___vi",path:"/vi/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___ja",path:"/ja/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___ko",path:"/ko/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___id",path:"/id/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"Home___th",path:"/th/home/",meta:rn||{},component:()=>_(()=>import("./BLFr9kFK.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,47,48,49]),import.meta.url)},{name:"LandingPage___en",path:"/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___es",path:"/es/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___pt",path:"/pt/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___de",path:"/de/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___fr",path:"/fr/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___it",path:"/it/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___pl",path:"/pl/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___ru",path:"/ru/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,
2762,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___ro",path:"/ro/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___tr",path:"/tr/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___he",path:"/he/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___zh",path:"/zh/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___vi",path:"/vi/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___ja",path:"/ja/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___ko",path:"/ko/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___id",path:"/id/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"LandingPage___th",path:"/th/",meta:on||{},component:()=>_(()=>import("./BLSlG-MN.js"),__vite__mapDeps([50,51,52,53,54,55,56,57,58,6,59,8,38,60,61,62,17,63,64,15,5,65,66,18,67]),import.meta.url)},{name:"Login___en",path:"/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___es",path:"/es/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___pt",path:"/pt/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___de",path:"/de/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___fr",path:"/fr/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___it",path:"/it/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___pl",path:"/pl/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___ru",path:"/ru/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___ro",path:"/ro/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___tr",path:"/tr/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___he",path:"/he/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___zh",path:"/zh/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___vi",path:"/vi/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___ja",path:"/ja/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___ko",path:"/ko/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___id",path:"/id/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Login___th",path:"/th/login/",meta:sn||{},component:()=>_(()=>import("./AdIVWzdN.js"),__vite__mapDeps([68,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Notes___en",path:"/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___es",path:"/es/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___pt",path:"/pt/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___de",path:"/de/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___fr",path:"/fr/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___it",path:"/it/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___pl",path:"/pl/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___ru",path:"/ru/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___ro",path:"/ro/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___tr",path:"/tr/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___he",path:"/he/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___zh",path:"/zh/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)}
27,{name:"Notes___vi",path:"/vi/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___ja",path:"/ja/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___ko",path:"/ko/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___id",path:"/id/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"Notes___th",path:"/th/notes/",meta:an||{},component:()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url)},{name:"AskAI___en",path:"/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___es",path:"/es/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___pt",path:"/pt/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___de",path:"/de/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___fr",path:"/fr/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___it",path:"/it/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___pl",path:"/pl/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___ru",path:"/ru/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___ro",path:"/ro/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___tr",path:"/tr/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___he",path:"/he/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___zh",path:"/zh/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___vi",path:"/vi/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___ja",path:"/ja/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___ko",path:"/ko/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___id",path:"/id/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"AskAI___th",path:"/th/ask-ai/",meta:ln||{},component:()=>_(()=>import("./QWQAN2eu.js"),__vite__mapDeps([79,4,80,22,2,45,36,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,78,24]),import.meta.url)},{name:"Signup___en",path:"/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___es",path:"/es/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___pt",path:"/pt/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___de",path:"/de/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___fr",path:"/fr/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___it",path:"/it/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___pl",path:"/pl/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___ru",path:"/ru/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___ro",path:"/ro/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___tr",path:"/tr/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___he",path:"/he/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___zh",path:"/zh/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)}
27,{name:"Signup___vi",path:"/vi/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___ja",path:"/ja/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___ko",path:"/ko/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___id",path:"/id/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Signup___th",path:"/th/signup/",meta:cn||{},component:()=>_(()=>import("./beGgGukZ.js"),__vite__mapDeps([81,69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url)},{name:"Paywall___en",path:"/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___es",path:"/es/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___pt",path:"/pt/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___de",path:"/de/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___fr",path:"/fr/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___it",path:"/it/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___pl",path:"/pl/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___ru",path:"/ru/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___ro",path:"/ro/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___tr",path:"/tr/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___he",path:"/he/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___zh",path:"/zh/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___vi",path:"/vi/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___ja",path:"/ja/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___ko",path:"/ko/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___id",path:"/id/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Paywall___th",path:"/th/paywall/",meta:un||{},component:()=>_(()=>import("./K-dzTw8s.js"),__vite__mapDeps([82,83,4,66,38,75,65,18]),import.meta.url)},{name:"Calendar___en",path:"/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___es",path:"/es/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___pt",path:"/pt/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___de",path:"/de/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___fr",path:"/fr/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___it",path:"/it/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___pl",path:"/pl/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___ru",path:"/ru/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___ro",path:"/ro/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___tr",path:"/tr/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___he",path:"/he/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___zh",path:"/zh/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)}
27,{name:"Calendar___vi",path:"/vi/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___ja",path:"/ja/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___ko",path:"/ko/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___id",path:"/id/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Calendar___th",path:"/th/calendar/",meta:dn||{},component:()=>_(()=>import("./Ch_4-Rk6.js"),__vite__mapDeps([84,4,42,33,34,16,35,1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,25,21,22,43,85,86]),import.meta.url)},{name:"Register___en",path:"/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___es",path:"/es/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___pt",path:"/pt/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___de",path:"/de/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___fr",path:"/fr/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___it",path:"/it/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___pl",path:"/pl/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___ru",path:"/ru/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___ro",path:"/ro/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___tr",path:"/tr/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___he",path:"/he/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___zh",path:"/zh/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___vi",path:"/vi/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___ja",path:"/ja/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___ko",path:"/ko/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___id",path:"/id/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Register___th",path:"/th/register/",meta:fn||{},component:()=>_(()=>import("./CA8rFvCU.js"),__vite__mapDeps([87,70,88,73,30,31,32,74,10,11,12,13,75,65,18]),import.meta.url)},{name:"Settings___en",path:"/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___en",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___en",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___en",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)}
27,{name:"SettingsSubscription___en",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___es",path:"/es/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___es",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___es",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___es",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___es",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___pt",path:"/pt/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___pt",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___pt",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___pt",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___pt",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___de",path:"/de/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___de",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___de",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___de",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___de",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___fr",path:"/fr/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___fr",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___fr",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___fr",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___fr",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___it",path:"/it/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___it",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___it",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___it",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)}
27,{name:"SettingsSubscription___it",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___pl",path:"/pl/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___pl",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___pl",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___pl",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___pl",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___ru",path:"/ru/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___ru",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___ru",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___ru",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___ru",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___ro",path:"/ro/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___ro",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___ro",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___ro",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___ro",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___tr",path:"/tr/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___tr",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___tr",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___tr",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___tr",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___he",path:"/he/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___he",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___he",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___he",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)}
27,{name:"SettingsSubscription___he",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___zh",path:"/zh/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___zh",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___zh",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___zh",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___zh",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___vi",path:"/vi/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___vi",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___vi",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___vi",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___vi",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___ja",path:"/ja/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___ja",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___ja",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___ja",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___ja",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___ko",path:"/ko/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___ko",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___ko",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___ko",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___ko",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]}
27,{name:"Settings___id",path:"/id/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___id",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___id",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___id",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___id",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Settings___th",path:"/th/settings/",meta:gn||{},redirect:"/settings/profile",component:()=>_(()=>import("./C98zerfc.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),children:[{name:"SettingsEmail___th",path:"email/",meta:pn||{},component:()=>_(()=>import("./B5jmzM27.js"),__vite__mapDeps([90,25]),import.meta.url)},{name:"SettingsProfile___th",path:"profile/",meta:hn||{},component:()=>_(()=>import("./DoLdCMvC.js"),__vite__mapDeps([91,4,92,9,10,11,12,13,14,5,6]),import.meta.url)},{name:"SettingsCalendar___th",path:"calendar/",meta:mn||{},component:()=>_(()=>import("./BIhhs5BG.js"),__vite__mapDeps([93,85,25,86,16]),import.meta.url)},{name:"SettingsSubscription___th",path:"subscription/",meta:_n||{},component:()=>_(()=>import("./BBgI-Xq8.js"),__vite__mapDeps([94,56,3,46,95]),import.meta.url)}]},{name:"Note___en",path:"/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___es",path:"/es/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___pt",path:"/pt/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___de",path:"/de/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___fr",path:"/fr/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___it",path:"/it/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___pl",path:"/pl/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___ru",path:"/ru/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___ro",path:"/ro/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___tr",path:"/tr/note/:id/",meta:yn||{},component:()=>_(()=>
27import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___he",path:"/he/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___zh",path:"/zh/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___vi",path:"/vi/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___ja",path:"/ja/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___ko",path:"/ko/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___id",path:"/id/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"Note___th",path:"/th/note/:id/",meta:yn||{},component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url)},{name:"EmailLogin___en",path:"/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___es",path:"/es/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___pt",path:"/pt/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___de",path:"/de/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___fr",path:"/fr/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___it",path:"/it/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___pl",path:"/pl/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___ru",path:"/ru/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___ro",path:"/ro/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___tr",path:"/tr/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___he",path:"/he/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___zh",path:"/zh/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)}
27,{name:"EmailLogin___vi",path:"/vi/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___ja",path:"/ja/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___ko",path:"/ko/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___id",path:"/id/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"EmailLogin___th",path:"/th/email-login/",meta:vn||{},component:()=>_(()=>import("./Cmdilnu6.js"),__vite__mapDeps([102,70,103,10,11,12,13,75,65,18]),import.meta.url)},{name:"VerifyEmail___en",path:"/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___es",path:"/es/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___pt",path:"/pt/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___de",path:"/de/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___fr",path:"/fr/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___it",path:"/it/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___pl",path:"/pl/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___ru",path:"/ru/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___ro",path:"/ro/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___tr",path:"/tr/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___he",path:"/he/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___zh",path:"/zh/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___vi",path:"/vi/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___ja",path:"/ja/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___ko",path:"/ko/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___id",path:"/id/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"VerifyEmail___th",path:"/th/verify/",meta:En||{},component:()=>_(()=>import("./_GPBbKTB.js"),__vite__mapDeps([104,70,105,106,75,65,18]),import.meta.url)},{name:"Documentation___en",path:"/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___es",path:"/es/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___pt",path:"/pt/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___de",path:"/de/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___fr",path:"/fr/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___it",path:"/it/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___pl",path:"/pl/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___ru",path:"/ru/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___ro",path:"/ro/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___tr",path:"/tr/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___he",path:"/he/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___zh",path:"/zh/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)}
27,{name:"Documentation___vi",path:"/vi/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___ja",path:"/ja/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___ko",path:"/ko/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___id",path:"/id/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"Documentation___th",path:"/th/faq/",meta:wn||{},component:()=>_(()=>import("./B5kizdKt.js"),__vite__mapDeps([107,56,64,15,5,6,65,66,18,67,108]),import.meta.url)},{name:"DemoNote___en",path:"/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___es",path:"/es/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___pt",path:"/pt/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___de",path:"/de/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___fr",path:"/fr/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___it",path:"/it/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___pl",path:"/pl/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___ru",path:"/ru/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___ro",path:"/ro/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___tr",path:"/tr/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___he",path:"/he/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___zh",path:"/zh/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___vi",path:"/vi/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___ja",path:"/ja/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___ko",path:"/ko/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___id",path:"/id/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"DemoNote___th",path:"/th/demo-note/:id()/",meta:bn||{},component:()=>_(()=>import("./C28uksnc.js"),[],import.meta.url)},{name:"GoogleOneTap___en",path:"/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___es",path:"/es/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___pt",path:"/pt/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___de",path:"/de/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___fr",path:"/fr/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___it",path:"/it/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___pl",path:"/pl/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___ru",path:"/ru/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___ro",path:"/ro/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___tr",path:"/tr/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___he",path:"/he/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___zh",path:"/zh/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)}
27,{name:"GoogleOneTap___vi",path:"/vi/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___ja",path:"/ja/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___ko",path:"/ko/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___id",path:"/id/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"GoogleOneTap___th",path:"/th/google-one-tap/",meta:Tn||{},component:()=>_(()=>import("./Dk3v_Joh.js"),[],import.meta.url)},{name:"Onboarding1___en",path:"/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___es",path:"/es/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___pt",path:"/pt/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___de",path:"/de/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___fr",path:"/fr/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___it",path:"/it/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___pl",path:"/pl/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___ru",path:"/ru/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___ro",path:"/ro/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___tr",path:"/tr/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___he",path:"/he/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___zh",path:"/zh/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___vi",path:"/vi/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___ja",path:"/ja/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___ko",path:"/ko/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___id",path:"/id/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding1___th",path:"/th/onboarding/",meta:An||{},component:()=>_(()=>import("./CfDGw85D.js"),__vite__mapDeps([109,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___en",path:"/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___es",path:"/es/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___pt",path:"/pt/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___de",path:"/de/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___fr",path:"/fr/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___it",path:"/it/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___pl",path:"/pl/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___ru",path:"/ru/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___ro",path:"/ro/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___tr",path:"/tr/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___he",path:"/he/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___zh",path:"/zh/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)}
27,{name:"Onboarding2___vi",path:"/vi/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___ja",path:"/ja/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___ko",path:"/ko/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___id",path:"/id/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding2___th",path:"/th/onboarding-speech-to-text/",meta:In||{},component:()=>_(()=>import("./4kWqgLT4.js"),__vite__mapDeps([118,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"ResetPassword___en",path:"/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___es",path:"/es/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___pt",path:"/pt/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___de",path:"/de/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___fr",path:"/fr/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___it",path:"/it/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___pl",path:"/pl/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___ru",path:"/ru/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___ro",path:"/ro/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___tr",path:"/tr/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___he",path:"/he/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___zh",path:"/zh/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___vi",path:"/vi/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___ja",path:"/ja/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___ko",path:"/ko/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___id",path:"/id/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ResetPassword___th",path:"/th/reset-password/",meta:Sn||{},component:()=>_(()=>import("./DYGNUkFw.js"),__vite__mapDeps([119,10,11,12,13,70,120,75,65,18]),import.meta.url)},{name:"ForgotPassword___en",path:"/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___es",path:"/es/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___pt",path:"/pt/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___de",path:"/de/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___fr",path:"/fr/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___it",path:"/it/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___pl",path:"/pl/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___ru",path:"/ru/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___ro",path:"/ro/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___tr",path:"/tr/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___he",path:"/he/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___zh",path:"/zh/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)}
27,{name:"ForgotPassword___vi",path:"/vi/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___ja",path:"/ja/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___ko",path:"/ko/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___id",path:"/id/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"ForgotPassword___th",path:"/th/forgot-password/",meta:Pn||{},component:()=>_(()=>import("./C3WZOmjX.js"),__vite__mapDeps([121,10,11,12,13,70,106,75,65,18]),import.meta.url)},{name:"Onboarding4___en",path:"/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___es",path:"/es/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___pt",path:"/pt/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___de",path:"/de/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___fr",path:"/fr/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___it",path:"/it/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___pl",path:"/pl/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___ru",path:"/ru/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___ro",path:"/ro/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___tr",path:"/tr/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___he",path:"/he/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___zh",path:"/zh/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___vi",path:"/vi/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___ja",path:"/ja/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___ko",path:"/ko/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___id",path:"/id/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding4___th",path:"/th/onboarding-audio-to-text/",meta:Rn||{},component:()=>_(()=>import("./KiiyO_Pa.js"),__vite__mapDeps([122,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___en",path:"/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___es",path:"/es/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___pt",path:"/pt/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___de",path:"/de/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___fr",path:"/fr/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___it",path:"/it/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___pl",path:"/pl/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___ru",path:"/ru/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___ro",path:"/ro/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___tr",path:"/tr/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___he",path:"/he/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___zh",path:"/zh/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)}
27,{name:"Onboarding3___vi",path:"/vi/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___ja",path:"/ja/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___ko",path:"/ko/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___id",path:"/id/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"Onboarding3___th",path:"/th/onboarding-transcribe/",meta:Cn||{},component:()=>_(()=>import("./ChxrdZiA.js"),__vite__mapDeps([123,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___en",path:"/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___es",path:"/es/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___pt",path:"/pt/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___de",path:"/de/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___fr",path:"/fr/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___it",path:"/it/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___pl",path:"/pl/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___ru",path:"/ru/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___ro",path:"/ro/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___tr",path:"/tr/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___he",path:"/he/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___zh",path:"/zh/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)}
27,{name:"OnboardingWidget___vi",path:"/vi/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___ja",path:"/ja/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___ko",path:"/ko/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___id",path:"/id/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"OnboardingWidget___th",path:"/th/onboarding-widget/",meta:On||{},component:()=>_(()=>import("./HEZdkDgu.js"),__vite__mapDeps([124,53,54,59,62,92,125,18,110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url)},{name:"NotificationsDemo___en",path:"/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___es",path:"/es/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___pt",path:"/pt/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___de",path:"/de/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___fr",path:"/fr/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___it",path:"/it/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___pl",path:"/pl/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___ru",path:"/ru/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___ro",path:"/ro/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___tr",path:"/tr/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___he",path:"/he/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___zh",path:"/zh/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___vi",path:"/vi/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___ja",path:"/ja/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___ko",path:"/ko/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___id",path:"/id/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"NotificationsDemo___th",path:"/th/notifications-demo/",meta:kn||{},component:()=>_(()=>import("./DKHq1bUp.js"),[],import.meta.url)},{name:"OnboardingDefault___en",path:"/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___es",path:"/es/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___pt",path:"/pt/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___de",path:"/de/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___fr",path:"/fr/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___it",path:"/it/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___pl",path:"/pl/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___ru",path:"/ru/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___ro",path:"/ro/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___tr",path:"/tr/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___he",path:"/he/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___zh",path:"/zh/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)}
27,{name:"OnboardingDefault___vi",path:"/vi/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___ja",path:"/ja/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___ko",path:"/ko/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___id",path:"/id/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"OnboardingDefault___th",path:"/th/start/",meta:Ln||{},component:()=>_(()=>import("./ZFwU2yA2.js"),__vite__mapDeps([126,113,31,16,86,114,70,75,65,18]),import.meta.url)},{name:"Checkout___en",path:"/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___es",path:"/es/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___pt",path:"/pt/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___de",path:"/de/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___fr",path:"/fr/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___it",path:"/it/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___pl",path:"/pl/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___ru",path:"/ru/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___ro",path:"/ro/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___tr",path:"/tr/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___he",path:"/he/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___zh",path:"/zh/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___vi",path:"/vi/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___ja",path:"/ja/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___ko",path:"/ko/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___id",path:"/id/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"Checkout___th",path:"/th/checkout/:productId()/",meta:Dn||{},component:()=>_(()=>import("./DiVloZaS.js"),__vite__mapDeps([127,111,112,75,65,18]),import.meta.url)},{name:"EmailActionHandler___en",path:"/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___es",path:"/es/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___pt",path:"/pt/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___de",path:"/de/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___fr",path:"/fr/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___it",path:"/it/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___pl",path:"/pl/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___ru",path:"/ru/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___ro",path:"/ro/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___tr",path:"/tr/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___he",path:"/he/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___zh",path:"/zh/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)}
27,{name:"EmailActionHandler___vi",path:"/vi/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___ja",path:"/ja/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___ko",path:"/ko/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___id",path:"/id/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"EmailActionHandler___th",path:"/th/email-action/",meta:xn||{},component:()=>_(()=>import("./CRWznp44.js"),__vite__mapDeps([128,21,22,70,120,75,65,18]),import.meta.url)},{name:"LandingPageAIChat___en",path:"/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___es",path:"/es/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___pt",path:"/pt/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___de",path:"/de/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___fr",path:"/fr/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___it",path:"/it/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___pl",path:"/pl/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___ru",path:"/ru/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___ro",path:"/ro/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___tr",path:"/tr/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___he",path:"/he/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___zh",path:"/zh/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___vi",path:"/vi/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___ja",path:"/ja/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___ko",path:"/ko/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___id",path:"/id/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAIChat___th",path:"/th/ai-chat/",meta:Nn||{},component:()=>_(()=>import("./BxTrXA_A.js"),__vite__mapDeps([129,51,52,55,53,54,56,57,130,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPagePricing___en",path:"/pricing/",meta:Vn||{},component:()=>_(()=>
27import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___es",path:"/es/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___pt",path:"/pt/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___de",path:"/de/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___fr",path:"/fr/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___it",path:"/it/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___pl",path:"/pl/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___ru",path:"/ru/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___ro",path:"/ro/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___tr",path:"/tr/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___he",path:"/he/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___zh",path:"/zh/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___vi",path:"/vi/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___ja",path:"/ja/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___ko",path:"/ko/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___id",path:"/id/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPagePricing___th",path:"/th/pricing/",meta:Vn||{},component:()=>_(()=>import("./DYRHZ3hm.js"),__vite__mapDeps([132,2,56,61,6,12,125,64,15,5,65,66,18,67,133]),import.meta.url)},{name:"LandingPageYoutube___en",path:"/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___es",path:"/es/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___pt",path:"/pt/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___de",path:"/de/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___fr",path:"/fr/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___it",path:"/it/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___pl",path:"/pl/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___ru",path:"/ru/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___ro",path:"/ro/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___tr",path:"/tr/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___he",path:"/he/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___zh",path:"/zh/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageYoutube___vi",path:"/vi/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___ja",path:"/ja/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___ko",path:"/ko/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___id",path:"/id/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageYoutube___th",path:"/th/youtube-video-summarizer/",meta:Mn||{},component:()=>_(()=>import("./DxVBcG46.js"),__vite__mapDeps([134,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___en",path:"/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___es",path:"/es/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___pt",path:"/pt/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___de",path:"/de/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___fr",path:"/fr/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___it",path:"/it/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___pl",path:"/pl/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___ru",path:"/ru/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___ro",path:"/ro/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___tr",path:"/tr/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___he",path:"/he/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___zh",path:"/zh/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageRecording___vi",path:"/vi/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___ja",path:"/ja/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___ko",path:"/ko/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___id",path:"/id/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageRecording___th",path:"/th/recording/",meta:Fn||{},component:()=>_(()=>import("./8ZND638s.js"),__vite__mapDeps([139,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___en",path:"/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___es",path:"/es/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___pt",path:"/pt/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___de",path:"/de/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___fr",path:"/fr/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___it",path:"/it/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___pl",path:"/pl/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___ru",path:"/ru/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___ro",path:"/ro/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___tr",path:"/tr/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___he",path:"/he/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___zh",path:"/zh/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageTranscribe___vi",path:"/vi/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___ja",path:"/ja/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___ko",path:"/ko/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___id",path:"/id/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageTranscribe___th",path:"/th/transcribe/",meta:Un||{},component:()=>_(()=>import("./B3oVzHP2.js"),__vite__mapDeps([140,55,56,57,135,12,39,40,41,9,7,53,54,21,22,27,6,5,25,13,28,29,97,71,78,34,24,92,136,61,125,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___en",path:"/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___es",path:"/es/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___pt",path:"/pt/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___de",path:"/de/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___fr",path:"/fr/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___it",path:"/it/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___pl",path:"/pl/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___ru",path:"/ru/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___ro",path:"/ro/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___tr",path:"/tr/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___he",path:"/he/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___zh",path:"/zh/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___vi",path:"/vi/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___ja",path:"/ja/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___ko",path:"/ko/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___id",path:"/id/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageIntegrations___th",path:"/th/integrations/",meta:Bn||{},component:()=>_(()=>import("./CBceoTe5.js"),__vite__mapDeps([141,51,52,55,53,54,56,57,61,59,131,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___en",path:"/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___es",path:"/es/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___pt",path:"/pt/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___de",path:"/de/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___fr",path:"/fr/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___it",path:"/it/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___pl",path:"/pl/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___ru",path:"/ru/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___ro",path:"/ro/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___tr",path:"/tr/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___he",path:"/he/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___zh",path:"/zh/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageAudioToText___vi",path:"/vi/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___ja",path:"/ja/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___ko",path:"/ko/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___id",path:"/id/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageAudioToText___th",path:"/th/audio-to-text/",meta:jn||{},component:()=>_(()=>import("./CozsH_dx.js"),__vite__mapDeps([142,55,56,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___en",path:"/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___es",path:"/es/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___pt",path:"/pt/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___de",path:"/de/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___fr",path:"/fr/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___it",path:"/it/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___pl",path:"/pl/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___ru",path:"/ru/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___ro",path:"/ro/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___tr",path:"/tr/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___he",path:"/he/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___zh",path:"/zh/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageVideoToText___vi",path:"/vi/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___ja",path:"/ja/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___ko",path:"/ko/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___id",path:"/id/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageVideoToText___th",path:"/th/video-to-text/",meta:$n||{},component:()=>_(()=>import("./Bq7bWN8X.js"),__vite__mapDeps([143,55,56,57,130,58,6,59,8,38,60,135,12,39,40,41,9,7,53,54,21,22,27,5,25,13,28,29,97,71,78,34,24,92,136,61,137,138,64,15,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___en",path:"/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___es",path:"/es/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___pt",path:"/pt/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___de",path:"/de/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___fr",path:"/fr/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___it",path:"/it/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___pl",path:"/pl/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___ru",path:"/ru/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___ro",path:"/ro/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___tr",path:"/tr/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___he",path:"/he/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___zh",path:"/zh/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)}
27,{name:"LandingPageMeetingSummarizer___vi",path:"/vi/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___ja",path:"/ja/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___ko",path:"/ko/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___id",path:"/id/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:"LandingPageMeetingSummarizer___th",path:"/th/meeting-summarizer/",meta:zn||{},component:()=>_(()=>import("./BBVW7EHW.js"),__vite__mapDeps([144,51,52,55,53,54,56,57,61,59,62,64,15,5,6,65,66,18,67]),import.meta.url)},{name:Hn?.name,path:"/sitemap.xml/",component:qn},{name:Hn?.name,path:"/es/sitemap.xml/",component:qn},{name:Hn?.name,path:"/pt/sitemap.xml/",component:qn},{name:Hn?.name,path:"/de/sitemap.xml/",component:qn},{name:Hn?.name,path:"/fr/sitemap.xml/",component:qn},{name:Hn?.name,path:"/it/sitemap.xml/",component:qn},{name:Hn?.name,path:"/pl/sitemap.xml/",component:qn},{name:Hn?.name,path:"/ru/sitemap.xml/",component:qn},{name:Hn?.name,path:"/ro/sitemap.xml/",component:qn},{name:Hn?.name,path:"/tr/sitemap.xml/",component:qn},{name:Hn?.name,path:"/he/sitemap.xml/",component:qn},{name:Hn?.name,path:"/zh/sitemap.xml/",component:qn},{name:Hn?.name,path:"/vi/sitemap.xml/",component:qn},{name:Hn?.name,path:"/ja/sitemap.xml/",component:qn},{name:Hn?.name,path:"/ko/sitemap.xml/",component:qn},{name:Hn?.name,path:"/id/sitemap.xml/",component:qn},{name:Hn?.name,path:"/th/sitemap.xml/",component:qn}],oI=(n,e)=>({default:()=>n?Bt(pf,n===!0?{}:n,e):e.default?.()}),b5=/(:\w+)\([^)]+\)/g,T5=/(:\w+)[?+*]/g,A5=/:\w+/g;function Wv(n){const e=n?.meta.key??n.path.replace(b5,"$1").replace(T5,"$1").replace(A5,r=>n.params[r.slice(1)]?.toString()||"");return typeof e=="function"?e(n):e}function I5(n,e){return n===e||e===Fr?!1:Wv(n)!==Wv(e)?!0:!n.matched.every((o,i)=>o.components&&o.components.default===e.matched[i]?.components?.default)}const S5={scrollBehavior(n,e,r){const o=xe(),i=Zn().options?.scrollBehaviorType??"auto";if(n.path.replace(/\/$/,"")===e.path.replace(/\/$/,""))return e.hash&&!n.hash?{left:0,top:0}:n.hash?{el:n.hash,top:iI(n.hash),behavior:i}:!1;if((typeof n.meta.scrollToTop=="function"?n.meta.scrollToTop(n,e):n.meta.scrollToTop)===!1)return!1;const a=o._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(l=>{if(e===Fr){l(Kv(n,e,r,i));return}o.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>l(Kv(n,e,r,i)))})})}};function iI(n){try{const e=document.querySelector(n);if(e)return(Number.parseFloat(getComputedStyle(e).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Kv(n,e,r,o){if(r)return r;const i=I5(n,e);return n.hash?{el:n.hash,top:iI(n.hash),behavior:i?o:"instant"}:{left:0,top:0}}const Zl=["en","es","pt","de","fr","it","pl","ru","ro","tr","he","zh","vi","ja","ko","id","th"],Td="en",vm="user_preferred_language",xr=()=>{const{$i18n:n}=xe(),{locale:e,setLocale:r,t:o}=n,i=async s=>{localStorage.setItem(vm,s),await r(s)};return{locale:e.value,t:o,setLocale:r,setLocaleWithStorage:i}};function P5(n,e,r,o,i){return Zl.map(s=>{const a=s===Td;return{name:`${n}___${s}`,path:a?e:`/${s}${e}`,component:r,props:o,meta:i}})}const sI={routes:n=>[...n,{name:"NoteShare",path:"/n/:noteShareId",component:()=>_(()=>import("./hw_BsH8f.js"),__vite__mapDeps([96,6,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,97,40,41,98,23,24,25,26,39,44,30,31,32,21,22,48,36,95,28,63,77,80,45,99,100,65,101]),import.meta.url),props:e=>{const r=e.params.noteShareId;return{id:Array.isArray(r)?r[0]:r,public:!0}},meta:{requiresAuth:!1}},...P5("FolderNotes","/folder/:folderId",()=>_(()=>import("./Dn8Ls3im.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,77,20,21,22,23,24,25,26,27,28,29,36,37,78]),import.meta.url),e=>{const r=e.params.folderId;return{folderId:Array.isArray(r)?r[0]:r}},{meta:{requiresAuth:!0}})]},R5={hashMode:!1,scrollBehaviorType:"auto"},Em=sI.hashMode??!1,vi={...R5,...S5,...sI},C5=async(n,e)=>{let r,o;if(!n.meta?.validate)return;const i=([r,o]=jt(()=>Promise.resolve(n.meta.validate(n))),r=await r,o(),r);if(i===!0)return;const s=hs({fatal:!0,statusCode:i&&i.statusCode||404,statusMessage:i&&i.statusMessage||`Page Not Found: ${n.fullPath}`,data:{path:n.fullPath}});return typeof window<"u"&&window.history.pushState({},"",e.fullPath),s};/*! 28 * pinia v2.3.1 29 * (c) 2025 Eduardo San Martin Morote 30 * @license MIT 31 */let aI;const bc=n=>aI=n,lI=Symbol();function wm(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var Vl;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(Vl||(Vl={}));function O5(){const n=_c(!0),e=n.run(()=>me({}));let r=[],o=[];const i=B_({install(s){bc(i),i._a=s,s.provide(lI,i),s.config.globalProperties.$pinia=i,o.forEach(a=>r.push(a)),o=[]},use(s){return this._a?r.push(s):o.push(s),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return i}const cI=()=>{};function Yv(n,e,r,o=cI){n.push(e);const i=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),o())};return!r&&gc()&&rd(i),i}
31function zs(n,...e){n.slice().forEach(r=>{r(...e)})}const k5=n=>n(),Jv=Symbol(),Fp=Symbol();function bm(n,e){n instanceof Map&&e instanceof Map?e.forEach((r,o)=>n.set(o,r)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const o=e[r],i=n[r];wm(i)&&wm(o)&&n.hasOwnProperty(r)&&!dt(o)&&!To(o)?n[r]=bm(i,o):n[r]=o}return n}const L5=Symbol();function D5(n){return!wm(n)||!n.hasOwnProperty(L5)}const{assign:bi}=Object;function x5(n){return!!(dt(n)&&n.effect)}function N5(n,e,r,o){const{state:i,actions:s,getters:a}=e,l=r.state.value[n];let c;function u(){l||(r.state.value[n]=i?i():{});const d=j2(r.state.value[n]);return bi(d,s,Object.keys(a||{}).reduce((p,h)=>(p[h]=B_(z(()=>{bc(r);const m=r._s.get(n);return a[h].call(m,m)})),p),{}))}return c=uI(n,u,e,r,o,!0),c}function uI(n,e,r={},o,i,s){let a;const l=bi({actions:{}},r),c={deep:!0};let u,d,p=[],h=[],m;const g=o.state.value[n];!s&&!g&&(o.state.value[n]={}),me({});let v;function w(C){let A;u=d=!1,typeof C=="function"?(C(o.state.value[n]),A={type:Vl.patchFunction,storeId:n,events:m}):(bm(o.state.value[n],C),A={type:Vl.patchObject,payload:C,storeId:n,events:m});const R=v=Symbol();Hr().then(()=>{v===R&&(u=!0)}),d=!0,zs(p,A,o.state.value[n])}const I=s?function(){const{state:A}=r,R=A?A():{};this.$patch(L=>{bi(L,R)})}:cI;function b(){a.stop(),p=[],h=[],o._s.delete(n)}const E=(C,A="")=>{if(Jv in C)return C[Fp]=A,C;const R=function(){bc(o);const L=Array.from(arguments),O=[],k=[];function ee(j){O.push(j)}function J(j){k.push(j)}zs(h,{args:L,name:R[Fp],store:D,after:ee,onError:J});let q;try{q=C.apply(this&&this.$id===n?this:D,L)}catch(j){throw zs(k,j),j}return q instanceof Promise?q.then(j=>(zs(O,j),j)).catch(j=>(zs(k,j),Promise.reject(j))):(zs(O,q),q)};return R[Jv]=!0,R[Fp]=A,R},P={_p:o,$id:n,$onAction:Yv.bind(null,h),$patch:w,$reset:I,$subscribe(C,A={}){const R=Yv(p,C,A.detached,()=>L()),L=a.run(()=>wt(()=>o.state.value[n],O=>{(A.flush==="sync"?d:u)&&C({storeId:n,type:Vl.direct,events:m},O)},bi({},c,A)));return R},$dispose:b},D=di(P);o._s.set(n,D);const S=(o._a&&o._a.runWithContext||k5)(()=>o._e.run(()=>(a=_c()).run(()=>e({action:E}))));for(const C in S){const A=S[C];if(dt(A)&&!x5(A)||To(A))s||(g&&D5(A)&&(dt(A)?A.value=g[C]:bm(A,g[C])),o.state.value[n][C]=A);else if(typeof A=="function"){const R=E(A,C);S[C]=R,l.actions[C]=A}}return bi(D,S),bi(Ke(D),S),Object.defineProperty(D,"$state",{get:()=>o.state.value[n],set:C=>{w(A=>{bi(A,C)})}}),o._p.forEach(C=>{bi(D,a.run(()=>C({store:D,app:o._a,pinia:o,options:l})))}),g&&s&&r.hydrate&&r.hydrate(D.$state,g),u=!0,d=!0,D}/*! #__NO_SIDE_EFFECTS__ */function pi(n,e,r){let o,i;const s=typeof e=="function";typeof n=="string"?(o=n,i=s?r:e):(i=n,o=n.id);function a(l,c){const u=Ec();return l=l||(u?zt(lI,null):null),l&&bc(l),l=aI,l._s.has(o)||(s?uI(o,e,i,l):N5(o,i,l)),l._s.get(o)}return a.$id=o,a}function uQ(n){{const e=Ke(n),r={};for(const o in e){const i=e[o];i.effect?r[o]=z({get:()=>n[o],set(s){n[o]=s}}):(dt(i)||To(i))&&(r[o]=j_(n,o))}return r}}const wf=pi("alert",()=>{const n=me([]),e=me({show:!1,message:"",title:"",cancelButtonText:"Cancel",confirmButtonText:"Confirm",resolve:null}),r=(a,l="info",c={})=>{const u={success:{duration:2e3,autoClose:!0,isClosable:!1},info:{duration:4e3,autoClose:!0,isClosable:!1},warning:{duration:4e3,autoClose:!0,isClosable:!1},default:{duration:4e3,autoClose:!0,isClosable:!1},simple:{duration:4e3,autoClose:!0,isClosable:!1},error:{duration:6e3,autoClose:!0,isClosable:!0}},d=u[l]||u.default,p=typeof c=="number"?c:c.duration||d.duration,h=c.autoClose!==void 0?c.autoClose:d.autoClose,m=c.isClosable!==void 0?c.isClosable:d.isClosable,g=c.title,v=c.description||a;let w=l;!g&&l!=="simple"&&(w="simple");const I=Date.now()+Math.random();n.value.unshift({id:I,message:a,type:w,title:g,description:v,autoClose:h,isClosable:m}),h&&setTimeout(()=>{o(I)},p)},o=a=>{n.value=n.value.filter(l=>l.id!==a)};return{alerts:n,confirmDialog:e,pushAlert:r,removeAlert:o,showConfirm:({cancelButtonText:a="Cancel",confirmButtonText:l="Confirm",message:c,title:u="Confirm"})=>new Promise(d=>{e.value={message:c,title:u,resolve:d,show:!0,cancelButtonText:a,confirmButtonText:l}}),confirmResult:a=>{e.value.show&&(e.value.resolve(a),e.value.show=!1,e.value.message="",e.value.title="",e.value.resolve=null,e.value.cancelButtonText="Cancel",e.value.confirmButtonText="Confirm")}}}),Bu=({defaultAutoHandle:n=!0,defaultErrorMessage:e="",defaultFunctionArgs:r=null,defaultOnError:o=null,defaultOnLoading:i=null,defaultOnSuccess:s=null,immediateSend:a=!0,itemsKey:l="items",paused:c=!1,requestFunction:u})=>{const d=me({}),p=me("idle"),h=me(""),m=me(null),g=me(r),v=async({autoHandle:E=n,errorMessage:P="",functionArgs:D=null,isRefresh:V=!1,onError:S=null,onLoading:C=i,onSuccess:A=null})=>{if(vo(c))return;const R=D||g.value,L=P||e,O=A||s,k=S||o;g.value=R,E&&(V?p.value="refreshing":p.value="loading",C&&C());try{const ee=await u(R);if(vo(c))return;E&&(m.value=ee,d.value=ee.data,p.value="success"),O&&O(ee,R)}catch(ee){if(console.error(ee),vo(c))return;E&&(p.value="error",h.value=L||ee?.response?.data?.message||ee.message),k&&k(ee,R)}},w=async(E={})=>{await v(E)},I=async(E={isRefresh:!0})=>{await v(E)},b=async({errorMessage:E="",functionArgs:P=null,onError:D=null,onSuccess:V=null})=>{if(!d.value.nextCursor)return;const S=P||g.value,C=E||e,A=V||s,R=D||o;p.value="fetching-more";try{const L=await u({...S,cursor:d.value.nextCursor});m.value=L,d.value[l]=d.value[l].concat(L.data?.[l]||[]),d.value.nextCursor=L.data.nextCursor,p.value="success",A&&A(L,S)}catch(L){console.error(L),p.value="error",h.value=C||L?.response?.data?.message||L.message,R&&R(L,S)}};return a&&w({}),{data:d,state:p,error:h,response:m,send:w,refresh:I,fetchMore:b}};var Qv={};/** 32 * @license 33 * Copyright 2017 Google LLC 34 * 35 * Licensed under the Apache License, Version 2.0 (the "License");
36 * you may not use this file except in compliance with the License. 37 * You may obtain a copy of the License at 38 * 39 * http://www.apache.org/licenses/LICENSE-2.0 40 * 41 * Unless required by applicable law or agreed to in writing, software 42 * distributed under the License is distributed on an "AS IS" BASIS, 43 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 44 * See the License for the specific language governing permissions and 45 * limitations under the License. 46 */const dI=function(n){const e=[];let r=0;for(let o=0;o<n.length;o++){let i=n.charCodeAt(o);i<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=i&63|128):(i&64512)===55296&&o+1<n.length&&(n.charCodeAt(o+1)&64512)===56320?(i=65536+((i&1023)<<10)+(n.charCodeAt(++o)&1023),e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=i&63|128):(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=i&63|128)}return e},V5=function(n){const e=[];let r=0,o=0;for(;r<n.length;){const i=n[r++];if(i<128)e[o++]=String.fromCharCode(i);else if(i>191&&i<224){const s=n[r++];e[o++]=String.fromCharCode((i&31)<<6|s&63)}else if(i>239&&i<365){const s=n[r++],a=n[r++],l=n[r++],c=((i&7)<<18|(s&63)<<12|(a&63)<<6|l&63)-65536;e[o++]=String.fromCharCode(55296+(c>>10)),e[o++]=String.fromCharCode(56320+(c&1023))}else{const s=n[r++],a=n[r++];e[o++]=String.fromCharCode((i&15)<<12|(s&63)<<6|a&63)}}return e.join("")},fI={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(n,e){if(!Array.isArray(n))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,o=[];for(let i=0;i<n.length;i+=3){const s=n[i],a=i+1<n.length,l=a?n[i+1]:0,c=i+2<n.length,u=c?n[i+2]:0,d=s>>2,p=(s&3)<<4|l>>4;let h=(l&15)<<2|u>>6,m=u&63;c||(m=64,a||(h=64)),o.push(r[d],r[p],r[h],r[m])}return o.join("")},encodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(n):this.encodeByteArray(dI(n),e)},decodeString(n,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(n):V5(this.decodeStringToByteArray(n,e))},decodeStringToByteArray(n,e){this.init_();const r=e?this.charToByteMapWebSafe_:this.charToByteMap_,o=[];for(let i=0;i<n.length;){const s=r[n.charAt(i++)],l=i<n.length?r[n.charAt(i)]:0;++i;const u=i<n.length?r[n.charAt(i)]:64;++i;const p=i<n.length?r[n.charAt(i)]:64;if(++i,s==null||l==null||u==null||p==null)throw new M5;const h=s<<2|l>>4;if(o.push(h),u!==64){const m=l<<4&240|u>>2;if(o.push(m),p!==64){const g=u<<6&192|p;o.push(g)}}}return o},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let n=0;n<this.ENCODED_VALS.length;n++)this.byteToCharMap_[n]=this.ENCODED_VALS.charAt(n),this.charToByteMap_[this.byteToCharMap_[n]]=n,this.byteToCharMapWebSafe_[n]=this.ENCODED_VALS_WEBSAFE.charAt(n),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[n]]=n,n>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(n)]=n,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(n)]=n)}}};class M5 extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const F5=function(n){const e=dI(n);return fI.encodeByteArray(e,!0)},Ad=function(n){return F5(n).replace(/\./g,"")},pI=function(n){try{return fI.decodeString(n,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};/** 47 * @license 48 * Copyright 2022 Google LLC 49 * 50 * Licensed under the Apache License, Version 2.0 (the "License"); 51 * you may not use this file except in compliance with the License. 52 * You may obtain a copy of the License at 53 * 54 * http://www.apache.org/licenses/LICENSE-2.0 55 * 56 * Unless required by applicable law or agreed to in writing, software 57 * distributed under the License is distributed on an "AS IS" BASIS, 58 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 59 * See the License for the specific language governing permissions and 60 * limitations under the License. 61 */function U5(){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.")}/** 62 * @license 63 * Copyright 2022 Google LLC 64 * 65 * Licensed under the Apache License, Version 2.0 (the "License");
66 * you may not use this file except in compliance with the License. 67 * You may obtain a copy of the License at 68 * 69 * http://www.apache.org/licenses/LICENSE-2.0 70 * 71 * Unless required by applicable law or agreed to in writing, software 72 * distributed under the License is distributed on an "AS IS" BASIS, 73 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 74 * See the License for the specific language governing permissions and 75 * limitations under the License. 76 */const B5=()=>U5().__FIREBASE_DEFAULTS__,j5=()=>{if(typeof process>"u"||typeof Qv>"u")return;const n=Qv.__FIREBASE_DEFAULTS__;if(n)return JSON.parse(n)},$5=()=>{if(typeof document>"u")return;let n;try{n=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const e=n&&pI(n[1]);return e&&JSON.parse(e)},bf=()=>{try{return B5()||j5()||$5()}catch(n){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);return}},hI=n=>{var e,r;return(r=(e=bf())===null||e===void 0?void 0:e.emulatorHosts)===null||r===void 0?void 0:r[n]},z5=n=>{const e=hI(n);if(!e)return;const r=e.lastIndexOf(":");if(r<=0||r+1===e.length)throw new Error(`Invalid host ${e} with no separate hostname and port!`);const o=parseInt(e.substring(r+1),10);return e[0]==="["?[e.substring(1,r-1),o]:[e.substring(0,r),o]},mI=()=>{var n;return(n=bf())===null||n===void 0?void 0:n.config},_I=n=>{var e;return(e=bf())===null||e===void 0?void 0:e[`_${n}`]};/** 77 * @license 78 * Copyright 2017 Google LLC 79 * 80 * Licensed under the Apache License, Version 2.0 (the "License"); 81 * you may not use this file except in compliance with the License. 82 * You may obtain a copy of the License at 83 * 84 * http://www.apache.org/licenses/LICENSE-2.0 85 * 86 * Unless required by applicable law or agreed to in writing, software 87 * distributed under the License is distributed on an "AS IS" BASIS, 88 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 89 * See the License for the specific language governing permissions and 90 * limitations under the License. 91 */class H5{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,r)=>{this.resolve=e,this.reject=r})}wrapCallback(e){return(r,o)=>{r?this.reject(r):this.resolve(o),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(r):e(r,o))}}}/** 92 * @license 93 * Copyright 2021 Google LLC 94 * 95 * Licensed under the Apache License, Version 2.0 (the "License"); 96 * you may not use this file except in compliance with the License. 97 * You may obtain a copy of the License at 98 * 99 * http://www.apache.org/licenses/LICENSE-2.0 100 * 101 * Unless required by applicable law or agreed to in writing, software 102 * distributed under the License is distributed on an "AS IS" BASIS, 103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 104 * See the License for the specific language governing permissions and 105 * limitations under the License. 106 */function q5(n,e){if(n.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const r={alg:"none",type:"JWT"},o=e||"demo-project",i=n.iat||0,s=n.sub||n.user_id;if(!s)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const a=Object.assign({iss:`https://securetoken.google.com/${o}`,aud:o,iat:i,exp:i+3600,auth_time:i,sub:s,user_id:s,firebase:{sign_in_provider:"custom",identities:{}}},n);return[Ad(JSON.stringify(r)),Ad(JSON.stringify(a)),""].join(".")}/** 107 * @license 108 * Copyright 2017 Google LLC 109 * 110 * Licensed under the Apache License, Version 2.0 (the "License"); 111 * you may not use this file except in compliance with the License. 112 * You may obtain a copy of the License at 113 * 114 * http://www.apache.org/licenses/LICENSE-2.0 115 * 116 * Unless required by applicable law or agreed to in writing, software 117 * distributed under the License is distributed on an "AS IS" BASIS, 118 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 119 * See the License for the specific language governing permissions and 120 * limitations under the License. 121 */function dr(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function G5(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(dr())}function W5(){var n;const e=(n=bf())===null||n===void 0?void 0:n.forceEnvironment;if(e==="node")return!0;
121if(e==="browser")return!1;try{return Object.prototype.toString.call(global.process)==="[object process]"}catch{return!1}}function K5(){return typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"}function Y5(){const n=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof n=="object"&&n.id!==void 0}function J5(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function Q5(){const n=dr();return n.indexOf("MSIE ")>=0||n.indexOf("Trident/")>=0}function X5(){return!W5()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function gI(){try{return typeof indexedDB=="object"}catch{return!1}}function yI(){return new Promise((n,e)=>{try{let r=!0;const o="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(o);i.onsuccess=()=>{i.result.close(),r||self.indexedDB.deleteDatabase(o),n(!0)},i.onupgradeneeded=()=>{r=!1},i.onerror=()=>{var s;e(((s=i.error)===null||s===void 0?void 0:s.message)||"")}}catch(r){e(r)}})}function Z5(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/** 122 * @license 123 * Copyright 2017 Google LLC 124 * 125 * Licensed under the Apache License, Version 2.0 (the "License"); 126 * you may not use this file except in compliance with the License. 127 * You may obtain a copy of the License at 128 * 129 * http://www.apache.org/licenses/LICENSE-2.0 130 * 131 * Unless required by applicable law or agreed to in writing, software 132 * distributed under the License is distributed on an "AS IS" BASIS, 133 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134 * See the License for the specific language governing permissions and 135 * limitations under the License. 136 */const eN="FirebaseError";class xo extends Error{constructor(e,r,o){super(r),this.code=e,this.customData=o,this.name=eN,Object.setPrototypeOf(this,xo.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ds.prototype.create)}}class Ds{constructor(e,r,o){this.service=e,this.serviceName=r,this.errors=o}create(e,...r){const o=r[0]||{},i=`${this.service}/${e}`,s=this.errors[e],a=s?tN(s,o):"Error",l=`${this.serviceName}: ${a} (${i}).`;return new xo(i,l,o)}}function tN(n,e){return n.replace(nN,(r,o)=>{const i=e[o];return i!=null?String(i):`<${o}?>`})}const nN=/\{\$([^}]+)}/g;function rN(n){for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e))return!1;return!0}function Id(n,e){if(n===e)return!0;const r=Object.keys(n),o=Object.keys(e);for(const i of r){if(!o.includes(i))return!1;const s=n[i],a=e[i];if(Xv(s)&&Xv(a)){if(!Id(s,a))return!1}else if(s!==a)return!1}for(const i of o)if(!r.includes(i))return!1;return!0}function Xv(n){return n!==null&&typeof n=="object"}/** 137 * @license 138 * Copyright 2017 Google LLC 139 * 140 * Licensed under the Apache License, Version 2.0 (the "License"); 141 * you may not use this file except in compliance with the License. 142 * You may obtain a copy of the License at 143 * 144 * http://www.apache.org/licenses/LICENSE-2.0 145 * 146 * Unless required by applicable law or agreed to in writing, software 147 * distributed under the License is distributed on an "AS IS" BASIS, 148 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 149 * See the License for the specific language governing permissions and 150 * limitations under the License. 151 */function Tc(n){const e=[];for(const[r,o]of Object.entries(n))Array.isArray(o)?o.forEach(i=>{e.push(encodeURIComponent(r)+"="+encodeURIComponent(i))}):e.push(encodeURIComponent(r)+"="+encodeURIComponent(o));return e.length?"&"+e.join("&"):""}function bl(n){const e={};return n.replace(/^\?/,"").split("&").forEach(o=>{if(o){const[i,s]=o.split("=");e[decodeURIComponent(i)]=decodeURIComponent(s)}}),e}function Tl(n){const e=n.indexOf("?");if(!e)return"";const r=n.indexOf("#",e);return n.substring(e,r>0?r:void 0)}function oN(n,e){const r=new iN(n,e);return r.subscribe.bind(r)}class iN{constructor(e,r){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=r,this.task.then(()=>{e(this)}).catch(o=>{this.error(o)})}next(e){this.forEachObserver(r=>{r.next(e)})}error(e){this.forEachObserver(r=>{r.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,r,o){let i;if(e===void 0&&r===void 0&&o===void 0)throw new Error("Missing Observer.");sN(e,["next","error","complete"])?i=e:i={next:e,error:r,complete:o},i.next===void 0&&(i.next=Up),i.error===void 0&&(i.error=Up),i.complete===void 0&&(i.complete=Up);const s=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?i.error(this.finalError):i.complete()}catch{}}),this.observers.push(i),s}unsubscribeOne(e){this.observers===void 0||this.observers[e]===void 0||(delete this.observers[e],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let r=0;r<this.observers.length;r++)this.sendOne(r,e)}sendOne(e,r){this.task.then(()=>
151{if(this.observers!==void 0&&this.observers[e]!==void 0)try{r(this.observers[e])}catch(o){typeof console<"u"&&console.error&&console.error(o)}})}close(e){this.finalized||(this.finalized=!0,e!==void 0&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function sN(n,e){if(typeof n!="object"||n===null)return!1;for(const r of e)if(r in n&&typeof n[r]=="function")return!0;return!1}function Up(){}/** 152 * @license 153 * Copyright 2021 Google LLC 154 * 155 * Licensed under the Apache License, Version 2.0 (the "License"); 156 * you may not use this file except in compliance with the License. 157 * You may obtain a copy of the License at 158 * 159 * http://www.apache.org/licenses/LICENSE-2.0 160 * 161 * Unless required by applicable law or agreed to in writing, software 162 * distributed under the License is distributed on an "AS IS" BASIS, 163 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 164 * See the License for the specific language governing permissions and 165 * limitations under the License. 166 */function St(n){return n&&n._delegate?n._delegate:n}class io{constructor(e,r,o){this.name=e,this.instanceFactory=r,this.type=o,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}/** 167 * @license 168 * Copyright 2019 Google LLC 169 * 170 * Licensed under the Apache License, Version 2.0 (the "License"); 171 * you may not use this file except in compliance with the License. 172 * You may obtain a copy of the License at 173 * 174 * http://www.apache.org/licenses/LICENSE-2.0 175 * 176 * Unless required by applicable law or agreed to in writing, software 177 * distributed under the License is distributed on an "AS IS" BASIS, 178 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 179 * See the License for the specific language governing permissions and 180 * limitations under the License. 181 */const as="[DEFAULT]";/** 182 * @license 183 * Copyright 2019 Google LLC 184 * 185 * Licensed under the Apache License, Version 2.0 (the "License"); 186 * you may not use this file except in compliance with the License. 187 * You may obtain a copy of the License at 188 * 189 * http://www.apache.org/licenses/LICENSE-2.0 190 * 191 * Unless required by applicable law or agreed to in writing, software 192 * distributed under the License is distributed on an "AS IS" BASIS, 193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 194 * See the License for the specific language governing permissions and 195 * limitations under the License. 196 */class aN{constructor(e,r){this.name=e,this.container=r,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const r=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(r)){const o=new H5;if(this.instancesDeferred.set(r,o),this.isInitialized(r)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:r});i&&o.resolve(i)}catch{}}return this.instancesDeferred.get(r).promise}getImmediate(e){var r;const o=this.normalizeInstanceIdentifier(e?.identifier),i=(r=e?.optional)!==null&&r!==void 0?r:!1;if(this.isInitialized(o)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:o})}catch(s){if(i)return null;throw s}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,!!this.shouldAutoInitialize()){if(cN(e))try{this.getOrInitializeService({instanceIdentifier:as})}catch{}for(const[r,o]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(r);try{const s=this.getOrInitializeService({instanceIdentifier:i});o.resolve(s)}catch{}}}}clearInstance(e=as){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter(r=>"INTERNAL"in r).map(r=>r.INTERNAL.delete()),...e.filter(r=>"_delete"in r).map(r=>r._delete())])}isComponentSet(){return this.component!=null}isInitialized(e=as){return this.instances.has(e)}getOptions(e=as){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:r={}}=e,o=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(o))throw Error(`${this.name}(${o}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:o,options:r});for(const[s,a]of this.instancesDeferred.entries()){const l=this.normalizeInstanceIdentifier(s);o===l&&a.resolve(i)}return i}onInit(e,r){var o;const i=this.normalizeInstanceIdentifier(r),s=(o=this.onInitCallbacks.get(i))!==null&&o!==void 0?o:new Set;s.add(e),this.onInitCallbacks.set(i,s);const a=this.instances.get(i);return a&&e(a,i),()=>{s.delete(e)}}invokeOnInitCallbacks(e,r){const o=this.onInitCallbacks.get(r);if(o)for(const i of o)try{i(e,r)}catch{}}getOrInitializeService({instanceIdentifier:e,options:r={}}){let o=this.instances.get(e);if(!o&&this.component&&(o=this.component.instanceFactory(this.container,{instanceIdentifier:lN(e),options:r}),this.instances.set(e,o),this.instancesOptions.set(e,r),this.invokeOnInitCallbacks(o,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,o)}catch{}return o||null}normalizeInstanceIdentifier(e=as){return this.component?this.component.multipleInstances?e:as:e}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function lN(n){return n===as?void 0:n}function cN(n){return n.instantiationMode==="EAGER"}/** 197 * @license 198 * Copyright 2019 Google LLC 199 * 200 * Licensed under the Apache License, Version 2.0 (the "License");
201 * you may not use this file except in compliance with the License. 202 * You may obtain a copy of the License at 203 * 204 * http://www.apache.org/licenses/LICENSE-2.0 205 * 206 * Unless required by applicable law or agreed to in writing, software 207 * distributed under the License is distributed on an "AS IS" BASIS, 208 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 209 * See the License for the specific language governing permissions and 210 * limitations under the License. 211 */class uN{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const r=this.getProvider(e.name);if(r.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);r.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const r=new aN(e,this);return this.providers.set(e,r),r}getProviders(){return Array.from(this.providers.values())}}/** 212 * @license 213 * Copyright 2017 Google LLC 214 * 215 * Licensed under the Apache License, Version 2.0 (the "License"); 216 * you may not use this file except in compliance with the License. 217 * You may obtain a copy of the License at 218 * 219 * http://www.apache.org/licenses/LICENSE-2.0 220 * 221 * Unless required by applicable law or agreed to in writing, software 222 * distributed under the License is distributed on an "AS IS" BASIS, 223 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 224 * See the License for the specific language governing permissions and 225 * limitations under the License. 226 */var Ye;(function(n){n[n.DEBUG=0]="DEBUG",n[n.VERBOSE=1]="VERBOSE",n[n.INFO=2]="INFO",n[n.WARN=3]="WARN",n[n.ERROR=4]="ERROR",n[n.SILENT=5]="SILENT"})(Ye||(Ye={}));const dN={debug:Ye.DEBUG,verbose:Ye.VERBOSE,info:Ye.INFO,warn:Ye.WARN,error:Ye.ERROR,silent:Ye.SILENT},fN=Ye.INFO,pN={[Ye.DEBUG]:"log",[Ye.VERBOSE]:"log",[Ye.INFO]:"info",[Ye.WARN]:"warn",[Ye.ERROR]:"error"},hN=(n,e,...r)=>{if(e<n.logLevel)return;const o=new Date().toISOString(),i=pN[e];if(i)console[i](`[${o}] ${n.name}:`,...r);else throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`)};let fg=class{constructor(e){this.name=e,this._logLevel=fN,this._logHandler=hN,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in Ye))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel=typeof e=="string"?dN[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if(typeof e!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,Ye.DEBUG,...e),this._logHandler(this,Ye.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,Ye.VERBOSE,...e),this._logHandler(this,Ye.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,Ye.INFO,...e),this._logHandler(this,Ye.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,Ye.WARN,...e),this._logHandler(this,Ye.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,Ye.ERROR,...e),this._logHandler(this,Ye.ERROR,...e)}};const mN=(n,e)=>e.some(r=>n instanceof r);let Zv,eE;function _N(){return Zv||(Zv=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function gN(){return eE||(eE=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const vI=new WeakMap,Tm=new WeakMap,EI=new WeakMap,Bp=new WeakMap,pg=new WeakMap;function yN(n){const e=new Promise((r,o)=>{const i=()=>{n.removeEventListener("success",s),n.removeEventListener("error",a)},s=()=>{r(Xo(n.result)),i()},a=()=>{o(n.error),i()};n.addEventListener("success",s),n.addEventListener("error",a)});return e.then(r=>{r instanceof IDBCursor&&vI.set(r,n)}).catch(()=>{}),pg.set(e,n),e}function vN(n){if(Tm.has(n))return;const e=new Promise((r,o)=>{const i=()=>{n.removeEventListener("complete",s),n.removeEventListener("error",a),n.removeEventListener("abort",a)},s=()=>{r(),i()},a=()=>{o(n.error||new DOMException("AbortError","AbortError")),i()};n.addEventListener("complete",s),n.addEventListener("error",a),n.addEventListener("abort",a)});Tm.set(n,e)}let Am={get(n,e,r){if(n instanceof IDBTransaction){if(e==="done")return Tm.get(n);if(e==="objectStoreNames")return n.objectStoreNames||EI.get(n);if(e==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return Xo(n[e])},set(n,e,r){return n[e]=r,!0},has(n,e){return n instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in n}};function EN(n){Am=n(Am)}
226function wN(n){return n===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...r){const o=n.call(jp(this),e,...r);return EI.set(o,e.sort?e.sort():[e]),Xo(o)}:gN().includes(n)?function(...e){return n.apply(jp(this),e),Xo(vI.get(this))}:function(...e){return Xo(n.apply(jp(this),e))}}function bN(n){return typeof n=="function"?wN(n):(n instanceof IDBTransaction&&vN(n),mN(n,_N())?new Proxy(n,Am):n)}function Xo(n){if(n instanceof IDBRequest)return yN(n);if(Bp.has(n))return Bp.get(n);const e=bN(n);return e!==n&&(Bp.set(n,e),pg.set(e,n)),e}const jp=n=>pg.get(n);function Tf(n,e,{blocked:r,upgrade:o,blocking:i,terminated:s}={}){const a=indexedDB.open(n,e),l=Xo(a);return o&&a.addEventListener("upgradeneeded",c=>{o(Xo(a.result),c.oldVersion,c.newVersion,Xo(a.transaction),c)}),r&&a.addEventListener("blocked",c=>r(c.oldVersion,c.newVersion,c)),l.then(c=>{s&&c.addEventListener("close",()=>s()),i&&c.addEventListener("versionchange",u=>i(u.oldVersion,u.newVersion,u))}).catch(()=>{}),l}function $p(n,{blocked:e}={}){const r=indexedDB.deleteDatabase(n);return e&&r.addEventListener("blocked",o=>e(o.oldVersion,o)),Xo(r).then(()=>{})}const TN=["get","getKey","getAll","getAllKeys","count"],AN=["put","add","delete","clear"],zp=new Map;function tE(n,e){if(!(n instanceof IDBDatabase&&!(e in n)&&typeof e=="string"))return;if(zp.get(e))return zp.get(e);const r=e.replace(/FromIndex$/,""),o=e!==r,i=AN.includes(r);if(!(r in(o?IDBIndex:IDBObjectStore).prototype)||!(i||TN.includes(r)))return;const s=async function(a,...l){const c=this.transaction(a,i?"readwrite":"readonly");let u=c.store;return o&&(u=u.index(l.shift())),(await Promise.all([u[r](...l),i&&c.done]))[0]};return zp.set(e,s),s}EN(n=>({...n,get:(e,r,o)=>tE(e,r)||n.get(e,r,o),has:(e,r)=>!!tE(e,r)||n.has(e,r)}));/** 227 * @license 228 * Copyright 2019 Google LLC 229 * 230 * Licensed under the Apache License, Version 2.0 (the "License"); 231 * you may not use this file except in compliance with the License. 232 * You may obtain a copy of the License at 233 * 234 * http://www.apache.org/licenses/LICENSE-2.0 235 * 236 * Unless required by applicable law or agreed to in writing, software 237 * distributed under the License is distributed on an "AS IS" BASIS, 238 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 239 * See the License for the specific language governing permissions and 240 * limitations under the License. 241 */class IN{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(r=>{if(SN(r)){const o=r.getImmediate();return`${o.library}/${o.version}`}else return null}).filter(r=>r).join(" ")}}function SN(n){const e=n.getComponent();return e?.type==="VERSION"}const Im="@firebase/app",nE="0.10.13";/** 242 * @license 243 * Copyright 2019 Google LLC 244 * 245 * Licensed under the Apache License, Version 2.0 (the "License"); 246 * you may not use this file except in compliance with the License. 247 * You may obtain a copy of the License at 248 * 249 * http://www.apache.org/licenses/LICENSE-2.0 250 * 251 * Unless required by applicable law or agreed to in writing, software 252 * distributed under the License is distributed on an "AS IS" BASIS, 253 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 254 * See the License for the specific language governing permissions and 255 * limitations under the License. 256 */const si=new fg("@firebase/app"),PN="@firebase/app-compat",RN="@firebase/analytics-compat",CN="@firebase/analytics",ON="@firebase/app-check-compat",kN="@firebase/app-check",LN="@firebase/auth",DN="@firebase/auth-compat",xN="@firebase/database",NN="@firebase/data-connect",VN="@firebase/database-compat",MN="@firebase/functions",FN="@firebase/functions-compat",UN="@firebase/installations",BN="@firebase/installations-compat",jN="@firebase/messaging",$N="@firebase/messaging-compat",zN="@firebase/performance",HN="@firebase/performance-compat",qN="@firebase/remote-config",GN="@firebase/remote-config-compat",WN="@firebase/storage",KN="@firebase/storage-compat",YN="@firebase/firestore",JN="@firebase/vertexai-preview",QN="@firebase/firestore-compat",XN="firebase",ZN="10.14.1";/** 257 * @license 258 * Copyright 2019 Google LLC 259 * 260 * Licensed under the Apache License, Version 2.0 (the "License");
261 * you may not use this file except in compliance with the License. 262 * You may obtain a copy of the License at 263 * 264 * http://www.apache.org/licenses/LICENSE-2.0 265 * 266 * Unless required by applicable law or agreed to in writing, software 267 * distributed under the License is distributed on an "AS IS" BASIS, 268 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 269 * See the License for the specific language governing permissions and 270 * limitations under the License. 271 */const Sm="[DEFAULT]",e4={[Im]:"fire-core",[PN]:"fire-core-compat",[CN]:"fire-analytics",[RN]:"fire-analytics-compat",[kN]:"fire-app-check",[ON]:"fire-app-check-compat",[LN]:"fire-auth",[DN]:"fire-auth-compat",[xN]:"fire-rtdb",[NN]:"fire-data-connect",[VN]:"fire-rtdb-compat",[MN]:"fire-fn",[FN]:"fire-fn-compat",[UN]:"fire-iid",[BN]:"fire-iid-compat",[jN]:"fire-fcm",[$N]:"fire-fcm-compat",[zN]:"fire-perf",[HN]:"fire-perf-compat",[qN]:"fire-rc",[GN]:"fire-rc-compat",[WN]:"fire-gcs",[KN]:"fire-gcs-compat",[YN]:"fire-fst",[QN]:"fire-fst-compat",[JN]:"fire-vertex","fire-js":"fire-js",[XN]:"fire-js-all"};/** 272 * @license 273 * Copyright 2019 Google LLC 274 * 275 * Licensed under the Apache License, Version 2.0 (the "License"); 276 * you may not use this file except in compliance with the License. 277 * You may obtain a copy of the License at 278 * 279 * http://www.apache.org/licenses/LICENSE-2.0 280 * 281 * Unless required by applicable law or agreed to in writing, software 282 * distributed under the License is distributed on an "AS IS" BASIS, 283 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 284 * See the License for the specific language governing permissions and 285 * limitations under the License. 286 */const Sd=new Map,t4=new Map,Pm=new Map;function rE(n,e){try{n.container.addComponent(e)}catch(r){si.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`,r)}}function Oo(n){const e=n.name;if(Pm.has(e))return si.debug(`There were multiple attempts to register component ${e}.`),!1;Pm.set(e,n);for(const r of Sd.values())rE(r,n);for(const r of t4.values())rE(r,n);return!0}function Ma(n,e){const r=n.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),n.container.getProvider(e)}function Zr(n){return n.settings!==void 0}/** 287 * @license 288 * Copyright 2019 Google LLC 289 * 290 * Licensed under the Apache License, Version 2.0 (the "License"); 291 * you may not use this file except in compliance with the License. 292 * You may obtain a copy of the License at 293 * 294 * http://www.apache.org/licenses/LICENSE-2.0 295 * 296 * Unless required by applicable law or agreed to in writing, software 297 * distributed under the License is distributed on an "AS IS" BASIS, 298 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 299 * See the License for the specific language governing permissions and 300 * limitations under the License. 301 */const n4={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
301d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},Mi=new Ds("app","Firebase",n4);/** 302 * @license 303 * Copyright 2019 Google LLC 304 * 305 * Licensed under the Apache License, Version 2.0 (the "License"); 306 * you may not use this file except in compliance with the License. 307 * You may obtain a copy of the License at 308 * 309 * http://www.apache.org/licenses/LICENSE-2.0 310 * 311 * Unless required by applicable law or agreed to in writing, software 312 * distributed under the License is distributed on an "AS IS" BASIS, 313 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 314 * See the License for the specific language governing permissions and 315 * limitations under the License. 316 */class r4{constructor(e,r,o){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},r),this._name=r.name,this._automaticDataCollectionEnabled=r.automaticDataCollectionEnabled,this._container=o,this.container.addComponent(new io("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw Mi.create("app-deleted",{appName:this._name})}}/** 317 * @license 318 * Copyright 2019 Google LLC 319 * 320 * Licensed under the Apache License, Version 2.0 (the "License"); 321 * you may not use this file except in compliance with the License. 322 * You may obtain a copy of the License at 323 * 324 * http://www.apache.org/licenses/LICENSE-2.0 325 * 326 * Unless required by applicable law or agreed to in writing, software 327 * distributed under the License is distributed on an "AS IS" BASIS, 328 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 329 * See the License for the specific language governing permissions and 330 * limitations under the License. 331 */const Fa=ZN;function wI(n,e={}){let r=n;typeof e!="object"&&(e={name:e});const o=Object.assign({name:Sm,automaticDataCollectionEnabled:!1},e),i=o.name;if(typeof i!="string"||!i)throw Mi.create("bad-app-name",{appName:String(i)});if(r||(r=mI()),!r)throw Mi.create("no-options");const s=Sd.get(i);if(s){if(Id(r,s.options)&&Id(o,s.config))return s;throw Mi.create("duplicate-app",{appName:i})}const a=new uN(i);for(const c of Pm.values())a.addComponent(c);const l=new r4(r,o,a);return Sd.set(i,l),l}function hg(n=Sm){const e=Sd.get(n);if(!e&&n===Sm&&mI())return wI();if(!e)throw Mi.create("no-app",{appName:n});return e}function zr(n,e,r){var o;let i=(o=e4[n])!==null&&o!==void 0?o:n;r&&(i+=`-${r}`);const s=i.match(/\s|\//),a=e.match(/\s|\//);if(s||a){const l=[`Unable to register library "${i}" with version "${e}":`];s&&l.push(`library name "${i}" contains illegal characters (whitespace or "/")`),s&&a&&l.push("and"),a&&l.push(`version name "${e}" contains illegal characters (whitespace or "/")`),si.warn(l.join(" "));return}Oo(new io(`${i}-version`,()=>({library:i,version:e}),"VERSION"))}/** 332 * @license 333 * Copyright 2021 Google LLC 334 * 335 * Licensed under the Apache License, Version 2.0 (the "License"); 336 * you may not use this file except in compliance with the License. 337 * You may obtain a copy of the License at 338 * 339 * http://www.apache.org/licenses/LICENSE-2.0 340 * 341 * Unless required by applicable law or agreed to in writing, softw
341are 342 * distributed under the License is distributed on an "AS IS" BASIS, 343 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 344 * See the License for the specific language governing permissions and 345 * limitations under the License. 346 */const o4="firebase-heartbeat-database",i4=1,ec="firebase-heartbeat-store";let Hp=null;function bI(){return Hp||(Hp=Tf(o4,i4,{upgrade:(n,e)=>{switch(e){case 0:try{n.createObjectStore(ec)}catch(r){console.warn(r)}}}}).catch(n=>{throw Mi.create("idb-open",{originalErrorMessage:n.message})})),Hp}async function s4(n){try{const r=(await bI()).transaction(ec),o=await r.objectStore(ec).get(TI(n));return await r.done,o}catch(e){if(e instanceof xo)si.warn(e.message);else{const r=Mi.create("idb-get",{originalErrorMessage:e?.message});si.warn(r.message)}}}async function oE(n,e){try{const o=(await bI()).transaction(ec,"readwrite");await o.objectStore(ec).put(e,TI(n)),await o.done}catch(r){if(r instanceof xo)si.warn(r.message);else{const o=Mi.create("idb-set",{originalErrorMessage:r?.message});si.warn(o.message)}}}function TI(n){return`${n.name}!${n.options.appId}`}/** 347 * @license 348 * Copyright 2021 Google LLC 349 * 350 * Licensed under the Apache License, Version 2.0 (the "License"); 351 * you may not use this file except in compliance with the License. 352 * You may obtain a copy of the License at 353 * 354 * http://www.apache.org/licenses/LICENSE-2.0 355 * 356 * Unless required by applicable law or agreed to in writing, software 357 * distributed under the License is distributed on an "AS IS" BASIS, 358 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 359 * See the License for the specific language governing permissions and 360 * limitations under the License. 361 */const a4=1024,l4=720*60*60*1e3;class c4{constructor(e){this.container=e,this._heartbeatsCache=null;const r=this.container.getProvider("app").getImmediate();this._storage=new d4(r),this._heartbeatsCachePromise=this._storage.read().then(o=>(this._heartbeatsCache=o,o))}async triggerHeartbeat(){var e,r;try{const i=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),s=iE();return((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((r=this._heartbeatsCache)===null||r===void 0?void 0:r.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===s||this._heartbeatsCache.heartbeats.some(a=>a.date===s)?void 0:(this._heartbeatsCache.heartbeats.push({date:s,agent:i}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(a=>{const l=new Date(a.date).valueOf();return Date.now()-l<=l4}),this._storage.overwrite(this._heartbeatsCache))}catch(o){si.warn(o)}}async getHeartbeatsHeader(){var e;try{if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const r=iE(),{heartbeatsToSend:o,unsentEntries:i}=u4(this._heartbeatsCache.heartbeats),s=Ad(JSON.stringify({version:2,heartbeats:o}));return this._heartbeatsCache.lastSentHeartbeatDate=r,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),s}catch(r){return si.warn(r),""}}}function iE(){return new Date().toISOString().substring(0,10)}function u4(n,e=a4){const r=[];let o=n.slice();for(const i of n){const s=r.find(a=>a.agent===i.agent);if(s){if(s.dates.push(i.date),sE(r)>e){s.dates.pop();break}}else if(r.push({agent:i.agent,dates:[i.date]}),sE(r)>e){r.pop();break}o=o.slice(1)}return{heartbeatsToSend:r,unsentEntries:o}}class d4{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return gI()?yI().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const r=await s4(this.app);return r?.heartbeats?r:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(e){var r;if(await this._canUseIndexedDBPromise){const i=await this.read();return oE(this.app,{lastSentHeartbeatDate:(r=e.lastSentHeartbeatDate)!==null&&r!==void 0?r:i.lastSentHeartbeatDate,heartbeats:e.heartbeats})}else return}async add(e){var r;if(await this._canUseIndexedDBPromise){const i=await this.read();return oE(this.app,{lastSentHeartbeatDate:(r=e.lastSentHeartbeatDate)!==null&&r!==void 0?r:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...e.heartbeats]})}else return}}function sE(n){return Ad(JSON.stringify({version:2,heartbeats:n})).length}/** 362 * @license 363 * Copyright 2019 Google LLC 364 * 365 * Licensed under the Apache License, Version 2.0 (the "License");
366 * you may not use this file except in compliance with the License. 367 * You may obtain a copy of the License at 368 * 369 * http://www.apache.org/licenses/LICENSE-2.0 370 * 371 * Unless required by applicable law or agreed to in writing, software 372 * distributed under the License is distributed on an "AS IS" BASIS, 373 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 374 * See the License for the specific language governing permissions and 375 * limitations under the License. 376 */function f4(n){Oo(new io("platform-logger",e=>new IN(e),"PRIVATE")),Oo(new io("heartbeat",e=>new c4(e),"PRIVATE")),zr(Im,nE,n),zr(Im,nE,"esm2017"),zr("fire-js","")}f4("");var aE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** @license 377Copyright The Closure Library Authors. 378SPDX-License-Identifier: Apache-2.0 379*/var ms,AI;(function(){var n;/** @license 380 381 Copyright The Closure Library Authors. 382 SPDX-License-Identifier: Apache-2.0 383*/function e(S,C){function A(){}A.prototype=C.prototype,S.D=C.prototype,S.prototype=new A,S.prototype.constructor=S,S.C=function(R,L,O){for(var k=Array(arguments.length-2),ee=2;ee<arguments.length;ee++)k[ee-2]=arguments[ee];return C.prototype[L].apply(R,k)}}function r(){this.blockSize=-1}function o(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}e(o,r),o.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0};function i(S,C,A){A||(A=0);var R=Array(16);if(typeof C=="string")for(var L=0;16>L;++L)R[L]=C.charCodeAt(A++)|C.charCodeAt(A++)<<8|C.charCodeAt(A++)<<16|C.charCodeAt(A++)<<24;else for(L=0;16>L;++L)R[L]=C[A++]|C[A++]<<8|C[A++]<<16|C[A++]<<24;C=S.g[0],A=S.g[1],L=S.g[2];var O=S.g[3],k=C+(O^A&(L^O))+R[0]+3614090360&4294967295;C=A+(k<<7&4294967295|k>>>25),k=O+(L^C&(A^L))+R[1]+3905402710&4294967295,O=C+(k<<12&4294967295|k>>>20),k=L+(A^O&(C^A))+R[2]+606105819&4294967295,L=O+(k<<17&4294967295|k>>>15),k=A+(C^L&(O^C))+R[3]+3250441966&4294967295,A=L+(k<<22&4294967295|k>>>10),k=C+(O^A&(L^O))+R[4]+4118548399&4294967295,C=A+(k<<7&4294967295|k>>>25),k=O+(L^C&(A^L))+R[5]+1200080426&4294967295,O=C+(k<<12&4294967295|k>>>20),k=L+(A^O&(C^A))+R[6]+2821735955&4294967295,L=O+(k<<17&4294967295|k>>>15),k=A+(C^L&(O^C))+R[7]+4249261313&4294967295,A=L+(k<<22&4294967295|k>>>10),k=C+(O^A&(L^O))+R[8]+1770035416&4294967295,C=A+(k<<7&4294967295|k>>>25),k=O+(L^C&(A^L))+R[9]+2336552879&4294967295,O=C+(k<<12&4294967295|k>>>20),k=L+(A^O&(C^A))+R[10]+4294925233&4294967295,L=O+(k<<17&4294967295|k>>>15),k=A+(C^L&(O^C))+R[11]+2304563134&4294967295,A=L+(k<<22&4294967295|k>>>10),k=C+(O^A&(L^O))+R[12]+1804603682&4294967295,C=A+(k<<7&4294967295|k>>>25),k=O+(L^C&(A^L))+R[13]+4254626195&4294967295,O=C+(k<<12&4294967295|k>>>20),k=L+(A^O&(C^A))+R[14]+2792965006&4294967295,L=O+(k<<17&4294967295|k>>>15),k=A+(C^L&(O^C))+R[15]+1236535329&4294967295,A=L+(k<<22&4294967295|k>>>10),k=C+(L^O&(A^L))+R[1]+4129170786&4294967295,C=A+(k<<5&4294967295|k>>>27),k=O+(A^L&(C^A))+R[6]+3225465664&4294967295,O=C+(k<<9&4294967295|k>>>23),k=L+(C^A&(O^C))+R[11]+643717713&4294967295,L=O+(k<<14&4294967295|k>>>18),k=A+(O^C&(L^O))+R[0]+3921069994&4294967295,A=L+(k<<20&4294967295|k>>>12),k=C+(L^O&(A^L))+R[5]+3593408605&4294967295,C=A+(k<<5&4294967295|k>>>27),k=O+(A^L&(C^A))+R[10]+38016083&4294967295,O=C+(k<<9&4294967295|k>>>23),k=L+(C^A&(O^C))+R[15]+3634488961&4294967295,L=O+(k<<14&4294967295|k>>>18),k=A+(O^C&(L^O))+R[4]+3889429448&4294967295,A=L+(k<<20&4294967295|k>>>12),k=C+(L^O&(A^L))+R[9]+568446438&4294967295,C=A+(k<<5&4294967295|k>>>27),k=O+(A^L&(C^A))+R[14]+3275163606&4294967295,O=C+(k<<9&4294967295|k>>>23),k=L+(C^A&(O^C))+R[3]+4107603335&4294967295,L=O+(k<<14&4294967295|k>>>18),k=A+(O^C&(L^O))+R[8]+1163531501&4294967295,A=L+(k<<20&4294967295|k>>>12),k=C+(L^O&(A^L))+R[13]+2850285829&4294967295,C=A+(k<<5&4294967295|k>>>27),k=O+(A^L&(C^A))+R[2]+4243563512&4294967295,O=C+(k<<9&4294967295|k>>>23),k=L+(C^A&(O^C))+R[7]+1735328473&4294967295,L=O+(k<<14&4294967295|k>>>18),k=A+(O^C&(L^O))+R[12]+2368359562&4294967295,A=L+(k<<20&4294967295|k>>>12),k=C+(A^L^O)+R[5]+4294588738&4294967295,C=A+(k<<4&4294967295|k>>>28),k=O+(C^A^L)+R[8]+2272392833&4294967295,O=C+(k<<11&4294967295|k>>>21),k=L+(O^C^A)+R[11]+1839030562&4294967295,L=O+(k<<16&4294967295|k>>>16),k=A+(L^O^C)+R[14]+4259657740&4294967295,A=L+(k<<23&4294967295|k>>>9),k=C+(A^L^O)+R[1]+2763975236&4294967295,C=A+(k<<4&4294967295|k>>>28),k=O+(C^A^L)+R[4]+1272893353&4294967295,O=C+(k<<11&4294967295|k>>>21),k=L+(O^C^A)+R[7]+4139469664&4294967295,L=O+(k<<16&4294967295|k>>>16),k=A+(L^O^C)+R[10]+3200236656&4294967295,A=L+(k<<23&4294967295|k>>>9),k=C+(A^L^O)+R[13]+681279174&4294967295,C=A+(k<<4&4294967295|k>>>28),k=O+(C^A^L)+R[0]+3936430074&4294967295,O=C+(k<<11&4294967295|k>>>21),k=L+(O^C^A)+R[3]+3572445317&4294967295,L=O+(k<<16&4294967295|k>>>16),k=A+(L^O^C)+R[6]+76029189&4294967295,A=L+(k<<23&4294967295|k>>>9),k=C+(A^L^O)+R[9]+3654602809&4294967295,C=A+(k<<4&4294967295|k>>>28),k=O+(C^A^L)+R[12]+3873151461&4294967295,O=C+(k<<11&4294967295|k>>>21),k=L+(O^C^A)+R[15]+530742520&4294967295,L=O+(k<<16&4294967295|k>>>16),k=A+(L^O^C)+R[2]+3299628645&4294967295,A=L+(k<<23&4294967295|k>>>9),k=C+(L^(A|~O))+R[0]+4096336452&4294967295,C=A+(k<<6&4294967295|k>>>
vendor: 47,426 bytes, lines 383-398
38326),k=O+(A^(C|~L))+R[7]+1126891415&4294967295,O=C+(k<<10&4294967295|k>>>22),k=L+(C^(O|~A))+R[14]+2878612391&4294967295,L=O+(k<<15&4294967295|k>>>17),k=A+(O^(L|~C))+R[5]+4237533241&4294967295,A=L+(k<<21&4294967295|k>>>11),k=C+(L^(A|~O))+R[12]+1700485571&4294967295,C=A+(k<<6&4294967295|k>>>26),k=O+(A^(C|~L))+R[3]+2399980690&4294967295,O=C+(k<<10&4294967295|k>>>22),k=L+(C^(O|~A))+R[10]+4293915773&4294967295,L=O+(k<<15&4294967295|k>>>17),k=A+(O^(L|~C))+R[1]+2240044497&4294967295,A=L+(k<<21&4294967295|k>>>11),k=C+(L^(A|~O))+R[8]+1873313359&4294967295,C=A+(k<<6&4294967295|k>>>26),k=O+(A^(C|~L))+R[15]+4264355552&4294967295,O=C+(k<<10&4294967295|k>>>22),k=L+(C^(O|~A))+R[6]+2734768916&4294967295,L=O+(k<<15&4294967295|k>>>17),k=A+(O^(L|~C))+R[13]+1309151649&4294967295,A=L+(k<<21&4294967295|k>>>11),k=C+(L^(A|~O))+R[4]+4149444226&4294967295,C=A+(k<<6&4294967295|k>>>26),k=O+(A^(C|~L))+R[11]+3174756917&4294967295,O=C+(k<<10&4294967295|k>>>22),k=L+(C^(O|~A))+R[2]+718787259&4294967295,L=O+(k<<15&4294967295|k>>>17),k=A+(O^(L|~C))+R[9]+3951481745&4294967295,S.g[0]=S.g[0]+C&4294967295,S.g[1]=S.g[1]+(L+(k<<21&4294967295|k>>>11))&4294967295,S.g[2]=S.g[2]+L&4294967295,S.g[3]=S.g[3]+O&4294967295}o.prototype.u=function(S,C){C===void 0&&(C=S.length);for(var A=C-this.blockSize,R=this.B,L=this.h,O=0;O<C;){if(L==0)for(;O<=A;)i(this,S,O),O+=this.blockSize;if(typeof S=="string"){for(;O<C;)if(R[L++]=S.charCodeAt(O++),L==this.blockSize){i(this,R),L=0;break}}else for(;O<C;)if(R[L++]=S[O++],L==this.blockSize){i(this,R),L=0;break}}this.h=L,this.o+=C},o.prototype.v=function(){var S=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);S[0]=128;for(var C=1;C<S.length-8;++C)S[C]=0;var A=8*this.o;for(C=S.length-8;C<S.length;++C)S[C]=A&255,A/=256;for(this.u(S),S=Array(16),C=A=0;4>C;++C)for(var R=0;32>R;R+=8)S[A++]=this.g[C]>>>R&255;return S};function s(S,C){var A=l;return Object.prototype.hasOwnProperty.call(A,S)?A[S]:A[S]=C(S)}function a(S,C){this.h=C;for(var A=[],R=!0,L=S.length-1;0<=L;L--){var O=S[L]|0;R&&O==C||(A[L]=O,R=!1)}this.g=A}var l={};function c(S){return-128<=S&&128>S?s(S,function(C){return new a([C|0],0>C?-1:0)}):new a([S|0],0>S?-1:0)}function u(S){if(isNaN(S)||!isFinite(S))return p;if(0>S)return w(u(-S));for(var C=[],A=1,R=0;S>=A;R++)C[R]=S/A|0,A*=4294967296;return new a(C,0)}function d(S,C){if(S.length==0)throw Error("number format error: empty string");if(C=C||10,2>C||36<C)throw Error("radix out of range: "+C);if(S.charAt(0)=="-")return w(d(S.substring(1),C));if(0<=S.indexOf("-"))throw Error('number format error: interior "-" character');for(var A=u(Math.pow(C,8)),R=p,L=0;L<S.length;L+=8){var O=Math.min(8,S.length-L),k=parseInt(S.substring(L,L+O),C);8>O?(O=u(Math.pow(C,O)),R=R.j(O).add(u(k))):(R=R.j(A),R=R.add(u(k)))}return R}var p=c(0),h=c(1),m=c(16777216);n=a.prototype,n.m=function(){if(v(this))return-w(this).m();for(var S=0,C=1,A=0;A<this.g.length;A++){var R=this.i(A);S+=(0<=R?R:4294967296+R)*C,C*=4294967296}return S},n.toString=function(S){if(S=S||10,2>S||36<S)throw Error("radix out of range: "+S);if(g(this))return"0";if(v(this))return"-"+w(this).toString(S);for(var C=u(Math.pow(S,6)),A=this,R="";;){var L=P(A,C).g;A=I(A,L.j(C));var O=((0<A.g.length?A.g[0]:A.h)>>>0).toString(S);if(A=L,g(A))return O+R;for(;6>O.length;)O="0"+O;R=O+R}},n.i=function(S){return 0>S?0:S<this.g.length?this.g[S]:this.h};function g(S){if(S.h!=0)return!1;for(var C=0;C<S.g.length;C++)if(S.g[C]!=0)return!1;return!0}function v(S){return S.h==-1}n.l=function(S){return S=I(this,S),v(S)?-1:g(S)?0:1};function w(S){for(var C=S.g.length,A=[],R=0;R<C;R++)A[R]=~S.g[R];return new a(A,~S.h).add(h)}n.abs=function(){return v(this)?w(this):this},n.add=function(S){for(var C=Math.max(this.g.length,S.g.length),A=[],R=0,L=0;L<=C;L++){var O=R+(this.i(L)&65535)+(S.i(L)&65535),k=(O>>>16)+(this.i(L)>>>16)+(S.i(L)>>>16);R=k>>>16,O&=65535,k&=65535,A[L]=k<<16|O}return new a(A,A[A.length-1]&-2147483648?-1:0)};function I(S,C){return S.add(w(C))}n.j=function(S){if(g(this)||g(S))return p;if(v(this))return v(S)?w(this).j(w(S)):w(w(this).j(S));if(v(S))return w(this.j(w(S)));if(0>this.l(m)&&0>S.l(m))return u(this.m()*S.m());for(var C=this.g.length+S.g.length,A=[],R=0;R<2*C;R++)A[R]=0;for(R=0;R<this.g.length;R++)for(var L=0;L<S.g.length;L++){var O=this.i(R)>>>16,k=this.i(R)&65535,ee=S.i(L)>>>16,J=S.i(L)&65535;A[2*R+2*L]+=k*J,b(A,2*R+2*L),A[2*R+2*L+1]+=O*J,b(A,2*R+2*L+1),A[2*R+2*L+1]+=k*ee,b(A,2*R+2*L+1),A[2*R+2*L+2]+=O*ee,b(A,2*R+2*L+2)}for(R=0;R<C;R++)A[R]=A[2*R+1]<<16|A[2*R];for(R=C;R<2*C;R++)A[R]=0;return new a(A,0)};function b(S,C){for(;(S[C]&65535)!=S[C];)S[C+1]+=S[C]>>>16,S[C]&=65535,C++}function E(S,C){this.g=S,this.h=C}function P(S,C){if(g(C))throw Error("division by zero");if(g(S))return new E(p,p);if(v(S))return C=P(w(S),C),new E(w(C.g),w(C.h));if(v(C))return C=P(S,w(C)),new E(w(C.g),C.h);if(30<S.g.length){if(v(S)||v(C))throw Error("slowDivide_ only works with positive integers.");for(var A=h,R=C;0>=R.l(S);)A=D(A),R=D(R);var L=V(A,1),O=V(R,1);for(R=V(R,2),A=V(A,2);!g(R);){var k=O.add(R);0>=k.l(S)&&(L=L.add(A),O=k),R=V(R,1),A=V(A,1)}return C=I(S,L.j(C)),new E(L,C)}for(L=p;0<=S.l(C);){for(A=Math.max(1,Math.floor(S.m()/C.m())),R=Math.ceil(Math.log(A)/Math.LN2),R=48>=R?1:Math.pow(2,R-48),O=u(A),k=O.j(C);v(k)||0<k.l(S);)A-=R,O=u(A),k=O.j(C);g(O)&&(O=h),L=L.add(O),S=I(S,k)}return new E(L,S)}n.A=function(S){return P(this,S).h},n.and=function(S){for(var C=Math.max(this.g.length,S.g.length),A=[],R=0;R<C;R++)A[R]=this.i(R)&S.i(R);return new a(A,this.h&S.h)},n.or=function(S){for(var C=Math.max(this.g.length,S.g.length),A=[],R=0;R<C;R++)A[R]=this.i(R)|S.i(R);return new a(A,this.h|S.h)},n.xor=function(S){for(var C=Math.max(this.g.length,S.g.length),A=[],R=0;R<C;R++)A[R]=this.i(R)^S.i(R);return new a(A,this.h^S.h)};function D(S){for(var C=S.g.length+1,A=[],R=0;R<C;R++)A[R]=S.i(R)<<1|S.i(R-1)>>>31;return new a(A,S.h)}function V(S,C){var A=C>>5;C%=32;for(var R=S.g.length-A,L=[],O=0;O<R;O++)L[O]=0<C?S.i(O+A)>>>C|S.i(O+A+1)<<32-C:S.i(O+A);return new a(L,S.h)}o.prototype.digest=o.prototype.v,o.prototype.reset=o.prototype.s,o.prototype.update=o.prototype.u,AI=o,a.prototype.add=a.prototype.add,a.prototype.multiply=a.prototype.j,a.prototype.modulo=a.prototype.A,a.prototype.compare=a.prototype.l,a.prototype.toNumber=a.prototype.m,a.prototype.toString=a.prototype.toString,a.prototype.getBits=a.prototype.i,a.fromNumber=u,a.fromString=d,ms=a}).apply(typeof aE<"u"?aE:typeof self<"u"?self:typeof window<"u"?window:{});var gu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** @license 384Copyright The Closure Library Authors. 385SPDX-License-Identifier: Apache-2.0 386*/var II,Al,SI,ju,Rm,PI,RI,CI;(function(){var n,e=typeof Object.defineProperties=="function"?Object.defineProperty:function(f,y,T){return f==Array.prototype||f==Object.prototype||(f[y]=T.value),f};function r(f){f=[typeof globalThis=="object"&&globalThis,f,typeof window=="object"&&window,typeof self=="object"&&self,typeof gu=="object"&&gu];for(var y=0;y<f.length;++y){var T=f[y];if(T&&T.Math==Math)return T}throw Error("Cannot find global object")}var o=r(this);function i(f,y){if(y)e:{var T=o;f=f.split(".");for(var x=0;x<f.length-1;x++){var W=f[x];if(!(W in T))break e;T=T[W]}f=f[f.length-1],x=T[f],y=y(x),y!=x&&y!=null&&e(T,f,{configurable:!0,writable:!0,value:y})}}function s(f,y){f instanceof String&&(f+="");var T=0,x=!1,W={next:function(){if(!x&&T<f.length){var re=T++;return{value:y(re,f[re]),done:!1}}return x=!0,{done:!0,value:void 0}}};return W[Symbol.iterator]=function(){return W},W}i("Array.prototype.values",function(f){return f||function(){return s(this,function(y,T){return T})}});/** @license 387 388 Copyright The Closure Library Authors. 389 SPDX-License-Identifier: Apache-2.0 390*/var a=a||{},l=this||self;function c(f){var y=typeof f;return y=y!="object"?y:f?Array.isArray(f)?"array":y:"null",y=="array"||y=="object"&&typeof f.length=="number"}function u(f){var y=typeof f;return y=="object"&&f!=null||y=="function"}function d(f,y,T){return f.call.apply(f.bind,arguments)}function p(f,y,T){if(!f)throw Error();if(2<arguments.length){var x=Array.prototype.slice.call(arguments,2);return function(){var W=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(W,x),f.apply(y,W)}}return function(){return f.apply(y,arguments)}}function h(f,y,T){return h=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?d:p,h.apply(null,arguments)}function m(f,y){var T=Array.prototype.slice.call(arguments,1);return function(){var x=T.slice();return x.push.apply(x,arguments),f.apply(this,x)}}function g(f,y){function T(){}T.prototype=y.prototype,f.aa=y.prototype,f.prototype=new T,f.prototype.constructor=f,f.Qb=function(x,W,re){for(var ve=Array(arguments.length-2),ht=2;ht<arguments.length;ht++)ve[ht-2]=arguments[ht];return y.prototype[W].apply(x,ve)}}function v(f){const y=f.length;if(0<y){const T=Array(y);for(let x=0;x<y;x++)T[x]=f[x];return T}return[]}function w(f,y){for(let T=1;T<arguments.length;T++){const x=arguments[T];if(c(x)){const W=f.length||0,re=x.length||0;f.length=W+re;for(let ve=0;ve<re;ve++)f[W+ve]=x[ve]}else f.push(x)}}class I{constructor(y,T){this.i=y,this.j=T,this.h=0,this.g=null}get(){let y;return 0<this.h?(this.h--,y=this.g,this.g=y.next,y.next=null):y=this.i(),y}}function b(f){return/^[\s\xa0]*$/.test(f)}function E(){var f=l.navigator;return f&&(f=f.userAgent)?f:""}function P(f){return P[" "](f),f}P[" "]=function(){};var D=E().indexOf("Gecko")!=-1&&!(E().toLowerCase().indexOf("webkit")!=-1&&E().indexOf("Edge")==-1)&&!(E().indexOf("Trident")!=-1||E().indexOf("MSIE")!=-1)&&E().indexOf("Edge")==-1;function V(f,y,T){for(const x in f)y.call(T,f[x],x,f)}function S(f,y){for(const T in f)y.call(void 0,f[T],T,f)}function C(f){const y={};for(const T in f)y[T]=f[T];return y}const A="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function R(f,y){let T,x;for(let W=1;W<arguments.length;W++){x=arguments[W];for(T in x)f[T]=x[T];for(let re=0;re<A.length;re++)T=A[re],Object.prototype.hasOwnProperty.call(x,T)&&(f[T]=x[T])}}function L(f){var y=1;f=f.split(":");const T=[];for(;0<y&&f.length;)T.push(f.shift()),y--;return f.length&&T.push(f.join(":")),T}function O(f){l.setTimeout(()=>{throw f},0)}function k(){var f=te;let y=null;return f.g&&(y=f.g,f.g=f.g.next,f.g||(f.h=null),y.next=null),y}class ee{constructor(){this.h=this.g=null}add(y,T){const x=J.get();x.set(y,T),this.h?this.h.next=x:this.g=x,this.h=x}}var J=new I(()=>new q,f=>f.reset());class q{constructor(){this.next=this.g=this.h=null}set(y,T){this.h=y,this.g=T,this.next=null}reset(){this.next=this.g=this.h=null}}let j,G=!1,te=new ee,le=()=>{const f=l.Promise.resolve(void 0);j=()=>{f.then(Ae)}};var Ae=()=>{for(var f;f=k();){try{f.h.call(f.g)}catch(T){O(T)}var y=J;y.j(f),100>y.h&&(y.h++,f.next=y.g,y.g=f)}G=!1};function Ie(){this.s=this.s,this.C=this.C}Ie.prototype.s=!1,Ie.prototype.ma=function(){this.s||(this.s=!0,this.N())},Ie.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()};function Ce(f,y){this.type=f,this.g=this.target=y,this.defaultPrevented=!1}Ce.prototype.h=function(){this.defaultPrevented=!0};var vt=(function(){if(!l.addEventListener||!Object.defineProperty)return!1;var f=!1,y=Object.defineProperty({},"passive",{get:function(){f=!0}});try{const T=()=>{};l.addEventListener("test",T,y),l.removeEventListener("test",T,y)}catch{}return f})();function mt(f,y){if(Ce.call(this,f?f.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,f){var T=this.type=f.type,x=f.changedTouches&&f.changedTouches.length?f.changedTouches[0]:null;if(this.target=f.target||f.srcElement,this.g=y,y=f.relatedTarget){if(D){e:{try{P(y.nodeName);var W=!0;break e}catch{}W=!1}W||(y=null)}}else T=="mouseover"?y=f.fromElement:T=="mouseout"&&(y=f.toElement);this.relatedTarget=y,x?(this.clientX=x.clientX!==void 0?x.clientX:x.pageX,this.clientY=x.clientY!==void 0?x.clientY:x.pageY,this.screenX=x.screenX||0,this.screenY=x.screenY||0):(this.clientX=f.clientX!==void 0?f.clientX:f.pageX,this.clientY=f.clientY!==void 0?f.clientY:f.pageY,this.screenX=f.screenX||0,this.screenY=f.screenY||0),this.button=f.button,this.key=f.key||"",this.ctrlKey=f.ctrlKey,this.altKey=f.altKey,this.shiftKey=f.shiftKey,this.metaKey=f.metaKey,this.pointerId=f.pointerId||0,this.pointerType=typeof f.pointerType=="string"?f.pointerType:_t[f.pointerType]||"",this.state=f.state,this.i=f,f.defaultPrevented&&mt.aa.h.call(this)}}g(mt,Ce);var _t={2:"touch",3:"pen",4:"mouse"};mt.prototype.h=function(){mt.aa.h.call(this);var f=this.i;f.preventDefault?f.preventDefault():f.returnValue=!1};var oe="closure_listenable_"+(1e6*Math.random()|0),Ee=0;function ye(f,y,T,x,W){this.listener=f,this.proxy=null,this.src=y,this.type=T,this.capture=!!x,this.ha=W,this.key=++Ee,this.da=this.fa=!1}function de(f){f.da=!0,f.listener=null,f.proxy=null,f.src=null,f.ha=null}function Pe(f){this.src=f,this.g={},this.h=0}Pe.prototype.add=function(f,y,T,x,W){var re=f.toString();f=this.g[re],f||(f=this.g[re]=[],this.h++);var ve=M(f,y,x,W);return-1<ve?(y=f[ve],T||(y.fa=!1)):(y=new ye(y,this.src,re,!!x,W),y.fa=T,f.push(y)),y};function Fe(f,y){var T=y.type;if(T in f.g){var x=f.g[T],W=Array.prototype.indexOf.call(x,y,void 0),re;(re=0<=W)&&Array.prototype.splice.call(x,W,1),re&&(de(y),f.g[T].length==0&&(delete f.g[T],f.h--))}}function M(f,y,T,x){for(var W=0;W<f.length;++W){var re=f[W];if(!re.da&&re.listener==y&&re.capture==!!T&&re.ha==x)return W}return-1}var B="closure_lm_"+(1e6*Math.random()|0),K={};function ce(f,y,T,x,W){if(Array.isArray(y)){for(var re=0;re<y.length;re++)ce(f,y[re],T,x,W);return null}return T=X(T),f&&f[oe]?f.K(y,T,u(x)?!!x.capture:!1,W):ie(f,y,T,!1,x,W)}function ie(f,y,T,x,W,re){if(!y)throw Error("Invalid event type");var ve=u(W)?!!W.capture:!!W,ht=fe(f);if(ht||(f[B]=ht=new Pe(f)),T=ht.add(y,T,x,ve,re),T.proxy)return T;if(x=N(),T.proxy=x,x.src=f,x.listener=T,f.addEventListener)vt||(W=ve),W===void 0&&(W=!1),f.addEventListener(y.toString(),x,W);else if(f.attachEvent)f.attachEvent(Z(y.toString()),x);else if(f.addListener&&f.removeListener)f.addListener(x);else throw Error("addEventListener and attachEvent are unavailable.");return T}function N(){function f(T){return y.call(f.src,f.listener,T)}const y=ae;return f}function F(f,y,T,x,W){if(Array.isArray(y))for(var re=0;re<y.length;re++)F(f,y[re],T,x,W);else x=u(x)?!!x.capture:!!x,T=X(T),f&&f[oe]?(f=f.i,y=String(y).toString(),y in f.g&&(re=f.g[y],T=M(re,T,x,W),-1<T&&(de(re[T]),Array.prototype.splice.call(re,T,1),re.length==0&&(delete f.g[y],f.h--)))):f&&(f=fe(f))&&(y=f.g[y.toString()],f=-1,y&&(f=M(y,T,x,W)),(T=-1<f?y[f]:null)&&H(T))}function H(f){if(typeof f!="number"&&f&&!f.da){var y=f.src;if(y&&y[oe])Fe(y.i,f);else{var T=f.type,x=f.proxy;y.removeEventListener?y.removeEventListener(T,x,f.capture):y.detachEvent?y.detachEvent(Z(T),x):y.addListener&&y.removeListener&&y.removeListener(x),(T=fe(y))?(Fe(T,f),T.h==0&&(T.src=null,y[B]=null)):de(f)}}}function Z(f){return f in K?K[f]:K[f]="on"+f}function ae(f,y){if(f.da)f=!0;else{y=new mt(y,this);var T=f.listener,x=f.ha||f.src;f.fa&&H(f),f=T.call(x,y)}return f}function fe(f){return f=f[B],f instanceof Pe?f:null}var $="__closure_events_fn_"+(1e9*Math.random()>>>0);function X(f){return typeof f=="function"?f:(f[$]||(f[$]=function(y){return f.handleEvent(y)}),f[$])}function _e(){Ie.call(this),this.i=new Pe(this),this.M=this,this.F=null}g(_e,Ie),_e.prototype[oe]=!0,_e.prototype.removeEventListener=function(f,y,T,x){F(this,f,y,T,x)};function be(f,y){var T,x=f.F;if(x)for(T=[];x;x=x.F)T.push(x);if(f=f.M,x=y.type||y,typeof y=="string")y=new Ce(y,f);else if(y instanceof Ce)y.target=y.target||f;else{var W=y;y=new Ce(x,f),R(y,W)}if(W=!0,T)for(var re=T.length-1;0<=re;re--){var ve=y.g=T[re];W=qe(ve,x,!0,y)&&W}if(ve=y.g=f,W=qe(ve,x,!0,y)&&W,W=qe(ve,x,!1,y)&&W,T)for(re=0;re<T.length;re++)ve=y.g=T[re],W=qe(ve,x,!1,y)&&W}_e.prototype.N=function(){if(_e.aa.N.call(this),this.i){var f=this.i,y;for(y in f.g){for(var T=f.g[y],x=0;x<T.length;x++)de(T[x]);delete f.g[y],f.h--}}this.F=null},_e.prototype.K=function(f,y,T,x){return this.i.add(String(f),y,!1,T,x)},_e.prototype.L=function(f,y,T,x){return this.i.add(String(f),y,!0,T,x)};function qe(f,y,T,x){if(y=f.i.g[String(y)],!y)return!0;y=y.concat();for(var W=!0,re=0;re<y.length;++re){var ve=y[re];if(ve&&!ve.da&&ve.capture==T){var ht=ve.listener,nn=ve.ha||ve.src;ve.fa&&Fe(f.i,ve),W=ht.call(nn,x)!==!1&&W}}return W&&!x.defaultPrevented}function Ge(f,y,T){if(typeof f=="function")T&&(f=h(f,T));else if(f&&typeof f.handleEvent=="function")f=h(f.handleEvent,f);else throw Error("Invalid listener argument");return 2147483647<Number(y)?-1:l.setTimeout(f,y||0)}function Tt(f){f.g=Ge(()=>{f.g=null,f.i&&(f.i=!1,Tt(f))},f.l);const y=f.h;f.h=null,f.m.apply(null,y)}class Vt extends Ie{constructor(y,T){super(),this.m=y,this.l=T,this.h=null,this.i=!1,this.g=null}j(y){this.h=arguments,this.g?this.i=!0:Tt(this)}N(){super.N(),this.g&&(l.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Qt(f){Ie.call(this),this.h=f,this.g={}}g(Qt,Ie);var tr=[];function hi(f){V(f.g,function(y,T){this.g.hasOwnProperty(T)&&H(y)},f),f.g={}}Qt.prototype.N=function(){Qt.aa.N.call(this),hi(this)},Qt.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var Ns=l.JSON.stringify,pr=l.JSON.parse,Vr=class{stringify(f){return l.JSON.stringify(f,void 0)}parse(f){return l.JSON.parse(f,void 0)}};function Vs(){}Vs.prototype.h=null;function Ya(f){return f.h||(f.h=f.i())}function V0(){}var Ja={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function np(){Ce.call(this,"d")}g(np,Ce);function rp(){Ce.call(this,"c")}g(rp,Ce);var Ji={},M0=null;function Hc(){return M0=M0||new _e}Ji.La="serverreachability";function F0(f){Ce.call(this,Ji.La,f)}g(F0,Ce);function Qa(f){const y=Hc();be(y,new F0(y))}Ji.STAT_EVENT="statevent";function U0(f,y){Ce.call(this,Ji.STAT_EVENT,f),this.stat=y}g(U0,Ce);function hr(f){const y=Hc();be(y,new U0(y,f))}Ji.Ma="timingevent";function B0(f,y){Ce.call(this,Ji.Ma,f),this.size=y}g(B0,Ce);function Xa(f,y){if(typeof f!="function")throw Error("Fn must not be null and must be a function");return l.setTimeout(function(){f()},y)}function Za(){this.g=!0}Za.prototype.xa=function(){this.g=!1};function MC(f,y,T,x,W,re){f.info(function(){if(f.g)if(re)for(var ve="",ht=re.split("&"),nn=0;nn<ht.length;nn++){var nt=ht[nn].split("=");if(1<nt.length){var nr=nt[0];nt=nt[1];var rr=nr.split("_");ve=2<=rr.length&&rr[1]=="type"?ve+(nr+"="+nt+"&"):ve+(nr+"=redacted&")}}else ve=null;else ve=re;return"XMLHTTP REQ ("+x+") [attempt "+W+"]: "+y+` 391`+T+` 392`+ve})}function FC(f,y,T,x,W,re,ve){f.info(function(){return"XMLHTTP RESP ("+x+") [ attempt "+W+"]: "+y+` 393`+T+` 394`+re+" "+ve})}function Ms(f,y,T,x){f.info(function(){return"XMLHTTP TEXT ("+y+"): "+BC(f,T)+(x?" "+x:"")})}function UC(f,y){f.info(function(){return"TIMEOUT: "+y})}Za.prototype.info=function(){};function BC(f,y){if(!f.g)return y;if(!y)return null;try{var T=JSON.parse(y);if(T){for(f=0;f<T.length;f++)if(Array.isArray(T[f])){var x=T[f];if(!(2>x.length)){var W=x[1];if(Array.isArray(W)&&!(1>W.length)){var re=W[0];if(re!="noop"&&re!="stop"&&re!="close")for(var ve=1;ve<W.length;ve++)W[ve]=""}}}}return Ns(T)}catch{return y}}var qc={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},j0={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"},op;function Gc(){}g(Gc,Vs),Gc.prototype.g=function(){return new XMLHttpRequest},Gc.prototype.i=function(){return{}},op=new Gc;function mi(f,y,T,x){this.j=f,this.i=y,this.l=T,this.R=x||1,this.U=new Qt(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new $0}function $0(){this.i=null,this.g="",this.h=!1}var z0={},ip={};function sp(f,y,T){f.L=1,f.v=Jc(No(y)),f.m=T,f.P=!0,H0(f,null)}function H0(f,y){f.F=Date.now(),Wc(f),f.A=No(f.v);var T=f.A,x=f.R;Array.isArray(x)||(x=[String(x)]),oy(T.i,"t",x),f.C=0,T=f.j.J,f.h=new $0,f.g=by(f.j,T?y:null,!f.m),0<f.O&&(f.M=new Vt(h(f.Y,f,f.g),f.O)),y=f.U,T=f.g,x=f.ca;var W="readystatechange";Array.isArray(W)||(W&&(tr[0]=W.toString()),W=tr);for(var re=0;re<W.length;re++){var ve=ce(T,W[re],x||y.handleEvent,!1,y.h||y);if(!ve)break;y.g[ve.key]=ve}y=f.H?C(f.H):{},f.m?(f.u||(f.u="POST"),y["Content-Type"]="application/x-www-form-urlencoded",f.g.ea(f.A,f.u,f.m,y)):(f.u="GET",f.g.ea(f.A,f.u,null,y)),Qa(),MC(f.i,f.u,f.A,f.l,f.R,f.m)}mi.prototype.ca=function(f){f=f.target;const y=this.M;y&&Vo(f)==3?y.j():this.Y(f)},mi.prototype.Y=function(f){try{if(f==this.g)e:{const rr=Vo(this.g);var y=this.g.Ba();const Bs=this.g.Z();if(!(3>rr)&&(rr!=3||this.g&&(this.h.h||this.g.oa()||dy(this.g)))){this.J||rr!=4||y==7||(y==8||0>=Bs?Qa(3):Qa(2)),ap(this);var T=this.g.Z();this.X=T;t:if(q0(this)){var x=dy(this.g);f="";var W=x.length,re=Vo(this.g)==4;if(!this.h.i){if(typeof TextDecoder>"u"){Qi(this),el(this);var ve="";break t}this.h.i=new l.TextDecoder}for(y=0;y<W;y++)this.h.h=!0,f+=this.h.i.decode(x[y],{stream:!(re&&y==W-1)});x.length=0,this.h.g+=f,this.C=0,ve=this.h.g}else ve=this.g.oa();if(this.o=T==200,FC(this.i,this.u,this.A,this.l,this.R,rr,T),this.o){if(this.T&&!this.K){t:{if(this.g){var ht,nn=this.g;if((ht=nn.g?nn.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!b(ht)){var nt=ht;break t}}nt=null}if(T=nt)Ms(this.i,this.l,T,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,lp(this,T);else{this.o=!1,this.s=3,hr(12),Qi(this),el(this);break e}}if(this.P){T=!0;let Kr;for(;!this.J&&this.C<ve.length;)if(Kr=jC(this,ve),Kr==ip){rr==4&&(this.s=4,hr(14),T=!1),Ms(this.i,this.l,null,"[Incomplete Response]");break}else if(Kr==z0){this.s=4,hr(15),Ms(this.i,this.l,ve,"[Invalid Chunk]"),T=!1;break}else Ms(this.i,this.l,Kr,null),lp(this,Kr);if(q0(this)&&this.C!=0&&(this.h.g=this.h.g.slice(this.C),this.C=0),rr!=4||ve.length!=0||this.h.h||(this.s=1,hr(16),T=!1),this.o=this.o&&T,!T)Ms(this.i,this.l,ve,"[Invalid Chunked Response]"),Qi(this),el(this);else if(0<ve.length&&!this.W){this.W=!0;var nr=this.j;nr.g==this&&nr.ba&&!nr.M&&(nr.j.info("Great, no buffering proxy detected. Bytes received: "+ve.length),hp(nr),nr.M=!0,hr(11))}}else Ms(this.i,this.l,ve,null),lp(this,ve);rr==4&&Qi(this),this.o&&!this.J&&(rr==4?yy(this.j,this):(this.o=!1,Wc(this)))}else o2(this.g),T==400&&0<ve.indexOf("Unknown SID")?(this.s=3,hr(12)):(this.s=0,hr(13)),Qi(this),el(this)}}}catch{}finally{}};function q0(f){return f.g?f.u=="GET"&&f.L!=2&&f.j.Ca:!1}function jC(f,y){var T=f.C,x=y.indexOf(` 395`,T);return x==-1?ip:(T=Number(y.substring(T,x)),isNaN(T)?z0:(x+=1,x+T>y.length?ip:(y=y.slice(x,x+T),f.C=x+T,y)))}mi.prototype.cancel=function(){this.J=!0,Qi(this)};function Wc(f){f.S=Date.now()+f.I,G0(f,f.I)}function G0(f,y){if(f.B!=null)throw Error("WatchDog timer not null");f.B=Xa(h(f.ba,f),y)}function ap(f){f.B&&(l.clearTimeout(f.B),f.B=null)}mi.prototype.ba=function(){this.B=null;const f=Date.now();0<=f-this.S?(UC(this.i,this.A),this.L!=2&&(Qa(),hr(17)),Qi(this),this.s=2,el(this)):G0(this,this.S-f)};function el(f){f.j.G==0||f.J||yy(f.j,f)}function Qi(f){ap(f);var y=f.M;y&&typeof y.ma=="function"&&y.ma(),f.M=null,hi(f.U),f.g&&(y=f.g,f.g=null,y.abort(),y.ma())}function lp(f,y){try{var T=f.j;if(T.G!=0&&(T.g==f||cp(T.h,f))){if(!f.K&&cp(T.h,f)&&T.G==3){try{var x=T.Da.g.parse(y)}catch{x=null}if(Array.isArray(x)&&x.length==3){var W=x;if(W[0]==0){e:if(!T.u){if(T.g)if(T.g.F+3e3<f.F)nu(T),eu(T);else break e;pp(T),hr(18)}}else T.za=W[1],0<T.za-T.T&&37500>W[2]&&T.F&&T.v==0&&!T.C&&(T.C=Xa(h(T.Za,T),6e3));if(1>=Y0(T.h)&&T.ca){try{T.ca()}catch{}T.ca=void 0}}else Zi(T,11)}else if((f.K||T.g==f)&&nu(T),!b(y))for(W=T.Da.g.parse(y),y=0;y<W.length;y++){let nt=W[y];if(T.T=nt[0],nt=nt[1],T.G==2)if(nt[0]=="c"){T.K=nt[1],T.ia=nt[2];const nr=nt[3];nr!=null&&(T.la=nr,T.j.info("VER="+T.la));const rr=nt[4];rr!=null&&(T.Aa=rr,T.j.info("SVER="+T.Aa));const Bs=nt[5];Bs!=null&&typeof Bs=="number"&&0<Bs&&(x=1.5*Bs,T.L=x,T.j.info("backChannelRequestTimeoutMs_="+x)),x=T;const Kr=f.g;if(Kr){const ou=Kr.g?Kr.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(ou){var re=x.h;re.g||ou.indexOf("spdy")==-1&&ou.indexOf("quic")==-1&&ou.indexOf("h2")==-1||(re.j=re.l,re.g=new Set,re.h&&(up(re,re.h),re.h=null))}if(x.D){const mp=Kr.g?Kr.g.getResponseHeader("X-HTTP-Session-Id"):null;mp&&(x.ya=mp,Et(x.I,x.D,mp))}}T.G=3,T.l&&T.l.ua(),T.ba&&(T.R=Date.now()-f.F,T.j.info("Handshake RTT: "+T.R+"ms")),x=T;var ve=f;if(x.qa=wy(x,x.J?x.ia:null,x.W),ve.K){J0(x.h,ve);var ht=ve,nn=x.L;nn&&(ht.I=nn),ht.B&&(ap(ht),Wc(ht)),x.g=ve}else _y(x);0<T.i.length&&tu(T)}else nt[0]!="stop"&&nt[0]!="close"||Zi(T,7);else T.G==3&&(nt[0]=="stop"||nt[0]=="close"?nt[0]=="stop"?Zi(T,7):fp(T):nt[0]!="noop"&&T.l&&T.l.ta(nt),T.v=0)}}Qa(4)}catch{}}var $C=class{constructor(f,y){this.g=f,this.map=y}};function W0(f){this.l=f||10,l.PerformanceNavigationTiming?(f=l.performance.getEntriesByType("navigation"),f=0<f.length&&(f[0].nextHopProtocol=="hq"||f[0].nextHopProtocol=="h2")):f=!!(l.chrome&&l.chrome.loadTimes&&l.chrome.loadTimes()&&l.chrome.loadTimes().wasFetchedViaSpdy),this.j=f?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function K0(f){return f.h?!0:f.g?f.g.size>=f.j:!1}function Y0(f){return f.h?1:f.g?f.g.size:0}function cp(f,y){return f.h?f.h==y:f.g?f.g.has(y):!1}function up(f,y){f.g?f.g.add(y):f.h=y}function J0(f,y){f.h&&f.h==y?f.h=null:f.g&&f.g.has(y)&&f.g.delete(y)}W0.prototype.cancel=function(){if(this.i=Q0(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(const f of this.g.values())f.cancel();this.g.clear()}};function Q0(f){if(f.h!=null)return f.i.concat(f.h.D);if(f.g!=null&&f.g.size!==0){let y=f.i;for(const T of f.g.values())y=y.concat(T.D);return y}return v(f.i)}function zC(f){if(f.V&&typeof f.V=="function")return f.V();if(typeof Map<"u"&&f instanceof Map||typeof Set<"u"&&f instanceof Set)return Array.from(f.values());if(typeof f=="string")return f.split("");if(c(f)){for(var y=[],T=f.length,x=0;x<T;x++)y.push(f[x]);return y}y=[],T=0;for(x in f)y[T++]=f[x];return y}function HC(f){if(f.na&&typeof f.na=="function")return f.na();if(!f.V||typeof f.V!="function"){if(typeof Map<"u"&&f instanceof Map)return Array.from(f.keys());if(!(typeof Set<"u"&&f instanceof Set)){if(c(f)||typeof f=="string"){var y=[];f=f.length;for(var T=0;T<f;T++)y.push(T);return y}y=[],T=0;for(const x in f)y[T++]=x;return y}}}function X0(f,y){if(f.forEach&&typeof f.forEach=="function")f.forEach(y,void 0);else if(c(f)||typeof f=="string")Array.prototype.forEach.call(f,y,void 0);else for(var T=HC(f),x=zC(f),W=x.length,re=0;re<W;re++)y.call(void 0,x[re],T&&T[re],f)}var Z0=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function qC(f,y){if(f){f=f.split("&");for(var T=0;T<f.length;T++){var x=f[T].indexOf("="),W=null;if(0<=x){var re=f[T].substring(0,x);W=f[T].substring(x+1)}else re=f[T];y(re,W?decodeURIComponent(W.replace(/\+/g," ")):"")}}}function Xi(f){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,f instanceof Xi){this.h=f.h,Kc(this,f.j),this.o=f.o,this.g=f.g,Yc(this,f.s),this.l=f.l;var y=f.i,T=new rl;T.i=y.i,y.g&&(T.g=new Map(y.g),T.h=y.h),ey(this,T),this.m=f.m}else f&&(y=String(f).match(Z0))?(this.h=!1,Kc(this,y[1]||"",!0),this.o=tl(y[2]||""),this.g=tl(y[3]||"",!0),Yc(this,y[4]),this.l=tl(y[5]||"",!0),ey(this,y[6]||"",!0),this.m=tl(y[7]||"")):(this.h=!1,this.i=new rl(null,this.h))}Xi.prototype.toString=function(){var f=[],y=this.j;y&&f.push(nl(y,ty,!0),":");var T=this.g;return(T||y=="file")&&(f.push("//"),(y=this.o)&&f.push(nl(y,ty,!0),"@"),f.push(encodeURIComponent(String(T)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),T=this.s,T!=null&&f.push(":",String(T))),(T=this.l)&&(this.g&&T.charAt(0)!="/"&&f.push("/"),f.push(nl(T,T.charAt(0)=="/"?KC:WC,!0))),(T=this.i.toString())&&f.push("?",T),(T=this.m)&&f.push("#",nl(T,JC)),f.join("")};function No(f){return new Xi(f)}function Kc(f,y,T){f.j=T?tl(y,!0):y,f.j&&(f.j=f.j.replace(/:$/,""))}function Yc(f,y){if(y){if(y=Number(y),isNaN(y)||0>y)throw Error("Bad port number "+y);f.s=y}else f.s=null}function ey(f,y,T){y instanceof rl?(f.i=y,QC(f.i,f.h)):(T||(y=nl(y,YC)),f.i=new rl(y,f.h))}function Et(f,y,T){f.i.set(y,T)}function Jc(f){return Et(f,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),f}function tl(f,y){return f?y?decodeURI(f.replace(/%25/g,"%2525")):decodeURIComponent(f):""}function nl(f,y,T){return typeof f=="string"?(f=encodeURI(f).replace(y,GC),T&&(f=f.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),f):null}function GC(f){return f=f.charCodeAt(0),"%"+(f>>4&15).toString(16)+(f&15).toString(16)}var ty=/[#\/\?@]/g,WC=/[#\?:]/g,KC=/[#\?]/g,YC=/[#\?@]/g,JC=/#/g;function rl(f,y){this.h=this.g=null,this.i=f||null,this.j=!!y}function _i(f){f.g||(f.g=new Map,f.h=0,f.i&&qC(f.i,function(y,T){f.add(decodeURIComponent(y.replace(/\+/g," ")),T)}))}n=rl.prototype,n.add=function(f,y){_i(this),this.i=null,f=Fs(this,f);var T=this.g.get(f);return T||this.g.set(f,T=[]),T.push(y),this.h+=1,this};function ny(f,y){_i(f),y=Fs(f,y),f.g.has(y)&&(f.i=null,f.h-=f.g.get(y).length,f.g.delete(y))}function ry(f,y){return _i(f),y=Fs(f,y),f.g.has(y)}n.forEach=function(f,y){_i(this),this.g.forEach(function(T,x){T.forEach(function(W){f.call(y,W,x,this)},this)},this)},n.na=function(){_i(this);const f=Array.from(this.g.values()),y=Array.from(this.g.keys()),T=[];for(let x=0;x<y.length;x++){const W=f[x];for(let re=0;re<W.length;re++)T.push(y[x])}return T},n.V=function(f){_i(this);let y=[];if(typeof f=="string")ry(this,f)&&(y=y.concat(this.g.get(Fs(this,f))));else{f=Array.from(this.g.values());for(let T=0;T<f.length;T++)y=y.concat(f[T])}return y},n.set=function(f,y){return _i(this),this.i=null,f=Fs(this,f),ry(this,f)&&(this.h-=this.g.get(f).length),this.g.set(f,[y]),this.h+=1,this},n.get=function(f,y){return f?(f=this.V(f),0<f.length?String(f[0]):y):y};function oy(f,y,T){ny(f,y),0<T.length&&(f.i=null,f.g.set(Fs(f,y),v(T)),f.h+=T.length)}n.toString=function(){if(this.i)return this.i;if(!this.g)return"";const f=[],y=Array.from(this.g.keys());for(var T=0;T<y.length;T++){var x=y[T];const re=encodeURIComponent(String(x)),ve=this.V(x);for(x=0;x<ve.length;x++){var W=re;ve[x]!==""&&(W+="="+encodeURIComponent(String(ve[x]))),f.push(W)}}return this.i=f.join("&")};function Fs(f,y){return y=String(y),f.j&&(y=y.toLowerCase()),y}function QC(f,y){y&&!f.j&&(_i(f),f.i=null,f.g.forEach(function(T,x){var W=x.toLowerCase();x!=W&&(ny(this,x),oy(this,W,T))},f)),f.j=y}function XC(f,y){const T=new Za;if(l.Image){const x=new Image;x.onload=m(gi,T,"TestLoadImage: loaded",!0,y,x),x.onerror=m(gi,T,"TestLoadImage: error",!1,y,x),x.onabort=m(gi,T,"TestLoadImage: abort",!1,y,x),x.ontimeout=m(gi,T,"TestLoadImage: timeout",!1,y,x),l.setTimeout(function(){x.ontimeout&&x.ontimeout()},1e4),x.src=f}else y(!1)}function ZC(f,y){const T=new Za,x=new AbortController,W=setTimeout(()=>{x.abort(),gi(T,"TestPingServer: timeout",!1,y)},1e4);fetch(f,{signal:x.signal}).then(re=>{clearTimeout(W),re.ok?gi(T,"TestPingServer: ok",!0,y):gi(T,"TestPingServer: server error",!1,y)}).catch(()=>{clearTimeout(W),gi(T,"TestPingServer: error",!1,y)})}function gi(f,y,T,x,W){try{W&&(W.onload=null,W.onerror=null,W.onabort=null,W.ontimeout=null),x(T)}catch{}}function e2(){this.g=new Vr}function t2(f,y,T){const x=T||"";try{X0(f,function(W,re){let ve=W;u(W)&&(ve=Ns(W)),y.push(x+re+"="+encodeURIComponent(ve))})}catch(W){throw y.push(x+"type="+encodeURIComponent("_badmap")),W}}function Qc(f){this.l=f.Ub||null,this.j=f.eb||!1}g(Qc,Vs),Qc.prototype.g=function(){return new Xc(this.l,this.j)},Qc.prototype.i=(function(f){return function(){return f}})({});function Xc(f,y){_e.call(this),this.D=f,this.o=y,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}g(Xc,_e),n=Xc.prototype,n.open=function(f,y){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.B=f,this.A=y,this.readyState=1,il(this)},n.send=function(f){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");this.g=!0;const y={headers:this.u,method:this.B,credentials:this.m,cache:void 0};f&&(y.body=f),(this.D||l).fetch(new Request(this.A,y)).then(this.Sa.bind(this),this.ga.bind(this))},n.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&this.readyState!=4&&(this.g=!1,ol(this)),this.readyState=0},n.Sa=function(f){if(this.g&&(this.l=f,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=f.headers,this.readyState=2,il(this)),this.g&&(this.readyState=3,il(this),this.g)))if(this.responseType==="arraybuffer")f.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(typeof l.ReadableStream<"u"&&"body"in f){if(this.j=f.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;iy(this)}else f.text().then(this.Ra.bind(this),this.ga.bind(this))};function iy(f){f.j.read().then(f.Pa.bind(f)).catch(f.ga.bind(f))}n.Pa=function(f){if(this.g){if(this.o&&f.value)this.response.push(f.value);else if(!this.o){var y=f.value?f.value:new Uint8Array(0);(y=this.v.decode(y,{stream:!f.done}))&&(this.response=this.responseText+=y)}f.done?ol(this):il(this),this.readyState==3&&iy(this)}},n.Ra=function(f){this.g&&(this.response=this.responseText=f,ol(this))},n.Qa=function(f){this.g&&(this.response=f,ol(this))},n.ga=function(){this.g&&ol(this)};function ol(f){f.readyState=4,f.l=null,f.j=null,f.v=null,il(f)}n.setRequestHeader=function(f,y){this.u.append(f,y)},n.getResponseHeader=function(f){return this.h&&this.h.get(f.toLowerCase())||""},n.getAllResponseHeaders=function(){if(!this.h)return"";const f=[],y=this.h.entries();for(var T=y.next();!T.done;)T=T.value,f.push(T[0]+": "+T[1]),T=y.next();return f.join(`\r 396`)};function il(f){f.onreadystatechange&&f.onreadystatechange.call(f)}Object.defineProperty(Xc.prototype,"withCredentials",{get:function(){return this.m==="include"},set:function(f){this.m=f?"include":"same-origin"}});function sy(f){let y="";return V(f,function(T,x){y+=x,y+=":",y+=T,y+=`\r 397`}),y}function dp(f,y,T){e:{for(x in T){var x=!1;break e}x=!0}x||(T=sy(T),typeof f=="string"?T!=null&&encodeURIComponent(String(T)):Et(f,y,T))}function Rt(f){_e.call(this),this.headers=new Map,this.o=f||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}g(Rt,_e);var n2=/^https?$/i,r2=["POST","PUT"];n=Rt.prototype,n.Ha=function(f){this.J=f},n.ea=function(f,y,T,x){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+f);y=y?y.toUpperCase():"GET",this.D=f,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():op.g(),this.v=this.o?Ya(this.o):Ya(op),this.g.onreadystatechange=h(this.Ea,this);try{this.B=!0,this.g.open(y,String(f),!0),this.B=!1}catch(re){ay(this,re);return}if(f=T||"",T=new Map(this.headers),x)if(Object.getPrototypeOf(x)===Object.prototype)for(var W in x)T.set(W,x[W]);else if(typeof x.keys=="function"&&typeof x.get=="function")for(const re of x.keys())T.set(re,x.get(re));else throw Error("Unknown input type for opt_headers: "+String(x));x=Array.from(T.keys()).find(re=>re.toLowerCase()=="content-type"),W=l.FormData&&f instanceof l.FormData,!(0<=Array.prototype.indexOf.call(r2,y,void 0))||x||W||T.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[re,ve]of T)this.g.setRequestHeader(re,ve);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{uy(this),this.u=!0,this.g.send(f),this.u=!1}catch(re){ay(this,re)}};function ay(f,y){f.h=!1,f.g&&(f.j=!0,f.g.abort(),f.j=!1),f.l=y,f.m=5,ly(f),Zc(f)}function ly(f){f.A||(f.A=!0,be(f,"complete"),be(f,"error"))}n.abort=function(f){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=f||7,be(this,"complete"),be(this,"abort"),Zc(this))},n.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),Zc(this,!0)),Rt.aa.N.call(this)},n.Ea=function(){this.s||(this.B||this.u||this.j?cy(this):this.bb())},n.bb=function(){cy(this)};function cy(f){if(f.h&&typeof a<"u"&&(!f.v[1]||Vo(f)!=4||f.Z()!=2)){if(f.u&&Vo(f)==4)Ge(f.Ea,0,f);else if(be(f,"readystatechange"),Vo(f)==4){f.h=!1;try{const ve=f.Z();e:switch(ve){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var y=!0;break e;default:y=!1}var T;if(!(T=y)){var x;if(x=ve===0){var W=String(f.D).match(Z0)[1]||null;!W&&l.self&&l.self.location&&(W=l.self.location.protocol.slice(0,-1)),x=!n2.test(W?W.toLowerCase():"")}T=x}if(T)be(f,"complete"),be(f,"success");else{f.m=6;try{var re=2<Vo(f)?f.g.statusText:""}catch{re=""}f.l=re+" ["+f.Z()+"]",ly(f)}}finally{Zc(f)}}}}function Zc(f,y){if(f.g){uy(f);const T=f.g,x=f.v[0]?()=>{}:null;f.g=null,f.v=null,y||be(f,"ready");try{T.onreadystatechange=x}catch{}}}function uy(f){f.I&&(l.clearTimeout(f.I),f.I=null)}n.isActive=function(){return!!this.g};function Vo(f){return f.g?f.g.readyState:0}n.Z=function(){try{return 2<Vo(this)?this.g.status:-1}catch{return-1}},n.oa=function(){try{return this.g?this.g.responseText:""}catch{return""}},n.Oa=function(f){if(this.g){var y=this.g.responseText;return f&&y.indexOf(f)==0&&(y=y.substring(f.length)),pr(y)}};function dy(f){try{if(!f.g)return null;if("response"in f.g)return f.g.response;switch(f.H){case"":case"text":return f.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in f.g)return f.g.mozResponseArrayBuffer}return null}catch{return null}}function o2(f){const y={};f=(f.g&&2<=Vo(f)&&f.g.getAllResponseHeaders()||"").split(`\r 398`);for(let x=0;x<f.length;x++){if(b(f[x]))continue;var T=L(f[x]);const W=T[0];if(T=T[1],typeof T!="string")continue;T=T.trim();const re=y[W]||[];y[W]=re,re.push(T)}S(y,function(x){return x.join(", ")})}n.Ba=function(){return this.m},n.Ka=function(){return typeof this.l=="string"?this.l:String(this.l)};function sl(f,y,T){return T&&T.internalChannelParams&&T.internalChannelParams[f]||y}function fy(f){this.Aa=0,this.i=[],this.j=new Za,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=sl("failFast",!1,f),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=sl("baseRetryDelayMs",5e3,f),this.cb=sl("retryDelaySeedMs",1e4,f),this.Wa=sl("forwardChannelMaxRetries",2,f),this.wa=sl("forwardChannelRequestTimeoutMs",2e4,f),this.pa=f&&f.xmlHttpFactory||void 0,this.Xa=f&&f.Tb||void 0,this.Ca=f&&f.useFetchStreams||!1,this.L=void 0,this.J=f&&f.supportsCrossDomainXhr||!1,this.K="",this.h=new W0(f&&f.concurrentRequestLimit),this.Da=new e2,this.P=f&&f.fastHandshake||!1,this.O=f&&f.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=f&&f.Rb||!1,f&&f.xa&&this.j.xa(),f&&f.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&f&&f.detectBufferingProxy||!1,this.ja=void 0,f&&f.longPollingTimeout&&0<f.longPollingTimeout&&(this.ja=f.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}n=fy.prototype,n.la=8,n.G=1,n.connect=function(f,y,T,x){hr(0),this.W=f,this.H=y||{},T&&x!==void 0&&(this.H.OSID=T,this.H.OAID=x),this.F=this.X,this.I=wy(this,null,this.W),tu(this)};function fp(f){if(py(f),f.G==3){var y=f.U++,T=No(f.I);if(Et(T,"SID",f.K),Et(T,"RID",y),Et(T,"TYPE","terminate"),al(f,T),y=new mi(f,f.j,y),y.L=2,y.v=Jc(No(T)),T=!1,l.navigator&&l.navigator.sendBeacon)try{T=l.navigator.sendBeacon(y.v.toString(),"")}catch{}!T&&l.Image&&(new Image().src=y.v,T=!0),T||(y.g=by(y.j,null),y.g.ea(y.v)),y.F=Date.now(),Wc(y)}Ey(f)}function eu(f){f.g&&(hp(f),f.g.cancel(),f.g=null)}function py(f){eu(f),f.u&&(l.clearTimeout(f.u),f.u=null),nu(f),f.h.cancel(),f.s&&(typeof f.s=="number"&&l.clearTimeout(f.s),f.s=null)}function tu(f){if(!K0(f.h)&&!f.s){f.s=!0;var y=f.Ga;j||le(),G||(j(),G=!0),te.add(y,f),f.B=0}}function i2(f,y){return Y0(f.h)>=f.h.j-(f.s?1:0)?!1:f.s?(f.i=y.D.concat(f.i),!0):f.G==1||f.G==2||f.B>=(f.Va?0:f.Wa)?!1:(f.s=Xa(h(f.Ga,f,y),vy(f,f.B)),f.B++,!0)}n.Ga=function(f){if(this.s)if(this.s=null,this.G==1){if(!f){this.U=Math.floor(1e5*Math.random()),f=this.U++;const W=new mi(this,this.j,f);let re=this.o;if(this.S&&(re?(re=C(re),R(re,this.S)):re=this.S),this.m!==null||this.O||(W.H=re,re=null),this.P)e:{for(var y=0,T=0;T<this.i.length;T++){t:{var x=this.i[T];if("__data__"in x.map&&(x=x.map.__data__,typeof x=="string")){x=x.length;break t}x=void 0}if(x===void 0)break;if(y+=x,4096<y){y=T;break e}if(y===4096||T===this.i.length-1){y=T+1;break e}}y=1e3}else y=1e3;y=my(this,W,y),T=No(this.I),Et(T,"RID",f),Et(T,"CVER",22),this.D&&Et(T,"X-HTTP-Session-Id",this.D),al(this,T),re&&(this.O?y="headers="+encodeURIComponent(String(sy(re)))+"&"+y:this.m&&dp(T,this.m,re)),up(this.h,W),this.Ua&&Et(T,"TYPE","init"),this.P?(Et(T,"$req",y),Et(T,"SID","null"),W.T=!0,sp(W,T,null)):sp(W,T,y),this.G=2}}else this.G==3&&(f?hy(this,f):this.i.length==0||K0(this.h)||hy(this))};function hy(f,y){var T;y?T=y.l:T=f.U++;const x=No(f.I);Et(x,"SID",f.K),Et(x,"RID",T),Et(x,"AID",f.T),al(f,x),f.m&&f.o&&dp(x,f.m,f.o),T=new mi(f,f.j,T,f.B+1),f.m===null&&(T.H=f.o),y&&(f.i=y.D.concat(f.i)),y=my(f,T,1e3),T.I=Math.round(.5*f.wa)+Math.round(.5*f.wa*Math.random()),up(f.h,T),sp(T,x,y)}function al(f,y){f.H&&V(f.H,function(T,x){Et(y,x,T)}),f.l&&X0({},function(T,x){Et(y,x,T)})}function my(f,y,T){T=Math.min(f.i.length,T);var x=f.l?h(f.l.Na,f.l,f):null;e:{var W=f.i;let re=-1;for(;;){const ve=["count="+T];re==-1?0<T?(re=W[0].g,ve.push("ofs="+re)):re=0:ve.push("ofs="+re);let ht=!0;for(let nn=0;nn<T;nn++){let nt=W[nn].g;const nr=W[nn].map;if(nt-=re,0>nt)re=Math.max(0,W[nn].g-100),ht=!1;else try{t2(nr,ve,"req"+nt+"_")}catch{x&&x(nr)}}if(ht){x=ve.join("&");break e}}}return f=f.i.splice(0,T),y.D=f,x}function _y(f){if(!f.g&&!f.u){f.Y=1;var y=f.Fa;j||le(),G||(j(),G=!0),te.add(y,f),f.v=0}}function pp(f){return f.g||f.u||3<=f.v?!1:(f.Y++,f.u=Xa(h(f.Fa,f),vy(f,f.v)),f.v++,!0)}n.Fa=function(){if(this.u=null,gy(this),this.ba&&!(this.M||this.g==null||0>=this.R)){var f=2*this.R;this.j.info("BP detection timer enabled: "+f),this.A=Xa(h(this.ab,this),f)}},n.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,hr(10),eu(this),gy(this))};function hp(f){f.A!=null&&(l.clearTimeout(f.A),f.A=null)}function gy(f){f.g=new mi(f,f.j,"rpc",f.Y),f.m===null&&(f.g.H=f.o),f.g.O=0;var y=No(f.qa);Et(y,"RID","rpc"),Et(y,"SID",f.K),Et(y,"AID",f.T),Et(y,"CI",f.F?"0":"1"),!f.F&&f.ja&&Et(y,"TO",f.ja),Et(y,"TYPE","xmlhttp"),al(f,y),f.m&&f.o&&dp(y,f.m,f.o),f.L&&(f.g.I=f.L);var T=f.g;f=f.ia,T.L=1,T.v=Jc(No(y)),T.m=null,T.P=!0,H0(T,f)}n.Za=function(){this.C!=null&&(this.C=null,eu(this),pp(this),hr(19))};function nu(f){f.C!=null&&(l.clearTimeout(f.C),f.C=null)}function yy(f,y){var T=null;if(f.g==y){nu(f),hp(f),f.g=null;var x=2}else if(cp(f.h,y))T=y.D,J0(f.h,y),x=1;else return;if(f.G!=0){if(y.o)if(x==1){T=y.m?y.m.length:0,y=Date.now()-y.F;var W=f.B;x=Hc(),be(x,new B0(x,T)),tu(f)}else _y(f);else if(W=y.s,W==3||W==0&&0<y.X||!(x==1&&i2(f,y)||x==2&&pp(f)))switch(T&&0<T.length&&(y=f.h,y.i=y.i.concat(T)),W){case 1:Zi(f,5);break;case 4:Zi(f,10);break;case 3:Zi(f,6);break;default:Zi(f,2)}}}function vy(f,y){let T=f.Ta+Math.floor(Math.random()*f.cb);return f.isActive()||(T*=2),T*y}function Zi(f,y){if(f.j.info("Error code "+y),y==2){var T=h(f.fb,f),x=f.Xa;const W=!x;x=new Xi(x||"//www.google.com/images/cleardot.gif"),l.location&&l.location.protocol=="http"||Kc(x,"https"),Jc(x),W?XC(x.toString(),T):ZC(x.toString(),T)}else hr(2);f.G=0,f.l&&f.l.sa(y),Ey(f),py(f)}n.fb=function(f){f?(this.j.info("Successfully pinged google.com"),hr(2)):(this.j.info("Failed to ping google.com"),hr(1))};function Ey(f){if(f.G=0,f.ka=[],f.l){const y=Q0(f.h);(y.length!=0||f.i.length!=0)&&(w(f.ka,y),w(f.ka,f.i),f.h.i.length=0,v(f.i),f.i.length=0),f.l.ra()}}function wy(f,y,T){var x=T instanceof Xi?No(T):new Xi(T);if(x.g!="")y&&(x.g=y+"."+x.g),Yc(x,x.s);else{var W=l.location;x=W.protocol,y=y?y+"."+W.hostname:W.hostname,W=+W.port;var re=new Xi(null);x&&Kc(re,x),y&&(re.g=y),W&&Yc(re,W),T&&(re.l=T),x=re}return T=f.D,y=f.ya,T&&y&&Et(x,T,y),Et(x,"VER",f.la),al(f,x),x}function by(f,y,T){if(y&&!f.J)throw Error("Can't create secondary domain capable XhrIo object.");return y=f.Ca&&!f.pa?new Rt(new Qc({eb:T})):new Rt(f.pa),y.Ha(f.J),y}n.isActive=function(){return!!this.l&&this.l.isActive(this)};function Ty(){}n=Ty.prototype,n.ua=function(){},n.ta=function(){},n.sa=function(){},n.ra=function(){},n.isActive=function(){return!0},n.Na=function(){};function ru(){}ru.prototype.g=function(f,y){return new Cr(f,y)};function Cr(f,y){_e.call(this),this.g=new fy(y),this.l=f,this.h=y&&y.messageUrlParams||null,f=y&&y.messageHeaders||null,y&&y.clientProtocolHeaderRequired&&(f?f["X-Client-Protocol"]="webchannel":f={"X-Client-Protocol":"webchannel"}),this.g.o=f,f=y&&y.initMessageHeaders||null,y&&y.messageContentType&&(f?f["X-WebChannel-Content-Type"]=y.messageContentType:f={"X-WebChannel-Content-Type":y.messageContentType}),y&&y.va&&(f?f["X-WebChannel-Client-Profile"]=y.va:f={"X-WebChannel-Client-Profile":y.va}),this.g.S=f,(f=y&&y.Sb)&&!b(f)&&(this.g.m=f),this.v=y&&y.supportsCrossDomainXhr||!1,this.u=y&&y.sendRawJson||!1,(y=y&&y.httpSessionIdParam)&&!b(y)&&(this.g.D=y,f=this.h,f!==null&&y in f&&(f=this.h,y in f&&delete f[y])),this.j=new Us(this)}g(Cr,_e),Cr.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},Cr.prototype.close=function(){fp(this.g)},Cr.prototype.o=function(f){var y=this.g;if(typeof f=="string"){var T={};T.__data__=f,f=T}else this.u&&(T={},T.__data__=Ns(f),f=T);y.i.push(new $C(y.Ya++,f)),y.G==3&&tu(y)},Cr.prototype.N=function(){this.g.l=null,delete this.j,fp(this.g),delete this.g,Cr.aa.N.call(this)};function Ay(f){np.call(this),f.__headers__&&(this.headers=f.__headers__,this.statusCode=f.__status__,delete f.__headers__,delete f.__status__);var y=f.__sm__;if(y){e:{for(const T in y){f=T;break e}f=void 0}(this.i=f)&&(f=this.i,y=y!==null&&f in y?y[f]:void 0),this.data=y}else this.data=f}g(Ay,np);function Iy(){rp.call(this),this.status=1}g(Iy,rp);function Us(f){this.g=f}g(Us,Ty),Us.prototype.ua=function(){be(this.g,"a")},Us.prototype.ta=function(f){be(this.g,new Ay(f))},Us.prototype.sa=function(f){be(this.g,new Iy)},Us.prototype.ra=function(){be(this.g,"b")},ru.prototype.createWebChannel=ru.prototype.g,Cr.prototype.send=Cr.prototype.o,Cr.prototype.open=Cr.prototype.m,Cr.prototype.close=Cr.prototype.close,CI=function(){return new ru},RI=function(){return Hc()},PI=Ji,Rm={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},qc.NO_ERROR=0,qc.TIMEOUT=8,qc.HTTP_ERROR=6,ju=qc,j0.COMPLETE="complete",
398SI=j0,V0.EventType=Ja,Ja.OPEN="a",Ja.CLOSE="b",Ja.ERROR="c",Ja.MESSAGE="d",_e.prototype.listen=_e.prototype.K,Al=V0,Rt.prototype.listenOnce=Rt.prototype.L,Rt.prototype.getLastError=Rt.prototype.Ka,Rt.prototype.getLastErrorCode=Rt.prototype.Ba,Rt.prototype.getStatus=Rt.prototype.Z,Rt.prototype.getResponseJson=Rt.prototype.Oa,Rt.prototype.getResponseText=Rt.prototype.oa,Rt.prototype.send=Rt.prototype.ea,Rt.prototype.setWithCredentials=Rt.prototype.Ha,II=Rt}).apply(typeof gu<"u"?gu:typeof self<"u"?self:typeof window<"u"?window:{});const lE="@firebase/firestore";/** 399 * @license 400 * Copyright 2017 Google LLC 401 * 402 * Licensed under the Apache License, Version 2.0 (the "License"); 403 * you may not use this file except in compliance with the License. 404 * You may obtain a copy of the License at 405 * 406 * http://www.apache.org/licenses/LICENSE-2.0 407 * 408 * Unless required by applicable law or agreed to in writing, software 409 * distributed under the License is distributed on an "AS IS" BASIS, 410 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 411 * See the License for the specific language governing permissions and 412 * limitations under the License. 413 */class ar{constructor(e){this.uid=e}isAuthenticated(){return this.uid!=null}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(e){return e.uid===this.uid}}ar.UNAUTHENTICATED=new ar(null),ar.GOOGLE_CREDENTIALS=new ar("google-credentials-uid"),ar.FIRST_PARTY=new ar("first-party-uid"),ar.MOCK_USER=new ar("mock-user");/** 414 * @license 415 * Copyright 2017 Google LLC 416 * 417 * Licensed under the Apache License, Version 2.0 (the "License"); 418 * you may not use this file except in compliance with the License. 419 * You may obtain a copy of the License at 420 * 421 * http://www.apache.org/licenses/LICENSE-2.0 422 * 423 * Unless required by applicable law or agreed to in writing, software 424 * distributed under the License is distributed on an "AS IS" BASIS, 425 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 426 * See the License for the specific language governing permissions and 427 * limitations under the License. 428 */let Ua="10.14.0";/** 429 * @license 430 * Copyright 2017 Google LLC 431 * 432 * Licensed under the Apache License, Version 2.0 (the "License"); 433 * you may not use this file except in compliance with the License. 434 * You may obtain a copy of the License at 435 * 436 * http://www.apache.org/licenses/LICENSE-2.0 437 * 438 * Unless required by applicable law or agreed to in writing, software 439 * distributed under the License is distributed on an "AS IS" BASIS, 440 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 441 * See the License for the specific language governing permissions and 442 * limitations under the License. 443 */const bs=new fg("@firebase/firestore");function pl(){return bs.logLevel}function Re(n,...e){if(bs.logLevel<=Ye.DEBUG){const r=e.map(mg);bs.debug(`Firestore (${Ua}): ${n}`,...r)}}function ai(n,...e){if(bs.logLevel<=Ye.ERROR){const r=e.map(mg);bs.error(`Firestore (${Ua}): ${n}`,...r)}}function Ta(n,...e){if(bs.logLevel<=Ye.WARN){const r=e.map(mg);bs.warn(`Firestore (${Ua}): ${n}`,...r)}}function mg(n){if(typeof n=="string")return n;try{/** 444* @license 445* Copyright 2020 Google LLC 446* 447* Licensed under the Apache License, Version 2.0 (the "License"); 448* you may not use this file except in compliance with the License. 449* You may obtain a copy of the License at 450* 451* http://www.apache.org/licenses/LICENSE-2.0 452* 453* Unless required by applicable law or agreed to in writing, software 454* distributed under the License is distributed on an "AS IS" BASIS, 455* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 456* See the License for the specific language governing permissions and 457* limitations under the License. 458*/return(function(r){return JSON.stringify(r)})(n)}catch{return n}}/** 459 * @license 460 * Copyright 2017 Google LLC 461 * 462 * Licensed under the Apache License, Version 2.0 (the "License"); 463 * you may not use this file except in compliance with the License. 464 * You may obtain a copy of the License at 465 * 466 * http://www.apache.org/licenses/LICENSE-2.0 467 * 468 * Unless required by applicable law or agreed to in writing, softw
468are 469 * distributed under the License is distributed on an "AS IS" BASIS, 470 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 471 * See the License for the specific language governing permissions and 472 * limitations under the License. 473 */function He(n="Unexpected state"){const e=`FIRESTORE (${Ua}) INTERNAL ASSERTION FAILED: `+n;throw ai(e),new Error(e)}function Lt(n,e){n||He()}function Ze(n,e){return n}/** 474 * @license 475 * Copyright 2017 Google LLC 476 * 477 * Licensed under the Apache License, Version 2.0 (the "License"); 478 * you may not use this file except in compliance with the License. 479 * You may obtain a copy of the License at 480 * 481 * http://www.apache.org/licenses/LICENSE-2.0 482 * 483 * Unless required by applicable law or agreed to in writing, software 484 * distributed under the License is distributed on an "AS IS" BASIS, 485 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 486 * See the License for the specific language governing permissions and 487 * limitations under the License. 488 */const we={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class Ne extends xo{constructor(e,r){super(e,r),this.code=e,this.message=r,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}/** 489 * @license 490 * Copyright 2017 Google LLC 491 * 492 * Licensed under the Apache License, Version 2.0 (the "License"); 493 * you may not use this file except in compliance with the License. 494 * You may obtain a copy of the License at 495 * 496 * http://www.apache.org/licenses/LICENSE-2.0 497 * 498 * Unless required by applicable law or agreed to in writing, software 499 * distributed under the License is distributed on an "AS IS" BASIS, 500 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 501 * See the License for the specific language governing permissions and 502 * limitations under the License. 503 */class la{constructor(){this.promise=new Promise(((e,r)=>{this.resolve=e,this.reject=r}))}}/** 504 * @license 505 * Copyright 2017 Google LLC 506 * 507 * Licensed under the Apache License, Version 2.0 (the "License"); 508 * you may not use this file except in compliance with the License. 509 * You may obtain a copy of the License at 510 * 511 * http://www.apache.org/licenses/LICENSE-2.0 512 * 513 * Unless required by applicable law or agreed to in writing, software 514 * distributed under the License is distributed on an "AS IS" BASIS, 515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 516 * See the License for the specific language governing permissions and 517 * limitations under the License. 518 */class OI{constructor(e,r){this.user=r,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${e}`)}}class p4{getToken(){return Promise.resolve(null)}invalidateToken(){}start(e,r){e.enqueueRetryable((()=>r(ar.UNAUTHENTICATED)))}shutdown(){}}class h4{constructor(e){this.token=e,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(e,r){this.changeListener=r,e.enqueueRetryable((()=>r(this.token.user)))}shutdown(){this.changeListener=null}}class m4{constructor(e){this.t=e,this.currentUser=ar.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(e,r){Lt(this.o===void 0);let o=this.i;const i=c=>this.i!==o?(o=this.i,r(c)):Promise.resolve();let s=new la;this.o=()=>{this.i++,this.currentUser=this.u(),s.resolve(),s=new la,e.enqueueRetryable((()=>i(this.currentUser)))};const a=()=>{const c=s;e.enqueueRetryable((async()=>{await c.promise,await i(this.currentUser)}))},l=c=>{Re("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=c,this.o&&(this.auth.addAuthTokenListener(this.o),a())};this.t.onInit((c=>l(c))),setTimeout((()=>{if(!this.auth){const c=this.t.getImmediate({optional:!0});c?l(c):(Re("FirebaseAuthCredentialsProvider","Auth not yet detected"),s.resolve(),s=new la)}}),0),a()}getToken(){const e=this.i,r=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(r).then((o=>this.i!==e?(Re("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):o?(Lt(typeof o.accessToken=="string"),new OI(o.accessToken,this.currentUser)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const e=this.auth&&this.auth.getUid();return Lt(e===null||typeof e=="string"),new ar(e)}}class _4{constructor(e,r,o){this.l=e,this.h=r,this.P=o,this.type="FirstParty",this.user=ar.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const e=this.T();return e&&this.I.set("Authorization",e),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class g4{constructor(e,r,o){this.l=e,this.h=r,this.P=o}getToken(){return Promise.resolve(new _4(this.l,this.h,this.P))}start(e,r){e.enqueueRetryable((()=>r(ar.FIRST_PARTY)))}shutdown(){}invalidateToken(){}}class y4{constructor(e){this.value=e,this.type="AppCheck",this.headers=new Map,e&&e.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class v4{constructor(e){this.A=e,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(e,r){Lt(this.o===void 0);const o=s=>{s.error!=null&&Re("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${s.error.message}`);const a=s.token!==this.R;return this.R=s.token,Re("FirebaseAppCheckTokenProvider",`Received ${a?"new":"existing"} token.`),a?r(s.token):Promise.resolve()};this.o=s=>{e.enqueueRetryable((()=>o(s)))};const i=s=>{Re("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=s,this.o&&this.appCheck.addTokenListener(this.o)};this.A.onInit((s=>i(s))),setTimeout((()=>
518{if(!this.appCheck){const s=this.A.getImmediate({optional:!0});s?i(s):Re("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}}),0)}getToken(){const e=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(e).then((r=>r?(Lt(typeof r.token=="string"),this.R=r.token,new y4(r.token)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}/** 519 * @license 520 * Copyright 2020 Google LLC 521 * 522 * Licensed under the Apache License, Version 2.0 (the "License"); 523 * you may not use this file except in compliance with the License. 524 * You may obtain a copy of the License at 525 * 526 * http://www.apache.org/licenses/LICENSE-2.0 527 * 528 * Unless required by applicable law or agreed to in writing, software 529 * distributed under the License is distributed on an "AS IS" BASIS, 530 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 531 * See the License for the specific language governing permissions and 532 * limitations under the License. 533 */function E4(n){const e=typeof self<"u"&&(self.crypto||self.msCrypto),r=new Uint8Array(n);if(e&&typeof e.getRandomValues=="function")e.getRandomValues(r);else for(let o=0;o<n;o++)r[o]=Math.floor(256*Math.random());return r}/** 534 * @license 535 * Copyright 2017 Google LLC 536 * 537 * Licensed under the Apache License, Version 2.0 (the "License"); 538 * you may not use this file except in compliance with the License. 539 * You may obtain a copy of the License at 540 * 541 * http://www.apache.org/licenses/LICENSE-2.0 542 * 543 * Unless required by applicable law or agreed to in writing, software 544 * distributed under the License is distributed on an "AS IS" BASIS, 545 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 546 * See the License for the specific language governing permissions and 547 * limitations under the License. 548 */class kI{static newId(){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=Math.floor(256/e.length)*e.length;let o="";for(;o.length<20;){const i=E4(40);for(let s=0;s<i.length;++s)o.length<20&&i[s]<r&&(o+=e.charAt(i[s]%e.length))}return o}}function ot(n,e){return n<e?-1:n>e?1:0}function Aa(n,e,r){return n.length===e.length&&n.every(((o,i)=>r(o,e[i])))}/** 549 * @license 550 * Copyright 2017 Google LLC 551 * 552 * Licensed under the Apache License, Version 2.0 (the "License"); 553 * you may not use this file except in compliance with the License. 554 * You may obtain a copy of the License at 555 * 556 * http://www.apache.org/licenses/LICENSE-2.0 557 * 558 * Unless required by applicable law or agreed to in writing, software 559 * distributed under the License is distributed on an "AS IS" BASIS, 560 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 561 * See the License for the specific language governing permissions and 562 * limitations under the License. 563 */class Sr{constructor(e,r){if(this.seconds=e,this.nanoseconds=r,r<0)throw new Ne(we.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+r);if(r>=1e9)throw new Ne(we.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+r);if(e<-62135596800)throw new Ne(we.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e);if(e>=253402300800)throw new Ne(we.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e)}static now(){return Sr.fromMillis(Date.now())}static fromDate(e){return Sr.fromMillis(e.getTime())}static fromMillis(e){const r=Math.floor(e/1e3),o=Math.floor(1e6*(e-1e3*r));return new Sr(r,o)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(e){return this.seconds===e.seconds?ot(this.nanoseconds,e.nanoseconds):ot(this.seconds,e.seconds)}isEqual(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const e=this.seconds- -62135596800;return String(e).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}/** 564 * @license 565 * Copyright 2017 Google LLC 566 * 567 * Licensed under the Apache License, Version 2.0 (the "License");
568 * you may not use this file except in compliance with the License. 569 * You may obtain a copy of the License at 570 * 571 * http://www.apache.org/licenses/LICENSE-2.0 572 * 573 * Unless required by applicable law or agreed to in writing, software 574 * distributed under the License is distributed on an "AS IS" BASIS, 575 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 576 * See the License for the specific language governing permissions and 577 * limitations under the License. 578 */class je{constructor(e){this.timestamp=e}static fromTimestamp(e){return new je(e)}static min(){return new je(new Sr(0,0))}static max(){return new je(new Sr(253402300799,999999999))}compareTo(e){return this.timestamp._compareTo(e.timestamp)}isEqual(e){return this.timestamp.isEqual(e.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}/** 579 * @license 580 * Copyright 2017 Google LLC 581 * 582 * Licensed under the Apache License, Version 2.0 (the "License"); 583 * you may not use this file except in compliance with the License. 584 * You may obtain a copy of the License at 585 * 586 * http://www.apache.org/licenses/LICENSE-2.0 587 * 588 * Unless required by applicable law or agreed to in writing, software 589 * distributed under the License is distributed on an "AS IS" BASIS, 590 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 591 * See the License for the specific language governing permissions and 592 * limitations under the License. 593 */class tc{constructor(e,r,o){r===void 0?r=0:r>e.length&&He(),o===void 0?o=e.length-r:o>e.length-r&&He(),this.segments=e,this.offset=r,this.len=o}get length(){return this.len}isEqual(e){return tc.comparator(this,e)===0}child(e){const r=this.segments.slice(this.offset,this.limit());return e instanceof tc?e.forEach((o=>{r.push(o)})):r.push(e),this.construct(r)}limit(){return this.offset+this.length}popFirst(e){return e=e===void 0?1:e,this.construct(this.segments,this.offset+e,this.length-e)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(e){return this.segments[this.offset+e]}isEmpty(){return this.length===0}isPrefixOf(e){if(e.length<this.length)return!1;for(let r=0;r<this.length;r++)if(this.get(r)!==e.get(r))return!1;return!0}isImmediateParentOf(e){if(this.length+1!==e.length)return!1;for(let r=0;r<this.length;r++)if(this.get(r)!==e.get(r))return!1;return!0}forEach(e){for(let r=this.offset,o=this.limit();r<o;r++)e(this.segments[r])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(e,r){const o=Math.min(e.length,r.length);for(let i=0;i<o;i++){const s=e.get(i),a=r.get(i);if(s<a)return-1;if(s>a)return 1}return e.length<r.length?-1:e.length>r.length?1:0}}class Ot extends tc{construct(e,r,o){return new Ot(e,r,o)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...e){const r=[];for(const o of e){if(o.indexOf("//")>=0)throw new Ne(we.INVALID_ARGUMENT,`Invalid segment (${o}). Paths must not contain // in them.`);r.push(...o.split("/").filter((i=>i.length>0)))}return new Ot(r)}static emptyPath(){return new Ot([])}}const w4=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class vr extends tc{construct(e,r,o){return new vr(e,r,o)}static isValidIdentifier(e){return w4.test(e)}canonicalString(){return this.toArray().map((e=>(e=e.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),vr.isValidIdentifier(e)||(e="`"+e+"`"),e))).join(".")}toString(){return this.canonicalString()}isKeyField(){return this.length===1&&this.get(0)==="__name__"}static keyField(){return new vr(["__name__"])}static fromServerFormat(e){const r=[];let o="",i=0;const s=()=>
593{if(o.length===0)throw new Ne(we.INVALID_ARGUMENT,`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);r.push(o),o=""};let a=!1;for(;i<e.length;){const l=e[i];if(l==="\\"){if(i+1===e.length)throw new Ne(we.INVALID_ARGUMENT,"Path has trailing escape character: "+e);const c=e[i+1];if(c!=="\\"&&c!=="."&&c!=="`")throw new Ne(we.INVALID_ARGUMENT,"Path has invalid escape sequence: "+e);o+=c,i+=2}else l==="`"?(a=!a,i++):l!=="."||a?(o+=l,i++):(s(),i++)}if(s(),a)throw new Ne(we.INVALID_ARGUMENT,"Unterminated ` in path: "+e);return new vr(r)}static emptyPath(){return new vr([])}}/** 594 * @license 595 * Copyright 2017 Google LLC 596 * 597 * Licensed under the Apache License, Version 2.0 (the "License"); 598 * you may not use this file except in compliance with the License. 599 * You may obtain a copy of the License at 600 * 601 * http://www.apache.org/licenses/LICENSE-2.0 602 * 603 * Unless required by applicable law or agreed to in writing, software 604 * distributed under the License is distributed on an "AS IS" BASIS, 605 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 606 * See the License for the specific language governing permissions and 607 * limitations under the License. 608 */class Ve{constructor(e){this.path=e}static fromPath(e){return new Ve(Ot.fromString(e))}static fromName(e){return new Ve(Ot.fromString(e).popFirst(5))}static empty(){return new Ve(Ot.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(e){return this.path.length>=2&&this.path.get(this.path.length-2)===e}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(e){return e!==null&&Ot.comparator(this.path,e.path)===0}toString(){return this.path.toString()}static comparator(e,r){return Ot.comparator(e.path,r.path)}static isDocumentKey(e){return e.length%2==0}static fromSegments(e){return new Ve(new Ot(e.slice()))}}function b4(n,e){const r=n.toTimestamp().seconds,o=n.toTimestamp().nanoseconds+1,i=je.fromTimestamp(o===1e9?new Sr(r+1,0):new Sr(r,o));return new Bi(i,Ve.empty(),e)}function T4(n){return new Bi(n.readTime,n.key,-1)}class Bi{constructor(e,r,o){this.readTime=e,this.documentKey=r,this.largestBatchId=o}static min(){return new Bi(je.min(),Ve.empty(),-1)}static max(){return new Bi(je.max(),Ve.empty(),-1)}}function A4(n,e){let r=n.readTime.compareTo(e.readTime);return r!==0?r:(r=Ve.comparator(n.documentKey,e.documentKey),r!==0?r:ot(n.largestBatchId,e.largestBatchId))}/** 609 * @license 610 * Copyright 2020 Google LLC 611 * 612 * Licensed under the Apache License, Version 2.0 (the "License"); 613 * you may not use this file except in compliance with the License. 614 * You may obtain a copy of the License at 615 * 616 * http://www.apache.org/licenses/LICENSE-2.0 617 * 618 * Unless required by applicable law or agreed to in writing, software 619 * distributed under the License is distributed on an "AS IS" BASIS, 620 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 621 * See the License for the specific language governing permissions and 622 * limitations under the License. 623 */const I4="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class S4{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(e){this.onCommittedListeners.push(e)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach((e=>e()))}}/** 624 * @license 625 * Copyright 2017 Google LLC 626 * 627 * Licensed under the Apache License, Version 2.0 (the "License"); 628 * you may not use this file except in compliance with the License. 629 * You may obtain a copy of the License at 630 * 631 * http://www.apache.org/licenses/LICENSE-2.0 632 * 633 * Unless required by applicable law or agreed to in writing, software 634 * distributed under the License is distributed on an "AS IS" BASIS, 635 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 636 * See the License for the specific language governing permissions and 637 * limitations under the License. 638 */async function _g(n){if(n.code!==we.FAILED_PRECONDITION||n.message!==I4)throw n;Re("LocalStore","Unexpectedly lost primary lease")}/** 639 * @license 640 * Copyright 2017 Google LLC 641 * 642 * Licensed under the Apache License, Version 2.0 (the "License");
643 * you may not use this file except in compliance with the License. 644 * You may obtain a copy of the License at 645 * 646 * http://www.apache.org/licenses/LICENSE-2.0 647 * 648 * Unless required by applicable law or agreed to in writing, software 649 * distributed under the License is distributed on an "AS IS" BASIS, 650 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 651 * See the License for the specific language governing permissions and 652 * limitations under the License. 653 */class ue{constructor(e){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,e((r=>{this.isDone=!0,this.result=r,this.nextCallback&&this.nextCallback(r)}),(r=>{this.isDone=!0,this.error=r,this.catchCallback&&this.catchCallback(r)}))}catch(e){return this.next(void 0,e)}next(e,r){return this.callbackAttached&&He(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(r,this.error):this.wrapSuccess(e,this.result):new ue(((o,i)=>{this.nextCallback=s=>{this.wrapSuccess(e,s).next(o,i)},this.catchCallback=s=>{this.wrapFailure(r,s).next(o,i)}}))}toPromise(){return new Promise(((e,r)=>{this.next(e,r)}))}wrapUserFunction(e){try{const r=e();return r instanceof ue?r:ue.resolve(r)}catch(r){return ue.reject(r)}}wrapSuccess(e,r){return e?this.wrapUserFunction((()=>e(r))):ue.resolve(r)}wrapFailure(e,r){return e?this.wrapUserFunction((()=>e(r))):ue.reject(r)}static resolve(e){return new ue(((r,o)=>{r(e)}))}static reject(e){return new ue(((r,o)=>{o(e)}))}static waitFor(e){return new ue(((r,o)=>{let i=0,s=0,a=!1;e.forEach((l=>{++i,l.next((()=>{++s,a&&s===i&&r()}),(c=>o(c)))})),a=!0,s===i&&r()}))}static or(e){let r=ue.resolve(!1);for(const o of e)r=r.next((i=>i?ue.resolve(i):o()));return r}static forEach(e,r){const o=[];return e.forEach(((i,s)=>{o.push(r.call(this,i,s))})),this.waitFor(o)}static mapArray(e,r){return new ue(((o,i)=>{const s=e.length,a=new Array(s);let l=0;for(let c=0;c<s;c++){const u=c;r(e[u]).next((d=>{a[u]=d,++l,l===s&&o(a)}),(d=>i(d)))}}))}static doWhile(e,r){return new ue(((o,i)=>{const s=()=>{e()===!0?r().next((()=>{s()}),i):o()};s()}))}}function P4(n){const e=n.match(/Android ([\d.]+)/i),r=e?e[1].split(".").slice(0,2).join("."):"-1";return Number(r)}function Ac(n){return n.name==="IndexedDbTransactionError"}/** 654 * @license 655 * Copyright 2018 Google LLC 656 * 657 * Licensed under the Apache License, Version 2.0 (the "License"); 658 * you may not use this file except in compliance with the License. 659 * You may obtain a copy of the License at 660 * 661 * http://www.apache.org/licenses/LICENSE-2.0 662 * 663 * Unless required by applicable law or agreed to in writing, software 664 * distributed under the License is distributed on an "AS IS" BASIS, 665 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 666 * See the License for the specific language governing permissions and 667 * limitations under the License. 668 */class gg{constructor(e,r){this.previousValue=e,r&&(r.sequenceNumberHandler=o=>this.ie(o),this.se=o=>r.writeSequenceNumber(o))}ie(e){return this.previousValue=Math.max(e,this.previousValue),this.previousValue}next(){const e=++this.previousValue;return this.se&&this.se(e),e}}gg.oe=-1;function Af(n){return n==null}function Cm(n){return n===0&&1/n==-1/0}/** 669 * @license 670 * Copyright 2017 Google LLC 671 * 672 * Licensed under the Apache License, Version 2.0 (the "License"); 673 * you may not use this file except in compliance with the License. 674 * You may obtain a copy of the License at 675 * 676 * http://www.apache.org/licenses/LICENSE-2.0 677 * 678 * Unless required by applicable law or agreed to in writing, software 679 * distributed under the License is distributed on an "AS IS" BASIS, 680 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 681 * See the License for the specific language governing permissions and 682 * limitations under the License. 683 */function cE(n){let e=0;for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&e++;return e}function If(n,e){for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&e(r,n[r])}function R4(n){for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e))return!1;return!0}/** 684 * @license 685 * Copyright 2017 Google LLC 686 * 687 * Licensed under the Apache License, Version 2.0 (the "License");
688 * you may not use this file except in compliance with the License. 689 * You may obtain a copy of the License at 690 * 691 * http://www.apache.org/licenses/LICENSE-2.0 692 * 693 * Unless required by applicable law or agreed to in writing, software 694 * distributed under the License is distributed on an "AS IS" BASIS, 695 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 696 * See the License for the specific language governing permissions and 697 * limitations under the License. 698 */class Nt{constructor(e,r){this.comparator=e,this.root=r||Gn.EMPTY}insert(e,r){return new Nt(this.comparator,this.root.insert(e,r,this.comparator).copy(null,null,Gn.BLACK,null,null))}remove(e){return new Nt(this.comparator,this.root.remove(e,this.comparator).copy(null,null,Gn.BLACK,null,null))}get(e){let r=this.root;for(;!r.isEmpty();){const o=this.comparator(e,r.key);if(o===0)return r.value;o<0?r=r.left:o>0&&(r=r.right)}return null}indexOf(e){let r=0,o=this.root;for(;!o.isEmpty();){const i=this.comparator(e,o.key);if(i===0)return r+o.left.size;i<0?o=o.left:(r+=o.left.size+1,o=o.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(e){return this.root.inorderTraversal(e)}forEach(e){this.inorderTraversal(((r,o)=>(e(r,o),!1)))}toString(){const e=[];return this.inorderTraversal(((r,o)=>(e.push(`${r}:${o}`),!1))),`{${e.join(", ")}}`}reverseTraversal(e){return this.root.reverseTraversal(e)}getIterator(){return new yu(this.root,null,this.comparator,!1)}getIteratorFrom(e){return new yu(this.root,e,this.comparator,!1)}getReverseIterator(){return new yu(this.root,null,this.comparator,!0)}getReverseIteratorFrom(e){return new yu(this.root,e,this.comparator,!0)}}class yu{constructor(e,r,o,i){this.isReverse=i,this.nodeStack=[];let s=1;for(;!e.isEmpty();)if(s=r?o(e.key,r):1,r&&i&&(s*=-1),s<0)e=this.isReverse?e.left:e.right;else{if(s===0){this.nodeStack.push(e);break}this.nodeStack.push(e),e=this.isReverse?e.right:e.left}}getNext(){let e=this.nodeStack.pop();const r={key:e.key,value:e.value};if(this.isReverse)for(e=e.left;!e.isEmpty();)this.nodeStack.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack.push(e),e=e.left;return r}hasNext(){return this.nodeStack.length>0}peek(){if(this.nodeStack.length===0)return null;const e=this.nodeStack[this.nodeStack.length-1];return{key:e.key,value:e.value}}}class Gn{constructor(e,r,o,i,s){this.key=e,this.value=r,this.color=o??Gn.RED,this.left=i??Gn.EMPTY,this.right=s??Gn.EMPTY,this.size=this.left.size+1+this.right.size}copy(e,r,o,i,s){return new Gn(e??this.key,r??this.value,o??this.color,i??this.left,s??this.right)}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,r,o){let i=this;const s=o(e,i.key);return i=s<0?i.copy(null,null,null,i.left.insert(e,r,o),null):s===0?i.copy(null,r,null,null,null):i.copy(null,null,null,null,i.right.insert(e,r,o)),i.fixUp()}removeMin(){if(this.left.isEmpty())return Gn.EMPTY;let e=this;return e.left.isRed()||e.left.left.isRed()||(e=e.moveRedLeft()),e=e.copy(null,null,null,e.left.removeMin(),null),e.fixUp()}remove(e,r){let o,i=this;if(r(e,i.key)<0)i.left.isEmpty()||i.left.isRed()||i.left.left.isRed()||(i=i.moveRedLeft()),i=i.copy(null,null,null,i.left.remove(e,r),null);else{if(i.left.isRed()&&(i=i.rotateRight()),i.right.isEmpty()||i.right.isRed()||i.right.left.isRed()||(i=i.moveRedRight()),r(e,i.key)===0){if(i.right.isEmpty())return Gn.EMPTY;o=i.right.min(),i=i.copy(o.key,o.value,null,null,i.right.removeMin())}i=i.copy(null,null,null,null,i.right.remove(e,r))}return i.fixUp()}isRed(){return this.color}fixUp(){let e=this;return e.right.isRed()&&!e.left.isRed()&&(e=e.rotateLeft()),e.left.isRed()&&e.left.left.isRed()&&(e=e.rotateRight()),e.left.isRed()&&e.right.isRed()&&(e=e.colorFlip()),e}moveRedLeft(){let e=this.colorFlip();return e.right.left.isRed()&&(e=e.copy(null,null,null,null,e.right.rotateRight()),e=e.rotateLeft(),e=e.colorFlip()),e}moveRedRight(){let e=this.colorFlip();return e.left.left.isRed()&&(e=e.rotateRight(),e=e.colorFlip()),e}rotateLeft(){const e=this.copy(null,null,Gn.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight(){const e=this.copy(null,null,Gn.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip(){const e=this.left.copy(null,null,!this.left.color,null,null),r=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,r)}checkMaxDepth(){const e=this.check();return Math.pow(2,e)<=this.size+1}check(){if(this.isRed()&&this.left.isRed()||this.right.isRed())throw He();const e=this.left.check();if(e!==this.right.check())throw He();return e+(this.isRed()?0:1)}}Gn.EMPTY=null,Gn.RED=!0,Gn.BLACK=!1;
698Gn.EMPTY=new class{constructor(){this.size=0}get key(){throw He()}get value(){throw He()}get color(){throw He()}get left(){throw He()}get right(){throw He()}copy(e,r,o,i,s){return this}insert(e,r,o){return new Gn(e,r)}remove(e,r){return this}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};/** 699 * @license 700 * Copyright 2017 Google LLC 701 * 702 * Licensed under the Apache License, Version 2.0 (the "License"); 703 * you may not use this file except in compliance with the License. 704 * You may obtain a copy of the License at 705 * 706 * http://www.apache.org/licenses/LICENSE-2.0 707 * 708 * Unless required by applicable law or agreed to in writing, software 709 * distributed under the License is distributed on an "AS IS" BASIS, 710 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 711 * See the License for the specific language governing permissions and 712 * limitations under the License. 713 */class Qn{constructor(e){this.comparator=e,this.data=new Nt(this.comparator)}has(e){return this.data.get(e)!==null}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(e){return this.data.indexOf(e)}forEach(e){this.data.inorderTraversal(((r,o)=>(e(r),!1)))}forEachInRange(e,r){const o=this.data.getIteratorFrom(e[0]);for(;o.hasNext();){const i=o.getNext();if(this.comparator(i.key,e[1])>=0)return;r(i.key)}}forEachWhile(e,r){let o;for(o=r!==void 0?this.data.getIteratorFrom(r):this.data.getIterator();o.hasNext();)if(!e(o.getNext().key))return}firstAfterOrEqual(e){const r=this.data.getIteratorFrom(e);return r.hasNext()?r.getNext().key:null}getIterator(){return new uE(this.data.getIterator())}getIteratorFrom(e){return new uE(this.data.getIteratorFrom(e))}add(e){return this.copy(this.data.remove(e).insert(e,!0))}delete(e){return this.has(e)?this.copy(this.data.remove(e)):this}isEmpty(){return this.data.isEmpty()}unionWith(e){let r=this;return r.size<e.size&&(r=e,e=this),e.forEach((o=>{r=r.add(o)})),r}isEqual(e){if(!(e instanceof Qn)||this.size!==e.size)return!1;const r=this.data.getIterator(),o=e.data.getIterator();for(;r.hasNext();){const i=r.getNext().key,s=o.getNext().key;if(this.comparator(i,s)!==0)return!1}return!0}toArray(){const e=[];return this.forEach((r=>{e.push(r)})),e}toString(){const e=[];return this.forEach((r=>e.push(r))),"SortedSet("+e.toString()+")"}copy(e){const r=new Qn(this.comparator);return r.data=e,r}}class uE{constructor(e){this.iter=e}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}/** 714 * @license 715 * Copyright 2020 Google LLC 716 * 717 * Licensed under the Apache License, Version 2.0 (the "License"); 718 * you may not use this file except in compliance with the License. 719 * You may obtain a copy of the License at 720 * 721 * http://www.apache.org/licenses/LICENSE-2.0 722 * 723 * Unless required by applicable law or agreed to in writing, software 724 * distributed under the License is distributed on an "AS IS" BASIS, 725 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 726 * See the License for the specific language governing permissions and 727 * limitations under the License. 728 */class Oi{constructor(e){this.fields=e,e.sort(vr.comparator)}static empty(){return new Oi([])}unionWith(e){let r=new Qn(vr.comparator);for(const o of this.fields)r=r.add(o);for(const o of e)r=r.add(o);return new Oi(r.toArray())}covers(e){for(const r of this.fields)if(r.isPrefixOf(e))return!0;return!1}isEqual(e){return Aa(this.fields,e.fields,((r,o)=>r.isEqual(o)))}}/** 729 * @license 730 * Copyright 2023 Google LLC 731 * 732 * Licensed under the Apache License, Version 2.0 (the "License"); 733 * you may not use this file except in compliance with the License. 734 * You may obtain a copy of the License at 735 * 736 * http://www.apache.org/licenses/LICENSE-2.0 737 * 738 * Unless required by applicable law or agreed to in writing, software 739 * distributed under the License is distributed on an "AS IS" BASIS, 740 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 741 * See the License for the specific language governing permissions and 742 * limitations under the License.
743 */class LI extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}/** 744 * @license 745 * Copyright 2020 Google LLC 746 * 747 * Licensed under the Apache License, Version 2.0 (the "License"); 748 * you may not use this file except in compliance with the License. 749 * You may obtain a copy of the License at 750 * 751 * http://www.apache.org/licenses/LICENSE-2.0 752 * 753 * Unless required by applicable law or agreed to in writing, software 754 * distributed under the License is distributed on an "AS IS" BASIS, 755 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 756 * See the License for the specific language governing permissions and 757 * limitations under the License. 758 */class er{constructor(e){this.binaryString=e}static fromBase64String(e){const r=(function(i){try{return atob(i)}catch(s){throw typeof DOMException<"u"&&s instanceof DOMException?new LI("Invalid base64 string: "+s):s}})(e);return new er(r)}static fromUint8Array(e){const r=(function(i){let s="";for(let a=0;a<i.length;++a)s+=String.fromCharCode(i[a]);return s})(e);return new er(r)}[Symbol.iterator](){let e=0;return{next:()=>e<this.binaryString.length?{value:this.binaryString.charCodeAt(e++),done:!1}:{value:void 0,done:!0}}}toBase64(){return(function(r){return btoa(r)})(this.binaryString)}toUint8Array(){return(function(r){const o=new Uint8Array(r.length);for(let i=0;i<r.length;i++)o[i]=r.charCodeAt(i);return o}
758)(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(e){return ot(this.binaryString,e.binaryString)}isEqual(e){return this.binaryString===e.binaryString}}er.EMPTY_BYTE_STRING=new er("");const C4=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function ji(n){if(Lt(!!n),typeof n=="string"){let e=0;const r=C4.exec(n);if(Lt(!!r),r[1]){let i=r[1];i=(i+"000000000").substr(0,9),e=Number(i)}const o=new Date(n);return{seconds:Math.floor(o.getTime()/1e3),nanos:e}}return{seconds:Dt(n.seconds),nanos:Dt(n.nanos)}}function Dt(n){return typeof n=="number"?n:typeof n=="string"?Number(n):0}function Ts(n){return typeof n=="string"?er.fromBase64String(n):er.fromUint8Array(n)}/** 759 * @license 760 * Copyright 2020 Google LLC 761 * 762 * Licensed under the Apache License, Version 2.0 (the "License"); 763 * you may not use this file except in compliance with the License. 764 * You may obtain a copy of the License at 765 * 766 * http://www.apache.org/licenses/LICENSE-2.0 767 * 768 * Unless required by applicable law or agreed to in writing, software 769 * distributed under the License is distributed on an "AS IS" BASIS, 770 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 771 * See the License for the specific language governing permissions and 772 * limitations under the License. 773 */function yg(n){var e,r;return((r=(((e=n?.mapValue)===null||e===void 0?void 0:e.fields)||{}).__type__)===null||r===void 0?void 0:r.stringValue)==="server_timestamp"}function vg(n){const e=n.mapValue.fields.__previous_value__;return yg(e)?vg(e):e}function nc(n){const e=ji(n.mapValue.fields.__local_write_time__.timestampValue);return new Sr(e.seconds,e.nanos)}/** 774 * @license 775 * Copyright 2017 Google LLC 776 * 777 * Licensed under the Apache License, Version 2.0 (the "License"); 778 * you may not use this file except in compliance with the License. 779 * You may obtain a copy of the License at 780 * 781 * http://www.apache.org/licenses/LICENSE-2.0 782 * 783 * Unless required by applicable law or agreed to in writing, software 784 * distributed under the License is distributed on an "AS IS" BASIS, 785 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 786 * See the License for the specific language governing permissions and 787 * limitations under the License. 788 */class O4{constructor(e,r,o,i,s,a,l,c,u){this.databaseId=e,this.appId=r,this.persistenceKey=o,this.host=i,this.ssl=s,this.forceLongPolling=a,this.autoDetectLongPolling=l,this.longPollingOptions=c,this.useFetchStreams=u}}class rc{constructor(e,r){this.projectId=e,this.database=r||"(default)"}static empty(){return new rc("","")}get isDefaultDatabase(){return this.database==="(default)"}isEqual(e){return e instanceof rc&&e.projectId===this.projectId&&e.database===this.database}}/** 789 * @license 790 * Copyright 2020 Google LLC 791 * 792 * Licensed under the Apache License, Version 2.0 (the "License"); 793 * you may not use this file except in compliance with the License. 794 * You may obtain a copy of the License at 795 * 796 * http://www.apache.org/licenses/LICENSE-2.0 797 * 798 * Unless required by applicable law or agreed to in writing, software 799 * distributed under the License is distributed on an "AS IS" BASIS, 800 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 801 * See the License for the specific language governing permissions and 802 * limitations under the License. 803 */const vu={mapValue:{}};function As(n){return"nullValue"in n?0:"booleanValue"in n?1:"integerValue"in n||"doubleValue"in n?2:"timestampValue"in n?3:"stringValue"in n?5:"bytesValue"in n?6:"referenceValue"in n?7:"geoPointValue"in n?8:"arrayValue"in n?9:"mapValue"in n?yg(n)?4:L4(n)?9007199254740991:k4(n)?10:11:He()}function ko(n,e){if(n===e)return!0;const r=As(n);if(r!==As(e))return!1;switch(r){case 0:case 9007199254740991:return!0;case 1:return n.booleanValue===e.booleanValue;case 4:return nc(n).isEqual(nc(e));case 3:return(function(i,s){if(typeof i.timestampValue=="string"&&typeof s.timestampValue=="string"&&i.timestampValue.length===s.timestampValue.length)return i.timestampValue===s.timestampValue;const a=ji(i.timestampValue),l=ji(s.timestampValue);return a.seconds===l.seconds&&a.nanos===l.nanos})(n,e);case 5:return n.stringValue===e.stringValue;case 6:return(function(i,s){return Ts(i.bytesValue).isEqual(Ts(s.bytesValue))})(n,e);case 7:return n.referenceValue===e.referenceValue;case 8:return(function(i,s){return Dt(i.geoPointValue.latitude)===Dt(s.geoPointValue.latitude)&&Dt(i.geoPointValue.longitude)===Dt(s.geoPointValue.longitude)})(n,e);case 2:return(function(i,s){if("integerValue"in i&&"integerValue"in s)return Dt(i.integerValue)===Dt(s.integerValue);if("doubleValue"in i&&"doubleValue"in s){const a=Dt(i.doubleValue),l=Dt(s.doubleValue);return a===l?Cm(a)===Cm(l):isNaN(a)&&isNaN(l)}return!1})(n,e);case 9:return Aa(n.arrayValue.values||[],e.arrayValue.values||[],ko);case 10:case 11:return(function(i,s){const a=i.mapValue.fields||{},l=s.mapValue.fields||{};if(cE(a)!==cE(l))return!1;for(const c in a)if(a.hasOwnProperty(c)&&(l[c]===void 0||!ko(a[c],l[c])))return!1;return!0})(n,e);default:return He()}}function oc(n,e){return(n.values||[]).find((r=>ko(r,e)))!==void 0}function Ia(n,e){if(n===e)return 0;const r=As(n),o=As(e);if(r!==o)return ot(r,o);switch(r){case 0:case 9007199254740991:return 0;case 1:return ot(n.booleanValue,e.booleanValue);case 2:return(function(s,a){const l=Dt(s.integerValue||s.doubleValue),c=Dt(a.integerValue||a.doubleValue);return l<c?-1:l>c?1:l===c?0:isNaN(l)?isNaN(c)?0:-1:1})(n,e);case 3:return dE(n.timestampValue,e.timestampValue);case 4:return dE(nc(n),nc(e));case 5:return ot(n.stringValue,e.stringValue);case 6:return(function(s,a){const l=Ts(s),c=Ts(a);return l.compareTo(c)})(n.bytesValue,e.bytesValue);case 7:return(function(s,a){const l=s.split("/"),c=a.split("/");for(let u=0;u<l.length&&u<c.length;u++){const d=ot(l[u],c[u]);if(d!==0)return d}return ot(l.length,c.length)})(n.referenceValue,e.referenceValue);case 8:return(function(s,a){const l=ot(Dt(s.latitude),Dt(a.latitude));return l!==0?l:ot(Dt(s.longitude),Dt(a.longitude))})(n.geoPointValue,e.geoPointValue);case 9:return fE(n.arrayValue,e.arrayValue);case 10:return(function(s,a){var l,c,u,d;const p=s.fields||{},h=a.fields||{},m=(l=p.value)===null||l===void 0?void 0:l.arrayValue,g=(c=h.value)===null||c===void 0?void 0:c.arrayValue,v=ot(((u=m?.values)===null||u===void 0?void 0:u.length)||0,((d=g?.values)===null||d===void 0?void 0:d.length)||0);return v!==0?v:fE(m,g)})(n.mapValue,e.mapValue);case 11:return(function(s,a){if(s===vu.mapValue&&a===vu.mapValue)return 0;if(s===vu.mapValue)return 1;if(a===vu.mapValue)return-1;const l=s.fields||{},c=Object.keys(l),u=a.fields||{},d=Object.keys(u);c.sort(),d.sort();for(let p=0;p<c.length&&p<d.length;++p){const h=ot(c[p],d[p]);if(h!==0)return h;const m=Ia(l[c[p]],u[d[p]]);if(m!==0)return m}return ot(c.length,d.length)})(n.mapValue,e.mapValue);default:throw He()}}function dE(n,e){if(typeof n=="string"&&typeof e=="string"&&n.length===e.length)return ot(n,e);const r=ji(n),o=ji(e),i=ot(r.seconds,o.seconds);return i!==0?i:ot(r.nanos,o.nanos)}function fE(n,e){const r=n.values||[],o=e.values||[];for(let i=0;i<r.length&&i<o.length;++i){const s=Ia(r[i],o[i]);if(s)return s}return ot(r.length,o.length)}function Sa(n){return Om(n)}
803function Om(n){return"nullValue"in n?"null":"booleanValue"in n?""+n.booleanValue:"integerValue"in n?""+n.integerValue:"doubleValue"in n?""+n.doubleValue:"timestampValue"in n?(function(r){const o=ji(r);return`time(${o.seconds},${o.nanos})`})(n.timestampValue):"stringValue"in n?n.stringValue:"bytesValue"in n?(function(r){return Ts(r).toBase64()})(n.bytesValue):"referenceValue"in n?(function(r){return Ve.fromName(r).toString()})(n.referenceValue):"geoPointValue"in n?(function(r){return`geo(${r.latitude},${r.longitude})`})(n.geoPointValue):"arrayValue"in n?(function(r){let o="[",i=!0;for(const s of r.values||[])i?i=!1:o+=",",o+=Om(s);return o+"]"})(n.arrayValue):"mapValue"in n?(function(r){const o=Object.keys(r.fields||{}).sort();let i="{",s=!0;for(const a of o)s?s=!1:i+=",",i+=`${a}:${Om(r.fields[a])}`;return i+"}"})(n.mapValue):He()}function km(n){return!!n&&"integerValue"in n}function Eg(n){return!!n&&"arrayValue"in n}function pE(n){return!!n&&"nullValue"in n}function hE(n){return!!n&&"doubleValue"in n&&isNaN(Number(n.doubleValue))}function qp(n){return!!n&&"mapValue"in n}function k4(n){var e,r;return((r=(((e=n?.mapValue)===null||e===void 0?void 0:e.fields)||{}).__type__)===null||r===void 0?void 0:r.stringValue)==="__vector__"}function Ml(n){if(n.geoPointValue)return{geoPointValue:Object.assign({},n.geoPointValue)};if(n.timestampValue&&typeof n.timestampValue=="object")return{timestampValue:Object.assign({},n.timestampValue)};if(n.mapValue){const e={mapValue:{fields:{}}};return If(n.mapValue.fields,((r,o)=>e.mapValue.fields[r]=Ml(o))),e}if(n.arrayValue){const e={arrayValue:{values:[]}};for(let r=0;r<(n.arrayValue.values||[]).length;++r)e.arrayValue.values[r]=Ml(n.arrayValue.values[r]);return e}return Object.assign({},n)}function L4(n){return(((n.mapValue||{}).fields||{}).__type__||{}).stringValue==="__max__"}/** 804 * @license 805 * Copyright 2017 Google LLC 806 * 807 * Licensed under the Apache License, Version 2.0 (the "License"); 808 * you may not use this file except in compliance with the License. 809 * You may obtain a copy of the License at 810 * 811 * http://www.apache.org/licenses/LICENSE-2.0 812 * 813 * Unless required by applicable law or agreed to in writing, software 814 * distributed under the License is distributed on an "AS IS" BASIS, 815 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 816 * See the License for the specific language governing permissions and 817 * limitations under the License. 818 */class go{constructor(e){this.value=e}static empty(){return new go({mapValue:{}})}field(e){if(e.isEmpty())return this.value;{let r=this.value;for(let o=0;o<e.length-1;++o)if(r=(r.mapValue.fields||{})[e.get(o)],!qp(r))return null;return r=(r.mapValue.fields||{})[e.lastSegment()],r||null}}set(e,r){this.getFieldsMap(e.popLast())[e.lastSegment()]=Ml(r)}setAll(e){let r=vr.emptyPath(),o={},i=[];e.forEach(((a,l)=>{if(!r.isImmediateParentOf(l)){const c=this.getFieldsMap(r);this.applyChanges(c,o,i),o={},i=[],r=l.popLast()}a?o[l.lastSegment()]=Ml(a):i.push(l.lastSegment())}));const s=this.getFieldsMap(r);this.applyChanges(s,o,i)}delete(e){const r=this.field(e.popLast());qp(r)&&r.mapValue.fields&&delete r.mapValue.fields[e.lastSegment()]}isEqual(e){return ko(this.value,e.value)}getFieldsMap(e){let r=this.value;r.mapValue.fields||(r.mapValue={fields:{}});for(let o=0;o<e.length;++o){let i=r.mapValue.fields[e.get(o)];qp(i)&&i.mapValue.fields||(i={mapValue:{fields:{}}},r.mapValue.fields[e.get(o)]=i),r=i}return r.mapValue.fields}applyChanges(e,r,o){If(r,((i,s)=>e[i]=s));for(const i of o)delete e[i]}clone(){return new go(Ml(this.value))}}/** 819 * @license 820 * Copyright 2017 Google LLC 821 * 822 * Licensed under the Apache License, Version 2.0 (the "License"); 823 * you may not use this file except in compliance with the License. 824 * You may obtain a copy of the License at 825 * 826 * http://www.apache.org/licenses/LICENSE-2.0 827 * 828 * Unless required by applicable law or agreed to in writing, software 829 * distributed under the License is distributed on an "AS IS" BASIS, 830 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 831 * See the License for the specific language governing permissions and 832 * limitations under the License. 833 */class cr{constructor(e,r,o,i,s,a,l){this.key=e,this.documentType=r,this.version=o,this.readTime=i,this.createTime=s,this.data=a,this.documentState=l}static newInvalidDocument(e){return new cr(e,0,je.min(),je.min(),je.min(),go.empty(),0)}static newFoundDocument(e,r,o,i){return new cr(e,1,r,je.min(),o,i,0)}static newNoDocument(e,r){return new cr(e,2,r,je.min(),je.min(),go.empty(),0)}static newUnknownDocument(e,r){return new cr(e,3,r,je.min(),je.min(),go.empty(),2)}convertToFoundDocument(e,r){return!this.createTime.isEqual(je.min())||this.documentType!==2&&this.documentType!==0||(this.createTime=e),this.version=e,this.documentType=1,this.data=r,this.documentState=0,this}convertToNoDocument(e){return this.version=e,this.documentType=2,this.data=go.empty(),this.documentState=0,this}convertToUnknownDocument(e){return this.version=e,this.documentType=3,this.data=go.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=je.min(),this}setReadTime(e){return this.readTime=e,this}get hasLocalMutations(){return this.documentState===1}get hasCommittedMutations(){return this.documentState===2}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return this.documentType!==0}isFoundDocument(){return this.documentType===1}isNoDocument(){return this.documentType===2}isUnknownDocument(){return this.documentType===3}isEqual(e){return e instanceof cr&&this.key.isEqual(e.key)&&this.version.isEqual(e.version)&&this.documentType===e.documentType&&this.documentState===e.documentState&&this.data.isEqual(e.data)}mutableCopy(){return new cr(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}
833/** 834 * @license 835 * Copyright 2022 Google LLC 836 * 837 * Licensed under the Apache License, Version 2.0 (the "License"); 838 * you may not use this file except in compliance with the License. 839 * You may obtain a copy of the License at 840 * 841 * http://www.apache.org/licenses/LICENSE-2.0 842 * 843 * Unless required by applicable law or agreed to in writing, software 844 * distributed under the License is distributed on an "AS IS" BASIS, 845 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 846 * See the License for the specific language governing permissions and 847 * limitations under the License. 848 */class Pd{constructor(e,r){this.position=e,this.inclusive=r}}function mE(n,e,r){let o=0;for(let i=0;i<n.position.length;i++){const s=e[i],a=n.position[i];if(s.field.isKeyField()?o=Ve.comparator(Ve.fromName(a.referenceValue),r.key):o=Ia(a,r.data.field(s.field)),s.dir==="desc"&&(o*=-1),o!==0)break}return o}function _E(n,e){if(n===null)return e===null;if(e===null||n.inclusive!==e.inclusive||n.position.length!==e.position.length)return!1;for(let r=0;r<n.position.length;r++)if(!ko(n.position[r],e.position[r]))return!1;return!0}/** 849 * @license 850 * Copyright 2022 Google LLC 851 * 852 * Licensed under the Apache License, Version 2.0 (the "License"); 853 * you may not use this file except in compliance with the License. 854 * You may obtain a copy of the License at 855 * 856 * http://www.apache.org/licenses/LICENSE-2.0 857 * 858 * Unless required by applicable law or agreed to in writing, software 859 * distributed under the License is distributed on an "AS IS" BASIS, 860 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 861 * See the License for the specific language governing permissions and 862 * limitations under the License. 863 */class Rd{constructor(e,r="asc"){this.field=e,this.dir=r}}function D4(n,e){return n.dir===e.dir&&n.field.isEqual(e.field)}/** 864 * @license 865 * Copyright 2022 Google LLC 866 * 867 * Licensed under the Apache License, Version 2.0 (the "License"); 868 * you may not use this file except in compliance with the License. 869 * You may obtain a copy of the License at 870 * 871 * http://www.apache.org/licenses/LICENSE-2.0 872 * 873 * Unless required by applicable law or agreed to in writing, software 874 * distributed under the License is distributed on an "AS IS" BASIS, 875 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 876 * See the License for the specific language governing permissions and 877 * limitations under the License. 878 */class DI{}class Yt extends DI{constructor(e,r,o){super(),this.field=e,this.op=r,this.value=o}static create(e,r,o){return e.isKeyField()?r==="in"||r==="not-in"?this.createKeyFieldInFilter(e,r,o):new N4(e,r,o):r==="array-contains"?new F4(e,o):r==="in"?new U4(e,o):r==="not-in"?new B4(e,o):r==="array-contains-any"?new j4(e,o):new Yt(e,r,o)}static createKeyFieldInFilter(e,r,o){return r==="in"?new V4(e,o):new M4(e,o)}matches(e){const r=e.data.field(this.field);return this.op==="!="?r!==null&&this.matchesComparison(Ia(r,this.value)):r!==null&&As(this.value)===As(r)&&this.matchesComparison(Ia(r,this.value))}matchesComparison(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return e===0;case"!=":return e!==0;case">":return e>0;case">=":return e>=0;default:return He()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class Lo extends DI{constructor(e,r){super(),this.filters=e,this.op=r,this.ae=null}static create(e,r){return new Lo(e,r)}matches(e){return xI(this)?this.filters.find((r=>!r.matches(e)))===void 0:this.filters.find((r=>r.matches(e)))!==void 0}getFlattenedFilters(){return this.ae!==null||(this.ae=this.filters.reduce(((e,r)=>e.concat(r.getFlattenedFilters())),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function xI(n){return n.op==="and"}function NI(n){return x4(n)&&xI(n)}function x4(n){for(const e of n.filters)if(e instanceof Lo)return!1;return!0}function Lm(n){if(n instanceof Yt)return n.field.canonicalString()+n.op.toString()+Sa(n.value);if(NI(n))return n.filters.map((e=>Lm(e))).join(",");{const e=n.filters.map((r=>Lm(r))).join(",");return`${n.op}(${e})`}}function VI(n,e){return n instanceof Yt?(function(o,i){return i instanceof Yt&&o.op===i.op&&o.field.isEqual(i.field)&&ko(o.value,i.value)})(n,e):n instanceof Lo?(function(o,i){return i instanceof Lo&&o.op===i.op&&o.filters.length===i.filters.length?o.filters.reduce(((s,a,l)=>s&&VI(a,i.filters[l])),!0):!1})(n,e):void He()}function MI(n){return n instanceof Yt?(function(r){return`${r.field.canonicalString()} ${r.op} ${Sa(r.value)}`})(n):n instanceof Lo?(function(r){return r.op.toString()+" {"+r.getFilters().map(MI).join(" ,")+"}"})(n):"Filter"}class N4 extends Yt{constructor(e,r,o){super(e,r,o),this.key=Ve.fromName(o.referenceValue)}matches(e){const r=Ve.comparator(e.key,this.key);return this.matchesComparison(r)}}class V4 extends Yt{constructor(e,r){super(e,"in",r),this.keys=FI("in",r)}matches(e){return this.keys.some((r=>r.isEqual(e.key)))}}class M4 extends Yt{constructor(e,r){super(e,"not-in",r),this.keys=FI("not-in",r)}matches(e){return!this.keys.some((r=>r.isEqual(e.key)))}}function FI(n,e){var r;return(((r=e.arrayValue)===null||r===void 0?void 0:r.values)||[]).map((o=>Ve.fromName(o.referenceValue)))}class F4 extends Yt{constructor(e,r){super(e,"array-contains",r)}matches(e){const r=e.data.field(this.field);return Eg(r)&&oc(r.arrayValue,this.value)}}class U4 extends Yt{constructor(e,r){super(e,"in",r)}matches(e){const r=e.data.field(this.field);return r!==null&&oc(this.value.arrayValue,r)}}class B4 extends Yt{constructor(e,r){super(e,"not-in",r)}matches(e){if(oc(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const r=e.data.field(this.field);return r!==null&&!oc(this.value.arrayValue,r)}}class j4 extends Yt{constructor(e,r){super(e,"array-contains-any",r)}matches(e){const r=e.data.field(this.field);return!(!Eg(r)||!r.arrayValue.values)&&r.arrayValue.values.some((o=>oc(this.value.arrayValue,o)))}}/** 879 * @license 880 * Copyright 2019 Google LLC 881 * 882 * Licensed under the Apache License, Version 2.0 (the "License");
883 * you may not use this file except in compliance with the License. 884 * You may obtain a copy of the License at 885 * 886 * http://www.apache.org/licenses/LICENSE-2.0 887 * 888 * Unless required by applicable law or agreed to in writing, software 889 * distributed under the License is distributed on an "AS IS" BASIS, 890 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 891 * See the License for the specific language governing permissions and 892 * limitations under the License. 893 */class $4{constructor(e,r=null,o=[],i=[],s=null,a=null,l=null){this.path=e,this.collectionGroup=r,this.orderBy=o,this.filters=i,this.limit=s,this.startAt=a,this.endAt=l,this.ue=null}}function gE(n,e=null,r=[],o=[],i=null,s=null,a=null){return new $4(n,e,r,o,i,s,a)}function wg(n){const e=Ze(n);if(e.ue===null){let r=e.path.canonicalString();e.collectionGroup!==null&&(r+="|cg:"+e.collectionGroup),r+="|f:",r+=e.filters.map((o=>Lm(o))).join(","),r+="|ob:",r+=e.orderBy.map((o=>(function(s){return s.field.canonicalString()+s.dir})(o))).join(","),Af(e.limit)||(r+="|l:",r+=e.limit),e.startAt&&(r+="|lb:",r+=e.startAt.inclusive?"b:":"a:",r+=e.startAt.position.map((o=>Sa(o))).join(",")),e.endAt&&(r+="|ub:",r+=e.endAt.inclusive?"a:":"b:",r+=e.endAt.position.map((o=>Sa(o))).join(",")),e.ue=r}return e.ue}function bg(n,e){if(n.limit!==e.limit||n.orderBy.length!==e.orderBy.length)return!1;for(let r=0;r<n.orderBy.length;r++)if(!D4(n.orderBy[r],e.orderBy[r]))return!1;if(n.filters.length!==e.filters.length)return!1;for(let r=0;r<n.filters.length;r++)if(!VI(n.filters[r],e.filters[r]))return!1;return n.collectionGroup===e.collectionGroup&&!!n.path.isEqual(e.path)&&!!_E(n.startAt,e.startAt)&&_E(n.endAt,e.endAt)}function Dm(n){return Ve.isDocumentKey(n.path)&&n.collectionGroup===null&&n.filters.length===0}/** 894 * @license 895 * Copyright 2017 Google LLC 896 * 897 * Licensed under the Apache License, Version 2.0 (the "License"); 898 * you may not use this file except in compliance with the License. 899 * You may obtain a copy of the License at 900 * 901 * http://www.apache.org/licenses/LICENSE-2.0 902 * 903 * Unless required by applicable law or agreed to in writing, software 904 * distributed under the License is distributed on an "AS IS" BASIS, 905 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 906 * See the License for the specific language governing permissions and 907 * limitations under the License. 908 */class Sf{constructor(e,r=null,o=[],i=[],s=null,a="F",l=null,c=null){this.path=e,this.collectionGroup=r,this.explicitOrderBy=o,this.filters=i,this.limit=s,this.limitType=a,this.startAt=l,this.endAt=c,this.ce=null,this.le=null,this.he=null,this.startAt,this.endAt}}function z4(n,e,r,o,i,s,a,l){return new Sf(n,e,r,o,i,s,a,l)}function Tg(n){return new Sf(n)}function yE(n){return n.filters.length===0&&n.limit===null&&n.startAt==null&&n.endAt==null&&(n.explicitOrderBy.length===0||n.explicitOrderBy.length===1&&n.explicitOrderBy[0].field.isKeyField())}function H4(n){return n.collectionGroup!==null}function Fl(n){const e=Ze(n);if(e.ce===null){e.ce=[];const r=new Set;for(const s of e.explicitOrderBy)e.ce.push(s),r.add(s.field.canonicalString());const o=e.explicitOrderBy.length>0?e.explicitOrderBy[e.explicitOrderBy.length-1].dir:"asc";(function(a){let l=new Qn(vr.comparator);return a.filters.forEach((c=>{c.getFlattenedFilters().forEach((u=>{u.isInequality()&&(l=l.add(u.field))}))})),l})(e).forEach((s=>{r.has(s.canonicalString())||s.isKeyField()||e.ce.push(new Rd(s,o))})),r.has(vr.keyField().canonicalString())||e.ce.push(new Rd(vr.keyField(),o))}return e.ce}function Ao(n){const e=Ze(n);return e.le||(e.le=q4(e,Fl(n))),e.le}function q4(n,e){if(n.limitType==="F")return gE(n.path,n.collectionGroup,e,n.filters,n.limit,n.startAt,n.endAt);{e=e.map((i=>{const s=i.dir==="desc"?"asc":"desc";return new Rd(i.field,s)}));const r=n.endAt?new Pd(n.endAt.position,n.endAt.inclusive):null,o=n.startAt?new Pd(n.startAt.position,n.startAt.inclusive):null;return gE(n.path,n.collectionGroup,e,n.filters,n.limit,r,o)}}function xm(n,e,r){return new Sf(n.path,n.collectionGroup,n.explicitOrderBy.slice(),n.filters.slice(),e,r,n.startAt,n.endAt)}function Pf(n,e){return bg(Ao(n),Ao(e))&&n.limitType===e.limitType}function UI(n){return`${wg(Ao(n))}|lt:${n.limitType}`}function Ws(n){return`Query(target=${(function(r){let o=r.path.canonicalString();return r.collectionGroup!==null&&(o+=" collectionGroup="+r.collectionGroup),r.filters.length>0&&(o+=`, filters: [${r.filters.map((i=>MI(i))).join(", ")}]`),Af(r.limit)||(o+=", limit: "+r.limit),r.orderBy.length>0&&(o+=`, orderBy: [${r.orderBy.map((i=>(function(a){return`${a.field.canonicalString()} (${a.dir})`})(i))).join(", ")}]`),r.startAt&&(o+=", startAt: ",o+=r.startAt.inclusive?"b:":"a:",o+=r.startAt.position.map((i=>Sa(i))).join(",")),r.endAt&&(o+=", endAt: ",o+=r.endAt.inclusive?"a:":"b:",o+=r.endAt.position.map((i=>Sa(i))).join(",")),`Target(${o})`})(Ao(n))}; limitType=${n.limitType})`}
908function Rf(n,e){return e.isFoundDocument()&&(function(o,i){const s=i.key.path;return o.collectionGroup!==null?i.key.hasCollectionId(o.collectionGroup)&&o.path.isPrefixOf(s):Ve.isDocumentKey(o.path)?o.path.isEqual(s):o.path.isImmediateParentOf(s)})(n,e)&&(function(o,i){for(const s of Fl(o))if(!s.field.isKeyField()&&i.data.field(s.field)===null)return!1;return!0})(n,e)&&(function(o,i){for(const s of o.filters)if(!s.matches(i))return!1;return!0})(n,e)&&(function(o,i){return!(o.startAt&&!(function(a,l,c){const u=mE(a,l,c);return a.inclusive?u<=0:u<0})(o.startAt,Fl(o),i)||o.endAt&&!(function(a,l,c){const u=mE(a,l,c);return a.inclusive?u>=0:u>0})(o.endAt,Fl(o),i))})(n,e)}function G4(n){return n.collectionGroup||(n.path.length%2==1?n.path.lastSegment():n.path.get(n.path.length-2))}function BI(n){return(e,r)=>{let o=!1;for(const i of Fl(n)){const s=W4(i,e,r);if(s!==0)return s;o=o||i.field.isKeyField()}return 0}}function W4(n,e,r){const o=n.field.isKeyField()?Ve.comparator(e.key,r.key):(function(s,a,l){const c=a.data.field(s),u=l.data.field(s);return c!==null&&u!==null?Ia(c,u):He()})(n.field,e,r);switch(n.dir){case"asc":return o;case"desc":return-1*o;default:return He()}}/** 909 * @license 910 * Copyright 2017 Google LLC 911 * 912 * Licensed under the Apache License, Version 2.0 (the "License"); 913 * you may not use this file except in compliance with the License. 914 * You may obtain a copy of the License at 915 * 916 * http://www.apache.org/licenses/LICENSE-2.0 917 * 918 * Unless required by applicable law or agreed to in writing, software 919 * distributed under the License is distributed on an "AS IS" BASIS, 920 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 921 * See the License for the specific language governing permissions and 922 * limitations under the License. 923 */class Ba{constructor(e,r){this.mapKeyFn=e,this.equalsFn=r,this.inner={},this.innerSize=0}get(e){const r=this.mapKeyFn(e),o=this.inner[r];if(o!==void 0){for(const[i,s]of o)if(this.equalsFn(i,e))return s}}has(e){return this.get(e)!==void 0}set(e,r){const o=this.mapKeyFn(e),i=this.inner[o];if(i===void 0)return this.inner[o]=[[e,r]],void this.innerSize++;for(let s=0;s<i.length;s++)if(this.equalsFn(i[s][0],e))return void(i[s]=[e,r]);i.push([e,r]),this.innerSize++}delete(e){const r=this.mapKeyFn(e),o=this.inner[r];if(o===void 0)return!1;for(let i=0;i<o.length;i++)if(this.equalsFn(o[i][0],e))return o.length===1?delete this.inner[r]:o.splice(i,1),this.innerSize--,!0;return!1}forEach(e){If(this.inner,((r,o)=>{for(const[i,s]of o)e(i,s)}))}isEmpty(){return R4(this.inner)}size(){return this.innerSize}}/** 924 * @license 925 * Copyright 2017 Google LLC 926 * 927 * Licensed under the Apache License, Version 2.0 (the "License"); 928 * you may not use this file except in compliance with the License. 929 * You may obtain a copy of the License at 930 * 931 * http://www.apache.org/licenses/LICENSE-2.0 932 * 933 * Unless required by applicable law or agreed to in writing, software 934 * distributed under the License is distributed on an "AS IS" BASIS, 935 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 936 * See the License for the specific language governing permissions and 937 * limitations under the License. 938 */const K4=new Nt(Ve.comparator);function $i(){return K4}const jI=new Nt(Ve.comparator);function Il(...n){let e=jI;for(const r of n)e=e.insert(r.key,r);return e}function Y4(n){let e=jI;return n.forEach(((r,o)=>e=e.insert(r,o.overlayedDocument))),e}function cs(){return Ul()}function $I(){return Ul()}function Ul(){return new Ba((n=>n.toString()),((n,e)=>n.isEqual(e)))}const J4=new Qn(Ve.comparator);function tt(...n){let e=J4;for(const r of n)e=e.add(r);return e}const Q4=new Qn(ot);function X4(){return Q4}/** 939 * @license 940 * Copyright 2020 Google LLC 941 * 942 * Licensed under the Apache License, Version 2.0 (the "License"); 943 * you may not use this file except in compliance with the License. 944 * You may obtain a copy of the License at 945 * 946 * http://www.apache.org/licenses/LICENSE-2.0 947 * 948 * Unless required by applicable law or agreed to in writing, software 949 * distributed under the License is distributed on an "AS IS" BASIS, 950 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 951 * See the License for the specific language governing permissions and 952 * limitations under the License. 953 */function Z4(n,e){if(n.useProto3Json){if(isNaN(e))return{doubleValue:"NaN"};if(e===1/0)return{doubleValue:"Infinity"};if(e===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Cm(e)?"-0":e}}function e3(n){return{integerValue:""+n}}/** 954 * @license 955 * Copyright 2018 Google LLC 956 * 957 * Licensed under the Apache License, Version 2.0 (the "License");
958 * you may not use this file except in compliance with the License. 959 * You may obtain a copy of the License at 960 * 961 * http://www.apache.org/licenses/LICENSE-2.0 962 * 963 * Unless required by applicable law or agreed to in writing, software 964 * distributed under the License is distributed on an "AS IS" BASIS, 965 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 966 * See the License for the specific language governing permissions and 967 * limitations under the License. 968 */class Cf{constructor(){this._=void 0}}function t3(n,e,r){return n instanceof Nm?(function(i,s){const a={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:i.seconds,nanos:i.nanoseconds}}}};return s&&yg(s)&&(s=vg(s)),s&&(a.fields.__previous_value__=s),{mapValue:a}})(r,e):n instanceof Cd?zI(n,e):n instanceof Od?HI(n,e):(function(i,s){const a=r3(i,s),l=vE(a)+vE(i.Pe);return km(a)&&km(i.Pe)?e3(l):Z4(i.serializer,l)})(n,e)}function n3(n,e,r){return n instanceof Cd?zI(n,e):n instanceof Od?HI(n,e):r}function r3(n,e){return n instanceof Vm?(function(o){return km(o)||(function(s){return!!s&&"doubleValue"in s})(o)})(e)?e:{integerValue:0}:null}class Nm extends Cf{}class Cd extends Cf{constructor(e){super(),this.elements=e}}function zI(n,e){const r=qI(e);for(const o of n.elements)r.some((i=>ko(i,o)))||r.push(o);return{arrayValue:{values:r}}}class Od extends Cf{constructor(e){super(),this.elements=e}}function HI(n,e){let r=qI(e);for(const o of n.elements)r=r.filter((i=>!ko(i,o)));return{arrayValue:{values:r}}}class Vm extends Cf{constructor(e,r){super(),this.serializer=e,this.Pe=r}}function vE(n){return Dt(n.integerValue||n.doubleValue)}function qI(n){return Eg(n)&&n.arrayValue.values?n.arrayValue.values.slice():[]}function o3(n,e){return n.field.isEqual(e.field)&&(function(o,i){return o instanceof Cd&&i instanceof Cd||o instanceof Od&&i instanceof Od?Aa(o.elements,i.elements,ko):o instanceof Vm&&i instanceof Vm?ko(o.Pe,i.Pe):o instanceof Nm&&i instanceof Nm})(n.transform,e.transform)}class _s{constructor(e,r){this.updateTime=e,this.exists=r}static none(){return new _s}static exists(e){return new _s(void 0,e)}static updateTime(e){return new _s(e)}get isNone(){return this.updateTime===void 0&&this.exists===void 0}isEqual(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)}}function $u(n,e){return n.updateTime!==void 0?e.isFoundDocument()&&e.version.isEqual(n.updateTime):n.exists===void 0||n.exists===e.isFoundDocument()}class Ag{}function GI(n,e){if(!n.hasLocalMutations||e&&e.fields.length===0)return null;if(e===null)return n.isNoDocument()?new s3(n.key,_s.none()):new Ig(n.key,n.data,_s.none());{const r=n.data,o=go.empty();let i=new Qn(vr.comparator);for(let s of e.fields)if(!i.has(s)){let a=r.field(s);a===null&&s.length>1&&(s=s.popLast(),a=r.field(s)),a===null?o.delete(s):o.set(s,a),i=i.add(s)}return new Of(n.key,o,new Oi(i.toArray()),_s.none())}}function i3(n,e,r){n instanceof Ig?(function(i,s,a){const l=i.value.clone(),c=wE(i.fieldTransforms,s,a.transformResults);l.setAll(c),s.convertToFoundDocument(a.version,l).setHasCommittedMutations()})(n,e,r):n instanceof Of?(function(i,s,a){if(!$u(i.precondition,s))return void s.convertToUnknownDocument(a.version);const l=wE(i.fieldTransforms,s,a.transformResults),c=s.data;c.setAll(WI(i)),c.setAll(l),s.convertToFoundDocument(a.version,c).setHasCommittedMutations()})(n,e,r):(function(i,s,a){s.convertToNoDocument(a.version).setHasCommittedMutations()})(0,e,r)}function Bl(n,e,r,o){return n instanceof Ig?(function(s,a,l,c){if(!$u(s.precondition,a))return l;const u=s.value.clone(),d=bE(s.fieldTransforms,c,a);return u.setAll(d),a.convertToFoundDocument(a.version,u).setHasLocalMutations(),null})(n,e,r,o):n instanceof Of?(function(s,a,l,c){if(!$u(s.precondition,a))return l;const u=bE(s.fieldTransforms,c,a),d=a.data;return d.setAll(WI(s)),d.setAll(u),a.convertToFoundDocument(a.version,d).setHasLocalMutations(),l===null?null:l.unionWith(s.fieldMask.fields).unionWith(s.fieldTransforms.map((p=>p.field)))})(n,e,r,o):(function(s,a,l){return $u(s.precondition,a)?(a.convertToNoDocument(a.version).setHasLocalMutations(),null):l})(n,e,r)}function EE(n,e){return n.type===e.type&&!!n.key.isEqual(e.key)&&!!n.prec
968ondition.isEqual(e.precondition)&&!!(function(o,i){return o===void 0&&i===void 0||!(!o||!i)&&Aa(o,i,((s,a)=>o3(s,a)))})(n.fieldTransforms,e.fieldTransforms)&&(n.type===0?n.value.isEqual(e.value):n.type!==1||n.data.isEqual(e.data)&&n.fieldMask.isEqual(e.fieldMask))}class Ig extends Ag{constructor(e,r,o,i=[]){super(),this.key=e,this.value=r,this.precondition=o,this.fieldTransforms=i,this.type=0}getFieldMask(){return null}}class Of extends Ag{constructor(e,r,o,i,s=[]){super(),this.key=e,this.data=r,this.fieldMask=o,this.precondition=i,this.fieldTransforms=s,this.type=1}getFieldMask(){return this.fieldMask}}function WI(n){const e=new Map;return n.fieldMask.fields.forEach((r=>{if(!r.isEmpty()){const o=n.data.field(r);e.set(r,o)}})),e}function wE(n,e,r){const o=new Map;Lt(n.length===r.length);for(let i=0;i<r.length;i++){const s=n[i],a=s.transform,l=e.data.field(s.field);o.set(s.field,n3(a,l,r[i]))}return o}function bE(n,e,r){const o=new Map;for(const i of n){const s=i.transform,a=r.data.field(i.field);o.set(i.field,t3(s,a,e))}return o}class s3 extends Ag{constructor(e,r){super(),this.key=e,this.precondition=r,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}/** 969 * @license 970 * Copyright 2017 Google LLC 971 * 972 * Licensed under the Apache License, Version 2.0 (the "License"); 973 * you may not use this file except in compliance with the License. 974 * You may obtain a copy of the License at 975 * 976 * http://www.apache.org/licenses/LICENSE-2.0 977 * 978 * Unless required by applicable law or agreed to in writing, software 979 * distributed under the License is distributed on an "AS IS" BASIS, 980 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 981 * See the License for the specific language governing permissions and 982 * limitations under the License. 983 */class a3{constructor(e,r,o,i){this.batchId=e,this.localWriteTime=r,this.baseMutations=o,this.mutations=i}applyToRemoteDocument(e,r){const o=r.mutationResults;for(let i=0;i<this.mutations.length;i++){const s=this.mutations[i];s.key.isEqual(e.key)&&i3(s,e,o[i])}}applyToLocalView(e,r){for(const o of this.baseMutations)o.key.isEqual(e.key)&&(r=Bl(o,e,r,this.localWriteTime));for(const o of this.mutations)o.key.isEqual(e.key)&&(r=Bl(o,e,r,this.localWriteTime));return r}applyToLocalDocumentSet(e,r){const o=$I();return this.mutations.forEach((i=>{const s=e.get(i.key),a=s.overlayedDocument;let l=this.applyToLocalView(a,s.mutatedFields);l=r.has(i.key)?null:l;const c=GI(a,l);c!==null&&o.set(i.key,c),a.isValidDocument()||a.convertToNoDocument(je.min())})),o}keys(){return this.mutations.reduce(((e,r)=>e.add(r.key)),tt())}isEqual(e){return this.batchId===e.batchId&&Aa(this.mutations,e.mutations,((r,o)=>EE(r,o)))&&Aa(this.baseMutations,e.baseMutations,((r,o)=>EE(r,o)))}}/** 984 * @license 985 * Copyright 2022 Google LLC 986 * 987 * Licensed under the Apache License, Version 2.0 (the "License"); 988 * you may not use this file except in compliance with the License. 989 * You may obtain a copy of the License at 990 * 991 * http://www.apache.org/licenses/LICENSE-2.0 992 * 993 * Unless required by applicable law or agreed to in writing, software 994 * distributed under the License is distributed on an "AS IS" BASIS, 995 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 996 * See the License for the specific language governing permissions and 997 * limitations under the License. 998 */class l3{constructor(e,r){this.largestBatchId=e,this.mutation=r}getKey(){return this.mutation.key}isEqual(e){return e!==null&&this.mutation===e.mutation}toString(){return`Overlay{ 999 largestBatchId: ${this.largestBatchId}, 1000 mutation: ${this.mutation.toString()} 1001 }`}}/** 1002 * @license 1003 * Copyright 2017 Google LLC 1004 * 1005 * Licensed under the Apache License, Version 2.0 (the "License"); 1006 * you may not use this file except in compliance with the License. 1007 * You may obtain a copy of the License at 1008 * 1009 * http://www.apache.org/licenses/LICENSE-2.0 1010 * 1011 * Unless required by applicable law or agreed to in writing, software 1012 * distributed under the License is distributed on an "AS IS" BASIS, 1013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1014 * See the License for the specific language governing permissions and 1015 * limitations under the License. 1016 */class c3{constructor(e,r){this.count=e,this.unchangedNames=r}}/** 1017 * @license 1018 * Copyright 2017 Google LLC 1019 * 1020 * Licensed under the Apache License, Version 2.0 (the "License");
1021 * you may not use this file except in compliance with the License. 1022 * You may obtain a copy of the License at 1023 * 1024 * http://www.apache.org/licenses/LICENSE-2.0 1025 * 1026 * Unless required by applicable law or agreed to in writing, software 1027 * distributed under the License is distributed on an "AS IS" BASIS, 1028 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1029 * See the License for the specific language governing permissions and 1030 * limitations under the License. 1031 */var Mt,Je;function KI(n){if(n===void 0)return ai("GRPC error has no .code"),we.UNKNOWN;switch(n){case Mt.OK:return we.OK;case Mt.CANCELLED:return we.CANCELLED;case Mt.UNKNOWN:return we.UNKNOWN;case Mt.DEADLINE_EXCEEDED:return we.DEADLINE_EXCEEDED;case Mt.RESOURCE_EXHAUSTED:return we.RESOURCE_EXHAUSTED;case Mt.INTERNAL:return we.INTERNAL;case Mt.UNAVAILABLE:return we.UNAVAILABLE;case Mt.UNAUTHENTICATED:return we.UNAUTHENTICATED;case Mt.INVALID_ARGUMENT:return we.INVALID_ARGUMENT;case Mt.NOT_FOUND:return we.NOT_FOUND;case Mt.ALREADY_EXISTS:return we.ALREADY_EXISTS;case Mt.PERMISSION_DENIED:return we.PERMISSION_DENIED;case Mt.FAILED_PRECONDITION:return we.FAILED_PRECONDITION;case Mt.ABORTED:return we.ABORTED;case Mt.OUT_OF_RANGE:return we.OUT_OF_RANGE;case Mt.UNIMPLEMENTED:return we.UNIMPLEMENTED;case Mt.DATA_LOSS:return we.DATA_LOSS;default:return He()}}(Je=Mt||(Mt={}))[Je.OK=0]="OK",Je[Je.CANCELLED=1]="CANCELLED",Je[Je.UNKNOWN=2]="UNKNOWN",Je[Je.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Je[Je.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Je[Je.NOT_FOUND=5]="NOT_FOUND",Je[Je.ALREADY_EXISTS=6]="ALREADY_EXISTS",Je[Je.PERMISSION_DENIED=7]="PERMISSION_DENIED",Je[Je.UNAUTHENTICATED=16]="UNAUTHENTICATED",Je[Je.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Je[Je.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Je[Je.ABORTED=10]="ABORTED",Je[Je.OUT_OF_RANGE=11]="OUT_OF_RANGE",Je[Je.UNIMPLEMENTED=12]="UNIMPLEMENTED",Je[Je.INTERNAL=13]="INTERNAL",Je[Je.UNAVAILABLE=14]="UNAVAILABLE",Je[Je.DATA_LOSS=15]="DATA_LOSS";/** 1032 * @license 1033 * Copyright 2023 Google LLC 1034 * 1035 * Licensed under the Apache License, Version 2.0 (the "License"); 1036 * you may not use this file except in compliance with the License. 1037 * You may obtain a copy of the License at 1038 * 1039 * http://www.apache.org/licenses/LICENSE-2.0 1040 * 1041 * Unless required by applicable law or agreed to in writing, software 1042 * distributed under the License is distributed on an "AS IS" BASIS, 1043 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1044 * See the License for the specific language governing permissions and 1045 * limitations under the License. 1046 */function u3(){return new TextEncoder}/** 1047 * @license 1048 * Copyright 2022 Google LLC 1049 * 1050 * Licensed under the Apache License, Version 2.0 (the "License"); 1051 * you may not use this file except in compliance with the License. 1052 * You may obtain a copy of the License at 1053 * 1054 * http://www.apache.org/licenses/LICENSE-2.0 1055 * 1056 * Unless required by applicable law or agreed to in writing, software 1057 * distributed under the License is distributed on an "AS IS" BASIS, 1058 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1059 * See the License for the specific language governing permissions and 1060 * limitations under the License. 1061 */const d3=new ms([4294967295,4294967295],0);function TE(n){const e=u3().encode(n),r=new AI;return r.update(e),new Uint8Array(r.digest())}function AE(n){const e=new DataView(n.buffer),r=e.getUint32(0,!0),o=e.getUint32(4,!0),i=e.getUint32(8,!0),s=e.getUint32(12,!0);return[new ms([r,o],0),new ms([i,s],0)]}class Sg{constructor(e,r,o){if(this.bitmap=e,this.padding=r,this.hashCount=o,r<0||r>=8)throw new Sl(`Invalid padding: ${r}`);if(o<0)throw new Sl(`Invalid hash count: ${o}`);if(e.length>0&&this.hashCount===0)throw new Sl(`Invalid hash count: ${o}`);if(e.length===0&&r!==0)throw new Sl(`Invalid padding when bitmap length is 0: ${r}`);this.Ie=8*e.length-r,this.Te=ms.fromNumber(this.Ie)}Ee(e,r,o){let i=e.add(r.multiply(ms.fromNumber(o)));return i.compare(d3)===1&&(i=new ms([i.getBits(0),i.getBits(1)],0)),i.modulo(this.Te).toNumber()}de(e){return(this.bitmap[Math.floor(e/8)]&1<<e%8)!=0}mightContain(e){if(this.Ie===0)return!1;const r=TE(e),[o,i]=AE(r);for(let s=0;s<this.hashCount;s++){const a=this.Ee(o,i,s);if(!this.de(a))return!1}return!0}static create(e,r,o){const i=e%8==0?0:8-e%8,s=new Uint8Array(Math.ceil(e/8)),a=new Sg(s,i,r);return o.forEach((l=>a.insert(l))),a}insert(e){if(this.Ie===0)return;const r=TE(e),[o,i]=AE(r);for(let s=0;s<this.hashCount;s++){const a=this.Ee(o,i,s);this.Ae(a)}}Ae(e){const r=Math.floor(e/8),o=e%8;this.bitmap[r]|=1<<o}}
1061class Sl extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}/** 1062 * @license 1063 * Copyright 2017 Google LLC 1064 * 1065 * Licensed under the Apache License, Version 2.0 (the "License"); 1066 * you may not use this file except in compliance with the License. 1067 * You may obtain a copy of the License at 1068 * 1069 * http://www.apache.org/licenses/LICENSE-2.0 1070 * 1071 * Unless required by applicable law or agreed to in writing, software 1072 * distributed under the License is distributed on an "AS IS" BASIS, 1073 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1074 * See the License for the specific language governing permissions and 1075 * limitations under the License. 1076 */class kf{constructor(e,r,o,i,s){this.snapshotVersion=e,this.targetChanges=r,this.targetMismatches=o,this.documentUpdates=i,this.resolvedLimboDocuments=s}static createSynthesizedRemoteEventForCurrentChange(e,r,o){const i=new Map;return i.set(e,Ic.createSynthesizedTargetChangeForCurrentChange(e,r,o)),new kf(je.min(),i,new Nt(ot),$i(),tt())}}class Ic{constructor(e,r,o,i,s){this.resumeToken=e,this.current=r,this.addedDocuments=o,this.modifiedDocuments=i,this.removedDocuments=s}static createSynthesizedTargetChangeForCurrentChange(e,r,o){return new Ic(o,r,tt(),tt(),tt())}}/** 1077 * @license 1078 * Copyright 2017 Google LLC 1079 * 1080 * Licensed under the Apache License, Version 2.0 (the "License"); 1081 * you may not use this file except in compliance with the License. 1082 * You may obtain a copy of the License at 1083 * 1084 * http://www.apache.org/licenses/LICENSE-2.0 1085 * 1086 * Unless required by applicable law or agreed to in writing, software 1087 * distributed under the License is distributed on an "AS IS" BASIS, 1088 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1089 * See the License for the specific language governing permissions and 1090 * limitations under the License. 1091 */class zu{constructor(e,r,o,i){this.Re=e,this.removedTargetIds=r,this.key=o,this.Ve=i}}class YI{constructor(e,r){this.targetId=e,this.me=r}}class JI{constructor(e,r,o=er.EMPTY_BYTE_STRING,i=null){this.state=e,this.targetIds=r,this.resumeToken=o,this.cause=i}}class IE{constructor(){this.fe=0,this.ge=PE(),this.pe=er.EMPTY_BYTE_STRING,this.ye=!1,this.we=!0}get current(){return this.ye}get resumeToken(){return this.pe}get Se(){return this.fe!==0}get be(){return this.we}De(e){e.approximateByteSize()>0&&(this.we=!0,this.pe=e)}ve(){let e=tt(),r=tt(),o=tt();return this.ge.forEach(((i,s)=>{switch(s){case 0:e=e.add(i);break;case 2:r=r.add(i);break;case 1:o=o.add(i);break;default:He()}})),new Ic(this.pe,this.ye,e,r,o)}Ce(){this.we=!1,this.ge=PE()}Fe(e,r){this.we=!0,this.ge=this.ge.insert(e,r)}Me(e){this.we=!0,this.ge=this.ge.remove(e)}xe(){this.fe+=1}Oe(){this.fe-=1,Lt(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class f3{constructor(e){this.Le=e,this.Be=new Map,this.ke=$i(),this.qe=SE(),this.Qe=new Nt(ot)}Ke(e){for(const r of e.Re)e.Ve&&e.Ve.isFoundDocument()?this.$e(r,e.Ve):this.Ue(r,e.key,e.Ve);for(const r of e.removedTargetIds)this.Ue(r,e.key,e.Ve)}We(e){this.forEachTarget(e,(r=>{const o=this.Ge(r);switch(e.state){case 0:this.ze(r)&&o.De(e.resumeToken);break;case 1:o.Oe(),o.Se||o.Ce(),o.De(e.resumeToken);break;case 2:o.Oe(),o.Se||this.removeTarget(r);break;case 3:this.ze(r)&&(o.Ne(),o.De(e.resumeToken));break;case 4:this.ze(r)&&(this.je(r),o.De(e.resumeToken));break;default:He()}}))}forEachTarget(e,r){e.targetIds.length>0?e.targetIds.forEach(r):this.Be.forEach(((o,i)=>{this.ze(i)&&r(i)}))}He(e){const r=e.targetId,o=e.me.count,i=this.Je(r);if(i){const s=i.target;if(Dm(s))if(o===0){const a=new Ve(s.path);this.Ue(r,a,cr.newNoDocument(a,je.min()))}else Lt(o===1);else{const a=this.Ye(r);if(a!==o){const l=this.Ze(e),c=l?this.Xe(l,e,a):1;if(c!==0){this.je(r);const u=c===2?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Qe=this.Qe.insert(r,u)}}}}}Ze(e){const r=e.me.unchangedNames;if(!r||!r.bits)return null;const{bits:{bitmap:o="",padding:i=0},hashCount:s=0}=r;let a,l;try{a=Ts(o).toUint8Array()}catch(c){if(c instanceof LI)return Ta("Decoding the base64 bloom filter in existence filter failed ("+c.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw c}try{l=new Sg(a,i,s)}catch(c){return Ta(c instanceof Sl?"BloomFilter error: ":"Applying bloom filter failed: ",c),null}return l.Ie===0?null:l}Xe(e,r,o){return r.me.count===o-this.nt(e,r.targetId)?0:2}nt(e,r){const o=this.Le.getRemoteKeysForTarget(r);let i=0;return o.forEach((s=>{const a=this.Le.tt(),l=`projects/${a.projectId}/databases/${a.database}/documents/${s.path.canonicalString()}`;e.mightContain(l)||(this.Ue(r,s,null),i++)})),i}rt(e){const r=new Map;this.Be.forEach(((s,a)=>{const l=this.Je(a);if(l){if(s.current&&Dm(l.target)){const c=new Ve(l.target.path);this.ke.get(c)!==null||this.it(a,c)||this.Ue(a,c,cr.newNoDocument(c,e))}s.be&&(r.set(a,s.ve()),s.Ce())}}));let o=tt();this.qe.forEach(((s,a)=>{let l=!0;a.forEachWhile((c=>{const u=this.Je(c);return!u||u.purpose==="TargetPurposeLimboResolution"||(l=!1,!1)})),l&&(o=o.add(s))})),this.ke.forEach(((s,a)=>a.setReadTime(e)));const i=new kf(e,r,this.Qe,this.ke,o);return this.ke=$i(),this.qe=SE(),this.Qe=new Nt(ot),i}$e(e,r){if(!this.ze(e))return;const o=this.it(e,r.key)?2:0;this.Ge(e).Fe(r.key,o),this.ke=this.ke.insert(r.key,r),this.qe=this.qe.insert(r.key,this.st(r.key).add(e))}Ue(e,r,o){if(!this.ze(e))return;const i=this.Ge(e);this.it(e,r)?i.Fe(r,1):i.Me(r),this.qe=this.qe.insert(r,this.st(r).delete(e)),o&&(this.ke=this.ke.insert(r,o))}removeTarget(e){this.Be.delete(e)}Ye(e){const r=this.Ge(e).ve();return this.Le.getRemoteKeysForTarget(e).size+r.addedDocuments.size-r.removedDocuments.size}xe(e){this.Ge(e).xe()}Ge(e){let r=this.Be.get(e);return r||(r=new IE,this.Be.set(e,r)),r}st(e){let r=this.qe.get(e);return r||(r=new Qn(ot),this.qe=this.qe.insert(e,r)),r}ze(e){const r=this.Je(e)!==null;return r||Re("WatchChangeAggregator","Detected inactive target",e),r}Je(e){const r=this.Be.get(e);return r&&r.Se?null:this.Le.ot(e)}je(e){this.Be.set(e,new IE),this.Le.getRemoteKeysForTarget(e).forEach((r=>{this.Ue(e,r,null)}))}it(e,r){return this.Le.getRemoteKeysForTarget(e).has(r)}}function SE(){return new Nt(Ve.comparator)}function PE(){return new Nt(Ve.comparator)}const p3={asc:"ASCENDING",desc:"DESCENDING"},h3={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},m3={and:"AND",or:"OR"};class _3{constructor(e,r){this.databaseId=e,this.useProto3Json=r}}function Mm(n,e){return n.useProto3Json||Af(e)?e:{value:e}}function g3(n,e){return n.useProto3Json?`${new Date(1e3*e.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+e.nanoseconds).slice(-9)}Z`:{seconds:""+e.seconds,nanos:e.nanoseconds}}function y3(n,e){return n.useProto3Json?e.toBase64():e.toUint8Array()}function ca(n){return Lt(!!n),je.fromTimestamp((function(r){const o=ji(r);return new Sr(o.seconds,o.nanos)})(n))}function v3(n,e){return Fm(n,e).canonicalString()}function Fm(n,e){const r=(function(i){return new Ot(["projects",i.projectId,"databases",i.database])})(n).child("documents");return e===void 0?r:r.child(e)}function QI(n){const e=Ot.fromString(n);return Lt(nS(e)),e}function Gp(n,e){const r=QI(e);if(r.get(1)!==n.databaseId.projectId)throw new Ne(we.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+r.get(1)+" vs "+n.databaseId.projectId);if(r.get(3)!==n.databaseId.database)throw new Ne(we.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+r.get(3)+" vs "+n.databaseId.database);return new Ve(ZI(r))}function XI(n,e){return v3(n.databaseId,e)}function E3(n){const e=QI(n);return e.length===4?Ot.emptyPath():ZI(e)}function RE(n){return new Ot(["projects",n.databaseId.projectId,"databases",n.databaseId.database]).canonicalString()}function ZI(n){return Lt(n.length>4&&n.get(4)==="documents"),n.popFirst(5)}function w3(n,e){let r;if("targetChange"in e){e.targetChange;const o=(function(u){return u==="NO_CHANGE"?0:u==="ADD"?1:u==="REMOVE"?2:u==="CURRENT"?3:u==="RESET"?4:He()})(e.targetChange.targetChangeType||"NO_CHANGE"),i=e.targetChange.targetIds||[],s=(function(u,d){return u.useProto3Json?(Lt(d===void 0||typeof d=="str
1091ing"),er.fromBase64String(d||"")):(Lt(d===void 0||d instanceof Buffer||d instanceof Uint8Array),er.fromUint8Array(d||new Uint8Array))})(n,e.targetChange.resumeToken),a=e.targetChange.cause,l=a&&(function(u){const d=u.code===void 0?we.UNKNOWN:KI(u.code);return new Ne(d,u.message||"")})(a);r=new JI(o,i,s,l||null)}else if("documentChange"in e){e.documentChange;const o=e.documentChange;o.document,o.document.name,o.document.updateTime;const i=Gp(n,o.document.name),s=ca(o.document.updateTime),a=o.document.createTime?ca(o.document.createTime):je.min(),l=new go({mapValue:{fields:o.document.fields}}),c=cr.newFoundDocument(i,s,a,l),u=o.targetIds||[],d=o.removedTargetIds||[];r=new zu(u,d,c.key,c)}else if("documentDelete"in e){e.documentDelete;const o=e.documentDelete;o.document;const i=Gp(n,o.document),s=o.readTime?ca(o.readTime):je.min(),a=cr.newNoDocument(i,s),l=o.removedTargetIds||[];r=new zu([],l,a.key,a)}else if("documentRemove"in e){e.documentRemove;const o=e.documentRemove;o.document;const i=Gp(n,o.document),s=o.removedTargetIds||[];r=new zu([],s,i,null)}else{if(!("filter"in e))return He();{e.filter;const o=e.filter;o.targetId;const{count:i=0,unchangedNames:s}=o,a=new c3(i,s),l=o.targetId;r=new YI(l,a)}}return r}function b3(n,e){return{documents:[XI(n,e.path)]}}function T3(n,e){const r={structuredQuery:{}},o=e.path;let i;e.collectionGroup!==null?(i=o,r.structuredQuery.from=[{collectionId:e.collectionGroup,allDescendants:!0}]):(i=o.popLast(),r.structuredQuery.from=[{collectionId:o.lastSegment()}]),r.parent=XI(n,i);const s=(function(u){if(u.length!==0)return tS(Lo.create(u,"and"))})(e.filters);s&&(r.structuredQuery.where=s);const a=(function(u){if(u.length!==0)return u.map((d=>(function(h){return{field:Ks(h.field),direction:S3(h.dir)}})(d)))})(e.orderBy);a&&(r.structuredQuery.orderBy=a);const l=Mm(n,e.limit);return l!==null&&(r.structuredQuery.limit=l),e.startAt&&(r.structuredQuery.startAt=(function(u){return{before:u.inclusive,values:u.position}})(e.startAt)),e.endAt&&(r.structuredQuery.endAt=(function(u){return{before:!u.inclusive,values:u.position}})(e.endAt)),{_t:r,parent:i}}function A3(n){let e=E3(n.parent);const r=n.structuredQuery,o=r.from?r.from.length:0;let i=null;if(o>0){Lt(o===1);const d=r.from[0];d.allDescendants?i=d.collectionId:e=e.child(d.collectionId)}let s=[];r.where&&(s=(function(p){const h=eS(p);return h instanceof Lo&&NI(h)?h.getFilters():[h]})(r.where));let a=[];r.orderBy&&(a=(function(p){return p.map((h=>(function(g){return new Rd(Ys(g.field),(function(w){switch(w){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}})(g.direction))})(h)))})(r.orderBy));let l=null;r.limit&&(l=(function(p){let h;return h=typeof p=="object"?p.value:p,Af(h)?null:h})(r.limit));let c=null;r.startAt&&(c=(function(p){const h=!!p.before,m=p.values||[];return new Pd(m,h)})(r.startAt));let u=null;return r.endAt&&(u=(function(p){const h=!p.before,m=p.values||[];return new Pd(m,h)})(r.endAt)),z4(e,i,a,s,l,"F",c,u)}function I3(n,e){const r=(function(i){switch(i){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return He()}})(e.purpose);return r==null?null:{"goog-listen-tags":r}}function eS(n){return n.unaryFilter!==void 0?(function(r){switch(r.unaryFilter.op){case"IS_NAN":const o=Ys(r.unaryFilter.field);return Yt.create(o,"==",{doubleValue:NaN});case"IS_NULL":const i=Ys(r.unaryFilter.field);return Yt.create(i,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const s=Ys(r.unaryFilter.field);return Yt.create(s,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const a=Ys(r.unaryFilter.field);return Yt.create(a,"!=",{nullValue:"NULL_VALUE"});default:return He()}})(n):n.fieldFilter!==void 0?(function(r){return Yt.create(Ys(r.fieldFilter.field),(function(i){switch(i){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return He()}})(r.fieldFilter.op),r.fieldFilter.value)})(n):n.compositeFilter!==void 0?(function(r){return Lo.create(r.compositeFilter.filters.map((o=>eS(o))),(function(i){switch(i){case"AND":return"and";case"OR":return"or";default:return He()}})(r.compositeFilter.op))})(n):He()}function S3(n){return p3[n]}function P3(n){return h3[n]}function R3(n){return m3[n]}function Ks(n){return{fieldPath:n.canonicalString()}}function Ys(n){return vr.fromServerFormat(n.fieldPath)}function tS(n){return n instanceof Yt?(function(r){if(r.op==="=="){if(hE(r.value))return{unaryFilter:{field:Ks(r.field),op:"IS_NAN"}};if(pE(r.value))return{unaryFilter:{field:Ks(r.field),op:"IS_NULL"}}}else if(r.op==="!="){if(hE(r.value))return{unaryFilter:{field:Ks(r.field),op:"IS_NOT_NA
1091N"}};if(pE(r.value))return{unaryFilter:{field:Ks(r.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:Ks(r.field),op:P3(r.op),value:r.value}}})(n):n instanceof Lo?(function(r){const o=r.getFilters().map((i=>tS(i)));return o.length===1?o[0]:{compositeFilter:{op:R3(r.op),filters:o}}})(n):He()}function nS(n){return n.length>=4&&n.get(0)==="projects"&&n.get(2)==="databases"}/** 1092 * @license 1093 * Copyright 2017 Google LLC 1094 * 1095 * Licensed under the Apache License, Version 2.0 (the "License"); 1096 * you may not use this file except in compliance with the License. 1097 * You may obtain a copy of the License at 1098 * 1099 * http://www.apache.org/licenses/LICENSE-2.0 1100 * 1101 * Unless required by applicable law or agreed to in writing, software 1102 * distributed under the License is distributed on an "AS IS" BASIS, 1103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1104 * See the License for the specific language governing permissions and 1105 * limitations under the License. 1106 */class ki{constructor(e,r,o,i,s=je.min(),a=je.min(),l=er.EMPTY_BYTE_STRING,c=null){this.target=e,this.targetId=r,this.purpose=o,this.sequenceNumber=i,this.snapshotVersion=s,this.lastLimboFreeSnapshotVersion=a,this.resumeToken=l,this.expectedCount=c}withSequenceNumber(e){return new ki(this.target,this.targetId,this.purpose,e,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(e,r){return new ki(this.target,this.targetId,this.purpose,this.sequenceNumber,r,this.lastLimboFreeSnapshotVersion,e,null)}withExpectedCount(e){return new ki(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,e)}withLastLimboFreeSnapshotVersion(e){return new ki(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,e,this.resumeToken,this.expectedCount)}}/** 1107 * @license 1108 * Copyright 2017 Google LLC 1109 * 1110 * Licensed under the Apache License, Version 2.0 (the "License"); 1111 * you may not use this file except in compliance with the License. 1112 * You may obtain a copy of the License at 1113 * 1114 * http://www.apache.org/licenses/LICENSE-2.0 1115 * 1116 * Unless required by applicable law or agreed to in writing, software 1117 * distributed under the License is distributed on an "AS IS" BASIS, 1118 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1119 * See the License for the specific language governing permissions and 1120 * limitations under the License. 1121 */class C3{constructor(e){this.ct=e}}function O3(n){const e=A3({parent:n.parent,structuredQuery:n.structuredQuery});return n.limitType==="LAST"?xm(e,e.limit,"L"):e}/** 1122 * @license 1123 * Copyright 2019 Google LLC 1124 * 1125 * Licensed under the Apache License, Version 2.0 (the "License"); 1126 * you may not use this file except in compliance with the License. 1127 * You may obtain a copy of the License at 1128 * 1129 * http://www.apache.org/licenses/LICENSE-2.0 1130 * 1131 * Unless required by applicable law or agreed to in writing, software 1132 * distributed under the License is distributed on an "AS IS" BASIS, 1133 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1134 * See the License for the specific language governing permissions and 1135 * limitations under the License. 1136 */class k3{constructor(){this.un=new L3}addToCollectionParentIndex(e,r){return this.un.add(r),ue.resolve()}getCollectionParents(e,r){return ue.resolve(this.un.getEntries(r))}addFieldIndex(e,r){return ue.resolve()}deleteFieldIndex(e,r){return ue.resolve()}deleteAllFieldIndexes(e){return ue.resolve()}createTargetIndexes(e,r){return ue.resolve()}getDocumentsMatchingTarget(e,r){return ue.resolve(null)}getIndexType(e,r){return ue.resolve(0)}getFieldIndexes(e,r){return ue.resolve([])}getNextCollectionGroupToUpdate(e){return ue.resolve(null)}getMinOffset(e,r){return ue.resolve(Bi.min())}getMinOffsetFromCollectionGroup(e,r){return ue.resolve(Bi.min())}updateCollectionGroup(e,r,o){return ue.resolve()}updateIndexEntries(e,r){return ue.resolve()}}class L3{constructor(){this.index={}}add(e){const r=e.lastSegment(),o=e.popLast(),i=this.index[r]||new Qn(Ot.comparator),s=!i.has(o);return this.index[r]=i.add(o),s}has(e){const r=e.lastSegment(),o=e.popLast(),i=this.index[r];return i&&i.has(o)}getEntries(e){return(this.index[e]||new Qn(Ot.comparator)).toArray()}}/** 1137 * @license 1138 * Copyright 2017 Google LLC 1139 * 1140 * Licensed under the Apache License, Version 2.0 (the "License");
1141 * you may not use this file except in compliance with the License. 1142 * You may obtain a copy of the License at 1143 * 1144 * http://www.apache.org/licenses/LICENSE-2.0 1145 * 1146 * Unless required by applicable law or agreed to in writing, software 1147 * distributed under the License is distributed on an "AS IS" BASIS, 1148 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1149 * See the License for the specific language governing permissions and 1150 * limitations under the License. 1151 */class Pa{constructor(e){this.Ln=e}next(){return this.Ln+=2,this.Ln}static Bn(){return new Pa(0)}static kn(){return new Pa(-1)}}/** 1152 * @license 1153 * Copyright 2017 Google LLC 1154 * 1155 * Licensed under the Apache License, Version 2.0 (the "License"); 1156 * you may not use this file except in compliance with the License. 1157 * You may obtain a copy of the License at 1158 * 1159 * http://www.apache.org/licenses/LICENSE-2.0 1160 * 1161 * Unless required by applicable law or agreed to in writing, software 1162 * distributed under the License is distributed on an "AS IS" BASIS, 1163 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1164 * See the License for the specific language governing permissions and 1165 * limitations under the License. 1166 */class D3{constructor(){this.changes=new Ba((e=>e.toString()),((e,r)=>e.isEqual(r))),this.changesApplied=!1}addEntry(e){this.assertNotApplied(),this.changes.set(e.key,e)}removeEntry(e,r){this.assertNotApplied(),this.changes.set(e,cr.newInvalidDocument(e).setReadTime(r))}getEntry(e,r){this.assertNotApplied();const o=this.changes.get(r);return o!==void 0?ue.resolve(o):this.getFromCache(e,r)}getEntries(e,r){return this.getAllFromCache(e,r)}apply(e){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(e)}assertNotApplied(){}}/** 1167 * @license 1168 * Copyright 2017 Google LLC 1169 * 1170 * Licensed under the Apache License, Version 2.0 (the "License"); 1171 * you may not use this file except in compliance with the License. 1172 * You may obtain a copy of the License at 1173 * 1174 * http://www.apache.org/licenses/LICENSE-2.0 1175 * 1176 * Unless required by applicable law or agreed to in writing, software 1177 * distributed under the License is distributed on an "AS IS" BASIS, 1178 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1179 * See the License for the specific language governing permissions and 1180 * limitations under the License. 1181 *//** 1182 * @license 1183 * Copyright 2022 Google LLC 1184 * 1185 * Licensed under the Apache License, Version 2.0 (the "License"); 1186 * you may not use this file except in compliance with the License. 1187 * You may obtain a copy of the License at 1188 * 1189 * http://www.apache.org/licenses/LICENSE-2.0 1190 * 1191 * Unless required by applicable law or agreed to in writing, software 1192 * distributed under the License is distributed on an "AS IS" BASIS, 1193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1194 * See the License for the specific language governing permissions and 1195 * limitations under the License. 1196 */class x3{constructor(e,r){this.overlayedDocument=e,this.mutatedFields=r}}/** 1197 * @license 1198 * Copyright 2017 Google LLC 1199 * 1200 * Licensed under the Apache License, Version 2.0 (the "License"); 1201 * you may not use this file except in compliance with the License. 1202 * You may obtain a copy of the License at 1203 * 1204 * http://www.apache.org/licenses/LICENSE-2.0 1205 * 1206 * Unless required by applicable law or agreed to in writing, software 1207 * distributed under the License is distributed on an "AS IS" BASIS, 1208 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1209 * See the License for the specific language governing permissions and 1210 * limitations under the License. 1211 */class N3{constructor(e,r,o,i){this.remoteDocumentCache=e,this.mutationQueue=r,this.documentOverlayCache=o,this.indexManager=i}getDocument(e,r){let o=null;return this.documentOverlayCache.getOverlay(e,r).next((i=>(o=i,this.remoteDocumentCache.getEntry(e,r)))).next((i=>(o!==null&&Bl(o.mutation,i,Oi.empty(),Sr.now()),i)))}getDocuments(e,r){return this.remoteDocumentCache.getEntries(e,r).next((o=>this.getLocalViewOfDocuments(e,o,tt()).next((()=>o))))}getLocalViewOfDocuments(e,r,o=tt()){const i=cs();return this.populateOverlays(e,i,r).next((()=>this.computeViews(e,r,i,o).next((s=>{let a=Il();
1211return s.forEach(((l,c)=>{a=a.insert(l,c.overlayedDocument)})),a}))))}getOverlayedDocuments(e,r){const o=cs();return this.populateOverlays(e,o,r).next((()=>this.computeViews(e,r,o,tt())))}populateOverlays(e,r,o){const i=[];return o.forEach((s=>{r.has(s)||i.push(s)})),this.documentOverlayCache.getOverlays(e,i).next((s=>{s.forEach(((a,l)=>{r.set(a,l)}))}))}computeViews(e,r,o,i){let s=$i();const a=Ul(),l=(function(){return Ul()})();return r.forEach(((c,u)=>{const d=o.get(u.key);i.has(u.key)&&(d===void 0||d.mutation instanceof Of)?s=s.insert(u.key,u):d!==void 0?(a.set(u.key,d.mutation.getFieldMask()),Bl(d.mutation,u,d.mutation.getFieldMask(),Sr.now())):a.set(u.key,Oi.empty())})),this.recalculateAndSaveOverlays(e,s).next((c=>(c.forEach(((u,d)=>a.set(u,d))),r.forEach(((u,d)=>{var p;return l.set(u,new x3(d,(p=a.get(u))!==null&&p!==void 0?p:null))})),l)))}recalculateAndSaveOverlays(e,r){const o=Ul();let i=new Nt(((a,l)=>a-l)),s=tt();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(e,r).next((a=>{for(const l of a)l.keys().forEach((c=>{const u=r.get(c);if(u===null)return;let d=o.get(c)||Oi.empty();d=l.applyToLocalView(u,d),o.set(c,d);const p=(i.get(l.batchId)||tt()).add(c);i=i.insert(l.batchId,p)}))})).next((()=>{const a=[],l=i.getReverseIterator();for(;l.hasNext();){const c=l.getNext(),u=c.key,d=c.value,p=$I();d.forEach((h=>{if(!s.has(h)){const m=GI(r.get(h),o.get(h));m!==null&&p.set(h,m),s=s.add(h)}})),a.push(this.documentOverlayCache.saveOverlays(e,u,p))}return ue.waitFor(a)})).next((()=>o))}recalculateAndSaveOverlaysForDocumentKeys(e,r){return this.remoteDocumentCache.getEntries(e,r).next((o=>this.recalculateAndSaveOverlays(e,o)))}getDocumentsMatchingQuery(e,r,o,i){return(function(a){return Ve.isDocumentKey(a.path)&&a.collectionGroup===null&&a.filters.length===0})(r)?this.getDocumentsMatchingDocumentQuery(e,r.path):H4(r)?this.getDocumentsMatchingCollectionGroupQuery(e,r,o,i):this.getDocumentsMatchingCollectionQuery(e,r,o,i)}getNextDocuments(e,r,o,i){return this.remoteDocumentCache.getAllFromCollectionGroup(e,r,o,i).next((s=>{const a=i-s.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(e,r,o.largestBatchId,i-s.size):ue.resolve(cs());let l=-1,c=s;return a.next((u=>ue.forEach(u,((d,p)=>(l<p.largestBatchId&&(l=p.largestBatchId),s.get(d)?ue.resolve():this.remoteDocumentCache.getEntry(e,d).next((h=>{c=c.insert(d,h)}))))).next((()=>this.populateOverlays(e,u,s))).next((()=>this.computeViews(e,c,u,tt()))).next((d=>({batchId:l,changes:Y4(d)})))))}))}getDocumentsMatchingDocumentQuery(e,r){return this.getDocument(e,new Ve(r)).next((o=>{let i=Il();return o.isFoundDocument()&&(i=i.insert(o.key,o)),i}))}getDocumentsMatchingCollectionGroupQuery(e,r,o,i){const s=r.collectionGroup;let a=Il();return this.indexManager.getCollectionParents(e,s).next((l=>ue.forEach(l,(c=>{const u=(function(p,h){return new Sf(h,null,p.explicitOrderBy.slice(),p.filters.slice(),p.limit,p.limitType,p.startAt,p.endAt)})(r,c.child(s));return this.getDocumentsMatchingCollectionQuery(e,u,o,i).next((d=>{d.forEach(((p,h)=>{a=a.insert(p,h)}))}))})).next((()=>a))))}getDocumentsMatchingCollectionQuery(e,r,o,i){let s;return this.documentOverlayCache.getOverlaysForCollection(e,r.path,o.largestBatchId).next((a=>(s=a,this.remoteDocumentCache.getDocumentsMatchingQuery(e,r,o,s,i)))).next((a=>{s.forEach(((c,u)=>{const d=u.getKey();a.get(d)===null&&(a=a.insert(d,cr.newInvalidDocument(d)))}));let l=Il();return a.forEach(((c,u)=>{const d=s.get(c);d!==void 0&&Bl(d.mutation,u,Oi.empty(),Sr.now()),Rf(r,u)&&(l=l.insert(c,u))})),l}))}}/** 1212 * @license 1213 * Copyright 2020 Google LLC 1214 * 1215 * Licensed under the Apache License, Version 2.0 (the "License"); 1216 * you may not use this file except in compliance with the License. 1217 * You may obtain a copy of the License at 1218 * 1219 * http://www.apache.org/licenses/LICENSE-2.0 1220 * 1221 * Unless required by applicable law or agreed to in writing, software 1222 * distributed under the License is distributed on an "AS IS" BASIS, 1223 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1224 * See the License for the specific language governing permissions and 1225 * limitations under the License.
1226 */class V3{constructor(e){this.serializer=e,this.hr=new Map,this.Pr=new Map}getBundleMetadata(e,r){return ue.resolve(this.hr.get(r))}saveBundleMetadata(e,r){return this.hr.set(r.id,(function(i){return{id:i.id,version:i.version,createTime:ca(i.createTime)}})(r)),ue.resolve()}getNamedQuery(e,r){return ue.resolve(this.Pr.get(r))}saveNamedQuery(e,r){return this.Pr.set(r.name,(function(i){return{name:i.name,query:O3(i.bundledQuery),readTime:ca(i.readTime)}})(r)),ue.resolve()}}/** 1227 * @license 1228 * Copyright 2022 Google LLC 1229 * 1230 * Licensed under the Apache License, Version 2.0 (the "License"); 1231 * you may not use this file except in compliance with the License. 1232 * You may obtain a copy of the License at 1233 * 1234 * http://www.apache.org/licenses/LICENSE-2.0 1235 * 1236 * Unless required by applicable law or agreed to in writing, software 1237 * distributed under the License is distributed on an "AS IS" BASIS, 1238 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1239 * See the License for the specific language governing permissions and 1240 * limitations under the License. 1241 */class M3{constructor(){this.overlays=new Nt(Ve.comparator),this.Ir=new Map}getOverlay(e,r){return ue.resolve(this.overlays.get(r))}getOverlays(e,r){const o=cs();return ue.forEach(r,(i=>this.getOverlay(e,i).next((s=>{s!==null&&o.set(i,s)})))).next((()=>o))}saveOverlays(e,r,o){return o.forEach(((i,s)=>{this.ht(e,r,s)})),ue.resolve()}removeOverlaysForBatchId(e,r,o){const i=this.Ir.get(o);return i!==void 0&&(i.forEach((s=>this.overlays=this.overlays.remove(s))),this.Ir.delete(o)),ue.resolve()}getOverlaysForCollection(e,r,o){const i=cs(),s=r.length+1,a=new Ve(r.child("")),l=this.overlays.getIteratorFrom(a);for(;l.hasNext();){const c=l.getNext().value,u=c.getKey();if(!r.isPrefixOf(u.path))break;u.path.length===s&&c.largestBatchId>o&&i.set(c.getKey(),c)}return ue.resolve(i)}getOverlaysForCollectionGroup(e,r,o,i){let s=new Nt(((u,d)=>u-d));const a=this.overlays.getIterator();for(;a.hasNext();){const u=a.getNext().value;if(u.getKey().getCollectionGroup()===r&&u.largestBatchId>o){let d=s.get(u.largestBatchId);d===null&&(d=cs(),s=s.insert(u.largestBatchId,d)),d.set(u.getKey(),u)}}const l=cs(),c=s.getIterator();for(;c.hasNext()&&(c.getNext().value.forEach(((u,d)=>l.set(u,d))),!(l.size()>=i)););return ue.resolve(l)}ht(e,r,o){const i=this.overlays.get(o.key);if(i!==null){const a=this.Ir.get(i.largestBatchId).delete(o.key);this.Ir.set(i.largestBatchId,a)}this.overlays=this.overlays.insert(o.key,new l3(r,o));let s=this.Ir.get(r);s===void 0&&(s=tt(),this.Ir.set(r,s)),this.Ir.set(r,s.add(o.key))}}/** 1242 * @license 1243 * Copyright 2024 Google LLC 1244 * 1245 * Licensed under the Apache License, Version 2.0 (the "License"); 1246 * you may not use this file except in compliance with the License. 1247 * You may obtain a copy of the License at 1248 * 1249 * http://www.apache.org/licenses/LICENSE-2.0 1250 * 1251 * Unless required by applicable law or agreed to in writing, software 1252 * distributed under the License is distributed on an "AS IS" BASIS, 1253 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1254 * See the License for the specific language governing permissions and 1255 * limitations under the License. 1256 */class F3{constructor(){this.sessionToken=er.EMPTY_BYTE_STRING}getSessionToken(e){return ue.resolve(this.sessionToken)}setSessionToken(e,r){return this.sessionToken=r,ue.resolve()}}/** 1257 * @license 1258 * Copyright 2017 Google LLC 1259 * 1260 * Licensed under the Apache License, Version 2.0 (the "License"); 1261 * you may not use this file except in compliance with the License. 1262 * You may obtain a copy of the License at 1263 * 1264 * http://www.apache.org/licenses/LICENSE-2.0 1265 * 1266 * Unless required by applicable law or agreed to in writing, software 1267 * distributed under the License is distributed on an "AS IS" BASIS, 1268 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1269 * See the License for the specific language governing permissions and 1270 * limitations under the License. 1271 */class Pg{constructor(){this.Tr=new Qn(en.Er),this.dr=new Qn(en.Ar)}isEmpty(){return this.Tr.isEmpty()}addReference(e,r){const o=new en(e,r);this.Tr=this.Tr.add(o),this.dr=this.dr.add(o)}Rr(e,r){e.forEach((o=>this.addReference(o,r)))}removeReference(e,r){this.Vr(new en(e,r))}mr(e,r){e.forEach((o=>this.removeReference(o,r)))}gr(e){const r=new Ve(new Ot([])),o=new en(r,e),i=new en(r,e+1),s=[];return this.dr.forEachInRange([o,i],(a=>{this.Vr(a),s.push(a.key)})),s}pr(){this.Tr.forEach((e=>this.Vr(e)))}Vr(e){this.Tr=this.Tr.delete(e),this.dr=this.dr.delete(e)}yr(e){const r=new Ve(new Ot([])),o=new en(r,e),i=new en(r,e+1);let s=tt();return this.dr.forEachInRange([o,i],(a=>{s=s.add(a.key)})),s}containsKey(e){const r=new en(e,0),o=this.Tr.firstAfterOrEqual(r);return o!==null&&e.isEqual(o.key)}}class en{constructor(e,r){this.key=e,this.wr=r}static Er(e,r){return Ve.comparator(e.key,r.key)||ot(e.wr,r.wr)}static Ar(e,r){return ot(e.wr,r.wr)||Ve.comparator(e.key,r.key)}}/** 1272 * @license 1273 * Copyright 2017 Google LLC 1274 * 1275 * Licensed under the Apache License, Version 2.0 (the "License");
1276 * you may not use this file except in compliance with the License. 1277 * You may obtain a copy of the License at 1278 * 1279 * http://www.apache.org/licenses/LICENSE-2.0 1280 * 1281 * Unless required by applicable law or agreed to in writing, software 1282 * distributed under the License is distributed on an "AS IS" BASIS, 1283 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1284 * See the License for the specific language governing permissions and 1285 * limitations under the License. 1286 */class U3{constructor(e,r){this.indexManager=e,this.referenceDelegate=r,this.mutationQueue=[],this.Sr=1,this.br=new Qn(en.Er)}checkEmpty(e){return ue.resolve(this.mutationQueue.length===0)}addMutationBatch(e,r,o,i){const s=this.Sr;this.Sr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const a=new a3(s,r,o,i);this.mutationQueue.push(a);for(const l of i)this.br=this.br.add(new en(l.key,s)),this.indexManager.addToCollectionParentIndex(e,l.key.path.popLast());return ue.resolve(a)}lookupMutationBatch(e,r){return ue.resolve(this.Dr(r))}getNextMutationBatchAfterBatchId(e,r){const o=r+1,i=this.vr(o),s=i<0?0:i;return ue.resolve(this.mutationQueue.length>s?this.mutationQueue[s]:null)}getHighestUnacknowledgedBatchId(){return ue.resolve(this.mutationQueue.length===0?-1:this.Sr-1)}getAllMutationBatches(e){return ue.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(e,r){const o=new en(r,0),i=new en(r,Number.POSITIVE_INFINITY),s=[];return this.br.forEachInRange([o,i],(a=>{const l=this.Dr(a.wr);s.push(l)})),ue.resolve(s)}getAllMutationBatchesAffectingDocumentKeys(e,r){let o=new Qn(ot);return r.forEach((i=>{const s=new en(i,0),a=new en(i,Number.POSITIVE_INFINITY);this.br.forEachInRange([s,a],(l=>{o=o.add(l.wr)}))})),ue.resolve(this.Cr(o))}getAllMutationBatchesAffectingQuery(e,r){const o=r.path,i=o.length+1;let s=o;Ve.isDocumentKey(s)||(s=s.child(""));const a=new en(new Ve(s),0);let l=new Qn(ot);return this.br.forEachWhile((c=>{const u=c.key.path;return!!o.isPrefixOf(u)&&(u.length===i&&(l=l.add(c.wr)),!0)}),a),ue.resolve(this.Cr(l))}Cr(e){const r=[];return e.forEach((o=>{const i=this.Dr(o);i!==null&&r.push(i)})),r}removeMutationBatch(e,r){Lt(this.Fr(r.batchId,"removed")===0),this.mutationQueue.shift();let o=this.br;return ue.forEach(r.mutations,(i=>{const s=new en(i.key,r.batchId);return o=o.delete(s),this.referenceDelegate.markPotentiallyOrphaned(e,i.key)})).next((()=>{this.br=o}))}On(e){}containsKey(e,r){const o=new en(r,0),i=this.br.firstAfterOrEqual(o);return ue.resolve(r.isEqual(i&&i.key))}performConsistencyCheck(e){return this.mutationQueue.length,ue.resolve()}Fr(e,r){return this.vr(e)}vr(e){return this.mutationQueue.length===0?0:e-this.mutationQueue[0].batchId}Dr(e){const r=this.vr(e);return r<0||r>=this.mutationQueue.length?null:this.mutationQueue[r]}}/** 1287 * @license 1288 * Copyright 2017 Google LLC 1289 * 1290 * Licensed under the Apache License, Version 2.0 (the "License"); 1291 * you may not use this file except in compliance with the License. 1292 * You may obtain a copy of the License at 1293 * 1294 * http://www.apache.org/licenses/LICENSE-2.0 1295 * 1296 * Unless required by applicable law or agreed to in writing, software 1297 * distributed under the License is distributed on an "AS IS" BASIS, 1298 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1299 * See the License for the specific language governing permissions and 1300 * limitations under the License. 1301 */class B3{constructor(e){this.Mr=e,this.docs=(function(){return new Nt(Ve.comparator)})(),this.size=0}setIndexManager(e){this.indexManager=e}addEntry(e,r){const o=r.key,i=this.docs.get(o),s=i?i.size:0,a=this.Mr(r);return this.docs=this.docs.insert(o,{document:r.mutableCopy(),size:a}),this.size+=a-s,this.indexManager.addToCollectionParentIndex(e,o.path.popLast())}removeEntry(e){const r=this.docs.get(e);r&&(this.docs=this.docs.remove(e),this.size-=r.size)}getEntry(e,r){const o=this.docs.get(r);return ue.resolve(o?o.document.mutableCopy():cr.newInvalidDocument(r))}getEntries(e,r){let o=$i();return r.forEach((i=>{const s=this.docs.get(i);o=o.insert(i,s?s.document.mutableCopy():cr.newInvalidDocument(i))})),ue.resolve(o)}getDocumentsMatchingQuery(e,r,o,i){let s=$i();const a=r.path,l=new Ve(a.child("")),c=this.docs.getIteratorFrom(l);for(;c.hasNext();){const{key:u,value:{document:d}}=c.getNext();if(!a.isPrefixOf(u.path))break;u.path.length>a.length+1||A4(T4(d),o)<=0||(i.has(d.key)||Rf(r,d))&&(s=s.insert(d.
vendor: 9,838 bytes, lines 1301-1376
1301key,d.mutableCopy()))}return ue.resolve(s)}getAllFromCollectionGroup(e,r,o,i){He()}Or(e,r){return ue.forEach(this.docs,(o=>r(o)))}newChangeBuffer(e){return new j3(this)}getSize(e){return ue.resolve(this.size)}}class j3 extends D3{constructor(e){super(),this.cr=e}applyChanges(e){const r=[];return this.changes.forEach(((o,i)=>{i.isValidDocument()?r.push(this.cr.addEntry(e,i)):this.cr.removeEntry(o)})),ue.waitFor(r)}getFromCache(e,r){return this.cr.getEntry(e,r)}getAllFromCache(e,r){return this.cr.getEntries(e,r)}}/** 1302 * @license 1303 * Copyright 2017 Google LLC 1304 * 1305 * Licensed under the Apache License, Version 2.0 (the "License"); 1306 * you may not use this file except in compliance with the License. 1307 * You may obtain a copy of the License at 1308 * 1309 * http://www.apache.org/licenses/LICENSE-2.0 1310 * 1311 * Unless required by applicable law or agreed to in writing, software 1312 * distributed under the License is distributed on an "AS IS" BASIS, 1313 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1314 * See the License for the specific language governing permissions and 1315 * limitations under the License. 1316 */class $3{constructor(e){this.persistence=e,this.Nr=new Ba((r=>wg(r)),bg),this.lastRemoteSnapshotVersion=je.min(),this.highestTargetId=0,this.Lr=0,this.Br=new Pg,this.targetCount=0,this.kr=Pa.Bn()}forEachTarget(e,r){return this.Nr.forEach(((o,i)=>r(i))),ue.resolve()}getLastRemoteSnapshotVersion(e){return ue.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(e){return ue.resolve(this.Lr)}allocateTargetId(e){return this.highestTargetId=this.kr.next(),ue.resolve(this.highestTargetId)}setTargetsMetadata(e,r,o){return o&&(this.lastRemoteSnapshotVersion=o),r>this.Lr&&(this.Lr=r),ue.resolve()}Kn(e){this.Nr.set(e.target,e);const r=e.targetId;r>this.highestTargetId&&(this.kr=new Pa(r),this.highestTargetId=r),e.sequenceNumber>this.Lr&&(this.Lr=e.sequenceNumber)}addTargetData(e,r){return this.Kn(r),this.targetCount+=1,ue.resolve()}updateTargetData(e,r){return this.Kn(r),ue.resolve()}removeTargetData(e,r){return this.Nr.delete(r.target),this.Br.gr(r.targetId),this.targetCount-=1,ue.resolve()}removeTargets(e,r,o){let i=0;const s=[];return this.Nr.forEach(((a,l)=>{l.sequenceNumber<=r&&o.get(l.targetId)===null&&(this.Nr.delete(a),s.push(this.removeMatchingKeysForTargetId(e,l.targetId)),i++)})),ue.waitFor(s).next((()=>i))}getTargetCount(e){return ue.resolve(this.targetCount)}getTargetData(e,r){const o=this.Nr.get(r)||null;return ue.resolve(o)}addMatchingKeys(e,r,o){return this.Br.Rr(r,o),ue.resolve()}removeMatchingKeys(e,r,o){this.Br.mr(r,o);const i=this.persistence.referenceDelegate,s=[];return i&&r.forEach((a=>{s.push(i.markPotentiallyOrphaned(e,a))})),ue.waitFor(s)}removeMatchingKeysForTargetId(e,r){return this.Br.gr(r),ue.resolve()}getMatchingKeysForTargetId(e,r){const o=this.Br.yr(r);return ue.resolve(o)}containsKey(e,r){return ue.resolve(this.Br.containsKey(r))}}/** 1317 * @license 1318 * Copyright 2017 Google LLC 1319 * 1320 * Licensed under the Apache License, Version 2.0 (the "License"); 1321 * you may not use this file except in compliance with the License. 1322 * You may obtain a copy of the License at 1323 * 1324 * http://www.apache.org/licenses/LICENSE-2.0 1325 * 1326 * Unless required by applicable law or agreed to in writing, software 1327 * distributed under the License is distributed on an "AS IS" BASIS, 1328 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1329 * See the License for the specific language governing permissions and 1330 * limitations under the License. 1331 */class z3{constructor(e,r){this.qr={},this.overlays={},this.Qr=new gg(0),this.Kr=!1,this.Kr=!0,this.$r=new F3,this.referenceDelegate=e(this),this.Ur=new $3(this),this.indexManager=new k3,this.remoteDocumentCache=(function(i){return new B3(i)})((o=>this.referenceDelegate.Wr(o))),this.serializer=new C3(r),this.Gr=new V3(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.Kr=!1,Promise.resolve()}get started(){return this.Kr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(e){return this.indexManager}getDocumentOverlayCache(e){let r=this.overlays[e.toKey()];return r||(r=new M3,this.overlays[e.toKey()]=r),r}getMutationQueue(e,r){let o=this.qr[e.toKey()];return o||(o=new U3(r,this.referenceDelegate),this.qr[e.toKey()]=o),o}getGlobalsCache(){return this.$r}getTargetCache(){return this.Ur}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.Gr}runTransaction(e,r,o){Re("MemoryPersistence","Starting transaction:",e);const i=new H3(this.Qr.next());return this.referenceDelegate.zr(),o(i).next((s=>this.referenceDelegate.jr(i).next((()=>s)))).toPromise().then((s=>(i.raiseOnCommittedEvent(),s)))}Hr(e,r){return ue.or(Object.values(this.qr).map((o=>()=>o.containsKey(e,r))))}}class H3 extends S4{constructor(e){super(),this.currentSequenceNumber=e}}class Rg{constructor(e){this.persistence=e,this.Jr=new Pg,this.Yr=null}static Zr(e){return new Rg(e)}get Xr(){if(this.Yr)return this.Yr;throw He()}addReference(e,r,o){return this.Jr.addReference(o,r),this.Xr.delete(o.toString()),ue.resolve()}removeReference(e,r,o){return this.Jr.removeReference(o,r),this.Xr.add(o.toString()),ue.resolve()}markPotentiallyOrphaned(e,r){return this.Xr.add(r.toString()),ue.resolve()}removeTarget(e,r){this.Jr.gr(r.targetId).forEach((i=>this.Xr.add(i.toString())));const o=this.persistence.getTargetCache();return o.getMatchingKeysForTargetId(e,r.targetId).next((i=>{i.forEach((s=>this.Xr.add(s.toString())))})).next((()=>o.removeTargetData(e,r)))}zr(){this.Yr=new Set}jr(e){const r=this.persistence.getRemoteDocumentCache().newChangeBuffer();return ue.forEach(this.Xr,(o=>{const i=Ve.fromPath(o);return this.ei(e,i).next((s=>{s||r.removeEntry(i,je.min())}))})).next((()=>(this.Yr=null,r.apply(e))))}updateLimboDocument(e,r){return this.ei(e,r).next((o=>{o?this.Xr.delete(r.toString()):this.Xr.add(r.toString())}))}Wr(e){return 0}ei(e,r){return ue.or([()=>ue.resolve(this.Jr.containsKey(r)),()=>this.persistence.getTargetCache().containsKey(e,r),()=>this.persistence.Hr(e,r)])}}/** 1332 * @license 1333 * Copyright 2017 Google LLC 1334 * 1335 * Licensed under the Apache License, Version 2.0 (the "License"); 1336 * you may not use this file except in compliance with the License. 1337 * You may obtain a copy of the License at 1338 * 1339 * http://www.apache.org/licenses/LICENSE-2.0 1340 * 1341 * Unless required by applicable law or agreed to in writing, software 1342 * distributed under the License is distributed on an "AS IS" BASIS, 1343 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1344 * See the License for the specific language governing permissions and 1345 * limitations under the License. 1346 */class Cg{constructor(e,r,o,i){this.targetId=e,this.fromCache=r,this.$i=o,this.Ui=i}static Wi(e,r){let o=tt(),i=tt();for(const s of r.docChanges)switch(s.type){case 0:o=o.add(s.doc.key);break;case 1:i=i.add(s.doc.key)}return new Cg(e,r.fromCache,o,i)}}/** 1347 * @license 1348 * Copyright 2023 Google LLC 1349 * 1350 * Licensed under the Apache License, Version 2.0 (the "License"); 1351 * you may not use this file except in compliance with the License. 1352 * You may obtain a copy of the License at 1353 * 1354 * http://www.apache.org/licenses/LICENSE-2.0 1355 * 1356 * Unless required by applicable law or agreed to in writing, software 1357 * distributed under the License is distributed on an "AS IS" BASIS, 1358 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1359 * See the License for the specific language governing permissions and 1360 * limitations under the License. 1361 */class q3{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(e){this._documentReadCount+=e}}/** 1362 * @license 1363 * Copyright 2019 Google LLC 1364 * 1365 * Licensed under the Apache License, Version 2.0 (the "License"); 1366 * you may not use this file except in compliance with the License. 1367 * You may obtain a copy of the License at 1368 * 1369 * http://www.apache.org/licenses/LICENSE-2.0 1370 * 1371 * Unless required by applicable law or agreed to in writing, software 1372 * distributed under the License is distributed on an "AS IS" BASIS, 1373 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1374 * See the License for the specific language governing permissions and 1375 * limitations under the License. 1376 */class G3{constructor(){this.Gi=!1,this.zi=!1,this.ji=100,this.Hi=(function(){return X5()?8:P4(dr())>0?6:4})()}initialize(e,r){this.Ji=e,this.indexManager=r,this.Gi=!0}getDocumentsMatchingQuery(e,r,o,i){const s={result:null};return this.Yi(e,r).next((a=>{s.result=a})).next((()=>{if(!s.result)return this.Zi(e,r,i,o).next((a=>{s.result=a}))})).next((()=>{if(s.result)return;const a=new q3;return this.Xi(e,r,a).next((l=>{if(s.result=l,this.zi)return this.es(e,r,a,l.size)}))})).next((()=>s.result))}es(e,r,o,i){return o.documentReadCount<this.ji?(pl()<=Ye.DEBUG&&Re("QueryEngine","SDK will not create cache indexes for query:",Ws(r),"since it only creates cache indexes for collection contains","more than or equal to",this.ji,"documents"),ue.resolve()):(pl()<=Ye.DEBUG&&Re("QueryEngine","Query:",Ws(r),"scans",o.documentReadCount,"local documents and returns",i,"documents as results."),o.documentReadCount>this.Hi*i?(pl()<=Ye.DEBUG&&Re("QueryEngine","The SDK decides to create cache indexes for query:",Ws(r),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(e,Ao(r))):ue.resolve())}Yi(e,r){if(yE(r))return ue.resolve(null);let o=Ao(r);return this.indexManager.getIndexType(e,o).next((i=>i===0?null:(r.limit!==null&&i===1&&(r=xm(r,null,"F"),o=Ao(r)),this.indexManager.getDocumentsMatchingTarget(e,o).next((s=>{const a=tt(...s);return this.Ji.getDocuments(e,a).next((l=>this.indexManager.getMinOffset(e,o).next((c=>{const u=this.ts(r,l);return this.ns(r,u,a,c.readTime)?this.Yi(e,xm(r,null,"F")):this.rs(e,u,r,c)}))))}
1376)))))}Zi(e,r,o,i){return yE(r)||i.isEqual(je.min())?ue.resolve(null):this.Ji.getDocuments(e,o).next((s=>{const a=this.ts(r,s);return this.ns(r,a,o,i)?ue.resolve(null):(pl()<=Ye.DEBUG&&Re("QueryEngine","Re-using previous result from %s to execute query: %s",i.toString(),Ws(r)),this.rs(e,a,r,b4(i,-1)).next((l=>l)))}))}ts(e,r){let o=new Qn(BI(e));return r.forEach(((i,s)=>{Rf(e,s)&&(o=o.add(s))})),o}ns(e,r,o,i){if(e.limit===null)return!1;if(o.size!==r.size)return!0;const s=e.limitType==="F"?r.last():r.first();return!!s&&(s.hasPendingWrites||s.version.compareTo(i)>0)}Xi(e,r,o){return pl()<=Ye.DEBUG&&Re("QueryEngine","Using full collection scan to execute query:",Ws(r)),this.Ji.getDocumentsMatchingQuery(e,r,Bi.min(),o)}rs(e,r,o,i){return this.Ji.getDocumentsMatchingQuery(e,o,i).next((s=>(r.forEach((a=>{s=s.insert(a.key,a)})),s)))}}/** 1377 * @license 1378 * Copyright 2020 Google LLC 1379 * 1380 * Licensed under the Apache License, Version 2.0 (the "License"); 1381 * you may not use this file except in compliance with the License. 1382 * You may obtain a copy of the License at 1383 * 1384 * http://www.apache.org/licenses/LICENSE-2.0 1385 * 1386 * Unless required by applicable law or agreed to in writing, software 1387 * distributed under the License is distributed on an "AS IS" BASIS, 1388 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1389 * See the License for the specific language governing permissions and 1390 * limitations under the License. 1391 */class W3{constructor(e,r,o,i){this.persistence=e,this.ss=r,this.serializer=i,this.os=new Nt(ot),this._s=new Ba((s=>wg(s)),bg),this.us=new Map,this.cs=e.getRemoteDocumentCache(),this.Ur=e.getTargetCache(),this.Gr=e.getBundleCache(),this.ls(o)}ls(e){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(e),this.indexManager=this.persistence.getIndexManager(e),this.mutationQueue=this.persistence.getMutationQueue(e,this.indexManager),this.localDocuments=new N3(this.cs,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.cs.setIndexManager(this.indexManager),this.ss.initialize(this.localDocuments,this.indexManager)}collectGarbage(e){return this.persistence.runTransaction("Collect garbage","readwrite-primary",(r=>e.collect(r,this.os)))}}function K3(n,e,r,o){return new W3(n,e,r,o)}async function rS(n,e){const r=Ze(n);return await r.persistence.runTransaction("Handle user change","readonly",(o=>{let i;return r.mutationQueue.getAllMutationBatches(o).next((s=>(i=s,r.ls(e),r.mutationQueue.getAllMutationBatches(o)))).next((s=>{const a=[],l=[];let c=tt();for(const u of i){a.push(u.batchId);for(const d of u.mutations)c=c.add(d.key)}for(const u of s){l.push(u.batchId);for(const d of u.mutations)c=c.add(d.key)}return r.localDocuments.getDocuments(o,c).next((u=>({hs:u,removedBatchIds:a,addedBatchIds:l})))}))}))}function oS(n){const e=Ze(n);return e.persistence.runTransaction("Get last remote snapshot version","readonly",(r=>e.Ur.getLastRemoteSnapshotVersion(r)))}function Y3(n,e){const r=Ze(n),o=e.snapshotVersion;let i=r.os;return r.persistence.runTransaction("Apply remote event","readwrite-primary",(s=>{const a=r.cs.newChangeBuffer({trackRemovals:!0});i=r.os;const l=[];
1391e.targetChanges.forEach(((d,p)=>{const h=i.get(p);if(!h)return;l.push(r.Ur.removeMatchingKeys(s,d.removedDocuments,p).next((()=>r.Ur.addMatchingKeys(s,d.addedDocuments,p))));let m=h.withSequenceNumber(s.currentSequenceNumber);e.targetMismatches.get(p)!==null?m=m.withResumeToken(er.EMPTY_BYTE_STRING,je.min()).withLastLimboFreeSnapshotVersion(je.min()):d.resumeToken.approximateByteSize()>0&&(m=m.withResumeToken(d.resumeToken,o)),i=i.insert(p,m),(function(v,w,I){return v.resumeToken.approximateByteSize()===0||w.snapshotVersion.toMicroseconds()-v.snapshotVersion.toMicroseconds()>=3e8?!0:I.addedDocuments.size+I.modifiedDocuments.size+I.removedDocuments.size>0})(h,m,d)&&l.push(r.Ur.updateTargetData(s,m))}));let c=$i(),u=tt();if(e.documentUpdates.forEach((d=>{e.resolvedLimboDocuments.has(d)&&l.push(r.persistence.referenceDelegate.updateLimboDocument(s,d))})),l.push(J3(s,a,e.documentUpdates).next((d=>{c=d.Ps,u=d.Is}))),!o.isEqual(je.min())){const d=r.Ur.getLastRemoteSnapshotVersion(s).next((p=>r.Ur.setTargetsMetadata(s,s.currentSequenceNumber,o)));l.push(d)}return ue.waitFor(l).next((()=>a.apply(s))).next((()=>r.localDocuments.getLocalViewOfDocuments(s,c,u))).next((()=>c))})).then((s=>(r.os=i,s)))}function J3(n,e,r){let o=tt(),i=tt();return r.forEach((s=>o=o.add(s))),e.getEntries(n,o).next((s=>{let a=$i();return r.forEach(((l,c)=>{const u=s.get(l);c.isFoundDocument()!==u.isFoundDocument()&&(i=i.add(l)),c.isNoDocument()&&c.version.isEqual(je.min())?(e.removeEntry(l,c.readTime),a=a.insert(l,c)):!u.isValidDocument()||c.version.compareTo(u.version)>0||c.version.compareTo(u.version)===0&&u.hasPendingWrites?(e.addEntry(c),a=a.insert(l,c)):Re("LocalStore","Ignoring outdated watch update for ",l,". Current version:",u.version," Watch version:",c.version)})),{Ps:a,Is:i}}))}function Q3(n,e){const r=Ze(n);return r.persistence.runTransaction("Allocate target","readwrite",(o=>{let i;return r.Ur.getTargetData(o,e).next((s=>s?(i=s,ue.resolve(i)):r.Ur.allocateTargetId(o).next((a=>(i=new ki(e,a,"TargetPurposeListen",o.currentSequenceNumber),r.Ur.addTargetData(o,i).next((()=>i)))))))})).then((o=>{const i=r.os.get(o.targetId);return(i===null||o.snapshotVersion.compareTo(i.snapshotVersion)>0)&&(r.os=r.os.insert(o.targetId,o),r._s.set(e,o.targetId)),o}))}async function Um(n,e,r){const o=Ze(n),i=o.os.get(e),s=r?"readwrite":"readwrite-primary";try{r||await o.persistence.runTransaction("Release target",s,(a=>o.persistence.referenceDelegate.removeTarget(a,i)))}catch(a){if(!Ac(a))throw a;Re("LocalStore",`Failed to update sequence numbers for target ${e}: ${a}`)}o.os=o.os.remove(e),o._s.delete(i.target)}function CE(n,e,r){const o=Ze(n);let i=je.min(),s=tt();return o.persistence.runTransaction("Execute query","readwrite",(a=>(function(c,u,d){const p=Ze(c),h=p._s.get(d);return h!==void 0?ue.resolve(p.os.get(h)):p.Ur.getTargetData(u,d)})(o,a,Ao(e)).next((l=>{if(l)return i=l.lastLimboFreeSnapshotVersion,o.Ur.getMatchingKeysForTargetId(a,l.targetId).next((c=>{s=c}))})).next((()=>o.ss.getDocumentsMatchingQuery(a,e,r?i:je.min(),r?s:tt()))).next((l=>(X3(o,G4(e),l),{documents:l,Ts:s})))))}function X3(n,e,r){let o=n.us.get(e)||je.min();r.forEach(((i,s)=>{s.readTime.compareTo(o)>0&&(o=s.readTime)})),n.us.set(e,o)}class OE{constructor(){this.activeTargetIds=X4()}fs(e){this.activeTargetIds=this.activeTargetIds.add(e)}gs(e){this.activeTargetIds=this.activeTargetIds.delete(e)}Vs(){const e={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(e)}}class Z3{constructor(){this.so=new OE,this.oo={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(e){}updateMutationState(e,r,o){}addLocalQueryTarget(e,r=!0){return r&&this.so.fs(e),this.oo[e]||"not-current"}updateQueryState(e,r,o){this.oo[e]=r}removeLocalQueryTarget(e){this.so.gs(e)}isLocalQueryTarget(e){return this.so.activeTargetIds.has(e)}clearQueryState(e){delete this.oo[e]}getAllActiveQueryTargets(){return this.so.activeTargetIds}isActiveQueryTarget(e){return this.so.activeTargetIds.has(e)}start(){return this.so=new OE,Promise.resolve()}handleUserChange(e,r,o){}setOnlineState(e){}shutdown(){}writeSequenceNumber(e){}notifyBundleLoaded(e){}}/** 1392 * @license 1393 * Copyright 2019 Google LLC 1394 * 1395 * Licensed under the Apache License, Version 2.0 (the "License");
1396 * you may not use this file except in compliance with the License. 1397 * You may obtain a copy of the License at 1398 * 1399 * http://www.apache.org/licenses/LICENSE-2.0 1400 * 1401 * Unless required by applicable law or agreed to in writing, software 1402 * distributed under the License is distributed on an "AS IS" BASIS, 1403 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1404 * See the License for the specific language governing permissions and 1405 * limitations under the License. 1406 */class e6{_o(e){}shutdown(){}}/** 1407 * @license 1408 * Copyright 2019 Google LLC 1409 * 1410 * Licensed under the Apache License, Version 2.0 (the "License"); 1411 * you may not use this file except in compliance with the License. 1412 * You may obtain a copy of the License at 1413 * 1414 * http://www.apache.org/licenses/LICENSE-2.0 1415 * 1416 * Unless required by applicable law or agreed to in writing, software 1417 * distributed under the License is distributed on an "AS IS" BASIS, 1418 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1419 * See the License for the specific language governing permissions and 1420 * limitations under the License. 1421 */class kE{constructor(){this.ao=()=>this.uo(),this.co=()=>this.lo(),this.ho=[],this.Po()}_o(e){this.ho.push(e)}shutdown(){window.removeEventListener("online",this.ao),window.removeEventListener("offline",this.co)}Po(){window.addEventListener("online",this.ao),window.addEventListener("offline",this.co)}uo(){Re("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const e of this.ho)e(0)}lo(){Re("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const e of this.ho)e(1)}static D(){return typeof window<"u"&&window.addEventListener!==void 0&&window.removeEventListener!==void 0}}/** 1422 * @license 1423 * Copyright 2023 Google LLC 1424 * 1425 * Licensed under the Apache License, Version 2.0 (the "License"); 1426 * you may not use this file except in compliance with the License. 1427 * You may obtain a copy of the License at 1428 * 1429 * http://www.apache.org/licenses/LICENSE-2.0 1430 * 1431 * Unless required by applicable law or agreed to in writing, software 1432 * distributed under the License is distributed on an "AS IS" BASIS, 1433 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1434 * See the License for the specific language governing permissions and 1435 * limitations under the License. 1436 */let Eu=null;function Wp(){return Eu===null?Eu=(function(){return 268435456+Math.round(2147483648*Math.random())})():Eu++,"0x"+Eu.toString(16)}/** 1437 * @license 1438 * Copyright 2020 Google LLC 1439 * 1440 * Licensed under the Apache License, Version 2.0 (the "License"); 1441 * you may not use this file except in compliance with the License. 1442 * You may obtain a copy of the License at 1443 * 1444 * http://www.apache.org/licenses/LICENSE-2.0 1445 * 1446 * Unless required by applicable law or agreed to in writing, software 1447 * distributed under the License is distributed on an "AS IS" BASIS, 1448 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1449 * See the License for the specific language governing permissions and 1450 * limitations under the License. 1451 */const t6={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};/** 1452 * @license 1453 * Copyright 2017 Google LLC 1454 * 1455 * Licensed under the Apache License, Version 2.0 (the "License"); 1456 * you may not use this file except in compliance with the License. 1457 * You may obtain a copy of the License at 1458 * 1459 * http://www.apache.org/licenses/LICENSE-2.0 1460 * 1461 * Unless required by applicable law or agreed to in writing, software 1462 * distributed under the License is distributed on an "AS IS" BASIS, 1463 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1464 * See the License for the specific language governing permissions and 1465 * limitations under the License. 1466 */class n6{constructor(e){this.Io=e.Io,this.To=e.To}Eo(e){this.Ao=e}Ro(e){this.Vo=e}mo(e){this.fo=e}onMessage(e){this.po=e}close(){this.To()}send(e){this.Io(e)}yo(){this.Ao()}wo(){this.Vo()}So(e){this.fo(e)}bo(e){this.po(e)}}/** 1467 * @license 1468 * Copyright 2017 Google LLC 1469 * 1470 * Licensed under the Apache License, Version 2.0 (the "License");
1471 * you may not use this file except in compliance with the License. 1472 * You may obtain a copy of the License at 1473 * 1474 * http://www.apache.org/licenses/LICENSE-2.0 1475 * 1476 * Unless required by applicable law or agreed to in writing, software 1477 * distributed under the License is distributed on an "AS IS" BASIS, 1478 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1479 * See the License for the specific language governing permissions and 1480 * limitations under the License. 1481 */const or="WebChannelConnection";class r6 extends class{constructor(r){this.databaseInfo=r,this.databaseId=r.databaseId;const o=r.ssl?"https":"http",i=encodeURIComponent(this.databaseId.projectId),s=encodeURIComponent(this.databaseId.database);this.Do=o+"://"+r.host,this.vo=`projects/${i}/databases/${s}`,this.Co=this.databaseId.database==="(default)"?`project_id=${i}`:`project_id=${i}&database_id=${s}`}get Fo(){return!1}Mo(r,o,i,s,a){const l=Wp(),c=this.xo(r,o.toUriEncodedString());Re("RestConnection",`Sending RPC '${r}' ${l}:`,c,i);const u={"google-cloud-resource-prefix":this.vo,"x-goog-request-params":this.Co};return this.Oo(u,s,a),this.No(r,c,u,i).then((d=>(Re("RestConnection",`Received RPC '${r}' ${l}: `,d),d)),(d=>{throw Ta("RestConnection",`RPC '${r}' ${l} failed with error: `,d,"url: ",c,"request:",i),d}))}Lo(r,o,i,s,a,l){return this.Mo(r,o,i,s,a)}Oo(r,o,i){r["X-Goog-Api-Client"]=(function(){return"gl-js/ fire/"+Ua})(),r["Content-Type"]="text/plain",this.databaseInfo.appId&&(r["X-Firebase-GMPID"]=this.databaseInfo.appId),o&&o.headers.forEach(((s,a)=>r[a]=s)),i&&i.headers.forEach(((s,a)=>r[a]=s))}xo(r,o){const i=t6[r];return`${this.Do}/v1/${o}:${i}`}terminate(){}}{constructor(e){super(e),this.forceLongPolling=e.forceLongPolling,this.autoDetectLongPolling=e.autoDetectLongPolling,this.useFetchStreams=e.useFetchStreams,this.longPollingOptions=e.longPollingOptions}No(e,r,o,i){const s=Wp();return new Promise(((a,l)=>{const c=new II;c.setWithCredentials(!0),c.listenOnce(SI.COMPLETE,(()=>{try{switch(c.getLastErrorCode()){case ju.NO_ERROR:const d=c.getResponseJson();Re(or,`XHR for RPC '${e}' ${s} received:`,JSON.stringify(d)),a(d);break;case ju.TIMEOUT:Re(or,`RPC '${e}' ${s} timed out`),l(new Ne(we.DEADLINE_EXCEEDED,"Request time out"));break;case ju.HTTP_ERROR:const p=c.getStatus();if(Re(or,`RPC '${e}' ${s} failed with status:`,p,"response text:",c.getResponseText()),p>0){let h=c.getResponseJson();Array.isArray(h)&&(h=h[0]);const m=h?.error;if(m&&m.status&&m.message){const g=(function(w){const I=w.toLowerCase().replace(/_/g,"-");return Object.values(we).indexOf(I)>=0?I:we.UNKNOWN})(m.status);l(new Ne(g,m.message))}else l(new Ne(we.UNKNOWN,"Server responded with status "+c.getStatus()))}else l(new Ne(we.UNAVAILABLE,"Connection failed."));break;default:He()}}finally{Re(or,`RPC '${e}' ${s} completed.`)}}));const u=JSON.stringify(i);Re(or,`RPC '${e}' ${s} sending request:`,i),c.send(r,"POST",u,o,15)}))}Bo(e,r,o){const i=Wp(),s=[this.Do,"/","google.firestore.v1.Firestore","/",e,"/channel"],a=CI(),l=RI(),c={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},u=this.longPollingOptions.timeoutSeconds;u!==void 0&&(c.longPollingTimeout=Math.round(1e3*u)),this.useFetchStreams&&(c.useFetchStreams=!0),this.Oo(c.initMessageHeaders,r,o),c.encodeInitMessageHeaders=!0;const d=s.join("");Re(or,`Creating RPC '${e}' stream ${i}: ${d}`,c);const p=a.createWebChannel(d,c);let h=!1,m=!1;const g=new n6({Io:w=>{m?Re(or,`Not sending because RPC '${e}' stream ${i} is closed:`,w):(h||(Re(or,`Opening RPC '${e}' stream ${i} transport.`),p.open(),h=!0),Re(or,`RPC '${e}' stream ${i} sending:`,w),p.send(w))},To:()=>p.close()}),v=(w,I,b)=>{w.listen(I,(E=>{try{b(E)}catch(P){setTimeout((()=>{throw P}),0)}}))};return v(p,Al.EventType.OPEN,(()=>{m||(Re(or,`RPC '${e}' stream ${i} transport opened.`),g.yo())})),v(p,Al.EventType.CLOSE,(()=>{m||(m=!0,Re(or,`RPC '${e}' stream ${i} transport closed`),g.So())}
1481)),v(p,Al.EventType.ERROR,(w=>{m||(m=!0,Ta(or,`RPC '${e}' stream ${i} transport errored:`,w),g.So(new Ne(we.UNAVAILABLE,"The operation could not be completed")))})),v(p,Al.EventType.MESSAGE,(w=>{var I;if(!m){const b=w.data[0];Lt(!!b);const E=b,P=E.error||((I=E[0])===null||I===void 0?void 0:I.error);if(P){Re(or,`RPC '${e}' stream ${i} received error:`,P);const D=P.status;let V=(function(A){const R=Mt[A];if(R!==void 0)return KI(R)})(D),S=P.message;V===void 0&&(V=we.INTERNAL,S="Unknown error status: "+D+" with message "+P.message),m=!0,g.So(new Ne(V,S)),p.close()}else Re(or,`RPC '${e}' stream ${i} received:`,b),g.bo(b)}})),v(l,PI.STAT_EVENT,(w=>{w.stat===Rm.PROXY?Re(or,`RPC '${e}' stream ${i} detected buffering proxy`):w.stat===Rm.NOPROXY&&Re(or,`RPC '${e}' stream ${i} detected no buffering proxy`)})),setTimeout((()=>{g.wo()}),0),g}}function Kp(){return typeof document<"u"?document:null}/** 1482 * @license 1483 * Copyright 2020 Google LLC 1484 * 1485 * Licensed under the Apache License, Version 2.0 (the "License"); 1486 * you may not use this file except in compliance with the License. 1487 * You may obtain a copy of the License at 1488 * 1489 * http://www.apache.org/licenses/LICENSE-2.0 1490 * 1491 * Unless required by applicable law or agreed to in writing, software 1492 * distributed under the License is distributed on an "AS IS" BASIS, 1493 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1494 * See the License for the specific language governing permissions and 1495 * limitations under the License. 1496 */function iS(n){return new _3(n,!0)}/** 1497 * @license 1498 * Copyright 2017 Google LLC 1499 * 1500 * Licensed under the Apache License, Version 2.0 (the "License"); 1501 * you may not use this file except in compliance with the License. 1502 * You may obtain a copy of the License at 1503 * 1504 * http://www.apache.org/licenses/LICENSE-2.0 1505 * 1506 * Unless required by applicable law or agreed to in writing, software 1507 * distributed under the License is distributed on an "AS IS" BASIS, 1508 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1509 * See the License for the specific language governing permissions and 1510 * limitations under the License. 1511 */class sS{constructor(e,r,o=1e3,i=1.5,s=6e4){this.ui=e,this.timerId=r,this.ko=o,this.qo=i,this.Qo=s,this.Ko=0,this.$o=null,this.Uo=Date.now(),this.reset()}reset(){this.Ko=0}Wo(){this.Ko=this.Qo}Go(e){this.cancel();const r=Math.floor(this.Ko+this.zo()),o=Math.max(0,Date.now()-this.Uo),i=Math.max(0,r-o);i>0&&Re("ExponentialBackoff",`Backing off for ${i} ms (base delay: ${this.Ko} ms, delay with jitter: ${r} ms, last attempt: ${o} ms ago)`),this.$o=this.ui.enqueueAfterDelay(this.timerId,i,(()=>(this.Uo=Date.now(),e()))),this.Ko*=this.qo,this.Ko<this.ko&&(this.Ko=this.ko),this.Ko>this.Qo&&(this.Ko=this.Qo)}jo(){this.$o!==null&&(this.$o.skipDelay(),this.$o=null)}cancel(){this.$o!==null&&(this.$o.cancel(),this.$o=null)}zo(){return(Math.random()-.5)*this.Ko}}/** 1512 * @license 1513 * Copyright 2017 Google LLC 1514 * 1515 * Licensed under the Apache License, Version 2.0 (the "License"); 1516 * you may not use this file except in compliance with the License. 1517 * You may obtain a copy of the License at 1518 * 1519 * http://www.apache.org/licenses/LICENSE-2.0 1520 * 1521 * Unless required by applicable law or agreed to in writing, software 1522 * distributed under the License is distributed on an "AS IS" BASIS, 1523 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1524 * See the License for the specific language governing permissions and 1525 * limitations under the License. 1526 */class o6{constructor(e,r,o,i,s,a,l,c){this.ui=e,this.Ho=o,this.Jo=i,this.connection=s,this.authCredentialsProvider=a,this.appCheckCredentialsProvider=l,this.listener=c,this.state=0,this.Yo=0,this.Zo=null,this.Xo=null,this.stream=null,this.e_=0,this.t_=new sS(e,r)}n_(){return this.state===1||this.state===5||this.r_()}r_(){return this.state===2||this.state===3}start(){this.e_=0,this.state!==4?this.auth():this.i_()}async stop(){this.n_()&&await this.close(0)}s_(){this.state=0,this.t_.reset()}o_(){this.r_()&&this.Zo===null&&(this.Zo=this.ui.enqueueAfterDelay(this.Ho,6e4,(()=>this.__())))}a_(e){this.u_(),this.stream.send(e)}async __(){if(this.r_())return this.close(0)}u_(){this.Zo&&(this.Zo.cancel(),this.Zo=null)}
1526c_(){this.Xo&&(this.Xo.cancel(),this.Xo=null)}async close(e,r){this.u_(),this.c_(),this.t_.cancel(),this.Yo++,e!==4?this.t_.reset():r&&r.code===we.RESOURCE_EXHAUSTED?(ai(r.toString()),ai("Using maximum backoff delay to prevent overloading the backend."),this.t_.Wo()):r&&r.code===we.UNAUTHENTICATED&&this.state!==3&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),this.stream!==null&&(this.l_(),this.stream.close(),this.stream=null),this.state=e,await this.listener.mo(r)}l_(){}auth(){this.state=1;const e=this.h_(this.Yo),r=this.Yo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then((([o,i])=>{this.Yo===r&&this.P_(o,i)}),(o=>{e((()=>{const i=new Ne(we.UNKNOWN,"Fetching auth token failed: "+o.message);return this.I_(i)}))}))}P_(e,r){const o=this.h_(this.Yo);this.stream=this.T_(e,r),this.stream.Eo((()=>{o((()=>this.listener.Eo()))})),this.stream.Ro((()=>{o((()=>(this.state=2,this.Xo=this.ui.enqueueAfterDelay(this.Jo,1e4,(()=>(this.r_()&&(this.state=3),Promise.resolve()))),this.listener.Ro())))})),this.stream.mo((i=>{o((()=>this.I_(i)))})),this.stream.onMessage((i=>{o((()=>++this.e_==1?this.E_(i):this.onNext(i)))}))}i_(){this.state=5,this.t_.Go((async()=>{this.state=0,this.start()}))}I_(e){return Re("PersistentStream",`close with error: ${e}`),this.stream=null,this.close(4,e)}h_(e){return r=>{this.ui.enqueueAndForget((()=>this.Yo===e?r():(Re("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())))}}}class i6 extends o6{constructor(e,r,o,i,s,a){super(e,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",r,o,i,a),this.serializer=s}T_(e,r){return this.connection.Bo("Listen",e,r)}E_(e){return this.onNext(e)}onNext(e){this.t_.reset();const r=w3(this.serializer,e),o=(function(s){if(!("targetChange"in s))return je.min();const a=s.targetChange;return a.targetIds&&a.targetIds.length?je.min():a.readTime?ca(a.readTime):je.min()})(e);return this.listener.d_(r,o)}A_(e){const r={};r.database=RE(this.serializer),r.addTarget=(function(s,a){let l;const c=a.target;if(l=Dm(c)?{documents:b3(s,c)}:{query:T3(s,c)._t},l.targetId=a.targetId,a.resumeToken.approximateByteSize()>0){l.resumeToken=y3(s,a.resumeToken);const u=Mm(s,a.expectedCount);u!==null&&(l.expectedCount=u)}else if(a.snapshotVersion.compareTo(je.min())>0){l.readTime=g3(s,a.snapshotVersion.toTimestamp());const u=Mm(s,a.expectedCount);u!==null&&(l.expectedCount=u)}return l})(this.serializer,e);const o=I3(this.serializer,e);o&&(r.labels=o),this.a_(r)}R_(e){const r={};r.database=RE(this.serializer),r.removeTarget=e,this.a_(r)}}/** 1527 * @license 1528 * Copyright 2017 Google LLC 1529 * 1530 * Licensed under the Apache License, Version 2.0 (the "License"); 1531 * you may not use this file except in compliance with the License. 1532 * You may obtain a copy of the License at 1533 * 1534 * http://www.apache.org/licenses/LICENSE-2.0 1535 * 1536 * Unless required by applicable law or agreed to in writing, software 1537 * distributed under the License is distributed on an "AS IS" BASIS, 1538 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1539 * See the License for the specific language governing permissions and 1540 * limitations under the License. 1541 */class s6 extends class{}{constructor(e,r,o,i){super(),this.authCredentials=e,this.appCheckCredentials=r,this.connection=o,this.serializer=i,this.y_=!1}w_(){if(this.y_)throw new Ne(we.FAILED_PRECONDITION,"The client has already been terminated.")}Mo(e,r,o,i){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([s,a])=>this.connection.Mo(e,Fm(r,o),i,s,a))).catch((s=>{throw s.name==="FirebaseError"?(s.code===we.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),s):new Ne(we.UNKNOWN,s.toString())}))}Lo(e,r,o,i,s){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([a,l])=>this.connection.Lo(e,Fm(r,o),i,a,l,s))).catch((a=>{throw a.name==="FirebaseError"?(a.code===we.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),a):new Ne(we.UNKNOWN,a.toString())}))}terminate(){this.y_=!0,this.connection.terminate()}}class a6{constructor(e,r){this.asyncQueue=e,this.onlineStateHandler=r,this.state="Unknown",this.S_=0,this.b_=null,this.D_=!0}v_(){this.S_===0&&(this.C_("Unknown"),this.b_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(()=>(this.b_=null,this.F_("Backend didn't respond within 10 seconds."),this.C_("Offline"),Promise.resolve()))))}M_(e){this.state==="Online"?this.C_("Unknown"):(this.S_++,this.S_>=1&&(this.x_(),this.F_(`Connection failed 1 times. Most recent error: ${e.toString()}`),this.C_("Offline")))}set(e){this.x_(),this.S_=0,e==="Online"&&(this.D_=!1),this.C_(e)}C_(e){e!==this.state&&(this.state=e,this.onlineStateHandler(e))}F_(e){const r=`Could not reach Cloud Firestore backend. ${e} 1542This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.D_?(ai(r),this.D_=!1):Re("OnlineStateTracker",r)}x_(){this.b_!==null&&(this.b_.cancel(),this.b_=null)}}/** 1543 * @license 1544 * Copyright 2017 Google LLC 1545 * 1546 * Licensed under the Apache License, Version 2.0 (the "License");
1547 * you may not use this file except in compliance with the License. 1548 * You may obtain a copy of the License at 1549 * 1550 * http://www.apache.org/licenses/LICENSE-2.0 1551 * 1552 * Unless required by applicable law or agreed to in writing, software 1553 * distributed under the License is distributed on an "AS IS" BASIS, 1554 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1555 * See the License for the specific language governing permissions and 1556 * limitations under the License. 1557 */class l6{constructor(e,r,o,i,s){this.localStore=e,this.datastore=r,this.asyncQueue=o,this.remoteSyncer={},this.O_=[],this.N_=new Map,this.L_=new Set,this.B_=[],this.k_=s,this.k_._o((a=>{o.enqueueAndForget((async()=>{Pc(this)&&(Re("RemoteStore","Restarting streams for network reachability change."),await(async function(c){const u=Ze(c);u.L_.add(4),await Sc(u),u.q_.set("Unknown"),u.L_.delete(4),await Lf(u)})(this))}))})),this.q_=new a6(o,i)}}async function Lf(n){if(Pc(n))for(const e of n.B_)await e(!0)}async function Sc(n){for(const e of n.B_)await e(!1)}function aS(n,e){const r=Ze(n);r.N_.has(e.targetId)||(r.N_.set(e.targetId,e),Dg(r)?Lg(r):ja(r).r_()&&kg(r,e))}function Og(n,e){const r=Ze(n),o=ja(r);r.N_.delete(e),o.r_()&&lS(r,e),r.N_.size===0&&(o.r_()?o.o_():Pc(r)&&r.q_.set("Unknown"))}function kg(n,e){if(n.Q_.xe(e.targetId),e.resumeToken.approximateByteSize()>0||e.snapshotVersion.compareTo(je.min())>0){const r=n.remoteSyncer.getRemoteKeysForTarget(e.targetId).size;e=e.withExpectedCount(r)}ja(n).A_(e)}function lS(n,e){n.Q_.xe(e),ja(n).R_(e)}function Lg(n){n.Q_=new f3({getRemoteKeysForTarget:e=>n.remoteSyncer.getRemoteKeysForTarget(e),ot:e=>n.N_.get(e)||null,tt:()=>n.datastore.serializer.databaseId}),ja(n).start(),n.q_.v_()}function Dg(n){return Pc(n)&&!ja(n).n_()&&n.N_.size>0}function Pc(n){return Ze(n).L_.size===0}function cS(n){n.Q_=void 0}async function c6(n){n.q_.set("Online")}async function u6(n){n.N_.forEach(((e,r)=>{kg(n,e)}))}async function d6(n,e){cS(n),Dg(n)?(n.q_.M_(e),Lg(n)):n.q_.set("Unknown")}async function f6(n,e,r){if(n.q_.set("Online"),e instanceof JI&&e.state===2&&e.cause)try{await(async function(i,s){const a=s.cause;for(const l of s.targetIds)i.N_.has(l)&&(await i.remoteSyncer.rejectListen(l,a),i.N_.delete(l),i.Q_.removeTarget(l))})(n,e)}catch(o){Re("RemoteStore","Failed to remove targets %s: %s ",e.targetIds.join(","),o),await LE(n,o)}else if(e instanceof zu?n.Q_.Ke(e):e instanceof YI?n.Q_.He(e):n.Q_.We(e),!r.isEqual(je.min()))try{const o=await oS(n.localStore);r.compareTo(o)>=0&&await(function(s,a){const l=s.Q_.rt(a);
1557return l.targetChanges.forEach(((c,u)=>{if(c.resumeToken.approximateByteSize()>0){const d=s.N_.get(u);d&&s.N_.set(u,d.withResumeToken(c.resumeToken,a))}})),l.targetMismatches.forEach(((c,u)=>{const d=s.N_.get(c);if(!d)return;s.N_.set(c,d.withResumeToken(er.EMPTY_BYTE_STRING,d.snapshotVersion)),lS(s,c);const p=new ki(d.target,c,u,d.sequenceNumber);kg(s,p)})),s.remoteSyncer.applyRemoteEvent(l)})(n,r)}catch(o){Re("RemoteStore","Failed to raise snapshot:",o),await LE(n,o)}}async function LE(n,e,r){if(!Ac(e))throw e;n.L_.add(1),await Sc(n),n.q_.set("Offline"),r||(r=()=>oS(n.localStore)),n.asyncQueue.enqueueRetryable((async()=>{Re("RemoteStore","Retrying IndexedDB access"),await r(),n.L_.delete(1),await Lf(n)}))}async function DE(n,e){const r=Ze(n);r.asyncQueue.verifyOperationInProgress(),Re("RemoteStore","RemoteStore received new credentials");const o=Pc(r);r.L_.add(3),await Sc(r),o&&r.q_.set("Unknown"),await r.remoteSyncer.handleCredentialChange(e),r.L_.delete(3),await Lf(r)}async function p6(n,e){const r=Ze(n);e?(r.L_.delete(2),await Lf(r)):e||(r.L_.add(2),await Sc(r),r.q_.set("Unknown"))}function ja(n){return n.K_||(n.K_=(function(r,o,i){const s=Ze(r);return s.w_(),new i6(o,s.connection,s.authCredentials,s.appCheckCredentials,s.serializer,i)})(n.datastore,n.asyncQueue,{Eo:c6.bind(null,n),Ro:u6.bind(null,n),mo:d6.bind(null,n),d_:f6.bind(null,n)}),n.B_.push((async e=>{e?(n.K_.s_(),Dg(n)?Lg(n):n.q_.set("Unknown")):(await n.K_.stop(),cS(n))}))),n.K_}/** 1558 * @license 1559 * Copyright 2017 Google LLC 1560 * 1561 * Licensed under the Apache License, Version 2.0 (the "License"); 1562 * you may not use this file except in compliance with the License. 1563 * You may obtain a copy of the License at 1564 * 1565 * http://www.apache.org/licenses/LICENSE-2.0 1566 * 1567 * Unless required by applicable law or agreed to in writing, software 1568 * distributed under the License is distributed on an "AS IS" BASIS, 1569 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1570 * See the License for the specific language governing permissions and 1571 * limitations under the License. 1572 */class xg{constructor(e,r,o,i,s){this.asyncQueue=e,this.timerId=r,this.targetTimeMs=o,this.op=i,this.removalCallback=s,this.deferred=new la,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((a=>{}))}get promise(){return this.deferred.promise}static createAndSchedule(e,r,o,i,s){const a=Date.now()+o,l=new xg(e,r,a,i,s);return l.start(o),l}start(e){this.timerHandle=setTimeout((()=>this.handleDelayElapsed()),e)}skipDelay(){return this.handleDelayElapsed()}cancel(e){this.timerHandle!==null&&(this.clearTimeout(),this.deferred.reject(new Ne(we.CANCELLED,"Operation cancelled"+(e?": "+e:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget((()=>this.timerHandle!==null?(this.clearTimeout(),this.op().then((e=>this.deferred.resolve(e)))):Promise.resolve()))}clearTimeout(){this.timerHandle!==null&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function uS(n,e){if(ai("AsyncQueue",`${e}: ${n}`),Ac(n))return new Ne(we.UNAVAILABLE,`${e}: ${n}`);throw n}/** 1573 * @license 1574 * Copyright 2017 Google LLC 1575 * 1576 * Licensed under the Apache License, Version 2.0 (the "License"); 1577 * you may not use this file except in compliance with the License. 1578 * You may obtain a copy of the License at 1579 * 1580 * http://www.apache.org/licenses/LICENSE-2.0 1581 * 1582 * Unless required by applicable law or agreed to in writing, software 1583 * distributed under the License is distributed on an "AS IS" BASIS, 1584 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1585 * See the License for the specific language governing permissions and 1586 * limitations under the License. 1587 */class ua{constructor(e){this.comparator=e?(r,o)=>e(r,o)||Ve.comparator(r.key,o.key):(r,o)=>Ve.comparator(r.key,o.key),this.keyedMap=Il(),this.sortedSet=new Nt(this.comparator)}static emptySet(e){return new ua(e.comparator)}has(e){return this.keyedMap.get(e)!=null}get(e){return this.keyedMap.get(e)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(e){const r=this.keyedMap.get(e);return r?this.sortedSet.indexOf(r):-1}get size(){return this.sortedSet.size}forEach(e){this.sortedSet.inorderTraversal(((r,o)=>(e(r),!1)))}add(e){const r=this.delete(e.key);return r.copy(r.keyedMap.insert(e.key,e),r.sortedSet.insert(e,null))}delete(e){const r=this.get(e);return r?this.copy(this.keyedMap.remove(e),this.sortedSet.remove(r)):this}isEqual(e){if(!(e instanceof ua)||this.size!==e.size)return!1;const r=this.sortedSet.getIterator(),o=e.sortedSet.getIterator();for(;r.hasNext();){const i=r.getNext().key,s=o.getNext().key;if(!i.isEqual(s))return!1}return!0}toString(){const e=[];return this.forEach((r=>{e.push(r.toString())})),e.length===0?"DocumentSet ()":`DocumentSet ( 1588 `+e.join(` 1589`)+` 1590)`}copy(e,r){const o=new ua;return o.comparator=this.comparator,o.keyedMap=e,o.sortedSet=r,o}}/** 1591 * @license 1592 * Copyright 2017 Google LLC 1593 * 1594 * Licensed under the Apache License, Version 2.0 (the "License");
1595 * you may not use this file except in compliance with the License. 1596 * You may obtain a copy of the License at 1597 * 1598 * http://www.apache.org/licenses/LICENSE-2.0 1599 * 1600 * Unless required by applicable law or agreed to in writing, software 1601 * distributed under the License is distributed on an "AS IS" BASIS, 1602 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1603 * See the License for the specific language governing permissions and 1604 * limitations under the License. 1605 */class xE{constructor(){this.W_=new Nt(Ve.comparator)}track(e){const r=e.doc.key,o=this.W_.get(r);o?e.type!==0&&o.type===3?this.W_=this.W_.insert(r,e):e.type===3&&o.type!==1?this.W_=this.W_.insert(r,{type:o.type,doc:e.doc}):e.type===2&&o.type===2?this.W_=this.W_.insert(r,{type:2,doc:e.doc}):e.type===2&&o.type===0?this.W_=this.W_.insert(r,{type:0,doc:e.doc}):e.type===1&&o.type===0?this.W_=this.W_.remove(r):e.type===1&&o.type===2?this.W_=this.W_.insert(r,{type:1,doc:o.doc}):e.type===0&&o.type===1?this.W_=this.W_.insert(r,{type:2,doc:e.doc}):He():this.W_=this.W_.insert(r,e)}G_(){const e=[];return this.W_.inorderTraversal(((r,o)=>{e.push(o)})),e}}class Ra{constructor(e,r,o,i,s,a,l,c,u){this.query=e,this.docs=r,this.oldDocs=o,this.docChanges=i,this.mutatedKeys=s,this.fromCache=a,this.syncStateChanged=l,this.excludesMetadataChanges=c,this.hasCachedResults=u}static fromInitialDocuments(e,r,o,i,s){const a=[];return r.forEach((l=>{a.push({type:0,doc:l})})),new Ra(e,r,ua.emptySet(r),a,o,i,!0,!1,s)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(e){if(!(this.fromCache===e.fromCache&&this.hasCachedResults===e.hasCachedResults&&this.syncStateChanged===e.syncStateChanged&&this.mutatedKeys.isEqual(e.mutatedKeys)&&Pf(this.query,e.query)&&this.docs.isEqual(e.docs)&&this.oldDocs.isEqual(e.oldDocs)))return!1;const r=this.docChanges,o=e.docChanges;if(r.length!==o.length)return!1;for(let i=0;i<r.length;i++)if(r[i].type!==o[i].type||!r[i].doc.isEqual(o[i].doc))return!1;return!0}}/** 1606 * @license 1607 * Copyright 2017 Google LLC 1608 * 1609 * Licensed under the Apache License, Version 2.0 (the "License"); 1610 * you may not use this file except in compliance with the License. 1611 * You may obtain a copy of the License at 1612 * 1613 * http://www.apache.org/licenses/LICENSE-2.0 1614 * 1615 * Unless required by applicable law or agreed to in writing, software 1616 * distributed under the License is distributed on an "AS IS" BASIS, 1617 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1618 * See the License for the specific language governing permissions and 1619 * limitations under the License. 1620 */class h6{constructor(){this.z_=void 0,this.j_=[]}H_(){return this.j_.some((e=>e.J_()))}}class m6{constructor(){this.queries=NE(),this.onlineState="Unknown",this.Y_=new Set}terminate(){(function(r,o){const i=Ze(r),s=i.queries;i.queries=NE(),s.forEach(((a,l)=>{for(const c of l.j_)c.onError(o)}))})(this,new Ne(we.ABORTED,"Firestore shutting down"))}}function NE(){return new Ba((n=>UI(n)),Pf)}async function _6(n,e){const r=Ze(n);let o=3;const i=e.query;let s=r.queries.get(i);s?!s.H_()&&e.J_()&&(o=2):(s=new h6,o=e.J_()?0:1);try{switch(o){case 0:s.z_=await r.onListen(i,!0);break;case 1:s.z_=await r.onListen(i,!1);break;case 2:await r.onFirstRemoteStoreListen(i)}}catch(a){const l=uS(a,`Initialization of query '${Ws(e.query)}' failed`);return void e.onError(l)}r.queries.set(i,s),s.j_.push(e),e.Z_(r.onlineState),s.z_&&e.X_(s.z_)&&Ng(r)}async function g6(n,e){const r=Ze(n),o=e.query;let i=3;const s=r.queries.get(o);if(s){const a=s.j_.indexOf(e);a>=0&&(s.j_.splice(a,1),s.j_.length===0?i=e.J_()?0:1:!s.H_()&&e.J_()&&(i=2))}switch(i){case 0:return r.queries.delete(o),r.onUnlisten(o,!0);case 1:return r.queries.delete(o),r.onUnlisten(o,!1);case 2:return r.onLastRemoteStoreUnlisten(o);default:return}}function y6(n,e){const r=Ze(n);let o=!1;for(const i of e){const s=i.query,a=r.queries.get(s);if(a){for(const l of a.j_)l.X_(i)&&(o=!0);a.z_=i}}o&&Ng(r)}function v6(n,e,r){const o=Ze(n),i=o.queries.get(e);if(i)for(const s of i.j_)s.onError(r);o.queries.delete(e)}function Ng(n){n.Y_.forEach((e=>{e.next()}))}var Bm,VE;(VE=Bm||(Bm={})).ea="default",VE.Cache="cache";class E6{constructor(e,r,o){this.query=e,this.ta=r,this.na=!1,this.ra=null,this.onlineState="Unknown",this.options=o||{}}X_(e){if(!this.options.includeMetadataChanges){const o=[];for(const i of e.docChanges)i.type!==3&&o.push(i);e=new Ra(e.query,e.docs,e.oldDocs,o,e.mutatedKeys,e.fromCache,e.syncStateChanged,!0,e.hasCachedResults)}let r=!1;return this.na?this.ia(e)&&(this.ta.next(e),r=!0):this.sa(e,this.onlineState)&&(this.oa(e),r=!0),this.ra=e,r}onError(e){this.ta.error(e)}Z_(e){this.onlineState=e;let r=!1;return this.ra&&!this.na&&this.sa(this.ra,e)&&(this.oa(this.ra),r=!0),r}sa(e,r){if(!e.fromCache||!this.J_())return!0;const o=r!=="Offline";return(!this.options._a||!o)&&(!e.docs.isEmpty()||e.hasCachedResults||r==="Offline")}ia(e){if(e.docChanges.length>0)return!0;const r=this.ra&&this.ra.hasPendingWrites!==e.hasPendingWrites;return!(!e.syncStateChanged&&!r)&&this.options.includeMetadataChanges===!0}oa(e){e=Ra.fromInitialDocuments(e.query,e.docs,e.mutatedKeys,e.fromCache,e.hasCachedResults),this.na=!0,this.ta.next(e)}J_(){return this.options.source!==Bm.Cache}}/** 1621 * @license 1622 * Copyright 2017 Google LLC 1623 * 1624 * Licensed under the Apache License, Version 2.0 (the "License");
1625 * you may not use this file except in compliance with the License. 1626 * You may obtain a copy of the License at 1627 * 1628 * http://www.apache.org/licenses/LICENSE-2.0 1629 * 1630 * Unless required by applicable law or agreed to in writing, software 1631 * distributed under the License is distributed on an "AS IS" BASIS, 1632 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1633 * See the License for the specific language governing permissions and 1634 * limitations under the License. 1635 */class dS{constructor(e){this.key=e}}class fS{constructor(e){this.key=e}}class w6{constructor(e,r){this.query=e,this.Ta=r,this.Ea=null,this.hasCachedResults=!1,this.current=!1,this.da=tt(),this.mutatedKeys=tt(),this.Aa=BI(e),this.Ra=new ua(this.Aa)}get Va(){return this.Ta}ma(e,r){const o=r?r.fa:new xE,i=r?r.Ra:this.Ra;let s=r?r.mutatedKeys:this.mutatedKeys,a=i,l=!1;const c=this.query.limitType==="F"&&i.size===this.query.limit?i.last():null,u=this.query.limitType==="L"&&i.size===this.query.limit?i.first():null;if(e.inorderTraversal(((d,p)=>{const h=i.get(d),m=Rf(this.query,p)?p:null,g=!!h&&this.mutatedKeys.has(h.key),v=!!m&&(m.hasLocalMutations||this.mutatedKeys.has(m.key)&&m.hasCommittedMutations);let w=!1;h&&m?h.data.isEqual(m.data)?g!==v&&(o.track({type:3,doc:m}),w=!0):this.ga(h,m)||(o.track({type:2,doc:m}),w=!0,(c&&this.Aa(m,c)>0||u&&this.Aa(m,u)<0)&&(l=!0)):!h&&m?(o.track({type:0,doc:m}),w=!0):h&&!m&&(o.track({type:1,doc:h}),w=!0,(c||u)&&(l=!0)),w&&(m?(a=a.add(m),s=v?s.add(d):s.delete(d)):(a=a.delete(d),s=s.delete(d)))})),this.query.limit!==null)for(;a.size>this.query.limit;){const d=this.query.limitType==="F"?a.last():a.first();a=a.delete(d.key),s=s.delete(d.key),o.track({type:1,doc:d})}return{Ra:a,fa:o,ns:l,mutatedKeys:s}}ga(e,r){return e.hasLocalMutations&&r.hasCommittedMutations&&!r.hasLocalMutations}applyChanges(e,r,o,i){const s=this.Ra;this.Ra=e.Ra,this.mutatedKeys=e.mutatedKeys;const a=e.fa.G_();a.sort(((d,p)=>(function(m,g){const v=w=>{switch(w){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return He()}};return v(m)-v(g)})(d.type,p.type)||this.Aa(d.doc,p.doc))),this.pa(o),i=i!=null&&i;const l=r&&!i?this.ya():[],c=this.da.size===0&&this.current&&!i?1:0,u=c!==this.Ea;return this.Ea=c,a.length!==0||u?{snapshot:new Ra(this.query,e.Ra,s,a,e.mutatedKeys,c===0,u,!1,!!o&&o.resumeToken.approximateByteSize()>0),wa:l}:{wa:l}}Z_(e){return this.current&&e==="Offline"?(this.current=!1,this.applyChanges({Ra:this.Ra,fa:new xE,mutatedKeys:this.mutatedKeys,ns:!1},!1)):{wa:[]}}Sa(e){return!this.Ta.has(e)&&!!this.Ra.has(e)&&!this.Ra.get(e).hasLocalMutations}pa(e){e&&(e.addedDocuments.forEach((r=>this.Ta=this.Ta.add(r))),e.modifiedDocuments.forEach((r=>{})),e.removedDocuments.forEach((r=>this.Ta=this.Ta.delete(r))),this.current=e.current)}ya(){if(!this.current)return[];const e=this.da;this.da=tt(),this.Ra.forEach((o=>{this.Sa(o.key)&&(this.da=this.da.add(o.key))}));const r=[];return e.forEach((o=>{this.da.has(o)||r.push(new fS(o))})),this.da.forEach((o=>{e.has(o)||r.push(new dS(o))})),r}ba(e){this.Ta=e.Ts,this.da=tt();const r=this.ma(e.documents);return this.applyChanges(r,!0)}Da(){return Ra.fromInitialDocuments(this.query,this.Ra,this.mutatedKeys,this.Ea===0,this.hasCachedResults)}}class b6{constructor(e,r,o){this.query=e,this.targetId=r,this.view=o}}class T6{constructor(e){this.key=e,this.va=!1}}class A6{constructor(e,r,o,i,s,a){this.localStore=e,this.remoteStore=r,this.eventManager=o,this.sharedClientState=i,this.currentUser=s,this.maxConcurrentLimboResolutions=a,this.Ca={},this.Fa=new Ba((l=>UI(l)),Pf),this.Ma=new Map,this.xa=new Set,this.Oa=new Nt(Ve.comparator),this.Na=new Map,this.La=new Pg,this.Ba={},this.ka=new Map,this.qa=Pa.kn(),this.onlineState="Unknown",this.Qa=void 0}get isPrimaryClient(){return this.Qa===!0}}async function I6(n,e,r=!0){const o=gS(n);let i;const s=o.Fa.get(e);return s?(o.sharedClientState.addLocalQueryTarget(s.targetId),i=s.view.Da()):i=await pS(o,e,r,!0),i}async function S6(n,e){const r=gS(n);await pS(r,e,!0,!1)}async function pS(n,e,r,o){const i=await Q3(n.localStore,Ao(e)),s=i.targetId,a=n.sharedClientState.addLocalQueryTarget(s,r);let l;return o&&(l=await P6(n,e,s,a==="current",i.resumeToken)),n.isPrimaryClient&&r&&aS(n.remoteStore,i),l}async function P6(n,e,r,o,i){n.Ka=(p,h,m)=>(async function(v,w,I,b){let E=w.view.ma(I);E.ns&&(E=await CE(v.localStore,w.query,!1).then((({documents:S})=>w.view.ma(S,E))));const P=b&&b.targetChanges.get(w.targetId),D=b&&b.targetMismatches.get(w.targetId)!=null,V=w.view.applyChanges(E,v.isPrimaryClient,P,D);return FE(v,w.targetId,V.wa),V.snapshot})(n,p,h,m);const s=await CE(n.localStore,e,!0),a=new w6(e,s.Ts),l=a.ma(s.documents),c=Ic.createSynthesizedTargetChangeForCurrentChange(r,o&&n.onlineState!=="Offline",i),u=a.applyChanges(l,n.isPrimaryClient,c);FE(n,r,u.wa);const d=new b6(e,r,a);return n.Fa.set(e,d),n.Ma.has(r)?n.Ma.get(r).push(e):n.Ma.set(r,[e]),u.snapshot}async function R6(n,e,r){const o=Ze(n),i=o.Fa.get(e),s=o.Ma.get(i.targetId);if(s.length>1)return o.Ma.set(i.targetId,s.filter((a=>!Pf(a,e)))),void o.Fa.delete(e);
1635o.isPrimaryClient?(o.sharedClientState.removeLocalQueryTarget(i.targetId),o.sharedClientState.isActiveQueryTarget(i.targetId)||await Um(o.localStore,i.targetId,!1).then((()=>{o.sharedClientState.clearQueryState(i.targetId),r&&Og(o.remoteStore,i.targetId),jm(o,i.targetId)})).catch(_g)):(jm(o,i.targetId),await Um(o.localStore,i.targetId,!0))}async function C6(n,e){const r=Ze(n),o=r.Fa.get(e),i=r.Ma.get(o.targetId);r.isPrimaryClient&&i.length===1&&(r.sharedClientState.removeLocalQueryTarget(o.targetId),Og(r.remoteStore,o.targetId))}async function hS(n,e){const r=Ze(n);try{const o=await Y3(r.localStore,e);e.targetChanges.forEach(((i,s)=>{const a=r.Na.get(s);a&&(Lt(i.addedDocuments.size+i.modifiedDocuments.size+i.removedDocuments.size<=1),i.addedDocuments.size>0?a.va=!0:i.modifiedDocuments.size>0?Lt(a.va):i.removedDocuments.size>0&&(Lt(a.va),a.va=!1))})),await _S(r,o,e)}catch(o){await _g(o)}}function ME(n,e,r){const o=Ze(n);if(o.isPrimaryClient&&r===0||!o.isPrimaryClient&&r===1){const i=[];o.Fa.forEach(((s,a)=>{const l=a.view.Z_(e);l.snapshot&&i.push(l.snapshot)})),(function(a,l){const c=Ze(a);c.onlineState=l;let u=!1;c.queries.forEach(((d,p)=>{for(const h of p.j_)h.Z_(l)&&(u=!0)})),u&&Ng(c)})(o.eventManager,e),i.length&&o.Ca.d_(i),o.onlineState=e,o.isPrimaryClient&&o.sharedClientState.setOnlineState(e)}}async function O6(n,e,r){const o=Ze(n);o.sharedClientState.updateQueryState(e,"rejected",r);const i=o.Na.get(e),s=i&&i.key;if(s){let a=new Nt(Ve.comparator);a=a.insert(s,cr.newNoDocument(s,je.min()));const l=tt().add(s),c=new kf(je.min(),new Map,new Nt(ot),a,l);await hS(o,c),o.Oa=o.Oa.remove(s),o.Na.delete(e),Vg(o)}else await Um(o.localStore,e,!1).then((()=>jm(o,e,r))).catch(_g)}function jm(n,e,r=null){n.sharedClientState.removeLocalQueryTarget(e);for(const o of n.Ma.get(e))n.Fa.delete(o),r&&n.Ca.$a(o,r);n.Ma.delete(e),n.isPrimaryClient&&n.La.gr(e).forEach((o=>{n.La.containsKey(o)||mS(n,o)}))}function mS(n,e){n.xa.delete(e.path.canonicalString());const r=n.Oa.get(e);r!==null&&(Og(n.remoteStore,r),n.Oa=n.Oa.remove(e),n.Na.delete(r),Vg(n))}function FE(n,e,r){for(const o of r)o instanceof dS?(n.La.addReference(o.key,e),k6(n,o)):o instanceof fS?(Re("SyncEngine","Document no longer in limbo: "+o.key),n.La.removeReference(o.key,e),n.La.containsKey(o.key)||mS(n,o.key)):He()}function k6(n,e){const r=e.key,o=r.path.canonicalString();n.Oa.get(r)||n.xa.has(o)||(Re("SyncEngine","New document in limbo: "+r),n.xa.add(o),Vg(n))}function Vg(n){for(;n.xa.size>0&&n.Oa.size<n.maxConcurrentLimboResolutions;){const e=n.xa.values().next().value;n.xa.delete(e);const r=new Ve(Ot.fromString(e)),o=n.qa.next();n.Na.set(o,new T6(r)),n.Oa=n.Oa.insert(r,o),aS(n.remoteStore,new ki(Ao(Tg(r.path)),o,"TargetPurposeLimboResolution",gg.oe))}}async function _S(n,e,r){const o=Ze(n),i=[],s=[],a=[];
1635o.Fa.isEmpty()||(o.Fa.forEach(((l,c)=>{a.push(o.Ka(c,e,r).then((u=>{var d;if((u||r)&&o.isPrimaryClient){const p=u?!u.fromCache:(d=r?.targetChanges.get(c.targetId))===null||d===void 0?void 0:d.current;o.sharedClientState.updateQueryState(c.targetId,p?"current":"not-current")}if(u){i.push(u);const p=Cg.Wi(c.targetId,u);s.push(p)}})))})),await Promise.all(a),o.Ca.d_(i),await(async function(c,u){const d=Ze(c);try{await d.persistence.runTransaction("notifyLocalViewChanges","readwrite",(p=>ue.forEach(u,(h=>ue.forEach(h.$i,(m=>d.persistence.referenceDelegate.addReference(p,h.targetId,m))).next((()=>ue.forEach(h.Ui,(m=>d.persistence.referenceDelegate.removeReference(p,h.targetId,m)))))))))}catch(p){if(!Ac(p))throw p;Re("LocalStore","Failed to update sequence numbers: "+p)}for(const p of u){const h=p.targetId;if(!p.fromCache){const m=d.os.get(h),g=m.snapshotVersion,v=m.withLastLimboFreeSnapshotVersion(g);d.os=d.os.insert(h,v)}}})(o.localStore,s))}async function L6(n,e){const r=Ze(n);if(!r.currentUser.isEqual(e)){Re("SyncEngine","User change. New user:",e.toKey());const o=await rS(r.localStore,e);r.currentUser=e,(function(s,a){s.ka.forEach((l=>{l.forEach((c=>{c.reject(new Ne(we.CANCELLED,a))}))})),s.ka.clear()})(r,"'waitForPendingWrites' promise is rejected due to a user change."),r.sharedClientState.handleUserChange(e,o.removedBatchIds,o.addedBatchIds),await _S(r,o.hs)}}function D6(n,e){const r=Ze(n),o=r.Na.get(e);if(o&&o.va)return tt().add(o.key);{let i=tt();const s=r.Ma.get(e);if(!s)return i;for(const a of s){const l=r.Fa.get(a);i=i.unionWith(l.view.Va)}return i}}function gS(n){const e=Ze(n);return e.remoteStore.remoteSyncer.applyRemoteEvent=hS.bind(null,e),e.remoteStore.remoteSyncer.getRemoteKeysForTarget=D6.bind(null,e),e.remoteStore.remoteSyncer.rejectListen=O6.bind(null,e),e.Ca.d_=y6.bind(null,e.eventManager),e.Ca.$a=v6.bind(null,e.eventManager),e}class kd{constructor(){this.kind="memory",this.synchronizeTabs=!1}async initialize(e){this.serializer=iS(e.databaseInfo.databaseId),this.sharedClientState=this.Wa(e),this.persistence=this.Ga(e),await this.persistence.start(),this.localStore=this.za(e),this.gcScheduler=this.ja(e,this.localStore),this.indexBackfillerScheduler=this.Ha(e,this.localStore)}ja(e,r){return null}Ha(e,r){return null}za(e){return K3(this.persistence,new G3,e.initialUser,this.serializer)}Ga(e){return new z3(Rg.Zr,this.serializer)}Wa(e){return new Z3}async terminate(){var e,r;(e=this.gcScheduler)===null||e===void 0||e.stop(),(r=this.indexBackfillerScheduler)===null||r===void 0||r.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}kd.provider={build:()=>new kd};class $m{async initialize(e,r){this.localStore||(this.localStore=e.localStore,this.sharedClientState=e.sharedClientState,this.datastore=this.createDatastore(r),this.remoteStore=this.createRemoteStore(r),this.eventManager=this.createEventManager(r),this.syncEngine=this.createSyncEngine(r,!e.synchronizeTabs),this.sharedClientState.onlineStateHandler=o=>ME(this.syncEngine,o,1),this.remoteStore.remoteSyncer.handleCredentialChange=L6.bind(null,this.syncEngine),await p6(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(e){return(function(){return new m6})()}createDatastore(e){const r=iS(e.databaseInfo.databaseId),o=(function(s){return new r6(s)})(e.databaseInfo);return(function(s,a,l,c){return new s6(s,a,l,c)})(e.authCredentials,e.appCheckCredentials,o,r)}createRemoteStore(e){return(function(o,i,s,a,l){return new l6(o,i,s,a,l)})(this.localStore,this.datastore,e.asyncQueue,(r=>ME(this.syncEngine,r,0)),(function(){return kE.D()?new kE:new e6})())}createSyncEngine(e,r){return(function(i,s,a,l,c,u,d){const p=new A6(i,s,a,l,c,u);return d&&(p.Qa=!0),p})(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,e.initialUser,e.maxConcurrentLimboResolutions,r)}async terminate(){var e,r;await(async function(i){const s=Ze(i);Re("RemoteStore","RemoteStore shutting down."),s.L_.add(5),await Sc(s),s.k_.shutdown(),s.q_.set("Unknown")})(this.remoteStore),(e=this.datastore)===null||e===void 0||e.terminate(),(r=this.eventManager)===null||r===void 0||r.terminate()}}$m.provider={build:()=>new $m};/** 1636 * @license 1637 * Copyright 2020 Google LLC 1638 * 1639 * Licensed under the Apache License, Version 2.0 (the "License");
1640 * you may not use this file except in compliance with the License. 1641 * You may obtain a copy of the License at 1642 * 1643 * http://www.apache.org/licenses/LICENSE-2.0 1644 * 1645 * Unless required by applicable law or agreed to in writing, software 1646 * distributed under the License is distributed on an "AS IS" BASIS, 1647 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1648 * See the License for the specific language governing permissions and 1649 * limitations under the License. 1650 *//** 1651 * @license 1652 * Copyright 2017 Google LLC 1653 * 1654 * Licensed under the Apache License, Version 2.0 (the "License"); 1655 * you may not use this file except in compliance with the License. 1656 * You may obtain a copy of the License at 1657 * 1658 * http://www.apache.org/licenses/LICENSE-2.0 1659 * 1660 * Unless required by applicable law or agreed to in writing, software 1661 * distributed under the License is distributed on an "AS IS" BASIS, 1662 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1663 * See the License for the specific language governing permissions and 1664 * limitations under the License. 1665 */class x6{constructor(e){this.observer=e,this.muted=!1}next(e){this.muted||this.observer.next&&this.Ya(this.observer.next,e)}error(e){this.muted||(this.observer.error?this.Ya(this.observer.error,e):ai("Uncaught Error in snapshot listener:",e.toString()))}Za(){this.muted=!0}Ya(e,r){setTimeout((()=>{this.muted||e(r)}),0)}}/** 1666 * @license 1667 * Copyright 2017 Google LLC 1668 * 1669 * Licensed under the Apache License, Version 2.0 (the "License"); 1670 * you may not use this file except in compliance with the License. 1671 * You may obtain a copy of the License at 1672 * 1673 * http://www.apache.org/licenses/LICENSE-2.0 1674 * 1675 * Unless required by applicable law or agreed to in writing, software 1676 * distributed under the License is distributed on an "AS IS" BASIS, 1677 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1678 * See the License for the specific language governing permissions and 1679 * limitations under the License. 1680 */class N6{constructor(e,r,o,i,s){this.authCredentials=e,this.appCheckCredentials=r,this.asyncQueue=o,this.databaseInfo=i,this.user=ar.UNAUTHENTICATED,this.clientId=kI.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=s,this.authCredentials.start(o,(async a=>{Re("FirestoreClient","Received user=",a.uid),await this.authCredentialListener(a),this.user=a})),this.appCheckCredentials.start(o,(a=>(Re("FirestoreClient","Received new app check token=",a),this.appCheckCredentialListener(a,this.user))))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(e){this.authCredentialListener=e}setAppCheckTokenChangeListener(e){this.appCheckCredentialListener=e}terminate(){this.asyncQueue.enterRestrictedMode();const e=new la;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),e.resolve()}catch(r){const o=uS(r,"Failed to shutdown persistence");e.reject(o)}})),e.promise}}async function Yp(n,e){n.asyncQueue.verifyOperationInProgress(),Re("FirestoreClient","Initializing OfflineComponentProvider");const r=n.configuration;await e.initialize(r);let o=r.initialUser;n.setCredentialChangeListener((async i=>{o.isEqual(i)||(await rS(e.localStore,i),o=i)})),e.persistence.setDatabaseDeletedListener((()=>n.terminate())),n._offlineComponents=e}async function UE(n,e){n.asyncQueue.verifyOperationInProgress();const r=await V6(n);Re("FirestoreClient","Initializing OnlineComponentProvider"),await e.initialize(r,n.configuration),n.setCredentialChangeListener((o=>DE(e.remoteStore,o))),n.setAppCheckTokenChangeListener(((o,i)=>DE(e.remoteStore,i))),n._onlineComponents=e}async function V6(n){if(!n._offlineComponents)if(n._uninitializedComponentsProvider){Re("FirestoreClient","Using user provided OfflineComponentProvider");try{await Yp(n,n._uninitializedComponentsProvider._offline)}catch(e){const r=e;if(!(function(i){return i.name==="FirebaseError"?i.code===we.FAILED_PRECONDITION||i.code===we.UNIMPLEMENT
1680ED:!(typeof DOMException<"u"&&i instanceof DOMException)||i.code===22||i.code===20||i.code===11})(r))throw r;Ta("Error using user provided cache. Falling back to memory cache: "+r),await Yp(n,new kd)}}else Re("FirestoreClient","Using default OfflineComponentProvider"),await Yp(n,new kd);return n._offlineComponents}async function M6(n){return n._onlineComponents||(n._uninitializedComponentsProvider?(Re("FirestoreClient","Using user provided OnlineComponentProvider"),await UE(n,n._uninitializedComponentsProvider._online)):(Re("FirestoreClient","Using default OnlineComponentProvider"),await UE(n,new $m))),n._onlineComponents}async function BE(n){const e=await M6(n),r=e.eventManager;return r.onListen=I6.bind(null,e.syncEngine),r.onUnlisten=R6.bind(null,e.syncEngine),r.onFirstRemoteStoreListen=S6.bind(null,e.syncEngine),r.onLastRemoteStoreUnlisten=C6.bind(null,e.syncEngine),r}/** 1681 * @license 1682 * Copyright 2023 Google LLC 1683 * 1684 * Licensed under the Apache License, Version 2.0 (the "License"); 1685 * you may not use this file except in compliance with the License. 1686 * You may obtain a copy of the License at 1687 * 1688 * http://www.apache.org/licenses/LICENSE-2.0 1689 * 1690 * Unless required by applicable law or agreed to in writing, software 1691 * distributed under the License is distributed on an "AS IS" BASIS, 1692 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1693 * See the License for the specific language governing permissions and 1694 * limitations under the License. 1695 */function yS(n){const e={};return n.timeoutSeconds!==void 0&&(e.timeoutSeconds=n.timeoutSeconds),e}/** 1696 * @license 1697 * Copyright 2020 Google LLC 1698 * 1699 * Licensed under the Apache License, Version 2.0 (the "License"); 1700 * you may not use this file except in compliance with the License. 1701 * You may obtain a copy of the License at 1702 * 1703 * http://www.apache.org/licenses/LICENSE-2.0 1704 * 1705 * Unless required by applicable law or agreed to in writing, software 1706 * distributed under the License is distributed on an "AS IS" BASIS, 1707 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1708 * See the License for the specific language governing permissions and 1709 * limitations under the License. 1710 */const jE=new Map;/** 1711 * @license 1712 * Copyright 2017 Google LLC 1713 * 1714 * Licensed under the Apache License, Version 2.0 (the "License"); 1715 * you may not use this file except in compliance with the License. 1716 * You may obtain a copy of the License at 1717 * 1718 * http://www.apache.org/licenses/LICENSE-2.0 1719 * 1720 * Unless required by applicable law or agreed to in writing, software 1721 * distributed under the License is distributed on an "AS IS" BASIS, 1722 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1723 * See the License for the specific language governing permissions and 1724 * limitations under the License. 1725 */function F6(n,e,r){if(!r)throw new Ne(we.INVALID_ARGUMENT,`Function ${n}() cannot be called with an empty ${e}.`)}function U6(n,e,r,o){if(e===!0&&o===!0)throw new Ne(we.INVALID_ARGUMENT,`${n} and ${r} cannot be used together.`)}function $E(n){if(!Ve.isDocumentKey(n))throw new Ne(we.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${n} has ${n.length}.`)}function B6(n){if(n===void 0)return"undefined";if(n===null)return"null";if(typeof n=="string")return n.length>20&&(n=`${n.substring(0,20)}...`),JSON.stringify(n);if(typeof n=="number"||typeof n=="boolean")return""+n;if(typeof n=="object"){if(n instanceof Array)return"an array";{const e=(function(o){return o.constructor?o.constructor.name:null})(n);return e?`a custom ${e} object`:"an object"}}return typeof n=="function"?"a function":He()}function Hu(n,e){if("_delegate"in n&&(n=n._delegate),!(n instanceof e)){if(e.name===n.constructor.name)throw new Ne(we.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const r=B6(n);throw new Ne(we.INVALID_ARGUMENT,`Expected type '${e.name}', but it was: ${r}`)}}return n}/** 1726 * @license 1727 * Copyright 2020 Google LLC 1728 * 1729 * Licensed under the Apache License, Version 2.0 (the "License");
1730 * you may not use this file except in compliance with the License. 1731 * You may obtain a copy of the License at 1732 * 1733 * http://www.apache.org/licenses/LICENSE-2.0 1734 * 1735 * Unless required by applicable law or agreed to in writing, software 1736 * distributed under the License is distributed on an "AS IS" BASIS, 1737 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1738 * See the License for the specific language governing permissions and 1739 * limitations under the License. 1740 */class zE{constructor(e){var r,o;if(e.host===void 0){if(e.ssl!==void 0)throw new Ne(we.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=e.host,this.ssl=(r=e.ssl)===null||r===void 0||r;if(this.credentials=e.credentials,this.ignoreUndefinedProperties=!!e.ignoreUndefinedProperties,this.localCache=e.localCache,e.cacheSizeBytes===void 0)this.cacheSizeBytes=41943040;else{if(e.cacheSizeBytes!==-1&&e.cacheSizeBytes<1048576)throw new Ne(we.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=e.cacheSizeBytes}U6("experimentalForceLongPolling",e.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",e.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!e.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:e.experimentalAutoDetectLongPolling===void 0?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!e.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=yS((o=e.experimentalLongPollingOptions)!==null&&o!==void 0?o:{}),(function(s){if(s.timeoutSeconds!==void 0){if(isNaN(s.timeoutSeconds))throw new Ne(we.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (must not be NaN)`);if(s.timeoutSeconds<5)throw new Ne(we.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (minimum allowed value is 5)`);if(s.timeoutSeconds>30)throw new Ne(we.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (maximum allowed value is 30)`)}})(this.experimentalLongPollingOptions),this.useFetchStreams=!!e.useFetchStreams}isEqual(e){return this.host===e.host&&this.ssl===e.ssl&&this.credentials===e.credentials&&this.cacheSizeBytes===e.cacheSizeBytes&&this.experimentalForceLongPolling===e.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===e.experimentalAutoDetectLongPolling&&(function(o,i){return o.timeoutSeconds===i.timeoutSeconds})(this.experimentalLongPollingOptions,e.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===e.ignoreUndefinedProperties&&this.useFetchStreams===e.useFetchStreams}}class Mg{constructor(e,r,o,i){this._authCredentials=e,this._appCheckCredentials=r,this._databaseId=o,this._app=i,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new zE({}),this._settingsFrozen=!1,this._terminateTask="notTerminated"}get app(){if(!this._app)throw new Ne(we.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return this._terminateTask!=="notTerminated"}_setSettings(e){if(this._settingsFrozen)throw new Ne(we.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new zE(e),e.credentials!==void 0&&(this._authCredentials=(function(o){if(!o)return new p4;switch(o.type){case"firstParty":return new g4(o.sessionIndex||"0",o.iamToken||null,o.authTokenFactory||null);case"provider":return o.client;default:throw new Ne(we.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}})(e.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask==="notTerminated"&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){this._terminateTask==="notTerminated"?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return(function(r){const o=jE.get(r);o&&(Re("ComponentProvider","Removing Datastore"),jE.delete(r),o.terminate())})(this),Promise.resolve()}}function j6(n,e,r,o={}){var i;const s=(n=Hu(n,Mg))._getSettings(),a=`${e}:${r}`;if(s.host!=="firestore.googleapis.com"&&s.host!==a&&Ta("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),n._setSettings(Object.assign(Object.assign({},s),{host:a,ssl:!1})),o.mockUserToken){let l,c;if(typeof o.mockUserToken=="string")l=o.mockUserToken,c=ar.MOCK_USER;else{l=q5(o.mockUserToken,(i=n._app)===null||i===void 0?void 0:i.options.projectId);const u=o.mockUserToken.sub||o.mockUserToken.user_id;if(!u)throw new Ne(we.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");c=new ar(u)}
1740n._authCredentials=new h4(new OI(l,c))}}/** 1741 * @license 1742 * Copyright 2020 Google LLC 1743 * 1744 * Licensed under the Apache License, Version 2.0 (the "License"); 1745 * you may not use this file except in compliance with the License. 1746 * You may obtain a copy of the License at 1747 * 1748 * http://www.apache.org/licenses/LICENSE-2.0 1749 * 1750 * Unless required by applicable law or agreed to in writing, software 1751 * distributed under the License is distributed on an "AS IS" BASIS, 1752 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1753 * See the License for the specific language governing permissions and 1754 * limitations under the License. 1755 */class Df{constructor(e,r,o){this.converter=r,this._query=o,this.type="query",this.firestore=e}withConverter(e){return new Df(this.firestore,e,this._query)}}class Zo{constructor(e,r,o){this.converter=r,this._key=o,this.type="document",this.firestore=e}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new ic(this.firestore,this.converter,this._key.path.popLast())}withConverter(e){return new Zo(this.firestore,e,this._key)}}class ic extends Df{constructor(e,r,o){super(e,r,Tg(o)),this._path=o,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const e=this._path.popLast();return e.isEmpty()?null:new Zo(this.firestore,null,new Ve(e))}withConverter(e){return new ic(this.firestore,e,this._path)}}function vS(n,e,...r){if(n=St(n),arguments.length===1&&(e=kI.newId()),F6("doc","path",e),n instanceof Mg){const o=Ot.fromString(e,...r);return $E(o),new Zo(n,null,new Ve(o))}{if(!(n instanceof Zo||n instanceof ic))throw new Ne(we.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const o=n._path.child(Ot.fromString(e,...r));return $E(o),new Zo(n.firestore,n instanceof ic?n.converter:null,new Ve(o))}}/** 1756 * @license 1757 * Copyright 2020 Google LLC 1758 * 1759 * Licensed under the Apache License, Version 2.0 (the "License"); 1760 * you may not use this file except in compliance with the License. 1761 * You may obtain a copy of the License at 1762 * 1763 * http://www.apache.org/licenses/LICENSE-2.0 1764 * 1765 * Unless required by applicable law or agreed to in writing, software 1766 * distributed under the License is distributed on an "AS IS" BASIS, 1767 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1768 * See the License for the specific language governing permissions and 1769 * limitations under the License. 1770 */class HE{constructor(e=Promise.resolve()){this.Pu=[],this.Iu=!1,this.Tu=[],this.Eu=null,this.du=!1,this.Au=!1,this.Ru=[],this.t_=new sS(this,"async_queue_retry"),this.Vu=()=>{const o=Kp();o&&Re("AsyncQueue","Visibility state changed to "+o.visibilityState),this.t_.jo()},this.mu=e;const r=Kp();r&&typeof r.addEventListener=="function"&&r.addEventListener("visibilitychange",this.Vu)}get isShuttingDown(){return this.Iu}enqueueAndForget(e){this.enqueue(e)}enqueueAndForgetEvenWhileRestricted(e){this.fu(),this.gu(e)}enterRestrictedMode(e){if(!this.Iu){this.Iu=!0,this.Au=e||!1;const r=Kp();r&&typeof r.removeEventListener=="function"&&r.removeEventListener("visibilitychange",this.Vu)}}enqueue(e){if(this.fu(),this.Iu)return new Promise((()=>{}));const r=new la;return this.gu((()=>this.Iu&&this.Au?Promise.resolve():(e().then(r.resolve,r.reject),r.promise))).then((()=>r.promise))}enqueueRetryable(e){this.enqueueAndForget((()=>(this.Pu.push(e),this.pu())))}async pu(){if(this.Pu.length!==0){try{await this.Pu[0](),this.Pu.shift(),this.t_.reset()}catch(e){if(!Ac(e))throw e;Re("AsyncQueue","Operation failed with retryable error: "+e)}this.Pu.length>0&&this.t_.Go((()=>this.pu()))}}gu(e){const r=this.mu.then((()=>(this.du=!0,e().catch((o=>{this.Eu=o,this.du=!1;const i=(function(a){let l=a.message||"";return a.stack&&(l=a.stack.includes(a.message)?a.stack:a.message+` 1771`+a.stack),l})(o);throw ai("INTERNAL UNHANDLED ERROR: ",i),o})).then((o=>(this.du=!1,o))))));return this.mu=r,r}enqueueAfterDelay(e,r,o){this.fu(),this.Ru.indexOf(e)>-1&&(r=0);const i=xg.createAndSchedule(this,e,r,o,(s=>this.yu(s)));return this.Tu.push(i),i}fu(){this.Eu&&He()}verifyOperationInProgress(){}async wu(){let e;do e=this.mu,await e;while(e!==this.mu)}Su(e){for(const r of this.Tu)if(r.timerId===e)return!0;return!1}bu(e){return this.wu().then((()=>{this.Tu.sort(((r,o)=>r.targetTimeMs-o.targetTimeMs));for(const r of this.Tu)if(r.skipDelay(),e!=="all"&&r.timerId===e)break;return this.wu()}))}Du(e){this.Ru.push(e)}yu(e){const r=this.Tu.indexOf(e);this.Tu.splice(r,1)}}function qE(n){return(function(r,o){if(typeof r!="object"||r===null)return!1;const i=r;for(const s of o)if(s in i&&typeof i[s]=="function")return!0;return!1})(n,["next","error","complete"])}class zm extends Mg{constructor(e,r,o,i){super(e,r,o,i),this.type="firestore",this._queue=new HE,this._persistenceKey=i?.name||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const e=this._firestoreClient.terminate();this._queue=new HE(e),this._firestoreClient=void 0,await e}}}function $6(n,e){const r=typeof n=="object"?n:hg(),o=typeof n=="string"?n:e,i=Ma(r,"firestore").getImmediate({identifier:o});if(!i._initialized){const s=z5("firestore");s&&j6(i,...s)}return i}function z6(n){if(n._terminated)throw new Ne(we.FAILED_PRECONDITION,"The client has already been terminated.");return n._firestoreClient||H6(n),n._firestoreClient}function H6(n){var e,r,o;const i=n._freezeSettings(),s=(function(l,c,u,d){return new O4(l,c,u,d.host,d.ssl,d.experimentalForceLongPolling,d.experimentalAutoDetectLongPolling,yS(d.experimentalLongPollingOptions),d.useFetchStreams)})(n._databaseId,((e=n._app)===null||e===void 0?void 0:e.options.appId)||"",n._persistenceKey,i);n._componentsProvider||!((r=i.localCache)===null||r===void 0)&&r._offlineComponentProvider&&(!((o=i.localCache)===null||o===void 0)&&o._onlineComponentProvider)&&(n._componentsProvider={_offline:i.localCache._offlineComponentProvider,_online:i.localCache._onlineComponentProvider}),n._firestoreClient=new N6(n._authCredentials,n._appCheckCredentials,n._queue,s,n._componentsProvider&&(function(l){const c=l?._online.build();return{_offline:l?._offline.build(c),_online:c}})(n._componentsProvider))}/** 1772 * @license 1773 * Copyright 2020 Google LLC 1774 * 1775 * Licensed under the Apache License, Version 2.0 (the "License");
1776 * you may not use this file except in compliance with the License. 1777 * You may obtain a copy of the License at 1778 * 1779 * http://www.apache.org/licenses/LICENSE-2.0 1780 * 1781 * Unless required by applicable law or agreed to in writing, software 1782 * distributed under the License is distributed on an "AS IS" BASIS, 1783 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1784 * See the License for the specific language governing permissions and 1785 * limitations under the License. 1786 */class Ld{constructor(e){this._byteString=e}static fromBase64String(e){try{return new Ld(er.fromBase64String(e))}catch(r){throw new Ne(we.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+r)}}static fromUint8Array(e){return new Ld(er.fromUint8Array(e))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(e){return this._byteString.isEqual(e._byteString)}}/** 1787 * @license 1788 * Copyright 2020 Google LLC 1789 * 1790 * Licensed under the Apache License, Version 2.0 (the "License"); 1791 * you may not use this file except in compliance with the License. 1792 * You may obtain a copy of the License at 1793 * 1794 * http://www.apache.org/licenses/LICENSE-2.0 1795 * 1796 * Unless required by applicable law or agreed to in writing, software 1797 * distributed under the License is distributed on an "AS IS" BASIS, 1798 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1799 * See the License for the specific language governing permissions and 1800 * limitations under the License. 1801 */class ES{constructor(...e){for(let r=0;r<e.length;++r)if(e[r].length===0)throw new Ne(we.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new vr(e)}isEqual(e){return this._internalPath.isEqual(e._internalPath)}}/** 1802 * @license 1803 * Copyright 2017 Google LLC 1804 * 1805 * Licensed under the Apache License, Version 2.0 (the "License"); 1806 * you may not use this file except in compliance with the License. 1807 * You may obtain a copy of the License at 1808 * 1809 * http://www.apache.org/licenses/LICENSE-2.0 1810 * 1811 * Unless required by applicable law or agreed to in writing, software 1812 * distributed under the License is distributed on an "AS IS" BASIS, 1813 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1814 * See the License for the specific language governing permissions and 1815 * limitations under the License. 1816 */class q6{constructor(e,r){if(!isFinite(e)||e<-90||e>90)throw new Ne(we.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+e);if(!isFinite(r)||r<-180||r>180)throw new Ne(we.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+r);this._lat=e,this._long=r}get latitude(){return this._lat}get longitude(){return this._long}isEqual(e){return this._lat===e._lat&&this._long===e._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(e){return ot(this._lat,e._lat)||ot(this._long,e._long)}}/** 1817 * @license 1818 * Copyright 2024 Google LLC 1819 * 1820 * Licensed under the Apache License, Version 2.0 (the "License"); 1821 * you may not use this file except in compliance with the License. 1822 * You may obtain a copy of the License at 1823 * 1824 * http://www.apache.org/licenses/LICENSE-2.0 1825 * 1826 * Unless required by applicable law or agreed to in writing, software 1827 * distributed under the License is distributed on an "AS IS" BASIS, 1828 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1829 * See the License for the specific language governing permissions and 1830 * limitations under the License. 1831 */class G6{constructor(e){this._values=(e||[]).map((r=>r))}toArray(){return this._values.map((e=>e))}isEqual(e){return(function(o,i){if(o.length!==i.length)return!1;for(let s=0;s<o.length;++s)if(o[s]!==i[s])return!1;return!0})(this._values,e._values)}}const W6=new RegExp("[~\\*/\\[\\]]");function K6(n,e,r){if(e.search(W6)>=0)throw GE(`Invalid field path (${e}). Paths must not contain '~', '*', '/', '[', or ']'`,n);try{return new ES(...e.split("."))._internalPath}catch{throw GE(`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,n)}}function GE(n,e,r,o,i){let s=`Function ${e}
1831() called with invalid data`;s+=". ";let a="";return new Ne(we.INVALID_ARGUMENT,s+n+a)}/** 1832 * @license 1833 * Copyright 2020 Google LLC 1834 * 1835 * Licensed under the Apache License, Version 2.0 (the "License"); 1836 * you may not use this file except in compliance with the License. 1837 * You may obtain a copy of the License at 1838 * 1839 * http://www.apache.org/licenses/LICENSE-2.0 1840 * 1841 * Unless required by applicable law or agreed to in writing, software 1842 * distributed under the License is distributed on an "AS IS" BASIS, 1843 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1844 * See the License for the specific language governing permissions and 1845 * limitations under the License. 1846 */class wS{constructor(e,r,o,i,s){this._firestore=e,this._userDataWriter=r,this._key=o,this._document=i,this._converter=s}get id(){return this._key.path.lastSegment()}get ref(){return new Zo(this._firestore,this._converter,this._key)}exists(){return this._document!==null}data(){if(this._document){if(this._converter){const e=new Y6(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(e)}return this._userDataWriter.convertValue(this._document.data.value)}}get(e){if(this._document){const r=this._document.data.field(bS("DocumentSnapshot.get",e));if(r!==null)return this._userDataWriter.convertValue(r)}}}class Y6 extends wS{data(){return super.data()}}function bS(n,e){return typeof e=="string"?K6(n,e):e instanceof ES?e._internalPath:e._delegate._internalPath}/** 1847 * @license 1848 * Copyright 2020 Google LLC 1849 * 1850 * Licensed under the Apache License, Version 2.0 (the "License"); 1851 * you may not use this file except in compliance with the License. 1852 * You may obtain a copy of the License at 1853 * 1854 * http://www.apache.org/licenses/LICENSE-2.0 1855 * 1856 * Unless required by applicable law or agreed to in writing, software 1857 * distributed under the License is distributed on an "AS IS" BASIS, 1858 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1859 * See the License for the specific language governing permissions and 1860 * limitations under the License. 1861 */function J6(n){if(n.limitType==="L"&&n.explicitOrderBy.length===0)throw new Ne(we.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class Q6{convertValue(e,r="none"){switch(As(e)){case 0:return null;case 1:return e.booleanValue;case 2:return Dt(e.integerValue||e.doubleValue);case 3:return this.convertTimestamp(e.timestampValue);case 4:return this.convertServerTimestamp(e,r);case 5:return e.stringValue;case 6:return this.convertBytes(Ts(e.bytesValue));case 7:return this.convertReference(e.referenceValue);case 8:return this.convertGeoPoint(e.geoPointValue);case 9:return this.convertArray(e.arrayValue,r);case 11:return this.convertObject(e.mapValue,r);case 10:return this.convertVectorValue(e.mapValue);default:throw He()}}convertObject(e,r){return this.convertObjectMap(e.fields,r)}convertObjectMap(e,r="none"){const o={};return If(e,((i,s)=>{o[i]=this.convertValue(s,r)})),o}convertVectorValue(e){var r,o,i;const s=(i=(o=(r=e.fields)===null||r===void 0?void 0:r.value.arrayValue)===null||o===void 0?void 0:o.values)===null||i===void 0?void 0:i.map((a=>Dt(a.doubleValue)));return new G6(s)}convertGeoPoint(e){return new q6(Dt(e.latitude),Dt(e.longitude))}convertArray(e,r){return(e.values||[]).map((o=>this.convertValue(o,r)))}convertServerTimestamp(e,r){switch(r){case"previous":const o=vg(e);return o==null?null:this.convertValue(o,r);case"estimate":return this.convertTimestamp(nc(e));default:return null}}convertTimestamp(e){const r=ji(e);return new Sr(r.seconds,r.nanos)}convertDocumentKey(e,r){const o=Ot.fromString(e);Lt(nS(o));const i=new rc(o.get(1),o.get(3)),s=new Ve(o.popFirst(5));return i.isEqual(r)||ai(`Document ${s} contains a document reference within a different database (${i.projectId}/${i.database}) which is not supported. It will be treated as a reference in the current database (${r.projectId}/${r.database}) instead.`),s}}/** 1862 * @license 1863 * Copyright 2020 Google LLC 1864 * 1865 * Licensed under the Apache License, Version 2.0 (the "License");
1866 * you may not use this file except in compliance with the License. 1867 * You may obtain a copy of the License at 1868 * 1869 * http://www.apache.org/licenses/LICENSE-2.0 1870 * 1871 * Unless required by applicable law or agreed to in writing, software 1872 * distributed under the License is distributed on an "AS IS" BASIS, 1873 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1874 * See the License for the specific language governing permissions and 1875 * limitations under the License. 1876 */class Pl{constructor(e,r){this.hasPendingWrites=e,this.fromCache=r}isEqual(e){return this.hasPendingWrites===e.hasPendingWrites&&this.fromCache===e.fromCache}}class TS extends wS{constructor(e,r,o,i,s,a){super(e,r,o,i,a),this._firestore=e,this._firestoreImpl=e,this.metadata=s}exists(){return super.exists()}data(e={}){if(this._document){if(this._converter){const r=new qu(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(r,e)}return this._userDataWriter.convertValue(this._document.data.value,e.serverTimestamps)}}get(e,r={}){if(this._document){const o=this._document.data.field(bS("DocumentSnapshot.get",e));if(o!==null)return this._userDataWriter.convertValue(o,r.serverTimestamps)}}}class qu extends TS{data(e={}){return super.data(e)}}class X6{constructor(e,r,o,i){this._firestore=e,this._userDataWriter=r,this._snapshot=i,this.metadata=new Pl(i.hasPendingWrites,i.fromCache),this.query=o}get docs(){const e=[];return this.forEach((r=>e.push(r))),e}get size(){return this._snapshot.docs.size}get empty(){return this.size===0}forEach(e,r){this._snapshot.docs.forEach((o=>{e.call(r,new qu(this._firestore,this._userDataWriter,o.key,o,new Pl(this._snapshot.mutatedKeys.has(o.key),this._snapshot.fromCache),this.query.converter))}))}docChanges(e={}){const r=!!e.includeMetadataChanges;if(r&&this._snapshot.excludesMetadataChanges)throw new Ne(we.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===r||(this._cachedChanges=(function(i,s){if(i._snapshot.oldDocs.isEmpty()){let a=0;return i._snapshot.docChanges.map((l=>{const c=new qu(i._firestore,i._userDataWriter,l.doc.key,l.doc,new Pl(i._snapshot.mutatedKeys.has(l.doc.key),i._snapshot.fromCache),i.query.converter);return l.doc,{type:"added",doc:c,oldIndex:-1,newIndex:a++}}))}{let a=i._snapshot.oldDocs;return i._snapshot.docChanges.filter((l=>s||l.type!==3)).map((l=>{const c=new qu(i._firestore,i._userDataWriter,l.doc.key,l.doc,new Pl(i._snapshot.mutatedKeys.has(l.doc.key),i._snapshot.fromCache),i.query.converter);let u=-1,d=-1;return l.type!==0&&(u=a.indexOf(l.doc.key),a=a.delete(l.doc.key)),l.type!==1&&(a=a.add(l.doc),d=a.indexOf(l.doc.key)),{type:Z6(l.type),doc:c,oldIndex:u,newIndex:d}}))}})(this,r),this._cachedChangesIncludeMetadataChanges=r),this._cachedChanges}}function Z6(n){switch(n){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return He()}}class AS extends Q6{constructor(e){super(),this.firestore=e}convertBytes(e){return new Ld(e)}convertReference(e){const r=this.convertDocumentKey(e,this.firestore._databaseId);return new Zo(this.firestore,null,r)}}function IS(n,...e){var r,o,i;n=St(n);let s={includeMetadataChanges:!1,source:"default"},a=0;typeof e[a]!="object"||qE(e[a])||(s=e[a],a++);const l={includeMetadataChanges:s.includeMetadataChanges,source:s.source};if(qE(e[a])){const p=e[a];e[a]=(r=p.next)===null||r===void 0?void 0:r.bind(p),e[a+1]=(o=p.error)===null||o===void 0?void 0:o.bind(p),e[a+2]=(i=p.complete)===null||i===void 0?void 0:i.bind(p)}let c,u,d;if(n instanceof Zo)u=Hu(n.firestore,zm),d=Tg(n._key.path),c={next:p=>{e[a]&&e[a](eV(u,n,p))},error:e[a+1],complete:e[a+2]};else{const p=Hu(n,Df);u=Hu(p.firestore,zm),d=p._query;const h=new AS(u);c={next:m=>{e[a]&&e[a](new X6(u,h,p,m))},error:e[a+1],complete:e[a+2]},J6(n._query)}return(function(h,m,g,v){const w=new x6(v),I=new E6(m,w,g);return h.asyncQueue.enqueueAndForget((async()=>
1876_6(await BE(h),I))),()=>{w.Za(),h.asyncQueue.enqueueAndForget((async()=>g6(await BE(h),I)))}})(z6(u),d,l,c)}function eV(n,e,r){const o=r.docs.get(e._key),i=new AS(n);return new TS(n,i,e._key,o,new Pl(r.hasPendingWrites,r.fromCache),e.converter)}(function(e,r=!0){(function(i){Ua=i})(Fa),Oo(new io("firestore",((o,{instanceIdentifier:i,options:s})=>{const a=o.getProvider("app").getImmediate(),l=new zm(new m4(o.getProvider("auth-internal")),new v4(o.getProvider("app-check-internal")),(function(u,d){if(!Object.prototype.hasOwnProperty.apply(u.options,["projectId"]))throw new Ne(we.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new rc(u.options.projectId,d)})(a,i),a);return s=Object.assign({useFetchStreams:r},s),l._setSettings(s),l}),"PUBLIC").setMultipleInstances(!0)),zr(lE,"4.7.3",e),zr(lE,"4.7.3","esm2017")})();const Rc=()=>window.location.href.includes("staging")||window.location.href.includes("localhost"),SS=()=>window.location.href.includes("preprod"),tV=()=>{const n=Rc(),e=SS();return n?"staging":e?"preprod":"production"},nV=()=>navigator.userAgent.toLowerCase().includes("firefox"),rV=()=>navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&navigator.userAgent&&navigator.userAgent.indexOf("CriOS")===-1&&navigator.userAgent.indexOf("FxiOS")===-1,$a=()=>{const n=navigator.userAgent;return n.indexOf("Opera")!==-1||n.indexOf("OPR")!==-1?"Opera":n.indexOf("Edg")!==-1?"Edge":n.indexOf("Chrome")!==-1||window.chrome||n.indexOf("CriOS")!==-1?"Chrome":n.indexOf("Firefox")!==-1||n.indexOf("FxiOS")!==-1?"Firefox":n.indexOf("Safari")!==-1?"Safari":n.indexOf("MSIE")!==-1||document.documentMode?"IE":"unknown"},tn=Rc(),PS=SS();tV();const mQ=nV();rV();$a();$a();$a();$a();$a();tn&&console.log("staging mode");const oV=Object.freeze({USERS:"users-staging",NOTES:"notes-staging",USAGES:"usages-staging",SYNC:"sync-staging",TMP_USERS:"tmp-users-staging",CHATS:"chats-staging"}),iV=Object.freeze({USERS:"users",NOTES:"notes",USAGES:"usages",SYNC:"sync",TMP_USERS:"tmp-users",CHATS:"chats"}),Dd=tn?oV:iV,_Q="default";function RS(n,e){return function(){return n.apply(e,arguments)}}const{toString:sV}=Object.prototype,{getPrototypeOf:Fg}=Object,{iterator:xf,toStringTag:CS}=Symbol,Nf=(n=>e=>{const r=sV.call(e);return n[r]||(n[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ao=n=>(n=n.toLowerCase(),e=>Nf(e)===n),Vf=n=>e=>typeof e===n,{isArray:za}=Array,Ca=Vf("undefined");function Cc(n){return n!==null&&!Ca(n)&&n.constructor!==null&&!Ca(n.constructor)&&Pr(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const OS=ao("ArrayBuffer");function aV(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&OS(n.buffer),e}const lV=Vf("string"),Pr=Vf("function"),kS=Vf("number"),Oc=n=>n!==null&&typeof n=="object",cV=n=>n===!0||n===!1,Gu=n=>{if(Nf(n)!=="object")return!1;const e=Fg(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(CS in n)&&!(xf in n)},uV=n=>{if(!Oc(n)||Cc(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},dV=ao("Date"),fV=ao("File"),pV=ao("Blob"),hV=ao("FileList"),mV=n=>Oc(n)&&Pr(n.pipe),_V=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||Pr(n.append)&&((e=Nf(n))==="formdata"||e==="object"&&Pr(n.toString)&&n.toString()==="[object FormData]"))},gV=ao("URLSearchParams"),[yV,vV,EV,wV]=["ReadableStream","Request","Response","Headers"].map(ao),bV=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function kc(n,e,{allOwnKeys:r=!1}={}){if(n===null||typeof n>"u")return;let o,i;if(typeof n!="object"&&(n=[n]),za(n))for(o=0,i=n.length;o<i;o++)e.call(null,n[o],o,n);else{if(Cc(n))return;const s=r?Object.getOwnPropertyNames(n):Object.keys(n),a=s.length;let l;for(o=0;o<a;o++)l=s[o],e.call(null,n[l],l,n)}}function LS(n,e){if(Cc(n))return null;e=e.toLowerCase();const r=Object.keys(n);let o=r.length,i;for(;o-- >0;)if(i=r[o],e===i.toLowerCase())return i;return null}const us=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,DS=n=>!Ca(n)&&n!==us;function Hm(){const{caseless:n,skipUndefined:e}=DS(this)&&this||{},r={},o=(i,s)=>{const a=n&&LS(r,s)||s;Gu(r[a])&&Gu(i)?r[a]=Hm(r[a],i):Gu(i)?r[a]=Hm({},i):za(i)?r[a]=i.slice():(!e||!Ca(i))&&(r[a]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&kc(arguments[i],o);return r}const TV=(n,e,r,{allOwnKeys:o}={})=>(kc(e,(i,s)=>{r&&Pr(i)?n[s]=RS(i,r):n[s]=i},{allOwnKeys:o}),n),AV=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),IV=(n,e,r,o)=>{n.prototype=Object.create(e.prototype,o),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),r&&Object.assign(n.prototype,r)},SV=(n,e,r,o)=>{let i,s,a;const l={};if(e=e||{},n==null)return e;do{for(i=Object.getOwnPropertyNames(n),s=i.length;s-- >0;)a=i[s],(!o||o(a,n,e))&&!l[a]&&(e[a]=n[a],l[a]=!0);n=r!==!1&&Fg(n)}while(n&&(!r||r(n,e))&&n!==Object.prototype);return e},PV=(n,e,r)=>{n=String(n),(r===void 0||r>n.length)&&(r=n.length),r-=e.length;const o=n.indexOf(e,r);return o!==-1&&o===r},RV=n=>{if(!n)return null;if(za(n))return n;let e=n.length;if(!kS(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=n[e];return r},CV=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Fg(Uint8Array)),OV=(n,e)=>{const o=(n&&n[xf]).call(n);let i;for(;(i=o.next())&&!i.done;){const s=i.value;e.call(n,s[0],s[1])}},kV=(n,e)=>{let r;const o=[];for(;(r=n.exec(e))!==null;)o.push(r);return o},LV=ao("HTMLFormElement"),DV=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,i){return o.toUpperCase()+i}),WE=(({hasOwnProperty:n})=>(e,r)=>n.call(e,r))(Object.prototype),xV=ao("RegExp"),xS=(n,e)=>{const r=Object.getOwnPropertyDescriptors(n),o={};kc(r,(i,s)=>{let a;(a=e(i,s,n))!==!1&&(o[s]=a||i)}),Object.defineProperties(n,o)},NV=n=>{xS(n,(e,r)=>{if(Pr(n)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=n[r];if(Pr(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},VV=(n,e)=>{const r={},o=i=>
vendor: 4,859 bytes, line 1876
1876{i.forEach(s=>{r[s]=!0})};return za(n)?o(n):o(String(n).split(e)),r},MV=()=>{},FV=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e;function UV(n){return!!(n&&Pr(n.append)&&n[CS]==="FormData"&&n[xf])}const BV=n=>{const e=new Array(10),r=(o,i)=>{if(Oc(o)){if(e.indexOf(o)>=0)return;if(Cc(o))return o;if(!("toJSON"in o)){e[i]=o;const s=za(o)?[]:{};return kc(o,(a,l)=>{const c=r(a,i+1);!Ca(c)&&(s[l]=c)}),e[i]=void 0,s}}return o};return r(n,0)},jV=ao("AsyncFunction"),$V=n=>n&&(Oc(n)||Pr(n))&&Pr(n.then)&&Pr(n.catch),NS=((n,e)=>n?setImmediate:e?((r,o)=>(us.addEventListener("message",({source:i,data:s})=>{i===us&&s===r&&o.length&&o.shift()()},!1),i=>{o.push(i),us.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Pr(us.postMessage)),zV=typeof queueMicrotask<"u"?queueMicrotask.bind(us):typeof process<"u"&&process.nextTick||NS,HV=n=>n!=null&&Pr(n[xf]),ne={isArray:za,isArrayBuffer:OS,isBuffer:Cc,isFormData:_V,isArrayBufferView:aV,isString:lV,isNumber:kS,isBoolean:cV,isObject:Oc,isPlainObject:Gu,isEmptyObject:uV,isReadableStream:yV,isRequest:vV,isResponse:EV,isHeaders:wV,isUndefined:Ca,isDate:dV,isFile:fV,isBlob:pV,isRegExp:xV,isFunction:Pr,isStream:mV,isURLSearchParams:gV,isTypedArray:CV,isFileList:hV,forEach:kc,merge:Hm,extend:TV,trim:bV,stripBOM:AV,inherits:IV,toFlatObject:SV,kindOf:Nf,kindOfTest:ao,endsWith:PV,toArray:RV,forEachEntry:OV,matchAll:kV,isHTMLForm:LV,hasOwnProperty:WE,hasOwnProp:WE,reduceDescriptors:xS,freezeMethods:NV,toObjectSet:VV,toCamelCase:DV,noop:MV,toFiniteNumber:FV,findKey:LS,global:us,isContextDefined:DS,isSpecCompliantForm:UV,toJSONObject:BV,isAsyncFn:jV,isThenable:$V,setImmediate:NS,asap:zV,isIterable:HV};function ze(n,e,r,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}ne.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ne.toJSONObject(this.config),code:this.code,status:this.status}}});const VS=ze.prototype,MS={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{MS[n]={value:n}});Object.defineProperties(ze,MS);Object.defineProperty(VS,"isAxiosError",{value:!0});ze.from=(n,e,r,o,i,s)=>{const a=Object.create(VS);ne.toFlatObject(n,a,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const l=n&&n.message?n.message:"Error",c=e==null&&n?n.code:e;return ze.call(a,l,c,r,o,i),n&&a.cause==null&&Object.defineProperty(a,"cause",{value:n,configurable:!0}),a.name=n&&n.name||"Error",s&&Object.assign(a,s),a};const qV=null;function qm(n){return ne.isPlainObject(n)||ne.isArray(n)}function FS(n){return ne.endsWith(n,"[]")?n.slice(0,-2):n}function KE(n,e,r){return n?n.concat(e).map(function(i,s){return i=FS(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function GV(n){return ne.isArray(n)&&!n.some(qm)}const WV=ne.toFlatObject(ne,{},null,function(e){return/^is[A-Z]/.test(e)});function Mf(n,e,r){if(!ne.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,r=ne.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,w){return!ne.isUndefined(w[v])});const o=r.metaTokens,i=r.visitor||d,s=r.dots,a=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&ne.isSpecCompliantForm(e);if(!ne.isFunction(i))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(ne.isDate(g))return g.toISOString();if(ne.isBoolean(g))return g.toString();if(!c&&ne.isBlob(g))throw new ze("Blob is not supported. Use a Buffer instead.");return ne.isArrayBuffer(g)||ne.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,v,w){let I=g;if(g&&!w&&typeof g=="object"){if(ne.endsWith(v,"{}"))v=o?v:v.slice(0,-2),g=JSON.stringify(g);else if(ne.isArray(g)&&GV(g)||(ne.isFileList(g)||ne.endsWith(v,"[]"))&&(I=ne.toArray(g)))return v=FS(v),I.forEach(function(E,P){!(ne.isUndefined(E)||E===null)&&e.append(a===!0?KE([v],P,s):a===null?v:v+"[]",u(E))}),!1}return qm(g)?!0:(e.append(KE(w,v,s),u(g)),!1)}const p=[],h=Object.assign(WV,{defaultVisitor:d,convertValue:u,isVisitable:qm});function m(g,v){if(!ne.isUndefined(g)){if(p.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));p.push(g),ne.forEach(g,function(I,b){(!(ne.isUndefined(I)||I===null)&&i.call(e,I,ne.isString(b)?b.trim():b,v,h))===!0&&m(I,v?v.concat(b):[b])}),p.pop()}}if(!ne.isObject(n))throw new TypeError("data must be an object");return m(n),e}
vendor: 5,407 bytes, lines 1876-1877
1876function YE(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(o){return e[o]})}function Ug(n,e){this._pairs=[],n&&Mf(n,this,e)}const US=Ug.prototype;US.append=function(e,r){this._pairs.push([e,r])};US.toString=function(e){const r=e?function(o){return e.call(this,o,YE)}:YE;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function KV(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function BS(n,e,r){if(!e)return n;const o=r&&r.encode||KV;ne.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(e,r):s=ne.isURLSearchParams(e)?e.toString():new Ug(e,r).toString(o),s){const a=n.indexOf("#");a!==-1&&(n=n.slice(0,a)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n}class JE{constructor(){this.handlers=[]}use(e,r,o){return this.handlers.push({fulfilled:e,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ne.forEach(this.handlers,function(o){o!==null&&e(o)})}}const jS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YV=typeof URLSearchParams<"u"?URLSearchParams:Ug,JV=typeof FormData<"u"?FormData:null,QV=typeof Blob<"u"?Blob:null,XV={isBrowser:!0,classes:{URLSearchParams:YV,FormData:JV,Blob:QV},protocols:["http","https","file","blob","url","data"]},Bg=typeof window<"u"&&typeof document<"u",Gm=typeof navigator=="object"&&navigator||void 0,ZV=Bg&&(!Gm||["ReactNative","NativeScript","NS"].indexOf(Gm.product)<0),eM=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tM=Bg&&window.location.href||"http://localhost",nM=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bg,hasStandardBrowserEnv:ZV,hasStandardBrowserWebWorkerEnv:eM,navigator:Gm,origin:tM},Symbol.toStringTag,{value:"Module"})),ur={...nM,...XV};function rM(n,e){return Mf(n,new ur.classes.URLSearchParams,{visitor:function(r,o,i,s){return ur.isNode&&ne.isBuffer(r)?(this.append(o,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function oM(n){return ne.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function iM(n){const e={},r=Object.keys(n);let o;const i=r.length;let s;for(o=0;o<i;o++)s=r[o],e[s]=n[s];return e}function $S(n){function e(r,o,i,s){let a=r[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=s>=r.length;return a=!a&&ne.isArray(i)?i.length:a,c?(ne.hasOwnProp(i,a)?i[a]=[i[a],o]:i[a]=o,!l):((!i[a]||!ne.isObject(i[a]))&&(i[a]=[]),e(r,o,i[a],s)&&ne.isArray(i[a])&&(i[a]=iM(i[a])),!l)}if(ne.isFormData(n)&&ne.isFunction(n.entries)){const r={};return ne.forEachEntry(n,(o,i)=>{e(oM(o),i,r,0)}),r}return null}function sM(n,e,r){if(ne.isString(n))try{return(e||JSON.parse)(n),ne.trim(n)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(n)}const Lc={transitional:jS,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const o=r.getContentType()||"",i=o.indexOf("application/json")>-1,s=ne.isObject(e);if(s&&ne.isHTMLForm(e)&&(e=new FormData(e)),ne.isFormData(e))return i?JSON.stringify($S(e)):e;if(ne.isArrayBuffer(e)||ne.isBuffer(e)||ne.isStream(e)||ne.isFile(e)||ne.isBlob(e)||ne.isReadableStream(e))return e;if(ne.isArrayBufferView(e))return e.buffer;if(ne.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return rM(e,this.formSerializer).toString();if((l=ne.isFileList(e))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Mf(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),sM(e)):e}],transformResponse:[function(e){const r=this.transitional||Lc.transitional,o=r&&r.forcedJSONParsing,i=this.responseType==="json";if(ne.isResponse(e)||ne.isReadableStream(e))return e;if(e&&ne.isString(e)&&(o&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(l){if(a)throw l.name==="SyntaxError"?ze.from(l,ze.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ur.classes.FormData,Blob:ur.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ne.forEach(["delete","get","head","post","put","patch"],n=>{Lc.headers[n]={}});const aM=ne.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lM=n=>{const e={};let r,o,i;return n&&n.split(` 1877`).forEach(function(a){i=a.indexOf(":"),r=a.substring(0,i).trim().toLowerCase(),o=a.substring(i+1).trim(),!(!r||e[r]&&aM[r])&&(r==="set-cookie"?e[r]?e[r].push(o):e[r]=[o]:e[r]=e[r]?e[r]+", "+o:o)}),e},QE=Symbol("internals");function hl(n){return n&&String(n).trim().toLowerCase()}function Wu(n){return n===!1||n==null?n:ne.isArray(n)?n.map(Wu):String(n)}function cM(n){const e=Object.create(null),r=/([^\s,;
1877=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(n);)e[o[1]]=o[2];return e}const uM=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Jp(n,e,r,o,i){if(ne.isFunction(o))return o.call(this,e,r);if(i&&(e=r),!!ne.isString(e)){if(ne.isString(o))return e.indexOf(o)!==-1;if(ne.isRegExp(o))return o.test(e)}}function dM(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,o)=>r.toUpperCase()+o)}function fM(n,e){const r=ne.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(n,o+r,{value:function(i,s,a){return this[o].call(this,e,i,s,a)},configurable:!0})})}let Rr=class{constructor(e){e&&this.set(e)}set(e,r,o){const i=this;function s(l,c,u){const d=hl(c);if(!d)throw new Error("header name must be a non-empty string");const p=ne.findKey(i,d);(!p||i[p]===void 0||u===!0||u===void 0&&i[p]!==!1)&&(i[p||c]=Wu(l))}const a=(l,c)=>ne.forEach(l,(u,d)=>s(u,d,c));if(ne.isPlainObject(e)||e instanceof this.constructor)a(e,r);else if(ne.isString(e)&&(e=e.trim())&&!uM(e))a(lM(e),r);else if(ne.isObject(e)&&ne.isIterable(e)){let l={},c,u;for(const d of e){if(!ne.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[u=d[0]]=(c=l[u])?ne.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}a(l,r)}else e!=null&&s(r,e,o);return this}get(e,r){if(e=hl(e),e){const o=ne.findKey(this,e);if(o){const i=this[o];if(!r)return i;if(r===!0)return cM(i);if(ne.isFunction(r))return r.call(this,i,o);if(ne.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=hl(e),e){const o=ne.findKey(this,e);return!!(o&&this[o]!==void 0&&(!r||Jp(this,this[o],o,r)))}return!1}delete(e,r){const o=this;let i=!1;function s(a){if(a=hl(a),a){const l=ne.findKey(o,a);l&&(!r||Jp(o,o[l],l,r))&&(delete o[l],i=!0)}}return ne.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let o=r.length,i=!1;for(;o--;){const s=r[o];(!e||Jp(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,o={};return ne.forEach(this,(i,s)=>{const a=ne.findKey(o,s);if(a){r[a]=Wu(i),delete r[s];return}const l=e?dM(s):String(s).trim();l!==s&&delete r[s],r[l]=Wu(i),o[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return ne.forEach(this,(o,i)=>{o!=null&&o!==!1&&(r[i]=e&&ne.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` 1878`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const o=new this(e);return r.forEach(i=>o.set(i)),o}static accessor(e){const o=(this[QE]=this[QE]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=hl(a);o[l]||(fM(i,a),o[l]=!0)}return ne.isArray(e)?e.forEach(s):s(e),this}};Rr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ne.reduceDescriptors(Rr.prototype,({value:n},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(o){this[r]=o}}});ne.freezeMethods(Rr);function Qp(n,e){const r=this||Lc,o=e||r,i=Rr.from(o.headers);let s=o.data;return ne.forEach(n,function(l){s=l.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function zS(n){return!!(n&&n.__CANCEL__)}function Ha(n,e,r){ze.call(this,n??"canceled",ze.ERR_CANCELED,e,r),this.name="CanceledError"}ne.inherits(Ha,ze,{__CANCEL__:!0});function HS(n,e,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?n(r):e(new ze("Request failed with status code "+r.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function pM(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function hM(n,e){n=n||10;const r=new Array(n),o=new Array(n);let i=0,s=0,a;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),d=o[s];a||(a=u),r[i]=c,o[i]=u;let p=s,h=0;for(;p!==i;)h+=r[p++],p=p%n;if(i=(i+1)%n,i===s&&(s=(s+1)%n),u-a<e)return;const m=d&&u-d;return m?Math.round(h*1e3/m):void 0}}function mM(n,e){let r=0,o=1e3/e,i,s;const a=(u,d=Date.now())=>{r=d,i=null,s&&(clearTimeout(s),s=null),n(...u)};return[(...u)=>{const d=Date.now(),p=d-r;p>=o?a(u,d):(i=u,s||(s=setTimeout(()=>{s=null,a(i)},o-p)))},()=>i&&a(i)]}const xd=(n,e,r=3)=>{let o=0;const i=hM(50,250);return mM(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,c=a-o,u=i(c),d=a<=l;o=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-a)/u:void 0,event:s,lengthComputable:l!=null,[e?"download":"upload"]:!0};n(p)},r)},XE=(n,e)=>{const r=n!=null;return[o=>e[0]({lengthComputable:r,total:n,loaded:o}),e[1]]},ZE=n=>(...e)=>ne.asap(()=>n(...e)),_M=ur.hasStandardBrowserEnv?((n,e)=>r=>(r=new URL(r,ur.origin),n.protocol===r.protocol&&n.host===r.host&&(e||n.port===r.port)))(new URL(ur.origin),ur.navigator&&/(msie|trident)/i.test(ur.navigator.userAgent)):()=>!0,gM=ur.hasStandardBrowserEnv?{write(n,e,r,o,i,s){const a=[n+"="+encodeURIComponent(e)];ne.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),ne.isString(o)&&a.push("path="+o),ne.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yM(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function vM(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function qS(n,e,r){let o=!yM(e);return n&&(o||r==!1)?vM(n,e):e}const ew=n=>n instanceof Rr?{...n}:n;function Is(n,e){e=e||{};const r={};function o(u,d,p,h){return ne.isPlainObject(u)&&ne.isPlainObject(d)?ne.merge.call({caseless:h},u,d):ne.isPlainObject(d)?ne.merge({},d):ne.isArray(d)?d.slice():d}function i(u,d,p,h){if(ne.isUndefined(d)){if(!ne.isUndefined(u))return o(void 0,u,p,h)}else return o(u,d,p,h)}function s(u,d){if(!ne.isUndefined(d))return o(void 0,d)}function a(u,d){if(ne.isUndefined(d)){if(!ne.isUndefined(u))return o(void 0,u)}else return o(void 0,d)}function l(u,d,p){if(p in e)return o(u,d);if(p in n)return o(void 0,u)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
vendor: 4,449 bytes, line 1878
1878dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d,p)=>i(ew(u),ew(d),p,!0)};return ne.forEach(Object.keys({...n,...e}),function(d){const p=c[d]||i,h=p(n[d],e[d],d);ne.isUndefined(h)&&p!==l||(r[d]=h)}),r}const GS=n=>{const e=Is({},n);let{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=e;if(e.headers=a=Rr.from(a),e.url=BS(qS(e.baseURL,e.url,e.allowAbsoluteUrls),n.params,n.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ne.isFormData(r)){if(ur.hasStandardBrowserEnv||ur.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(ne.isFunction(r.getHeaders)){const c=r.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([d,p])=>{u.includes(d.toLowerCase())&&a.set(d,p)})}}if(ur.hasStandardBrowserEnv&&(o&&ne.isFunction(o)&&(o=o(e)),o||o!==!1&&_M(e.url))){const c=i&&s&&gM.read(s);c&&a.set(i,c)}return e},EM=typeof XMLHttpRequest<"u",wM=EM&&function(n){return new Promise(function(r,o){const i=GS(n);let s=i.data;const a=Rr.from(i.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=i,d,p,h,m,g;function v(){m&&m(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function I(){if(!w)return;const E=Rr.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),D={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:E,config:n,request:w};HS(function(S){r(S),v()},function(S){o(S),v()},D),w=null}"onloadend"in w?w.onloadend=I:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(I)},w.onabort=function(){w&&(o(new ze("Request aborted",ze.ECONNABORTED,n,w)),w=null)},w.onerror=function(P){const D=P&&P.message?P.message:"Network Error",V=new ze(D,ze.ERR_NETWORK,n,w);V.event=P||null,o(V),w=null},w.ontimeout=function(){let P=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const D=i.transitional||jS;i.timeoutErrorMessage&&(P=i.timeoutErrorMessage),o(new ze(P,D.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,n,w)),w=null},s===void 0&&a.setContentType(null),"setRequestHeader"in w&&ne.forEach(a.toJSON(),function(P,D){w.setRequestHeader(D,P)}),ne.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),l&&l!=="json"&&(w.responseType=i.responseType),u&&([h,g]=xd(u,!0),w.addEventListener("progress",h)),c&&w.upload&&([p,m]=xd(c),w.upload.addEventListener("progress",p),w.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(d=E=>{w&&(o(!E||E.type?new Ha(null,n,w):E),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const b=pM(i.url);if(b&&ur.protocols.indexOf(b)===-1){o(new ze("Unsupported protocol "+b+":",ze.ERR_BAD_REQUEST,n));return}w.send(s||null)})},bM=(n,e)=>{const{length:r}=n=n?n.filter(Boolean):[];if(e||r){let o=new AbortController,i;const s=function(u){if(!i){i=!0,l();const d=u instanceof Error?u:this.reason;o.abort(d instanceof ze?d:new Ha(d instanceof Error?d.message:d))}};let a=e&&setTimeout(()=>{a=null,s(new ze(`timeout ${e} of ms exceeded`,ze.ETIMEDOUT))},e);const l=()=>{n&&(a&&clearTimeout(a),a=null,n.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),n=null)};n.forEach(u=>u.addEventListener("abort",s));const{signal:c}=o;return c.unsubscribe=()=>ne.asap(l),c}},TM=function*(n,e){let r=n.byteLength;if(r<e){yield n;return}let o=0,i;for(;o<r;)i=o+e,yield n.slice(o,i),o=i},AM=async function*(n,e){for await(const r of IM(n))yield*TM(r,e)},IM=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const e=n.getReader();try{for(;;){const{done:r,value:o}=await e.read();if(r)break;yield o}}finally{await e.cancel()}},tw=(n,e,r,o)=>{const i=AM(n,e);let s=0,a,l=c=>{a||(a=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){l(),c.close();return}let p=d.byteLength;if(r){let h=s+=p;r(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},nw=64*1024,{isFunction:wu}=ne,SM=(({Request:n,Response:e})=>({Request:n,Response:e}
vendor: 9,207 bytes, lines 1878-1881
1878))(ne.global),{ReadableStream:rw,TextEncoder:ow}=ne.global,iw=(n,...e)=>{try{return!!n(...e)}catch{return!1}},PM=n=>{n=ne.merge.call({skipUndefined:!0},SM,n);const{fetch:e,Request:r,Response:o}=n,i=e?wu(e):typeof fetch=="function",s=wu(r),a=wu(o);if(!i)return!1;const l=i&&wu(rw),c=i&&(typeof ow=="function"?(g=>v=>g.encode(v))(new ow):async g=>new Uint8Array(await new r(g).arrayBuffer())),u=s&&l&&iw(()=>{let g=!1;const v=new r(ur.origin,{body:new rw,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!v}),d=a&&l&&iw(()=>ne.isReadableStream(new o("").body)),p={stream:d&&(g=>g.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!p[g]&&(p[g]=(v,w)=>{let I=v&&v[g];if(I)return I.call(v);throw new ze(`Response type '${g}' is not supported`,ze.ERR_NOT_SUPPORT,w)})});const h=async g=>{if(g==null)return 0;if(ne.isBlob(g))return g.size;if(ne.isSpecCompliantForm(g))return(await new r(ur.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(ne.isArrayBufferView(g)||ne.isArrayBuffer(g))return g.byteLength;if(ne.isURLSearchParams(g)&&(g=g+""),ne.isString(g))return(await c(g)).byteLength},m=async(g,v)=>{const w=ne.toFiniteNumber(g.getContentLength());return w??h(v)};return async g=>{let{url:v,method:w,data:I,signal:b,cancelToken:E,timeout:P,onDownloadProgress:D,onUploadProgress:V,responseType:S,headers:C,withCredentials:A="same-origin",fetchOptions:R}=GS(g),L=e||fetch;S=S?(S+"").toLowerCase():"text";let O=bM([b,E&&E.toAbortSignal()],P),k=null;const ee=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let J;try{if(V&&u&&w!=="get"&&w!=="head"&&(J=await m(C,I))!==0){let Ae=new r(v,{method:"POST",body:I,duplex:"half"}),Ie;if(ne.isFormData(I)&&(Ie=Ae.headers.get("content-type"))&&C.setContentType(Ie),Ae.body){const[Ce,vt]=XE(J,xd(ZE(V)));I=tw(Ae.body,nw,Ce,vt)}}ne.isString(A)||(A=A?"include":"omit");const q=s&&"credentials"in r.prototype,j={...R,signal:O,method:w.toUpperCase(),headers:C.normalize().toJSON(),body:I,duplex:"half",credentials:q?A:void 0};k=s&&new r(v,j);let G=await(s?L(k,R):L(v,j));const te=d&&(S==="stream"||S==="response");if(d&&(D||te&&ee)){const Ae={};["status","statusText","headers"].forEach(mt=>{Ae[mt]=G[mt]});const Ie=ne.toFiniteNumber(G.headers.get("content-length")),[Ce,vt]=D&&XE(Ie,xd(ZE(D),!0))||[];G=new o(tw(G.body,nw,Ce,()=>{vt&&vt(),ee&&ee()}),Ae)}S=S||"text";let le=await p[ne.findKey(p,S)||"text"](G,g);return!te&&ee&&ee(),await new Promise((Ae,Ie)=>{HS(Ae,Ie,{data:le,headers:Rr.from(G.headers),status:G.status,statusText:G.statusText,config:g,request:k})})}catch(q){throw ee&&ee(),q&&q.name==="TypeError"&&/Load failed|fetch/i.test(q.message)?Object.assign(new ze("Network Error",ze.ERR_NETWORK,g,k),{cause:q.cause||q}):ze.from(q,q&&q.code,g,k)}}},RM=new Map,WS=n=>{let e=n?n.env:{};const{fetch:r,Request:o,Response:i}=e,s=[o,i,r];let a=s.length,l=a,c,u,d=RM;for(;l--;)c=s[l],u=d.get(c),u===void 0&&d.set(c,u=l?new Map:PM(e)),d=u;return u};WS();const Wm={http:qV,xhr:wM,fetch:{get:WS}};ne.forEach(Wm,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const sw=n=>`- ${n}`,CM=n=>ne.isFunction(n)||n===null||n===!1,KS={getAdapter:(n,e)=>{n=ne.isArray(n)?n:[n];const{length:r}=n;let o,i;const s={};for(let a=0;a<r;a++){o=n[a];let l;if(i=o,!CM(o)&&(i=Wm[(l=String(o)).toLowerCase()],i===void 0))throw new ze(`Unknown adapter '${l}'`);if(i&&(ne.isFunction(i)||(i=i.get(e))))break;s[l||"#"+a]=i}if(!i){const a=Object.entries(s).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=r?a.length>1?`since : 1879`+a.map(sw).join(` 1880`):" "+sw(a[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return i},adapters:Wm};function Xp(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Ha(null,n)}function aw(n){return Xp(n),n.headers=Rr.from(n.headers),n.data=Qp.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),KS.getAdapter(n.adapter||Lc.adapter,n)(n).then(function(o){return Xp(n),o.data=Qp.call(n,n.transformResponse,o),o.headers=Rr.from(o.headers),o},function(o){return zS(o)||(Xp(n),o&&o.response&&(o.response.data=Qp.call(n,n.transformResponse,o.response),o.response.headers=Rr.from(o.response.headers))),Promise.reject(o)})}const YS="1.12.2",Ff={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{Ff[n]=function(o){return typeof o===n||"a"+(e<1?"n ":" ")+n}});const lw={};Ff.transitional=function(e,r,o){function i(s,a){return"[Axios v"+YS+"] Transitional option '"+s+"'"+a+(o?". "+o:"")}return(s,a,l)=>{if(e===!1)throw new ze(i(a," has been removed"+(r?" in "+r:"")),ze.ERR_DEPRECATED);return r&&!lw[a]&&(lw[a]=!0,console.warn(i(a," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,a,l):!0}};Ff.spelling=function(e){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${e}`),!0)};function OM(n,e,r){if(typeof n!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const o=Object.keys(n);let i=o.length;for(;i-- >0;){const s=o[i],a=e[s];if(a){const l=n[s],c=l===void 0||a(l,s,n);if(c!==!0)throw new ze("option "+s+" must be "+c,ze.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ze("Unknown option "+s,ze.ERR_BAD_OPTION)}}const Ku={assertOptions:OM,validators:Ff},co=Ku.validators;let gs=class{constructor(e){this.defaults=e||{},this.interceptors={request:new JE,response:new JE}}async request(e,r){try{return await this._request(e,r)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=` 1881`+s):o.stack=s}catch{}}throw o}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Is(this.defaults,r);const{transitional:o,paramsSerializer:i,headers:s}=r;o!==void 0&&Ku.assertOptions(o,{silentJSONParsing:co.transitional(co.boolean),forcedJSONParsing:co.transitional(co.boolean),clarifyTimeoutError:co.transitional(co.boolean)},!1),i!=null&&(ne.isFunction(i)?r.paramsSerializer={serialize:i}:Ku.assertOptions(i,{encode:co.function,serialize:co.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ku.assertOptions(r,{baseUrl:co.spelling("baseURL"),withXsrfToken:co.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=s&&ne.merge(s.common,s[r.method]);s&&ne.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Rr.concat(a,s);const l=[];let c=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(c=c&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let d,p=0,h;if(!c){const g=[aw.bind(this),void 0];for(g.unshift(...l),g.push(...u),h=g.length,d=Promise.resolve(r);p<h;)d=d.then(g[p++],g[p++]);return d}h=l.length;let m=r;for(;p<h;){const g=l[p++],v=l[p++];try{m=g(m)}catch(w){v.call(this,w);break}}try{d=aw.call(this,m)}catch(g){return Promise.reject(g)}for(p=0,h=u.length;p<h;)d=d.then(u[p++],u[p++]);return d}getUri(e){e=Is(this.defaults,e);const r=qS(e.baseURL,e.url,e.allowAbsoluteUrls);return BS(r,e.params,e.paramsSerializer)}};ne.forEach(["delete","get","head","options"],function(e){gs.prototype[e]=function(r,o){return this.request(Is(o||{},{method:e,url:r,data:(o||{}).data}))}});ne.forEach(["post","put","patch"],function(e){function r(o){return function(s,a,l){return this.request(Is(l||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}gs.prototype[e]=r(),gs.prototype[e+"Form"]=r(!0)});let kM=class JS{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{o.subscribe(l),s=l}).then(i);return a.cancel=function(){o.unsubscribe(s)},a},e(function(s,a,l){o.reason||(o.reason=new Ha(s,a,l),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=o=>{e.abort(o)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new JS(function(i){e=i}),cancel:e}}};function LM(n){return function(r){return n.apply(null,r)}}function DM(n){return ne.isObject(n)&&n.isAxiosError===!0}const Km={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
1881setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Km).forEach(([n,e])=>{Km[e]=n});function QS(n){const e=new gs(n),r=RS(gs.prototype.request,e);return ne.extend(r,gs.prototype,e,{allOwnKeys:!0}),ne.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return QS(Is(n,i))},r}const pt=QS(Lc);pt.Axios=gs;pt.CanceledError=Ha;pt.CancelToken=kM;pt.isCancel=zS;pt.VERSION=YS;pt.toFormData=Mf;pt.AxiosError=ze;pt.Cancel=pt.CanceledError;pt.all=function(e){return Promise.all(e)};pt.spread=LM;pt.isAxiosError=DM;pt.mergeConfig=Is;pt.AxiosHeaders=Rr;pt.formToJSON=n=>$S(ne.isHTMLForm(n)?new FormData(n):n);pt.getAdapter=KS.getAdapter;pt.HttpStatusCode=Km;pt.default=pt;const{Axios:vQ,AxiosError:EQ,CanceledError:wQ,isCancel:bQ,CancelToken:TQ,VERSION:AQ,all:IQ,Cancel:SQ,isAxiosError:PQ,spread:RQ,toFormData:CQ,AxiosHeaders:OQ,HttpStatusCode:kQ,formToJSON:LQ,getAdapter:DQ,mergeConfig:xQ}=pt;function jg(n,e){var r={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&e.indexOf(o)<0&&(r[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(n);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(n,o[i])&&(r[o[i]]=n[o[i]]);return r}function XS(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const xM=XS,ZS=new Ds("auth","Firebase",XS());/** 1882 * @license 1883 * Copyright 2020 Google LLC 1884 * 1885 * Licensed under the Apache License, Version 2.0 (the "License"); 1886 * you may not use this file except in compliance with the License. 1887 * You may obtain a copy of the License at 1888 * 1889 * http://www.apache.org/licenses/LICENSE-2.0 1890 * 1891 * Unless required by applicable law or agreed to in writing, software 1892 * distributed under the License is distributed on an "AS IS" BASIS, 1893 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1894 * See the License for the specific language governing permissions and 1895 * limitations under the License. 1896 */const Nd=new fg("@firebase/auth");function NM(n,...e){Nd.logLevel<=Ye.WARN&&Nd.warn(`Auth (${Fa}): ${n}`,...e)}function Yu(n,...e){Nd.logLevel<=Ye.ERROR&&Nd.error(`Auth (${Fa}): ${n}`,...e)}/** 1897 * @license 1898 * Copyright 2020 Google LLC 1899 * 1900 * Licensed under the Apache License, Version 2.0 (the "License"); 1901 * you may not use this file except in compliance with the License. 1902 * You may obtain a copy of the License at 1903 * 1904 * http://www.apache.org/licenses/LICENSE-2.0 1905 * 1906 * Unless required by applicable law or agreed to in writing, software 1907 * distributed under the License is distributed on an "AS IS" BASIS, 1908 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1909 * See the License for the specific language governing permissions and 1910 * limitations under the License. 1911 */function Dr(n,...e){throw zg(n,...e)}function Io(n,...e){return zg(n,...e)}function $g(n,e,r){const o=Object.assign(Object.assign({},xM()),{[e]:r});return new Ds("auth","Firebase",o).create(e,{appName:n.name})}function So(n){return $g(n,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}
1911function VM(n,e,r){const o=r;if(!(e instanceof o))throw o.name!==e.constructor.name&&Dr(n,"argument-error"),$g(n,"argument-error",`Type of ${e.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function zg(n,...e){if(typeof n!="string"){const r=e[0],o=[...e.slice(1)];return o[0]&&(o[0].appName=n.name),n._errorFactory.create(r,...o)}return ZS.create(n,...e)}function ke(n,e,...r){if(!n)throw zg(e,...r)}function Wo(n){const e="INTERNAL ASSERTION FAILED: "+n;throw Yu(e),new Error(e)}function li(n,e){n||Wo(e)}/** 1912 * @license 1913 * Copyright 2020 Google LLC 1914 * 1915 * Licensed under the Apache License, Version 2.0 (the "License"); 1916 * you may not use this file except in compliance with the License. 1917 * You may obtain a copy of the License at 1918 * 1919 * http://www.apache.org/licenses/LICENSE-2.0 1920 * 1921 * Unless required by applicable law or agreed to in writing, software 1922 * distributed under the License is distributed on an "AS IS" BASIS, 1923 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1924 * See the License for the specific language governing permissions and 1925 * limitations under the License. 1926 */function Vd(){var n;return typeof self<"u"&&((n=self.location)===null||n===void 0?void 0:n.href)||""}function eP(){return cw()==="http:"||cw()==="https:"}function cw(){var n;return typeof self<"u"&&((n=self.location)===null||n===void 0?void 0:n.protocol)||null}/** 1927 * @license 1928 * Copyright 2020 Google LLC 1929 * 1930 * Licensed under the Apache License, Version 2.0 (the "License"); 1931 * you may not use this file except in compliance with the License. 1932 * You may obtain a copy of the License at 1933 * 1934 * http://www.apache.org/licenses/LICENSE-2.0 1935 * 1936 * Unless required by applicable law or agreed to in writing, software 1937 * distributed under the License is distributed on an "AS IS" BASIS, 1938 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1939 * See the License for the specific language governing permissions and 1940 * limitations under the License. 1941 */function MM(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(eP()||Y5()||"connection"in navigator)?navigator.onLine:!0}function FM(){if(typeof navigator>"u")return null;const n=navigator;return n.languages&&n.languages[0]||n.language||null}/** 1942 * @license 1943 * Copyright 2020 Google LLC 1944 * 1945 * Licensed under the Apache License, Version 2.0 (the "License"); 1946 * you may not use this file except in compliance with the License. 1947 * You may obtain a copy of the License at 1948 * 1949 * http://www.apache.org/licenses/LICENSE-2.0 1950 * 1951 * Unless required by applicable law or agreed to in writing, software 1952 * distributed under the License is distributed on an "AS IS" BASIS, 1953 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1954 * See the License for the specific language governing permissions and 1955 * limitations under the License. 1956 */class Dc{constructor(e,r){this.shortDelay=e,this.longDelay=r,li(r>e,"Short delay should be less than long delay!"),this.isMobile=G5()||J5()}get(){return MM()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}/** 1957 * @license 1958 * Copyright 2020 Google LLC 1959 * 1960 * Licensed under the Apache License, Version 2.0 (the "License"); 1961 * you may not use this file except in compliance with the License. 1962 * You may obtain a copy of the License at 1963 * 1964 * http://www.apache.org/licenses/LICENSE-2.0 1965 * 1966 * Unless required by applicable law or agreed to in writing, software 1967 * distributed under the License is distributed on an "AS IS" BASIS, 1968 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1969 * See the License for the specific language governing permissions and 1970 * limitations under the License. 1971 */function Hg(n,e){li(n.emulator,"Emulator should always be set here");const{url:r}=n.emulator;return e?`${r}${e.startsWith("/")?e.slice(1):e}`:r}/** 1972 * @license 1973 * Copyright 2020 Google LLC 1974 * 1975 * Licensed under the Apache License, Version 2.0 (the "License"); 1976 * you may not use this file except in compliance with the License. 1977 * You may obtain a copy of the License at 1978 * 1979 * http://www.apache.org/licenses/LICENSE-2.0 1980 * 1981 * Unless required by applicable law or agreed to in writing, softw
1981are 1982 * distributed under the License is distributed on an "AS IS" BASIS, 1983 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1984 * See the License for the specific language governing permissions and 1985 * limitations under the License. 1986 */class tP{static initialize(e,r,o){this.fetchImpl=e,r&&(this.headersImpl=r),o&&(this.responseImpl=o)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;Wo("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;Wo("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;Wo("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}/** 1987 * @license 1988 * Copyright 2020 Google LLC 1989 * 1990 * Licensed under the Apache License, Version 2.0 (the "License"); 1991 * you may not use this file except in compliance with the License. 1992 * You may obtain a copy of the License at 1993 * 1994 * http://www.apache.org/licenses/LICENSE-2.0 1995 * 1996 * Unless required by applicable law or agreed to in writing, software 1997 * distributed under the License is distributed on an "AS IS" BASIS, 1998 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1999 * See the License for the specific language governing permissions and 2000 * limitations under the License. 2001 */const UM={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-rec
2001aptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};/** 2002 * @license 2003 * Copyright 2020 Google LLC 2004 * 2005 * Licensed under the Apache License, Version 2.0 (the "License"); 2006 * you may not use this file except in compliance with the License. 2007 * You may obtain a copy of the License at 2008 * 2009 * http://www.apache.org/licenses/LICENSE-2.0 2010 * 2011 * Unless required by applicable law or agreed to in writing, software 2012 * distributed under the License is distributed on an "AS IS" BASIS, 2013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2014 * See the License for the specific language governing permissions and 2015 * limitations under the License. 2016 */const BM=new Dc(3e4,6e4);function Wr(n,e){return n.tenantId&&!e.tenantId?Object.assign(Object.assign({},e),{tenantId:n.tenantId}):e}async function Nr(n,e,r,o,i={}){return nP(n,i,async()=>{let s={},a={};o&&(e==="GET"?a=o:s={body:JSON.stringify(o)});const l=Tc(Object.assign({key:n.config.apiKey},a)).slice(1),c=await n._getAdditionalHeaders();c["Content-Type"]="application/json",n.languageCode&&(c["X-Firebase-Locale"]=n.languageCode);const u=Object.assign({method:e,headers:c},s);return K5()||(u.referrerPolicy="no-referrer"),tP.fetch()(rP(n,n.config.apiHost,r,l),u)})}async function nP(n,e,r){n._canInitEmulator=!1;const o=Object.assign(Object.assign({},UM),e);try{const i=new $M(n),s=await Promise.race([r(),i.promise]);i.clearNetworkTimeout();const a=await s.json();if("needConfirmation"in a)throw bu(n,"account-exists-with-different-credential",a);if(s.ok&&!("errorMessage"in a))return a;{const l=s.ok?a.errorMessage:a.error.message,[c,u]=l.split(" : ");if(c==="FEDERATED_USER_ID_ALREADY_LINKED")throw bu(n,"credential-already-in-use",a);if(c==="EMAIL_EXISTS")throw bu(n,"email-already-in-use",a);if(c==="USER_DISABLED")throw bu(n,"user-disabled",a);const d=o[c]||c.toLowerCase().replace(/[_\s]+/g,"-");if(u)throw $g(n,d,u);Dr(n,d)}}catch(i){if(i instanceof xo)throw i;Dr(n,"network-request-failed",{message:String(i)})}}async function xc(n,e,r,o,i={}){const s=await Nr(n,e,r,o,i);return"mfaPendingCredential"in s&&Dr(n,"multi-factor-auth-required",{_serverResponse:s}),s}function rP(n,e,r,o){const i=`${e}${r}?${o}`;return n.config.emulator?Hg(n.config,i):`${n.config.apiScheme}://${i}`}function jM(n){switch(n){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class $M{constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((r,o)=>{this.timer=setTimeout(()=>o(Io(this.auth,"network-request-failed")),BM.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function bu(n,e,r){const o={appName:n.name};r.email&&(o.email=r.email),r.phoneNumber&&(o.phoneNumber=r.phoneNumber);const i=Io(n,e,o);return i.customData._tokenResponse=r,i}function uw(n){return n!==void 0&&n.enterprise!==void 0}class zM{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],e.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(const r of this.recaptchaEnforcementState)if(r.provider&&r.provider===e)return jM(r.enforcementState);return null}isProviderEnabled(e){return this.getProviderEnforcementState(e)==="ENFORCE"||this.getProviderEnforcementState(e)==="AUDIT"}}async function HM(n,e){return Nr(n,"GET","/v2/recaptchaConfig",Wr(n,e))}/** 2017 * @license 2018 * Copyright 2020 Google LLC 2019 * 2020 * Licensed under the Apache License, Version 2.0 (the "License"); 2021 * you may not use this file except in compliance with the License. 2022 * You may obtain a copy of the License at 2023 * 2024 * http://www.apache.org/licenses/LICENSE-2.0 2025 * 2026 * Unless required by applicable law or agreed to in writing, software 2027 * distributed under the License is distributed on an "AS IS" BASIS, 2028 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2029 * See the License for the specific language governing permissions and 2030 * limitations under the License. 2031 */async function qM(n,e){return Nr(n,"POST","/v1/accounts:delete",e)}
2031async function oP(n,e){return Nr(n,"POST","/v1/accounts:lookup",e)}/** 2032 * @license 2033 * Copyright 2020 Google LLC 2034 * 2035 * Licensed under the Apache License, Version 2.0 (the "License"); 2036 * you may not use this file except in compliance with the License. 2037 * You may obtain a copy of the License at 2038 * 2039 * http://www.apache.org/licenses/LICENSE-2.0 2040 * 2041 * Unless required by applicable law or agreed to in writing, software 2042 * distributed under the License is distributed on an "AS IS" BASIS, 2043 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2044 * See the License for the specific language governing permissions and 2045 * limitations under the License. 2046 */function jl(n){if(n)try{const e=new Date(Number(n));if(!isNaN(e.getTime()))return e.toUTCString()}catch{}}async function GM(n,e=!1){const r=St(n),o=await r.getIdToken(e),i=qg(o);ke(i&&i.exp&&i.auth_time&&i.iat,r.auth,"internal-error");const s=typeof i.firebase=="object"?i.firebase:void 0,a=s?.sign_in_provider;return{claims:i,token:o,authTime:jl(Zp(i.auth_time)),issuedAtTime:jl(Zp(i.iat)),expirationTime:jl(Zp(i.exp)),signInProvider:a||null,signInSecondFactor:s?.sign_in_second_factor||null}}function Zp(n){return Number(n)*1e3}function qg(n){const[e,r,o]=n.split(".");if(e===void 0||r===void 0||o===void 0)return Yu("JWT malformed, contained fewer than 3 sections"),null;try{const i=pI(r);return i?JSON.parse(i):(Yu("Failed to decode base64 JWT payload"),null)}catch(i){return Yu("Caught error parsing JWT payload as JSON",i?.toString()),null}}function dw(n){const e=qg(n);return ke(e,"internal-error"),ke(typeof e.exp<"u","internal-error"),ke(typeof e.iat<"u","internal-error"),Number(e.exp)-Number(e.iat)}/** 2047 * @license 2048 * Copyright 2020 Google LLC 2049 * 2050 * Licensed under the Apache License, Version 2.0 (the "License"); 2051 * you may not use this file except in compliance with the License. 2052 * You may obtain a copy of the License at 2053 * 2054 * http://www.apache.org/licenses/LICENSE-2.0 2055 * 2056 * Unless required by applicable law or agreed to in writing, software 2057 * distributed under the License is distributed on an "AS IS" BASIS, 2058 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2059 * See the License for the specific language governing permissions and 2060 * limitations under the License. 2061 */async function Oa(n,e,r=!1){if(r)return e;try{return await e}catch(o){throw o instanceof xo&&WM(o)&&n.auth.currentUser===n&&await n.auth.signOut(),o}}function WM({code:n}){return n==="auth/user-disabled"||n==="auth/user-token-expired"}/** 2062 * @license 2063 * Copyright 2020 Google LLC 2064 * 2065 * Licensed under the Apache License, Version 2.0 (the "License"); 2066 * you may not use this file except in compliance with the License. 2067 * You may obtain a copy of the License at 2068 * 2069 * http://www.apache.org/licenses/LICENSE-2.0 2070 * 2071 * Unless required by applicable law or agreed to in writing, software 2072 * distributed under the License is distributed on an "AS IS" BASIS, 2073 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2074 * See the License for the specific language governing permissions and 2075 * limitations under the License. 2076 */class KM{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(e){var r;if(e){const o=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),o}else{this.errorBackoff=3e4;const i=((r=this.user.stsTokenManager.expirationTime)!==null&&r!==void 0?r:0)-Date.now()-3e5;return Math.max(0,i)}}schedule(e=!1){if(!this.isRunning)return;const r=this.getInterval(e);this.timerId=setTimeout(async()=>{await this.iteration()},r)}async iteration(){try{await this.user.getIdToken(!0)}catch(e){e?.code==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}}/** 2077 * @license 2078 * Copyright 2020 Google LLC 2079 * 2080 * Licensed under the Apache License, Version 2.0 (the "License"); 2081 * you may not use this file except in compliance with the License. 2082 * You may obtain a copy of the License at 2083 * 2084 * http://www.apache.org/licenses/LICENSE-2.0 2085 * 2086 * Unless required by applicable law or agreed to in writing, softw
2086are 2087 * distributed under the License is distributed on an "AS IS" BASIS, 2088 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2089 * See the License for the specific language governing permissions and 2090 * limitations under the License. 2091 */class Ym{constructor(e,r){this.createdAt=e,this.lastLoginAt=r,this._initializeTime()}_initializeTime(){this.lastSignInTime=jl(this.lastLoginAt),this.creationTime=jl(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}/** 2092 * @license 2093 * Copyright 2019 Google LLC 2094 * 2095 * Licensed under the Apache License, Version 2.0 (the "License"); 2096 * you may not use this file except in compliance with the License. 2097 * You may obtain a copy of the License at 2098 * 2099 * http://www.apache.org/licenses/LICENSE-2.0 2100 * 2101 * Unless required by applicable law or agreed to in writing, software 2102 * distributed under the License is distributed on an "AS IS" BASIS, 2103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2104 * See the License for the specific language governing permissions and 2105 * limitations under the License. 2106 */async function Md(n){var e;const r=n.auth,o=await n.getIdToken(),i=await Oa(n,oP(r,{idToken:o}));ke(i?.users.length,r,"internal-error");const s=i.users[0];n._notifyReloadListener(s);const a=!((e=s.providerUserInfo)===null||e===void 0)&&e.length?iP(s.providerUserInfo):[],l=JM(n.providerData,a),c=n.isAnonymous,u=!(n.email&&s.passwordHash)&&!l?.length,d=c?u:!1,p={uid:s.localId,displayName:s.displayName||null,photoURL:s.photoUrl||null,email:s.email||null,emailVerified:s.emailVerified||!1,phoneNumber:s.phoneNumber||null,tenantId:s.tenantId||null,providerData:l,metadata:new Ym(s.createdAt,s.lastLoginAt),isAnonymous:d};Object.assign(n,p)}async function YM(n){const e=St(n);await Md(e),await e.auth._persistUserIfCurrent(e),e.auth._notifyListenersIfCurrent(e)}function JM(n,e){return[...n.filter(o=>!e.some(i=>i.providerId===o.providerId)),...e]}function iP(n){return n.map(e=>{var{providerId:r}=e,o=jg(e,["providerId"]);return{providerId:r,uid:o.rawId||"",displayName:o.displayName||null,email:o.email||null,phoneNumber:o.phoneNumber||null,photoURL:o.photoUrl||null}})}/** 2107 * @license 2108 * Copyright 2020 Google LLC 2109 * 2110 * Licensed under the Apache License, Version 2.0 (the "License"); 2111 * you may not use this file except in compliance with the License. 2112 * You may obtain a copy of the License at 2113 * 2114 * http://www.apache.org/licenses/LICENSE-2.0 2115 * 2116 * Unless required by applicable law or agreed to in writing, software 2117 * distributed under the License is distributed on an "AS IS" BASIS, 2118 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2119 * See the License for the specific language governing permissions and 2120 * limitations under the License. 2121 */async function QM(n,e){const r=await nP(n,{},async()=>{const o=Tc({grant_type:"refresh_token",refresh_token:e}).slice(1),{tokenApiHost:i,apiKey:s}=n.config,a=rP(n,i,"/v1/token",`key=${s}`),l=await n._getAdditionalHeaders();return l["Content-Type"]="application/x-www-form-urlencoded",tP.fetch()(a,{method:"POST",headers:l,body:o})});return{accessToken:r.access_token,expiresIn:r.expires_in,refreshToken:r.refresh_token}}async function XM(n,e){return Nr(n,"POST","/v2/accounts:revokeToken",Wr(n,e))}/** 2122 * @license 2123 * Copyright 2020 Google LLC 2124 * 2125 * Licensed under the Apache License, Version 2.0 (the "License"); 2126 * you may not use this file except in compliance with the License. 2127 * You may obtain a copy of the License at 2128 * 2129 * http://www.apache.org/licenses/LICENSE-2.0 2130 * 2131 * Unless required by applicable law or agreed to in writing, software 2132 * distributed under the License is distributed on an "AS IS" BASIS, 2133 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2134 * See the License for the specific language governing permissions and 2135 * limitations under the License. 2136 */class da{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){ke(e.idToken,"internal-error"),ke(typeof e.idToken<"u","internal-error"),ke(typeof e.refreshToken<"u","internal-error");
2136const r="expiresIn"in e&&typeof e.expiresIn<"u"?Number(e.expiresIn):dw(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,r)}updateFromIdToken(e){ke(e.length!==0,"internal-error");const r=dw(e);this.updateTokensAndExpiration(e,null,r)}async getToken(e,r=!1){return!r&&this.accessToken&&!this.isExpired?this.accessToken:(ke(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null)}clearRefreshToken(){this.refreshToken=null}async refresh(e,r){const{accessToken:o,refreshToken:i,expiresIn:s}=await QM(e,r);this.updateTokensAndExpiration(o,i,Number(s))}updateTokensAndExpiration(e,r,o){this.refreshToken=r||null,this.accessToken=e||null,this.expirationTime=Date.now()+o*1e3}static fromJSON(e,r){const{refreshToken:o,accessToken:i,expirationTime:s}=r,a=new da;return o&&(ke(typeof o=="string","internal-error",{appName:e}),a.refreshToken=o),i&&(ke(typeof i=="string","internal-error",{appName:e}),a.accessToken=i),s&&(ke(typeof s=="number","internal-error",{appName:e}),a.expirationTime=s),a}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new da,this.toJSON())}_performRefresh(){return Wo("not implemented")}}/** 2137 * @license 2138 * Copyright 2020 Google LLC 2139 * 2140 * Licensed under the Apache License, Version 2.0 (the "License"); 2141 * you may not use this file except in compliance with the License. 2142 * You may obtain a copy of the License at 2143 * 2144 * http://www.apache.org/licenses/LICENSE-2.0 2145 * 2146 * Unless required by applicable law or agreed to in writing, software 2147 * distributed under the License is distributed on an "AS IS" BASIS, 2148 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2149 * See the License for the specific language governing permissions and 2150 * limitations under the License. 2151 */function Ei(n,e){ke(typeof n=="string"||typeof n>"u","internal-error",{appName:e})}class Ko{constructor(e){var{uid:r,auth:o,stsTokenManager:i}=e,s=jg(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new KM(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=r,this.auth=o,this.stsTokenManager=i,this.accessToken=i.accessToken,this.displayName=s.displayName||null,this.email=s.email||null,this.emailVerified=s.emailVerified||!1,this.phoneNumber=s.phoneNumber||null,this.photoURL=s.photoURL||null,this.isAnonymous=s.isAnonymous||!1,this.tenantId=s.tenantId||null,this.providerData=s.providerData?[...s.providerData]:[],this.metadata=new Ym(s.createdAt||void 0,s.lastLoginAt||void 0)}async getIdToken(e){const r=await Oa(this,this.stsTokenManager.getToken(this.auth,e));return ke(r,this.auth,"internal-error"),this.accessToken!==r&&(this.accessToken=r,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),r}getIdTokenResult(e){return GM(this,e)}reload(){return YM(this)}_assign(e){this!==e&&(ke(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map(r=>Object.assign({},r)),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const r=new Ko(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return r.metadata._copy(this.metadata),r}_onReload(e){ke(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e,r=!1){let o=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),o=!0),r&&await Md(this),await this.auth._persistUserIfCurrent(this),o&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(Zr(this.auth.app))return Promise.reject(So(this.auth));const e=await this.getIdToken();return await Oa(this,qM(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
2151nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(e=>Object.assign({},e)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,r){var o,i,s,a,l,c,u,d;const p=(o=r.displayName)!==null&&o!==void 0?o:void 0,h=(i=r.email)!==null&&i!==void 0?i:void 0,m=(s=r.phoneNumber)!==null&&s!==void 0?s:void 0,g=(a=r.photoURL)!==null&&a!==void 0?a:void 0,v=(l=r.tenantId)!==null&&l!==void 0?l:void 0,w=(c=r._redirectEventId)!==null&&c!==void 0?c:void 0,I=(u=r.createdAt)!==null&&u!==void 0?u:void 0,b=(d=r.lastLoginAt)!==null&&d!==void 0?d:void 0,{uid:E,emailVerified:P,isAnonymous:D,providerData:V,stsTokenManager:S}=r;ke(E&&S,e,"internal-error");const C=da.fromJSON(this.name,S);ke(typeof E=="string",e,"internal-error"),Ei(p,e.name),Ei(h,e.name),ke(typeof P=="boolean",e,"internal-error"),ke(typeof D=="boolean",e,"internal-error"),Ei(m,e.name),Ei(g,e.name),Ei(v,e.name),Ei(w,e.name),Ei(I,e.name),Ei(b,e.name);const A=new Ko({uid:E,auth:e,email:h,emailVerified:P,displayName:p,isAnonymous:D,photoURL:g,phoneNumber:m,tenantId:v,stsTokenManager:C,createdAt:I,lastLoginAt:b});return V&&Array.isArray(V)&&(A.providerData=V.map(R=>Object.assign({},R))),w&&(A._redirectEventId=w),A}static async _fromIdTokenResponse(e,r,o=!1){const i=new da;i.updateFromServerResponse(r);const s=new Ko({uid:r.localId,auth:e,stsTokenManager:i,isAnonymous:o});return await Md(s),s}static async _fromGetAccountInfoResponse(e,r,o){const i=r.users[0];ke(i.localId!==void 0,"internal-error");const s=i.providerUserInfo!==void 0?iP(i.providerUserInfo):[],a=!(i.email&&i.passwordHash)&&!s?.length,l=new da;l.updateFromIdToken(o);const c=new Ko({uid:i.localId,auth:e,stsTokenManager:l,isAnonymous:a}),u={uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:s,metadata:new Ym(i.createdAt,i.lastLoginAt),isAnonymous:!(i.email&&i.passwordHash)&&!s?.length};return Object.assign(c,u),c}}/** 2152 * @license 2153 * Copyright 2020 Google LLC 2154 * 2155 * Licensed under the Apache License, Version 2.0 (the "License"); 2156 * you may not use this file except in compliance with the License. 2157 * You may obtain a copy of the License at 2158 * 2159 * http://www.apache.org/licenses/LICENSE-2.0 2160 * 2161 * Unless required by applicable law or agreed to in writing, software 2162 * distributed under the License is distributed on an "AS IS" BASIS, 2163 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2164 * See the License for the specific language governing permissions and 2165 * limitations under the License. 2166 */const fw=new Map;function Yo(n){li(n instanceof Function,"Expected a class definition");let e=fw.get(n);return e?(li(e instanceof n,"Instance stored in cache mismatched with class"),e):(e=new n,fw.set(n,e),e)}/** 2167 * @license 2168 * Copyright 2019 Google LLC 2169 * 2170 * Licensed under the Apache License, Version 2.0 (the "License"); 2171 * you may not use this file except in compliance with the License. 2172 * You may obtain a copy of the License at 2173 * 2174 * http://www.apache.org/licenses/LICENSE-2.0 2175 * 2176 * Unless required by applicable law or agreed to in writing, software 2177 * distributed under the License is distributed on an "AS IS" BASIS, 2178 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2179 * See the License for the specific language governing permissions and 2180 * limitations under the License. 2181 */class sP{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,r){this.storage[e]=r}async _get(e){const r=this.storage[e];return r===void 0?null:r}async _remove(e){delete this.storage[e]}_addListener(e,r){}_removeListener(e,r){}}sP.type="NONE";const pw=sP;/** 2182 * @license 2183 * Copyright 2019 Google LLC 2184 * 2185 * Licensed under the Apache License, Version 2.0 (the "License");
2186 * you may not use this file except in compliance with the License. 2187 * You may obtain a copy of the License at 2188 * 2189 * http://www.apache.org/licenses/LICENSE-2.0 2190 * 2191 * Unless required by applicable law or agreed to in writing, software 2192 * distributed under the License is distributed on an "AS IS" BASIS, 2193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2194 * See the License for the specific language governing permissions and 2195 * limitations under the License. 2196 */function Ju(n,e,r){return`firebase:${n}:${e}:${r}`}class fa{constructor(e,r,o){this.persistence=e,this.auth=r,this.userKey=o;const{config:i,name:s}=this.auth;this.fullUserKey=Ju(this.userKey,i.apiKey,s),this.fullPersistenceKey=Ju("persistence",i.apiKey,s),this.boundEventHandler=r._onStorageEvent.bind(r),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);return e?Ko._fromJSON(this.auth,e):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const r=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=e,r)return this.setCurrentUser(r)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,r,o="authUser"){if(!r.length)return new fa(Yo(pw),e,o);const i=(await Promise.all(r.map(async u=>{if(await u._isAvailable())return u}))).filter(u=>u);let s=i[0]||Yo(pw);const a=Ju(o,e.config.apiKey,e.name);let l=null;for(const u of r)try{const d=await u._get(a);if(d){const p=Ko._fromJSON(e,d);u!==s&&(l=p),s=u;break}}catch{}const c=i.filter(u=>u._shouldAllowMigration);return!s._shouldAllowMigration||!c.length?new fa(s,e,o):(s=c[0],l&&await s._set(a,l.toJSON()),await Promise.all(r.map(async u=>{if(u!==s)try{await u._remove(a)}catch{}})),new fa(s,e,o))}}/** 2197 * @license 2198 * Copyright 2020 Google LLC 2199 * 2200 * Licensed under the Apache License, Version 2.0 (the "License"); 2201 * you may not use this file except in compliance with the License. 2202 * You may obtain a copy of the License at 2203 * 2204 * http://www.apache.org/licenses/LICENSE-2.0 2205 * 2206 * Unless required by applicable law or agreed to in writing, software 2207 * distributed under the License is distributed on an "AS IS" BASIS, 2208 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2209 * See the License for the specific language governing permissions and 2210 * limitations under the License. 2211 */function hw(n){const e=n.toLowerCase();if(e.includes("opera/")||e.includes("opr/")||e.includes("opios/"))return"Opera";if(uP(e))return"IEMobile";if(e.includes("msie")||e.includes("trident/"))return"IE";if(e.includes("edge/"))return"Edge";if(aP(e))return"Firefox";if(e.includes("silk/"))return"Silk";if(fP(e))return"Blackberry";if(pP(e))return"Webos";if(lP(e))return"Safari";if((e.includes("chrome/")||cP(e))&&!e.includes("edge/"))return"Chrome";if(dP(e))return"Android";{const r=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,o=n.match(r);if(o?.length===2)return o[1]}return"Other"}function aP(n=dr()){return/firefox\//i.test(n)}function lP(n=dr()){const e=n.toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function cP(n=dr()){return/crios\//i.test(n)}function uP(n=dr()){return/iemobile/i.test(n)}function dP(n=dr()){return/android/i.test(n)}function fP(n=dr()){return/blackberry/i.test(n)}function pP(n=dr()){return/webos/i.test(n)}function Gg(n=dr()){return/iphone|ipad|ipod/i.test(n)||/macintosh/i.test(n)&&/mobile/i.test(n)}function ZM(n=dr()){var e;return Gg(n)&&!!(!((e=window.navigator)===null||e===void 0)&&e.standalone)}function e8(){return Q5()&&document.documentMode===10}function hP(n=dr()){return Gg(n)||dP(n)||pP(n)||fP(n)||/windows phone/i.test(n)||uP(n)}/** 2212 * @license 2213 * Copyright 2020 Google LLC 2214 * 2215 * Licensed under the Apache License, Version 2.0 (the "License");
2216 * you may not use this file except in compliance with the License. 2217 * You may obtain a copy of the License at 2218 * 2219 * http://www.apache.org/licenses/LICENSE-2.0 2220 * 2221 * Unless required by applicable law or agreed to in writing, software 2222 * distributed under the License is distributed on an "AS IS" BASIS, 2223 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2224 * See the License for the specific language governing permissions and 2225 * limitations under the License. 2226 */function mP(n,e=[]){let r;switch(n){case"Browser":r=hw(dr());break;case"Worker":r=`${hw(dr())}-${n}`;break;default:r=n}const o=e.length?e.join(","):"FirebaseCore-web";return`${r}/JsCore/${Fa}/${o}`}/** 2227 * @license 2228 * Copyright 2022 Google LLC 2229 * 2230 * Licensed under the Apache License, Version 2.0 (the "License"); 2231 * you may not use this file except in compliance with the License. 2232 * You may obtain a copy of the License at 2233 * 2234 * http://www.apache.org/licenses/LICENSE-2.0 2235 * 2236 * Unless required by applicable law or agreed to in writing, software 2237 * distributed under the License is distributed on an "AS IS" BASIS, 2238 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2239 * See the License for the specific language governing permissions and 2240 * limitations under the License. 2241 */class t8{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,r){const o=s=>new Promise((a,l)=>{try{const c=e(s);a(c)}catch(c){l(c)}});o.onAbort=r,this.queue.push(o);const i=this.queue.length-1;return()=>{this.queue[i]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const r=[];try{for(const o of this.queue)await o(e),o.onAbort&&r.push(o.onAbort)}catch(o){r.reverse();for(const i of r)try{i()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:o?.message})}}}/** 2242 * @license 2243 * Copyright 2023 Google LLC 2244 * 2245 * Licensed under the Apache License, Version 2.0 (the "License"); 2246 * you may not use this file except in compliance with the License. 2247 * You may obtain a copy of the License at 2248 * 2249 * http://www.apache.org/licenses/LICENSE-2.0 2250 * 2251 * Unless required by applicable law or agreed to in writing, software 2252 * distributed under the License is distributed on an "AS IS" BASIS, 2253 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2254 * See the License for the specific language governing permissions and 2255 * limitations under the License. 2256 */async function n8(n,e={}){return Nr(n,"GET","/v2/passwordPolicy",Wr(n,e))}/** 2257 * @license 2258 * Copyright 2023 Google LLC 2259 * 2260 * Licensed under the Apache License, Version 2.0 (the "License"); 2261 * you may not use this file except in compliance with the License. 2262 * You may obtain a copy of the License at 2263 * 2264 * http://www.apache.org/licenses/LICENSE-2.0 2265 * 2266 * Unless required by applicable law or agreed to in writing, software 2267 * distributed under the License is distributed on an "AS IS" BASIS, 2268 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2269 * See the License for the specific language governing permissions and 2270 * limitations under the License. 2271 */const r8=6;class o8{constructor(e){var r,o,i,s;const a=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=(r=a.minPasswordLength)!==null&&r!==void 0?r:r8,a.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=a.maxPasswordLength),a.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=a.containsLowercaseCharacter),a.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=a.containsUppercaseCharacter),a.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=a.containsNumericCharacter),a.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=a.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=(i=(o=e.allowedNonAlphanumericCharacters)===null||o===void 0?void 0:o.join(""))!==null&&i!==void 0?i:"",this.forceUpgradeOnSignin=(s=e.forceUpgradeOnSignin)!==null&&s!==void 0?s:!1,this.schemaVersion=e.schemaVersion}validatePassword(e){var r,o,i,s,a,l;const c={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,c),this.validatePasswordCharacterOptions(e,c),c.isValid&&
2271(c.isValid=(r=c.meetsMinPasswordLength)!==null&&r!==void 0?r:!0),c.isValid&&(c.isValid=(o=c.meetsMaxPasswordLength)!==null&&o!==void 0?o:!0),c.isValid&&(c.isValid=(i=c.containsLowercaseLetter)!==null&&i!==void 0?i:!0),c.isValid&&(c.isValid=(s=c.containsUppercaseLetter)!==null&&s!==void 0?s:!0),c.isValid&&(c.isValid=(a=c.containsNumericCharacter)!==null&&a!==void 0?a:!0),c.isValid&&(c.isValid=(l=c.containsNonAlphanumericCharacter)!==null&&l!==void 0?l:!0),c}validatePasswordLengthOptions(e,r){const o=this.customStrengthOptions.minPasswordLength,i=this.customStrengthOptions.maxPasswordLength;o&&(r.meetsMinPasswordLength=e.length>=o),i&&(r.meetsMaxPasswordLength=e.length<=i)}validatePasswordCharacterOptions(e,r){this.updatePasswordCharacterOptionsStatuses(r,!1,!1,!1,!1);let o;for(let i=0;i<e.length;i++)o=e.charAt(i),this.updatePasswordCharacterOptionsStatuses(r,o>="a"&&o<="z",o>="A"&&o<="Z",o>="0"&&o<="9",this.allowedNonAlphanumericCharacters.includes(o))}updatePasswordCharacterOptionsStatuses(e,r,o,i,s){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=r)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=o)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=i)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=s))}}/** 2272 * @license 2273 * Copyright 2020 Google LLC 2274 * 2275 * Licensed under the Apache License, Version 2.0 (the "License"); 2276 * you may not use this file except in compliance with the License. 2277 * You may obtain a copy of the License at 2278 * 2279 * http://www.apache.org/licenses/LICENSE-2.0 2280 * 2281 * Unless required by applicable law or agreed to in writing, software 2282 * distributed under the License is distributed on an "AS IS" BASIS, 2283 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2284 * See the License for the specific language governing permissions and 2285 * limitations under the License. 2286 */class i8{constructor(e,r,o,i){this.app=e,this.heartbeatServiceProvider=r,this.appCheckServiceProvider=o,this.config=i,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new mw(this),this.idTokenSubscription=new mw(this),this.beforeStateQueue=new t8(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=ZS,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=i.sdkClientVersion}_initializeWithPersistence(e,r){return r&&(this._popupRedirectResolver=Yo(r)),this._initializationPromise=this.queue(async()=>{var o,i;if(!this._deleted&&(this.persistenceManager=await fa.create(this,e),!this._deleted)){if(!((o=this._popupRedirectResolver)===null||o===void 0)&&o._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch{}await this.initializeCurrentUser(r),this.lastNotifiedUid=((i=this.currentUser)===null||i===void 0?void 0:i.uid)||null,!this._deleted&&(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!e)){if(this.currentUser&&e&&this.currentUser.uid===e.uid){this._currentUser._assign(e),await this.currentUser.getIdToken();return}await this._updateCurrentUser(e,!0)}}async initializeCurrentUserFromIdToken(e){try{const r=await oP(this,{idToken:e}),o=await Ko._fromGetAccountInfoResponse(this,r,e);await this.directlySetCurrentUser(o)}catch(r){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",r),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var r;if(Zr(this.app)){const a=this.app.settings.authIdToken;return a?new Promise(l=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(a).then(l,l))}):this.directlySetCurrentUser(null)}const o=await this.assertedPersistence.getCurrentUser();let i=o,s=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const a=(r=this.redirectUser)===null||r===void 0?void 0:r._redirectEventId,l=i?._redirectEventId,c=await this.tryRedirectSignIn(e);(!a||a===l)&&c?.user&&(i=c.user,s=!0)}if(!i)return this.directlySetCurrentUser(null);
2286if(!i._redirectEventId){if(s)try{await this.beforeStateQueue.runMiddleware(i)}catch(a){i=o,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(a))}return i?this.reloadAndSetCurrentUserOrClear(i):this.directlySetCurrentUser(null)}return ke(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===i._redirectEventId?this.directlySetCurrentUser(i):this.reloadAndSetCurrentUserOrClear(i)}async tryRedirectSignIn(e){let r=null;try{r=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch{await this._setRedirectUser(null)}return r}async reloadAndSetCurrentUserOrClear(e){try{await Md(e)}catch(r){if(r?.code!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=FM()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if(Zr(this.app))return Promise.reject(So(this));const r=e?St(e):null;return r&&ke(r.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(r&&r._clone(this))}async _updateCurrentUser(e,r=!1){if(!this._deleted)return e&&ke(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),r||await this.beforeStateQueue.runMiddleware(e),this.queue(async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()})}async signOut(){return Zr(this.app)?Promise.reject(So(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return Zr(this.app)?Promise.reject(So(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(Yo(e))})}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const r=this._getPasswordPolicyInternal();return r.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):r.validatePassword(e)}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await n8(this),r=new o8(e);this.tenantId===null?this._projectPasswordPolicy=r:this._tenantPasswordPolicies[this.tenantId]=r}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new Ds("auth","Firebase",e())}onAuthStateChanged(e,r,o){return this.registerStateListener(this.authStateSubscription,e,r,o)}beforeAuthStateChanged(e,r){return this.beforeStateQueue.pushCallback(e,r)}onIdTokenChanged(e,r,o){return this.registerStateListener(this.idTokenSubscription,e,r,o)}authStateReady(){return new Promise((e,r)=>{if(this.currentUser)e();else{const o=this.onAuthStateChanged(()=>{o(),e()},r)}})}async revokeAccessToken(e){if(this.currentUser){const r=await this.currentUser.getIdToken(),o={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:r};this.tenantId!=null&&(o.tenantId=this.tenantId),await XM(this,o)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:(e=this._currentUser)===null||e===void 0?void 0:e.toJSON()}}async _setRedirectUser(e,r){const o=await this.getOrInitRedirectPersistenceManager(r);return e===null?o.removeCurrentUser():o.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const r=e&&Yo(e)||this._popupRedirectResolver;ke(r,this,"argument-error"),this.redirectPersistenceManager=await fa.create(this,[Yo(r._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var r,o;return this._isInitialized&&await this.queue(async()=>{}),((r=this._currentUser)===null||r===void 0?void 0:r._redirectEventId)===e?this._currentUser:((o=this.redirectUser)===null||o===void 0?void 0:o._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(e))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,r;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const o=(r=(e=this.currentUser)===null||e===void 0?void 0:e.uid)!==null&&r!==void 0?r:null;this.lastNotifiedUid!==o&&(this.lastNotifiedUid=o,this.authStateSubscription.next(this.currentUser))}
2286registerStateListener(e,r,o,i){if(this._deleted)return()=>{};const s=typeof r=="function"?r:r.next.bind(r);let a=!1;const l=this._isInitialized?Promise.resolve():this._initializationPromise;if(ke(l,this,"internal-error"),l.then(()=>{a||s(this.currentUser)}),typeof r=="function"){const c=e.addObserver(r,o,i);return()=>{a=!0,c()}}else{const c=e.addObserver(r);return()=>{a=!0,c()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return ke(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){!e||this.frameworks.includes(e)||(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=mP(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const r={"X-Client-Version":this.clientVersion};this.app.options.appId&&(r["X-Firebase-gmpid"]=this.app.options.appId);const o=await((e=this.heartbeatServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getHeartbeatsHeader());o&&(r["X-Firebase-Client"]=o);const i=await this._getAppCheckToken();return i&&(r["X-Firebase-AppCheck"]=i),r}async _getAppCheckToken(){var e;const r=await((e=this.appCheckServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getToken());return r?.error&&NM(`Error while retrieving App Check token: ${r.error}`),r?.token}}function lo(n){return St(n)}class mw{constructor(e){this.auth=e,this.observer=null,this.addObserver=oN(r=>this.observer=r)}get next(){return ke(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}/** 2287 * @license 2288 * Copyright 2020 Google LLC 2289 * 2290 * Licensed under the Apache License, Version 2.0 (the "License"); 2291 * you may not use this file except in compliance with the License. 2292 * You may obtain a copy of the License at 2293 * 2294 * http://www.apache.org/licenses/LICENSE-2.0 2295 * 2296 * Unless required by applicable law or agreed to in writing, software 2297 * distributed under the License is distributed on an "AS IS" BASIS, 2298 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2299 * See the License for the specific language governing permissions and 2300 * limitations under the License. 2301 */let Uf={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function s8(n){Uf=n}function _P(n){return Uf.loadJS(n)}function a8(){return Uf.recaptchaEnterpriseScript}function l8(){return Uf.gapiScript}function c8(n){return`__${n}${Math.floor(Math.random()*1e6)}`}const u8="recaptcha-enterprise",d8="NO_RECAPTCHA";class f8{constructor(e){this.type=u8,this.auth=lo(e)}async verify(e="verify",r=!1){async function o(s){if(!r){if(s.tenantId==null&&s._agentRecaptchaConfig!=null)return s._agentRecaptchaConfig.siteKey;if(s.tenantId!=null&&s._tenantRecaptchaConfigs[s.tenantId]!==void 0)return s._tenantRecaptchaConfigs[s.tenantId].siteKey}return new Promise(async(a,l)=>{HM(s,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(c=>{if(c.recaptchaKey===void 0)l(new Error("recaptcha Enterprise site key undefined"));else{const u=new zM(c);return s.tenantId==null?s._agentRecaptchaConfig=u:s._tenantRecaptchaConfigs[s.tenantId]=u,a(u.siteKey)}}).catch(c=>{l(c)})})}function i(s,a,l){const c=window.grecaptcha;uw(c)?c.enterprise.ready(()=>{c.enterprise.execute(s,{action:e}).then(u=>{a(u)}).catch(()=>{a(d8)})}):l(Error("No reCAPTCHA enterprise script loaded."))}return new Promise((s,a)=>{o(this.auth).then(l=>{if(!r&&uw(window.grecaptcha))i(l,s,a);else{if(typeof window>"u"){a(new Error("RecaptchaVerifier is only supported in browser"));return}let c=a8();c.length!==0&&(c+=l),_P(c).then(()=>{i(l,s,a)}).catch(u=>{a(u)})}}).catch(l=>{a(l)})})}}async function _w(n,e,r,o=!1){const i=new f8(n);let s;try{s=await i.verify(r)}catch{s=await i.verify(r,!0)}const a=Object.assign({},e);return o?Object.assign(a,{captchaResp:s}):Object.assign(a,{captchaResponse:s}),Object.assign(a,{clientType:"CLIENT_TYPE_WEB"}
2301),Object.assign(a,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),a}async function Fd(n,e,r,o){var i;if(!((i=n._getRecaptchaConfig())===null||i===void 0)&&i.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const s=await _w(n,e,r,r==="getOobCode");return o(n,s)}else return o(n,e).catch(async s=>{if(s.code==="auth/missing-recaptcha-token"){console.log(`${r} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);const a=await _w(n,e,r,r==="getOobCode");return o(n,a)}else return Promise.reject(s)})}/** 2302 * @license 2303 * Copyright 2020 Google LLC 2304 * 2305 * Licensed under the Apache License, Version 2.0 (the "License"); 2306 * you may not use this file except in compliance with the License. 2307 * You may obtain a copy of the License at 2308 * 2309 * http://www.apache.org/licenses/LICENSE-2.0 2310 * 2311 * Unless required by applicable law or agreed to in writing, software 2312 * distributed under the License is distributed on an "AS IS" BASIS, 2313 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2314 * See the License for the specific language governing permissions and 2315 * limitations under the License. 2316 */function p8(n,e){const r=Ma(n,"auth");if(r.isInitialized()){const i=r.getImmediate(),s=r.getOptions();if(Id(s,e??{}))return i;Dr(i,"already-initialized")}return r.initialize({options:e})}function h8(n,e){const r=e?.persistence||[],o=(Array.isArray(r)?r:[r]).map(Yo);e?.errorMap&&n._updateErrorMap(e.errorMap),n._initializeWithPersistence(o,e?.popupRedirectResolver)}function m8(n,e,r){const o=lo(n);ke(o._canInitEmulator,o,"emulator-config-failed"),ke(/^https?:\/\//.test(e),o,"invalid-emulator-scheme");const i=!1,s=gP(e),{host:a,port:l}=_8(e),c=l===null?"":`:${l}`;o.config.emulator={url:`${s}//${a}${c}/`},o.settings.appVerificationDisabledForTesting=!0,o.emulatorConfig=Object.freeze({host:a,port:l,protocol:s.replace(":",""),options:Object.freeze({disableWarnings:i})}),g8()}function gP(n){const e=n.indexOf(":");return e<0?"":n.substr(0,e+1)}function _8(n){const e=gP(n),r=/(\/\/)?([^?#/]+)/.exec(n.substr(e.length));if(!r)return{host:"",port:null};const o=r[2].split("@").pop()||"",i=/^(\[[^\]]+\])(:|$)/.exec(o);if(i){const s=i[1];return{host:s,port:gw(o.substr(s.length+1))}}else{const[s,a]=o.split(":");return{host:s,port:gw(a)}}}function gw(n){if(!n)return null;const e=Number(n);return isNaN(e)?null:e}function g8(){function n(){const e=document.createElement("p"),r=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",r.position="fixed",r.width="100%",r.backgroundColor="#ffffff",r.border=".1em solid #000000",r.color="#b50000",r.bottom="0px",r.left="0px",r.margin="0px",r.zIndex="10000",r.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",n):n())}/** 2317 * @license 2318 * Copyright 2020 Google LLC 2319 * 2320 * Licensed under the Apache License, Version 2.0 (the "License"); 2321 * you may not use this file except in compliance with the License. 2322 * You may obtain a copy of the License at 2323 * 2324 * http://www.apache.org/licenses/LICENSE-2.0 2325 * 2326 * Unless required by applicable law or agreed to in writing, software 2327 * distributed under the License is distributed on an "AS IS" BASIS, 2328 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2329 * See the License for the specific language governing permissions and 2330 * limitations under the License. 2331 */class Wg{constructor(e,r){this.providerId=e,this.signInMethod=r}toJSON(){return Wo("not implemented")}_getIdTokenResponse(e){return Wo("not implemented")}_linkToIdToken(e,r){return Wo("not implemented")}_getReauthenticationResolver(e){return Wo("not implemented")}}/** 2332 * @license 2333 * Copyright 2020 Google LLC 2334 * 2335 * Licensed under the Apache License, Version 2.0 (the "License");
2336 * you may not use this file except in compliance with the License. 2337 * You may obtain a copy of the License at 2338 * 2339 * http://www.apache.org/licenses/LICENSE-2.0 2340 * 2341 * Unless required by applicable law or agreed to in writing, software 2342 * distributed under the License is distributed on an "AS IS" BASIS, 2343 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2344 * See the License for the specific language governing permissions and 2345 * limitations under the License. 2346 */async function yP(n,e){return Nr(n,"POST","/v1/accounts:resetPassword",Wr(n,e))}async function y8(n,e){return Nr(n,"POST","/v1/accounts:signUp",e)}async function v8(n,e){return Nr(n,"POST","/v1/accounts:update",Wr(n,e))}/** 2347 * @license 2348 * Copyright 2020 Google LLC 2349 * 2350 * Licensed under the Apache License, Version 2.0 (the "License"); 2351 * you may not use this file except in compliance with the License. 2352 * You may obtain a copy of the License at 2353 * 2354 * http://www.apache.org/licenses/LICENSE-2.0 2355 * 2356 * Unless required by applicable law or agreed to in writing, software 2357 * distributed under the License is distributed on an "AS IS" BASIS, 2358 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2359 * See the License for the specific language governing permissions and 2360 * limitations under the License. 2361 */async function E8(n,e){return xc(n,"POST","/v1/accounts:signInWithPassword",Wr(n,e))}async function Kg(n,e){return Nr(n,"POST","/v1/accounts:sendOobCode",Wr(n,e))}async function w8(n,e){return Kg(n,e)}async function b8(n,e){return Kg(n,e)}async function T8(n,e){return Kg(n,e)}/** 2362 * @license 2363 * Copyright 2020 Google LLC 2364 * 2365 * Licensed under the Apache License, Version 2.0 (the "License"); 2366 * you may not use this file except in compliance with the License. 2367 * You may obtain a copy of the License at 2368 * 2369 * http://www.apache.org/licenses/LICENSE-2.0 2370 * 2371 * Unless required by applicable law or agreed to in writing, software 2372 * distributed under the License is distributed on an "AS IS" BASIS, 2373 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2374 * See the License for the specific language governing permissions and 2375 * limitations under the License. 2376 */async function A8(n,e){return xc(n,"POST","/v1/accounts:signInWithEmailLink",Wr(n,e))}async function I8(n,e){return xc(n,"POST","/v1/accounts:signInWithEmailLink",Wr(n,e))}/** 2377 * @license 2378 * Copyright 2020 Google LLC 2379 * 2380 * Licensed under the Apache License, Version 2.0 (the "License"); 2381 * you may not use this file except in compliance with the License. 2382 * You may obtain a copy of the License at 2383 * 2384 * http://www.apache.org/licenses/LICENSE-2.0 2385 * 2386 * Unless required by applicable law or agreed to in writing, software 2387 * distributed under the License is distributed on an "AS IS" BASIS, 2388 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2389 * See the License for the specific language governing permissions and 2390 * limitations under the License. 2391 */class sc extends Wg{constructor(e,r,o,i=null){super("password",o),this._email=e,this._password=r,this._tenantId=i}static _fromEmailAndPassword(e,r){return new sc(e,r,"password")}static _fromEmailAndCode(e,r,o=null){return new sc(e,r,"emailLink",o)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const r=typeof e=="string"?JSON.parse(e):e;if(r?.email&&r?.password){if(r.signInMethod==="password")return this._fromEmailAndPassword(r.email,r.password);if(r.signInMethod==="emailLink")return this._fromEmailAndCode(r.email,r.password,r.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":const r={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Fd(e,r,"signInWithPassword",E8);case"emailLink":return A8(e,{email:this._email,oobCode:this._password});default:Dr(e,"internal-error")}}async _linkToIdToken(e,r){switch(this.signInMethod){case"password":const o={idToken:r,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Fd(e,o,"signUpPassword",y8);case"emailLink":return I8(e,{idToken:r,email:this._email,oobCode:this._password});default:Dr(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}/** 2392 * @license 2393 * Copyright 2020 Google LLC 2394 * 2395 * Licensed under the Apache License, Version 2.0 (the "License");
2396 * you may not use this file except in compliance with the License. 2397 * You may obtain a copy of the License at 2398 * 2399 * http://www.apache.org/licenses/LICENSE-2.0 2400 * 2401 * Unless required by applicable law or agreed to in writing, software 2402 * distributed under the License is distributed on an "AS IS" BASIS, 2403 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2404 * See the License for the specific language governing permissions and 2405 * limitations under the License. 2406 */async function pa(n,e){return xc(n,"POST","/v1/accounts:signInWithIdp",Wr(n,e))}/** 2407 * @license 2408 * Copyright 2020 Google LLC 2409 * 2410 * Licensed under the Apache License, Version 2.0 (the "License"); 2411 * you may not use this file except in compliance with the License. 2412 * You may obtain a copy of the License at 2413 * 2414 * http://www.apache.org/licenses/LICENSE-2.0 2415 * 2416 * Unless required by applicable law or agreed to in writing, software 2417 * distributed under the License is distributed on an "AS IS" BASIS, 2418 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2419 * See the License for the specific language governing permissions and 2420 * limitations under the License. 2421 */const S8="http://localhost";class ci extends Wg{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const r=new ci(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(r.idToken=e.idToken),e.accessToken&&(r.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(r.nonce=e.nonce),e.pendingToken&&(r.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(r.accessToken=e.oauthToken,r.secret=e.oauthTokenSecret):Dr("argument-error"),r}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
2421once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const r=typeof e=="string"?JSON.parse(e):e,{providerId:o,signInMethod:i}=r,s=jg(r,["providerId","signInMethod"]);if(!o||!i)return null;const a=new ci(o,i);return a.idToken=s.idToken||void 0,a.accessToken=s.accessToken||void 0,a.secret=s.secret,a.nonce=s.nonce,a.pendingToken=s.pendingToken||null,a}_getIdTokenResponse(e){const r=this.buildRequest();return pa(e,r)}_linkToIdToken(e,r){const o=this.buildRequest();return o.idToken=r,pa(e,o)}_getReauthenticationResolver(e){const r=this.buildRequest();return r.autoCreate=!1,pa(e,r)}buildRequest(){const e={requestUri:S8,returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const r={};this.idToken&&(r.id_token=this.idToken),this.accessToken&&(r.access_token=this.accessToken),this.secret&&(r.oauth_token_secret=this.secret),r.providerId=this.providerId,this.nonce&&!this.pendingToken&&(r.nonce=this.nonce),e.postBody=Tc(r)}return e}}/** 2422 * @license 2423 * Copyright 2020 Google LLC 2424 * 2425 * Licensed under the Apache License, Version 2.0 (the "License"); 2426 * you may not use this file except in compliance with the License. 2427 * You may obtain a copy of the License at 2428 * 2429 * http://www.apache.org/licenses/LICENSE-2.0 2430 * 2431 * Unless required by applicable law or agreed to in writing, software 2432 * distributed under the License is distributed on an "AS IS" BASIS, 2433 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2434 * See the License for the specific language governing permissions and 2435 * limitations under the License. 2436 */function P8(n){switch(n){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function R8(n){const e=bl(Tl(n)).link,r=e?bl(Tl(e)).deep_link_id:null,o=bl(Tl(n)).deep_link_id;return(o?bl(Tl(o)).link:null)||o||r||e||n}class Yg{constructor(e){var r,o,i,s,a,l;const c=bl(Tl(e)),u=(r=c.apiKey)!==null&&r!==void 0?r:null,d=(o=c.oobCode)!==null&&o!==void 0?o:null,p=P8((i=c.mode)!==null&&i!==void 0?i:null);ke(u&&d&&p,"argument-error"),this.apiKey=u,this.operation=p,this.code=d,this.continueUrl=(s=c.continueUrl)!==null&&s!==void 0?s:null,this.languageCode=(a=c.languageCode)!==null&&a!==void 0?a:null,this.tenantId=(l=c.tenantId)!==null&&l!==void 0?l:null}static parseLink(e){const r=R8(e);try{return new Yg(r)}catch{return null}}}/** 2437 * @license 2438 * Copyright 2020 Google LLC 2439 * 2440 * Licensed under the Apache License, Version 2.0 (the "License"); 2441 * you may not use this file except in compliance with the License. 2442 * You may obtain a copy of the License at 2443 * 2444 * http://www.apache.org/licenses/LICENSE-2.0 2445 * 2446 * Unless required by applicable law or agreed to in writing, software 2447 * distributed under the License is distributed on an "AS IS" BASIS, 2448 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2449 * See the License for the specific language governing permissions and 2450 * limitations under the License. 2451 */class qa{constructor(){this.providerId=qa.PROVIDER_ID}static credential(e,r){return sc._fromEmailAndPassword(e,r)}static credentialWithLink(e,r){const o=Yg.parseLink(r);return ke(o,"argument-error"),sc._fromEmailAndCode(e,o.code,o.tenantId)}}qa.PROVIDER_ID="password";qa.EMAIL_PASSWORD_SIGN_IN_METHOD="password";qa.EMAIL_LINK_SIGN_IN_METHOD="emailLink";/** 2452 * @license 2453 * Copyright 2020 Google LLC 2454 * 2455 * Licensed under the Apache License, Version 2.0 (the "License"); 2456 * you may not use this file except in compliance with the License. 2457 * You may obtain a copy of the License at 2458 * 2459 * http://www.apache.org/licenses/LICENSE-2.0 2460 * 2461 * Unless required by applicable law or agreed to in writing, software 2462 * distributed under the License is distributed on an "AS IS" BASIS, 2463 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2464 * See the License for the specific language governing permissions and 2465 * limitations under the License.
2466 */class Jg{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}/** 2467 * @license 2468 * Copyright 2019 Google LLC 2469 * 2470 * Licensed under the Apache License, Version 2.0 (the "License"); 2471 * you may not use this file except in compliance with the License. 2472 * You may obtain a copy of the License at 2473 * 2474 * http://www.apache.org/licenses/LICENSE-2.0 2475 * 2476 * Unless required by applicable law or agreed to in writing, software 2477 * distributed under the License is distributed on an "AS IS" BASIS, 2478 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2479 * See the License for the specific language governing permissions and 2480 * limitations under the License. 2481 */class Ga extends Jg{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class Qu extends Ga{static credentialFromJSON(e){const r=typeof e=="string"?JSON.parse(e):e;return ke("providerId"in r&&"signInMethod"in r,"argument-error"),ci._fromParams(r)}credential(e){return this._credential(Object.assign(Object.assign({},e),{nonce:e.rawNonce}))}_credential(e){return ke(e.idToken||e.accessToken,"argument-error"),ci._fromParams(Object.assign(Object.assign({}
2481,e),{providerId:this.providerId,signInMethod:this.providerId}))}static credentialFromResult(e){return Qu.oauthCredentialFromTaggedObject(e)}static credentialFromError(e){return Qu.oauthCredentialFromTaggedObject(e.customData||{})}static oauthCredentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:r,oauthAccessToken:o,oauthTokenSecret:i,pendingToken:s,nonce:a,providerId:l}=e;if(!o&&!i&&!r&&!s||!l)return null;try{return new Qu(l)._credential({idToken:r,accessToken:o,nonce:a,pendingToken:s})}catch{return null}}}/** 2482 * @license 2483 * Copyright 2020 Google LLC 2484 * 2485 * Licensed under the Apache License, Version 2.0 (the "License"); 2486 * you may not use this file except in compliance with the License. 2487 * You may obtain a copy of the License at 2488 * 2489 * http://www.apache.org/licenses/LICENSE-2.0 2490 * 2491 * Unless required by applicable law or agreed to in writing, software 2492 * distributed under the License is distributed on an "AS IS" BASIS, 2493 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2494 * See the License for the specific language governing permissions and 2495 * limitations under the License. 2496 */class Si extends Ga{constructor(){super("facebook.com")}static credential(e){return ci._fromParams({providerId:Si.PROVIDER_ID,signInMethod:Si.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return Si.credentialFromTaggedObject(e)}static credentialFromError(e){return Si.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return Si.credential(e.oauthAccessToken)}catch{return null}}}Si.FACEBOOK_SIGN_IN_METHOD="facebook.com";Si.PROVIDER_ID="facebook.com";/** 2497 * @license 2498 * Copyright 2020 Google LLC 2499 * 2500 * Licensed under the Apache License, Version 2.0 (the "License"); 2501 * you may not use this file except in compliance with the License. 2502 * You may obtain a copy of the License at 2503 * 2504 * http://www.apache.org/licenses/LICENSE-2.0 2505 * 2506 * Unless required by applicable law or agreed to in writing, software 2507 * distributed under the License is distributed on an "AS IS" BASIS, 2508 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2509 * See the License for the specific language governing permissions and 2510 * limitations under the License. 2511 */class Pi extends Ga{constructor(){super("google.com"),this.addScope("profile")}static credential(e,r){return ci._fromParams({providerId:Pi.PROVIDER_ID,signInMethod:Pi.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:r})}static credentialFromResult(e){return Pi.credentialFromTaggedObject(e)}static credentialFromError(e){return Pi.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:r,oauthAccessToken:o}=e;if(!r&&!o)return null;try{return Pi.credential(r,o)}catch{return null}}}Pi.GOOGLE_SIGN_IN_METHOD="google.com";Pi.PROVIDER_ID="google.com";/** 2512 * @license 2513 * Copyright 2020 Google LLC 2514 * 2515 * Licensed under the Apache License, Version 2.0 (the "License"); 2516 * you may not use this file except in compliance with the License. 2517 * You may obtain a copy of the License at 2518 * 2519 * http://www.apache.org/licenses/LICENSE-2.0 2520 * 2521 * Unless required by applicable law or agreed to in writing, software 2522 * distributed under the License is distributed on an "AS IS" BASIS, 2523 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2524 * See the License for the specific language governing permissions and 2525 * limitations under the License. 2526 */class Ri extends Ga{constructor(){super("github.com")}static credential(e){return ci._fromParams({providerId:Ri.PROVIDER_ID,signInMethod:Ri.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return Ri.credentialFromTaggedObject(e)}static credentialFromError(e){return Ri.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return Ri.credential(e.oauthAccessToken)}catch{return null}}}Ri.GITHUB_SIGN_IN_METHOD="github.com";Ri.PROVIDER_ID="github.com";/** 2527 * @license 2528 * Copyright 2020 Google LLC 2529 * 2530 * Licensed under the Apache License, Version 2.0 (the "License");
2531 * you may not use this file except in compliance with the License. 2532 * You may obtain a copy of the License at 2533 * 2534 * http://www.apache.org/licenses/LICENSE-2.0 2535 * 2536 * Unless required by applicable law or agreed to in writing, software 2537 * distributed under the License is distributed on an "AS IS" BASIS, 2538 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2539 * See the License for the specific language governing permissions and 2540 * limitations under the License. 2541 */class Ci extends Ga{constructor(){super("twitter.com")}static credential(e,r){return ci._fromParams({providerId:Ci.PROVIDER_ID,signInMethod:Ci.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:r})}static credentialFromResult(e){return Ci.credentialFromTaggedObject(e)}static credentialFromError(e){return Ci.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthAccessToken:r,oauthTokenSecret:o}=e;if(!r||!o)return null;try{return Ci.credential(r,o)}catch{return null}}}Ci.TWITTER_SIGN_IN_METHOD="twitter.com";Ci.PROVIDER_ID="twitter.com";/** 2542 * @license 2543 * Copyright 2020 Google LLC 2544 * 2545 * Licensed under the Apache License, Version 2.0 (the "License"); 2546 * you may not use this file except in compliance with the License. 2547 * You may obtain a copy of the License at 2548 * 2549 * http://www.apache.org/licenses/LICENSE-2.0 2550 * 2551 * Unless required by applicable law or agreed to in writing, software 2552 * distributed under the License is distributed on an "AS IS" BASIS, 2553 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2554 * See the License for the specific language governing permissions and 2555 * limitations under the License. 2556 */async function C8(n,e){return xc(n,"POST","/v1/accounts:signUp",Wr(n,e))}/** 2557 * @license 2558 * Copyright 2020 Google LLC 2559 * 2560 * Licensed under the Apache License, Version 2.0 (the "License"); 2561 * you may not use this file except in compliance with the License. 2562 * You may obtain a copy of the License at 2563 * 2564 * http://www.apache.org/licenses/LICENSE-2.0 2565 * 2566 * Unless required by applicable law or agreed to in writing, software 2567 * distributed under the License is distributed on an "AS IS" BASIS, 2568 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2569 * See the License for the specific language governing permissions and 2570 * limitations under the License. 2571 */class Ss{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,r,o,i=!1){const s=await Ko._fromIdTokenResponse(e,o,i),a=yw(o);return new Ss({user:s,providerId:a,_tokenResponse:o,operationType:r})}static async _forOperation(e,r,o){await e._updateTokensIfNecessary(o,!0);const i=yw(o);return new Ss({user:e,providerId:i,_tokenResponse:o,operationType:r})}}function yw(n){return n.providerId?n.providerId:"phoneNumber"in n?"phone":null}/** 2572 * @license 2573 * Copyright 2020 Google LLC 2574 * 2575 * Licensed under the Apache License, Version 2.0 (the "License"); 2576 * you may not use this file except in compliance with the License. 2577 * You may obtain a copy of the License at 2578 * 2579 * http://www.apache.org/licenses/LICENSE-2.0 2580 * 2581 * Unless required by applicable law or agreed to in writing, software 2582 * distributed under the License is distributed on an "AS IS" BASIS, 2583 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2584 * See the License for the specific language governing permissions and 2585 * limitations under the License. 2586 */class Ud extends xo{constructor(e,r,o,i){var s;super(r.code,r.message),this.operationType=o,this.user=i,Object.setPrototypeOf(this,Ud.prototype),this.customData={appName:e.name,tenantId:(s=e.tenantId)!==null&&s!==void 0?s:void 0,_serverResponse:r.customData._serverResponse,operationType:o}}static _fromErrorAndOperation(e,r,o,i){return new Ud(e,r,o,i)}}function vP(n,e,r,o){return(e==="reauthenticate"?r._getReauthenticationResolver(n):r._getIdTokenResponse(n)).catch(s=>{throw s.code==="auth/multi-factor-auth-required"?Ud._fromErrorAndOperation(n,s,e,o):s})}async function O8(n,e,r=!1){const o=await Oa(n,e._linkToIdToken(n.auth,await n.getIdToken()),r);return Ss._forOperation(n,"link",o)}/** 2587 * @license 2588 * Copyright 2019 Google LLC 2589 * 2590 * Licensed under the Apache License, Version 2.0 (the "License");
2591 * you may not use this file except in compliance with the License. 2592 * You may obtain a copy of the License at 2593 * 2594 * http://www.apache.org/licenses/LICENSE-2.0 2595 * 2596 * Unless required by applicable law or agreed to in writing, software 2597 * distributed under the License is distributed on an "AS IS" BASIS, 2598 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2599 * See the License for the specific language governing permissions and 2600 * limitations under the License. 2601 */async function EP(n,e,r=!1){const{auth:o}=n;if(Zr(o.app))return Promise.reject(So(o));const i="reauthenticate";try{const s=await Oa(n,vP(o,i,e,n),r);ke(s.idToken,o,"internal-error");const a=qg(s.idToken);ke(a,o,"internal-error");const{sub:l}=a;return ke(n.uid===l,o,"user-mismatch"),Ss._forOperation(n,i,s)}catch(s){throw s?.code==="auth/user-not-found"&&Dr(o,"user-mismatch"),s}}/** 2602 * @license 2603 * Copyright 2020 Google LLC 2604 * 2605 * Licensed under the Apache License, Version 2.0 (the "License"); 2606 * you may not use this file except in compliance with the License. 2607 * You may obtain a copy of the License at 2608 * 2609 * http://www.apache.org/licenses/LICENSE-2.0 2610 * 2611 * Unless required by applicable law or agreed to in writing, software 2612 * distributed under the License is distributed on an "AS IS" BASIS, 2613 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2614 * See the License for the specific language governing permissions and 2615 * limitations under the License. 2616 */async function wP(n,e,r=!1){if(Zr(n.app))return Promise.reject(So(n));
2616const o="signIn",i=await vP(n,o,e),s=await Ss._fromIdTokenResponse(n,o,i);return r||await n._updateCurrentUser(s.user),s}async function k8(n,e){return wP(lo(n),e)}async function NQ(n,e){return EP(St(n),e)}/** 2617 * @license 2618 * Copyright 2020 Google LLC 2619 * 2620 * Licensed under the Apache License, Version 2.0 (the "License"); 2621 * you may not use this file except in compliance with the License. 2622 * You may obtain a copy of the License at 2623 * 2624 * http://www.apache.org/licenses/LICENSE-2.0 2625 * 2626 * Unless required by applicable law or agreed to in writing, software 2627 * distributed under the License is distributed on an "AS IS" BASIS, 2628 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2629 * See the License for the specific language governing permissions and 2630 * limitations under the License. 2631 */class Qg{constructor(e,r){this.factorId=e,this.uid=r.mfaEnrollmentId,this.enrollmentTime=new Date(r.enrolledAt).toUTCString(),this.displayName=r.displayName}static _fromServerResponse(e,r){return"phoneInfo"in r?Xg._fromServerResponse(e,r):"totpInfo"in r?Zg._fromServerResponse(e,r):Dr(e,"internal-error")}}class Xg extends Qg{constructor(e){super("phone",e),this.phoneNumber=e.phoneInfo}static _fromServerResponse(e,r){return new Xg(r)}}class Zg extends Qg{constructor(e){super("totp",e)}static _fromServerResponse(e,r){return new Zg(r)}}/** 2632 * @license 2633 * Copyright 2020 Google LLC 2634 * 2635 * Licensed under the Apache License, Version 2.0 (the "License"); 2636 * you may not use this file except in compliance with the License. 2637 * You may obtain a copy of the License at 2638 * 2639 * http://www.apache.org/licenses/LICENSE-2.0 2640 * 2641 * Unless required by applicable law or agreed to in writing, software 2642 * distributed under the License is distributed on an "AS IS" BASIS, 2643 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2644 * See the License for the specific language governing permissions and 2645 * limitations under the License. 2646 */function L8(n,e,r){var o;ke(((o=r.url)===null||o===void 0?void 0:o.length)>0,n,"invalid-continue-uri"),ke(typeof r.dynamicLinkDomain>"u"||r.dynamicLinkDomain.length>0,n,"invalid-dynamic-link-domain"),e.continueUrl=r.url,e.dynamicLinkDomain=r.dynamicLinkDomain,e.canHandleCodeInApp=r.handleCodeInApp,r.iOS&&(ke(r.iOS.bundleId.length>0,n,"missing-ios-bundle-id"),e.iOSBundleId=r.iOS.bundleId),r.android&&(ke(r.android.packageName.length>0,n,"missing-android-pkg-name"),e.androidInstallApp=r.android.installApp,e.androidMinimumVersionCode=r.android.minimumVersion,e.androidPackageName=r.android.packageName)}/** 2647 * @license 2648 * Copyright 2020 Google LLC 2649 * 2650 * Licensed under the Apache License, Version 2.0 (the "License"); 2651 * you may not use this file except in compliance with the License. 2652 * You may obtain a copy of the License at 2653 * 2654 * http://www.apache.org/licenses/LICENSE-2.0 2655 * 2656 * Unless required by applicable law or agreed to in writing, software 2657 * distributed under the License is distributed on an "AS IS" BASIS, 2658 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2659 * See the License for the specific language governing permissions and 2660 * limitations under the License. 2661 */async function e0(n){const e=lo(n);e._getPasswordPolicyInternal()&&await e._updatePasswordPolicy()}async function VQ(n,e,r){const o=lo(n);await Fd(o,{requestType:"PASSWORD_RESET",email:e,clientType:"CLIENT_TYPE_WEB"},"getOobCode",b8)}async function MQ(n,e,r){await yP(St(n),{oobCode:e,newPassword:r}).catch(async o=>{throw o.code==="auth/password-does-not-meet-requirements"&&e0(n),o})}async function FQ(n,e){await v8(St(n),{oobCode:e})}async function D8(n,e){const r=St(n),o=await yP(r,{oobCode:e}),i=o.requestType;switch(ke(i,r,"internal-error"),i){case"EMAIL_SIGNIN":break;case"VERIFY_AND_CHANGE_EMAIL":ke(o.newEmail,r,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":ke(o.mfaInfo,r,"internal-error");default:ke(o.email,r,"internal-error")}let s=null;return o.mfaInfo&&(s=Qg._fromServerResponse(lo(r),o.mfaInfo)),{data:{email:(o.requestType==="VERIFY_AND_CHANGE_EMAIL"?o.newEmail:o.email)||null,previousEmail:(o.requestType==="VERIFY_AND_CHANGE_EMAIL"?o.email:o.newEmail)||null,multiFactorInfo:s},operation:i}}async function UQ(n,e){const{data:r}=await D8(St(n),e);return r.email}async function BQ(n,e,r){if(Zr(n.app))return Promise.reject(So(n));const o=lo(n),a=await Fd(o,{returnSecureToken:!0,email:e,password:r,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",C8).catch(c=>{throw c.code==="auth/password-does-not-meet-requirements"&&e0(n),c}),l=await Ss._fromIdTokenResponse(o,"signIn",a);return await o._updateCurrentUser(l.user),l}function jQ(n,e,r){return Zr(n.app)?Promise.reject(So(n)):k8(St(n),qa.credential(e,r)).catch(async o=>
2661{throw o.code==="auth/password-does-not-meet-requirements"&&e0(n),o})}/** 2662 * @license 2663 * Copyright 2020 Google LLC 2664 * 2665 * Licensed under the Apache License, Version 2.0 (the "License"); 2666 * you may not use this file except in compliance with the License. 2667 * You may obtain a copy of the License at 2668 * 2669 * http://www.apache.org/licenses/LICENSE-2.0 2670 * 2671 * Unless required by applicable law or agreed to in writing, software 2672 * distributed under the License is distributed on an "AS IS" BASIS, 2673 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2674 * See the License for the specific language governing permissions and 2675 * limitations under the License. 2676 */async function x8(n,e){return Nr(n,"POST","/v1/accounts:createAuthUri",Wr(n,e))}/** 2677 * @license 2678 * Copyright 2020 Google LLC 2679 * 2680 * Licensed under the Apache License, Version 2.0 (the "License"); 2681 * you may not use this file except in compliance with the License. 2682 * You may obtain a copy of the License at 2683 * 2684 * http://www.apache.org/licenses/LICENSE-2.0 2685 * 2686 * Unless required by applicable law or agreed to in writing, software 2687 * distributed under the License is distributed on an "AS IS" BASIS, 2688 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2689 * See the License for the specific language governing permissions and 2690 * limitations under the License. 2691 */async function N8(n,e){const r=eP()?Vd():"http://localhost",o={identifier:e,continueUri:r},{signinMethods:i}=await x8(St(n),o);return i||[]}async function V8(n,e){const r=St(n),i={requestType:"VERIFY_EMAIL",idToken:await n.getIdToken()};e&&L8(r.auth,i,e);const{email:s}=await w8(r.auth,i);s!==n.email&&await n.reload()}async function $Q(n,e,r){const o=St(n),s={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:await n.getIdToken(),newEmail:e},{email:a}=await T8(o.auth,s);a!==n.email&&await n.reload()}/** 2692 * @license 2693 * Copyright 2020 Google LLC 2694 * 2695 * Licensed under the Apache License, Version 2.0 (the "License"); 2696 * you may not use this file except in compliance with the License. 2697 * You may obtain a copy of the License at 2698 * 2699 * http://www.apache.org/licenses/LICENSE-2.0 2700 * 2701 * Unless required by applicable law or agreed to in writing, software 2702 * distributed under the License is distributed on an "AS IS" BASIS, 2703 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2704 * See the License for the specific language governing permissions and 2705 * limitations under the License. 2706 */async function M8(n,e){return Nr(n,"POST","/v1/accounts:update",e)}/** 2707 * @license 2708 * Copyright 2020 Google LLC 2709 * 2710 * Licensed under the Apache License, Version 2.0 (the "License"); 2711 * you may not use this file except in compliance with the License. 2712 * You may obtain a copy of the License at 2713 * 2714 * http://www.apache.org/licenses/LICENSE-2.0 2715 * 2716 * Unless required by applicable law or agreed to in writing, software 2717 * distributed under the License is distributed on an "AS IS" BASIS, 2718 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2719 * See the License for the specific language governing permissions and 2720 * limitations under the License. 2721 */async function F8(n,{displayName:e,photoURL:r}){if(e===void 0&&r===void 0)return;const o=St(n),s={idToken:await o.getIdToken(),displayName:e,photoUrl:r,returnSecureToken:!0},a=await Oa(o,M8(o.auth,s));o.displayName=a.displayName||null,o.photoURL=a.photoUrl||null;const l=o.providerData.find(({providerId:c})=>c==="password");l&&(l.displayName=o.displayName,l.photoURL=o.photoURL),await o._updateTokensIfNecessary(a)}function U8(n,e,r,o){return St(n).onIdTokenChanged(e,r,o)}function B8(n,e,r){return St(n).beforeAuthStateChanged(e,r)}function j8(n,e,r,o){return St(n).onAuthStateChanged(e,r,o)}function $8(n){return St(n).signOut()}const Bd="__sak";/** 2722 * @license 2723 * Copyright 2019 Google LLC 2724 * 2725 * Licensed under the Apache License, Version 2.0 (the "License"); 2726 * you may not use this file except in compliance with the License. 2727 * You may obtain a copy of the License at 2728 * 2729 * http://www.apache.org/licenses/LICENSE-2.0 2730 * 2731 * Unless required by applicable law or agreed to in writing, softw
2731are 2732 * distributed under the License is distributed on an "AS IS" BASIS, 2733 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2734 * See the License for the specific language governing permissions and 2735 * limitations under the License. 2736 */class bP{constructor(e,r){this.storageRetriever=e,this.type=r}_isAvailable(){try{return this.storage?(this.storage.setItem(Bd,"1"),this.storage.removeItem(Bd),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(e,r){return this.storage.setItem(e,JSON.stringify(r)),Promise.resolve()}_get(e){const r=this.storage.getItem(e);return Promise.resolve(r?JSON.parse(r):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}/** 2737 * @license 2738 * Copyright 2020 Google LLC 2739 * 2740 * Licensed under the Apache License, Version 2.0 (the "License"); 2741 * you may not use this file except in compliance with the License. 2742 * You may obtain a copy of the License at 2743 * 2744 * http://www.apache.org/licenses/LICENSE-2.0 2745 * 2746 * Unless required by applicable law or agreed to in writing, software 2747 * distributed under the License is distributed on an "AS IS" BASIS, 2748 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2749 * See the License for the specific language governing permissions and 2750 * limitations under the License. 2751 */const z8=1e3,H8=10;class TP extends bP{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,r)=>this.onStorageEvent(e,r),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=hP(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const r of Object.keys(this.listeners)){const o=this.storage.getItem(r),i=this.localCache[r];o!==i&&e(r,i,o)}}onStorageEvent(e,r=!1){if(!e.key){this.forAllChangedKeys((a,l,c)=>{this.notifyListeners(a,c)});return}const o=e.key;r?this.detachListener():this.stopPolling();const i=()=>{const a=this.storage.getItem(o);!r&&this.localCache[o]===a||this.notifyListeners(o,a)},s=this.storage.getItem(o);e8()&&s!==e.newValue&&e.newValue!==e.oldValue?setTimeout(i,H8):i()}notifyListeners(e,r){this.localCache[e]=r;const o=this.listeners[e];if(o)for(const i of Array.from(o))i(r&&JSON.parse(r))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,r,o)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:r,newValue:o}),!0)})},z8)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,r){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(r)}_removeListener(e,r){this.listeners[e]&&(this.listeners[e].delete(r),this.listeners[e].size===0&&delete this.listeners[e]),Ob
2751ject.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(e,r){await super._set(e,r),this.localCache[e]=JSON.stringify(r)}async _get(e){const r=await super._get(e);return this.localCache[e]=JSON.stringify(r),r}async _remove(e){await super._remove(e),delete this.localCache[e]}}TP.type="LOCAL";const q8=TP;/** 2752 * @license 2753 * Copyright 2020 Google LLC 2754 * 2755 * Licensed under the Apache License, Version 2.0 (the "License"); 2756 * you may not use this file except in compliance with the License. 2757 * You may obtain a copy of the License at 2758 * 2759 * http://www.apache.org/licenses/LICENSE-2.0 2760 * 2761 * Unless required by applicable law or agreed to in writing, software 2762 * distributed under the License is distributed on an "AS IS" BASIS, 2763 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2764 * See the License for the specific language governing permissions and 2765 * limitations under the License. 2766 */class AP extends bP{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(e,r){}_removeListener(e,r){}}AP.type="SESSION";const IP=AP;/** 2767 * @license 2768 * Copyright 2019 Google LLC 2769 * 2770 * Licensed under the Apache License, Version 2.0 (the "License"); 2771 * you may not use this file except in compliance with the License. 2772 * You may obtain a copy of the License at 2773 * 2774 * http://www.apache.org/licenses/LICENSE-2.0 2775 * 2776 * Unless required by applicable law or agreed to in writing, software 2777 * distributed under the License is distributed on an "AS IS" BASIS, 2778 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2779 * See the License for the specific language governing permissions and 2780 * limitations under the License. 2781 */function G8(n){return Promise.all(n.map(async e=>{try{return{fulfilled:!0,value:await e}}catch(r){return{fulfilled:!1,reason:r}}}))}/** 2782 * @license 2783 * Copyright 2019 Google LLC 2784 * 2785 * Licensed under the Apache License, Version 2.0 (the "License"); 2786 * you may not use this file except in compliance with the License. 2787 * You may obtain a copy of the License at 2788 * 2789 * http://www.apache.org/licenses/LICENSE-2.0 2790 * 2791 * Unless required by applicable law or agreed to in writing, software 2792 * distributed under the License is distributed on an "AS IS" BASIS, 2793 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2794 * See the License for the specific language governing permissions and 2795 * limitations under the License. 2796 */class Bf{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const r=this.receivers.find(i=>i.isListeningto(e));if(r)return r;const o=new Bf(e);return this.receivers.push(o),o}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const r=e,{eventId:o,eventType:i,data:s}=r.data,a=this.handlersMap[i];if(!a?.size)return;r.ports[0].postMessage({status:"ack",eventId:o,eventType:i});const l=Array.from(a).map(async u=>u(r.origin,s)),c=await G8(l);r.ports[0].postMessage({status:"done",eventId:o,eventType:i,response:c})}_subscribe(e,r){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(r)}_unsubscribe(e,r){this.handlersMap[e]&&r&&this.handlersMap[e].delete(r),(!r||this.handlersMap[e].size===0)&&delete this.handlersMap[e],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}Bf.receivers=[];/** 2797 * @license 2798 * Copyright 2020 Google LLC 2799 * 2800 * Licensed under the Apache License, Version 2.0 (the "License"); 2801 * you may not use this file except in compliance with the License. 2802 * You may obtain a copy of the License at 2803 * 2804 * http://www.apache.org/licenses/LICENSE-2.0 2805 * 2806 * Unless required by applicable law or agreed to in writing, software 2807 * distributed under the License is distributed on an "AS IS" BASIS, 2808 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2809 * See the License for the specific language governing permissions and 2810 * limitations under the License. 2811 */function t0(n="",e=10){let r="";for(let o=0;o<e;o++)r+=Math.floor(Math.random()*10);return n+r}/** 2812 * @license 2813 * Copyright 2019 Google LLC 2814 * 2815 * Licensed under the Apache License, Version 2.0 (the "License");
2816 * you may not use this file except in compliance with the License. 2817 * You may obtain a copy of the License at 2818 * 2819 * http://www.apache.org/licenses/LICENSE-2.0 2820 * 2821 * Unless required by applicable law or agreed to in writing, software 2822 * distributed under the License is distributed on an "AS IS" BASIS, 2823 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2824 * See the License for the specific language governing permissions and 2825 * limitations under the License. 2826 */class W8{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,r,o=50){const i=typeof MessageChannel<"u"?new MessageChannel:null;if(!i)throw new Error("connection_unavailable");let s,a;return new Promise((l,c)=>{const u=t0("",20);i.port1.start();const d=setTimeout(()=>{c(new Error("unsupported_event"))},o);a={messageChannel:i,onMessage(p){const h=p;if(h.data.eventId===u)switch(h.data.status){case"ack":clearTimeout(d),s=setTimeout(()=>{c(new Error("timeout"))},3e3);break;case"done":clearTimeout(s),l(h.data.response);break;default:clearTimeout(d),clearTimeout(s),c(new Error("invalid_response"));break}}},this.handlers.add(a),i.port1.addEventListener("message",a.onMessage),this.target.postMessage({eventType:e,eventId:u,data:r},[i.port2])}).finally(()=>{a&&this.removeMessageHandler(a)})}}/** 2827 * @license 2828 * Copyright 2020 Google LLC 2829 * 2830 * Licensed under the Apache License, Version 2.0 (the "License"); 2831 * you may not use this file except in compliance with the License. 2832 * You may obtain a copy of the License at 2833 * 2834 * http://www.apache.org/licenses/LICENSE-2.0 2835 * 2836 * Unless required by applicable law or agreed to in writing, software 2837 * distributed under the License is distributed on an "AS IS" BASIS, 2838 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2839 * See the License for the specific language governing permissions and 2840 * limitations under the License. 2841 */function Po(){return window}function K8(n){Po().location.href=n}/** 2842 * @license 2843 * Copyright 2020 Google LLC. 2844 * 2845 * Licensed under the Apache License, Version 2.0 (the "License"); 2846 * you may not use this file except in compliance with the License. 2847 * You may obtain a copy of the License at 2848 * 2849 * http://www.apache.org/licenses/LICENSE-2.0 2850 * 2851 * Unless required by applicable law or agreed to in writing, software 2852 * distributed under the License is distributed on an "AS IS" BASIS, 2853 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2854 * See the License for the specific language governing permissions and 2855 * limitations under the License. 2856 */function SP(){return typeof Po().WorkerGlobalScope<"u"&&typeof Po().importScripts=="function"}async function Y8(){if(!navigator?.serviceWorker)return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}function J8(){var n;return((n=navigator?.serviceWorker)===null||n===void 0?void 0:n.controller)||null}function Q8(){return SP()?self:null}/** 2857 * @license 2858 * Copyright 2019 Google LLC 2859 * 2860 * Licensed under the Apache License, Version 2.0 (the "License"); 2861 * you may not use this file except in compliance with the License. 2862 * You may obtain a copy of the License at 2863 * 2864 * http://www.apache.org/licenses/LICENSE-2.0 2865 * 2866 * Unless required by applicable law or agreed to in writing, software 2867 * distributed under the License is distributed on an "AS IS" BASIS, 2868 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2869 * See the License for the specific language governing permissions and 2870 * limitations under the License. 2871 */const PP="firebaseLocalStorageDb",X8=1,jd="firebaseLocalStorage",RP="fbase_key";class Nc{constructor(e){this.request=e}toPromise(){return new Promise((e,r)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{r(this.request.error)})})}}function jf(n,e){return n.transaction([jd],e?"readwrite":"readonly").objectStore(jd)}function Z8(){const n=indexedDB.deleteDatabase(PP);return new Nc(n).toPromise()}function Jm(){const n=indexedDB.open(PP,X8);return new Promise((e,r)=>{n.addEventListener("error",()=>{r(n.error)}),n.addEventListener("upgradeneeded",()=>{const o=n.result;try{o.createObjectStore(jd,{keyPath:RP})}catch(i){r(i)}}),n.addEventListener("success",async()=>{const o=n.result;o.objectStoreNames.contains(jd)?e(o):(o.close(),await Z8(),e(await Jm()))})})}async function vw(n,e,r){const o=jf(n,!0).put({[RP]:e,value:r});return new Nc(o).toPromise()}async function e7(n,e){const r=jf(n,!1).get(e),o=await new Nc(r).toProm
2871ise();return o===void 0?null:o.value}function Ew(n,e){const r=jf(n,!0).delete(e);return new Nc(r).toPromise()}const t7=800,n7=3;class CP{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db?this.db:(this.db=await Jm(),this.db)}async _withRetries(e){let r=0;for(;;)try{const o=await this._openDb();return await e(o)}catch(o){if(r++>n7)throw o;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return SP()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Bf._getInstance(Q8()),this.receiver._subscribe("keyChanged",async(e,r)=>({keyProcessed:(await this._poll()).includes(r.key)})),this.receiver._subscribe("ping",async(e,r)=>["keyChanged"])}async initializeSender(){var e,r;if(this.activeServiceWorker=await Y8(),!this.activeServiceWorker)return;this.sender=new W8(this.activeServiceWorker);const o=await this.sender._send("ping",{},800);o&&!((e=o[0])===null||e===void 0)&&e.fulfilled&&!((r=o[0])===null||r===void 0)&&r.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(!(!this.sender||!this.activeServiceWorker||J8()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await Jm();return await vw(e,Bd,"1"),await Ew(e,Bd),!0}catch{}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,r){return this._withPendingWrite(async()=>(await this._withRetries(o=>vw(o,e,r)),this.localCache[e]=r,this.notifyServiceWorker(e)))}async _get(e){const r=await this._withRetries(o=>e7(o,e));return this.localCache[e]=r,r}async _remove(e){return this._withPendingWrite(async()=>(await this._withRetries(r=>Ew(r,e)),delete this.localCache[e],this.notifyServiceWorker(e)))}async _poll(){const e=await this._withRetries(i=>{const s=jf(i,!1).getAll();return new Nc(s).toPromise()});if(!e)return[];if(this.pendingWrites!==0)return[];const r=[],o=new Set;if(e.length!==0)for(const{fbase_key:i,value:s}of e)o.add(i),JSON.stringify(this.localCache[i])!==JSON.stringify(s)&&(this.notifyListeners(i,s),r.push(i));for(const i of Object.keys(this.localCache))this.localCache[i]&&!o.has(i)&&(this.notifyListeners(i,null),r.push(i));return r}notifyListeners(e,r){this.localCache[e]=r;const o=this.listeners[e];if(o)for(const i of Array.from(o))i(r)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),t7)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,r){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(r)}_removeListener(e,r){this.listeners[e]&&(this.listeners[e].delete(r),this.listeners[e].size===0&&delete this.listeners[e]),Ob
2871ject.keys(this.listeners).length===0&&this.stopPolling()}}CP.type="LOCAL";const r7=CP;new Dc(3e4,6e4);/** 2872 * @license 2873 * Copyright 2021 Google LLC 2874 * 2875 * Licensed under the Apache License, Version 2.0 (the "License"); 2876 * you may not use this file except in compliance with the License. 2877 * You may obtain a copy of the License at 2878 * 2879 * http://www.apache.org/licenses/LICENSE-2.0 2880 * 2881 * Unless required by applicable law or agreed to in writing, software 2882 * distributed under the License is distributed on an "AS IS" BASIS, 2883 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2884 * See the License for the specific language governing permissions and 2885 * limitations under the License. 2886 */function OP(n,e){return e?Yo(e):(ke(n._popupRedirectResolver,n,"argument-error"),n._popupRedirectResolver)}/** 2887 * @license 2888 * Copyright 2019 Google LLC 2889 * 2890 * Licensed under the Apache License, Version 2.0 (the "License"); 2891 * you may not use this file except in compliance with the License. 2892 * You may obtain a copy of the License at 2893 * 2894 * http://www.apache.org/licenses/LICENSE-2.0 2895 * 2896 * Unless required by applicable law or agreed to in writing, software 2897 * distributed under the License is distributed on an "AS IS" BASIS, 2898 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2899 * See the License for the specific language governing permissions and 2900 * limitations under the License. 2901 */class n0 extends Wg{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return pa(e,this._buildIdpRequest())}_linkToIdToken(e,r){return pa(e,this._buildIdpRequest(r))}_getReauthenticationResolver(e){return pa(e,this._buildIdpRequest())}_buildIdpRequest(e){const r={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(r.idToken=e),r}}function o7(n){return wP(n.auth,new n0(n),n.bypassAuthState)}function i7(n){const{auth:e,user:r}=n;return ke(r,e,"internal-error"),EP(r,new n0(n),n.bypassAuthState)}async function s7(n){const{auth:e,user:r}=n;return ke(r,e,"internal-error"),O8(r,new n0(n),n.bypassAuthState)}/** 2902 * @license 2903 * Copyright 2020 Google LLC 2904 * 2905 * Licensed under the Apache License, Version 2.0 (the "License"); 2906 * you may not use this file except in compliance with the License. 2907 * You may obtain a copy of the License at 2908 * 2909 * http://www.apache.org/licenses/LICENSE-2.0 2910 * 2911 * Unless required by applicable law or agreed to in writing, software 2912 * distributed under the License is distributed on an "AS IS" BASIS, 2913 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2914 * See the License for the specific language governing permissions and 2915 * limitations under the License. 2916 */class kP{constructor(e,r,o,i,s=!1){this.auth=e,this.resolver=o,this.user=i,this.bypassAuthState=s,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(r)?r:[r]}execute(){return new Promise(async(e,r)=>{this.pendingPromise={resolve:e,reject:r};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(o){this.reject(o)}})}async onAuthEvent(e){const{urlResponse:r,sessionId:o,postBody:i,tenantId:s,error:a,type:l}=e;if(a){this.reject(a);return}const c={auth:this.auth,requestUri:r,sessionId:o,tenantId:s||void 0,postBody:i||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(l)(c))}catch(u){this.reject(u)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return o7;case"linkViaPopup":case"linkViaRedirect":return s7;case"reauthViaPopup":case"reauthViaRedirect":return i7;default:Dr(this.auth,"internal-error")}}resolve(e){li(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){li(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}/** 2917 * @license 2918 * Copyright 2020 Google LLC 2919 * 2920 * Licensed under the Apache License, Version 2.0 (the "License");
2921 * you may not use this file except in compliance with the License. 2922 * You may obtain a copy of the License at 2923 * 2924 * http://www.apache.org/licenses/LICENSE-2.0 2925 * 2926 * Unless required by applicable law or agreed to in writing, software 2927 * distributed under the License is distributed on an "AS IS" BASIS, 2928 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2929 * See the License for the specific language governing permissions and 2930 * limitations under the License. 2931 */const a7=new Dc(2e3,1e4);class Zs extends kP{constructor(e,r,o,i,s){super(e,r,i,s),this.provider=o,this.authWindow=null,this.pollId=null,Zs.currentPopupAction&&Zs.currentPopupAction.cancel(),Zs.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return ke(e,this.auth,"internal-error"),e}async onExecution(){li(this.filter.length===1,"Popup operations only handle one event");const e=t0();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch(r=>{this.reject(r)}),this.resolver._isIframeWebStorageSupported(this.auth,r=>{r||this.reject(Io(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){var e;return((e=this.authWindow)===null||e===void 0?void 0:e.associatedEvent)||null}cancel(){this.reject(Io(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,Zs.currentPopupAction=null}pollUserCancellation(){const e=()=>{var r,o;if(!((o=(r=this.authWindow)===null||r===void 0?void 0:r.window)===null||o===void 0)&&o.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(Io(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(e,a7.get())};e()}}Zs.currentPopupAction=null;/** 2932 * @license 2933 * Copyright 2020 Google LLC 2934 * 2935 * Licensed under the Apache License, Version 2.0 (the "License"); 2936 * you may not use this file except in compliance with the License. 2937 * You may obtain a copy of the License at 2938 * 2939 * http://www.apache.org/licenses/LICENSE-2.0 2940 * 2941 * Unless required by applicable law or agreed to in writing, software 2942 * distributed under the License is distributed on an "AS IS" BASIS, 2943 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2944 * See the License for the specific language governing permissions and 2945 * limitations under the License. 2946 */const l7="pendingRedirect",Xu=new Map;class c7 extends kP{constructor(e,r,o=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],r,void 0,o),this.eventId=null}async execute(){let e=Xu.get(this.auth._key());if(!e){try{const o=await u7(this.resolver,this.auth)?await super.execute():null;e=()=>Promise.resolve(o)}catch(r){e=()=>Promise.reject(r)}Xu.set(this.auth._key(),e)}return this.bypassAuthState||Xu.set(this.auth._key(),()=>Promise.resolve(null)),e()}async onAuthEvent(e){if(e.type==="signInViaRedirect")return super.onAuthEvent(e);if(e.type==="unknown"){this.resolve(null);return}if(e.eventId){const r=await this.auth._redirectUserForId(e.eventId);if(r)return this.user=r,super.onAuthEvent(e);this.resolve(null)}}async onExecution(){}cleanUp(){}}async function u7(n,e){const r=DP(e),o=LP(n);if(!await o._isAvailable())return!1;const i=await o._get(r)==="true";return await o._remove(r),i}async function d7(n,e){return LP(n)._set(DP(e),"true")}function f7(n,e){Xu.set(n._key(),e)}function LP(n){return Yo(n._redirectPersistence)}function DP(n){return Ju(l7,n.config.apiKey,n.name)}/** 2947 * @license 2948 * Copyright 2020 Google LLC 2949 * 2950 * Licensed under the Apache License, Version 2.0 (the "License"); 2951 * you may not use this file except in compliance with the License. 2952 * You may obtain a copy of the License at 2953 * 2954 * http://www.apache.org/licenses/LICENSE-2.0 2955 * 2956 * Unless required by applicable law or agreed to in writing, software 2957 * distributed under the License is distributed on an "AS IS" BASIS, 2958 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2959 * See the License for the specific language governing permissions and 2960 * limitations under the License. 2961 */function zQ(n,e,r){return p7(n,e,r)}async function p7(n,e,r){if(Zr(n.app))return Promise.reject(So(n));const o=lo(n);VM(n,e,Jg),await o._initializationPromise;const i=OP(o,r);return await d7(i,o),i._openRedirect(o,e,"signInViaRedirect")}async function h7(n,e){return await lo(n)._initializationPromise,xP(n,e,!1)}async function xP(n,e,r=!1){if(Zr(n.app))return Promise.reject(So(n));const o=lo(n),i=OP(o,e),a=await new c7(o,i,r).execute();return a&&!r&&(delete a.user._redirectEventId,await o._persistUserIfCurrent(a.user),await o._setRedirectUser(null,e)),a}/** 2962 * @license 2963 * Copyright 2020 Google LLC 2964 * 2965 * Licensed under the Apache License, Version 2.0 (the "License");
2966 * you may not use this file except in compliance with the License. 2967 * You may obtain a copy of the License at 2968 * 2969 * http://www.apache.org/licenses/LICENSE-2.0 2970 * 2971 * Unless required by applicable law or agreed to in writing, software 2972 * distributed under the License is distributed on an "AS IS" BASIS, 2973 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2974 * See the License for the specific language governing permissions and 2975 * limitations under the License. 2976 */const m7=600*1e3;class _7{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let r=!1;return this.consumers.forEach(o=>{this.isEventForConsumer(e,o)&&(r=!0,this.sendToConsumer(e,o),this.saveEventToCache(e))}),this.hasHandledPotentialRedirect||!g7(e)||(this.hasHandledPotentialRedirect=!0,r||(this.queuedRedirectEvent=e,r=!0)),r}sendToConsumer(e,r){var o;if(e.error&&!NP(e)){const i=((o=e.error.code)===null||o===void 0?void 0:o.split("auth/")[1])||"internal-error";r.onError(Io(this.auth,i))}else r.onAuthEvent(e)}isEventForConsumer(e,r){const o=r.eventId===null||!!e.eventId&&e.eventId===r.eventId;return r.filter.includes(e.type)&&o}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=m7&&this.cachedEventUids.clear(),this.cachedEventUids.has(ww(e))}saveEventToCache(e){this.cachedEventUids.add(ww(e)),this.lastProcessedEventTime=Date.now()}}function ww(n){return[n.type,n.eventId,n.sessionId,n.tenantId].filter(e=>e).join("-")}function NP({type:n,error:e}){return n==="unknown"&&e?.code==="auth/no-auth-event"}function g7(n){switch(n.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return NP(n);default:return!1}}/** 2977 * @license 2978 * Copyright 2020 Google LLC 2979 * 2980 * Licensed under the Apache License, Version 2.0 (the "License"); 2981 * you may not use this file except in compliance with the License. 2982 * You may obtain a copy of the License at 2983 * 2984 * http://www.apache.org/licenses/LICENSE-2.0 2985 * 2986 * Unless required by applicable law or agreed to in writing, software 2987 * distributed under the License is distributed on an "AS IS" BASIS, 2988 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2989 * See the License for the specific language governing permissions and 2990 * limitations under the License. 2991 */async function y7(n,e={}){return Nr(n,"GET","/v1/projects",e)}/** 2992 * @license 2993 * Copyright 2020 Google LLC 2994 * 2995 * Licensed under the Apache License, Version 2.0 (the "License"); 2996 * you may not use this file except in compliance with the License. 2997 * You may obtain a copy of the License at 2998 * 2999 * http://www.apache.org/licenses/LICENSE-2.0 3000 * 3001 * Unless required by applicable law or agreed to in writing, software 3002 * distributed under the License is distributed on an "AS IS" BASIS, 3003 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3004 * See the License for the specific language governing permissions and 3005 * limitations under the License. 3006 */const v7=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,E7=/^https?/;async function w7(n){if(n.config.emulator)return;const{authorizedDomains:e}=await y7(n);for(const r of e)try{if(b7(r))return}catch{}Dr(n,"unauthorized-domain")}function b7(n){const e=Vd(),{protocol:r,hostname:o}=new URL(e);if(n.startsWith("chrome-extension://")){const a=new URL(n);return a.hostname===""&&o===""?r==="chrome-extension:"&&n.replace("chrome-extension://","")===e.replace("chrome-extension://",""):r==="chrome-extension:"&&a.hostname===o}if(!E7.test(r))return!1;if(v7.test(n))return o===n;const i=n.replace(/\./g,"\\.");return new RegExp("^(.+\\."+i+"|"+i+")$","i").test(o)}/** 3007 * @license 3008 * Copyright 2020 Google LLC. 3009 * 3010 * Licensed under the Apache License, Version 2.0 (the "License");
3011 * you may not use this file except in compliance with the License. 3012 * You may obtain a copy of the License at 3013 * 3014 * http://www.apache.org/licenses/LICENSE-2.0 3015 * 3016 * Unless required by applicable law or agreed to in writing, software 3017 * distributed under the License is distributed on an "AS IS" BASIS, 3018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3019 * See the License for the specific language governing permissions and 3020 * limitations under the License. 3021 */const T7=new Dc(3e4,6e4);function bw(){const n=Po().___jsl;if(n?.H){for(const e of Object.keys(n.H))if(n.H[e].r=n.H[e].r||[],n.H[e].L=n.H[e].L||[],n.H[e].r=[...n.H[e].L],n.CP)for(let r=0;r<n.CP.length;r++)n.CP[r]=null}}function A7(n){return new Promise((e,r)=>{var o,i,s;function a(){bw(),gapi.load("gapi.iframes",{callback:()=>{e(gapi.iframes.getContext())},ontimeout:()=>{bw(),r(Io(n,"network-request-failed"))},timeout:T7.get()})}if(!((i=(o=Po().gapi)===null||o===void 0?void 0:o.iframes)===null||i===void 0)&&i.Iframe)e(gapi.iframes.getContext());else if(!((s=Po().gapi)===null||s===void 0)&&s.load)a();else{const l=c8("iframefcb");return Po()[l]=()=>{gapi.load?a():r(Io(n,"network-request-failed"))},_P(`${l8()}?onload=${l}`).catch(c=>r(c))}}).catch(e=>{throw Zu=null,e})}let Zu=null;function I7(n){return Zu=Zu||A7(n),Zu}/** 3022 * @license 3023 * Copyright 2020 Google LLC. 3024 * 3025 * Licensed under the Apache License, Version 2.0 (the "License"); 3026 * you may not use this file except in compliance with the License. 3027 * You may obtain a copy of the License at 3028 * 3029 * http://www.apache.org/licenses/LICENSE-2.0 3030 * 3031 * Unless required by applicable law or agreed to in writing, software 3032 * distributed under the License is distributed on an "AS IS" BASIS, 3033 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3034 * See the License for the specific language governing permissions and 3035 * limitations under the License. 3036 */const S7=new Dc(5e3,15e3),P7="__/auth/iframe",R7="emulator/auth/iframe",C7={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},O7=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function k7(n){const e=n.config;ke(e.authDomain,n,"auth-domain-config-required");const r=e.emulator?Hg(e,R7):`https://${n.config.authDomain}/${P7}`,o={apiKey:e.apiKey,appName:n.name,v:Fa},i=O7.get(n.config.apiHost);i&&(o.eid=i);const s=n._getFrameworks();return s.length&&(o.fw=s.join(",")),`${r}?${Tc(o).slice(1)}`}async function L7(n){const e=await I7(n),r=Po().gapi;return ke(r,n,"internal-error"),e.open({where:document.body,url:k7(n),messageHandlersFilter:r.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:C7,dontclear:!0},o=>new Promise(async(i,s)=>{await o.restyle({setHideOnLeave:!1});const a=Io(n,"network-request-failed"),l=Po().setTimeout(()=>{s(a)},S7.get());function c(){Po().clearTimeout(l),i(o)}o.ping(c).then(c,()=>{s(a)})}))}/** 3037 * @license 3038 * Copyright 2020 Google LLC. 3039 * 3040 * Licensed under the Apache License, Version 2.0 (the "License"); 3041 * you may not use this file except in compliance with the License. 3042 * You may obtain a copy of the License at 3043 * 3044 * http://www.apache.org/licenses/LICENSE-2.0 3045 * 3046 * Unless required by applicable law or agreed to in writing, software 3047 * distributed under the License is distributed on an "AS IS" BASIS, 3048 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3049 * See the License for the specific language governing permissions and 3050 * limitations under the License. 3051 */const D7={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},x7=500,N7=600,V7="_blank",M7="http://localhost";class Tw{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function F7(n,e,r,o=x7,i=N7){const s=Math.max((window.screen.availHeight-i)/2,0).toString(),a=Math.max((window.screen.availWidth-o)/2,0).toString();let l="";const c=Object.assign(Object.assign({},D7),{width:o.toString(),height:i.toString(),top:s,left:a}),u=dr().toLowerCase();r&&(l=cP(u)?V7:r),aP(u)&&(e=e||M7,c.scrollbars="yes");const d=Object.entries(c).reduce((h,[m,g])=>`${h}${m}=${g},`,"");if(ZM(u)&&l!=="_self")return U7(e||"",l),new Tw(null);const p=window.open(e||"",l,d);ke(p,n,"popup-blocked");try{p.focus()}catch{}return new Tw(p)}function U7(n,e){const r=document.createElement("a");r.href=n,r.target=e;const o=document.createEvent("MouseEvent");
3051o.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),r.dispatchEvent(o)}/** 3052 * @license 3053 * Copyright 2021 Google LLC 3054 * 3055 * Licensed under the Apache License, Version 2.0 (the "License"); 3056 * you may not use this file except in compliance with the License. 3057 * You may obtain a copy of the License at 3058 * 3059 * http://www.apache.org/licenses/LICENSE-2.0 3060 * 3061 * Unless required by applicable law or agreed to in writing, software 3062 * distributed under the License is distributed on an "AS IS" BASIS, 3063 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3064 * See the License for the specific language governing permissions and 3065 * limitations under the License. 3066 */const B7="__/auth/handler",j7="emulator/auth/handler",$7=encodeURIComponent("fac");async function Aw(n,e,r,o,i,s){ke(n.config.authDomain,n,"auth-domain-config-required"),ke(n.config.apiKey,n,"invalid-api-key");const a={apiKey:n.config.apiKey,appName:n.name,authType:r,redirectUrl:o,v:Fa,eventId:i};if(e instanceof Jg){e.setDefaultLanguage(n.languageCode),a.providerId=e.providerId||"",rN(e.getCustomParameters())||(a.customParameters=JSON.stringify(e.getCustomParameters()));for(const[d,p]of Object.entries({}))a[d]=p}if(e instanceof Ga){const d=e.getScopes().filter(p=>p!=="");d.length>0&&(a.scopes=d.join(","))}n.tenantId&&(a.tid=n.tenantId);const l=a;for(const d of Object.keys(l))l[d]===void 0&&delete l[d];const c=await n._getAppCheckToken(),u=c?`#${$7}=${encodeURIComponent(c)}`:"";return`${z7(n)}?${Tc(l).slice(1)}${u}`}function z7({config:n}){return n.emulator?Hg(n,j7):`https://${n.authDomain}/${B7}`}/** 3067 * @license 3068 * Copyright 2020 Google LLC 3069 * 3070 * Licensed under the Apache License, Version 2.0 (the "License"); 3071 * you may not use this file except in compliance with the License. 3072 * You may obtain a copy of the License at 3073 * 3074 * http://www.apache.org/licenses/LICENSE-2.0 3075 * 3076 * Unless required by applicable law or agreed to in writing, software 3077 * distributed under the License is distributed on an "AS IS" BASIS, 3078 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3079 * See the License for the specific language governing permissions and 3080 * limitations under the License. 3081 */const eh="webStorageSupport";class H7{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=IP,this._completeRedirectFn=xP,this._overrideRedirectResult=f7}async _openPopup(e,r,o,i){var s;li((s=this.eventManagers[e._key()])===null||s===void 0?void 0:s.manager,"_initialize() not called before _openPopup()");const a=await Aw(e,r,o,Vd(),i);return F7(e,a,t0())}async _openRedirect(e,r,o,i){await this._originValidation(e);const s=await Aw(e,r,o,Vd(),i);return K8(s),new Promise(()=>{})}_initialize(e){const r=e._key();if(this.eventManagers[r]){const{manager:i,promise:s}=this.eventManagers[r];return i?Promise.resolve(i):(li(s,"If manager is not set, promise should be"),s)}const o=this.initAndGetManager(e);return this.eventManagers[r]={promise:o},o.catch(()=>{delete this.eventManagers[r]}),o}async initAndGetManager(e){const r=await L7(e),o=new _7(e);return r.register("authEvent",i=>(ke(i?.authEvent,e,"invalid-auth-event"),{status:o.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:o},this.iframes[e._key()]=r,o}_isIframeWebStorageSupported(e,r){this.iframes[e._key()].send(eh,{type:eh},i=>{var s;const a=(s=i?.[0])===null||s===void 0?void 0:s[eh];a!==void 0&&r(!!a),Dr(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const r=e._key();return this.originValidationPromises[r]||(this.originValidationPromises[r]=w7(e)),this.originValidationPromises[r]}get _shouldInitProactively(){return hP()||lP()||Gg()}}const q7=H7;var Iw="@firebase/auth",Sw="1.7.9";/** 3082 * @license 3083 * Copyright 2020 Google LLC 3084 * 3085 * Licensed under the Apache License, Version 2.0 (the "License"); 3086 * you may not use this file except in compliance with the License. 3087 * You may obtain a copy of the License at 3088 * 3089 * http://www.apache.org/licenses/LICENSE-2.0 3090 * 3091 * Unless required by applicable law or agreed to in writing, softw
3091are 3092 * distributed under the License is distributed on an "AS IS" BASIS, 3093 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3094 * See the License for the specific language governing permissions and 3095 * limitations under the License. 3096 */class G7{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),((e=this.auth.currentUser)===null||e===void 0?void 0:e.uid)||null}async getToken(e){return this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser?{accessToken:await this.auth.currentUser.getIdToken(e)}:null}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const r=this.auth.onIdTokenChanged(o=>{e(o?.stsTokenManager.accessToken||null)});this.internalListeners.set(e,r),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const r=this.internalListeners.get(e);r&&(this.internalListeners.delete(e),r(),this.updateProactiveRefresh())}assertAuthConfigured(){ke(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}/** 3097 * @license 3098 * Copyright 2020 Google LLC 3099 * 3100 * Licensed under the Apache License, Version 2.0 (the "License"); 3101 * you may not use this file except in compliance with the License. 3102 * You may obtain a copy of the License at 3103 * 3104 * http://www.apache.org/licenses/LICENSE-2.0 3105 * 3106 * Unless required by applicable law or agreed to in writing, software 3107 * distributed under the License is distributed on an "AS IS" BASIS, 3108 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3109 * See the License for the specific language governing permissions and 3110 * limitations under the License. 3111 */function W7(n){switch(n){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function K7(n){Oo(new io("auth",(e,{options:r})=>{const o=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),s=e.getProvider("app-check-internal"),{apiKey:a,authDomain:l}=o.options;ke(a&&!a.includes(":"),"invalid-api-key",{appName:o.name});const c={apiKey:a,authDomain:l,clientPlatform:n,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:mP(n)},u=new i8(o,i,s,c);return h8(u,r),u},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,r,o)=>{e.getProvider("auth-internal").initialize()})),Oo(new io("auth-internal",e=>{const r=lo(e.getProvider("auth").getImmediate());return(o=>new G7(o))(r)},"PRIVATE").setInstantiationMode("EXPLICIT")),zr(Iw,Sw,W7(n)),zr(Iw,Sw,"esm2017")}/** 3112 * @license 3113 * Copyright 2021 Google LLC 3114 * 3115 * Licensed under the Apache License, Version 2.0 (the "License"); 3116 * you may not use this file except in compliance with the License. 3117 * You may obtain a copy of the License at 3118 * 3119 * http://www.apache.org/licenses/LICENSE-2.0 3120 * 3121 * Unless required by applicable law or agreed to in writing, software 3122 * distributed under the License is distributed on an "AS IS" BASIS, 3123 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3124 * See the License for the specific language governing permissions and 3125 * limitations under the License. 3126 */const Y7=300,J7=_I("authIdTokenMaxAge")||Y7;let Pw=null;const Q7=n=>async e=>{const r=e&&await e.getIdTokenResult(),o=r&&(new Date().getTime()-Date.parse(r.issuedAtTime))/1e3;if(o&&o>J7)return;const i=r?.token;Pw!==i&&(Pw=i,await fetch(n,{method:i?"POST":"DELETE",headers:i?{Authorization:`Bearer ${i}`}:{}}))};function Gi(n=hg()){const e=Ma(n,"auth");if(e.isInitialized())return e.getImmediate();const r=p8(n,{popupRedirectResolver:q7,persistence:[r7,q8,IP]}),o=_I("authTokenSyncURL");if(o&&typeof isSecureContext=="boolean"&&isSecureContext){const s=new URL(o,location.origin);if(location.origin===s.origin){const a=Q7(s.toString());B8(r,a,()=>a(r.currentUser)),U8(r,l=>a(l))}}const i=hI("auth");return i&&m8(r,`http://${i}`),r}function X7(){var n,e;return(e=(n=document.getElementsByTagName("head"))===null||n===void 0?void 0:n[0])!==null&&e!==void 0?e:document}s8({loadJS(n){return new Promise((e,r)=>{const o=document.createElement("script");o.setAttribute("src",n),o.onload=e,o.onerror=i=>{const s=Io("internal-error");s.customData=i,r(s)},o.type="text/javascript",o.charset="UTF-8",X7().appendChild(o)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});K7("Browser");const ac=me(null),Js=me(null),Z7=()=>"https://smartnoter.ai/api",Rw=n=>{const r=`; ${document.cookie}`.split(`; ${n}=`);return r.length===2?r.pop().split(";").shift():null},eF=async()=>{try{const n=await pt.get(`${Z7()}/csrf-token`,{headers:{"X-Platform":"web"},withCredentials:!0});if(n.data.success&&n.data.csrfToken)return ac.value=n.data.csrfToken,n.data.csrfToken;throw new Error("Failed to get CSRF token from API")}catch(n){console.error("Error fetching CSRF token:",n);const e=Rw("csrf-token")||Rw("__Host-psifi.x-csrf-token");if(e)return ac.value=e,e;throw n}},$f=async()=>
3126{if(ac.value)return ac.value;if(Js.value)return await Js.value;Js.value=eF();try{return await Js.value}finally{Js.value=null}},VP=()=>{ac.value=null,Js.value=null},tF="1.0.0",nF="com.codeway.meetingtranscriberweb",rF="https://smartnoter.ai",oF=["/","/transcribe/","/meeting-summarizer/","/ai-chat/","/integrations/","/youtube-video-summarizer/","/faq/","/video-to-text/","/audio-to-text/","/recording/","/pricing/"],th="Home",Qm="auth:suppressLoginNext",HQ=()=>window.location.origin,qQ="tmp",GQ=1e6,WQ={ios:"https://apps.apple.com/us/app/smart-noter-ai-note-taker/id6739575916",android:"https://play.google.com/store/apps/details?id=com.codespaceapps.meetingtranscriber"},KQ="https://www.producthunt.com/products/smart-noter?launch=smart-noter",YQ={DEFAULT:"default",NOTE_DETAIL:"noteDetail"},Cw={PRODUCTHUNT_REF:"producthunt_ref",PRODUCTHUNT_BANNER_DISMISSED:"producthunt_banner_dismissed"},iF={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"1.25 1.25 17.5 17.5"};function sF(n,e){return Y(),se("svg",iF,[...e[0]||(e[0]=[U("path",{fill:"inherit",d:"M17.5 10a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0"},null,-1),U("path",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.667 10.278 8.718 12.5l4.615-5M17.5 10a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0"},null,-1)])])}const Xm={render:sF},aF={xmlns:"http://www.w3.org/2000/svg",width:"7",height:"8",fill:"none"};function lF(n,e){return Y(),se("svg",aF,[...e[0]||(e[0]=[U("rect",{width:"7",height:"7",y:".5",fill:"inherit",rx:"3.5"},null,-1)])])}const De={render:lF},cF={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"};function uF(n,e){return Y(),se("svg",cF,[...e[0]||(e[0]=[U("path",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.35",d:"M9 16.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15"},null,-1),U("path",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.35",d:"M9 4.5V9l3 1.5"},null,-1)])])}const Ow={render:uF},dF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",fill:"none"};function fF(n,e){return Y(),se("svg",dF,[...e[0]||(e[0]=[U("path",{fill:"inherit",d:"M8 1.5a7 7 0 1 1 0 14 7 7 0 0 1 0-14"},null,-1),U("path",{stroke:"inherit","stroke-linecap":"round","stroke-width":".8",d:"m6 6.5 4 4M10 6.5l-4 4"},null,-1)])])}const Tu={render:fF},pF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none"};function hF(n,e){return Y(),se("svg",pF,[...e[0]||(e[0]=[U("path",{fill:"#FFB30E","fill-rule":"evenodd",d:"M8 .8a7.2 7.2 0 1 1 0 14.4A7.2 7.2 0 0 1 8 .8M4.42 12.569a5.806 5.806 0 0 0 8.15-8.15zM8 2.194a5.806 5.806 0 0 0-4.568 9.39l8.15-8.152a5.78 5.78 0 0 0-3.582-1.238","clip-rule":"evenodd"},null,-1)])])}const kw={render:hF},At=Object.freeze({TRANSCRIPTION_FAILED:"transcription_failed",TRANSCRIPTION_IN_PROGRESS:"transcription_in_progress",TRANSCRIPTION_LANGUAGE_NOT_SUPPORTED:"transcription_language_not_supported",TRANSCRIPTION_NO_SPEECH_DETECTED:"transcription_no_speech_detected",TRANSCRIPTION_NO_VIDEO_OR_AUDIO_URL:"no_video_or_audio_url",TRANSCRIPTION_READY:"transcription_ready"}),Zt=Object.freeze({TRANSCRIPTION_COMPLETED:"transcription_completed",TRANSCRIPTION_FAILED:"transcription_failed",TRANSCRIPTION_NO_SPEECH_DETECTED:"transcription_no_speech_detected",TRANSCRIPTION_FAILED_SHORT_INPUT:"transcription_failed_short_input",TRANSCRIPTION_IN_PROGRESS:"transcription_in_progress",TRANSCRIPTION_NOT_AVAILABLE:"transcription_not_available"}),Qr=Object.freeze({FAILED:"summarize_failed",COMPLETED:"summarize_completed",IN_PROGRESS:"summarize_in_progress",CONTENT_FLAGGED:"summarize_content_flagged"}),MP=["text","document"],mF=["file","recording","meeting"],_F=["video"],Lw=[At.TRANSCRIPTION_NO_VIDEO_OR_AUDIO_URL],FP=[At.TRANSCRIPTION_FAILED,At.TRANSCRIPTION_NO_SPEECH_DETECTED,At.TRANSCRIPTION_LANGUAGE_NOT_SUPPORTED,At.TRANSCRIPTION_NO_VIDEO_OR_AUDIO_URL],r0=[Zt.TRANSCRIPTION_FAILED,Zt.TRANSCRIPTION_NO_SPEECH_DETECTED],JQ=n=>FP.includes(n),QQ=n=>mF.includes(n),XQ=n=>_F.includes(n),ZQ=n=>MP.includes(n),uo=n=>n==="youtube"||MP.includes(n),eX=(n,e)=>n&&!n?.isFinal||e&&!e?.isFinal,gF=n=>{if(!n)return{transcriptionApplicable:!0,transcriptReady:!1,summaryReady:!1,summarizeInProgress:!1,summarizeFailed:!1,isShortInput:!1,contentReady:!1,isFullyReady:!1,transcriptionInProgress:!1,transcriptionFailed:!1,isNoSpeechDetected:!1,isNoRecording:!1,isContentFlagged:!1};const{summarizeStatus:e,transcriptionCode:r,transcriptionStatus:o}=n;if(o){const s=o!==Zt.TRANSCRIPTION_NOT_AVAILABLE,a=o===Zt.TRANSCRIPTION_FAILED_SHORT_INPUT,l=o===Zt.TRANSCRIPTION_COMPLETED||a,c=r0.includes(o),u=o===Zt.TRANSCRIPTION_IN_PROGRESS,d=e===Qr.COMPLETED&&!a,p=e===Qr.IN_PROGRESS,h=e===Qr.FAILED,m=e===Qr.CONTENT_FLAGGED;return{transcriptionApplicable:s,transcriptReady:l,summaryReady:d,summarizeInProgress:p,summarizeFailed:h,isContentFlagged:m,isShortInput:a,contentReady:!m&&(s?l:d),isFullyReady:!m&&(!s||l)&&d,transcriptionInProgress:u,transcriptionFailed:c,isNoSpeechDetected:o===Zt.TRANSCRIPTION_NO_SPEECH_DETECTED,isNoRecording:Lw.includes(r)}}const i=r===At.TRANSCRIPTION_READY;return{transcriptionApplicable:!0,transcriptReady:i,summaryReady:i,summarizeInProgress:!1,summarizeFailed:!1,isShortInput:!1,contentReady:i,isFullyReady:i,transcriptionInProgress:r===At.TRANSCRIPTION_IN_PROGRESS,transcriptionFailed:r===At.TRANSCRIPTION_FAILED,isNoSpeechDetected:r===At.TRANSCRIPTION_NO_SPEECH_DETECTED,isNoRecording:Lw.includes(r),isContentFlagged:!1}},yF=n=>{if(!n)return!1;const{transcriptionCode:e,transcriptionStatus:r}=n;return r?r0.includes(r):FP.includes(e)},tX=n=>{if(!n)return!1;const{isContentFlagged:e,isNoRecording:r,isShortInput:o,summarizeFailed:i}=gF(n);return yF(n)||r||i||o||e};function vF(){const{$i18n:n}=xe(),{t:e}
3126=n,r=z(()=>[{code:"joining_call",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.joiningMeeting"),explanation:e("noteStatus.explanations.joiningProcess"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"in_waiting_room",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForHost"),explanation:e("noteStatus.explanations.inWaitingRoom"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"participant_in_waiting_room",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForHost"),explanation:e("noteStatus.explanations.participantInWaitingRoom"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"in_call_not_recording",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.waitingForRecordPermission"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_allowed",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.recordingPermissionAllowed"),explanation:e("noteStatus.explanations.hasRecordingPermission"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_bot_in_waiting_room",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForHost"),explanation:e("noteStatus.explanations.inWaitingRoom"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_disabled",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.hostDisabledRecording"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_request_disabled",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.hostShouldGivePermission"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_request_disabled_by_host",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.hostDisabledRequestingPermission"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_host_not_present",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.hostNotPresent"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_request_denied_by_host",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.recordPermissionDenied"),explanation:e("noteStatus.explanations.hostDeniedRequest"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_denied",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.recordPermissionDenied"),explanation:e("noteStatus.explanations.requestDeniedByUser"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_local_recording_grant_not_supported",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.recordPermissionDenied"),explanation:e("noteStatus.explanations.recordingNotSupported"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"zoom_sdk_key_blocked_by_host_admin",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unex
3126pectedError"),explanation:e("noteStatus.explanations.unexpectedZoomError"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"recording_permission_denied",subcode:"*",isFinal:!1,label:e("noteStatus.labels.waitingOnAction"),sublabel:e("noteStatus.sublabels.waitingForRecordPermission"),explanation:e("noteStatus.explanations.recordingPermissionDenied"),canCancel:!0,icon:De,iconClass:"h-2 w-2 fill-[#FFA030] stroke-none"},{code:"fatal",subcode:"meeting_password_incorrect",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.incorrectPassword"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_locked",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.meetingLocked"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_full",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.meetingFull"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_ended",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.meetingAlreadyEnded"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"zoom_email_blocked_by_admin",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.zoomAccountBlocked"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"zoom_registration_required",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),connectToZoomFirst:!0,explanation:e("noteStatus.explanations.connectToZoomFirst"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"zoom_join_timeout",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.joinTimeout"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"microsoft_teams_sign_in_credentials_missing",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.teamsCredentialsMissing"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_not_found",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.meetingNotFound"),explanation:e("noteStatus.explanations.meetingNotFound"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_link_expired",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.meetingNotFound"),explanation:e("noteStatus.explanations.linkExpired"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_link_invalid",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.meetingNotFound"),explanation:e("noteStatus.explanations.linkInvalid"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"meeting_not_started",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.meetingNotStarted"),explanation:e("noteStatus.explanations.meetingNotStarted"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"microsoft_teams_call_dropped",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unexpectedError"),explanation:e("noteStatus.explanations.teamsCallDropped"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:["zoom_internal_error","zoom_sdk_credentials_missing","zoom_sdk_update_required","zoom_sdk_app_not_published","zoom_captcha_required","zoom_account_blocked","zoom_invalid_signature","zoom_email_required","zoom_web_disallowed","zoom_meeting_not_accessible","zoom_sdk_key_blocked_by_host_admin","meeting_requires_sign_in"],isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unex
3126pectedError"),explanation:e("noteStatus.explanations.unexpectedZoomError"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:["google_meet_internal_error","google_meet_sign_in_failed","google_meet_sign_in_captcha_failed","google_meet_bot_blocked","google_meet_sign_in_missing_login_credentials","google_meet_sign_in_missing_recovery_credentials","google_meet_sso_sign_in_failed","google_meet_sso_sign_in_missing_login_credentials","google_meet_sso_sign_in_missing_totp_secret","google_meet_video_error","google_meet_meeting_room_not_ready","google_meet_login_not_available"],isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unexpectedError"),explanation:e("noteStatus.explanations.unexpectedGoogleMeetError"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"bot_errored",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unexpectedError"),explanation:e("noteStatus.explanations.botErrored"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"fatal",subcode:"*",isFinal:!1,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.unexpectedError"),explanation:e("noteStatus.explanations.unexpectedError"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"in_call_recording",subcode:null,isFinal:!1,canCancel:!0,label:e("noteStatus.labels.recordings"),sublabel:e("noteStatus.sublabels.recording"),explanation:e("noteStatus.explanations.inCallRecording"),icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"call_ended",subcode:"bot_kicked_from_waiting_room",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.cantJoinMeeting"),explanation:e("noteStatus.explanations.removedFromWaitingRoom"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"call_ended_by_platform_waiting_room_timeout",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftWaitingRoom"),explanation:e("noteStatus.explanations.platformWaitingRoomTimeout"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"timeout_exceeded_waiting_room",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftWaitingRoom"),explanation:e("noteStatus.explanations.waitingRoomTimeout"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:["timeout_exceeded_noone_joined","timeout_exceeded_silence_detected","timeout_exceeded_only_bots_detected_using_participant_names","timeout_exceeded_only_bots_detected_using_participant_events","timeout_exceeded_only_bots_in_call"],isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftMeeting"),explanation:e("noteStatus.explanations.nooneJoined"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"timeout_exceeded_max_duration",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftMeeting"),explanation:e("noteStatus.explanations.maxDurationReached"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"timeout_exceeded_in_call_not_recording",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftMeeting"),explanation:e("noteStatus.explanations.noRecordingPermission"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"timeout_exceeded_in_call_recording",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.usageLimitExceeded"),explanation:e("noteStatus.explanations.maxRecordingTimeReached"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"bot_received_leave_call",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.leftMeeting"),explanation:e("noteStatus.explanations.leftByUserAction"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"bot_kicked_from_call",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.wasKicked"),explanation:e("noteStatus.explanations.removedByHost"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"call_ended",subcode:"call_ended_by_host",isFinal:!0,label:e("noteStatus.labels.meetingEnded"),sublabel:e("noteStatus.sublabels.meetingEnded"),explanation:e("noteStatus.explanations.endedByHost"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"call_ended",subcode:"call_ended_by_platform_idle",isFinal:!0,label:e("noteStatus.labels.meetingEnded"),sublabel:e("noteStatus.sublabels.meetingEnded"),explanation:e("noteStatus.explanations.endedByPlatformIdle"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"call_ended",subcode:"call_ended_by_platform_max_length",isFinal:!0,label:e("noteStatus.labels.meetingEnded"),sublabel:e("noteStatus.sublabels.meetingEnded"),explanation:e("noteStatus.explanations.endedByPlatformMaxLength"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"call_ended",subcode:"timeout_exceeded_everyone_left",isFinal:!0,label:e("noteStatus.labels.meetingEnded"),sublabel:e("noteStatus.sublabels.meetingEnded"),explanation:e("noteStatus.explanations.everyone
3126ElseLeft"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"call_ended",subcode:"*",isFinal:!0,label:e("noteStatus.labels.meetingEnded"),sublabel:e("noteStatus.sublabels.meetingEnded"),explanation:e("noteStatus.explanations.meetingEnded"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"done",subcode:null,isFinal:!0,label:e("noteStatus.labels.recordingCompleted"),sublabel:e("noteStatus.sublabels.recordingCompleted"),explanation:e("noteStatus.explanations.recordingCompleted"),success:!0,icon:De,iconClass:"h-2 w-2 fill-affirmative stroke-none"},{code:"smartnoter_usage_limit_exceeded",subcode:"concurrent_meetings_limit_exceeded",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.usageLimitExceeded"),explanation:e("noteStatus.explanations.concurrentMeetingLimitExceeded"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"smartnoter_usage_limit_exceeded",subcode:"transcription_minutes_limit_exceeded",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.usageLimitExceeded"),explanation:e("noteStatus.explanations.transcriptionMinutesLimitExceeded"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"},{code:"smartnoter_usage_limit_exceeded",subcode:"upload_count_limit_exceeded",isFinal:!0,label:e("noteStatus.labels.noRecording"),sublabel:e("noteStatus.sublabels.usageLimitExceeded"),explanation:e("noteStatus.explanations.uploadCountLimitExceeded"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"}]),o=z(()=>[{code:At.TRANSCRIPTION_IN_PROGRESS,isFinal:!1,label:e("noteStatus.labels.transcriptionInProgress"),sublabel:e("noteStatus.sublabels.transcriptionInProgress"),explanation:e("noteStatus.explanations.transcriptionInProgress"),summaryExplanation:e("noteStatus.explanations.summaryBeingPrepared"),icon:Ow,iconClass:"h-4 w-4 fill-none stroke-brand-primary",typeSpecific:{label:e("noteStatus.labels.summarizing"),sublabel:e("noteStatus.sublabels.noteInProgress"),explanation:e("noteStatus.explanations.summarizing")}},{code:At.TRANSCRIPTION_FAILED,isFinal:!0,label:e("noteStatus.labels.transcriptionFailed"),sublabel:e("noteStatus.sublabels.transcriptionFailed"),explanation:e("noteStatus.explanations.transcriptionFailed"),canRetryTranscription:!0,icon:Tu,iconClass:"h-4 w-4 fill-none stroke-alert",typeSpecific:{label:e("noteStatus.labels.noteFailed"),sublabel:e("noteStatus.sublabels.noteFailed"),explanation:e("noteStatus.explanations.noteFailed")}},{code:At.TRANSCRIPTION_NO_SPEECH_DETECTED,isFinal:!0,label:e("noteStatus.labels.noSpeechDetected"),sublabel:e("noteStatus.sublabels.noSpeechDetected"),explanation:e("noteStatus.explanations.noSpeechDetected"),canRetryTranscription:!0,icon:kw,iconClass:"h-4 w-4 fill-[#FFB30E] stroke-none"},{code:At.TRANSCRIPTION_LANGUAGE_NOT_SUPPORTED,isFinal:!0,label:e("noteStatus.labels.languageNotSupported"),sublabel:e("noteStatus.sublabels.languageNotSupported"),explanation:e("noteStatus.explanations.languageNotSupported"),icon:Tu},{code:At.TRANSCRIPTION_READY,isFinal:!0,label:e("noteStatus.labels.notesReady"),sublabel:e("noteStatus.sublabels.notesReady"),explanation:e("noteStatus.explanations.notesReady"),icon:Xm,iconClass:"h-4 w-4 !fill-none stroke-success"}]),i=z(()=>[{code:Qr.IN_PROGRESS,isFinal:!1,label:e("noteStatus.labels.summarizing"),sublabel:e("noteStatus.sublabels.noteInProgress"),explanation:e("noteStatus.explanations.summarizing"),summaryExplanation:e("noteStatus.explanations.summaryBeingPrepared"),icon:Ow,iconClass:"h-4 w-4 fill-none stroke-brand-primary"},{code:Qr.COMPLETED,isFinal:!0,label:e("noteStatus.labels.notesReady"),sublabel:e("noteStatus.sublabels.notesReady"),explanation:e("noteStatus.explanations.notesReady"),icon:Xm,iconClass:"h-4 w-4 !fill-none stroke-success"},{code:Qr.FAILED,isFinal:!0,label:e("noteStatus.labels.summaryFailed"),sublabel:e("noteStatus.sublabels.noteFailed"),explanation:e("noteStatus.explanations.summaryFailed"),icon:Tu,iconClass:"h-4 w-4 fill-none stroke-alert"},{code:Qr.CONTENT_FLAGGED,isFinal:!0,label:e("noteStatus.labels.contentFlagged"),sublabel:e("noteStatus.sublabels.contentFlagged"),explanation:e("noteStatus.explanations.contentFlagged"),icon:Tu,iconClass:"h-4 w-4 fill-none stroke-alert"}]),s=z(()=>({code:Zt.TRANSCRIPTION_FAILED_SHORT_INPUT,isFinal:!0,label:e("noteStatus.labels.summaryUnavailable"),sublabel:e("noteStatus.sublabels.summaryUnavailable"),explanation:e("noteStatus.explanations.summaryUnavailable"),icon:kw,iconClass:"h-4 w-4 fill-[#FFB30E] stroke-none"})),a=(g=null,v=null)=>v?g?r.value.find(w=>w.code===g&&(w.subcode?.includes(v)||w.subcode===v||w.subcode==="*")):r.value.find(w=>w.subcode?.includes(v)||w.subcode===v):r.value.find(w=>w.code===g&&w.subcode==="*")||r.value.find(w=>w.code===g),l=g=>i.value.find(v=>v.code===g)??null,c=(g,v=!1)=>{let w=o.value.find(b=>b.code===g);const I=[At.TRANSCRIPTION_IN_PROGRESS,At.TRANSCRIPTION_FAILED];return v&&I.includes(g)&&(w={...w,label:w.typeSpecific.label,sublabel:w.typeSpecific.sublabel,explanation:w.typeSpecific.explanation}),w},u=(g,v,w)=>v?v===Zt.TRANSCRIPTION_NOT_AVAILABLE?null:v===Zt.TRANSCRIPTION_IN_PROGRESS?c(At.TRANSCRIPTION_IN_PROGRESS,uo(w)):v===Zt.TRANSCRIPTION_COMPLETED||v===Zt.TRANSCRIPTION_FAILED_SHORT_INPUT?c(At.TRANSCRIPTION_READY,uo(w)):v===Zt.TRANSCRIPTION_NO_SPEECH_DETECTED?c(At.TRANSCRIPTION_NO_SPEECH_DETECTED,uo(w)):c(At.TRANSCRIPTION_FAILED,uo(w)):c(g,uo(w)),d=(g,v)=>v===Zt.TRANSCRIPTION_FAILED_SHORT_INPUT?s.value:l(g),p=(g,v,w=!0,I="file",b=null,E=null)=>{if(E===Qr.CONTENT_FLAGGED)return l(Qr.CONTENT_FLAGGED);if(b){if(r0.includes(b))return c(b,uo(I));if(b===Zt.TRANSCRIPTION_IN_PROGRESS)return c(At.TRANSCRIPTION_IN_PROGRESS,uo(I));if(b===Zt.TRANSCRIPTION_FAILED_SHORT_INPUT)return c(At.TRANSCRIPTION_READY,uo(I));if(b===Zt.TRANSCRIPTION_COMPLETED||b===Zt.TRANSCRIPTION_NOT_AVAILABLE){const S=l(E);return S||c(At.TRANSCRIPTION_READY,uo(I))}}
3126const P=a(g?.code,g?.subcode),D=c(v,uo(I)),V={...P,label:e("noteStatus.labels.noRecording"),icon:De,iconClass:"h-2 w-2 fill-alert stroke-none"};return D||(w?P:V)};return{getMeetingStatusDescriptor:a,getTranscriptionCodeDescriptor:c,getSummarizeDescriptor:l,getTranscriptDescriptor:u,getSummaryDescriptor:d,getOverallDescriptor:p,getNoteStatusDescriptor:g=>{const v=g?.data;return v?p(v.meeting,v.transcriptionCode,v.active,v.type,v.transcriptionStatus,v.summarizeStatus):null},isNoteStatusInProgress:g=>g?.code===At.TRANSCRIPTION_IN_PROGRESS||g?.code===Qr.IN_PROGRESS}}const ml={DOCUMENT:"document",FILE:"file",MEETING:"meeting",RECORDING:"recording",TEXT:"text",VIDEO:"video",YOUTUBE:"youtube"},_l={BEFORE_YOU_LEAVE:"before_you_leave",REASON:"reason",DEFLECTION:"deflection",DISCOUNT:"discount",CONFIRMATION:"confirmation"},EF=[_l.BEFORE_YOU_LEAVE,_l.REASON,_l.DEFLECTION,_l.DISCOUNT,_l.CONFIRMATION],wF=["transcript_accuracy","summary_quality","how_to_use","too_expensive","auto_renew_concern","not_using_enough","missing_feature","switched_tool","other"],Yr={SOLUTION:"solution",FEATURE:"feature",REMIND:"remind",DIRECT:"direct"},nX=[Yr.REMIND,Yr.FEATURE],rX={transcript_accuracy:Yr.SOLUTION,summary_quality:Yr.SOLUTION,how_to_use:Yr.SOLUTION,missing_feature:Yr.FEATURE,switched_tool:Yr.FEATURE,other:Yr.FEATURE,auto_renew_concern:Yr.REMIND,too_expensive:Yr.DIRECT,not_using_enough:Yr.DIRECT},oX="/note/example/",iX=5,sX=[ml.VIDEO,ml.FILE,ml.YOUTUBE,ml.TEXT,ml.DOCUMENT],aX=30,lX={"3_month":90,month:30,week:7,year:365},UP={discountId:null,steps:EF.map(n=>({id:n,enabled:!0})),reasonForm:{textboxRequired:!0,textboxMinChars:10,reasons:wF},reminderOffsetDays:3},Yn=Object.freeze({INTRO_OFFER:"IntroOffer",DEFAULT:"default",PRODUCT_HUNT:"ProductHunt",SECRET_OFFER_POPUP:"secret_offer_popup",SECRET_OFFER_BANNER:"secret_offer_banner"}),$d="__secret_offer",Gt=Object.freeze({RESTRICTED_SUMMARY:"RestrictedSummary",RESTRICTED_OUTLINE:"RestrictedOutline",RESTRICTED_TRANSCRIPT:"RestrictedTranscript",TRANSCRIPTION_LIMIT:"TranscriptionMinutesLimit",EXPORT_COUNT:"ExportCount",WELCOME:"WelcomePaywall",LAUNCH:"LaunchPaywall",AI_CHAT:"AIChat",SECRET_OFFER:"SecretOffer",GENERIC_UPGRADE:"GenericUpgrade"}),Dw=Object.freeze({RestrictedSummary:Gt.RESTRICTED_SUMMARY,RestrictedOutline:Gt.RESTRICTED_OUTLINE,RestrictedTranscript:Gt.RESTRICTED_TRANSCRIPT,TranscriptionMinutesLimit:Gt.TRANSCRIPTION_LIMIT,ExportCount:Gt.EXPORT_COUNT,DownloadRestriction:Gt.EXPORT_COUNT,AppLogin:Gt.WELCOME,[Yn.INTRO_OFFER]:Gt.LAUNCH,[Yn.SECRET_OFFER_POPUP]:Gt.SECRET_OFFER,[Yn.SECRET_OFFER_BANNER]:Gt.SECRET_OFFER,PlanUsage:Gt.GENERIC_UPGRADE,ProfilePopup:Gt.GENERIC_UPGRADE,ProfileSettings:Gt.GENERIC_UPGRADE,pricing_lp:Gt.GENERIC_UPGRADE,home_sidebar_upgrade_plan:Gt.GENERIC_UPGRADE}),bF=n=>{if(!n)return Gt.GENERIC_UPGRADE;if(Dw[n])return Dw[n];const e=String(n).toLowerCase();return e.includes("chat")?Gt.AI_CHAT:e.includes("applogin")||e.includes("welcome")?Gt.WELCOME:Gt.GENERIC_UPGRADE},TF={paywall_structure:{[Yn.PRODUCT_HUNT]:{layout:"l1",discount:"40%",selected_index:2,most_popular:1,save_badges:["","25%","71%"],free_product_text:"Try for Free",per_day_layout:"l0",products:["1month","3month","1year"],discounts:["discount60","discount71",""],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[`${Yn.DEFAULT}${$d}`]:{layout:"l1",discount:"25%",selected_index:2,most_popular:1,save_badges:["","25%","71%"],free_product_text:"Try for Free",per_day_layout:"l0",products:["1month","3month","1year"],discounts:["discount60","discount71",""],displayed_discount:"25",title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[Yn.DEFAULT]:{layout:"l1",discount:"25%",selected_index:2,most_popular:1,free_product_text:"Try for Free",per_day_layout:"l0",save_badges:["","25%","71%"],products:["1month","3month","1year"],discounts:["discount60","discount71",""],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[Yn.INTRO_OFFER]:{layout:"l1",discount:"25%",selected_index:2,most_popular:1,free_product_text:"Try for Free",per_day_layout:"l0",save_badges:["","25%","71%"],products:["1month","3month","1year"],discounts:["discount60_1week","discount60_1month","discount60_1year"],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1}},paywall_source:Yn.DEFAULT,iap_catalog:{paddle:{pro:{"1month":{t1:"pri_01jhqwnb67931wwtqfbmjbzw56",t2:"pri_01jhqwnb67931wwtqfbmjbzw56"},"3month":{t1:"pri_01jhqwktm94g9hmqmapj0z03fc",t2:"pri_01jhqwktm94g9hmqmapj0z03fc"},"1year":{t1:"pri_01jhqwmm90a2scahtymgtz43m7",t2:"pri_01jhqwmm90a2scahtymgtz43m7"}}}},pricing_tier:"t1",iad_catalog:{discount60:"dsc_01k2ctg5ymggrj0jr1d6jvk9xw",discount71:"dsc_01k2f4h59y55c7f68ve0y8w9yr"},google_one_tap:{enabledInAuthPages:!0,enabledInLandingPages:!0,enabledInOnboardingPages:!0,enabledInPublicSharedPages:!0,enabledInDocumentationPages:!0,enabledInFeaturePages:!0},onboarding:{skipConnectPagesInDefaultOnboarding:!0,skipConnectPagesInOnboardingPages:!0},widget_settings:{trimmed_minutes:3,full_transcript_on_free:!0,max_file_size_mb:500,max_duration_minutes:180,cta_behaviours:{file:{native_modal:!1,error:!0,redirect:!1},youtube:{error:!0,redirect:!1},recording:{start:!1,error:!0,redirect:!1}}},is_youtube_enabled:!0,subscription:{is_retain_enabled:!0},checkout_settings:{mobile:{title_variations:{default:"checkout_activate"},show_price:!1,one_page_checkout:!1,price_size:"lg",payment_summary:!0},desktop:{title_variations:{default:"checkout_activate"},show_price:!1,one_page_checkout:!1,price_size:"lg",payment_summary:!0}},product_hunt_settings:{ph_floating_banner:!1,ph_top_banner:!1,ph_paywall_banner:!1,ph_pricing_banner:!1},secret_offer:{is_active:!0,version:"v1",duration:10,secret_offer_banner:!0},trustpilot_review:{inapp_is_active:!1,loyal_users:!1,business_unit_id:"",template_id:"53ch7c1d9be8a02f64d31e79"},summary_templates_card_panel:{enabled:!0,templates:["team_sync","customer_success","deep_dive_research"]},cancellation_flow:UP,chat_stream_config:{tick_interval_in_ms:6,min_chars_per_tick:2,max_chars_per_tick:6}},AF={paywall_structure:{[Yn.PRODUCT_HUNT]:{layout:"l1",discount:"40%",selected_index:2,most_popular:1,save_badges:["","25%","71%"],per_day_layout:"l0",products:["1month","3month","1year"],discounts:["discount60","discount71",""],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[`${Yn.DEFAULT}${$d}`]:{layout:"l1",selected_index:2,most_popular:1,save_badges:["","25%","71%"],per_day_layout:"l0",products:["1month","3month","1year"],discounts:["discount60","discount71",""],displayed_discount:"25",title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[Yn.DEFAULT]:{layout:"l1",selected_index:2,most_popular:1,per_day_layout:"l0",save_badges:["","25%","71%"],products:["1month","3month","1year"],discounts:["","",""],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1},[Yn.INTRO_OFFER]:{layout:"l1",selected_index:2,most_popular:1,per_day_layout:"l0",save_badges:["","25%","71%"],products:["1month","3month","1year"],discounts:["discount60_1week","discount60_1month","discount60_1year"],title_variations:{meeting_summarizer:"meeting_summarizer_default",audiototext:"audiototext_default",videototext:"videototext_default",transcribe:"transcribe_default",recording:"recording_default",youtube:"youtube_default",default:"default"},show_non_discounted_per_day_price:!1,show_discount_amount:!1}},paywall_source:Yn.DEFAULT,pricing_tier:"t5",iap_catalog:{paddle:{pro:{"1month":{t5:"pri_01jhsykhw2t5tw5m0bdydfv0jb"},"3month":{t5:"pri_01jhsysawm66htx781mj1wa6e8"},"1year":{t5:"pri_01jhsyv1bg6ap61npwx31rad70"}}}},iad_catalog:null,google_one_tap:{enabledInAuthPages:!0,enabledInLandingPages:!0,enabledInOnboardingPages:!0,enabledInPublicSharedPages:!0,enabledInDocumentationPages:!0,enabledInFeaturePages:!0},onboarding:{skipConnectPagesInDefaultOnboarding:!0,skipConnectPagesInOnboardingPages:!0},widget_settings:{trimmed_minutes:3,full_transcript_on_free:!0,max_file_size_mb:500,max_duration_minutes:180,cta_behaviours:{file:{native_modal:!1,error:!0,redirect:!1},youtube:{error:!0,redirect:!1},recording:{start:!1,error:!0,redirect:!1}}},is_youtube_enabled:!0,subscription:{is_retain_enabled:!0},checkout_settings:{mobile:{title_variations:{default:"checkout_activate"},show_price:!1,one_page_checkout:!1,price_size:"lg",payment_summary:!0},desktop:{title_variations:{default:"checkout_activate"},show_price:!1,one_page_checkout:!1,price_size:"lg",payment_summary:!0}},product_hunt_settings:{ph_floating_banner:!1,ph_top_banner:!1,ph_paywall_banner:!1,ph_pricing_banner:!1},secret_offer:{is_active:!1,version:"v1",duration:10,secret_offer_banner:!0},trustpilot_review:{inapp_is_active:!1,loyal_users:!1,business_unit_id:"",template_id:"53ch7c1d9be8a02f64d31e79"},summary_templates_card_panel:{enabled:!0,templates:["team_sync","customer_success","deep_dive_research"]},cancellation_flow:UP,chat_stream_config:{tick_interval_in_ms:6,min_chars_per_tick:2,max_chars_per_tick:6}},Ur=Rc()?TF:AF,IF="producthunt",zd="product_hunt",BP={is_product_hunt_user:"true"},Zm=()=>{if(typeof window>"u")return!1;
3126try{if(new URLSearchParams(window.location.search).get("ref")===IF){try{localStorage.setItem(Cw.PRODUCTHUNT_REF,JSON.stringify(zd))}catch{}return!0}}catch{}try{return JSON.parse(localStorage.getItem(Cw.PRODUCTHUNT_REF))===zd}catch{return!1}},jP="@firebase/installations",o0="0.6.9";/** 3127 * @license 3128 * Copyright 2019 Google LLC 3129 * 3130 * Licensed under the Apache License, Version 2.0 (the "License"); 3131 * you may not use this file except in compliance with the License. 3132 * You may obtain a copy of the License at 3133 * 3134 * http://www.apache.org/licenses/LICENSE-2.0 3135 * 3136 * Unless required by applicable law or agreed to in writing, software 3137 * distributed under the License is distributed on an "AS IS" BASIS, 3138 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3139 * See the License for the specific language governing permissions and 3140 * limitations under the License. 3141 */const $P=1e4,zP=`w:${o0}`,HP="FIS_v2",SF="https://firebaseinstallations.googleapis.com/v1",PF=3600*1e3,RF="installations",CF="Installations";/** 3142 * @license 3143 * Copyright 2019 Google LLC 3144 * 3145 * Licensed under the Apache License, Version 2.0 (the "License"); 3146 * you may not use this file except in compliance with the License. 3147 * You may obtain a copy of the License at 3148 * 3149 * http://www.apache.org/licenses/LICENSE-2.0 3150 * 3151 * Unless required by applicable law or agreed to in writing, software 3152 * distributed under the License is distributed on an "AS IS" BASIS, 3153 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3154 * See the License for the specific language governing permissions and 3155 * limitations under the License. 3156 */const OF={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},Ps=new Ds(RF,CF,OF);function qP(n){return n instanceof xo&&n.code.includes("request-failed")}/** 3157 * @license 3158 * Copyright 2019 Google LLC 3159 * 3160 * Licensed under the Apache License, Version 2.0 (the "License"); 3161 * you may not use this file except in compliance with the License. 3162 * You may obtain a copy of the License at 3163 * 3164 * http://www.apache.org/licenses/LICENSE-2.0 3165 * 3166 * Unless required by applicable law or agreed to in writing, software 3167 * distributed under the License is distributed on an "AS IS" BASIS, 3168 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3169 * See the License for the specific language governing permissions and 3170 * limitations under the License. 3171 */function GP({projectId:n}){return`${SF}/projects/${n}/installations`}function WP(n){return{token:n.token,requestStatus:2,expiresIn:LF(n.expiresIn),creationTime:Date.now()}}async function KP(n,e){const o=(await e.json()).error;return Ps.create("request-failed",{requestName:n,serverCode:o.code,serverMessage:o.message,serverStatus:o.status})}function YP({apiKey:n}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":n})}function kF(n,{refreshToken:e}){const r=YP(n);return r.append("Authorization",DF(e)),r}async function JP(n){const e=await n();return e.status>=500&&e.status<600?n():e}function LF(n){return Number(n.replace("s","000"))}function DF(n){return`${HP} ${n}`}/** 3172 * @license 3173 * Copyright 2019 Google LLC 3174 * 3175 * Licensed under the Apache License, Version 2.0 (the "License"); 3176 * you may not use this file except in compliance with the License. 3177 * You may obtain a copy of the License at 3178 * 3179 * http://www.apache.org/licenses/LICENSE-2.0 3180 * 3181 * Unless required by applicable law or agreed to in writing, software 3182 * distributed under the License is distributed on an "AS IS" BASIS, 3183 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3184 * See the License for the specific language governing permissions and 3185 * limitations under the License. 3186 */async function xF({appConfig:n,heartbeatServiceProvider:e},{fid:r}){const o=GP(n),i=YP(n),s=e.getImmediate({optional:!0});if(s){const u=await s.getHeartbeatsHeader();u&&i.append("x-firebase-client",u)}const a={fid:r,authVersion:HP,appId:n.appId,sdkVersion:zP},l={method:"POST",headers:i,body:JSON.stringify(a)},c=await JP(()=>fetch(o,l));if(c.ok){const u=await c.json();return{fid:u.fid||r,registrationStatus:2,refreshToken:u.refreshToken,authToken:WP(u.authToken)}}else throw await KP("Create Installation",c)}/** 3187 * @license 3188 * Copyright 2019 Google LLC 3189 * 3190 * Licensed under the Apache License, Version 2.0 (the "License");
3191 * you may not use this file except in compliance with the License. 3192 * You may obtain a copy of the License at 3193 * 3194 * http://www.apache.org/licenses/LICENSE-2.0 3195 * 3196 * Unless required by applicable law or agreed to in writing, software 3197 * distributed under the License is distributed on an "AS IS" BASIS, 3198 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3199 * See the License for the specific language governing permissions and 3200 * limitations under the License. 3201 */function QP(n){return new Promise(e=>{setTimeout(e,n)})}/** 3202 * @license 3203 * Copyright 2019 Google LLC 3204 * 3205 * Licensed under the Apache License, Version 2.0 (the "License"); 3206 * you may not use this file except in compliance with the License. 3207 * You may obtain a copy of the License at 3208 * 3209 * http://www.apache.org/licenses/LICENSE-2.0 3210 * 3211 * Unless required by applicable law or agreed to in writing, software 3212 * distributed under the License is distributed on an "AS IS" BASIS, 3213 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3214 * See the License for the specific language governing permissions and 3215 * limitations under the License. 3216 */function NF(n){return btoa(String.fromCharCode(...n)).replace(/\+/g,"-").replace(/\//g,"_")}/** 3217 * @license 3218 * Copyright 2019 Google LLC 3219 * 3220 * Licensed under the Apache License, Version 2.0 (the "License"); 3221 * you may not use this file except in compliance with the License. 3222 * You may obtain a copy of the License at 3223 * 3224 * http://www.apache.org/licenses/LICENSE-2.0 3225 * 3226 * Unless required by applicable law or agreed to in writing, software 3227 * distributed under the License is distributed on an "AS IS" BASIS, 3228 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3229 * See the License for the specific language governing permissions and 3230 * limitations under the License. 3231 */const VF=/^[cdef][\w-]{21}$/,e_="";function MF(){try{const n=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(n),n[0]=112+n[0]%16;const r=FF(n);return VF.test(r)?r:e_}catch{return e_}}function FF(n){return NF(n).substr(0,22)}/** 3232 * @license 3233 * Copyright 2019 Google LLC 3234 * 3235 * Licensed under the Apache License, Version 2.0 (the "License"); 3236 * you may not use this file except in compliance with the License. 3237 * You may obtain a copy of the License at 3238 * 3239 * http://www.apache.org/licenses/LICENSE-2.0 3240 * 3241 * Unless required by applicable law or agreed to in writing, software 3242 * distributed under the License is distributed on an "AS IS" BASIS, 3243 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3244 * See the License for the specific language governing permissions and 3245 * limitations under the License. 3246 */function zf(n){return`${n.appName}!${n.appId}`}/** 3247 * @license 3248 * Copyright 2019 Google LLC 3249 * 3250 * Licensed under the Apache License, Version 2.0 (the "License"); 3251 * you may not use this file except in compliance with the License. 3252 * You may obtain a copy of the License at 3253 * 3254 * http://www.apache.org/licenses/LICENSE-2.0 3255 * 3256 * Unless required by applicable law or agreed to in writing, software 3257 * distributed under the License is distributed on an "AS IS" BASIS, 3258 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3259 * See the License for the specific language governing permissions and 3260 * limitations under the License. 3261 */const XP=new Map;function ZP(n,e){const r=zf(n);eR(r,e),UF(r,e)}function eR(n,e){const r=XP.get(n);if(r)for(const o of r)o(e)}function UF(n,e){const r=BF();r&&r.postMessage({key:n,fid:e}),jF()}let ds=null;function BF(){return!ds&&"BroadcastChannel"in self&&(ds=new BroadcastChannel("[Firebase] FID Change"),ds.onmessage=n=>{eR(n.data.key,n.data.fid)}),ds}function jF(){XP.size===0&&ds&&(ds.close(),ds=null)}/** 3262 * @license 3263 * Copyright 2019 Google LLC 3264 * 3265 * Licensed under the Apache License, Version 2.0 (the "License"); 3266 * you may not use this file except in compliance with the License. 3267 * You may obtain a copy of the License at 3268 * 3269 * http://www.apache.org/licenses/LICENSE-2.0 3270 * 3271 * Unless required by applicable law or agreed to in writing, software 3272 * distributed under the License is distributed on an "AS IS" BASIS, 3273 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3274 * See the License for the specific language governing permissions and 3275 * limitations under the License. 3276 */const $F="firebase-installations-database",zF=1,Rs="firebase-installations-store";let nh=null;function i0(){return nh||(nh=Tf($F,zF,{upgrade:(n,e)=>
3276{switch(e){case 0:n.createObjectStore(Rs)}}})),nh}async function Hd(n,e){const r=zf(n),i=(await i0()).transaction(Rs,"readwrite"),s=i.objectStore(Rs),a=await s.get(r);return await s.put(e,r),await i.done,(!a||a.fid!==e.fid)&&ZP(n,e.fid),e}async function tR(n){const e=zf(n),o=(await i0()).transaction(Rs,"readwrite");await o.objectStore(Rs).delete(e),await o.done}async function Hf(n,e){const r=zf(n),i=(await i0()).transaction(Rs,"readwrite"),s=i.objectStore(Rs),a=await s.get(r),l=e(a);return l===void 0?await s.delete(r):await s.put(l,r),await i.done,l&&(!a||a.fid!==l.fid)&&ZP(n,l.fid),l}/** 3277 * @license 3278 * Copyright 2019 Google LLC 3279 * 3280 * Licensed under the Apache License, Version 2.0 (the "License"); 3281 * you may not use this file except in compliance with the License. 3282 * You may obtain a copy of the License at 3283 * 3284 * http://www.apache.org/licenses/LICENSE-2.0 3285 * 3286 * Unless required by applicable law or agreed to in writing, software 3287 * distributed under the License is distributed on an "AS IS" BASIS, 3288 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3289 * See the License for the specific language governing permissions and 3290 * limitations under the License. 3291 */async function s0(n){let e;const r=await Hf(n.appConfig,o=>{const i=HF(o),s=qF(n,i);return e=s.registrationPromise,s.installationEntry});return r.fid===e_?{installationEntry:await e}:{installationEntry:r,registrationPromise:e}}function HF(n){const e=n||{fid:MF(),registrationStatus:0};return nR(e)}function qF(n,e){if(e.registrationStatus===0){if(!navigator.onLine){const i=Promise.reject(Ps.create("app-offline"));return{installationEntry:e,registrationPromise:i}}const r={fid:e.fid,registrationStatus:1,registrationTime:Date.now()},o=GF(n,r);return{installationEntry:r,registrationPromise:o}}else return e.registrationStatus===1?{installationEntry:e,registrationPromise:WF(n)}:{installationEntry:e}}async function GF(n,e){try{const r=await xF(n,e);return Hd(n.appConfig,r)}catch(r){throw qP(r)&&r.customData.serverCode===409?await tR(n.appConfig):await Hd(n.appConfig,{fid:e.fid,registrationStatus:0}),r}}async function WF(n){let e=await xw(n.appConfig);for(;e.registrationStatus===1;)await QP(100),e=await xw(n.appConfig);if(e.registrationStatus===0){const{installationEntry:r,registrationPromise:o}=await s0(n);return o||r}return e}function xw(n){return Hf(n,e=>{if(!e)throw Ps.create("installation-not-found");return nR(e)})}function nR(n){return KF(n)?{fid:n.fid,registrationStatus:0}:n}function KF(n){return n.registrationStatus===1&&n.registrationTime+$P<Date.now()}/** 3292 * @license 3293 * Copyright 2019 Google LLC 3294 * 3295 * Licensed under the Apache License, Version 2.0 (the "License"); 3296 * you may not use this file except in compliance with the License. 3297 * You may obtain a copy of the License at 3298 * 3299 * http://www.apache.org/licenses/LICENSE-2.0 3300 * 3301 * Unless required by applicable law or agreed to in writing, software 3302 * distributed under the License is distributed on an "AS IS" BASIS, 3303 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3304 * See the License for the specific language governing permissions and 3305 * limitations under the License. 3306 */async function YF({appConfig:n,heartbeatServiceProvider:e},r){const o=JF(n,r),i=kF(n,r),s=e.getImmediate({optional:!0});if(s){const u=await s.getHeartbeatsHeader();u&&i.append("x-firebase-client",u)}const a={installation:{sdkVersion:zP,appId:n.appId}},l={method:"POST",headers:i,body:JSON.stringify(a)},c=await JP(()=>fetch(o,l));if(c.ok){const u=await c.json();return WP(u)}else throw await KP("Generate Auth Token",c)}function JF(n,{fid:e}){return`${GP(n)}/${e}/authTokens:generate`}/** 3307 * @license 3308 * Copyright 2019 Google LLC 3309 * 3310 * Licensed under the Apache License, Version 2.0 (the "License"); 3311 * you may not use this file except in compliance with the License. 3312 * You may obtain a copy of the License at 3313 * 3314 * http://www.apache.org/licenses/LICENSE-2.0 3315 * 3316 * Unless required by applicable law or agreed to in writing, software 3317 * distributed under the License is distributed on an "AS IS" BASIS, 3318 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3319 * See the License for the specific language governing permissions and 3320 * limitations under the License. 3321 */async function a0(n,e=!1){let r;const o=await Hf(n.appConfig,s=>{if(!rR(s))throw Ps.create("not-registered");const a=s.authToken;if(!e&&ZF(a))return s;if(a.requestStatus===1)return r=QF(n,e),s;{if(!navigator.onLine)throw Ps.create("app-offline");const l=t9(s);return r=XF(n,l),l}});return r?await r:o.authToken}async function QF(n,e){let r=await Nw(n.appConfig);for(;r.authToken.requestStatus===1;)await QP(100),r=await Nw(n.appConfig);const o=r.authToken;return o.requestStatus===0?a0(n,e):o}function Nw(n){return Hf(n,e=>{if(!rR(e))throw Ps.create("not-registered");const r=e.authToken;return n9(r)?Object.assign(Object.assign({},e),{authToken:{requestStatus:0}}):e})}async function XF(n,e){try{const r=await YF(n,e),o=Object.assign(Object.assign({},e),{authToken:r});return await Hd(n.appConfig,o),r}catch(r){if(qP(r)&&(r.customData.serverCode===401||r.customData.serverCode===404))await tR(n.appConfig);else{const o=Object.assign(Object.assign({},e),{authToken:{requestStatus:0}});await Hd(n.appConfig,o)}throw r}}function rR(n){return n!==void 0&&n.registrationStatus===2}function ZF(n){return n.requestStatus===2&&!e9(n)}function e9(n){const e=Date.now();return e<n.creationTime||n.creationTime+n.expiresIn<e+PF}function t9(n){const e={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},n),{authToken:e})}function n9(n){return n.requestStatus===1&&n.requestTime+$P<Date.now()}/** 3322 * @license 3323 * Copyright 2019 Google LLC 3324 * 3325 * Licensed under the Apache License, Version 2.0 (the "License");
3326 * you may not use this file except in compliance with the License. 3327 * You may obtain a copy of the License at 3328 * 3329 * http://www.apache.org/licenses/LICENSE-2.0 3330 * 3331 * Unless required by applicable law or agreed to in writing, software 3332 * distributed under the License is distributed on an "AS IS" BASIS, 3333 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3334 * See the License for the specific language governing permissions and 3335 * limitations under the License. 3336 */async function r9(n){const e=n,{installationEntry:r,registrationPromise:o}=await s0(e);return o?o.catch(console.error):a0(e).catch(console.error),r.fid}/** 3337 * @license 3338 * Copyright 2019 Google LLC 3339 * 3340 * Licensed under the Apache License, Version 2.0 (the "License"); 3341 * you may not use this file except in compliance with the License. 3342 * You may obtain a copy of the License at 3343 * 3344 * http://www.apache.org/licenses/LICENSE-2.0 3345 * 3346 * Unless required by applicable law or agreed to in writing, software 3347 * distributed under the License is distributed on an "AS IS" BASIS, 3348 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3349 * See the License for the specific language governing permissions and 3350 * limitations under the License. 3351 */async function o9(n,e=!1){const r=n;return await i9(r),(await a0(r,e)).token}async function i9(n){const{registrationPromise:e}=await s0(n);e&&await e}/** 3352 * @license 3353 * Copyright 2019 Google LLC 3354 * 3355 * Licensed under the Apache License, Version 2.0 (the "License"); 3356 * you may not use this file except in compliance with the License. 3357 * You may obtain a copy of the License at 3358 * 3359 * http://www.apache.org/licenses/LICENSE-2.0 3360 * 3361 * Unless required by applicable law or agreed to in writing, software 3362 * distributed under the License is distributed on an "AS IS" BASIS, 3363 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3364 * See the License for the specific language governing permissions and 3365 * limitations under the License. 3366 */function s9(n){if(!n||!n.options)throw rh("App Configuration");if(!n.name)throw rh("App Name");const e=["projectId","apiKey","appId"];for(const r of e)if(!n.options[r])throw rh(r);return{appName:n.name,projectId:n.options.projectId,apiKey:n.options.apiKey,appId:n.options.appId}}function rh(n){return Ps.create("missing-app-config-values",{valueName:n})}/** 3367 * @license 3368 * Copyright 2020 Google LLC 3369 * 3370 * Licensed under the Apache License, Version 2.0 (the "License"); 3371 * you may not use this file except in compliance with the License. 3372 * You may obtain a copy of the License at 3373 * 3374 * http://www.apache.org/licenses/LICENSE-2.0 3375 * 3376 * Unless required by applicable law or agreed to in writing, software 3377 * distributed under the License is distributed on an "AS IS" BASIS, 3378 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3379 * See the License for the specific language governing permissions and 3380 * limitations under the License. 3381 */const oR="installations",a9="installations-internal",l9=n=>{const e=n.getProvider("app").getImmediate(),r=s9(e),o=Ma(e,"heartbeat");return{app:e,appConfig:r,heartbeatServiceProvider:o,_delete:()=>Promise.resolve()}},c9=n=>{const e=n.getProvider("app").getImmediate(),r=Ma(e,oR).getImmediate();return{getId:()=>r9(r),getToken:i=>o9(r,i)}};function u9(){Oo(new io(oR,l9,"PUBLIC")),Oo(new io(a9,c9,"PRIVATE"))}u9();zr(jP,o0);zr(jP,o0,"esm2017");/** 3382 * @license 3383 * Copyright 2019 Google LLC 3384 * 3385 * Licensed under the Apache License, Version 2.0 (the "License"); 3386 * you may not use this file except in compliance with the License. 3387 * You may obtain a copy of the License at 3388 * 3389 * http://www.apache.org/licenses/LICENSE-2.0 3390 * 3391 * Unless required by applicable law or agreed to in writing, software 3392 * distributed under the License is distributed on an "AS IS" BASIS, 3393 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3394 * See the License for the specific language governing permissions and 3395 * limitations under the License. 3396 */const d9="/firebase-messaging-sw.js",f9="/firebase-cloud-messaging-push-scope",iR="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",p9="https://fcmregistrations.googleapis.com/v1",sR="google.c.a.c_id",h9="google.c.a.c_l",m9="google.c.a.ts",_9="google.c.a.e";var Vw;(function(n){n[n.DATA_MESSAGE=1]="DATA_MESSAGE",n[n.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(Vw||(Vw={}));/** 3397 * @license 3398 * Copyright 2018 Google LLC 3399 * 3400 * Licensed under the Apache License, Version 2.0 (the "License");
3400 you may not use this file except 3401 * in compliance with the License. You may obtain a copy of the License at 3402 * 3403 * http://www.apache.org/licenses/LICENSE-2.0 3404 * 3405 * Unless required by applicable law or agreed to in writing, software distributed under the License 3406 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 3407 * or implied. See the License for the specific language governing permissions and limitations under 3408 * the License. 3409 */var lc;(function(n){n.PUSH_RECEIVED="push-received",n.NOTIFICATION_CLICKED="notification-clicked"})(lc||(lc={}));/** 3410 * @license 3411 * Copyright 2017 Google LLC 3412 * 3413 * Licensed under the Apache License, Version 2.0 (the "License"); 3414 * you may not use this file except in compliance with the License. 3415 * You may obtain a copy of the License at 3416 * 3417 * http://www.apache.org/licenses/LICENSE-2.0 3418 * 3419 * Unless required by applicable law or agreed to in writing, software 3420 * distributed under the License is distributed on an "AS IS" BASIS, 3421 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3422 * See the License for the specific language governing permissions and 3423 * limitations under the License. 3424 */function jo(n){const e=new Uint8Array(n);return btoa(String.fromCharCode(...e)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function g9(n){const e="=".repeat((4-n.length%4)%4),r=(n+e).replace(/\-/g,"+").replace(/_/g,"/"),o=atob(r),i=new Uint8Array(o.length);for(let s=0;s<o.length;++s)i[s]=o.charCodeAt(s);return i}/** 3425 * @license 3426 * Copyright 2019 Google LLC 3427 * 3428 * Licensed under the Apache License, Version 2.0 (the "License"); 3429 * you may not use this file except in compliance with the License. 3430 * You may obtain a copy of the License at 3431 * 3432 * http://www.apache.org/licenses/LICENSE-2.0 3433 * 3434 * Unless required by applicable law or agreed to in writing, software 3435 * distributed under the License is distributed on an "AS IS" BASIS, 3436 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3437 * See the License for the specific language governing permissions and 3438 * limitations under the License. 3439 */const oh="fcm_token_details_db",y9=5,Mw="fcm_token_object_Store";async function v9(n){if("databases"in indexedDB&&!(await indexedDB.databases()).map(s=>s.name).includes(oh))return null;let e=null;return(await Tf(oh,y9,{upgrade:async(o,i,s,a)=>{var l;if(i<2||!o.objectStoreNames.contains(Mw))return;const c=a.objectStore(Mw),u=await c.index("fcmSenderId").get(n);if(await c.clear(),!!u){if(i===2){const d=u;if(!d.auth||!d.p256dh||!d.endpoint)return;e={token:d.fcmToken,createTime:(l=d.createTime)!==null&&l!==void 0?l:Date.now(),subscriptionOptions:{auth:d.auth,p256dh:d.p256dh,endpoint:d.endpoint,swScope:d.swScope,vapidKey:typeof d.vapidKey=="string"?d.vapidKey:jo(d.vapidKey)}}}else if(i===3){const d=u;e={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:jo(d.auth),p256dh:jo(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:jo(d.vapidKey)}}}else if(i===4){const d=u;e={token:d.fcmToken,createTime:d.createTime,subscriptionOptions:{auth:jo(d.auth),p256dh:jo(d.p256dh),endpoint:d.endpoint,swScope:d.swScope,vapidKey:jo(d.vapidKey)}}}}}})).close(),await $p(oh),await $p("fcm_vapid_details_db"),await $p("undefined"),E9(e)?e:null}function E9(n){if(!n||!n.subscriptionOptions)return!1;const{subscriptionOptions:e}=n;return typeof n.createTime=="number"&&n.createTime>0&&typeof n.token=="string"&&n.token.length>0&&typeof e.auth=="string"&&e.auth.length>0&&typeof e.p256dh=="string"&&e.p256dh.length>0&&typeof e.endpoint=="string"&&e.endpoint.length>0&&typeof e.swScope=="string"&&e.swScope.length>0&&typeof e.vapidKey=="string"&&e.vapidKey.length>0}/** 3440 * @license 3441 * Copyright 2019 Google LLC 3442 * 3443 * Licensed under the Apache License, Version 2.0 (the "License"); 3444 * you may not use this file except in compliance with the License. 3445 * You may obtain a copy of the License at 3446 * 3447 * http://www.apache.org/licenses/LICENSE-2.0 3448 * 3449 * Unless required by applicable law or agreed to in writing, software 3450 * distributed under the License is distributed on an "AS IS" BASIS, 3451 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3452 * See the License for the specific language governing permissions and 3453 * limitations under the License. 3454 */const w9="firebase-messaging-database",b9=1,Cs="firebase-messaging-store";let ih=null;function l0(){return ih||(ih=Tf(w9,b9,{upgrade:(n,e)=>
3454{switch(e){case 0:n.createObjectStore(Cs)}}})),ih}async function aR(n){const e=u0(n),o=await(await l0()).transaction(Cs).objectStore(Cs).get(e);if(o)return o;{const i=await v9(n.appConfig.senderId);if(i)return await c0(n,i),i}}async function c0(n,e){const r=u0(n),i=(await l0()).transaction(Cs,"readwrite");return await i.objectStore(Cs).put(e,r),await i.done,e}async function T9(n){const e=u0(n),o=(await l0()).transaction(Cs,"readwrite");await o.objectStore(Cs).delete(e),await o.done}function u0({appConfig:n}){return n.appId}/** 3455 * @license 3456 * Copyright 2017 Google LLC 3457 * 3458 * Licensed under the Apache License, Version 2.0 (the "License"); 3459 * you may not use this file except in compliance with the License. 3460 * You may obtain a copy of the License at 3461 * 3462 * http://www.apache.org/licenses/LICENSE-2.0 3463 * 3464 * Unless required by applicable law or agreed to in writing, software 3465 * distributed under the License is distributed on an "AS IS" BASIS, 3466 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3467 * See the License for the specific language governing permissions and 3468 * limitations under the License. 3469 */const A9={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Xn=new Ds("messaging","Messaging",A9);/** 3470 * @license 3471 * Copyright 2019 Google LLC 3472 * 3473 * Licensed under the Apache License, Version 2.0 (the "License"); 3474 * you may not use this file except in compliance with the License. 3475 * You may obtain a copy of the License at 3476 * 3477 * http://www.apache.org/licenses/LICENSE-2.0 3478 * 3479 * Unless required by applicable law or agreed to in writing, software 3480 * distributed under the License is distributed on an "AS IS" BASIS, 3481 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3482 * See the License for the specific language governing permissions and 3483 * limitations under the License. 3484 */async function I9(n,e){const r=await f0(n),o=cR(e),i={method:"POST",headers:r,body:JSON.stringify(o)};let s;try{s=await(await fetch(d0(n.appConfig),i)).json()}catch(a){throw Xn.create("token-subscribe-failed",{errorInfo:a?.toString()})}if(s.error){const a=s.error.message;throw Xn.create("token-subscribe-failed",{errorInfo:a})}if(!s.token)throw Xn.create("token-subscribe-no-token");return s.token}async function S9(n,e){const r=await f0(n),o=cR(e.subscriptionOptions),i={method:"PATCH",headers:r,body:JSON.stringify(o)};let s;try{s=await(await fetch(`${d0(n.appConfig)}
3484/${e.token}`,i)).json()}catch(a){throw Xn.create("token-update-failed",{errorInfo:a?.toString()})}if(s.error){const a=s.error.message;throw Xn.create("token-update-failed",{errorInfo:a})}if(!s.token)throw Xn.create("token-update-no-token");return s.token}async function lR(n,e){const o={method:"DELETE",headers:await f0(n)};try{const s=await(await fetch(`${d0(n.appConfig)}/${e}`,o)).json();if(s.error){const a=s.error.message;throw Xn.create("token-unsubscribe-failed",{errorInfo:a})}}catch(i){throw Xn.create("token-unsubscribe-failed",{errorInfo:i?.toString()})}}function d0({projectId:n}){return`${p9}/projects/${n}/registrations`}async function f0({appConfig:n,installations:e}){const r=await e.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":n.apiKey,"x-goog-firebase-installations-auth":`FIS ${r}`})}function cR({p256dh:n,auth:e,endpoint:r,vapidKey:o}){const i={web:{endpoint:r,auth:e,p256dh:n}};return o!==iR&&(i.web.applicationPubKey=o),i}/** 3485 * @license 3486 * Copyright 2019 Google LLC 3487 * 3488 * Licensed under the Apache License, Version 2.0 (the "License"); 3489 * you may not use this file except in compliance with the License. 3490 * You may obtain a copy of the License at 3491 * 3492 * http://www.apache.org/licenses/LICENSE-2.0 3493 * 3494 * Unless required by applicable law or agreed to in writing, software 3495 * distributed under the License is distributed on an "AS IS" BASIS, 3496 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3497 * See the License for the specific language governing permissions and 3498 * limitations under the License. 3499 */const P9=10080*60*1e3;async function R9(n){const e=await k9(n.swRegistration,n.vapidKey),r={vapidKey:n.vapidKey,swScope:n.swRegistration.scope,endpoint:e.endpoint,auth:jo(e.getKey("auth")),p256dh:jo(e.getKey("p256dh"))},o=await aR(n.firebaseDependencies);if(o){if(L9(o.subscriptionOptions,r))return Date.now()>=o.createTime+P9?O9(n,{token:o.token,createTime:Date.now(),subscriptionOptions:r}):o.token;try{await lR(n.firebaseDependencies,o.token)}catch(i){console.warn(i)}return Fw(n.firebaseDependencies,r)}else return Fw(n.firebaseDependencies,r)}async function C9(n){const e=await aR(n.firebaseDependencies);e&&(await lR(n.firebaseDependencies,e.token),await T9(n.firebaseDependencies));const r=await n.swRegistration.pushManager.getSubscription();return r?r.unsubscribe():!0}async function O9(n,e){try{const r=await S9(n.firebaseDependencies,e),o=Object.assign(Object.assign({},e),{token:r,createTime:Date.now()});return await c0(n.firebaseDependencies,o),r}catch(r){throw r}}async function Fw(n,e){const o={token:await I9(n,e),createTime:Date.now(),subscriptionOptions:e};return await c0(n,o),o.token}async function k9(n,e){const r=await n.pushManager.getSubscription();return r||n.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:g9(e)})}function L9(n,e){const r=e.vapidKey===n.vapidKey,o=e.endpoint===n.endpoint,i=e.auth===n.auth,s=e.p256dh===n.p256dh;return r&&o&&i&&s}/** 3500 * @license 3501 * Copyright 2020 Google LLC 3502 * 3503 * Licensed under the Apache License, Version 2.0 (the "License"); 3504 * you may not use this file except in compliance with the License. 3505 * You may obtain a copy of the License at 3506 * 3507 * http://www.apache.org/licenses/LICENSE-2.0 3508 * 3509 * Unless required by applicable law or agreed to in writing, software 3510 * distributed under the License is distributed on an "AS IS" BASIS, 3511 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3512 * See the License for the specific language governing permissions and 3513 * limitations under the License. 3514 */function Uw(n){const e={from:n.from,collapseKey:n.collapse_key,messageId:n.fcmMessageId};return D9(e,n),x9(e,n),N9(e,n),e}function D9(n,e){if(!e.notification)return;n.notification={};const r=e.notification.title;r&&(n.notification.title=r);const o=e.notification.body;o&&(n.notification.body=o);const i=e.notification.image;i&&(n.notification.image=i);const s=e.notification.icon;s&&(n.notification.icon=s)}function x9(n,e){e.data&&(n.data=e.data)}function N9(n,e){var r,o,i,s,a;if(!e.fcmOptions&&!(!((r=e.notification)===null||r===void 0)&&r.click_action))return;n.fcmOptions={};const l=(i=(o=e.fcmOptions)===null||o===void 0?void 0:o.link)!==null&&i!==void 0?i:(s=e.notification)===null||s===void 0?void 0:s.click_action;l&&(n.fcmOptions.link=l);const c=(a=e.fcmOptions)===null||a===void 0?void 0:a.analytics_label;c&&(n.fcmOptions.analyticsLabel=c)}/** 3515 * @license 3516 * Copyright 2019 Google LLC 3517 * 3518 * Licensed under the Apache License, Version 2.0 (the "License");
3519 * you may not use this file except in compliance with the License. 3520 * You may obtain a copy of the License at 3521 * 3522 * http://www.apache.org/licenses/LICENSE-2.0 3523 * 3524 * Unless required by applicable law or agreed to in writing, software 3525 * distributed under the License is distributed on an "AS IS" BASIS, 3526 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3527 * See the License for the specific language governing permissions and 3528 * limitations under the License. 3529 */function V9(n){return typeof n=="object"&&!!n&&sR in n}/** 3530 * @license 3531 * Copyright 2019 Google LLC 3532 * 3533 * Licensed under the Apache License, Version 2.0 (the "License"); 3534 * you may not use this file except in compliance with the License. 3535 * You may obtain a copy of the License at 3536 * 3537 * http://www.apache.org/licenses/LICENSE-2.0 3538 * 3539 * Unless required by applicable law or agreed to in writing, software 3540 * distributed under the License is distributed on an "AS IS" BASIS, 3541 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3542 * See the License for the specific language governing permissions and 3543 * limitations under the License. 3544 */function M9(n){if(!n||!n.options)throw sh("App Configuration Object");if(!n.name)throw sh("App Name");const e=["projectId","apiKey","appId","messagingSenderId"],{options:r}=n;for(const o of e)if(!r[o])throw sh(o);return{appName:n.name,projectId:r.projectId,apiKey:r.apiKey,appId:r.appId,senderId:r.messagingSenderId}}function sh(n){return Xn.create("missing-app-config-values",{valueName:n})}/** 3545 * @license 3546 * Copyright 2020 Google LLC 3547 * 3548 * Licensed under the Apache License, Version 2.0 (the "License"); 3549 * you may not use this file except in compliance with the License. 3550 * You may obtain a copy of the License at 3551 * 3552 * http://www.apache.org/licenses/LICENSE-2.0 3553 * 3554 * Unless required by applicable law or agreed to in writing, software 3555 * distributed under the License is distributed on an "AS IS" BASIS, 3556 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3557 * See the License for the specific language governing permissions and 3558 * limitations under the License. 3559 */class F9{constructor(e,r,o){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const i=M9(e);this.firebaseDependencies={app:e,appConfig:i,installations:r,analyticsProvider:o}}_delete(){return Promise.resolve()}}/** 3560 * @license 3561 * Copyright 2020 Google LLC 3562 * 3563 * Licensed under the Apache License, Version 2.0 (the "License"); 3564 * you may not use this file except in compliance with the License. 3565 * You may obtain a copy of the License at 3566 * 3567 * http://www.apache.org/licenses/LICENSE-2.0 3568 * 3569 * Unless required by applicable law or agreed to in writing, software 3570 * distributed under the License is distributed on an "AS IS" BASIS, 3571 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3572 * See the License for the specific language governing permissions and 3573 * limitations under the License. 3574 */async function uR(n){try{n.swRegistration=await navigator.serviceWorker.register(d9,{scope:f9}),n.swRegistration.update().catch(()=>{})}catch(e){throw Xn.create("failed-service-worker-registration",{browserErrorMessage:e?.message})}}/** 3575 * @license 3576 * Copyright 2020 Google LLC 3577 * 3578 * Licensed under the Apache License, Version 2.0 (the "License"); 3579 * you may not use this file except in compliance with the License. 3580 * You may obtain a copy of the License at 3581 * 3582 * http://www.apache.org/licenses/LICENSE-2.0 3583 * 3584 * Unless required by applicable law or agreed to in writing, software 3585 * distributed under the License is distributed on an "AS IS" BASIS, 3586 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3587 * See the License for the specific language governing permissions and 3588 * limitations under the License. 3589 */async function U9(n,e){if(!e&&!n.swRegistration&&await uR(n),!(!e&&n.swRegistration)){if(!(e instanceof ServiceWorkerRegistration))throw Xn.create("invalid-sw-registration");n.swRegistration=e}}/** 3590 * @license 3591 * Copyright 2020 Google LLC 3592 * 3593 * Licensed under the Apache License, Version 2.0 (the "License");
3594 * you may not use this file except in compliance with the License. 3595 * You may obtain a copy of the License at 3596 * 3597 * http://www.apache.org/licenses/LICENSE-2.0 3598 * 3599 * Unless required by applicable law or agreed to in writing, software 3600 * distributed under the License is distributed on an "AS IS" BASIS, 3601 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3602 * See the License for the specific language governing permissions and 3603 * limitations under the License. 3604 */async function B9(n,e){e?n.vapidKey=e:n.vapidKey||(n.vapidKey=iR)}/** 3605 * @license 3606 * Copyright 2020 Google LLC 3607 * 3608 * Licensed under the Apache License, Version 2.0 (the "License"); 3609 * you may not use this file except in compliance with the License. 3610 * You may obtain a copy of the License at 3611 * 3612 * http://www.apache.org/licenses/LICENSE-2.0 3613 * 3614 * Unless required by applicable law or agreed to in writing, software 3615 * distributed under the License is distributed on an "AS IS" BASIS, 3616 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3617 * See the License for the specific language governing permissions and 3618 * limitations under the License. 3619 */async function dR(n,e){if(!navigator)throw Xn.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Xn.create("permission-blocked");return await B9(n,e?.vapidKey),await U9(n,e?.serviceWorkerRegistration),R9(n)}/** 3620 * @license 3621 * Copyright 2019 Google LLC 3622 * 3623 * Licensed under the Apache License, Version 2.0 (the "License"); 3624 * you may not use this file except in compliance with the License. 3625 * You may obtain a copy of the License at 3626 * 3627 * http://www.apache.org/licenses/LICENSE-2.0 3628 * 3629 * Unless required by applicable law or agreed to in writing, software 3630 * distributed under the License is distributed on an "AS IS" BASIS, 3631 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3632 * See the License for the specific language governing permissions and 3633 * limitations under the License. 3634 */async function j9(n,e,r){const o=$9(e);(await n.firebaseDependencies.analyticsProvider.get()).logEvent(o,{message_id:r[sR],message_name:r[h9],message_time:r[m9],message_device_time:Math.floor(Date.now()/1e3)})}function $9(n){switch(n){case lc.NOTIFICATION_CLICKED:return"notification_open";case lc.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/** 3635 * @license 3636 * Copyright 2017 Google LLC 3637 * 3638 * Licensed under the Apache License, Version 2.0 (the "License"); 3639 * you may not use this file except in compliance with the License. 3640 * You may obtain a copy of the License at 3641 * 3642 * http://www.apache.org/licenses/LICENSE-2.0 3643 * 3644 * Unless required by applicable law or agreed to in writing, software 3645 * distributed under the License is distributed on an "AS IS" BASIS, 3646 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3647 * See the License for the specific language governing permissions and 3648 * limitations under the License. 3649 */async function z9(n,e){const r=e.data;if(!r.isFirebaseMessaging)return;n.onMessageHandler&&r.messageType===lc.PUSH_RECEIVED&&(typeof n.onMessageHandler=="function"?n.onMessageHandler(Uw(r)):n.onMessageHandler.next(Uw(r)));const o=r.data;V9(o)&&o[_9]==="1"&&await j9(n,r.messageType,o)}const Bw="@firebase/messaging",jw="0.12.12";/** 3650 * @license 3651 * Copyright 2020 Google LLC 3652 * 3653 * Licensed under the Apache License, Version 2.0 (the "License"); 3654 * you may not use this file except in compliance with the License. 3655 * You may obtain a copy of the License at 3656 * 3657 * http://www.apache.org/licenses/LICENSE-2.0 3658 * 3659 * Unless required by applicable law or agreed to in writing, software 3660 * distributed under the License is distributed on an "AS IS" BASIS, 3661 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3662 * See the License for the specific language governing permissions and 3663 * limitations under the License. 3664 */const H9=n=>{const e=new F9(n.getProvider("app").getImmediate(),n.getProvider("installations-internal").getImmediate(),n.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",r=>z9(e,r)),e},q9=n=>{const e=n.getProvider("messaging").getImmediate();return{getToken:o=>dR(e,o)}};function G9(){Oo(new io("messaging",H9,"PUBLIC")),Oo(new io("messaging-internal",q9,"PRIVATE")),zr(Bw,jw),zr(Bw,jw,"esm2017")}/** 3665 * @license 3666 * Copyright 2020 Google LLC 3667 * 3668 * Licensed under the Apache License, Version 2.0 (the "License");
3669 * you may not use this file except in compliance with the License. 3670 * You may obtain a copy of the License at 3671 * 3672 * http://www.apache.org/licenses/LICENSE-2.0 3673 * 3674 * Unless required by applicable law or agreed to in writing, software 3675 * distributed under the License is distributed on an "AS IS" BASIS, 3676 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3677 * See the License for the specific language governing permissions and 3678 * limitations under the License. 3679 */async function p0(){try{await yI()}catch{return!1}return typeof window<"u"&&gI()&&Z5()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/** 3680 * @license 3681 * Copyright 2020 Google LLC 3682 * 3683 * Licensed under the Apache License, Version 2.0 (the "License"); 3684 * you may not use this file except in compliance with the License. 3685 * You may obtain a copy of the License at 3686 * 3687 * http://www.apache.org/licenses/LICENSE-2.0 3688 * 3689 * Unless required by applicable law or agreed to in writing, software 3690 * distributed under the License is distributed on an "AS IS" BASIS, 3691 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3692 * See the License for the specific language governing permissions and 3693 * limitations under the License. 3694 */async function W9(n){if(!navigator)throw Xn.create("only-available-in-window");return n.swRegistration||await uR(n),C9(n)}/** 3695 * @license 3696 * Copyright 2020 Google LLC 3697 * 3698 * Licensed under the Apache License, Version 2.0 (the "License"); 3699 * you may not use this file except in compliance with the License. 3700 * You may obtain a copy of the License at 3701 * 3702 * http://www.apache.org/licenses/LICENSE-2.0 3703 * 3704 * Unless required by applicable law or agreed to in writing, software 3705 * distributed under the License is distributed on an "AS IS" BASIS, 3706 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3707 * See the License for the specific language governing permissions and 3708 * limitations under the License. 3709 */function K9(n,e){if(!navigator)throw Xn.create("only-available-in-window");return n.onMessageHandler=e,()=>{n.onMessageHandler=null}}/** 3710 * @license 3711 * Copyright 2017 Google LLC 3712 * 3713 * Licensed under the Apache License, Version 2.0 (the "License"); 3714 * you may not use this file except in compliance with the License. 3715 * You may obtain a copy of the License at 3716 * 3717 * http://www.apache.org/licenses/LICENSE-2.0 3718 * 3719 * Unless required by applicable law or agreed to in writing, software 3720 * distributed under the License is distributed on an "AS IS" BASIS, 3721 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3722 * See the License for the specific language governing permissions and 3723 * limitations under the License. 3724 */function Y9(n=hg()){return p0().then(e=>{if(!e)throw Xn.create("unsupported-browser")},e=>{throw Xn.create("indexed-db-unsupported")}),Ma(St(n),"messaging").getImmediate()}async function fR(n,e){return n=St(n),dR(n,e)}function pR(n){return n=St(n),W9(n)}function J9(n,e){return n=St(n),K9(n,e)}G9();const Q9=Object.freeze(Object.defineProperty({__proto__:null,deleteToken:pR,getMessaging:Y9,getToken:fR,isSupported:p0,onMessage:J9},Symbol.toStringTag,{value:"Module"})),hR=()=>{const n=st(),e=async()=>{if(typeof window>"u"||!("Notification"in window)||!("serviceWorker"in navigator))return!1;try{return await p0()}catch{return!1}},r=()=>{const{$firebase:l}=xe();return l?.messaging||null},o=async({register:l=!1}={})=>{if(!await e())return null;const c=r();if(!c)return null;try{let u;if(l?(await navigator.serviceWorker.register("/firebase-messaging-sw.js"),u=await navigator.serviceWorker.ready):u=await navigator.serviceWorker.getRegistration("/firebase-messaging-sw.js"),!u)return null;const d=Do().public.firebaseVapidKey;return await fR(c,{vapidKey:d,serviceWorkerRegistration:u})}catch(u){return console.warn("[WebNotifications] failed to read FCM token",u),null}},i=async()=>{if(typeof window>"u"||!("Notification"in window)||Notification.permission!=="granted")return;const l=await o({register:!0});if(!(!l||(n.userData?.webFcmTokens??[]).includes(l)))try{const{data:u}=await $e({method:"POST",path:"/device/register-fcm-token",data:{fcmToken:l}});u?.webFcmTokens&&n.editUserData({webFcmTokens:u.webFcmTokens})}catch(u){console.warn("[WebNotifications] sync: failed to register token",u)}};return{ensureRegisteredIfGranted:i,unregisterCurrentToken:async()=>{const l=await o();if(l){try{await $e({method:"POST",path:"/device/unregister-fcm-token",data:{fcmToken:l}})}catch(c){console.warn("[WebNotifications] unregister: backend removal failed",c)}try{const c=r();c&&await pR(c)}catch(c){console.warn("[WebNotifications] unregister: local token delete failed",c)}}},requestPermissionAndRegister:async()=>
3724{if(!(typeof window>"u"||!("Notification"in window))&&Notification.permission==="default"){try{await Notification.requestPermission()}catch{return}await i()}}}},h0="email_consent",cX=n=>{localStorage.setItem(h0,n.toString())},X9=()=>{const n=localStorage.getItem(h0);return n?n==="true":null},Z9=()=>{localStorage.removeItem(h0)},uX=async n=>{const{t:e}=xr(),r={"auth/email-already-in-use":e("common.error.emailAlreadyInUse"),"auth/invalid-credential":e("common.error.invalidCredential"),"auth/invalid-email":e("common.error.invalidEmail"),"auth/invalid-new-email":e("common.error.invalidNewEmail"),"auth/network-error":e("common.error.networkError"),"auth/user-cancelled":e("common.error.userCancelled"),"auth/weak-password":e("common.error.weakPassword")},o=n?n.code:void 0;if(o==="auth/account-exists-with-different-credential"){Be({eventName:"same_mail_signup_try"});const s=(await N8(Gi(),n.customData.email))[0],a={"apple.com":e("common.error.apple"),"facebook.com":e("common.error.facebook"),"google.com":e("common.error.google"),password:e("common.error.password")};return e("common.error.loggedInBefore",{provider:a[s]?a[s]:e("common.error.differentMethod")})}else if(o==="auth/user-not-found")return e("common.error.userNotFound");return r[o]||e("common.error.pleaseTryAgain")},dX=async()=>{Be({eventName:"signed_out"}),mR()},fX=n=>n?.providerData?.some(e=>e?.providerId==="password"),pX=n=>{const e=n?.providerData?.some(o=>o?.providerId==="apple.com"),r=n?.email?.includes("privaterelay");return e&&r},mR=async()=>{try{try{const{unregisterCurrentToken:e}=hR();await e()}catch(e){console.warn("Failed to unregister web notification token:",e)}Z9(),sessionStorage.removeItem("showedAppLoginPaywall"),VP();const n=Gi();await $8(n)}catch(n){console.error("Logout error:",n)}},_R=async({transactionId:n=null}={})=>{try{const e=await $e({method:"GET",path:"/payment/subscriptions",params:{cid:zi(),transactionId:n}});return e.status===200&&e&&e.data&&e.data.isActive?e.data:null}catch(e){return console.error("An unexpected error occured while verifying subscription:",e),null}},eU=async n=>{const e=new TextEncoder().encode(n),r=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(r)).map(s=>s.toString(16).padStart(2,"0")).join("")},qd=n=>{if(typeof window>"u")return;const{locale:e}=xr();tn&&console.log("pushing to dataLayer",n),n&&n.eventModel&&!n.eventModel.display_language&&(n.eventModel.display_language=e);try{window.dataLayer=window.dataLayer||[],window.dataLayer.push(n)}catch(r){console.warn("[GTM] Error pushing to dataLayer:",JSON.stringify(r))}},Br={LANDING_PAGE:"landing_page",DEFAULT_LP:"default_lp",AI_CHAT_LP:"ai_chat_lp",HEADER:"Header",MEETING_SUMMARIZER_LP:"meeting_summarizer_lp",TRANSCRIBE_LP:"transcribe_lp",INTEGRATIONS_LP:"integrations_lp",ONBOARDING_01:"onboarding_01",ONBOARDING_02:"onboarding_02",ONBOARDING_03:"onboarding_03",ONBOARDING_04:"onboarding_04",ONBOARDING_WIDGET:"onboarding_widget",VIDEO_TO_TEXT_LP:"videototext_lp",AUDIO_TO_TEXT_LP:"audiototext_lp",YOUTUBE_LP:"youtube_lp",RECORDING_LP:"recording_lp",SKIP_ONBOARDING:"skip_onboarding",WIDGET:"widget_lp",PRODUCT_HUNT:"product_hunt"},tU=async n=>{const e=st(),r=`${n}_completed`;sessionStorage.setItem("showedAppLoginPaywall",JSON.stringify({showed:!0})),e.userData?.onboarding?.[r]||await e.updateAndPushUserData({onboarding:{...e.userData.onboarding||{},[r]:!0}})},gR=async()=>{const n=st();sessionStorage.setItem("showedAppLoginPaywall",JSON.stringify({showed:!0})),n.userData?.onboarding?.seenPaywall||await n.updateAndPushUserData({onboarding:{...n.userData.onboarding||{},seenPaywall:!0}})},hX=async()=>{const n=st();n.userData?.onboarding?.zoomConnected||n.updateAndPushUserData({onboarding:{...n.userData.onboarding,zoomConnected:!0}})},nU=async({exampleNoteViewed:n=!1,firstNoteCreated:e=!1,firstNoteViewed:r=!1}={})=>{const o=st(),i=o.userData?.onboarding||{},s=i?.firstNoteCreated,a=i?.firstNoteViewed,l=i?.exampleNoteViewed,c={...i,firstNoteCreated:s||e,firstNoteViewed:a||r,exampleNoteViewed:l||n};oU(o.userData.onboarding,c)&&(rU(c)&&iU(),e&&!s&&Be({eventName:"dashboard_product_tour_first_note_created",eventGroup:"tutorial"}),r&&!a&&Be({eventName:"dashboard_product_tour_first_note_viewed",eventGroup:"tutorial"}),n&&!l&&Be({eventName:"dashboard_product_tour_example_note_viewed",eventGroup:"tutorial"}),await o.updateAndPushUserData({onboarding:c}))},mX=async({calendarConnectBannerClosed:n=!1,calendarConnectCardClosed:e=!1,homePageProductTourEnd:r=!1,notePageProductTourEnd:o=!1,productHuntBannerClosed:i=!1,summaryTemplatesCardPanelDism
3724issed:s=!1,summaryTemplatesTutorialEnd:a=!1,uploadModelButtonProductTourEnd:l=!1})=>{const c=st(),d={...c.userData?.onboarding||{}};n&&(d.calendarConnectBannerClosed=new Date().getTime()),e&&(d.calendarConnectCardClosed=new Date().getTime()),r&&(d.homePageProductTourEnd=new Date().getTime()),o&&(d.notePageProductTourEnd=new Date().getTime()),l&&(d.uploadModelButtonProductTourEnd=new Date().getTime()),i&&(d.productHuntBannerClosed=new Date().getTime()),a&&(d.summaryTemplatesTutorialEnd=new Date().getTime()),s&&(d.summaryTemplatesCardPanelDismissed=new Date().getTime()),await c.updateAndPushUserData({onboarding:d})},rU=n=>!!(n?.calendarConnected&&n?.conversationRecorded)||!!(n?.firstNoteCreated&&n?.firstNoteViewed&&n?.exampleNoteViewed),oU=(n,e)=>!n?.firstNoteCreated&&!!e.firstNoteCreated||!n?.firstNoteViewed&&!!e.firstNoteViewed||!n?.exampleNoteViewed&&!!e.exampleNoteViewed,iU=async()=>{Be({eventName:"dashboard_product_tour_completed",eventGroup:"tutorial"})},sU=()=>{const e=st().userData?.onboarding||{};return Object.keys(e).some(r=>r.endsWith("_completed")&&e[r])},aU=()=>{const e=st().userData?.onboarding||{};return Object.keys(e).some(r=>r.endsWith("_completed")&&e[r]&&[`${Br.ONBOARDING_01}_completed`,`${Br.ONBOARDING_02}_completed`,`${Br.ONBOARDING_03}_completed`,`${Br.ONBOARDING_04}_completed`,`${Br.ONBOARDING_WIDGET}_completed`].includes(r))},_X=()=>!!(st().userData?.onboarding?.seenPaywall||aU()),lU="organic",ed={FIRST_TOUCH:"first_touch",SIGNUP_FALLBACK:"signup_fallback",BACKFILL:"backfill"},yR="onboarding_type_first_touch",cU=64,m0=()=>{try{const n=localStorage.getItem(yR);if(!n)return null;const e=JSON.parse(n);return typeof e?.value=="string"&&e.value?e:null}catch{return null}},vR=n=>{try{localStorage.setItem(yR,JSON.stringify(n))}catch{}},uU=n=>{if(typeof n!="string")return;const e=n.trim();!e||e.length>cU||m0()||vR({value:e,stampedAt:new Date().toISOString(),method:ed.FIRST_TOUCH})},dU=n=>{typeof n?.value!="string"||!n.value||vR(n)},fU=n=>{const e=n?.onboardingType;return typeof e?.value=="string"&&e.value?e:m0()},ER=n=>({onboarding_type:n.value,onboarding_type_stamped_at:n.stampedAt,onboarding_type_method:n.method}),$w=[Br.ONBOARDING_01,Br.ONBOARDING_02,Br.ONBOARDING_03,Br.ONBOARDING_04,Br.ONBOARDING_WIDGET],pU=[...$w,...Object.values(Br).filter(n=>!$w.includes(n))],hU=n=>!n||typeof n!="object"?null:pU.find(e=>n[`${e}_completed`])??null,mU=()=>{const n=typeof window<"u",e=me(n?window.innerWidth:1024),r=me(n?window.innerHeight:768),o=()=>{n&&(e.value=window.innerWidth,r.value=window.innerHeight)};return br(()=>{n&&(o(),window.addEventListener("resize",o))}),qi(()=>{n&&window.removeEventListener("resize",o)}),{width:e,height:r}},qf={CANCELLATION_FLOW:"cancellation_flow",CROSS_PLATFORM_SETTINGS:"cross_platform_settings",GOOGLE_ONE_TAP:"google_one_tap",WIDGET_SETTINGS:"widget_settings",ONBOARDING:"onboarding",PRODUCT_HUNT_SETTINGS:"product_hunt_settings",SECRET_OFFER:"secret_offer",TRUSTPILOT_REVIEW:"trustpilot_review"},Wa=["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"],Os=(n,e)=>Wa.includes(e)?n:n/100,zw=new Set;function _U(n){const{key:e,onNavigate:r}=n;return typeof window<"u"&&!zw.has(e)&&(window.addEventListener("popstate",r),zw.add(e)),{pushState:i=>{typeof window<"u"&&window.history.pushState({...i},"")}}}const gU=({body:n="",subject:e="",toAddress:r="[email protected]"})=>{const o=`mailto:${r}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(n)}`;window.location.href=o},yU=({userCerebroId:n})=>{gU({subject:`Request to Upgrade My Plan - Smart Noter - ${n}`,body:`Hello Smart Noter Team, 3725 3726I would like to request a limit upgrade for my plan. 3727 3728Thanks!`})};/*! 3729 * shared v11.1.12 3730 * (c) 2025 kazuya kawaguchi 3731 * Released under the MIT License. 3732 */function vU(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const Gd=typeof window<"u",Wi=(n,e=!1)=>e?Symbol.for(n):Symbol(n),EU=(n,e,r)=>wU({l:n,k:e,s:r}),wU=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ut=n=>typeof n=="number"&&isFinite(n),bU=n=>Wf(n)==="[object Date]",Wd=n=>Wf(n)==="[object RegExp]",Gf=n=>Qe(n)&&Object.keys(n).length===0,xt=Object.assign,TU=Object.create,ut=(n=null)=>TU(n);function Hw(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function qw(n){return n.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function AU(n){return n=n.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,i,s)=>`${i}="${qw(s)}"`),n=n.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,i,s)=>`${i}='${qw(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(n)&&(n=n.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEac
3732h(o=>{n=n.replace(o,"$1javascript:")}),n}const IU=Object.prototype.hasOwnProperty;function eo(n,e){return IU.call(n,e)}const kt=Array.isArray,yt=n=>typeof n=="function",Te=n=>typeof n=="string",Pt=n=>typeof n=="boolean",it=n=>n!==null&&typeof n=="object",SU=n=>it(n)&&yt(n.then)&&yt(n.catch),wR=Object.prototype.toString,Wf=n=>wR.call(n),Qe=n=>Wf(n)==="[object Object]",PU=n=>n==null?"":kt(n)||Qe(n)&&n.toString===wR?JSON.stringify(n,null,2):String(n);function _0(n,e=""){return n.reduce((r,o,i)=>i===0?r+o:r+e+o,"")}const Au=n=>!it(n)||kt(n);function ha(n,e){if(Au(n)||Au(e))throw new Error("Invalid value");const r=[{src:n,des:e}];for(;r.length;){const{src:o,des:i}=r.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(it(o[s])&&!it(i[s])&&(i[s]=Array.isArray(o[s])?[]:ut()),Au(i[s])||Au(o[s])?i[s]=o[s]:r.push({src:o[s],des:i[s]}))})}}/*! 3733 * message-compiler v11.1.12 3734 * (c) 2025 kazuya kawaguchi 3735 * Released under the MIT License. 3736 */function RU(n,e,r){return{line:n,column:e,offset:r}}function t_(n,e,r){return{start:n,end:e}}const lt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},CU=17;function Kf(n,e,r={}){const{domain:o,messages:i,args:s}=r,a=n,l=new SyntaxError(String(a));return l.code=n,e&&(l.location=e),l.domain=o,l}function OU(n){throw n}const fo=" ",kU="\r",ir=` 3737`,LU="\u2028",DU="\u2029";function xU(n){const e=n;let r=0,o=1,i=1,s=0;const a=S=>e[S]===kU&&e[S+1]===ir,l=S=>e[S]===ir,c=S=>e[S]===DU,u=S=>e[S]===LU,d=S=>a(S)||l(S)||c(S)||u(S),p=()=>r,h=()=>o,m=()=>i,g=()=>s,v=S=>a(S)||c(S)||u(S)?ir:e[S],w=()=>v(r),I=()=>v(r+s);function b(){return s=0,d(r)&&(o++,i=0),a(r)&&r++,r++,i++,e[r]}function E(){return a(r+s)&&s++,s++,e[r+s]}function P(){r=0,o=1,i=1,s=0}function D(S=0){s=S}function V(){const S=r+s;for(;S!==r;)b();s=0}
3737return{index:p,line:h,column:m,peekOffset:g,charAt:v,currentChar:w,currentPeek:I,next:b,peek:E,reset:P,resetPeek:D,skipToPeek:V}}const Uo=void 0,NU=".",Gw="'",VU="tokenizer";function MU(n,e={}){const r=e.location!==!1,o=xU(n),i=()=>o.index(),s=()=>RU(o.line(),o.column(),o.index()),a=s(),l=i(),c={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=e;function p(N,F,H,...Z){const ae=u();if(F.column+=H,F.offset+=H,d){const fe=r?t_(ae.startLoc,F):null,$=Kf(N,fe,{domain:VU,args:Z});d($)}}function h(N,F,H){N.endLoc=s(),N.currentType=F;const Z={type:F};return r&&(Z.loc=t_(N.startLoc,N.endLoc)),H!=null&&(Z.value=H),Z}const m=N=>h(N,13);function g(N,F){return N.currentChar()===F?(N.next(),F):(p(lt.EXPECTED_TOKEN,s(),0,F),"")}function v(N){let F="";for(;N.currentPeek()===fo||N.currentPeek()===ir;)F+=N.currentPeek(),N.peek();return F}function w(N){const F=v(N);return N.skipToPeek(),F}function I(N){if(N===Uo)return!1;const F=N.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F===95}function b(N){if(N===Uo)return!1;const F=N.charCodeAt(0);return F>=48&&F<=57}function E(N,F){const{currentType:H}=F;if(H!==2)return!1;v(N);const Z=I(N.currentPeek());return N.resetPeek(),Z}function P(N,F){const{currentType:H}=F;if(H!==2)return!1;v(N);const Z=N.currentPeek()==="-"?N.peek():N.currentPeek(),ae=b(Z);return N.resetPeek(),ae}function D(N,F){const{currentType:H}=F;if(H!==2)return!1;v(N);const Z=N.currentPeek()===Gw;return N.resetPeek(),Z}function V(N,F){const{currentType:H}=F;if(H!==7)return!1;v(N);const Z=N.currentPeek()===".";return N.resetPeek(),Z}function S(N,F){const{currentType:H}=F;if(H!==8)return!1;v(N);const Z=I(N.currentPeek());return N.resetPeek(),Z}function C(N,F){const{currentType:H}=F;if(!(H===7||H===11))return!1;v(N);const Z=N.currentPeek()===":";return N.resetPeek(),Z}function A(N,F){const{currentType:H}=F;if(H!==9)return!1;const Z=()=>{const fe=N.currentPeek();return fe==="{"?I(N.peek()):fe==="@"||fe==="|"||fe===":"||fe==="."||fe===fo||!fe?!1:fe===ir?(N.peek(),Z()):L(N,!1)},ae=Z();return N.resetPeek(),ae}function R(N){v(N);const F=N.currentPeek()==="|";return N.resetPeek(),F}function L(N,F=!0){const H=(ae=!1,fe="")=>{const $=N.currentPeek();return $==="{"||$==="@"||!$?ae:$==="|"?!(fe===fo||fe===ir):$===fo?(N.peek(),H(!0,fo)):$===ir?(N.peek(),H(!0,ir)):!0},Z=H();return F&&N.resetPeek(),Z}function O(N,F){const H=N.currentChar();return H===Uo?Uo:F(H)?(N.next(),H):null}function k(N){const F=N.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36}function ee(N){return O(N,k)}function J(N){const F=N.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36||F===45}function q(N){return O(N,J)}function j(N){const F=N.charCodeAt(0);return F>=48&&F<=57}function G(N){return O(N,j)}function te(N){const F=N.charCodeAt(0);return F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102}function le(N){return O(N,te)}function Ae(N){let F="",H="";for(;F=G(N);)H+=F;return H}function Ie(N){let F="";for(;;){const H=N.currentChar();if(H==="{"||H==="}"||H==="@"||H==="|"||!H)break;if(H===fo||H===ir)if(L(N))F+=H,N.next();else{if(R(N))break;F+=H,N.next()}else F+=H,N.next()}return F}function Ce(N){w(N);let F="",H="";for(;F=q(N);)H+=F;const Z=N.currentChar();if(Z&&Z!=="}"&&Z!==Uo&&Z!==fo&&Z!==ir&&Z!=="ã"){const ae=de(N);return p(lt.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,H+ae),H+ae}return N.currentChar()===Uo&&p(lt.UNTERMINATED_CLOSING_BRACE,s(),0),H}function vt(N){w(N);let F="";return N.currentChar()==="-"?(N.next(),F+=`-${Ae(N)}`):F+=Ae(N),N.currentChar()===Uo&&p(lt.UNTERMINATED_CLOSING_BRACE,s(),0),F}function mt(N){return N!==Gw&&N!==ir}function _t(N){w(N),g(N,"'");let F="",H="";for(;F=O(N,mt);)F==="\\"?H+=oe(N):H+=F;const Z=N.currentChar();return Z===ir||Z===Uo?(p(lt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Z===ir&&(N.next(),g(N,"'")),H):(g(N,"'"),H)}function oe(N){const F=N.currentChar();switch(F){case"\\":case"'":return N.next(),`\\${F}`;case"u":return Ee(N,F,4);case"U":return Ee(N,F,6);default:return p(lt.UNKNOWN_ESCAPE_SEQUENCE,s(),0,F),""}}function Ee(N,F,H){g(N,F);let Z="";for(let ae=0;ae<H;ae++){const fe=le(N);if(!fe){p(lt.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${F}${Z}${N.currentChar()}`);break}Z+=fe}return`\\${F}${Z}`}function ye(N){return N!=="{"&&N!=="}"&&N!==fo&&N!==ir}function de(N){w(N);let F="",H="";for(;F=O(N,ye);)H+=F;return H}function Pe(N){let F="",H="";for(;F=ee(N);)H+=F;return H}function Fe(N){const F=H=>{const Z=N.currentChar();return Z==="{"||Z==="@"||Z==="|"||Z==="("||Z===")"||!Z||Z===fo?H:(H+=Z,N.next(),F(H))};return F("")}function M(N){w(N);const F=g(N,"|");return w(N),F}function B(N,F){let H=null;switch(N.currentChar()){case"{":return F.braceNest>=1&&p(lt.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),N.next(),H=h(F,2,"{"),w(N),F.braceNest++,H;case"}":return F.braceNest>0&&F.currentType===2&&p(lt.EMPTY_PLACEHOLDER,s(),0),N.next(),H=h(F,3,"}"),F.braceNest--,F.braceNest>0&&w(N),F.inLinked&&F.braceNest===0&&(F.inLinked=!1),H;case"@":return F.braceNest>0&&p(lt.UNTERMINATED_CLOSING_BRACE,s(),0),H=K(N,F)||m(F),F.braceNest=0,H;default:{let ae=!0,fe=!0,$=!0;if(R(N))return F.braceNest>0&&p(lt.UNTERMINATED_CLOSING_BRACE,s(),0),H=h(F,1,M(N)),F.braceNest=0,F.inLinked=!1,H;if(F.braceNest>0&&(F.currentType===4||F.currentType===5||F.currentType===6))return p(lt.UNTERMINATED_CLOSING_BRACE,s(),0),F.braceNest=0,ce(N,F);if(ae=E(N,F))return H=h(F,4,Ce(N)),w(N),H;if(fe=P(N,F))return H=h(F,5,vt(N)),w(N),H;if($=D(N,F))return H=h(F,6,_t(N)),w(N),H;if(!ae&&!fe&&!$)return H=h(F,12,de(N)),p(lt.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,H.value),w(N),H;break}}return H}function K(N,F){const{currentType:H}=F;let Z=null;const ae=N.currentChar();switch((H===7||H===8||H===11||H===9)&&(ae===ir||ae===fo)&&p(lt.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return N.next(),Z=h(F,7,"@"),F.inLinked=!0,Z;case".":return w(N),N.next(),h(F,8,".");case":":return w(N),N.next(),h(F,9,":");default:return R(N)?(Z=h(F,1,M(N)),F.braceNest=0,F.inLinked=!1,Z):V(N,F)||C(N,F)?(w(N),K(N,F)):S(N,F)?(w(N),h(F,11,Pe(N))):A(N,F)?(w(N),ae==="{"?B(N,F)||Z:h(F,10,Fe(N))):(H===7&&p(lt.INVALID_LINKED_FORMAT,s(),0),F.braceNest=0,F.inLinked=!1,ce(N,F))}}function ce(N,F){let H={type:13};if(F.braceNest>0)return B(N,F)||m(F);if(F.inLinked)return K(N,F)||m(F);switch(N.currentChar()){case"{":return B(N,F)||m(F);case"}":return p(lt.UNBALANCED_CLOSING_BRACE,s(),0),N.next(),h(F,3,"}");case"@":return K(N,F)||m(F);
3737default:{if(R(N))return H=h(F,1,M(N)),F.braceNest=0,F.inLinked=!1,H;if(L(N))return h(F,0,Ie(N));break}}return H}function ie(){const{currentType:N,offset:F,startLoc:H,endLoc:Z}=c;return c.lastType=N,c.lastOffset=F,c.lastStartLoc=H,c.lastEndLoc=Z,c.offset=i(),c.startLoc=s(),o.currentChar()===Uo?h(c,13):ce(o,c)}return{nextToken:ie,currentOffset:i,currentPosition:s,context:u}}const FU="parser",UU=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function BU(n,e,r){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(e||r,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function jU(n={}){const e=n.location!==!1,{onError:r}=n;function o(I,b,E,P,...D){const V=I.currentPosition();if(V.offset+=P,V.column+=P,r){const S=e?t_(E,V):null,C=Kf(b,S,{domain:FU,args:D});r(C)}}function i(I,b,E){const P={type:I};return e&&(P.start=b,P.end=b,P.loc={start:E,end:E}),P}function s(I,b,E,P){e&&(I.end=b,I.loc&&(I.loc.end=E))}function a(I,b){const E=I.context(),P=i(3,E.offset,E.startLoc);return P.value=b,s(P,I.currentOffset(),I.currentPosition()),P}function l(I,b){const E=I.context(),{lastOffset:P,lastStartLoc:D}=E,V=i(5,P,D);return V.index=parseInt(b,10),I.nextToken(),s(V,I.currentOffset(),I.currentPosition()),V}function c(I,b){const E=I.context(),{lastOffset:P,lastStartLoc:D}=E,V=i(4,P,D);return V.key=b,I.nextToken(),s(V,I.currentOffset(),I.currentPosition()),V}function u(I,b){const E=I.context(),{lastOffset:P,lastStartLoc:D}=E,V=i(9,P,D);return V.value=b.replace(UU,BU),I.nextToken(),s(V,I.currentOffset(),I.currentPosition()),V}function d(I){const b=I.nextToken(),E=I.context(),{lastOffset:P,lastStartLoc:D}=E,V=i(8,P,D);return b.type!==11?(o(I,lt.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),V.value="",s(V,P,D),{nextConsumeToken:b,node:V}):(b.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,po(b)),V.value=b.value||"",s(V,I.currentOffset(),I.currentPosition()),{node:V})}function p(I,b){const E=I.context(),P=i(7,E.offset,E.startLoc);return P.value=b,s(P,I.currentOffset(),I.currentPosition()),P}function h(I){const b=I.context(),E=i(6,b.offset,b.startLoc);let P=I.nextToken();if(P.type===8){const D=d(I);E.modifier=D.node,P=D.nextConsumeToken||I.nextToken()}switch(P.type!==9&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(P)),P=I.nextToken(),P.type===2&&(P=I.nextToken()),P.type){case 10:P.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(P)),E.key=p(I,P.value||"");break;case 4:P.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(P)),E.key=c(I,P.value||"");break;case 5:P.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(P)),E.key=l(I,P.value||"");break;case 6:P.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(P)),E.key=u(I,P.value||"");break;default:{o(I,lt.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const D=I.context(),V=i(7,D.offset,D.startLoc);return V.value="",s(V,D.offset,D.startLoc),E.key=V,s(E,D.offset,D.startLoc),{nextConsumeToken:P,node:E}}}return s(E,I.currentOffset(),I.currentPosition()),{node:E}}function m(I){const b=I.context(),E=b.currentType===1?I.currentOffset():b.offset,P=b.currentType===1?b.endLoc:b.startLoc,D=i(2,E,P);D.items=[];let V=null;do{const A=V||I.nextToken();switch(V=null,A.type){case 0:A.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(A)),D.items.push(a(I,A.value||""));break;case 5:A.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(A)),D.items.push(l(I,A.value||""));break;case 4:A.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(A)),D.items.push(c(I,A.value||""));break;case 6:A.value==null&&o(I,lt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,po(A)),D.items.push(u(I,A.value||""));break;case 7:{const R=h(I);D.items.push(R.node),V=R.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const S=b.currentType===1?b.lastOffset:I.currentOffset(),C=b.currentType===1?b.lastEndLoc:I.currentPosition();return s(D,S,C),D}function g(I,b,E,P){const D=I.context();let V=P.items.length===0;const S=i(1,b,E);S.cases=[],S.cases.push(P);do{const C=m(I);V||(V=C.items.length===0),S.cases.push(C)}while(D.currentType!==13);return V&&o(I,lt.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(S,I.currentOffset(),I.currentPosition()),S}
3737function v(I){const b=I.context(),{offset:E,startLoc:P}=b,D=m(I);return b.currentType===13?D:g(I,E,P,D)}function w(I){const b=MU(I,xt({},n)),E=b.context(),P=i(0,E.offset,E.startLoc);return e&&P.loc&&(P.loc.source=I),P.body=v(b),n.onCacheKey&&(P.cacheKey=n.onCacheKey(I)),E.currentType!==13&&o(b,lt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,I[E.offset]||""),s(P,b.currentOffset(),b.currentPosition()),P}return{parse:w}}function po(n){if(n.type===13)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"â¦":e}function $U(n,e={}){const r={ast:n,helpers:new Set};return{context:()=>r,helper:s=>(r.helpers.add(s),s)}}function Ww(n,e){for(let r=0;r<n.length;r++)g0(n[r],e)}function g0(n,e){switch(n.type){case 1:Ww(n.cases,e),e.helper("plural");break;case 2:Ww(n.items,e);break;case 6:{g0(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function zU(n,e={}){const r=$U(n);r.helper("normalize"),n.body&&g0(n.body,r);const o=r.context();n.helpers=Array.from(o.helpers)}function HU(n){const e=n.body;return e.type===2?Kw(e):e.cases.forEach(r=>Kw(r)),n}function Kw(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let r=0;r<n.items.length;r++){const o=n.items[r];if(!(o.type===3||o.type===9)||o.value==null)break;e.push(o.value)}if(e.length===n.items.length){n.static=_0(e);for(let r=0;r<n.items.length;r++){const o=n.items[r];(o.type===3||o.type===9)&&delete o.value}}}}function Qs(n){switch(n.t=n.type,n.type){case 0:{const e=n;Qs(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,r=e.cases;for(let o=0;o<r.length;o++)Qs(r[o]);e.c=r,delete e.cases;break}case 2:{const e=n,r=e.items;for(let o=0;o<r.length;o++)Qs(r[o]);e.i=r,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;Qs(e.key),e.k=e.key,delete e.key,e.modifier&&(Qs(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}}delete n.type}function qU(n,e){const{filename:r,breakLineCode:o,needIndent:i}
3737=e,s=e.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};s&&n.loc&&(a.source=n.loc.source);const l=()=>a;function c(v,w){a.code+=v}function u(v,w=!0){const I=w?o:"";c(i?I+" ".repeat(v):I)}function d(v=!0){const w=++a.indentLevel;v&&u(w)}function p(v=!0){const w=--a.indentLevel;v&&u(w)}function h(){u(a.indentLevel)}return{context:l,push:c,indent:d,deindent:p,newline:h,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function GU(n,e){const{helper:r}=n;n.push(`${r("linked")}(`),ka(n,e.key),e.modifier?(n.push(", "),ka(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function WU(n,e){const{helper:r,needIndent:o}=n;n.push(`${r("normalize")}([`),n.indent(o());const i=e.items.length;for(let s=0;s<i&&(ka(n,e.items[s]),s!==i-1);s++)n.push(", ");n.deindent(o()),n.push("])")}function KU(n,e){const{helper:r,needIndent:o}=n;if(e.cases.length>1){n.push(`${r("plural")}([`),n.indent(o());const i=e.cases.length;for(let s=0;s<i&&(ka(n,e.cases[s]),s!==i-1);s++)n.push(", ");n.deindent(o()),n.push("])")}}function YU(n,e){e.body?ka(n,e.body):n.push("null")}function ka(n,e){const{helper:r}=n;switch(e.type){case 0:YU(n,e);break;case 1:KU(n,e);break;case 2:WU(n,e);break;case 6:GU(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${r("interpolate")}(${r("list")}(${e.index}))`,e);break;case 4:n.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break}}const JU=(n,e={})=>{const r=Te(e.mode)?e.mode:"normal",o=Te(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:r==="arrow"?";":` 3738`,s=e.needIndent?e.needIndent:r!=="arrow",a=n.helpers||[],l=qU(n,{filename:o,breakLineCode:i,needIndent:s});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${_0(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),ka(l,n),l.deindent(s),l.push("}"),delete n.helpers;const{code:c,map:u}=l.context();return{ast:n,code:c,map:u?u.toJSON():void 0}};function QU(n,e={}){const r=xt({},e),o=!!r.jit,i=!!r.minify,s=r.optimize==null?!0:r.optimize,l=jU(r).parse(n);return o?(s&&HU(l),i&&Qs(l),{ast:l,code:""}):(zU(l,r),JU(l,r))}/*! 3739 * core-base v11.1.12 3740 * (c) 2025 kazuya kawaguchi 3741 * Released under the MIT License. 3742 */function Ro(n){return it(n)&&y0(n)===0&&(eo(n,"b")||eo(n,"body"))}const bR=["b","body"];function XU(n){return Ki(n,bR)}const TR=["c","cases"];function ZU(n){return Ki(n,TR,[])}const AR=["s","static"];function eB(n){return Ki(n,AR)}const IR=["i","items"];function tB(n){return Ki(n,IR,[])}const SR=["t","type"];function y0(n){return Ki(n,SR)}const PR=["v","value"];function Iu(n,e){const r=Ki(n,PR);if(r!=null)return r;throw cc(e)}const RR=["m","modifier"];function nB(n){return Ki(n,RR)}const CR=["k","key"];function rB(n){const e=Ki(n,CR);if(e)return e;throw cc(6)}function Ki(n,e,r){for(let o=0;o<e.length;o++){const i=e[o];if(eo(n,i)&&n[i]!=null)return n[i]}return r}const OR=[...bR,...TR,...AR,...IR,...CR,...RR,...PR,...SR];function cc(n){return new Error(`unhandled node type: ${n}`)}function ah(n){return r=>oB(r,n)}function oB(n,e){const r=XU(e);if(r==null)throw cc(0);if(y0(r)===1){const s=ZU(r);return n.plural(s.reduce((a,l)=>[...a,Yw(n,l)],[]))}else return Yw(n,r)}function Yw(n,e){const r=eB(e);if(r!=null)return n.type==="text"?r:n.normalize([r]);{const o=tB(e).reduce((i,s)=>[...i,n_(n,s)],[]);return n.normalize(o)}}function n_(n,e){const r=y0(e);switch(r){case 3:return Iu(e,r);case 9:return Iu(e,r);case 4:{const o=e;if(eo(o,"k")&&o.k)return n.interpolate(n.named(o.k));if(eo(o,"key")&&o.key)return n.interpolate(n.named(o.key));throw cc(r)}case 5:{const o=e;if(eo(o,"i")&&Ut(o.i))return n.interpolate(n.list(o.i));if(eo(o,"index")&&Ut(o.index))return n.interpolate(n.list(o.index));throw cc(r)}case 6:{const o=e,i=nB(o),s=rB(o);return n.linked(n_(n,s),i?n_(n,i):void 0,n.type)}case 7:return Iu(e,r);case 8:return Iu(e,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}const iB=n=>n;let Su=ut();function sB(n,e={}){let r=!1;const o=e.onError||OU;return e.onError=i=>{r=!0,o(i)},{...QU(n,e),detectError:r}}function aB(n,e){if(Te(n)){Pt(e.warnHtmlMessage)&&e.warnHtmlMessage;const o=(e.onCacheKey||iB)(n),i=Su[o];if(i)return i;const{ast:s,detectError:a}=sB(n,{...e,location:!1,jit:!0}),l=ah(s);return a?l:Su[o]=l}else{const r=n.cacheKey;if(r){const o=Su[r];return o||(Su[r]=ah(n))}else return ah(n)}}const Jo={INVALID_ARGUMENT:CU,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},lB=24;function Qo(n){return Kf(n,null,void 0)}function v0(n,e){return e.locale!=null?Jw(e.locale):Jw(n.locale)}let lh;function Jw(n){if(Te(n))return n;
3742if(yt(n)){if(n.resolvedOnce&&lh!=null)return lh;if(n.constructor.name==="Function"){const e=n();if(SU(e))throw Qo(Jo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return lh=e}else throw Qo(Jo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Qo(Jo.NOT_SUPPORT_LOCALE_TYPE)}function cB(n,e,r){return[...new Set([r,...kt(e)?e:it(e)?Object.keys(e):Te(e)?[e]:[r]])]}function kR(n,e,r){const o=Te(r)?r:Kd,i=n;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(o);if(!s){s=[];let a=[r];for(;kt(a);)a=Qw(s,a,e);const l=kt(e)||!Qe(e)?e:e.default?e.default:null;a=Te(l)?[l]:l,kt(a)&&Qw(s,a,!1),i.__localeChainCache.set(o,s)}return s}function Qw(n,e,r){let o=!0;for(let i=0;i<e.length&&Pt(o);i++){const s=e[i];Te(s)&&(o=uB(n,e[i],r))}return o}function uB(n,e,r){let o;const i=e.split("-");do{const s=i.join("-");o=dB(n,s,r),i.splice(-1,1)}while(i.length&&o===!0);return o}function dB(n,e,r){let o=!1;if(!n.includes(e)&&(o=!0,e)){o=e[e.length-1]!=="!";const i=e.replace(/!/g,"");n.push(i),(kt(r)||Qe(r))&&r[i]&&(o=r[i])}return o}const Yi=[];Yi[0]={w:[0],i:[3,0],"[":[4],o:[7]};Yi[1]={w:[1],".":[2],"[":[4],o:[7]};Yi[2]={w:[2],i:[3,0],0:[3,0]};Yi[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Yi[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Yi[5]={"'":[4,0],o:8,l:[5,0]};Yi[6]={'"':[4,0],o:8,l:[6,0]};const fB=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pB(n){return fB.test(n)}function hB(n){const e=n.charCodeAt(0),r=n.charCodeAt(n.length-1);return e===r&&(e===34||e===39)?n.slice(1,-1):n}function mB(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function _B(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:pB(e)?hB(e):"*"+e}function gB(n){const e=[];let r=-1,o=0,i=0,s,a,l,c,u,d,p;const h=[];h[0]=()=>{a===void 0?a=l:a+=l},h[1]=()=>{a!==void 0&&(e.push(a),a=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,o=4,h[0]();else{if(i=0,a===void 0||(a=_B(a),a===!1))return!1;h[1]()}};function m(){const g=n[r+1];if(o===5&&g==="'"||o===6&&g==='"')return r++,l="\\"+g,h[0](),!0}for(;o!==null;)if(r++,s=n[r],!(s==="\\"&&m())){if(c=mB(s),p=Yi[o],u=p[c]||p.l||8,u===8||(o=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(o===7)return e}}const Xw=new Map;function yB(n,e){return it(n)?n[e]:null}function vB(n,e){if(!it(n))return null;let r=Xw.get(e);if(r||(r=gB(e),r&&Xw.set(e,r)),!r)return null;const o=r.length;let i=n,s=0;for(;s<o;){const a=r[s];if(OR.includes(a)&&Ro(i))return null;const l=i[a];if(l===void 0||yt(i))return null;i=l,s++}return i}const EB="11.1.12",Yf=-1,Kd="en-US",Zw="",eb=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function wB(){return{upper:(n,e)=>e==="text"&&Te(n)?n.toUpperCase():e==="vnode"&&it(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&Te(n)?n.toLowerCase():e==="vnode"&&it(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&Te(n)?eb(n):e==="vnode"&&it(n)&&"__v_isVNode"in n?eb(n.children):n}}let LR;function bB(n){LR=n}let DR;function TB(n){DR=n}let xR;function AB(n){xR=n}let NR=null;const tb=n=>{NR=n},IB=()=>NR;let nb=0;function SB(n={}){const e=yt(n.onWarn)?n.onWarn:vU,r=Te(n.version)?n.version:EB,o=Te(n.locale)||yt(n.locale)?n.locale:Kd,i=yt(o)?Kd:o,s=kt(n.fallbackLocale)||Qe(n.fallbackLocale)||Te(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i,a=Qe(n.messages)?n.messages:ch(i),l=Qe(n.datetimeFormats)?n.datetimeFormats:ch(i),c=Qe(n.numberFormats)?n.numberFormats:ch(i),u=xt(ut(),n.modifiers,wB()),d=n.pluralRules||ut(),p=yt(n.missing)?n.missing:null,h=Pt(n.missingWarn)||Wd(n.missingWarn)?n.missingWarn:!0,m=Pt(n.fallbackWarn)||Wd(n.fallbackWarn)?n.fallbackWarn:!0,g=!!n.fallbackFormat,v=!!n.unresolving,w=yt(n.postTranslation)?n.postTranslation:null,I=Qe(n.processor)?n.processor:null,b=Pt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,P=yt(n.messageCompiler)?n.messageCompiler:LR,D=yt(n.messageResolver)?n.messageResolver:DR||yB,V=yt(n.localeFallbacker)?n.localeFallbacker:xR||cB,S=it(n.fallbackContext)?n.fallbackContext:void 0,C=n,A=it(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,R=it(C.__numberFormatters)?C.__numberFormatters:new Map,L=it(C.__meta)?C.__meta:{};nb++;const O={version:r,cid:nb,locale:o,fallbackLocale:s,messages:a,modifiers:u,pluralRules:d,missing:p,missingWarn:h,fallbackWarn:m,fallbackFormat:g,unresolving:v,postTranslation:w,processor:I,warnHtmlMessage:b,escapeParameter:E,messageCompiler:P,messageResolver:D,localeFallbacker:V,fallbackContext:S,onWarn:e,__meta:L};return O.datetimeFormats=l,O.numberFormats=c,O.__datetimeFormatters=A,O.__numberFormatters=R,O}const ch=n=>({[n]:ut()});function E0(n,e,r,o,i){const{missing:s,onWarn:a}=n;if(s!==null){const l=s(n,r,e,i);return Te(l)?l:e}else return e}function gl(n,e,r){const o=n;o.__localeChainCache=new Map,n.localeFallbacker(n,r,e)}function PB(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function RB(n,e){const r=e.indexOf(n);if(r===-1)return!1;for(let o=r+1;o<e.length;o++)if(PB(n,e[o]))return!0;return!1}function rb(n,...e){const{datetimeFormats:r,unresolving:o,fallbackLocale:i,onWarn:s,localeFallbacker:a}=n,{__datetimeFormatters:l}=n,[c,u,d,p]=r_(...e),h=Pt(d.missingWarn)?d.missingWarn:n.missingWarn;Pt(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn;const m=!!d.part,g=v0(n,d),v=a(n,i,g);if(!Te(c)||c==="")return new Intl.DateTimeFormat(g,p).format(u);let w={},I,b=null;const E="datetime format";for(let V=0;V<v.length&&(I=v[V],w=r[I]||{},b=w[c],!Qe(b));V++)E0(n,c,I,h,E);if(!Qe(b)||!Te(I))return o?Yf:c;let P=`${I}__${c}`;Gf(p)||(P=`${P}__${JSON.stringify(p)}`);let D=l.get(P);return D||(D=new Intl.DateTimeFormat(I,xt({},b,p)),l.set(P,D)),m?D.formatToParts(u):D.format(u)}const VR=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function r_(...n){const[e,r,o,i]=n,s=ut();let a=ut(),l;if(Te(e)){const c=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Qo(Jo.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();l=new Date(u);try{l.toISOString()}catch{throw Qo(Jo.INVALID_ISO_DATE_ARGUMENT)}}else if(bU(e)){if(isNaN(e.getTime()))throw Qo(Jo.INVALID_DATE_ARGUMENT);l=e}else if(Ut(e))l=e;else throw Qo(Jo.INVALID_ARGUMENT);return Te(r)?s.key=r:Qe(r)&&Object.keys(r).forEach(c=>{VR.includes(c)?a[c]=r[c]:s[c]=r[c]}),Te(o)?s.locale=o:Qe(o)&&(a=o),Qe(i)&&(a=i),[s.key||"",l,s,a]}function ob(n,e,r){const o=n;for(const i in r){const s=`${e}__${i}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function ib(n,...e){const{numberFormats:r,unresolving:o,fallbackLocale:i,onWarn:s,localeFallbacker:a}=n,{__numberFormatters:l}=n,[c,u,d,p]=o_(...e),h=Pt(d.missingWarn)?d.missingWarn:n.missingWarn;Pt(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn;const m=!!d.part,g=v0(n,d),v=a(n,i,g);if(!Te(c)||c==="")return new Intl.NumberFormat(g,p).format(u);let w={},I,b=null;const E="number format";for(let V=0;V<v.length&&(I=v[V],w=r[I]||{},b=w[c],!Qe(b));V++)E0(n,c,I,h,E);if(!Qe(b)||!Te(I))return o?Yf:c;let P=`${I}__${c}`;Gf(p)||(P=`${P}__${JSON.stringify(p)}`);let D=l.get(P);return D||(D=new Intl.NumberFormat(I,xt({},b,p)),l.set(P,D)),m?D.formatToParts(u):D.format(u)}const MR=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function o_(...n){const[e,r,o,i]=n,s=ut();let a=ut();if(!Ut(e))throw Qo(Jo.INVALID_ARGUMENT);const l=e;return Te(r)?s.key=r:Qe(r)&&Object.keys(r).forEach(c=>{MR.includes(c)?a[c]=r[c]:s[c]=r[c]}),Te(o)?s.locale=o:Qe(o)&&(a=o),Qe(i)&&(a=i),[s.key||"",l,s,a]}
vendor: 5,330 bytes, lines 3742-3746
3742function sb(n,e,r){const o=n;for(const i in r){const s=`${e}__${i}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}const CB=n=>n,OB=n=>"",kB="text",LB=n=>n.length===0?"":_0(n),DB=PU;function ab(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function xB(n){const e=Ut(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(Ut(n.named.count)||Ut(n.named.n))?Ut(n.named.count)?n.named.count:Ut(n.named.n)?n.named.n:e:e}function NB(n,e){e.count||(e.count=n),e.n||(e.n=n)}function VB(n={}){const e=n.locale,r=xB(n),o=it(n.pluralRules)&&Te(e)&&yt(n.pluralRules[e])?n.pluralRules[e]:ab,i=it(n.pluralRules)&&Te(e)&&yt(n.pluralRules[e])?ab:void 0,s=I=>I[o(r,I.length,i)],a=n.list||[],l=I=>a[I],c=n.named||ut();Ut(n.pluralIndex)&&NB(r,c);const u=I=>c[I];function d(I,b){const E=yt(n.messages)?n.messages(I,!!b):it(n.messages)?n.messages[I]:!1;return E||(n.parent?n.parent.message(I):OB)}const p=I=>n.modifiers?n.modifiers[I]:CB,h=Qe(n.processor)&&yt(n.processor.normalize)?n.processor.normalize:LB,m=Qe(n.processor)&&yt(n.processor.interpolate)?n.processor.interpolate:DB,g=Qe(n.processor)&&Te(n.processor.type)?n.processor.type:kB,w={list:l,named:u,plural:s,linked:(I,...b)=>{const[E,P]=b;let D="text",V="";b.length===1?it(E)?(V=E.modifier||V,D=E.type||D):Te(E)&&(V=E||V):b.length===2&&(Te(E)&&(V=E||V),Te(P)&&(D=P||D));const S=d(I,!0)(w),C=D==="vnode"&&kt(S)&&V?S[0]:S;return V?p(V)(C,D):C},message:d,type:g,interpolate:m,normalize:h,values:xt(ut(),a,c)};return w}const lb=()=>"",ei=n=>yt(n);function cb(n,...e){const{fallbackFormat:r,postTranslation:o,unresolving:i,messageCompiler:s,fallbackLocale:a,messages:l}=n,[c,u]=i_(...e),d=Pt(u.missingWarn)?u.missingWarn:n.missingWarn,p=Pt(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Pt(u.escapeParameter)?u.escapeParameter:n.escapeParameter,m=!!u.resolvedMessage,g=Te(u.default)||Pt(u.default)?Pt(u.default)?s?c:()=>c:u.default:r?s?c:()=>c:null,v=r||g!=null&&(Te(g)||yt(g)),w=v0(n,u);h&&MB(u);let[I,b,E]=m?[c,w,l[w]||ut()]:FR(n,c,w,a,p,d),P=I,D=c;if(!m&&!(Te(P)||Ro(P)||ei(P))&&v&&(P=g,D=P),!m&&(!(Te(P)||Ro(P)||ei(P))||!Te(b)))return i?Yf:c;let V=!1;const S=()=>{V=!0},C=ei(P)?P:UR(n,c,b,P,D,S);if(V)return P;const A=BB(n,b,E,u),R=VB(A),L=FB(n,C,R);let O=o?o(L,c):L;return h&&Te(O)&&(O=AU(O)),O}function MB(n){kt(n.list)?n.list=n.list.map(e=>Te(e)?Hw(e):e):it(n.named)&&Object.keys(n.named).forEach(e=>{Te(n.named[e])&&(n.named[e]=Hw(n.named[e]))})}function FR(n,e,r,o,i,s){const{messages:a,onWarn:l,messageResolver:c,localeFallbacker:u}=n,d=u(n,o,r);let p=ut(),h,m=null;const g="translate";for(let v=0;v<d.length&&(h=d[v],p=a[h]||ut(),(m=c(p,e))===null&&(m=p[e]),!(Te(m)||Ro(m)||ei(m)));v++)if(!RB(h,d)){const w=E0(n,e,h,s,g);w!==e&&(m=w)}return[m,h,p]}function UR(n,e,r,o,i,s){const{messageCompiler:a,warnHtmlMessage:l}=n;if(ei(o)){const u=o;return u.locale=u.locale||r,u.key=u.key||e,u}if(a==null){const u=(()=>o);return u.locale=r,u.key=e,u}const c=a(o,UB(n,r,i,o,l,s));return c.locale=r,c.key=e,c.source=o,c}function FB(n,e,r){return e(r)}function i_(...n){const[e,r,o]=n,i=ut();if(!Te(e)&&!Ut(e)&&!ei(e)&&!Ro(e))throw Qo(Jo.INVALID_ARGUMENT);const s=Ut(e)?String(e):(ei(e),e);return Ut(r)?i.plural=r:Te(r)?i.default=r:Qe(r)&&!Gf(r)?i.named=r:kt(r)&&(i.list=r),Ut(o)?i.plural=o:Te(o)?i.default=o:Qe(o)&&xt(i,o),[s,i]}function UB(n,e,r,o,i,s){return{locale:e,key:r,warnHtmlMessage:i,onError:a=>{throw s&&s(a),a},onCacheKey:a=>EU(e,r,a)}}function BB(n,e,r,o){const{modifiers:i,pluralRules:s,messageResolver:a,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:i,pluralRules:s,messages:(m,g)=>{let v=a(r,m);if(v==null&&(d||g)){const[,,w]=FR(d||n,m,e,l,c,u);v=a(w,m)}if(Te(v)||Ro(v)){let w=!1;const b=UR(n,m,e,v,m,()=>{w=!0});return w?lb:b}else return ei(v)?v:lb}};return n.processor&&(h.processor=n.processor),o.list&&(h.list=o.list),o.named&&(h.named=o.named),Ut(o.plural)&&(h.pluralIndex=o.plural),h}/*! 3743 * vue-i18n v11.1.12 3744 * (c) 2025 kazuya kawaguchi 3745 * Released under the MIT License. 3746 */const jB="11.1.12",qr={UNEXPECTED_RETURN_TYPE:lB,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function so(n,...e){return Kf(n,null,void 0)}const s_=Wi("__translateVNode"),a_=Wi("__datetimeParts"),l_=Wi("__numberParts"),$B=Wi("__setPluralRules"),zB=Wi("__injectWithOption"),c_=Wi("__dispose");function uc(n){if(!it(n)||Ro(n))return n;for(const e in n)if(eo(n,e))if(!e.includes("."))it(n[e])&&uc(n[e]);else{const r=e.split("."),o=r.length-1;let i=n,s=!1;for(let a=0;a<o;a++){if(r[a]==="__proto__")throw new Error(`unsafe key: ${r[a]}`);if(r[a]in i||(i[r[a]]=ut()),!it(i[r[a]])){s=!0;break}i=i[r[a]]}if(s||(Ro(i)?OR.includes(r[o])||delete n[e]:(i[r[o]]=n[e],delete n[e])),!Ro(i)){const a=i[r[o]];it(a)&&uc(a)}}return n}function BR(n,e){const{messages:r,__i18n:o,messageResolver:i,flatJson:s}=e,a=Qe(r)?r:kt(o)?ut():{[n]:ut()};if(kt(o)&&o.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:c,resource:u}=l;c?(a[c]=a[c]||ut(),ha(u,a[c])):ha(u,a)}else Te(l)&&ha(JSON.parse(l),a)}),i==null&&s)for(const l in a)eo(a,l)&&uc(a[l]);return a}function HB(n){return n.type}function qB(n,e,r){let o=it(e.messages)?e.messages:ut();"__i18nGlobal"in r&&(o=BR(n.locale.value,{messages:o,__i18n:r.__i18nGlobal}));const i=Object.keys(o);
3746i.length&&i.forEach(s=>{n.mergeLocaleMessage(s,o[s])});{if(it(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(a=>{n.mergeDateTimeFormat(a,e.datetimeFormats[a])})}if(it(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(a=>{n.mergeNumberFormat(a,e.numberFormats[a])})}}}function ub(n){return ge(Vi,null,n,0)}const db=()=>[],GB=()=>!1;let fb=0;function pb(n){return((e,r,o,i)=>n(r,o,Gr()||void 0,i))}function jR(n={}){const{__root:e,__injectWithOption:r}=n,o=e===void 0,i=n.flatJson,s=Gd?me:oi;let a=Pt(n.inheritLocale)?n.inheritLocale:!0;const l=s(e&&a?e.locale.value:Te(n.locale)?n.locale:Kd),c=s(e&&a?e.fallbackLocale.value:Te(n.fallbackLocale)||kt(n.fallbackLocale)||Qe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),u=s(BR(l.value,n)),d=s(Qe(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),p=s(Qe(n.numberFormats)?n.numberFormats:{[l.value]:{}});let h=e?e.missingWarn:Pt(n.missingWarn)||Wd(n.missingWarn)?n.missingWarn:!0,m=e?e.fallbackWarn:Pt(n.fallbackWarn)||Wd(n.fallbackWarn)?n.fallbackWarn:!0,g=e?e.fallbackRoot:Pt(n.fallbackRoot)?n.fallbackRoot:!0,v=!!n.fallbackFormat,w=yt(n.missing)?n.missing:null,I=yt(n.missing)?pb(n.missing):null,b=yt(n.postTranslation)?n.postTranslation:null,E=e?e.warnHtmlMessage:Pt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,P=!!n.escapeParameter;const D=e?e.modifiers:Qe(n.modifiers)?n.modifiers:{};let V=n.pluralRules||e&&e.pluralRules,S;S=(()=>{o&&tb(null);const $={version:jB,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:D,pluralRules:V,missing:I===null?void 0:I,missingWarn:h,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:P,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=d.value,$.numberFormats=p.value,$.__datetimeFormatters=Qe(S)?S.__datetimeFormatters:void 0,$.__numberFormatters=Qe(S)?S.__numberFormatters:void 0;const X=SB($);return o&&tb(X),X})(),gl(S,l.value,c.value);function A(){return[l.value,c.value,u.value,d.value,p.value]}const R=z({get:()=>l.value,set:$=>{S.locale=$,l.value=$}}),L=z({get:()=>c.value,set:$=>{S.fallbackLocale=$,c.value=$,gl(S,l.value,$)}}),O=z(()=>u.value),k=z(()=>d.value),ee=z(()=>p.value);function J(){return yt(b)?b:null}function q($){b=$,S.postTranslation=$}function j(){return w}function G($){$!==null&&(I=pb($)),w=$,S.missing=I}const te=($,X,_e,be,qe,Ge)=>{A();let Tt;try{o||(S.fallbackContext=e?IB():void 0),Tt=$(S)}finally{o||(S.fallbackContext=void 0)}if(_e!=="translate exists"&&Ut(Tt)&&Tt===Yf||_e==="translate exists"&&!Tt){const[Vt,Qt]=X();return e&&g?be(e):qe(Vt)}else{if(Ge(Tt))return Tt;throw so(qr.UNEXPECTED_RETURN_TYPE)}};function le(...$){return te(X=>Reflect.apply(cb,null,[X,...$]),()=>i_(...$),"translate",X=>Reflect.apply(X.t,X,[...$]),X=>X,X=>Te(X))}function Ae(...$){const[X,_e,be]=$;if(be&&!it(be))throw so(qr.INVALID_ARGUMENT);return le(X,_e,xt({resolvedMessage:!0},be||{}))}function Ie(...$){return te(X=>Reflect.apply(rb,null,[X,...$]),()=>r_(...$),"datetime format",X=>Reflect.apply(X.d,X,[...$]),()=>Zw,X=>Te(X)||kt(X))}function Ce(...$){return te(X=>Reflect.apply(ib,null,[X,...$]),()=>o_(...$),"number format",X=>Reflect.apply(X.n,X,[...$]),()=>Zw,X=>Te(X)||kt(X))}function vt($){return $.map(X=>Te(X)||Ut(X)||Pt(X)?ub(String(X)):X)}const _t={normalize:vt,interpolate:$=>$,type:"vnode"};function oe(...$){return te(X=>{let _e;const be=X;try{be.processor=_t,_e=Reflect.apply(cb,null,[be,...$])}finally{be.processor=null}return _e},()=>i_(...$),"translate",X=>X[s_](...$),X=>[ub(X)],X=>kt(X))}function Ee(...$){return te(X=>Reflect.apply(ib,null,[X,...$]),()=>o_(...$),"number format",X=>X[l_](...$),db,X=>Te(X)||kt(X))}function ye(...$){return te(X=>Reflect.apply(rb,null,[X,...$]),()=>r_(...$),"datetime format",X=>X[a_](...$),db,X=>Te(X)||kt(X))}function de($){V=$,S.pluralRules=V}function Pe($,X){return te(()=>{if(!$)return!1;const _e=Te(X)?X:l.value,be=B(_e),qe=S.messageResolver(be,$);return Ro(qe)||ei(qe)||Te(qe)},()=>[$],"translate exists",_e=>Reflect.apply(_e.te,_e,[$,X]),GB,_e=>Pt(_e))}function Fe($){let X=null;const _e=kR(S,c.value,l.value);for(let be=0;be<_e.length;be++){const qe=u.value[_e[be]]||{},Ge=S.messageResolver(qe,$);if(Ge!=null){X=Ge;break}}return X}function M($){const X=Fe($);return X??(e?e.tm($)||{}:{})}function B($){return u.value[$]||{}}function K($,X){if(i){const _e={[$]:X};for(const be in _e)eo(_e,be)&&uc(_e[be]);X=_e[$]}u.value[$]=X,S.messages=u.value}function ce($,X){u.value[$]=u.value[$]||{};const _e={[$]:X};if(i)for(const be in _e)eo(_e,be)&&uc(_e[be]);X=_e[$],ha(X,u.value[$]),S.messages=u.value}function ie($){return d.value[$]||{}}function N($,X){d.value[$]=X,S.datetimeFormats=d.value,ob(S,$,X)}function F($,X){d.value[$]=xt(d.value[$]||{},X),S.datetimeFormats=d.value,ob(S,$,X)}function H($){return p.value[$]||{}}function Z($,X){p.value[$]=X,S.numberFormats=p.value,sb(S,$,X)}function ae($,X){p.value[$]=xt(p.value[$]||{},X),S.numberFormats=p.value,sb(S,$,X)}fb++,e&&Gd&&(wt(e.locale,$=>{a&&(l.value=$,S.locale=$,gl(S,l.value,c.value))}
3746),wt(e.fallbackLocale,$=>{a&&(c.value=$,S.fallbackLocale=$,gl(S,l.value,c.value))}));const fe={id:fb,locale:R,fallbackLocale:L,get inheritLocale(){return a},set inheritLocale($){a=$,$&&e&&(l.value=e.locale.value,c.value=e.fallbackLocale.value,gl(S,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:O,get modifiers(){return D},get pluralRules(){return V||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn($){h=$,S.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn($){m=$,S.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot($){g=$},get fallbackFormat(){return v},set fallbackFormat($){v=$,S.fallbackFormat=v},get warnHtmlMessage(){return E},set warnHtmlMessage($){E=$,S.warnHtmlMessage=$},get escapeParameter(){return P},set escapeParameter($){P=$,S.escapeParameter=$},t:le,getLocaleMessage:B,setLocaleMessage:K,mergeLocaleMessage:ce,getPostTranslationHandler:J,setPostTranslationHandler:q,getMissingHandler:j,setMissingHandler:G,[$B]:de};return fe.datetimeFormats=k,fe.numberFormats=ee,fe.rt=Ae,fe.te=Pe,fe.tm=M,fe.d=Ie,fe.n=Ce,fe.getDateTimeFormat=ie,fe.setDateTimeFormat=N,fe.mergeDateTimeFormat=F,fe.getNumberFormat=H,fe.setNumberFormat=Z,fe.mergeNumberFormat=ae,fe[zB]=r,fe[s_]=oe,fe[a_]=ye,fe[l_]=Ee,fe}const w0={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function WB({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((o,i)=>[...o,...i.type===We?i.children:[i]],[]):e.reduce((r,o)=>{const i=n[o];return i&&(r[o]=i()),r},ut())}function $R(){return We}const KB=fr({name:"i18n-t",props:xt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>Ut(n)||!isNaN(n)}},w0),setup(n,e){const{slots:r,attrs:o}=e,i=n.i18n||Jt({useScope:n.scope,__useComponent:!0});return()=>{const s=Object.keys(r).filter(p=>p[0]!=="_"),a=ut();n.locale&&(a.locale=n.locale),n.plural!==void 0&&(a.plural=Te(n.plural)?+n.plural:n.plural);const l=WB(e,s),c=i[s_](n.keypath,l,a),u=xt(ut(),o),d=Te(n.tag)||it(n.tag)?n.tag:$R();return Bt(d,u,c)}}}),hb=KB;function YB(n){return kt(n)&&!Te(n[0])}function zR(n,e,r,o){const{slots:i,attrs:s}=e;return()=>{const a={part:!0};let l=ut();n.locale&&(a.locale=n.locale),Te(n.format)?a.key=n.format:it(n.format)&&(Te(n.format.key)&&(a.key=n.format.key),l=Object.keys(n.format).reduce((h,m)=>r.includes(m)?xt(ut(),h,{[m]:n.format[m]}):h,ut()));const c=o(n.value,a,l);let u=[a.key];kt(c)?u=c.map((h,m)=>{const g=i[h.type],v=g?g({[h.type]:h.value,index:m,parts:c}):[h.value];return YB(v)&&(v[0].key=`${h.type}-${m}`),v}):Te(c)&&(u=[c]);const d=xt(ut(),s),p=Te(n.tag)||it(n.tag)?n.tag:$R();return Bt(p,d,u)}}const JB=fr({name:"i18n-n",props:xt({value:{type:Number,required:!0},format:{type:[String,Object]}},w0),setup(n,e){const r=n.i18n||Jt({useScope:n.scope,__useComponent:!0});return zR(n,e,MR,(...o)=>r[l_](...o))}}),mb=JB;function QB(n,e){const r=n;if(n.mode==="composition")return r.__getInstance(e)||n.global;{const o=r.__getInstance(e);return o!=null?o.__composer:n.global.__composer}}function XB(n){const e=a=>{const{instance:l,value:c}=a;if(!l||!l.$)throw so(qr.UNEXPECTED_ERROR);const u=QB(n,l.$),d=_b(c);return[Reflect.apply(u.t,u,[...gb(d)]),u]};return{created:(a,l)=>{const[c,u]=e(l);Gd&&n.global===u&&(a.__i18nWatcher=wt(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=u,a.textContent=c},unmounted:a=>{Gd&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const c=a.__composer,u=_b(l);a.textContent=Reflect.apply(c.t,c,[...gb(u)])}},getSSRProps:a=>{const[l]=e(a);return{textContent:l}}}}function _b(n){if(Te(n))return{path:n};if(Qe(n)){if(!("path"in n))throw so(qr.REQUIRED_VALUE,"path");return n}else throw so(qr.INVALID_VALUE)}function gb(n){const{path:e,locale:r,args:o,choice:i,plural:s}=n,a={},l=o||{};return Te(r)&&(a.locale=r),Ut(i)&&(a.plural=i),Ut(s)&&(a.plural=s),[e,l,a]}function ZB(n,e,...r){const o=Qe(r[0])?r[0]:{};(Pt(o.globalInstall)?o.globalInstall:!0)&&([hb.name,"I18nT"].forEach(s=>n.component(s,hb)),[mb.name,"I18nN"].forEach(s=>n.component(s,mb)),[vb.name,"I18nD"].forEach(s=>n.component(s,vb))),n.directive("t",XB(e))}const ej=Wi("global-vue-i18n");function tj(n={}){const e=Pt(n.globalInjection)?n.globalInjection:!0,r=new Map,[o,i]=nj(n),s=Wi("");function a(d){return r.get(d)||null}function l(d,p){r.set(d,p)}function c(d){r.delete(d)}const u={get mode(){return"composition"}
3746,async install(d,...p){if(d.__VUE_I18N_SYMBOL__=s,d.provide(d.__VUE_I18N_SYMBOL__,u),Qe(p[0])){const g=p[0];u.__composerExtend=g.__composerExtend,u.__vueI18nExtend=g.__vueI18nExtend}let h=null;e&&(h=uj(d,u.global)),ZB(d,u,...p);const m=d.unmount;d.unmount=()=>{h&&h(),u.dispose(),m()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Jt(n={}){const e=Gr();if(e==null)throw so(qr.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw so(qr.NOT_INSTALLED);const r=rj(e),o=ij(r),i=HB(e),s=oj(n,i);if(s==="global")return qB(o,n,i),o;if(s==="parent"){let c=sj(r,e,n.__useComponent);return c==null&&(c=o),c}const a=r;let l=a.__getInstance(e);if(l==null){const c=xt({},n);"__i18n"in i&&(c.__i18n=i.__i18n),o&&(c.__root=o),l=jR(c),a.__composerExtend&&(l[c_]=a.__composerExtend(l)),lj(a,e,l),a.__setInstance(e,l)}return l}function nj(n,e){const r=_c(),o=r.run(()=>jR(n));if(o==null)throw so(qr.UNEXPECTED_ERROR);return[r,o]}function rj(n){const e=zt(n.isCE?ej:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw so(n.isCE?qr.NOT_INSTALLED_WITH_PROVIDE:qr.UNEXPECTED_ERROR);return e}function oj(n,e){return Gf(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function ij(n){return n.mode==="composition"?n.global:n.global.__composer}function sj(n,e,r=!1){let o=null;const i=e.root;let s=aj(e,r);for(;s!=null;){const a=n;if(n.mode==="composition"&&(o=a.__getInstance(s)),o!=null||i===s)break;s=s.parent}return o}function aj(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function lj(n,e,r){br(()=>{},e),qi(()=>{const o=r;n.__deleteInstance(e);const i=o[c_];i&&(i(),delete o[c_])},e)}const cj=["locale","fallbackLocale","availableLocales"],yb=["t","rt","d","n","tm","te"];function uj(n,e){const r=Object.create(null);return cj.forEach(i=>{const s=Object.getOwnPropertyDescriptor(e,i);if(!s)throw so(qr.UNEXPECTED_ERROR);const a=dt(s.value)?{get(){return s.value.value},set(l){s.value.value=l}}:{get(){return s.get&&s.get()}};Object.defineProperty(r,i,a)}),n.config.globalProperties.$i18n=r,yb.forEach(i=>{const s=Object.getOwnPropertyDescriptor(e,i);if(!s||!s.value)throw so(qr.UNEXPECTED_ERROR);Object.defineProperty(n.config.globalProperties,`$${i}`,s)}),()=>{delete n.config.globalProperties.$i18n,yb.forEach(i=>{delete n.config.globalProperties[`$${i}`]})}}const dj=fr({name:"i18n-d",props:xt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},w0),setup(n,e){const r=n.i18n||Jt({useScope:n.scope,__useComponent:!0});return zR(n,e,VR,(...o)=>r[a_](...o))}}),vb=dj;bB(aB);TB(vB);AB(kR);const Vc=pi("paywall",()=>{const n=Ka(),e=jc(),r=st(),o=wf(),{t:i}=Jt(),s=me(!1),a=me(""),l=me("paywall"),c=me(""),u=me(!1),d=me(null),p=me(null),h=z(()=>s.value),m=z(()=>a.value),g=z(()=>l.value),v=z(()=>c.value),w=z(()=>d.value),I=z(()=>p.value),{pushState:b}=_U({key:"paywall",onNavigate:O=>{const k=O.state?.paywall;k?.paywallStep==="checkout"&&k?.checkoutPriceId&&A(k?.checkoutPriceId),k?.paywallStep==="paywall"&&k?.source&&(s.value?S():D(k?.source)),!k?.paywallStep&&s.value&&E()}}),E=()=>{s.value=!1;const O=wr();Be({eventName:"paywall_closed",properties:{...yr(),...T0(),source:a.value,productNames:O.productNames}}),Mc().handlePaywallClosed({checkoutPriceId:c.value,reachedCheckout:u.value}),l.value="paywall",c.value="",u.value=!1},P=()=>{E(),b({...window.history.state,paywall:null})},D=async(O,{paywallId:k,previousAction:ee=null}={})=>{(await n.waitAndGetPlanData())?.id==="free"&&(a.value=O,d.value=k??bF(O),p.value=ee,s.value=!0,u.value=!1,S(),Be({eventName:"should_open_paywall",properties:{...yr(),source:a.value}}),gR())},V=async(O,k={})=>{await D(O,k),s.value&&b({...window.history.state,paywall:{paywallStep:"paywall",source:O}})},S=()=>{l.value="paywall",c.value=""},C=O=>{n.planData.id==="free"?R(O):yU({userCerebroId:r.userData?.cerebroId})},A=O=>{l.value="checkout",c.value=O,u.value=!0},R=O=>{A(O),b({...window.history.state,paywall:{paywallStep:"checkout",source:a.value,checkoutPriceId:O}})},L=async(O,k,{paywallId:ee,previousAction:J,pushAlert:q="non-free"}={})=>{await V(O,{paywallId:ee,previousAction:J}),q==="non-free"?(await n.waitAndGetPlanData())?.id!=="free"&&o.pushAlert(k,"error",{title:i("components.molecules.thealert.limitReached")}):q===!0&&o.pushAlert(k,"error",{title:i("components.molecules.thealert.limitReached")})};return wt(()=>e.checkoutCompletedState,O=>{O==="success"&&setTimeout(()=>{s.value&&P()},1e3)}),{openPaywall:V,closePaywall:P,paywallOpened:h,source:m,paywallStep:g,paywallId:w,previousAction:I,handlePurchaseClick:C,checkoutPriceId:v,moveToCheckoutStep:R,openPaywallForLimitReached:L}}),Jf=globalThis.setInterval,Eb="secretOfferSession",fj="secretOffer",pj=["v1","v2","v3"],hj="v1",mj=600,_j=25,wb={bannerDismissed:!1,popupS
3746hown:!1,product:null},gj={"1week":"weekly","1month":"monthly","3month":"quarterly","1year":"yearly"},Mc=pi("secretOffer",()=>{const n=wr(),e=jc(),r=Ka(),o=st(),{t:i}=Jt(),s=z(()=>r.planData?.id==="free"),a=me({...wb}),l=me(!1),c=me(!1),u=me(Date.now());let d=null;const p=z(()=>{if(o.userConfig===null)return null;const de=o.getParameter(qf.SECRET_OFFER);if(!de)return null;try{return typeof de=="string"?JSON.parse(de):de}catch{return null}}),h=z(()=>n.paywallStructure?.[n.secretOfferPaywallSource]??null),m=z(()=>pj.includes(p.value?.version)?p.value.version:hj),g=z(()=>Number(p.value?.duration)*60||mj),v=z(()=>Math.round(g.value/60)),w=z(()=>Number(h.value?.displayed_discount??parseInt(h.value?.discount,10))||_j),I=z(()=>Number(o.userData?.secretOffer)||null),b=z(()=>I.value?I.value+g.value*1e3:null),E=z(()=>b.value?Math.max(0,Math.round((b.value-u.value)/1e3)):0),P=z(()=>!!p.value?.is_active&&!!h.value&&!!b.value&&E.value>0),D=z(()=>l.value),V=z(()=>c.value),S=de=>{const Pe=Os(de,n.currentCurrency),Fe=Wa.includes(n.currentCurrency)?0:2;return`${n.currencySymbol}${Pe.toLocaleString("en-US",{minimumFractionDigits:Fe,maximumFractionDigits:Fe})}`},C=z(()=>{const de=a.value.product?.priceId;return de?(n.prices||[]).find(Pe=>Pe?.price?.id===de)?.price??null:null}),A=z(()=>m.value!=="v1"&&!!C.value),R=z(()=>C.value?S(C.value.unit_amount):""),L=z(()=>C.value?S(C.value.unit_amount*(1-w.value/100)):""),O=z(()=>{const de=m.value==="v1"?"pro":gj[a.value.product?.key]??"pro";return i(`components.molecules.secretOffer.planLabels.${de}`)}),k=z(()=>P.value&&(p.value?.secret_offer_banner??!1)&&a.value.popupShown&&!a.value.bannerDismissed&&!l.value),ee=z(()=>["success","error"].includes(r.planAndUsageState)),J=z(()=>k.value&&s.value),q=z(()=>k.value&&!ee.value),j=z(()=>P.value&&s.value),G=()=>{try{sessionStorage.setItem(Eb,JSON.stringify(a.value))}catch(de){console.warn("Failed to persist secret offer session state:",de)}},te=()=>{try{sessionStorage.removeItem(fj);const de=JSON.parse(sessionStorage.getItem(Eb));de&&(a.value={...wb,...de})}catch{}},le=()=>{d&&(clearInterval(d),d=null)},Ae=()=>{le(),u.value=Date.now(),d=Jf(()=>{u.value=Date.now(),b.value&&b.value<=u.value&&(le(),l.value=!1)},1e3)},Ie=async()=>{te(),!(!await o.getCurrentUser()||!I.value)&&(await n.initializeConfig(),u.value=Date.now(),P.value&&(Ae(),!a.value.popupShown&&!a.value.bannerDismissed&&(await n.initialize(Yn.SECRET_OFFER_POPUP),l.value=!0)))},Ce=({checkoutPriceId:de})=>{const Pe=n.prices||[];let Fe=de?Pe.findIndex(M=>M?.price?.id===de):-1;return Fe<0&&(Fe=n.selectedProductIndex??-1),Fe<0||!Pe[Fe]?.price?null:{key:n.productNames?.[Fe]??null,priceId:Pe[Fe].price.id}},vt=({checkoutPriceId:de,reachedCheckout:Pe})=>{I.value||o.user&&(["validating","success"].includes(e.checkoutCompletedState)||!p.value?.is_active||!h.value||m.value==="v3"&&!Pe||(a.value={bannerDismissed:!1,popupShown:!1,product:m.value==="v1"?null:Ce({checkoutPriceId:de})},G(),o.updateAndPushUserData({secretOffer:Date.now()}).catch(Fe=>console.warn("Failed to persist secret offer activation:",Fe)),l.value=!0,Ae()))},mt=()=>{a.value.popupShown||(a.value={...a.value,popupShown:!0},G())},_t=()=>({discount:w.value,version:m.value});return{isOfferActive:P,version:m,popupOpen:D,claimPending:V,remaining:E,durationMinutes:v,displayedDiscount:w,planLabel:O,popupWithPrice:A,popupOriginalPrice:R,popupDiscountedPrice:L,showTopBanner:J,topBannerPending:q,showSidebarCard:j,restore:Ie,handlePaywallClosed:vt,claim:async({source:de})=>{if(P.value){Be({eventName:"secret_offer_claim_clicked",properties:{..._t(),source:de}}),l.value&&(l.value=!1,mt()),c.value=!0;try{const Pe=Vc(),Fe=de==="banner"?Yn.SECRET_OFFER_BANNER:Yn.SECRET_OFFER_POPUP;await n.initialize(Fe),await Pe.openPaywall(Fe,{previousAction:`secret_offer_${de}`});const M=de==="popup"&&m.value!=="v1"?a.value.product?.priceId:null;M&&Pe.paywallOpened&&Pe.moveToCheckoutStep(M)}finally{c.value=!1}}},dismissPopup:()=>{l.value&&(l.value=!1,mt(),Be({eventName:"secret_offer_popup_closed",properties:_t()}))},dismissBanner:()=>{a.value.bannerDismissed||(a.value={...a.value,bannerDismissed:!0},G(),Be({eventName:"secret_offer_banner_closed",properties:_t()}))}}}),dc=Object.freeze({SAFE:"safe",REGULAR:"regular"}),HR=dc.REGULAR,yj=Object.freeze([dc.SAFE,dc.REGULAR]),b0=n=>yj.includes(n),gX=async n=>{const{reason:e,reasonText:r}=n??{};return await $e({path:"/paddle/cancel-subscription",method:"POST",data:{...e?{reason:e}:{},...r?{reasonText:r}:{}}})},yX=async()=>await $e({path:"/paddle/stop-cancellation",method:"POST"}),vX=async({reminderOffsetDays:n})=>await $e({path:"/paddle/schedule-renewal-reminder",method:"POST",data:{reminderOffsetDays:n}}),EX=async()=>await $e({path:"/paddle/next-billing",method:"GET"}),wX=async({discountId:n,priceId:e})=>await $e({path:"/paddle/preview-switch-plan",method:"POST",data:{priceId:e,...n?{discountId:n}:{}}}),bX=async({discountId:n,priceId:e})=>await $e({path:"/paddle/switch-plan",method:"POST",data:{priceId:e,...n?{discountId:n}:{}}}),vj=async n=>await Sz({path:"/paddle/discounts",method:"GET",params:{discountIds:n}}),Ej=n=>{switch(n){case"ARS":return"$";case"AUD":return"A$";case"BRL":return"R$";case"CAD":return"C$";case"CHF":return"CHF";case"CNY":return"CNÂ¥";case"COP":return"â¡";case"CZK":return"KÄ";case"DKK":return"kr";case"EUR":return"â¬";case"GBP":return"£";case"HKD":return"HK$";case"HUF":return"Ft";case"ILS":return"âª";case"INR":return"â¹";case"JPY":return"Â¥";case"KRW":return"â©";case"MXN":return"M$";case"NOK":return"kr";case"NZD":return"NZ$";case"PLN":return"zÅ";case"RUB":return"â½";case"SEK":return"kr";case"SGD":return"S$";
3746case"THB":return"฿";case"TRY":return"âº";case"TWD":return"NT$";case"UAH":return"â´";case"USD":return"$";case"VND":return"â«";case"ZAR":return"R"}const e=n.toUpperCase();try{const i=new Intl.NumberFormat("en-US",{style:"currency",currency:e,minimumFractionDigits:0,maximumFractionDigits:0}).formatToParts(1).find(s=>s.type==="currency");return i&&i.value?i.value.trim():"$"}catch(r){return console.warn(`Failed to get currency symbol for ${n} using Intl API:`,r),"$"}},wr=pi("paywallProducts",()=>{const n=st(),e=me("loading"),r=me("loading"),o=me(Ur.paywall_structure),i=me(Ur.iap_catalog),s=me(Ur.pricing_tier),a=me(Ur.iad_catalog),l=me(Ur.checkout_settings);let c=!1;const u=me({}),d=me([]),p=me([]),h=me(null),m=me(null),g=me("USD"),v=z(()=>Ej(g.value)),w=z(()=>o.value?.[h.value]?.layout??HR),I=me(null),b=J=>{I.value=J},E=(J,q=void 0)=>{q?Object.keys(o.value).includes(q)?m.value=q:(console.warn(`Invalid paywall_source: "${q}". Falling back to ${Ur.paywall_source}.`),m.value=Ur.paywall_source):m.value=J,h.value=m.value},P=async(J=void 0)=>{if(c)return;c=!0;const q=await n.waitAndGetParameter("paywall_structure");q&&(o.value=JSON.parse(q));const j=await n.waitAndGetParameter("iap_catalog");j&&(i.value=JSON.parse(j));const G=await n.waitAndGetParameter("pricing_tier");G&&(s.value=G);const te=await n.waitAndGetParameter("iad_catalog");te&&(a.value=JSON.parse(te));const le=await n.waitAndGetParameter("checkout_settings");le&&(l.value=JSON.parse(le));const Ae=await n.waitAndGetParameter("paywall_source");E(Ae,J),e.value="completed"},D=z(()=>{const q=`${m.value||Ur.paywall_source}${$d}`;return o.value?.[q]?q:`${Yn.DEFAULT}${$d}`}),V=(J=void 0)=>J&&Object.keys(o.value).includes(J)?J:Mc().isOfferActive&&o.value?.[D.value]?D.value:m.value;let S=null;const C=async(J,q=void 0)=>{await P(q),await ee();const j=V(q);if(j===h.value&&r.value==="completed")return;if(S?.key===j)return S.promise;const G=A(J,j);S={key:j,promise:G};try{await G}finally{S?.promise===G&&(S=null)}},A=async(J,q)=>{h.value=q,r.value="loading";const j=o.value?.[h.value];u.value=j?.products||{};const[G,te]=await Promise.allSettled([R(J),L()]);G.status==="fulfilled"?d.value=G.value:(console.error(G.reason),d.value=[]),te.status==="fulfilled"?p.value=te.value:(console.error(te.reason),p.value=[]),g.value=d.value[0]?.price?.currency??"USD",d.value.length===0?r.value="error":(r.value="completed",Be({eventName:"load_products",properties:{...yr(),...T0(),product_count:d.value.length,source:J,productNames:u.value,flow:h.value,product_ids:d.value.map(le=>le?.price?.id)}}))},R=async J=>{const q=k();return await oz(q,J)},L=async()=>{const J=O(),q=J?.filter(Boolean);if(!q?.length)return[];const j=(await vj(q))?.data;return J.map(te=>te&&j?.[te]||null)},O=()=>o.value?.[h.value]?.discounts?.map(j=>j?a.value?.[j]:null)||[],k=()=>o.value?.[h.value]?.products?.map(G=>i.value?.paddle?.pro?.[G]?.[s.value])||[],ee=async()=>new Promise(J=>{if(e.value!=="loading")J();else{const q=wt(e,()=>{e.value!=="loading"&&(q(),J())})}});return{paywallStructure:o,iadCatalog:a,iapCatalog:i,currentPaywallSource:h,defaultPaywallSource:m,secretOfferPaywallSource:D,pricingTier:s,prices:d,discounts:p,configState:e,currentCurrency:g,currencySymbol:v,currentLayout:w,productNames:u,paywallState:r,checkoutSettings:l,selectedProductIndex:I,initialize:C,initializeConfig:P,waitTillConfigLoaded:ee,getDiscountIds:O,getPriceIds:k,setSelectedProductIndex:b}}),qR=860,GR=()=>{const n=wr(),{width:e}=mU();return z(()=>{const r=n.checkoutSettings??Ur.checkout_settings;return(e.value>qR?r?.desktop:r?.mobile)??{}})},wj=()=>{const e=wr().checkoutSettings??Ur.checkout_settings;return((window.innerWidth>qR?e?.desktop:e?.mobile)??{}).one_page_checkout??!1},yr=()=>{const n=Vc(),e=wr(),r=Mc(),o=st(),i=r.isOfferActive,s=e.paywallStructure?.[e.currentPaywallSource],a={paywall_id:n.paywallId,source:n.source,flow:e.currentPaywallSource,previous_action:n.previousAction,offersSecretOffer:i?"1":"0",one_page_checkout:wj(),show_discount_amount:s?.show_discount_amount??!1,customerId:o.userData?.paddleCustomerId??null,paddleCustomerEmail:o.userData?.paddleCustomerEmail??null,userId:o.user?.uid??null};return i&&(a.variant=r.version),a},bj=n=>{const r=wr().prices||[];return typeof n=="number"?n:r.findIndex(o=>o?.price?.id===n)},Go=n=>{const e=wr(),r=e.prices||[],o=bj(n);if(o<0||!r[o]?.price)return{};const i=r[o].price,s=e.getDiscountIds(),a=e.discounts?.[o]||null;return{local_price:Os(i.unit_amount,i.currency),discount_id:s?.[o]||null,discount_percentage:a?.amount??null}},T0=()=>
3746{const n=wr();return{discount_ids:n.getDiscountIds()||[],discount_percentages:(n.discounts||[]).map(e=>e?.amount??null)}},yl=()=>{const n=st();return{interval:(n.userData?.subscription??null)?.interval??null,customerId:n.userData?.paddleCustomerId??null,paddleCustomerEmail:n.userData?.paddleCustomerEmail??null,userId:n.user?.uid??null}},Yd={EVENT:"/log/web",USER:"/user/web",CONFIG:"/web"},ea={STAGING:"STAGING",PRODUCTION:"PRODUCTION"},fc={staging:"https://gateway.staging.cerebroapi.com",production:"https://gateway.cerebroapi.com"},u_={staging:"https://config-api.staging.cdwapi.com",production:"https://config-api.cdwapi.com"},$l={debug:!1,batchSize:10,flushInterval:5e3,maxRetries:3,environment:ea.STAGING,baseUrl:fc.staging,configUrl:u_.staging,autoInitialize:!0,enableAutoTracking:!1,autoTrackingConfig:{trackErrors:!1,trackPerformance:!1},initialTasks:{sendInitialUserEvent:!0},version:"1.0.0"};class Tj{constructor(e={}){this.debug=e.debug||!1,this.prefix=e.prefix||"[Cerebro]"}setDebug(e){this.debug=e}setPrefix(e){this.prefix=e}log(...e){this.debug&&console.log(this.prefix,...e)}warn(...e){this.debug&&console.warn(this.prefix,...e)}error(...e){this.debug&&console.error(this.prefix,...e)}info(...e){this.debug&&console.info(this.prefix,...e)}}const he=new Tj;function Aj(n){he.setDebug(n)}class Ij{constructor(e,r){this.queue=[],this.flushTimer=null,this.httpClient=e,this.flushInterval=r?.flushInterval||$l.flushInterval,this.batchSize=r?.batchSize||$l.batchSize,this.maxRetries=r?.maxRetries||$l.maxRetries,this.appId=r?.appId||"cerebro-web-sdk",this.version=r?.version||"1.0.0",this.debug=r?.debug||!1,this.startFlushTimer()}add(e){this.queue.push(e),he.log(`Added event to queue: ${e.event_name}`,e),he.log(`Queue size: ${this.queue.length}/${this.batchSize}`),this.flush()}startFlushTimer(){this.flushTimer&&clearInterval(this.flushTimer),this.flushTimer=setInterval(()=>this.flush(),this.flushInterval),he.log(`Started flush timer with interval: ${this.flushInterval}ms`)}async flush(){if(this.queue.length===0)return;he.log(`Flushing ${this.queue.length} events`);const e=this.queue.splice(0,this.batchSize),o={event_logs:e.map(i=>this.convertToLegacyEvent(i))};he.log(`Sending events to ${Yd.EVENT}:`,o);try{const i=await this.httpClient.post(Yd.EVENT,o);he.log("Events sent successfully:",i)}catch(i){he.error("Failed to send events:",i),this.queue.unshift(...e),he.log(`Events added back to queue for retry. Queue size: ${this.queue.length}`)}}convertToLegacyEvent(e){const r={user_id:e.user_id,type:"event",app_id:this.appId,version:this.version,result:e.result||"success",session_id:e.session_id,event_group:e.event_group||null,event_name:e.event_name,event_time:e.timestamp||Date.now(),duration:e.duration||null,event_category:e.event_category||null,page:e.page||"",properties:this.convertToLegacyFormat(e.properties)};return he.log("Converted event to legacy format:",r),r}destroy(){this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null,he.log("Flush timer stopped")),this.queue.length>0&&(he.log(`Flushing ${this.queue.length} remaining events before destroy`),this.flush())}convertToLegacyFormat(e){return e.map(r=>({key:r.name,value:r.value}))}}class WR{get(e){try{return typeof window<"u"&&window.localStorage?window.localStorage.getItem(e):(he.warn("LocalStorage is not available."),null)}catch(r){return he.error("LocalStorage error on get:",r),null}}set(e,r){try{typeof window<"u"&&window.localStorage?window.localStorage.setItem(e,r):he.warn("LocalStorage is not available. Cannot set item.")}catch(o){throw he.error("LocalStorage error on set:",o),o}}remove(e){try{typeof window<"u"&&window.localStorage?window.localStorage.removeItem(e):he.warn("LocalStorage is not available. Cannot remove item.")}catch(r){throw he.error("LocalStorage error on remove:",r),r}}}const os={UTM_PARAMS:"cerebro_utm",TRACKER_NAME:"cdw_tracker"};class Sj{constructor(e){this.cachedAttribution=null,this.storage=e?.storage||new WR}getAttribution(){try{if(this.cachedAttribution)return this.cachedAttribution;const e=this.storage.get(os.UTM_PARAMS);if(e)try{return this.cachedAttribution=JSON.parse(e),this.cachedAttribution||{}}catch{}const r={},o=new URLSearchParams(window.location.search);for(const[s,a]of o.entries())s.startsWith("utm_")&&(r[s]=a);const i=this.getTrackerName();return i&&(r.tracker_name=i),Object.keys(r).length>0&&(this.cachedAttribution=r,this.storage.set(os.UTM_PARAMS,JSON.stringify(r))),i&&this.storage.set(os.TRACKER_NAME,i),this.cachedAttribution||{}}catch(e){return he.error("Failed to get attribution:",e),{}}}clearAttribution(){this.cachedAttribution=null,this.storage.remove(os.UTM_PARAMS),this.storage.remove(os.TRACKER_NAME)}getTrackerName(){const e=new URLSearchParams(window.location.search),r=e.get("utm_source"),o=e.get("utm_medium"),i=e.get("utm_campaign"),s=e.get("utm_term"),a=e.get("utm_content"),l=[];let c="";return(r||o)&&(r?o?c=`${r}_${o}`:c=r:o&&(c=o)),c&&l.push(c),i&&l.push(i),a&&l.push(a),s&&l.push(s),l.join("::")}getStoredTrackerName(){return this.storage.get(os.TRACKER_NAME)||""}setTrackerName(e){e&&(this.storage.set(os.TRACKER_NAME,e),this.cachedAttribution&&(this.cachedAttribution.tracker_name=e))}}class Pj{get(e){try{return typeof window<"u"&&window.sessionStorage?window.sessionStorage.getItem(e):(he.warn("SessionStorage is not available."),null)}catch(r){return he.error("SessionStorage error on get:",r),null}}set(e,r){try{typeof window<"u"&&window.sessionStorage?window.sessionStorage.setItem(e,r):he.warn("SessionStorage is not available. Cannot set item.")}catch(o){throw he.error("SessionStorage error on set:",o),o}}remove(e){try{typeof window<"u"&&window.sessionStorage?window.sessionStorage.removeItem(e):he.warn("SessionStorage is not available. Cannot remove item.")}catch(r){throw he.error("SessionStorage error on remove:",r),r}}}const uh={SESSION_ID:"cdw_sid"};class A0{constructor(e={}){this.storage=e.storage||new Pj,this.cerebroId=e.cerebroId}static async _sha256(e){if(typeof crypto>"u"||!crypto.subtle)throw new Error("Web Crypto API (crypto.subtle) is not available in this environment.");const r=new TextEncoder().encode(e),o=await crypto.subtle.digest("SHA-256",r);return Array.from(new Uint8Array(o)).map(a=>a.toString(16).padStart(2,"0")).join("")}async _generateSessionId(e,r=Date.now()){return await A0._sha256(r.toString()+e)}setCerebroId(e){this.cerebroId=e}async getCurrentSession(){if(!this.cerebroId)throw new Error("CerebroId must be set before getting the session.");const e=uh.SESSION_ID;let r=this.storage.get(e);
3746if(!r||r==="undefined")try{r=await this._generateSessionId(this.cerebroId),this.setSessionId(r)}catch(o){throw he.error("Failed to generate or set session ID:",o),new Error(`Failed to initialize session: ${o instanceof Error?o.message:String(o)}`)}return r}setSessionId(e){this.storage.set(uh.SESSION_ID,e)}async updateSession(){await this.getCurrentSession()}clearSession(){this.storage.remove(uh.SESSION_ID)}}const bb={_Rixits:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-",fromNumber(n){if(Number.isNaN(Number(n))||n===null||n===Number.POSITIVE_INFINITY)throw new Error("The input is not valid");if(n<0)throw new Error("Can't represent negative numbers now");let e,r=Math.floor(n),o="";for(;r!==0;)e=r%64,o=this._Rixits.charAt(e)+o,r=Math.floor(r/64);return o},toNumber(n){let e=0;const r=n.split("");for(let o=0;o<r.length;o++)e=e*64+this._Rixits.indexOf(r[o]);return e}},Hs={CEREBRO_ID:"cdw_cid"};class Rj{constructor(e){this.currentCerebroId=null,this.storage=e?.storage||new WR}identify(e){this.currentCerebroId=e;try{this.storage.set(Hs.CEREBRO_ID,e)}catch(r){he.error("Error saving identified user ID:",r)}}setCerebroId(e){this.currentCerebroId=e;try{this.storage.set(Hs.CEREBRO_ID,e)}catch(r){he.error("Error saving set user ID:",r)}}getCurrentUserId(){if(this.currentCerebroId)return this.currentCerebroId;try{const e=this.storage.get(Hs.CEREBRO_ID);if(e)return this.currentCerebroId=e,e}catch(e){he.error("Error getting current user ID from storage:",e)}return null}clearUser(){this.currentCerebroId=null;try{this.storage.remove(Hs.CEREBRO_ID)}catch(e){he.error("Error removing user ID from storage:",e)}}generateCerebroId(){const e=Date.now(),r=Math.floor(Math.random()*258047)+4096;return`web_${bb.fromNumber(r)}${bb.fromNumber(e)}`}getCerebroId(){if(this.currentCerebroId)return this.currentCerebroId;try{const r=this.storage.get(Hs.CEREBRO_ID);if(r)return this.currentCerebroId=r,r}catch(r){he.error("Error getting Cerebro ID from storage:",r)}const e=this.generateCerebroId();this.currentCerebroId=e;try{this.storage.set(Hs.CEREBRO_ID,e)}catch(r){he.error("Error saving newly generated Cerebro ID:",r)}return e}}const Cj=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google","bytespider"],Tb=function(n,e){if(!n)return!1;const r=n.toLowerCase();return Cj.concat(e||[]).some(o=>{const i=o.toLowerCase();return r.indexOf(i)!==-1})};function Oj(n,e=[]){if(he.log("Checking if likely bot..."),!n)return he.log("Navigator is undefined, returning false"),!1;const r=n.userAgent;if(he.log("User Agent:",r),r&&Tb(r,e))return he.log("Blocked UA detected:",r),!0;try{const o=n.userAgentData;if(he.log("User Agent Data:",o),o?.brands&&o.brands.some(i=>Tb(i?.brand,e)))return he.log("uaData.brands",JSON.stringify(o.brands,null,2)),he.log("Blocked brand detected in UA data"),!0}catch(o){he.log("Error accessing UA data:",o)}return he.log("Navigator webdriver:",n.webdriver),!!n.webdriver}class kj{constructor(e){this.cryptoJsInstance=null,this.webCryptoAvailable=!1,e.baseUrl?this.baseUrl=e.baseUrl:e.environment===ea.PRODUCTION?this.baseUrl=fc.production:this.baseUrl=fc.staging,this.apiKey=e.apiKey,this.appId=e.appId,this.passphrase=e.passphrase,this.debug=e.debug||!1,this.blockedUserAgents=e.blockedUserAgents||[],this.webCryptoAvailable=typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof crypto.subtle.importKey=="function",he.log(`HttpClient initialized with baseUrl: ${this.baseUrl}`),he.log(`Web Crypto API available: ${this.webCryptoAvailable}`)}async loadCryptoJS(){if(this.cryptoJsInstance)return this.cryptoJsInstance;try{if(typeof window<"u"&&window.CryptoJS)return this.cryptoJsInstance=window.CryptoJS,he.log("Using CryptoJS from global scope"),this.cryptoJsInstance;try{const e=await _(()=>import("./uppd9Dey.js").then(r=>r.i),__vite__mapDeps([40,41]),import.meta.url);return this.cryptoJsInstance=e.default||e,he.log("CryptoJS dynamically imported"),this.cryptoJsInstance}catch{throw new Error("[Cerebro] Failed to load CryptoJS. Please install crypto-js package or include it via CDN.")}}catch(e){throw he.error("Error loading CryptoJS:",e),e}}async createSecureSignature(e){if(this.webCryptoAvailable)try{return await this.createSignatureWebCryptoApi(e)}catch(r){he.warn("Web Crypto API failed, falling back to CryptoJS:",r)}try{const r=await this.loadCryptoJS();return this.createSignatureWithCryptoJS(e,r)}catch(r){throw he.error("Failed to create signature:",r),new Error("[Cerebro] Could not create request signature. Signature creation failed with both Web Crypto API and CryptoJS.")}}createSignatureWithCryptoJS(e,r){const o=r.HmacSHA256(e,this.passphrase||"").toString(r.enc.Hex);return he.log(`Created signature with CryptoJS for: ${e}`),o}async createSignatureWebCryptoApi(e){const r=new TextEncoder,o=r.encode(this.passphrase||""),i=r.encode(e),s=await crypto.subtle.importKey("raw",o,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),a=await crypto.subtle.sign("HMAC",s,i),l=Array.from(new Uint8Array(a)).map(c=>c.toString(16).padStart(2,"0")).join("");return he.log(`Created signature with Web Crypto API for: ${e}`),l}async post(e,r){const o=Date.now(),i={"Content-Type":"application/json",authorization:this.apiKey};if(this.passphrase){const a=[JSON.stringify(r),this.apiKey,o,e].join("_"),l=await this.createSecureSignature(a);i.ts=o.toString(),i.rs=l}else he.warn("No passphrase provided for signature creation. Requests may be rejected.");
3746if(this._isLikelyBot())throw he.warn("Request blocked due to likely bot activity."),new Error("Request blocked due to likely bot activity.");const s=`${this.baseUrl}${e}`;he.log(`Sending POST request to: ${s}`),he.log("Request headers:",i),he.log("Request body:",r);try{const a=await fetch(s,{method:"POST",headers:i,body:JSON.stringify(r)});if(!a.ok){const c=`HTTP error! status: ${a.status}`;throw he.error("Request failed:",c),new Error(c)}const l=await a.json();return he.log("Response received:",l),l}catch(a){throw he.error("Request error:",a),a}}async get(e){const r=`${e}`;return await fetch(r)}_isLikelyBot(){return Oj(navigator,this.blockedUserAgents)}}class Lj{constructor(e){this.analytics=e,this.errorHandler=null,this.rejectionHandler=null,this.popStateHandler=null,this.loadHandler=null,this.lastUrl=null,this.initialized=!1,this.config={trackPageViews:!0,trackErrors:!0,trackPerformance:!0},this.originalPushState=history.pushState,this.originalReplaceState=history.replaceState}initialize(e){this.initialized&&this.cleanup(),this.config={...this.config,...e},this.config.trackPageViews&&(this.setupPageTracking(),setTimeout(()=>{this.lastUrl!==window.location.href&&this.trackPageView()},50)),this.config.trackErrors&&this.setupErrorTracking(),this.config.trackPerformance&&this.setupPerformanceTracking(),this.initialized=!0}cleanup(){history.pushState=this.originalPushState,history.replaceState=this.originalReplaceState,this.popStateHandler&&(window.removeEventListener("popstate",this.popStateHandler),this.popStateHandler=null),this.errorHandler&&(window.removeEventListener("error",this.errorHandler),this.errorHandler=null),this.rejectionHandler&&(window.removeEventListener("unhandledrejection",this.rejectionHandler),this.rejectionHandler=null),this.loadHandler&&(window.removeEventListener("load",this.loadHandler),this.loadHandler=null),this.lastUrl=null,this.initialized=!1}setupPageTracking(){this.popStateHandler=()=>{window.location.href!==this.lastUrl&&this.trackPageView()},window.addEventListener("popstate",this.popStateHandler),history.pushState=(e,r,o)=>{this.originalPushState.apply(history,[e,r,o]),window.location.href!==this.lastUrl&&this.trackPageView()},history.replaceState=(e,r,o)=>{this.originalReplaceState.apply(history,[e,r,o]),window.location.href!==this.lastUrl&&this.trackPageView()}}setupErrorTracking(){this.errorHandler=e=>{this.analytics.sendEvent({eventName:"error_occurred",event_category:"qa",properties:{error_type:"js_error",error_message:e.message,error_filename:e.filename,error_lineno:e.lineno,error_colno:e.colno,error_stack:e.error?.stack}})},window.addEventListener("error",this.errorHandler),this.rejectionHandler=e=>{this.analytics.sendEvent({eventName:"error_occurred",event_category:"qa",properties:{error_type:"unhandled_rejection",error_message:e.reason?.message||"Unhandled Promise Rejection",error_stack:e.reason?.stack}})},window.addEventListener("unhandledrejection",this.rejectionHandler)}setupPerformanceTracking(){"performance"in window&&(this.loadHandler=()=>{setTimeout(()=>{this.trackNavigationTiming(),this.trackResourceTiming(),this.trackWebVitals(),this.trackMemoryUsage()},0)},window.addEventListener("load",this.loadHandler))}trackNavigationTiming(){if(window.performance&&window.performance.getEntriesByType)try{const e=window.performance.getEntriesByType("navigation");if(e.length>0){const r=e[0],o=r.responseStart-r.startTime,i=window.performance.getEntriesByName("first-contentful-paint")[0];this.analytics.sendEvent({eventName:"performance_metrics",event_category:"performance",properties:{dns_lookup_time:r.domainLookupEnd-r.domainLookupStart,tcp_connect_time:r.connectEnd-r.connectStart,request_time:r.responseStart-r.requestStart,response_time:r.responseEnd-r.responseStart,dom_processing_time:r.domContentLoadedEventEnd-r.domContentLoadedEventStart,load_event_time:r.loadEventEnd-r.loadEventStart,total_load_time:r.loadEventEnd-r.fetchStart,rating:this.getRating("ttfb",o)}}),i&&this.analytics.sendEvent({eventName:"performance_metrics",event_category:"performance",properties:{rating:this.getRating("fcp",i.startTime)}}),new PerformanceObserver(a=>{const l=a.getEntries(),c=l[l.length-1];this.analytics.sendEvent({eventName:"performance_metrics",event_category:"performance",properties:{rating:this.getRating("lcp",c.startTime)}})}).observe({type:"largest-contentful-paint",buffered:!0})}}catch(e){he.error("Error tracking navigation timing",e)}}trackResourceTiming(){if(window.performance&&window.performance.getEntriesByType)try{window.performance.getEntriesByType("resource").forEach(r=>{["script","css","img"].includes(r.initiatorType)&&this.analytics.sendEvent({eventName:"resource_performance",event_category:"performance",properties:{name:r.name,duration:Math.round(r.duration),size:r.transferSize||0,type:r.initiatorType}})})}catch(e){he.error("Error tracking resource timing",e)}}trackWebVitals(){try{new PerformanceObserver(o=>
3746{o.getEntries().forEach(s=>{s.hadRecentInput||this.analytics.sendEvent({eventName:"performance_metrics",event_category:"performance",properties:{rating:this.getRating("cls",s.value)}})})}).observe({type:"layout-shift",buffered:!0});const r=new PerformanceObserver(o=>{const i=o.getEntries()[0];this.analytics.sendEvent({eventName:"performance_metrics",event_category:"performance",properties:{rating:this.getRating("fid",i.processingStart-i.startTime)}}),r.disconnect()});r.observe({type:"first-input",buffered:!0})}catch(e){he.error("Error tracking web vitals",e)}}trackMemoryUsage(){if("performance"in window&&"memory"in window.performance)try{const e=performance.memory;this.analytics.sendEvent({eventName:"memory_usage",event_category:"performance",properties:{total_js_heap_size:Math.round(e.totalJSHeapSize/1048576),used_js_heap_size:Math.round(e.usedJSHeapSize/1048576),js_heap_size_limit:Math.round(e.jsHeapSizeLimit/1048576)}})}catch(e){he.error("Error tracking memory usage",e)}}getRating(e,r){switch(e){case"LCP":return r<=2500?"good":r<=4e3?"needs-improvement":"poor";case"FID":return r<=100?"good":r<=300?"needs-improvement":"poor";case"CLS":return r<=.1?"good":r<=.25?"needs-improvement":"poor";default:return"unknown"}}trackPageView(){const e=window.location.href;this.lastUrl=e,this.analytics.sendEvent({eventName:"web_page_open",eventGroup:"Web",page:window.location.pathname})}}function Dj(n){if(!n||Object.keys(n).length===0)return[];const e=[];return Object.entries(n).forEach(([r,o])=>{let i="string_value";typeof o=="number"?Number.isInteger(o)?i="int_value":i="float_value":o=String(o),e.push({key:r,value:{[i]:o}})}),e}class $t{constructor(){this.debug=!1,this.initialized=!1,this.sdkVersion="0.0.10"}async initialize(e){if(this.initialized)return;if(!e.apiKey)throw new Error("[Cerebro] API key is required");if(!e.appId)throw new Error("[Cerebro] App ID is required");if(!e.passphrase)throw new Error("[Cerebro] Passphrase is required for secure API communication");this.config={...$l,...e},this.debug=this.config.debug||!1,he.log(`SDK Version: ${this.sdkVersion}, App Version: ${this.config.version||"1.0.0"}`),this.httpClient=new kj({...this.config}),this.eventQueue=new Ij(this.httpClient,{flushInterval:this.config.flushInterval,batchSize:this.config.batchSize,appId:this.config.appId,version:this.config.version||"1.0.0",debug:this.debug}),this.userManager=new Rj({});const r=this.userManager.getCerebroId();this.sessionManager=new A0({cerebroId:r}),this.marketingManager=new Sj({}),this.initialized=!0,this.config.initialTasks?.sendInitialUserEvent!==!1&&(he.log("Sending initial user event for identification"),await this.sendUserEvent()),this.autoTracker=new Lj(this),he.log("Initialized with config:",this.config),setTimeout(()=>{const i={...this.config.autoTrackingConfig,trackPageViews:this.config.autoTrackingConfig?.trackPageViews!==!1};this.autoTracker.initialize(i),this.config.enableAutoTracking?he.log("Full auto tracking enabled"):he.log("Only page view tracking enabled, other auto tracking disabled")},0)}static getInstance(){return $t.instance||($t.instance=new $t),$t.instance}ensureInitialized(){if(!this.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.")}async sendEvent(e){this.ensureInitialized();const{eventName:r,properties:o,eventGroup:i,event_category:s,page:a}=e,l=i??(o&&"event_group"in o?o.event_group:void 0),c=this.marketingManager.getAttribution(),u=await this.sessionManager.getCurrentSession(),d={...this.config.globalProperties,...this.getDeviceProperties(),...o,...c,cerebroSdkVersion:this.sdkVersion};i&&Object.prototype.hasOwnProperty.call(d,"event_group")&&delete d.event_group;const p=Dj(d).map(m=>({name:m.key,value:m.value})),h={event_name:r,properties:p,timestamp:Date.now(),page:a||this.getCurrentPage(),user_id:this.userManager.getCurrentUserId()||void 0,session_id:u||void 0};l&&(h.event_group=l),s&&(h.event_category=s),e.result&&(h.result=e.result),this.eventQueue.add(h),he.log(`Tracked event: ${r}`,h)}getDeviceProperties(){const r=(()=>{let s="Unknown OS";return navigator?.userAgent?.includes("Win")&&(s="Windows"),navigator?.userAgent?.includes("Mac")&&(s="Mac OS"),navigator?.userAgent?.includes("Linux")&&(s="Linux"),navigator?.userAgent?.includes("Android")&&(s="Android"),navigator?.userAgent?.includes("like Mac")&&(s="iOS"),s})(),o=navigator.userAgent;return{screen_size:`${screen.width} x ${screen.height}`,viewport_size:`${window.innerWidth} x ${window.innerHeight}`,user_agent:o,operating_system:r,is_direct:!document.referrer,referrer:document.referrer,browser_language:navigator.language,platform:r==="iOS"||r==="Android"?"mobile":"desktop",browser:this.getBrowserNameFromUserAgent(navigator.userAgent)}}getBrowserNameFromUserAgent(e){return e.indexOf("Opera")!=-1||e.indexOf("OPR")!=-1?"Opera":e.indexOf("Edg")!=-1?"E
3746dge":e.indexOf("Chrome")!=-1||window.chrome||e.indexOf("CriOS")!=-1?"Chrome":e.indexOf("Firefox")!=-1||e.indexOf("FxiOS")!=-1?"Firefox":e.indexOf("Safari")!=-1?"Safari":e.indexOf("MSIE")!=-1||document.documentMode?"IE":"unknown"}getCurrentPage(){return window.location.pathname}async sendUserEvent(e){this.ensureInitialized();const r=e||{};r.user_id||(r.user_id=this.userManager.getCerebroId()),r.operating_system=this.getDeviceProperties().operating_system;const o=this.marketingManager.getAttribution();o.tracker_name&&(r.tracker_name=o.tracker_name,this.marketingManager.setTrackerName(o.tracker_name)),r.properties={...r.properties,userAgent:navigator.userAgent},r.account_id&&(r.account_id=r.account_id.toString());const i={user_id:r.user_id,app_id:this.config.appId,version:this.config.version||"1.0.0",...r};try{const s=await this.httpClient.post(Yd.USER,i);he.log("User event sent successfully:",JSON.stringify(s,null,2))}catch(s){he.error("Failed to send user event:",s)}r.account_id&&await this.sendAttributionUserEvent(r)}async sendAttributionUserEvent(e){if(!e)return;const r={...e};r.properties&&(Object.assign(r,r.properties),delete r.properties),await this.sendEvent({eventName:"user_attribution",properties:r}),he.log("Attribution event sent:",r)}setCerebroId(e){this.ensureInitialized(),this.userManager.setCerebroId(e),this.sessionManager.setCerebroId(e),he.log(`Set Cerebro ID: ${e}`)}getCerebroId(){return this.ensureInitialized(),this.userManager.getCerebroId()}async getSessionId(){return this.ensureInitialized(),this.sessionManager.getCurrentSession()}setSessionId(e){this.ensureInitialized(),this.sessionManager.setSessionId(e)}enableAutoTracking(e){if(this.ensureInitialized(),!this.autoTracker)throw new Error("[Cerebro] AutoTracker not initialized");this.config.enableAutoTracking=!0;const r={...this.config.autoTrackingConfig,...e,trackPageViews:e?.trackPageViews!==!1};this.autoTracker.initialize(r),he.log("Full auto tracking enabled")}disableAutoTracking(){if(this.ensureInitialized(),this.config.enableAutoTracking){this.config.enableAutoTracking=!1,this.autoTracker.cleanup();const e={trackPageViews:!0,trackErrors:!1,trackPerformance:!1};this.autoTracker.initialize(e),he.log("Error and performance tracking disabled, page view tracking still active")}}async getConfig(){this.ensureInitialized();const e=this.userManager.getCerebroId();he.log(`Fetching config with cerebroId: ${e}`);try{const r=`${this.config.configUrl||this.config.baseUrl}${Yd.CONFIG}?aid=${this.config.appId}&id=${e}&version=${this.config.version||"1.0.0"}&language=${navigator.language.split("-")[0]}`;he.log(`Fetching config from URL: ${r}`);const o=await this.httpClient.get(r);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);const i=await o.json();return i&&i.status&&i.status.code===200?(await this.sendEvent({eventName:"config_result",result:"1"}),he.log("Config fetched successfully:",i.payload),i.payload):(await this.sendEvent({eventName:"config_result",result:"0"}),he.log("Config fetch failed:",i),{configFailed:!0})}catch(r){return he.error("Error fetching config:",r),await this.sendEvent({eventName:"config_result",result:"0"}),{configFailed:!0}}}getSDKVersion(){return this.sdkVersion}getTrackerName(){return this.ensureInitialized(),this.marketingManager.getStoredTrackerName()}}function xj(){if(he.log("autoInitialize called window.cerebroConfig",window.cerebroConfig),typeof window<"u"&&window.cerebroConfig)try{const n=window.cerebroConfig;n.apiKey&&n.appId&&n.passphrase&&n.environment?(Jd(n),n.debug&&he.log("Auto-initialized from window.cerebroConfig")):he.warn("Auto-initialization failed: missing required parameters in window.cerebroConfig")}catch(n){he.error("Auto-initialization failed:",n)}else he.log("No window.cerebroConfig found.");Nj()}function Nj(){if(typeof window>"u"||!window.CerebroAnalytics)return;const n=$t.getInstance();if(Array.isArray(window.CerebroAnalytics.cq)&&window.CerebroAnalytics.cq.length>0){he.log(`Processing ${window.CerebroAnalytics.cq.length} queued commands`);const e=window.CerebroAnalytics.cq.findIndex(o=>Array.isArray(o)&&o[0]==="initialize");if(e!==-1){const o=window.CerebroAnalytics.cq.splice(e,1)[0];Array.isArray(o[1])&&o[1].length>0&&Jd(o[1][0])}const r=window.CerebroAnalytics.cq.slice();window.CerebroAnalytics.cq=[];for(const o of r)if(Array.isArray(o)&&o.length>=2){const i=o[0],s=o[1];try{switch(i){case"initialize":break;case"sendEvent":s.length>0&&d_(s[0]);break;case"sendUserEvent":__(s.length>0?s[0]:void 0);break;case"setCerebroId":s.length>0&&p_(s[0]);break;case"getCerebroId":h_();break;case"getSessionId":Qd();break;case"setSessionId":s.length>0&&m_(s[0]);break;case"enableAutoTracking":Ab(s.length>0?s[0]:void 0);break;case"disableAutoTracking":Ib();break;case"getConfig":g_();break;case"getSDKVersion":y_();break;case"getTrackerName":f_();break;default:he.warn(`Unknown method '${i}' in command queue`)}}catch(a){he.error(`Error processing '${i}' command:`,a)}}window.CerebroAnalytics.initialize=Jd,window.CerebroAnalytics.sendEvent=d_,window.CerebroAnalytics.sendUserEvent=__,window.CerebroAnalytics.setCerebroId=p_,window.CerebroAnalytics.getCerebroId=h_,window.CerebroAnalytics.get
3746SessionId=Qd,window.CerebroAnalytics.setSessionId=m_,window.CerebroAnalytics.enableAutoTracking=Ab,window.CerebroAnalytics.disableAutoTracking=Ib,window.CerebroAnalytics.getConfig=g_,window.CerebroAnalytics.isInitialized=I0,window.CerebroAnalytics.getSDKVersion=y_,window.CerebroAnalytics.getTrackerName=f_,window.CerebroAnalytics.analytics=n,window.CerebroAnalytics.initialized=!0,window.CerebroAnalytics.initializing=!1,he.log("Command queue processed, real methods installed")}}typeof window<"u"&&setTimeout(()=>{const n=window.CerebroAnalytics?.cq;he.log("processCommandQueue beofere initialization: cq:",n),(window.cerebroConfig?.autoInitialize??$l.autoInitialize)&&xj()},0);function Jd(n){he.log("initializing with config",n),n.debug!==void 0&&Aj(n.debug);const e=$t.getInstance();if(e.initialized)return n.debug&&he.warn("SDK already initialized. Ignoring repeated initialization call."),e;const r=typeof n.environment=="string"?n.environment==="PRODUCTION"?ea.PRODUCTION:ea.STAGING:n.environment,o=r===ea.PRODUCTION?fc.production:fc.staging,i=r===ea.PRODUCTION?u_.production:u_.staging,s={...n,environment:r,baseUrl:o,configUrl:i};return e.initialize(s),e}function d_(n){return $t.getInstance().sendEvent(n)}function f_(){return $t.getInstance().getTrackerName()}function p_(n){const e=$t.getInstance();if(!e.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");e.setCerebroId(n)}function h_(){const n=$t.getInstance();if(!n.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");return n.getCerebroId()}async function Qd(){const n=$t.getInstance();if(!n.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");return n.getSessionId()}function m_(n){const e=$t.getInstance();if(!e.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");e.setSessionId(n)}function __(n){return $t.getInstance().sendUserEvent(n)}function Ab(n){const e=$t.getInstance();if(!e.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");return e.enableAutoTracking(n)}function Ib(){const n=$t.getInstance();if(!n.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");return n.disableAutoTracking()}function g_(){const n=$t.getInstance();if(!n.initialized)throw new Error("[Cerebro] SDK not initialized. Call initialize() with config first.");return n.getConfig()}function I0(){return!!$t.getInstance().initialized}$t.getInstance();function y_(){return $t.getInstance().getSDKVersion()}const Vj=async()=>{if(I0())return await Qd()};function Mj(n,e=n.getCurrentLanguage(),r=n.getCurrentDirection()){const o={htmlAttrs:{},link:[],meta:[]};if(n.dir&&(o.htmlAttrs.dir=r),n.lang&&e&&(o.htmlAttrs.lang=e),n.seo){const i=Uj(n);o.link=o.link.concat(i,jj(n)),o.meta=o.meta.concat($j(n),zj(n),Hj(n,n.locales.map(s=>s.language||s.code)))}return o}function Fj(n){const e=new Map;for(const r of n){if(!r.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[o,i]=r.language.split("-");o&&i&&(r.isCatchallLocale||!e.has(o))&&e.set(o,r),e.set(r.language,r)}return e}function Uj(n){if(!n.hreflangLinks)return[];const e=[],r=Fj(n.locales);for(const[o,i]of r.entries()){const s=Bj(o,i,n);s&&(e.push(s),n.defaultLocale&&n.defaultLocale===i.code&&e[0].hreflang!=="x-default"&&e.unshift({[n.key]:"i18n-xd",rel:"alternate",href:s.href,hreflang:"x-default"}))}return e}function Bj(n,e,r,o=r.strictCanonicals?r.getRouteWithoutQuery():void 0){const i=r.getLocalizedRoute(e.code,o);if(!i)return;const s=_f(Er(i)?i:Lr(r.baseUrl,i),r.strictCanonicals?YR(r):{});return{[r.key]:`i18n-alt-${n}`,rel:"alternate",href:s,hreflang:n}}function KR(n,e=n.getCurrentRoute()){const r=n.getLocaleRoute(Object.assign({},e,{path:void 0,name:n.getRouteBaseName(e)}));return r?_f(Lr(n.baseUrl,r.path),YR(n)):""}function jj(n,e=KR(n)){return e?[{[n.key]:"i18n-can",rel:"canonical",href:e}]:[]}function YR(n,e=n.getCurrentRoute()){const o=n.getLocaleRoute(Object.assign({},e,{path:void 0,name:n.getRouteBaseName(e)}))?.query??{},i={};for(const s of n.canonicalQueries.filter(a=>a in o)){i[s]??=[];for(const a of qj(o[s]))i[s].push(a||"")}return i}function $j(n,e=KR(n)){return e?[{[n.key]:"i18n-og-url",property:"og:url",content:e}]:[]}function zj(n,e=n.getCurrentLanguage()){return e?[{[n.key]:"i18n-og",property:"og:locale",content:JR(e)}]:[]}function Hj(n,e,r=n.getCurrentLanguage()){return e.filter(i=>i&&i!==r).map(i=>({[n.key]:`i18n-og-alt-${i}`,property:"og:locale:alternate",content:JR(i)}))}function JR(n=""){return n.replace(/-/g,"_")}function qj(n){return Array.isArray(n)?n:[n]}
3746function Xd(n,e,r=n.getLocale()){if(Te(e)&&Er(e,{acceptRelative:!0}))return e;try{return XR(n,e,r).fullPath}catch{return""}}function QR(n,e,r=n.getLocale()){try{return XR(n,e,r)}catch{return}}function Gj(n){if(!Te(n))return xt({},n);if(n[0]==="/"){const{pathname:e,search:r,hash:o}=im(n);return{path:e,query:mf(r),hash:o}}return{name:n}}function XR(n,e,r){const o=Gj(e),i=n.router.resolve(n.resolveLocalizedRouteObject(o,r));return i.name?i:n.router.resolve(e)}function S0(n,e,r=n.router.currentRoute.value){const o=n.getRouteBaseName(r);if(!o)return"";const i={name:o,params:xt({},r.params,n.getLocalizedDynamicParams(e)),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},s=Xd(n,i,e);return n.afterSwitchLocalePath(s,e)}function Wj(n,e,r=n.getLocale(),o=n.getLocales(),i=n.getBaseUrl()){const s=o.find(l=>l.code===r)||{},a=typeof e.seo=="object"&&e.seo?.canonicalQueries||[];return i||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{...e,key:"id",locales:o,baseUrl:i,canonicalQueries:a,hreflangLinks:n.routingOptions.hreflangLinks,defaultLocale:n.routingOptions.defaultLocale,strictCanonicals:n.routingOptions.strictCanonicals,getRouteBaseName:n.getRouteBaseName,getCurrentRoute:()=>n.router.currentRoute.value,getCurrentLanguage:()=>s.language,getCurrentDirection:()=>s.dir||"ltr",getLocaleRoute:l=>QR(n,l),getLocalizedRoute:(l,c)=>S0(n,l,c),getRouteWithoutQuery:()=>{try{return xt({},n.router.resolve({query:{}}),{meta:n.router.currentRoute.value.meta})}catch{return}}}}function Kj(n,{dir:e=!0,lang:r=!0,seo:o=!0}){return Mj(Wj(n,{dir:e,lang:r,seo:o}))}function Yj(n=0){return e=>{const i=(typeof e=="string"?e:e.pathname).split("?")[0].split("/");return i[0]===""&&i.shift(),i.length>n&&i[n]||""}}const Qf="___",Jj="default",TX=Qf+Jj;function ZR(n){return typeof n=="string"?n:n!=null?n.toString():""}function dh(n){return ZR(typeof n=="object"?n?.name:n).split(Qf)[0]}function Qj(n,e,r){return n+Qf+e}const Xj=Yj(0),eC=n=>Xj(n),Zj=n=>n.split(Qf).at(1)??"";function e$(n){return String(typeof n!="object"?n:n?.name||n?.path||"")}function t$(n){const e=e$(n);return e[0]==="/"?eC(e):Zj(e)}function n$(n){return(e,r)=>Qj(ZR(e),r)}function r$(n){return e=>n.resolve(e)}const pc=["en","es","pt","de","fr","it","pl","ru","ro","tr","he","zh","vi","ja","ko","id","th"],Zd={en:[{key:"locale_en_46json_0b63539c",load:()=>_(()=>import("./CPtDKfUV.js"),[],import.meta.url),cache:!0}],es:[{key:"locale_es_46json_37bbce7d",load:()=>_(()=>import("./BJX8y7OR.js"),[],import.meta.url),cache:!0}],pt:[{key:"locale_pt_46json_9f5e1850",load:()=>_(()=>import("./BP0L_f8s.js"),[],import.meta.url),cache:!0}],de:[{key:"locale_de_46json_165a3efe",load:()=>_(()=>import("./PDZMCymx.js"),[],import.meta.url),cache:!0}],fr:[{key:"locale_fr_46json_3676bfd9",load:()=>_(()=>import("./DWRPhMcF.js"),[],import.meta.url),cache:!0}],it:[{key:"locale_it_46json_2302d5d6",load:()=>_(()=>import("./Bg4lNOIu.js"),[],import.meta.url),cache:!0}],pl:[{key:"locale_pl_46json_8c1c25df",load:()=>_(()=>import("./wY9AQoX8.js"),[],import.meta.url),cache:!0}],ru:[{key:"locale_ru_46json_f9c37154",load:()=>_(()=>import("./1LtOd8vU.js"),[],import.meta.url),cache:!0}],ro:[{key:"locale_ro_46json_ac7b2969",load:()=>_(()=>import("./CPflGsKo.js"),[],import.meta.url),cache:!0}],tr:[{key:"locale_tr_46json_fd3b0a61",load:()=>_(()=>import("./C6pJ0ntd.js"),[],import.meta.url),cache:!0}],he:[{key:"locale_he_46json_dc51536f",load:()=>_(()=>import("./BO44ORF_.js"),[],import.meta.url),cache:!0}],zh:[{key:"locale_zh_46json_eb6b6151",load:()=>_(()=>import("./B6014VW5.js"),[],import.meta.url),cache:!0}],vi:[{key:"locale_vi_46json_d7898ae4",load:()=>_(()=>import("./CjYd1n3D.js"),[],import.meta.url),cache:!0}],ja:[{key:"locale_ja_46json_fd6e2db5",load:()=>_(()=>import("./7RI3OXQX.js"),[],import.meta.url),cache:!0}],ko:[{key:"locale_ko_46json_99c519a6",load:()=>_(()=>import("./BDnUTUSA.js"),[],import.meta.url),cache:!0}],id:[{key:"locale_id_46json_6838c3cc",load:()=>_(()=>import("./CKKpkBrA.js"),[],import.meta.url),cache:!0}],th:[{key:"locale_th_46json_1045cf04",load:()=>_(()=>import("./D4GUwiGU.js"),[],import.meta.url),cache:!0}]},o$=[],Fc=[{code:"en",language:void 0},{code:"es",language:void 0},{code:"pt",language:void 0},{code:"de",language:void 0},{code:"fr",language:void 0},{code:"it",language:void 0},{code:"pl",language:void 0},{code:"ru",language:void 0},{code:"ro",language:void 0},{code:"tr",language:void 0},{code:"he",language:void 0},{code:"zh",language:void 0},{code:"vi",language:void 0},{code:"ja",language:void 0},{code:"ko",language:void 0},{code:"id",language:void 0},{code:"th",language:void 0}];function Sb(n){return typeof n=="string"?`'${n}'`:new i$().serialize(n)}const i$=(function(){class n{#e=new Map;compare(r,o){const i=typeof r,s=typeof o;
3746return i==="string"&&s==="string"?r.localeCompare(o):i==="number"&&s==="number"?r-o:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(o,!0))}serialize(r,o){if(r===null)return"null";switch(typeof r){case"string":return o?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const o=Object.prototype.toString.call(r);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),r);const i=r.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,o){const i=this["$"+r];if(i)return i.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(r,o.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,o){const i=Array.from(o).sort((a,l)=>this.compare(a[0],l[0]));let s=`${r}{`;for(let a=0;a<i.length;a++){const[l,c]=i[a];s+=`${this.serialize(l,!0)}:${this.serialize(c)}`,a<i.length-1&&(s+=",")}return s+"}"}$object(r){let o=this.#e.get(r);return o===void 0&&(this.#e.set(r,`#${this.#e.size}`),o=this.serializeObject(r),this.#e.set(r,o)),o}$function(r){const o=Function.prototype.toString.call(r);return o.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(r){let o="[";for(let i=0;i<r.length;i++)o+=this.serialize(r[i]),i<r.length-1&&(o+=",");return o+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((o,i)=>this.compare(o,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}for(const e of["Error","RegExp","URL"])n.prototype["$"+e]=function(r){return`${e}(${r})`};for(const e of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])n.prototype["$"+e]=function(r){return`${e}[${r.join(",")}]`};for(const e of["BigInt64Array","BigUint64Array"])n.prototype["$"+e]=function(r){return`${e}[${r.join("n,")}${r.length>0?"n":""}]`};return n})();function s$(n,e){return n===e||Sb(n)===Sb(e)}const v_=globalThis.requestIdleCallback||(n=>{const e=Date.now(),r={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{n(r)},1)}),a$=globalThis.cancelIdleCallback||(n=>{clearTimeout(n)}),Xf=n=>{const e=xe();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{v_(()=>n())}):v_(()=>n())},l$="$s";function P0(...n){const e=typeof n[n.length-1]=="string"?n.pop():void 0;typeof n[0]!="string"&&n.unshift(e);const[r,o]=n;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const i=l$+r,s=xe(),a=j_(s.payload.state,i);if(a.value===void 0&&o){const l=o();if(dt(l))return s.payload.state[i]=l,l;a.value=l}return a}function tC(n,e){if(typeof n!="string")throw new TypeError("argument str must be a string");const r={},o=e||{},i=o.decode||c$;let s=0;for(;s<n.length;){const a=n.indexOf("=",s);if(a===-1)break;let l=n.indexOf(";",s);if(l===-1)l=n.length;else if(l<a){s=n.lastIndexOf(";",a-1)+1;continue}const c=n.slice(s,a).trim();if(o?.filter&&!o?.filter(c)){s=l+1;continue}if(r[c]===void 0){let u=n.slice(a+1,l).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),r[c]=u$(u,i)}s=l+1}return r}function c$(n){return n.includes("%")?decodeURIComponent(n):n}function u$(n,e){try{return e(n)}catch{return n}}const Pu=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Pb(n,e,r){const o=r||{},i=o.encode||encodeURIComponent;if(typeof i!="function")throw new TypeError("option encode is invalid");if(!Pu.test(n))throw new TypeError("argument name is invalid");const s=i(e);
3746if(s&&!Pu.test(s))throw new TypeError("argument val is invalid");let a=n+"="+s;if(o.maxAge!==void 0&&o.maxAge!==null){const l=o.maxAge-0;if(Number.isNaN(l)||!Number.isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!Pu.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Pu.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(!d$(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":{a+="; Priority=Low";break}case"medium":{a+="; Priority=Medium";break}case"high":{a+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:{a+="; SameSite=Strict";break}case"lax":{a+="; SameSite=Lax";break}case"strict":{a+="; SameSite=Strict";break}case"none":{a+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(a+="; Partitioned"),a}function d$(n){return Object.prototype.toString.call(n)==="[object Date]"||n instanceof Date}function Jr(n){if(typeof n!="object")return n;var e,r,o=Object.prototype.toString.call(n);if(o==="[object Object]"){if(n.constructor!==Object&&typeof n.constructor=="function"){r=new n.constructor;for(e in n)n.hasOwnProperty(e)&&r[e]!==n[e]&&(r[e]=Jr(n[e]))}else{r={};for(e in n)e==="__proto__"?Object.defineProperty(r,e,{value:Jr(n[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=Jr(n[e])}return r}if(o==="[object Array]"){for(e=n.length,r=Array(e);e--;)r[e]=Jr(n[e]);return r}return o==="[object Set]"?(r=new Set,n.forEach(function(i){r.add(Jr(i))}
3746),r):o==="[object Map]"?(r=new Map,n.forEach(function(i,s){r.set(Jr(s),Jr(i))}),r):o==="[object Date]"?new Date(+n):o==="[object RegExp]"?(r=new RegExp(n.source,n.flags),r.lastIndex=n.lastIndex,r):o==="[object DataView]"?new n.constructor(Jr(n.buffer)):o==="[object ArrayBuffer]"?n.slice(0):o.slice(-6)==="Array]"?new n.constructor(n):n}const f$={path:"/",watch:!0,decode:n=>Yl(decodeURIComponent(n)),encode:n=>encodeURIComponent(typeof n=="string"?n:JSON.stringify(n))},Ru=globalThis.cookieStore;function nC(n,e){const r={...f$,...e};r.filter??=u=>u===n;const o=Rb(r)||{};let i;r.maxAge!==void 0?i=r.maxAge*1e3:r.expires&&(i=r.expires.getTime()-Date.now());const s=i!==void 0&&i<=0,a=s||o[n]===void 0||o[n]===null,l=Jr(s?void 0:o[n]??r.default?.()),c=i&&!s?m$(l,i,r.watch&&r.watch!=="shallow"):me(l);{let u=null;try{!Ru&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${n}`))}catch{}const d=(g=!1)=>{!g&&(r.readonly||s$(c.value,o[n]))||(h$(n,c.value,r),o[n]=Jr(c.value),u?.postMessage({value:r.encode(c.value)}))},p=g=>{const v=g.refresh?Rb(r)?.[n]:r.decode(g.value);h=!0,c.value=v,o[n]=Jr(v),Hr(()=>{h=!1})};let h=!1;const m=!!gc();if(m&&rd(()=>{h=!0,d(),u?.close()}),Ru){const g=v=>{const w=v.changed.find(b=>b.name===n),I=v.deleted.find(b=>b.name===n);w&&p({value:w.value}),I&&p({value:null})};Ru.addEventListener("change",g),m&&rd(()=>Ru.removeEventListener("change",g))}else u&&(u.onmessage=({data:g})=>p(g));r.watch&&wt(c,()=>{h||d()},{deep:r.watch!=="shallow"}),a&&d(a)}return c}function Rb(n={}){return tC(document.cookie,n)}function p$(n,e,r={}){return e==null?Pb(n,e,{...r,maxAge:-1}):Pb(n,e,r)}function h$(n,e,r={}){document.cookie=p$(n,e,r)}const Cb=2147483647;function m$(n,e,r){let o,i,s=0;const a=r?me(n):{value:n};return gc()&&rd(()=>{i?.(),clearTimeout(o)}),sT((l,c)=>{r&&(i=wt(a,c));function u(){s=0,clearTimeout(o);const d=e-s,p=d<Cb?d:Cb;o=setTimeout(()=>{if(s+=p,s<e)return u();a.value=void 0,c()},p)}return{get(){return l(),a.value},set(d){u(),a.value=d,c()}}})}function _$(n){if(n?.__asyncLoader&&!n.__asyncResolved)return n.__asyncLoader()}async function rC(n,e=Zn()){const{path:r,matched:o}=e.resolve(n);if(!o.length||(e._routePreloaded||=new Set,e._routePreloaded.has(r)))return;const i=e._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>rC(n,e));e._routePreloaded.add(r);for(const s of o){const a=s.components?.default;if(typeof a!="function")continue;const l=Promise.resolve(a()).catch(()=>{}).finally(()=>i.splice(i.indexOf(l)));i.push(l)}await Promise.all(i)}function g$(n={}){const e=n.path||window.location.pathname;let r={};try{r=Yl(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(n.force||r?.path!==e||r?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(n.ttl??1e4)}))}catch{}if(n.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:xe().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}function oC(n){return new URL(globalThis.location.href)}const y$=(...n)=>n.find(e=>e!==void 0);function v$(n){const e=n.componentName||"NuxtLink";function r(s){return!Em&&typeof s=="string"&&s.startsWith("#")}function o(s,a,l){const c=l??n.trailingSlash;if(!s||c!=="append"&&c!=="remove")return s;if(typeof s=="string")return Cu(s,c);const u="path"in s&&s.path!==void 0?s.path:a(s).path;return{...s,name:void 0,path:Cu(u,c)}}function i(s){const a=Zn(),l=Do(),c=z(()=>!!s.target&&s.target!=="_self"),u=z(()=>{const w=s.to||s.href||"";return typeof w=="string"&&Er(w,{acceptRelative:!0})}),d=qh("RouterLink"),p=d&&typeof d!="string"?d.useLink:void 0,h=z(()=>{if(s.external)return!0;const w=s.to||s.href||"";return typeof w=="object"?!1:w===""||u.value}),m=z(()=>{const w=s.to||s.href||"";return h.value?w:o(w,a.resolve,s.trailingSlash)}),g=h.value?void 0:p?.({...s,to:m}),v=z(()=>{const w=s.trailingSlash??n.trailingSlash;if(!m.value||u.value||r(m.value))return m.value;if(h.value){const I=typeof m.value=="object"&&"path"in m.value?um(m.value):m.value,b=typeof I=="object"?a.resolve(I).href:I;return Cu(b,w)}return typeof m.value=="object"?a.resolve(m.value)?.href??null:Cu(Lr(l.app.baseURL,m.value),w)});return{to:m,hasTarget:c,isAbsoluteUrl:u,isExternal:h,href:v,isActive:g?.isActive??z(()=>m.value===a.currentRoute.value.path),isExactActive:g?.isExactActive??z(()=>m.value===a.currentRoute.value.path),route:g?.route??z(()=>a.resolve(m.value)),async navigate(w){await Kt(v.value,{replace:s.replace,external:h.value||c.value})}}}return fr({name:e,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:a}){const l=Zn(),{to:c,href:u,navigate:d,isExternal:p,hasTarget:h,isAbsoluteUrl:m}=i(s),g=oi(!1),v=me(null),w=E=>{v.value=s.custom?E?.$el?.nextElementSibling:E?.$el};function I(E){return!g.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===E:s.prefetchOn?.[E]??n.prefetchOn?.[E])&&(s.prefetch??n.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!T$()}async function b(E=xe()){if(g.value)return;g.value=!0;const P=typeof c.value=="string"?c.value:p.value?um(c.value):l.resolve(c.value).fullPath,D=p.value?new URL(P,window.location.href).href:P;await Promise.all([E.hooks.callHook("link:prefetch",D).catch(()=>{}),!p.value&&!h.value&&rC(c.value,l).catch(()=>{})])}if(I("visibility")){const E=xe();let P,D=null;br(()=>{const V=w$();Xf(()=>{P=v_(()=>{v?.value?.tagName&&(D=V.observe(v.value,async()=>{D?.(),D=null,await b(E)}))})})}),Hi(()=>{P&&a$(P),D?.(),D=null})}return()=>{if(!p.value&&!h.value&&!r(c.value)){const D={ref:w,to:c.value,activeClass:s.activeClass||n.activeClass,exactActiveClass:s.exactActiveClass||n.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
3746return s.custom||(I("interaction")&&(D.onPointerenter=b.bind(null,void 0),D.onFocus=b.bind(null,void 0)),g.value&&(D.class=s.prefetchedClass||n.prefetchedClass),D.rel=s.rel||void 0),Bt(qh("RouterLink"),D,a.default)}const E=s.target||null,P=y$(s.noRel?"":s.rel,n.externalRelAttribute,m.value||h.value?"noopener noreferrer":"")||null;return s.custom?a.default?a.default({href:u.value,navigate:d,prefetch:b,get route(){if(!u.value)return;const D=new URL(u.value,window.location.href);return{path:D.pathname,fullPath:D.pathname,get query(){return mf(D.search)},hash:D.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:P,target:E,isExternal:p.value||h.value,isActive:!1,isExactActive:!1}):null:Bt("a",{ref:v,href:u.value||null,rel:P,target:E,onClick:D=>{if(!(p.value||h.value))return D.preventDefault(),s.replace?l.replace(u.value):l.push(u.value)}},a.default?.())}}})}const E$=v$(KL);function Cu(n,e){const r=e==="append"?Ql:Jl;return Er(n)&&!n.startsWith("http")?n:r(n,!0)}function w$(){const n=xe();if(n._observer)return n._observer;let e=null;const r=new Map,o=(s,a)=>(e||=new IntersectionObserver(l=>{for(const c of l){const u=r.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&u&&u()}}),r.set(s,a),e.observe(s),()=>{r.delete(s),e?.unobserve(s),r.size===0&&(e?.disconnect(),e=null)});return n._observer={observe:o}}
3746const b$=/2g/;function T$(){const n=navigator.connection;return!!(n&&(n.saveData||b$.test(n.effectiveType)))}const iC=new Map,A$=LA((n,e,r)=>{if(e==="messages"||e==="datetimeFormats"||e==="numberFormats")return n[e]??=ut(null),ha(r,n[e]),!0});async function I$(n){const e=xe();let r={messages:ut(null)};for(const o of n){const i=await o().then(a=>a.default),s=yt(i)?await e.runWithContext(()=>i()):i;r=A$(ut(null),s,r)}return r.fallbackLocale??=!1,r}const S$=n=>Wf(n)==="[object Module]",P$=n=>S$(n)||!1;async function R$(n,e){const r=xe();try{const o=await r.runWithContext(e.load).then(i=>P$(i)?i.default:i);return yt(o)?await r.runWithContext(()=>o(n)):o}catch(o){throw new Error(`Failed loading locale (${n}): `+o.message)}}async function C$(n,e=[]){const r=xe(),o={};for(const i of e){const s=O$(i),a=s||await r.runWithContext(async()=>await R$(n,i));!s&&i.cache!==!1&&iC.set(i.key,{ttl:Date.now()+86400*1e3,value:a}),ha(a,o)}return o}function O$(n){if(n.cache===!1)return;const e=iC.get(n.key);if(e!=null)return e.ttl>Date.now()?e.value:void 0}function R0(n){return n!=null&&"global"in n&&"mode"in n?n.global:n}function Ou(n){const e=R0(n);return"__composer"in e?e.__composer:e}function Zf(n){return n?n.$config.public.i18n:Do().public.i18n}function Uc(n){const e=Zf(n).detectBrowserLanguage,r=e||{};return{...r,enabled:!!e,cookieKey:r.cookieKey||"i18n_redirected"}}function k$(n){if(n)return{path:"/"+(Te(n)?n:n.path).replace(/^\//,""),code:!Te(n)&&n.statusCode||302}}function L$(n){return Array.isArray(n)?n:[n]}function D$(n,e,r){const o=(s="")=>s.replace(/https?:\/\//,""),i=n.filter(s=>o(s.domain)===e||L$(s.domains).includes(e));return i.length<=1?i[0]?.code:i.find(s=>s.code===r)?.code||i.find(s=>s.defaultForDomains?.includes(e)??s.domainDefault)?.code}function x$(n,e,r){const o=Fc.find(s=>s.code===r),i=n?.[r]?.domain||o?.domain||o?.domains?.find(s=>s===e.host);if(i)return Er(i,{strict:!0})?i:e.protocol+"//"+i}function N$(n){const e={};for(const r of pc){const o=V$(n,[r]),i=M$(r,o);e[r]={fallbacks:o,cacheable:i}}return e}function V$(n,e){if(n===!1)return[];if(kt(n))return n;let r=[];if(Te(n))return e.every(i=>i!==n)&&r.push(n),r;const o=[...e,"default"];for(const i of o)i in n&&(r=[...r,...n[i].filter(Boolean)]);return r}function Ob(n){return Zd[n]!=null&&Zd[n].every(e=>e.cache!==!1)}function M$(n,e){return Ob(n)&&e.every(r=>Ob(r))}function F$(n){return Fc.find(e=>!!e.defaultForDomains?.includes(n))?.code}const ys=n=>pc.includes(n||""),kb=n=>ys(n)?n:void 0,sC=()=>P0("i18n:cached-locale-configs",()=>{}),aC=()=>P0("i18n:resolved-locale",()=>"");function U$({cookieCrossOrigin:n,cookieDomain:e,cookieSecure:r,cookieKey:o}){const i=new Date;return nC(o,{path:"/",readonly:!1,expires:new Date(i.setDate(i.getDate()+365)),sameSite:n?"none":"lax",domain:e||void 0,secure:n||r})}function B$(n,e,r){const o=R0(e),i=Zf(n),s=Uc(n),a=sC(),l=U$(s),c=v=>a.value[v],u=v=>x$(i.domainLocales,oC(),v),d=ez(n,i.baseUrl),p=aC(),h=async v=>{const w=c(v)?.fallbacks??[];w.includes(v)||w.push(v);for(const I of w){const b=await n.runWithContext(()=>C$(I,Zd[I]));o.mergeLocaleMessage(I,b)}},m=async v=>{if(!(v in Zd))return;const w=c(v)?.cacheable?{}:{"Cache-Control":"no-cache"},I=await $fetch(`/_i18n/HZXgwqWG/${v}/messages.json`,{headers:w});for(const b of Object.keys(I))o.mergeLocaleMessage(b,I[b])},g={vueI18n:e,initial:!0,preloaded:!1,config:i,rootRedirect:k$(i.rootRedirect),redirectStatusCode:i.redirectStatusCode??302,dynamicResourcesSSG:!1,getDefaultLocale:()=>r,getLocale:()=>Q(o.locale),setLocale:async v=>{const w=g.getLocale();v===w||!ys(v)||(dt(o.locale)?o.locale.value=v:o.locale=v,await n.callHook("i18n:localeSwitched",{newLocale:v,oldLocale:w}),p.value=v)},setLocaleSuspend:async v=>{ys(v)&&(g.vueI18n.__pendingLocale=v,g.vueI18n.__pendingLocalePromise=new Promise(w=>{g.vueI18n.__resolvePendingLocalePromise=async()=>{g.setCookieLocale(v),await g.setLocale(v),g.vueI18n.__pendingLocale=void 0,w()}}),(n.isHydrating||!g.config.skipSettingLocaleOnNavigate)&&await g.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>Q(o.locales).map(v=>Te(v)?{code:v}:v),setCookieLocale:v=>{s.useCookie&&ys(v)&&(l.value=v)},getBaseUrl:v=>Lr(v&&u(v)||d(),n.$config.app.baseURL),loadMessages:async v=>{try{return g.dynamicResourcesSSG?await h(v):await m(v)}catch(w){console.warn(`Failed to load messages for locale "${v}"`,w)}},composableCtx:void 0};return g.composableCtx=J$(g,n),g}
3746function ep(n){if(n._nuxtI18n==null)throw new Error("Nuxt I18n context has not been set up yet.");return n._nuxtI18n}function j$(n,e){const r=[];for(const[o,i]of e.entries()){const s=n.find(a=>a.language?.toLowerCase()===i.toLowerCase());if(s){r.push({code:s.code,score:1-o/e.length});break}}for(const[o,i]of e.entries()){const s=i.split("-")[0].toLowerCase(),a=n.find(l=>l.language?.split("-")[0].toLowerCase()===s);if(a){r.push({code:a.code,score:.999-o/e.length});break}}return r}function $$(n,e){return n.score===e.score?e.code.length-n.code.length:e.score-n.score}function z$(n,e){return j$(n.map(o=>({code:o.code,language:o.language||o.code})),e).sort($$).at(0)?.code??""}const H$=(n,e)=>{const r=document.cookie;return tC(r)[e]},q$=(n,e)=>t$(e),G$=n=>z$(Fc,navigator.languages),W$=(n,e,r)=>{const o=new URL(window.location.href).host,i=Fc.map(s=>({...s,domain:r[s.code]?.domain??s.domain}));return D$(i,o,eC(e))},tp=(n,e,r)=>{const o=Zf(r);return{cookie:()=>H$(n,e.cookieKey),header:()=>{},navigator:()=>G$(),host:i=>W$(n,i,o.domainLocales),route:i=>q$(n,i)}},K$=n=>!!n.path&&!n.name;function Bc(n){const e=n?._nuxtI18n?.composableCtx;if(!e)throw new Error("i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.");return e}const Y$=Ql;function J$(n,e=xe()){const r=Zn();tp(void 0,Uc(e),e);const o=n.getDefaultLocale(),i=n$();function s(u,d){u.name||=dh(r.currentRoute.value);const p=i(u.name,d);return r.hasRoute(p)&&(u.name=p),u}const a=r$(r);function l(u,d){const p=a(u,d),h=dh(p);return h?(p.name=i(h,d),p):(Z$(d,o)&&(p.path="/"+d+p.path),p.path=Y$(p.path,!0),p)}const c={router:r,_head:void 0,get head(){return this._head??=ig({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:!1},localePathPayload:Q$(),routingOptions:{defaultLocale:o,strictCanonicals:n.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!0},getLocale:n.getLocale,getLocales:n.getLocales,getBaseUrl:n.getBaseUrl,getRouteBaseName:dh,getRouteLocalizedParams:()=>r.currentRoute.value.meta.nuxtI18nInternal??{},getLocalizedDynamicParams:u=>c.getRouteLocalizedParams()?.[u],afterSwitchLocalePath:(u,d)=>(c.getRouteLocalizedParams(),u),resolveLocalizedRouteObject:(u,d)=>K$(u)?l(u,d):s(u,d)};return c}function Q$(n=xe()){const e=document.querySelector(`[data-nuxt-i18n-slp="${n._id}"]`)?.textContent;return JSON.parse(e||"{}")}async function E_(n,e){const r=ep(n),o=r.getLocale();if(e===o&&!r.initial)return e;const i={oldLocale:o,newLocale:e,initialSetup:r.initial,context:n};let s=await n.callHook("i18n:beforeLocaleSwitch",i);return s!=null,s??=i.newLocale,ys(s)&&(e=s),await r.loadMessages(e),await r.setLocaleSuspend(e),e}function X$(n,e,r){return!!(n.redirectOn==="root"&&e!=="/"||n.redirectOn==="no prefix"&&!n.alwaysRedirect&&ys(r))}function Lb(n,e){const r=Uc(n),o=tp(void 0,r,n),i=ep(n),s=Te(e)?e:e.path;function*a(){i.initial&&r.enabled&&!X$(r,s,o.route(s))&&(yield o.cookie(),yield o.header(),yield o.navigator(),yield r.fallbackLocale),yield o.route(e)}for(const l of a())if(l&&ys(l))return l;return i.getLocale()||i.getDefaultLocale()||""}function lC(n,e,r){const o=ep(n),i=Bc(n);if(e.path==="/"&&o.rootRedirect)return Kt(Xd(i,o.rootRedirect.path,r),{redirectCode:o.rootRedirect.code});if(o.vueI18n.__pendingLocale&&xe()._processingMiddleware||tp(void 0,Uc(n),n).route(e)===r)return;const a=S0(i,r,e)||Xd(i,e.fullPath,r);if(!_L(a,e.fullPath))return Kt(a,{redirectCode:o.redirectStatusCode})}function Z$(n,e){return n!==e||!1}function ez(n,e,r,o){return yt(e)?()=>e(n):()=>e??""}function Db(n=xe()){const e=Bc(n);return r=>{if(r!=null)return e.getRouteBaseName(r)||void 0}}function xs(n=xe()){const e=Bc(n);return(r,o)=>Xd(e,r,o)}function tz(n=xe()){const e=Bc(n);return(r,o)=>QR(e,r,o)}function cC(n=xe()){const e=Bc(n);return r=>S0(e,r)}const jc=pi("checkout",()=>{const n=Ka(),e=xs(),r=me("idle");return{checkoutCompletedState:r,handleCheckoutCompleted:async({currency:i,customerId:s,interval:a,paymentCardType:l,paymentMethodType:c,price:u,productId:d,productName:p,realProductId:h,source:m,ti
3746d:g})=>{const v=async()=>{const I=zi(),b=u;await Be({eventName:"purchase",properties:{...yr(),...Go(d),productIdentifier:d,realProductId:h,price:b,currency:i||"USD",source:m,paymentMethodType:c,paymentCardType:l,productName:p,interval:a},sendToGTag:!1}),qd({event:"transactionCompleted",purchase_value:b,user_id:I}),qd({event:"purchase",eventModel:{transaction_id:await Vj(),value:b,currency:i||"USD",interval:a,items:[{item_id:d,item_name:p,price:b,quantity:1}],user_id:I}})};if(r.value="validating",await dC(g)!==null){r.value="success";try{await v()}catch(I){console.error("Failed to send purchase events",I)}setTimeout(()=>{Kt(e("/home"))},1e3)}else Be({eventName:"purchase_failed",properties:{...yr(),...Go(d),productIdentifier:d,realProductId:h,productName:p,price:u,currency:i||"USD",source:m,paymentMethodType:c,paymentCardType:l,interval:a,fail_reason:"purchase_verification_failed"}}),r.value="failed";n.reInitialize()}}}),nz=n=>{const e=n*.05+.5;return n-e},rz=n=>new Promise(e=>setTimeout(e,n)),uC=()=>new Promise((n,e)=>{if(typeof window>"u"){e(new Error("Window is not available"));return}if(window.Paddle){n(window.Paddle);return}let r=0;const o=50,i=Jf(()=>{r++,window.Paddle?(clearInterval(i),n(window.Paddle)):r>=o&&(clearInterval(i),e(new Error("Paddle script failed to load")))},100)});uC().then(()=>{tn&&window.Paddle.Environment.set("sandbox")}).catch(n=>{console.error("Failed to initialize Paddle:",n)});const xb={token:"live_ce8306663b22a196b1ea3d59334",checkout:{settings:{displayMode:"inline",theme:"light",showAddTaxId:!0,locale:"en",frameTarget:"checkout-container",frameInitialHeight:"450",frameStyle:"width: 100%; min-width: 120px; background-color: transparent; border: none;"}},eventCallback:async function(n){tn&&console.log("paddle eventCallback:",n);const e=st(),r=jc(),o=Vc(),i=new URLSearchParams(window.location.search),s=o.source||i.get("source")||"";if(n.name==="checkout.loaded"||n.name==="checkout.items.updated"){const a=n.data.recurring_totals.total,l=n.data.currency_code;tn&&console.log("Today's total: "+a+" "+l),Be({eventName:"purchase_started",properties:{...yr(),...Go(n.data.items[0].price_id),source:s,productId:n.data.items[0].price_id,realProductId:n.data.items[0].product.id,productName:n.data.items[0].product.name}}),Be({eventName:"checkout_payment_element_loaded",properties:{...yr(),...Go(n.data.items[0].price_id),source:s,productId:n.data.items[0].price_id,realProductId:n.data.items[0].product.id,productName:n.data.items[0].product.name}})}else if(n.name==="checkout.payment.initiated"){e.editUserData({isPaymentInitiated:!0});const a=n.data.totals.total===0?n.data.recurring_totals.total:n.data.totals.total;Be({eventName:"subscribe_click",properties:{...yr(),...Go(n.data.items[0].price_id),source:s,productIdentifier:n.data.items[0].price_id,productId:n.data.items[0].price_id,price:a,realProductId:n.data.items[0].product.id,productName:n.data.items[0].product.name,revenue:nz(a),paymentMethodType:n.data.payment?.method_details?.card!=null?"card":n.data.payment?.method_details?.type??null,paymentCardType:n.data.payment?.method_details?.type==="card"?n.data.payment?.method_details?.card?.type:null,paymentProvider:"paddle"}})}else if(n.name==="checkout.payment.failed")e.editUserData({isPaymentInitiated:!1}),Be({eventName:"payment_failed",properties:{...yr(),...Go(n.data.items[0].price_id),source:s,productId:n.data.items[0].price_id,realProductId:n.data.items[0].product.id,productName:n.data.items[0].product.name}});else if(n.name==="checkout.completed"){e.editUserData({isPaymentInitiated:!1});const a=n.data.totals.total===0?n.data.recurring_totals.total:n.data.totals.total,l=sz(n.data.items[0].billing_cycle);r.handleCheckoutCompleted({success:!0,price:a,productId:n.data.items[0].price_id,realProductId:n.data.items[0].product.id,customerId:n.data.customer.id,tid:n.data.transaction_id,currency:n.data.currency_code,source:s,interval:l,productName:n.data.items[0].product.name,paymentMethodType:n.data.payment?.method_details?.card!=null?"card":n.data.payment?.method_details?.type??null,paymentCardType:n.data.payment?.method_details?.type==="card"?n.data.payment?.method_details?.card?.type:null,paddle:!0})}else if(n.name==="checkout.customer.created"||n.name==="checkout.customer.updated"){const a={customerId:n.data.customer.id,paddleCustomerEmail:n.data.customer.email,userId:e.user?.uid,cerebroId:zi()};(await $e({path:"/paddle/customer-update",method:"POST",data:a})).data.success!==!0?Be({eventName:"paddle_customer_update_failed",event_group:"error",properties:{...yr(),source:s,...a}}):(e.editUserData({paddleCustomerId:a.customerId,paddleCustomerEmail:a.paddleCustomerEmail}),C0())}else if(n.name==="checkout.payment.selected"){const a=n.data?.items?.[0];Be({eventName:"payment_method_selected",properties:{...yr(),...a?Go(a.price_id):{},source:s,method:n.data?.payment?.method_details?.type,productId:a?.price_id??null,realProductId:a?.product?.id??null,productName:a?.product?.name??null}})}}},C0=async n=>{await uC();const e=st(),r=n||e.userData?.paddleCustomerId;window.Paddle.Initialized?r&&(window.Paddle.Update({pwCustomer:{id:r}}),tn&&console.log("updated paddle with customer id: ",r)):r?(window.Paddle.Initialize({...xb,pwCustomer:{id:r}}),tn&&console.log("initialized paddle with customer id: ",r)):(window.Paddle.Initialize(xb),tn&&console.log("initialized paddle with default options"))},dC=async(n,e=0)=>{const r=st(),o=await _R({transactionId:n});return o?(r.editUserData({subscription:o}),r.updateFirebaseUserData(),"success"):e<20?(await rz(500),await dC(n,e+1)):(r.editUserData({subscription:null}),r.updateFirebaseUserData(),null)},oz=async(n,e)=>{try{const r=n.map(s=>({priceId:s,quantity:1})),o=await window.Paddle.PricePreview({items:r});if(tn&&console.log("Raw response from Paddle.PricePreview:",o),!o.data||!o.data.details||!o.data.details.lineItems||o.data.details.lineItems.length===0)return tn&&console.warn("Paddle response is empty or invalid. Returning []."),Be({eventName:"paywall_products_failed_to_load",eventGroup:"paywall_or_paddle_error",result:"fail",properties:{...yr(),error_reason:"paddle_empty_response",product_ids_requested:n,product_ids:n,productNames:wr().productNames,paddle_response:o?JSON.stringify(o):"empty",source:e}}),[];const i=iz(o.data.details.lineItems,o.data.currencyCode);return tn&&console.log("â
Formatted prices returned:",i),i}catch(r){return tn&&console.error("â Error in fetchPaddleProducts:",r),Be({eventName:"paywall_products_failed_to_load",eventGroup:"paywall_or_paddle_error",result:"fail",properties:{...yr(),error_reason:"paddle_api_error",product_ids_requested:n,product_ids:n,productNames:wr().productNames,error_message:r.message,paddle_error_code:r.code||"unknown",paddle_error_details:r.details?JSON.stringify(r.details):"none",source:e}}),[]}},iz=(n,e="USD")=>n.map(r=>{const o=!!r.price.billingCycle;
3746return{price:{id:r.price.id,object:"price",currency:e,nickname:r.price.name,product:r.product.id,recurring:o?{interval:r.price.billingCycle.interval,interval_count:r.price.billingCycle.frequency,trial_period_days:r.price.trialPeriod?r.price.trialPeriod.frequency:null,usage_type:"licensed"}:null,type:o?"recurring":"one_time",unit_amount:Number(r.unitTotals.total),unit_amount_decimal:r.unitTotals.total,offers_free_trial:r.price.trialPeriod!==null}}}),sz=n=>{const e=n?.frequency||0;return(e>1?e:"")+n?.interval+"ly"},Nb={password:"mail","google.com":"google","facebook.com":"facebook","apple.com":"apple","microsoft.com":"microsoft"},fC=async n=>await $e({method:"POST",path:"/user/set",data:n}),az=async()=>await $e({method:"GET",path:"/user"}),lz=n=>{const e=n?.onboardingType;if(typeof e?.value=="string"&&e.value)return e;const r=m0();if(n.initialSet)return r??{value:lU,stampedAt:new Date().toISOString(),method:ed.SIGNUP_FALLBACK};const o=hU(n.onboarding);return o?{value:o,stampedAt:new Date().toISOString(),method:ed.BACKFILL}:r?{...r,method:ed.BACKFILL}:null},cz=async(n,e,r,o)=>{qd({em:await eU(n.email)});let i=null;try{i=await az(n.uid)}catch(u){throw u.response?.status===403&&u.response.data.errorCode==="user_banned"&&(await mR(),window.location.href="/sso?banned=true"),u}const s=i&&i.data&&i.data.payload?i.data.payload:void 0;$f().catch(u=>{console.warn("Failed to prefetch CSRF token:",u)});const a=st();if(s&&!s.cerebroId)e.cerebroId=zi();else if(s&&s.cerebroId){const u=s.cerebroId,{$cerebro:d}=xe();d&&d.setCerebroId&&d.setCerebroId(u),localStorage.setItem("cdw_cid",u),a.setCerebroId(u),a.userData&&(a.userData.cerebroId=u)}if(s){Be({eventName:"user_data_result"});const u=await _R();u?(s.subscription=u,e.subscription=u):(s.subscription=null,e.subscription=null)}const l=uz(),c={email:e.email,...l};if(Mz(c).then(()=>{Be({eventName:"click_ids_set",properties:c})}).catch(()=>{Be({eventName:"click_ids_set_error",properties:c})}),s&&s.initialSet){const u=JSON.parse(localStorage.getItem("sml_sid"));u&&(e.smartlookSessions=[u.id],localStorage.removeItem("sml_sid"))}if(Zm()){const u=s?.refs||e?.refs||[];u.includes(zd)||(e.refs=[...u,zd])}if(!r){const u={user_id:zi()};s&&(u.account_id=n.uid);const d=s?lz(s):null;d&&(s.onboardingType?.value||(e.onboardingType=d),dU(d),u.properties={...u.properties,...ER(d)}),Zm()&&(u.properties={...u.properties,...BP}),await hC(u),await fC({...e}),s&&s.paddleCustomerId&&C0(s.paddleCustomerId)}return s},uz=()=>{const n={gclid:vl("_p2s_gcl")||localStorage.getItem("_p2s_gcl"),fbc:vl("_fbc")||localStorage.getItem("_fbc"),fbp:vl("_fbp")||localStorage.getItem("_fbp"),ttclid:vl("ttclid")||localStorage.getItem("ttclid"),ttp:vl("_ttp")||localStorage.getItem("_ttp"),ua:navigator.userAgent},e={};for(const r in n)n[r]&&(e[r]=n[r]);return e},vl=n=>{const e=n+"=",r=document.cookie.split(";");for(let o of r)if(o=o.trim(),o.startsWith(e))return o.substring(e.length);return null},st=pi("user",()=>{const n=me(),e=me(),r=me(null),o=me(),i=me(!1),s=me(!1),a=me(null),l=me(null),c=R=>{e.value=R},u=async(R,L,O)=>{if(R){const k={...e.value,userId:R.uid,firebaseUserId:R.uid,email:R.email,createdAt:R.metadata.createdAt,providerData:R.providerData,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},ee=await cz(R,k,L);c({...k,...ee}),n.value=R}else{c({});const k={};Zm()&&(k.properties={...BP}),hC(k),n.value=null}},d=R=>{for(const L in R)e.value[L]=R[L]},p=async()=>await fC(e.value),h=async R=>(d(R),await p()),m=()=>new Promise(R=>{if(n.value===void 0){const L=wt(n,O=>{L(),R(O)})}else R(n.value)}),g=()=>!!e.value&&!!e.value.subscription&&e.value.subscription.isActive!==null&&e.value.subscription.isActive,v=()=>g()&&e.value.subscription.interval!==null&&e.value.subscription.interval!=="lifetime",w=()=>g()?e.value.subscription:null,I=R=>{r.value=R},b=R=>{if(r.value&&r.value[R])return r.value[R];const L=Ur[R];if(L)return typeof L=="string"?L:JSON.stringify(L)};return{user:n,userData:e,cerebroId:o,setUser:u,getCurrentUser:m,editUserData:d,updateAndPushUserData:h,updateFirebaseUserData:p,isUserPro:g,isSubscribedRecurring:v,getSubscription:w,setConfig:I,getParameter:b,waitAndGetParameter:async R=>new Promise(L=>{if(r.value)L(b(R));else{const O=wt(r,()=>{r.value&&(O(),L(b(R)))})}}),setCerebroId:R=>{o.value=R,console.log("::CEREBRO_ID::",R)},updateUserProfile:async R=>{R.photoURL&&await h({photoURL:R.photoURL});const L=Gi();await F8(L.currentUser,R),n.value={...L.currentUser}},userConfig:r,sendMeetingNotesToAttendeesLoading:i,sendMeetingNotesToMyEmailLoa
3746ding:s,sendMeetingNotesToAttendeesPending:a,sendMeetingNotesToMyEmailPending:l,setSendMeetingNotesToAttendeesLoading:R=>{i.value=R,R||(a.value=null)},setSendMeetingNotesToMyEmailLoading:R=>{s.value=R,R||(l.value=null)},setSendMeetingNotesToAttendeesPending:R=>{a.value=R},setSendMeetingNotesToMyEmailPending:R=>{l.value=R}}}),AX=async({platform:n,returnUrl:e})=>await $e({method:"POST",path:"/calendar/connect",data:{platform:n,returnUrl:e}}),IX=async({platform:n})=>await $e({method:"POST",path:"/calendar/disconnect",data:{platform:n}}),dz=async()=>await $e({method:"GET",path:"/calendar"}),fz=async({endDate:n=null,startDate:e=null})=>await $e({method:"GET",path:"/calendar/event",params:{startDate:e,endDate:n}}),SX=async()=>await $e({method:"GET",path:"/calendar/event/active"}),pz=async({calendarId:n,enable:e,eventId:r})=>e?await $e({method:"POST",path:"/calendar/event/join-enable",data:{calendarId:n,eventId:r}}):await $e({method:"POST",path:"/calendar/event/join-disable",data:{calendarId:n,eventId:r}}),hz=pi("calendar",()=>{const n=wf(),e=st(),r=me([]),o=z(()=>r.value?.length>0),i=me(null),s=me(!1),a=me(!1),l=me(null),c=me(null),u=me(!1),{data:d,error:p,send:h,state:m}=Bu({requestFunction:dz,immediateSend:!1,defaultOnError:()=>{},defaultOnSuccess:()=>{(E.value.google_calendar!==e.userData?.integrations?.google_calendar||E.value.microsoft_outlook!==e.userData?.integrations?.microsoft_outlook)&&e.updateAndPushUserData({integrations:{...e.userData.integrations,google_calendar:!!E.value.google_calendar,microsoft_outlook:!!E.value.microsoft_outlook}})}}),{data:g,error:v,send:w,state:I}=Bu({requestFunction:fz,immediateSend:!1,defaultOnError:()=>{n.pushAlert("Failed to fetch calendar events.","error",{title:t("components.molecules.thealert.calendarSyncFailed")})},paused:o}),{send:b}=Bu({requestFunction:pz,immediateSend:!1,defaultOnError:j=>{if(j.response?.status!==402){const{$i18n:G}=xe();n.pushAlert(G.t("error.failedToEnableDisableJoin"),"error",{title:t("components.molecules.thealert.requestFailed")})}}}),E=z(()=>{const j={google_calendar:null,microsoft_outlook:null};return d.value?.calendars?.map(G=>{G?.data?.platform==="google_calendar"?j.google_calendar=G.data:G?.data?.platform==="microsoft_outlook"&&(j.microsoft_outlook=G.data)}),j}),P=j=>d.value?.calendars?.find(G=>G.id===j),D=z(()=>!e.userData?.integrations?.google_calendar&&!e.userData?.integrations?.microsoft_outlook),V=z(()=>{const j={};return g.value?.events?.map(G=>{j[G.id]=G?.data?.JoinEnabled||!1}),j}),S=async j=>{I.value="loading",j&&(i.value=j,await w({functionArgs:{startDate:new Date(j.setHours(0,0,0,0)).toISOString(),endDate:new Date(new Date(j.setHours(0,0,0,0)).getTime()+10080*60*1e3).toISOString()}}),I.value="idle")};return{calendars:E,fetchCalendars:h,calendarListData:d,calendarListState:m,calendarListError:p,getCalendarFromId:P,noCalendar:D,calendarEventsData:g,calendarEventsState:I,calendarEventsError:v,fetchCalendarEvents:w,fetchCalendarEventsFromDate:S,calendarEventsJoinEnabledMap:V,sendCalendarEventJoinEnable:b,updateAutoJoinOfCalendarEventsLocal:async(j,G)=>{if(!E.value[j])return;const le=g.value?.events;if(!le?.length)return;const Ae=le.map(Ie=>Ie?.data?.JoinEnabled===!0||Ie?.data?.JoinEnabled===!1?{...Ie,data:{...Ie.data,JoinEnabled:G}}:Ie);g.value={...g.value,events:Ae}},setSendBotManuallyOfCalendarEventLocal:(j,G)=>{if(!d.value?.calendars?.find(le=>le.id===j))return;const te=g.value?.events?.find(le=>le.id===G);te&&(te.data.sentBotManually="sent",g.value={...g.value,events:g.value.events})},pauseFetchCalendarEvents:(j="DEFAULT")=>{r.value=[...r.value,j]},resumeFetchCalendarEvents:async(j="DEFAULT")=>{r.value=r.value.filter(G=>G!==j),i.value&&!o.value&&await S(i.value)},googleAutoJoinLoading:s,microsoftAutoJoinLoading:a,googleAutoJoinPendingValue:l,microsoftAutoJoinPendingValue:c,setGoogleAutoJoinLoading:j=>{s.value=j,j||(l.value=null)},setMicrosoftAutoJoinLoading:j=>{a.value=j,j||(c.value=null)},setGoogleAutoJoinPendingValue:j=>{l.value=j},setMicrosoftAutoJoinPendingValue:j=>{c.value=j},isCalendarNewlyConnected:u,onCalendarNewlyConnected:()=>{u.value=!0}}});function mz(){const{locale:n}=xr(),e=new Date(Date.UTC(2024,0,7)),o=new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(e);return{S:"Sunday",M:"Monday"}[o]||"Locale-specific week start unknown"}const PX=()=>(xr(),mz()),La=n=>{if(n instanceof Date)return Number.isNaN(n.getTime())?null:n;if(typeof n?.toDate=="function"){const r=n.toDate();return r instanceof Date&&!Number.isNaN(r.getTime())?r:null}let e=0;if(Number.isInteger(n?._seconds)&&Number.isInteger(n?._nanoseconds))e=n._seconds*1e3+n._nanoseconds/1e6;else if(Number.isInteger(n?.seconds)&&Number.isInteger(n?.nanoseconds))e=n.seconds*1e3+n.nanoseconds/1e6;else return null;return new Date(e)},_z=n=>{const e=La(n);return e===null?null:e.getTime()},RX=n=>{const e=La(n);return e?gz(e):""},gz=(n,e)=>{if(!n)return"";if(!e){const{locale:o}=xr();e=o}return new Date(n).toLocaleTimeString(e,{hour:"numeric",minute:"numeric"})},CX=(n,e)=>{const r=La(n);if(!r)return"";if(!e){const{locale:c}=xr();e=c}
3746const o=r.getDate(),i=r.toLocaleString(e,{month:"short"}),s=r.toLocaleString(e,{weekday:"short"}),a=i.charAt(0).toUpperCase()+i.slice(1);return`${s.charAt(0).toUpperCase()+s.slice(1)}, ${a} ${o}`},yz=(n,e,r={})=>{if(!n)return"";if(!e){const{locale:u}=xr();e=u}const o=r?.monthStyle||"short",i=new Date(n),s=i.getDate(),a=i.toLocaleString(e,{month:o}),l=i.getFullYear();return`${a.charAt(0).toUpperCase()+a.slice(1)} ${s}, ${l}`},OX=n=>{const e=La(n);return e?yz(e):""},kX=n=>{const{$i18n:e}=xe(),{t:r}=e;if(typeof n!="number")return"";const o=Math.floor(n/3600),i=Math.floor(n%3600/60),s=Math.floor(n%60);let a="";if(o>0){const l=o>1?r("common.timeUnits.hours"):r("common.timeUnits.hour");a+=`${o} ${l}`}if(i>0){const l=i>1?r("common.timeUnits.minutes"):r("common.timeUnits.minute");a+=`${a?" ":""}${i} ${l}`}if(s>0&&o===0&&i===0){const l=s>1?r("common.timeUnits.seconds"):r("common.timeUnits.second");a+=`${s} ${l}`}return a.trim()},vz=(n,e)=>n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&n.getDate()===e.getDate(),LX=(n,e)=>{const r=La(n),o=La(e);return vz(r,o)},DX=n=>{if(typeof n!="number")return"";const e=Math.floor(n/60),r=n%60;return`${e.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`},xX=n=>{const[e,r,o]=n.split(":");return parseInt(e)*3600+parseInt(r)*60+parseInt(o)},Ez=n=>{const e=n?.data?.type||n?.type||n;return e?{meeting:n?.data?.eventId?"MeetingCalendar":"MeetingManual",recording:"Recording",file:"Audio File",video:"Video File",document:"Document",text:"Text",youtube:"YouTube"}[e]||e:"Unknown"},wz=()=>{const{$router:n}=xe();return n?n.currentRoute.value.name:""},bz=async n=>{if(typeof window>"u"||tn)return;if(typeof window.smartlook!="function"){console.warn("[Smartlook] SDK not loaded yet, skipping initialization");return}const r=await st().getCurrentUser();let o=!1,i=!1;r?(o=(await Fz())?.data?.initializeSmartlook,i=!0):(o=!0,i=!1),o&&(window.smartlook("identify",n),window.smartlook("init","e4de6fa298991b3476975272812fabecfc93e666",{region:"eu"}),window.smartlook("record",{forms:!0,numbers:!0,emails:!1,ips:!0}),window.smartlook(function(){i?Uz({sessionId:window.smartlook.sessionId}):localStorage.setItem("sml_sid",JSON.stringify({id:window.smartlook.sessionId})),Be({eventName:"smartlook_record_started",properties:{sessionId:window.smartlook.sessionId}})}))},pC=()=>{try{const{$cerebro:n}=xe();if(n)return Tz(n)}catch{console.warn("[Cerebro Composable] Plugin not available, falling back to legacy implementation")}};function Tz(n){const{locale:e}=xr(),{getOverallDescriptor:r}=vF(),o=st(),i=hz(),s=Ka(),a=()=>{const b=Ls();return wz()||b.name?.toString()||""},l=()=>{let b="Unknown OS";return navigator.userAgent.indexOf("Win")!==-1&&(b="Windows"),navigator.userAgent.indexOf("Mac")!==-1&&(b="Mac OS"),navigator.userAgent.indexOf("Linux")!==-1&&(b="Linux"),navigator.userAgent.indexOf("Android")!==-1&&(b="Android"),navigator.userAgent.indexOf("like Mac")!==-1&&(b="iOS"),b},c=b=>{b||(b={});const E=l();return b.platform=E==="iOS"||E==="Android"?"mobile":"desktop",b.operating_system=E,b.screen_size=`${screen.width} x ${screen.height}`,b.viewport_size=`${window.innerWidth} x ${window.innerHeight}`,b.dpr=window.devicePixelRatio,b.browser=$a(),b.browser_language=navigator.language,b.referrer=document.referrer,b.is_direct=!document.referrer,b},u=async()=>await o.getCurrentUser()?(await s.waitAndGetPlanData())?.id||"error":"not_user",d=async b=>(o.userData?.userId&&(b.is_pro=o.isUserPro(),b.plan=await u(),b.account_id=o.userData?.userId),b),p=()=>{const b=n.getCerebroId();return b&&o.cerebroId!==b&&o.setCerebroId(b),b},h=b=>{b&&(n.setCerebroId(b),b&&o.cerebroId!==b&&o.setCerebroId(b))},m=async({duration:b,eventGroup:E,eventName:P,page:D,properties:V,result:S,sendToGTag:C=!0})=>{V||(V={}),V=c(V),V=await d(V),V.display_language=e;const A=p();return C&&qd({event:P,user_id:A,eventModel:{...V,user_id:A}}),Rc()&&console.log(`Sending event ${P}`,V),n.sendEvent({eventName:P,eventGroup:E,duration:b,page:D||a(),properties:V,result:S||"success"})},g=b=>{b||(b={});const E={operating_system:l(),...b,properties:{userAgent:navigator.userAgent,display_language:e,...b.properties||{}}};E.user_id&&delete E.user_id;const P=n.getTrackerName();P&&(E.tracker_name=P,o.trackerName=P);const D=n.sendUserEvent(E);return D.then(async()=>{const V=p();V&&(await w(),await bz(V))}),D};let v=!1;const w=async()=>
3746{if(v||o.userConfig){console.log("Config already fetched, skipping...");return}v=!0;try{const b=await n.getConfig();console.log("::CONFIG::",b),o.setConfig(b)}catch(b){console.error("Config error:",b),o.setConfig({configFailed:!0})}},I=async({duration:b,eventGroup:E,eventName:P,page:D,properties:V,result:S},{note:C})=>(V||(V={}),V={...{note_title:C?.data?.title,note_format:Ez(C),note_calendar:i.getCalendarFromId(C?.data?.calendarId)?.data?.platform,note_created_date:C?.data?.createdAt&&Number(_z(C?.data?.createdAt)),note_duration:C?.data?.recordingDuration,note_status:r(C?.data?.meeting,C?.data?.transcriptionCode,C?.data?.active,C?.data?.type)?.label,note_id:C?.id,note_language:C?.data?.currentLanguage||C?.data?.transcription?.lang_code,is_example_note:+(C?.id==="example")},...V},m({eventName:P,eventGroup:E,duration:b,page:D,properties:V,result:S}));return{getCerebroId:p,setCerebroId:h,sendEvent:m,sendUserEvent:g,getTrackerName:n.getTrackerName,sendSpecialEvent:I,getConfig:w}}const $c=()=>pC(),zi=()=>{const n=$c();return n?n.getCerebroId():""},NX=n=>{const e=$c();if(e)return e.setCerebroId(n);console.warn("Cerebro not available")},Be=async n=>{const e=$c();if(e)return e.sendEvent(n);console.warn("Cerebro not available")},VX=async(n,e)=>{const r=$c();if(r)return r.sendSpecialEvent(n,e);console.warn("Cerebro not available")},hC=n=>{const e=$c();if(e)return e.sendUserEvent(n);console.warn("Cerebro not available")},mC="https://smartnoter.ai/api";let w_=null;pt.defaults.withCredentials=!0;pt.interceptors.response.use(n=>n,n=>{const{t:e}=xr();if(n.response&&n.response.status===402&&w_){const r=n.response.data?.message||e("common.error.limitReached"),o=n.response.data?.errorSource||void 0;w_.openPaywallForLimitReached(o,r)}return Promise.reject(n)});pt.interceptors.response.use(n=>n,async n=>{if(n.response&&n.response.status===401&&(console.warn("401 Unauthorized - session expired, forcing logout"),!window.location.pathname.includes("/login")&&!window.location.pathname.includes("/register")&&!window.location.pathname.includes("/signup")&&!window.location.pathname.includes("/forgot-password")&&!window.location.pathname.includes("/reset-password"))){try{await Gi().signOut()}catch(e){console.error("Error signing out:",e)}window.location.href="/login"}return Promise.reject(n)});pt.interceptors.response.use(n=>n,async n=>{if(n.response&&n.response.status===403&&n.response.data?.errorCode==="INVALID_CSRF_TOKEN"){VP();const e=n.config;if(!e._retry){e._retry=!0;try{const r=await $f();return e.headers["X-CSRF-Token"]=r,pt(e)}catch(r){return Promise.reject(r)}}}return Promise.reject(n)});const Az=n=>{w_=n},_C=()=>{const e=Gi().currentUser;if(e!==null)return e.uid},Iz=async()=>{const e=Gi().currentUser;if(e!==null)return await e.getIdToken()},gC=n=>n.split("/").map(o=>!o||o===""?o:/[#%&+?=@$!*'(),;~]/g.test(o)?encodeURIComponent(o):o).join("/"),$e=async n=>{const{locale:e}=xr(),r=gC(n.path);n.url=mC+r,delete n.path;const o={...n},i=await Iz(),s=e;if(i){if(o.headers||(o.headers={}),o.headers.authorization=i,o.headers["Accept-Language"]=s,o.headers={...o.headers,...yC()},o.method&&o.method.toUpperCase()!=="GET")try{const a=await $f();o.headers["X-CSRF-Token"]=a}catch(a){console.error("Failed to get CSRF token:",a)}return await pt(o)}return new Promise((a,l)=>l(401))},Sz=async n=>{const{locale:e}=xr(),r=gC(n.path);n.url=mC+r,delete n.path;const o={...n};o.headers||(o.headers={});const i=e;if(o.headers["Accept-Language"]=i,o.headers={...o.headers,...yC(),"X-Cerebro-Id":zi()},o.method&&o.method.toUpperCase()!=="GET")try{const s=await $f();o.headers["X-CSRF-Token"]=s}catch(s){console.error("Failed to get CSRF token:",s)}return await pt(o)},yC=()=>({"X-Platform":"web","X-Version":tF});var Pz="firebase",Rz="10.14.1";/** 3747 * @license 3748 * Copyright 2020 Google LLC 3749 * 3750 * Licensed under the Apache License, Version 2.0 (the "License"); 3751 * you may not use this file except in compliance with the License. 3752 * You may obtain a copy of the License at 3753 * 3754 * http://www.apache.org/licenses/LICENSE-2.0 3755 * 3756 * Unless required by applicable law or agreed to in writing, softw
3756are 3757 * distributed under the License is distributed on an "AS IS" BASIS, 3758 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3759 * See the License for the specific language governing permissions and 3760 * limitations under the License. 3761 */zr(Pz,Rz,"app");const Cz=tn?"staging.smartnoter.ai":PS?"preprod.smartnoter.ai":"smartnoter.ai",Oz=tn?"meeting-transcriber-staging":"meeting-transcriber-prod",kz={apiKey:"AIzaSyCdOt-B17X59PLOKrd4IrP_invjA9g3SrI",authDomain:Cz,projectId:"meeting-transcriber-codeway",storageBucket:Oz,messagingSenderId:"860661855941",appId:"1:860661855941:web:adf483ae280ba81fa822ac"},Lz=["staging","preprod","(default)"],Dz=(Lz.includes("(default)"),"(default)"),ef=wI(kz),td=Gi(ef),O0=$6(ef,Dz),xz=It({name:"firebase",parallel:!1,async setup(){let n,e,r=null;try{const{getMessaging:o,isSupported:i,onMessage:s}=([n,e]=jt(()=>_(()=>Promise.resolve().then(()=>Q9),void 0,import.meta.url)),n=await n,e(),n);[n,e]=jt(()=>i()),n=await n,e(),n&&(r=o(ef),s(r,async a=>{const l=a.notification?.title||a.data?.title,c=a.notification?.body||a.data?.body;if(l)try{const u=await navigator.serviceWorker.ready,d=a.data?.cta,p=d?[{action:"open",title:d}]:[];await u.showNotification(l,{body:c,icon:"/favicon.ico",data:a.data,tag:a.data?.notificationTemplateId,actions:p});const h=Do().public.backendBaseUrl;document.hasFocus()&&h&&a.data?.userId&&a.data?.fcmToken&&fetch(`${h}/notification-event`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:a.data.userId,fcmToken:a.data.fcmToken,eventName:"notification_shown",properties:{notification_type:a.data.notificationType,note_id:a.data.noteId}}),keepalive:!0}).catch(m=>console.warn("[Firebase] analytics fetch failed",m))}catch(u){console.warn("[Firebase] foreground showNotification failed",u)}}))}catch(o){console.warn("FCM messaging not available in this browser",o)}return{provide:{firebase:{app:ef,auth:td,db:O0,messaging:r}}}}}),Nz=async()=>await $e({method:"GET",path:"/user/plan-and-usage"}),MX=async()=>await $e({method:"GET",path:"/user/source-usage"}),Vz=({usageId:n},e)=>{const r=_C(),o=`${Dd.USERS}/${r}/${Dd.USAGES}/${n}`;return IS(vS(O0,o),e)},Mz=async n=>await $e({method:"POST",path:"/user/set-click-ids",data:{clickIds:n}}),Fz=async()=>await $e({method:"GET",path:"/user/smartlook-status"}),Uz=async({sessionId:n})=>await $e({method:"POST",path:"/user/add-smartlook-session",data:{sessionId:n}}),Ka=pi("plan",()=>{const n={WEB:"web"},e=me({}),r=me({}),{error:o,send:i,state:s}=Bu({requestFunction:Nz,immediateSend:!1,defaultFunctionArgs:null,defaultErrorMessage:"Error fetching plan and usage",defaultOnError:p=>{console.error("error fetching plan and usage:",p)},defaultOnSuccess:p=>{const h=p?.data?.plan||{};for(const m in h?.limits||{})h.limits?.[m]===null&&(h.limits[m]=1/0);e.value=h,r.value=p?.data?.usage||{}}});wt(()=>r.value?.id,()=>{let p=null;r.value?.id&&(p==="function"&&p(),p=Vz({usageId:r.value?.id},h=>{r.value={id:h.id,usage:h.data()}}))});const a=()=>new Promise(p=>{if(s.value==="idle"||s.value==="loading"){const h=wt(s,m=>{m==="success"?(h(),p(e.value)):m==="error"&&(h(),p(null))})}else p(e.value)}),l=()=>{i({})},c=z(()=>e.value?.subscription?.subscriptionPlatform||null),u=p=>c.value===p,d=z(()=>u(n.WEB));return{planData:e,planAndUsageState:s,planAndUsageError:o,waitAndGetPlanData:a,usageData:r,reInitialize:l,subscriptionPlatform:c,isWebSubscription:d}}),FX=async()=>await $e({method:"POST",path:"/account/delete"}),Bz=async({locale:n,redirectUrl:e})=>await $e({method:"POST",path:"/account/send-custom-verification-email",data:{redirectUrl:e,locale:n}}),UX=async(n,e,r="default")=>{const{locale:o}=xr(),i=Gi();i.languageCode=o;const s=n||window.location.origin+"/signin";try{if(r==="default")await V8(i.currentUser,{url:s});else if(r==="custom")await Bz({locale:o,redirectUrl:s});else throw new Error("Invalid type");return Be({eventName:"verification_email_sent",properties:{source:e,type:r}}),{result:"success"}}catch(a){throw Be({eventName:"verification_email_failed",properties:{source:e,type:r,reason:a}}),a}},b_=n=>n?.providerData?.[0]?.providerId==="password"&&!n?.emailVerified,BX=(n,e)=>
3761{const r=new URL(n);return r.searchParams.set("source",e),r.searchParams.set("platform","web"),r.searchParams.set("user_id",zi()),r.href},jz=async(n,e)=>{let r,o;if(n.meta.meta?.onlyStaging&&!tn)return Kt(a({name:"LandingPage"}));const i=st(),s=wf(),a=xs(),l=([r,o]=jt(()=>i.getCurrentUser()),r=await r,o(),r),c=sessionStorage.getItem(Qm)==="true";c&&sessionStorage.removeItem(Qm),n.query?.error&&s.pushAlert(n.query.error,"error");const u={},d=n.query?.source||e.query?.source||null;if(d&&(u.source=d),n.meta.meta?.isInAuthFlow){if(u.next=n.query.next,e.query?.next&&!n.query.next)return Kt(a({name:n.name,query:{...n.query,next:e.query.next}}))}else if(n.query?.next){const p=n.query.next.split("?")[0],h=n.query.next.split("?")[1],m={};return h&&h.split("&").forEach(g=>{const[v,w]=g.split("=");m[v]=w}),Kt(a({path:p,query:m}))}if(n.meta.meta?.requiresAuth){if(l){if(n.meta.meta?.onlyNonPro){const p=Ka();return([r,o]=jt(()=>p.waitAndGetPlanData()),r=await r,o(),r)?.id==="free"?void 0:(gR(),Kt(a({name:th,query:u})))}if(b_(l))return n.name?.startsWith("VerifyEmail")?void 0:Kt(a({name:"VerifyEmail",query:u}));if(n.name?.startsWith("Checkout___")||n.name?.startsWith("Paywall___"))return;if(i.userData&&!sU()){if(JSON.parse(([r,o]=jt(()=>i.waitAndGetParameter(qf.ONBOARDING)),r=await r,o(),r||"{}"))?.skipConnectPagesInDefaultOnboarding){[r,o]=jt(()=>tU(Br.SKIP_ONBOARDING)),await r,o();return}return n.name?.startsWith("OnboardingDefault___")?void 0:Kt(a({name:"OnboardingDefault",query:u}))}return!b_(l)&&n.name?.startsWith("VerifyEmail___")?Kt(a({name:th,query:u})):void 0}return Kt(a({name:"Login",query:{...c?{}:{next:n.path},...u}}))}else if(n.meta.meta?.onlyUnauth)return l?Kt(a({name:th,query:u})):void 0},$z=async n=>{let e,r;const o=st(),{$i18n:{locale:i,setLocale:s}}=xe(),a=xs();if([e,r]=jt(()=>o.getCurrentUser()),e=await e,r(),e)return;const c=localStorage.getItem(vm);if(console.log("storedPreferredLanguage",c),console.log("locale.value",i.value),c&&Zl.includes(c)){if(c!==i.value){console.log("redirecting to storedPreferredLanguage",c),[e,r]=jt(()=>s(c)),await e,r();const h=a({path:n.path,query:n.query,hash:n.hash});if(h&&h!==n.path)return Kt(h)}return}if(!n.name?.startsWith("LandingPage___"))return;const p=(navigator.language||navigator.userLanguage).split("-")[0].toLowerCase();if(Zl.includes(p)&&p!==Td&&p!==i.value){localStorage.setItem(vm,p),[e,r]=jt(()=>s(p)),await e,r();const h=a({path:n.path,query:n.query,hash:n.hash});if(h&&h!==n.path)return Kt(h)}},zz=n=>{if(n.path.length>1&&!n.path.endsWith("/")&&n.meta.meta?.isMarketingPage){const e=n.path+"/";return Kt({path:e,query:n.query,hash:n.hash},{})}},Hz=async n=>{let e,r;if(!n.name?.toString().startsWith("LandingPageYoutube"))return;let i=!0;{const s=st();i=([e,r]=jt(()=>s.waitAndGetParameter("is_youtube_enabled")),e=await e,r(),e==="true")}if(!i){const s=xs();return Kt(s("/"),{})}},qz=n=>{const e=Array.isArray(n.query?.source)?n.query.source[0]:n.query?.source;typeof e=="string"&&e&&uU(e)},Gz=async n=>{let e,r;const o=([e,r]=jt(()=>sg({path:n.path})),e=await e,r(),e);if(o.redirect)return Er(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},Wz=[C5,jz,$z,zz,Hz,qz,Gz],T_={};function Kz(n,e,r){const{pathname:o,search:i,hash:s}=e,a=n.indexOf("#");if(a>-1){const u=s.includes(n.slice(a))?n.slice(a).length:1;let d=s.slice(u);return d[0]!=="/"&&(d="/"+d),hv(d,"")}const l=hv(o,n),c=!r||mL(l,r)?l:r;return c+(c.includes("?")?"":i)+s}const Yz=It({name:"nuxt:router",enforce:"pre",async setup(n){let e,r,o=Do().app.baseURL;Em&&!o.includes("#")&&(o+="#");const i=vi.history?.(o)??(Em?Yx(o):ZA(o)),s=vi.routes?([e,r]=jt(()=>vi.routes(Mp)),e=await e,r(),e??Mp):Mp;let a;const l=_5({...vi,scrollBehavior:(w,I,b)=>{if(I===Fr){a=b;return}if(vi.scrollBehavior){if(l.options.scrollBehavior=vi.scrollBehavior,"scrollRestoration"in window.history){const E=l.beforeEach(()=>{E(),window.history.scrollRestoration="manual"})}return vi.scrollBehavior(w,Fr,a||b)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),n.vueApp.use(l);const c=oi(l.currentRoute.value);l.afterEach((w,I)=>{c.value=I}),Object.defineProperty(n.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Kz(o,window.location,n.payload.path),d=oi(l.currentRoute.value),p=()=>{d.value=l.currentRoute.value};n.hook("page:finish",p),l.afterEach((w,I)=>{w.matched[w.matched.length-1]?.components?.default===I.matched[I.matched.length-1]?.components?.default&&p()});const h={};for(const w in d.value)Object.defineProperty(h,w,{get:()=>d.value[w],enumerable:!0});n._route=yo(h),n._middleware||={global:[],named:{}};const m=yf();l.afterEach(async(w,I,b)=>{delete n._processingMiddleware,!n.isHydrating&&m.value&&await n.runWithContext(dD),b&&await n.callHook("page:loading:end")});try{[e,r]=jt(()=>l.isReady()),await e,r()}catch(w){[e,r]=jt(()=>n.runWithContext(()=>ss(w))),await e,r()}const g=u!==l.currentRoute.value.fullPath?l.resolve(u):l.currentRoute.value;p();const v=n.payload.state._layout;return l.beforeEach(async(w,I)=>{await n.callHook("page:loading:start"),w.meta=di(w.meta),n.isHydrating&&v&&!ri(w.meta.layout)&&(w.meta.layout=v),n._processingMiddleware=!0;{const b=new Set([...Wz,...n._middleware.global]);for(const E of w.matched){const P=E.meta.middleware;if(P)for(const D of dg(P))b.add(D)}{const E=await n.runWithContext(()=>sg({path:w.path}));if(E.appMiddleware)for(const P in E.appMiddleware)E.appMiddleware[P]?b.add(P):b.delete(P)}for(const E of b){const P=typeof E=="string"?n._middleware.named[E]||await T_[E]?.().then(D=>D.default||D):E;if(!P)throw new Error(`Unknown route middleware: '${E}'.`);try{const D=await n.runWithContext(()=>P(w,I));if(!n.payload.serverRendered&&n.isHydrating&&(D===!1||D instanceof Error)){const V=D||hs({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await n.runWithContext(()=>ss(V)),!1}if(D===!0)continue;if(D===!1)return D;if(D)return VA(D)&&D.fatal&&await n.runWithContext(()=>ss(D)),D}catch(D){const V=hs(D);return V.fatal&&await n.runWithContext(()=>ss(V)),V}}}}),l.onError(async()=>{delete n._processingMiddleware,await n.callHook("page:loading:end")}),l.afterEach(w=>{if(w.matched.length===0)return n.runWithContext(()=>ss(hs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),n.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await l.replace({...g,force:!0}),l.options.scrollBehavior=vi.scrollBehavior}catch(w){await n.runWithContext(()=>ss(w))}}),{provide:{router:l}}}});function Jz(n){typeof n.indexable<"u"&&(n.indexable=String(n.indexable)!=="false"),typeof n.trailingSlash<"u"&&!n.trailingSlash&&(n.trailingSlash=String(n.trailingSlash)!=="false"),n.url&&!Er(String(n.url),{acceptRelative:!0,strict:!1})&&(n.url=pL(String(n.url)));const e=Object.keys(n).sort((o,i)=>o.localeCompare(i)),r={};for(const o of e)r[o]=n[o];return r}function Qz(n){const r=[];function o(s){if(!s||typeof s!="object"||Object.keys(s).length===0)return()=>{};s._context;const a={};for(const l in s){const c=s[l];typeof c<"u"&&c!==""&&(a[l]=c)}return Object.keys(a).filter(l=>!l.startsWith("_")).length===0?()=>{}:(r.push(a),()=>{const l=r.indexOf(a);l!==-1&&r.splice(l,1)})}function i(s){const a={};s?.debug&&(a._context={}),a._priority={};for(const l in r.sort((c,u)=>(c._priority||0)-(u._priority||0)))for(const c in r[l]){const u=c,d=s?.resolveRefs?vo(r[l][c]):r[l][c];!c.startsWith("_")&&typeof d<"u"&&d!==""&&(a[c]=d,typeof r[l]._priority<"u"&&r[l]._priority!==-1&&(a._priority[u]=r[l]._priority),s?.debug&&(a._context[u]=r[l]._context?.[u]||r[l]._context||"anonymous"))}return s?.skipNormalize?a:Jz(a)}return{stack:r,push:o,get:i}}const Xz=It({name:"nuxt-site-config:init",enforce:"pre",async setup(n){const e=Qz(),r=P0("site-config");{const o=r.value||window.__NUXT_SITE_CONFIG__||{};for(const i in o)i[0]!=="_"&&e.push({[i]:o[i],_priority:o._priority?.[i]||-1})}return{provide:{nuxtSiteConfig:e}}}}),Zz=It({name:"nuxt:payload",setup(n){const e=new Set;
3761Zn().beforeResolve(async(r,o)=>{if(r.path===o.path)return;const i=await Ov(r.path);if(i){for(const s of e)delete n.static.data[s];for(const s in i.data)s in n.static.data||e.add(s),n.static.data[s]=i.data[s]}}),Xf(()=>{n.hooks.hook("link:prefetch",async r=>{const{hostname:o}=new URL(r,window.location.href);o===window.location.hostname&&await Ov(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(vf,1e3)})}}),eH=It(()=>{const n=Zn();Xf(()=>{n.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),tH=It(n=>{let e;async function r(){let o;try{o=await vf()}catch(i){const s=i;if(!("status"in s&&(s.status===404||s.status===403)))throw s}e&&clearTimeout(e),e=setTimeout(r,vv);try{const i=await $fetch(rg("builds/latest.json")+`?${Date.now()}`);i.id!==o?.id&&(n.hooks.callHook("app:manifest:update",i),e&&clearTimeout(e))}catch{}}Xf(()=>{e=setTimeout(r,vv)})}),nH=It({name:"nuxt:chunk-reload",setup(n){const e=Zn(),r=Do(),o=new Set;e.beforeEach(()=>{o.clear()}),n.hook("app:chunkError",({error:s})=>{o.add(s)});function i(s){const a=Lr(r.app.baseURL,s.fullPath);g$({path:a,persistState:!0})}n.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((s,a)=>{o.has(s)&&i(a)})}}),rH=It({name:"pinia",setup(n){const e=O5();return n.vueApp.use(e),bc(e),n.payload&&n.payload.pinia&&(e.state.value=n.payload.pinia),{provide:{pinia:e}}}}),oH=It({name:"nuxt:global-components"}),Li={"dashboard-layout":es(()=>_(()=>import("./4ZFq2pOT.js").then(n=>n.I),__vite__mapDeps([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url).then(n=>n.default||n)),"dashboard-public-layout":es(()=>_(()=>import("./NGtaersb.js"),__vite__mapDeps([100,65,18]),import.meta.url).then(n=>n.default||n)),"generic-onboarding":es(()=>_(()=>import("./CTa_YuI2.js"),__vite__mapDeps([110,111,112,113,31,16,86,114,83,4,66,38,105,106,103,10,11,12,13,88,73,30,32,74,72,65,99,115,116,117]),import.meta.url).then(n=>n.default||n)),"landing-page-layout":es(()=>_(()=>import("./UreOw38q.js"),__vite__mapDeps([64,15,5,6,65,66,18,67]),import.meta.url).then(n=>n.default||n)),"login-layout":es(()=>_(()=>import("./CXy5wBRA.js"),__vite__mapDeps([75,65,18]),import.meta.url).then(n=>n.default||n)),"onboarding-layout":es(()=>_(()=>import("./CMCKB4Ge.js"),__vite__mapDeps([115,116]),import.meta.url).then(n=>n.default||n)),sso:es(()=>_(()=>import("./CfCZOpgG.js"),__vite__mapDeps([69,70,71,6,72,73,30,31,32,74,11,75,65,18]),import.meta.url).then(n=>n.default||n))},iH=It({name:"nuxt:prefetch",setup(n){const e=Zn();n.hooks.hook("app:mounted",()=>{e.beforeEach(async r=>{const o=r?.meta?.layout;o&&typeof Li[o]=="function"&&await Li[o]()})}),n.hooks.hook("link:prefetch",r=>{if(Er(r))return;const o=e.resolve(r);if(!o)return;const i=o.meta.layout;let s=dg(o.meta.middleware);s=s.filter(a=>typeof a=="string");for(const a of s)typeof T_[a]=="function"&&T_[a]();typeof i=="string"&&i in Li&&_$(Li[i])})}}),sH=["i18n:plugin","i18n:plugin:ssg-detect","i18n:plugin:route-locale-detect"],aH=It({name:"nuxt-site-config:i18n",dependsOn:sH,setup(n){const e=n.$i18n;if(!e)return;const r=xe().$nuxtSiteConfig,o=vo(e.baseUrl);if(o){const d=r.get({resolveRefs:!0}),p=d.url;if(p&&!p.includes("localhost")){const h=Ea(o,"https://"),m=Ea(p,"https://");h.host!==m.host&&d.env==="production"&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${h.host}\` doesn't match your site url ${m.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}const i=z(()=>{const d=vo(e.locales).find(p=>p.code===e.defaultLocale);return d?.language||d?.iso||e.defaultLocale}),s=z(()=>vo(e.baseUrl)||void 0),a=z(()=>{const d=vo(e.localeProperties);return d.language?d.language:i.value}),l=z(()=>e.te("nuxtSiteConfig.description")?e.t("nuxtSiteConfig.description"):void 0),c=z(()=>e.te("nuxtSiteConfig.name")?e.t("nuxtSiteConfig.name"):void 0);let u;wt(e.locale,()=>{u&&u(),u=r.push({_priority:-1,_context:"@nuxtjs/i18n",url:s,defaultLocale:i,currentLocale:a,description:l,name:c}
3761)},{immediate:!0})}}),Vb="nuxt-i18n-slp",lH=new RegExp([`<!--${Vb}-\\[(\\w+)\\]-->`,".+?",`<!--/${Vb}-->`].join(""),"g"),cH=It({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(n){const e=xe(n._id),r=cC(e);e.hook("app:rendered",o=>{o.renderResult?.html!=null&&(o.renderResult.html=o.renderResult.html.replaceAll(lH,(i,s)=>{const a=encodeURI(r(s??""));return i.replace(/href="([^"]+)"/,`href="${a||"#"}" `)}))})}}),uH=It({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(n){let e,r;const o=xe(n._id),i=ep(o),s=aC();[e,r]=jt(()=>o.runWithContext(()=>E_(o,i.initial&&s.value||Lb(o,o.$router.currentRoute.value)))),await e,r(),cD("locale-changing",async a=>{let l,c;const u=([l,c]=jt(()=>o.runWithContext(()=>E_(o,Lb(o,a)))),l=await l,c(),l);return i.initial=!1,o.runWithContext(()=>lC(o,a,u))},{global:!0})}}),dH=It({name:"i18n:plugin:preload",dependsOn:["i18n:plugin"],async setup(n){}});function fH(n,{extendComposer:e,extendComposerInstance:r}){const o=_c(),i=n.install.bind(n);n.install=(s,...a)=>{const l=xt({},a[0]);l.__composerExtend=u=>(r(u,Ou(n)),()=>{}),n.mode==="legacy"&&(l.__vueI18nExtend=u=>(r(u,Ou(u)),()=>{})),Reflect.apply(i,n,[s,l]);const c=Ou(n);if(o.run(()=>{e(c),n.mode==="legacy"&&"__composer"in n.global&&r(n.global,Ou(n.global))}),n.mode==="composition"&&s.config.globalProperties.$i18n!=null&&r(s.config.globalProperties.$i18n,c),s.unmount){const u=s.unmount.bind(s);s.unmount=()=>{o.stop(),u()}}}}const pH=async n=>{const e=await I$(o$);e.locale=n||e.locale||"en-US",e.defaultLocale=n,e.fallbackLocale??=!1,e.messages??={};for(const r of pc)e.messages[r]??={};return e},hH=It({name:"i18n:plugin",parallel:!1,async setup(n){let e,r;Object.defineProperty(n.versions,"nuxtI18n",{get:()=>"10.1.1"});const o=xe(n._id),i=Zf(o),s=o.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,a=F$(oC().host)||i.defaultLocale||"",l=s||([e,r]=jt(()=>pH(a)),e=await e,r(),e),c=sC();c.value??=N$(l.fallbackLocale),pc.map(h=>`/_i18n/HZXgwqWG/${h}/messages.json`);const u=tj(l),d=tp(void 0,Uc(o),o),p=B$(o,u,l.defaultLocale);o._nuxtI18n=p,fH(u,{extendComposer(h){h.locales=z(()=>i.locales),h.localeCodes=z(()=>pc);const m=me(p.getBaseUrl());h.baseUrl=z(()=>m.value),wt(h.locale,()=>m.value=p.getBaseUrl()),h.strategy="prefix_except_default",h.localeProperties=z(()=>Fc.find(g=>g.code===h.locale.value)||{code:h.locale.value}),h.setLocale=async g=>{await E_(o,g),await o.runWithContext(()=>lC(o,o.$router.currentRoute.value,g))},h.loadLocaleMessages=p.loadMessages,h.differentDomains=!1,h.defaultLocale=l.defaultLocale,h.getBrowserLocale=()=>kb(d.navigator()),h.getLocaleCookie=()=>kb(d.cookie()),h.setLocaleCookie=p.setCookieLocale,h.finalizePendingLocaleChange=async()=>{u.__pendingLocale&&await u.__resolvePendingLocalePromise?.()},h.waitForPendingLocaleChange=async()=>{await u?.__pendingLocalePromise}},extendComposerInstance(h,m){const g=[["locales",()=>m.locales],["localeCodes",()=>m.localeCodes],["baseUrl",()=>m.baseUrl],["strategy",()=>"prefix_except_default"],["localeProperties",()=>m.localeProperties],["setLocale",()=>async v=>Reflect.apply(m.setLocale,m,[v])],["loadLocaleMessages",()=>async v=>Reflect.apply(m.loadLocaleMessages,m,[v])],["differentDomains",()=>!1],["defaultLocale",()=>m.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(m.getBrowserLocale,m,[])],["getLocaleCookie",()=>()=>Reflect.apply(m.getLocaleCookie,m,[])],["setLocaleCookie",()=>v=>Reflect.apply(m.setLocaleCookie,m,[v])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(m.finalizePendingLocaleChange,m,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(m.waitForPendingLocaleChange,m,[])]];for(const[v,w]of g)Object.defineProperty(h,v,{get:w})}}),o.vueApp.use(u),Object.defineProperty(o,"$i18n",{get:()=>R0(u)}),o.provide("localeHead",h=>Kj(o._nuxtI18n.composableCtx,h)),o.provide("localePath",xs(o)),o.provide("localeRoute",tz(o)),o.provide("routeBaseName",Db(o)),o.provide("getRouteBaseName",Db(o)),o.provide("switchLocalePath",cC(o))}}),mH=It({name:"cerebro",dependsOn:["firebase","smartlook"],async setup(){const n=Do(),e=Rc();Jd({apiKey:n.public.cerebroApiKey||"",appId:nF,passphrase:n.public.cerebroPassphrase||"",environment:e?"STAGING":"PRODUCTION",debug:!1,enableAutoTracking:!1,autoTrackingConfig:{trackPageViews:!1,trackErrors:!1,trackPerformance:!1},autoInitialize:!1,initialTasks:{sendInitialUserEvent:!1}});const r=()=>{try{const{$pinia:c}=xe();if(!c)return null;const u=st(c);if(u.userData&&u.userData.userId)return u.userData.userId}catch(c){console.warn("[Cerebro Plugin] User store not available:",c?.message||c?.stack)}return null},o=()=>{try{let c=null;try{const{$pinia:d}=xe();d&&(c=st(d).userData)}catch{}const u=fU(c);if(u?.value)return u}catch(c){console.warn("[Cerebro Plugin] Failed to resolve onboarding type:",c?.message||c)}return null},i=(c=!1)=>{const u=o();return u?c?ER(u):{onboarding_type:u.value}:{}},s=(c={},{fullOnboardingStamp:u=!1}={})=>{c!==null&&typeof c!="object"&&(console.warn("[Cerebro Plugin] Properties must be an object, received:",typeof c),c={});const d={...c},p=i(u),h=r();
3761return Object.keys(p).forEach(m=>{m in d||(d[m]=p[m])}),h&&!d.account_id&&(d.account_id=h),d};return{provide:{cerebro:{getCerebroId:h_,sendEvent:c=>{if(!c||typeof c!="object")return console.error("[Cerebro Plugin] eventData must be an object"),Promise.reject(new Error("Invalid eventData parameter"));if(!c.eventName||typeof c.eventName!="string")return console.error("[Cerebro Plugin] eventData.eventName is required and must be a string"),Promise.reject(new Error("Invalid or missing eventName"));try{const u={...c,properties:s(c.properties)};return d_(u)}catch(u){return console.error("[Cerebro Plugin] Error in wrappedSendEvent:",u?.stack),Promise.reject(u)}},getSessionId:Qd,setSessionId:m_,sendUserEvent:(c={})=>{c==null&&(c={}),typeof c!="object"&&(console.warn("[Cerebro Plugin] userData must be an object, received:",typeof c),c={});try{const u={...c,properties:s(c.properties,{fullOnboardingStamp:!0})};return __(u)}catch(u){return console.error("[Cerebro Plugin] Error in wrappedSendUserEvent:",u?.stack),Promise.reject(u)}},setCerebroId:p_,getConfig:g_,getTrackerName:f_,isInitialized:I0,getSDKVersion:y_}}}}}),Mb="guest_tmp_user_id",Fb="guest_note_id",Ub="guest_account_id",Bb="smartnoter_widget_note",_H="default_opened_note",ku="guest_note_migration_started_at",jX=async({cursor:n=null,endDate:e=null,folderId:r=null,languages:o=null,limit:i=15,maxDuration:s=null,minDuration:a=null,noteCompletionType:l=null,orderBy:c=null,platforms:u=null,startDate:d=null,types:p=null}={})=>await $e({method:"GET",path:"/note",params:{cursor:n,limit:i,types:p,platforms:u,languages:o,noteCompletionType:l,orderBy:c,startDate:d,endDate:e,folderId:r,minDuration:a,maxDuration:s}}),$X=async({noteIds:n=[]}={})=>await $e({method:"GET",path:"/note/brief",params:{noteIds:n}}),zX=async({query:n,searchType:e=void 0})=>await $e({method:"GET",path:"/note/query",params:{query:n,...e?{searchType:e}:{}}}),HX=async({noteIds:n})=>await $e({method:"DELETE",path:"/note",data:{noteIds:n}}),qX=async({noteId:n,share:e=!0})=>await $e({method:"POST",path:`/note/${n}/share`,data:{share:e}}),GX=async({noteId:n})=>await $e({method:"GET",path:`/note/${n}`}),WX=async({noteId:n})=>await $e({method:"POST",path:`/note/${n}/read`}),KX=({noteId:n},e)=>{const r=_C(),o=`${Dd.USERS}/${r}/${Dd.NOTES}/${n}`;return IS(vS(O0,o),e)},YX=async({noteId:n,rate:e})=>await $e({method:"POST",path:`/note/${n}/rate`,data:{rate:e}}),JX=async({actionPoints:n=void 0,noteId:e,title:r=void 0})=>await $e({method:"PATCH",path:`/note/${e}`,data:{actionPoints:n,title:r}}),QX=async({actionPoints:n,keywords:e,noteId:r,outlineEdits:o,smartInsights:i,smartInsightsEdits:s,summary:a})=>await $e({method:"PATCH",path:`/note/${r}/transcription-notes`,data:{keywords:e,summary:a,outlineEdits:o,actionPoints:n,smartInsights:i,smartInsightsEdits:s}}),XX=async({noteId:n,speakerNameEdits:e,textContent:r,utteranceEdits:o})=>await $e({method:"PATCH",path:`/note/${n}/transcription`,data:{speakerNameEdits:e,utteranceEdits:o,textContent:r}}),ZX=async()=>await $e({method:"GET",path:"/note/meta"}),eZ=async({noteId:n,targetLanguage:e})=>await $e({method:"POST",path:`/note/${n}/translate`,data:{targetLanguage:e}}),tZ=async({noteId:n,targetLanguage:e})=>await $e({method:"POST",path:`/note/${n}/change-language`,data:{targetLanguage:e}}),nZ=async({noteId:n})=>await $e({method:"POST",path:`/note/${n}/export-usage-increment`}),gH=async({guestAccountId:n,noteId:e,tmpUserId:r}={})=>{const o={noteId:e};return r&&(o.tmpUserId=r),n&&(o.guestAccountId=n),await $e({method:"POST",path:"/guest/note/migrate",data:o})},yH=3e4,vH=It({name:"firebase-auth",dependsOn:["firebase","cerebro"],async setup(){let n,e;const r=st(),o=Ka(),{locale:i,setLocaleWithStorage:s}=xr(),a=Ls(),l=xs(),c=nC("iuli",{maxAge:3600*24*365,sameSite:"lax"}),u=()=>{localStorage.removeItem(Fb),localStorage.removeItem(Mb),localStorage.removeItem(Ub),localStorage.removeItem(Bb),localStorage.removeItem(ku)},d=async m=>{const g=localStorage.getItem(ku);if(g&&Date.now()-Number(g)<yH)return;localStorage.setItem(ku,String(Date.now()));const v=localStorage.getItem(Mb),w={noteId:m};v&&(w.tmpUserId=v);const I=localStorage.getItem(Ub);!v&&I&&(w.guestAccountId=I);try{nU({firstNoteCreated:!0});const{data:b}=await gH(w);if(b?.success||b?.noteData){u();const E=b.noteId||b.noteData?.id;b_(td.currentUser)?localStorage.setItem(_H,E):Kt(l({name:"Note",params:{id:E},query:{source:a.query?.source}}))}}catch(b){localStorage.removeItem(ku),console.error("Guest note migration failed",b)}};let p=!1,h=null;try{const m=([n,e]=jt(()=>h7(td)),n=await n,e(),n);m&&m.user&&(h=m.user.providerData?.[0]?.providerId,p=!0)}catch(m){console.error("Error handling redirect result:",m)}return j8(td,async m=>{if(m)try{const g=r.user?.uid===m.uid;o.reInitialize(),localStorage.setItem("iuli","true"),c.value="true";const v=a.query?.source;await r.setUser(m,g,v||"auth_state_changed");const w=X9();if(p&&!g&&h){const b=r.userData;b&&(b.initialSet?Be({eventName:"signed_up",properties:{method:Nb[h]||"unknown",email_consent:w,...v?{source:v}:{}}}):Be({eventName:"signed_in",properties:{method:Nb[h]||"unknown",...v?{source:v}:{}}}),p=!1,h=null)}if(!g&&r?.userData?.initialSet&&r.updateAndPushUserData({emailConsent:w}),!g){const b=localStorage.getItem(Fb);if(b)try{const E=localStorage.getItem(Bb);E?JSON.parse(E).isMigrated===!0?u():await d(b):await d(b)}catch(E){console.error("Error checking migration status:",E),await d(b)}}const I=r.userData?.settings?.language;Zl.includes(I)&&I!==i&&await s(I),hR().ensureRegisteredIfGranted()}catch(g){console.error("â Error setting user:",g),g.stack&&console.error("Error stack:",g.stack)}else localStorage.removeItem("iuli"),c.value=null,r.user&&(sessionStorage.setItem(Qm,"true"),window.location.reload()),await r.setUser(null,!1,"auth_state_changed")}),{provide:{}}}}),EH=It(()=>({provide:{paddle:{load:()=>new Promise((n,e)=>{if(window.Paddle){n(window.Paddle);return}const r=document.createElement("script");r.src="https://cdn.paddle.com/paddle/v2/paddle.js",r.async=!0,r.onload=()=>{window.Paddle?n(window.Paddle):e(new Error("Paddle script loaded but Paddle object not found"))},r.onerror=()=>{e(new Error("Failed to load Paddle script"))},document.head.appendChild(r)})}}})),wH=It(()=>{Zn().afterEach((e,r,o)=>{o||Be({eventName:"page_view",page:e.name,properties:{page_location:window.location.href,page_title:document.title}}
3761)})}),bH=It(n=>{n.vueApp.directive("animate",{getSSRProps:()=>({}),mounted(e){if(!("IntersectionObserver"in window)){e.classList.add("in-view");return}const r=new IntersectionObserver(o=>{o.forEach(i=>{i.isIntersecting&&(i.target.classList.add("in-view"),r.unobserve(i.target))})},{threshold:.08,rootMargin:"0px 0px -40px 0px"});r.observe(e),e._scrollObserver=r},unmounted(e){e._scrollObserver&&(e._scrollObserver.disconnect(),delete e._scrollObserver)}})}),TH=It({name:"smartlook",setup(){return typeof window>"u"?{provide:{smartlook:()=>{}}}:(window.smartlook||(function(n){const e=window.smartlook=function(){e.api.push(arguments)},r=n.getElementsByTagName("head")[0],o=n.createElement("script");e.api=new Array,o.async=!0,o.type="text/javascript",o.charset="utf-8",o.src="https://web-sdk.smartlook.com/recorder.js",r.appendChild(o)})(document),{provide:{smartlook:window.smartlook||function(){}}})}}),AH=It({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(n){}}),IH=[sx,dx,Yz,Xz,Zz,eH,tH,nH,rH,oH,iH,aH,cH,uH,dH,hH,mH,vH,xz,EH,wH,bH,TH,AH],vC=(n="RouteProvider")=>fr({name:n,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const r=e.renderKey,o=e.route,i={};for(const s in e.route)Object.defineProperty(i,s,{get:()=>r===e.renderKey?e.route[s]:o[s],enumerable:!0});return Ni(ws,yo(i)),()=>e.vnode?Bt(e.vnode,{ref:e.vnodeRef}):e.vnode}}),SH=vC(),jb=new WeakMap,PH=fr({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(n,{attrs:e,slots:r,expose:o}){const i=xe(),s=me(),a=zt(ws,null);let l;o({pageRef:s});const c=zt(xA,null);let u;const d=i.deferHydration();if(i.isHydrating){const h=i.hooks.hookOnce("app:error",d);Zn().beforeEach(h)}n.pageKey&&wt(()=>n.pageKey,(h,m)=>{h!==m&&i.callHook("page:loading:start")});let p=!1;{const h=Zn().beforeResolve(()=>{p=!1});Hi(()=>{h()})}return()=>Bt(nI,{name:n.name,route:n.route,...e},{default:h=>{const m=CH(a,h.route,h.Component),g=a&&a.matched.length===h.route.matched.length;if(!h.Component){if(u&&!g)return u;d();return}if(u&&c&&!c.isCurrent(h.route))return u;if(m&&a&&(!c||c?.isCurrent(a)))return g?u:null;const v=ym(h,n.pageKey),w=OH(a,h.route,h.Component);!i.isHydrating&&l===v&&!w&&Hr(()=>{p=!0,i.callHook("page:loading:end")}),l=v;const I=!!(n.transition??h.route.meta.pageTransition??yv),b=I&&RH([n.transition,h.route.meta.pageTransition,yv,{onAfterLeave(){delete i._runningTransition,i.callHook("page:transition:finish",h.Component)}}]),E=n.keepalive??h.route.meta.keepalive??WL;return u=oI(I&&b,w5(E,Bt(Z_,{suspensible:!0,onPending:()=>{I&&(i._runningTransition=!0),i.callHook("page:start",h.Component)}
3761,onResolve:()=>{Hr(()=>i.callHook("page:finish",h.Component).then(()=>{if(delete i._runningTransition,!p&&!w)return p=!0,i.callHook("page:loading:end")}).finally(d))}},{default:()=>{const P={key:v||void 0,vnode:r.default?kH(r.default,h):h.Component,route:h.route,renderKey:v||void 0,trackRootNodes:I,vnodeRef:s};if(!E)return Bt(SH,P);const D=h.Component.type,V=D;let S=jb.get(V);return S||(S=vC(D.name||D.__name),jb.set(V,S)),Bt(S,P)}}))).default(),u}})}});function RH(n){const e=[];for(const r of n)r&&e.push({...r,onAfterLeave:r.onAfterLeave?dg(r.onAfterLeave):void 0});return gf(...e)}function CH(n,e,r){if(!n)return!1;const o=e.matched.findIndex(i=>i.components?.default===r?.type);return!o||o===-1?!1:e.matched.slice(0,o).some((i,s)=>i.components?.default!==n.matched[s]?.components?.default)||r&&ym({route:e,Component:r})!==ym({route:n,Component:r})}function OH(n,e,r){return n?e.matched.findIndex(i=>i.components?.default===r?.type)<e.matched.length-1:!1}function kH(n,e){const r=n(e);return r.length===1?Bt(r[0]):Bt(We,void 0,r)}const LH=fr({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(n,e){return()=>Bt(Li[n.name],n.layoutProps,e.slots)}}),DH={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},xH=fr({name:"NuxtLayout",inheritAttrs:!1,props:DH,setup(n,e){const r=xe(),o=zt(ws),s=!o||o===Ls()?rI():o,a=z(()=>{let d=Q(n.name)??s?.meta.layout??"default";return d&&!(d in Li)&&n.fallback&&(d=Q(n.fallback)),d}),l=oi();e.expose({layoutRef:l});const c=r.deferHydration();if(r.isHydrating){const d=r.hooks.hookOnce("app:error",c);Zn().beforeEach(d)}let u;return()=>{const d=a.value&&a.value in Li,p=s?.meta.layoutTransition??GL,h=u;return u=a.value,oI(d&&p,{default:()=>Bt(Z_,{suspensible:!0,onResolve:()=>{Hr(c)}},{default:()=>Bt(NH,{layoutProps:Kl(e.attrs,{ref:l}),key:a.value||void 0,name:a.value,shouldProvide:!n.name,isRenderingNewLayout:m=>m!==h&&m===a.value,hasTransition:!!p},e.slots)})}).default()}}}),NH=fr({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(n,e){const r=n.name;n.shouldProvide&&Ni(xA,{isCurrent:s=>r===(s.meta.layout??"default")});const o=zt(ws);if(o&&o===Ls()){const s=rI(),a={};for(const l in s){const c=l;Object.defineProperty(a,c,{enumerable:!0,get:()=>n.isRenderingNewLayout(n.name)?s[c]:o[c]})}Ni(ws,yo(a))}return()=>!r||typeof r=="string"&&!(r in Li)?e.slots.default?.():Bt(LH,{key:r,layoutProps:n.layoutProps,name:r},e.slots)}}),zc=(n,e)=>{const r=n.__vccOpts||n;for(const[o,i]of e)r[o]=i;return r},VH=["r","stroke-width"],MH={__name:"CustomSpinner",props:{size:{type:String,required:!1,default:"lg",validator:n=>["sm","md","lg"].includes(n)},borderWidth:{type:String,required:!1,default:"md",validator:n=>["sm","md"].includes(n)},theme:{type:String,required:!1,default:"light",validator:n=>["light","dark"].includes(n)}},setup(n){const e=n,r={sm:"h-4 w-4",md:"h-8 w-8",lg:"h-12 w-12",custom:""},o={light:"loader--light",dark:"loader--dark"},i={sm:3,md:6},s=z(()=>r[e.size]??""),a=z(()=>o[e.theme]??o.light),l=z(()=>i[e.borderWidth]??i.lg),c=z(()=>23-l.value/2);return(u,d)=>(Y(),se("div",{class:Le(["loader-box flex items-center justify-center",s.value])},[(Y(),se("svg",{class:Le(["loader-svg h-full w-full",a.value]),viewBox:"0 0 48 48"},[U("circle",{class:"loader-arc",cx:"24",cy:"24",r:c.value,fill:"none","stroke-width":l.value,"stroke-linecap":"round",pathLength:"100"},null,8,VH)],2))],2))}},hc=zc(MH,[["__scopeId","data-v-7019b820"]]),A_={__name:"CustomButton",props:{size:{type:String,default:"lg"},type:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},rounded:{type:String,default:"lg"},icon:{type:Boolean,default:!1},active:{type:Boolean,default:!1},silentDisabled:{type:Boolean,default:!1},leftAlign:{type:Boolean,default:!1},to:{type:[String,Object],default:null},rel:{type:String,default:""}},emits:["click"],setup(n,{emit:e}){const r=n,o=e,i={primary:{default:"bg-brand-primary hover:bg-brand-primary/90 text-negative fill-icon-white stroke-icon-white",disabled:"cursor-not-allowed bg-brand-primary/30 text-negative fill-icon-white stroke-icon-white",silentDisabled:"cursor-not-allowed bg-brand-primary/90 text-negative fill-icon-white stroke-icon-white"},secondary:{default:"bg-primary border-primary border hover:bg-secondary hover:text-primary hover:fill-icon-black hover:stroke-icon-black text-primary-2nd fill-icon-gray-darker stroke-icon-gray-darker",disabled:"cursor-not-allowed bg-tertiary border-secondary border text-tertiary fill-icon-gray-light stroke-icon-gray-light",active:"border-primary bg-secondary border hover:bg-secondary hover:text-primary hover:fill-icon-black hover:stroke-icon-black text-primary-2nd fill-icon-gray-darker stroke-icon-gray-darker"},neutral:{default:"bg-negative border border-black hover:bg-surface-gray-dark hover:border-gray-700 text-accent-gray-lighter fill-gray-50 stroke-gray-50",disabled:"cursor-not-allowed bg-secondary border border-primary text-tertiary fill-icon-gray-light stroke-icon-gray-light"},"neutral-secondary":{default:"bg-primary border border-primary hover:border-black text-primary-2nd fill-icon-gray hover:fill-icon-black stroke-icon-gray hover:stroke-icon-black",disabled:"cursor-not-allowed border border-primary text-gray-200 fill-gray-200 stroke-primary"},tertiary:{default:"bg-primary border border-primary hover:border-black text-secondary fill-icon-gray hover:text-primary stroke-icon-gray hover:stroke-icon-black hover:fill-icon-black",disabled:"cursor-not-allowed border border-primary text-gray-200 fill-gray-200 stroke-primary",active:"bg-primary border border-primary hover:border-black text-primary-2nd fill-icon-gray-darker stroke-icon-gray-darker hover:text-primary hover:fill-icon-black hover:stroke-icon-black"},"neutral-tertiary":{default:"bg-primary hover:bg-secondary text-secondary fill-icon-gray stroke-icon-gray",disabled:"cursor-not-allowed bg-primary text-gray-200 fill-gray-200 stroke-primary",active:"bg-secondary hover:bg-secondary text-primary-2nd fill-icon-gray-darker stroke-icon-gray-darker hover:text-primary hover:fill-icon-black hover:stroke-icon-black"},"alert-primary":{default:"bg-alert text-accent-gray-lighter fill-gray-50 stroke-gray-50",disabled:"cursor-not-allowed bg-alert-50 text-surface-blue-light fill-surface-blue-light stroke-surface-blue-light"},simple:{disabled:"cursor-not-allowed bg-primary text-gray-200 fill-gray-200 stroke-primary",default:"bg-none hover:bg-opacity-40 hover:bg-gray-200 text-secondary fill-icon-gray stroke-icon-gray"},"link-primary":{default:"text-brand-primary hover:text-brand-primary/90 fill-brand-primary hover:fill-brand-primary/90 stroke-brand-primary hover:stroke-brand-primary/90",disabled:"cursor-not-allowed text-brand-primary/30 fill-brand-primary/30 stroke-brand-primary/30"}},s={default:{sm:"label-s px-3 py-1.5",md:"label-s px-4 py-2.5",lg:"label-m px-5 py-2.5",xl:"label-m px-5 py-3",custom:" "},icon:{sm:"p-1.5 paragraph-s",md:"p-2.5 paragraph-s",lg:"p-2.5 paragraph-m",xl:"p-3 paragraph-m",custom:" "}},a={lg:"rounded-[0.625rem]",md:"rounded-md",custom:" "},l=z(()=>r.disabled||r.loading),c=z(()=>r.active&&!l.value),u=z(()=>!!r.to&&!l.value),d=z(()=>i[r.type]||i.primary),p=z(()=>l.value?r.silentDisabled?d.value.silentDisabled:d.value.disabled:c.value?d.value.active:d.value.default),h=z(()=>r.icon?s.icon[r.size]||s.icon.lg:s.default[r.size]||s.default.lg),m=z(()=>a[r.rounded]||a.lg),g=v=>{l.value||o("click",v)};return(v,w)=>(Y(),Xe(Va(u.value?Q(E$):"button"),{class:Le(["inline-block w-fit",[p.value,h.value,m.value,{"text-left":r.leftAlign}]]),to:u.value?r.to:void 0,rel:u.value&&r.rel?r.rel:void 0,onClick:g},{default:et(()=>[U("div",{class:Le(["relative flex h-full w-full items-center",{invisible:r.loading,"justify-start text-left":r.leftAlign,"justify-center":!r.leftAlign}])},[Co(v.$slots,"default"),r.loading?(Y(),Xe(hc,{key:0,size:"custom",class:"visible absolute left-1/2 top-1/2 h-6 w-6 -translate-x-1/2 -translate-y-1/2"})):Ue("",!0)],2)]),_:3},8,["class","to","rel"]))}},FH={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"};function UH(n,e){return Y(),se("svg",FH,[...e[0]||(e[0]=[U("path",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.333",d:"m12 4-8 8M4 4l8 8"},null,-1)])])}const ks={render:UH},BH={xmlns:"http://www.w3.org/2000/svg",fill:"#00f",viewBox:"0 0 20 20"};function jH(n,e){return Y(),se("svg",BH,[...e[0]||(e[0]=[U("path",{fill:"inherit",d:"M10 1.25a8.75 8.75 0 1 1 0 17.5 8.75 8.75 0 0 1 0-17.5m2.924 5.826a.6.6 0 0 0-.848 0L10 9.152 7.924 7.076a.599.599 0 1 0-.848.848L9.152 10l-2.076 2.076a.599.599 0 1 0 .848.848L10 10.848l2.076 2.076a.599.599 0 1 0 .848-.848L10.848 10l2.076-2.076a.6.6 0 0 0 0-.848"},null,-1)])])}const $H={render:jH},zH={xmlns:"http://www.w3.org/2000/svg",fill:"inherit",stroke:"inherit",viewBox:"0 0 36 36"};function HH(n,e){return Y(),se("svg",zH,[...e[0]||(e[0]=[U("path",{fill:"none","stroke-width":"2.25",d:"M7.96 16.14c4.378-7.763 6.566-11.644 10.032-11.644s5.656 3.88 10.
3761032 11.643l.546.966c3.638 6.45 5.458 9.675 3.813 12.033-1.644 2.358-5.712 2.358-13.845 2.358h-1.091c-8.133 0-12.201 0-13.845-2.358s.175-5.583 3.813-12.033z"},null,-1),U("path",{fill:"none","stroke-linecap":"round","stroke-width":"2.25",d:"M17.992 11.992v7.5"},null,-1),U("path",{stroke:"none",d:"M17.992 25.492a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"},null,-1)])])}const qH={render:HH},GH={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"};function WH(n,e){return Y(),se("svg",GH,[...e[0]||(e[0]=[U("path",{stroke:"inherit","stroke-width":"1.5",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15Z"},null,-1),U("path",{stroke:"inherit","stroke-linecap":"round","stroke-width":"1.5",d:"M10 13.75v-4.5"},null,-1),U("path",{fill:"inherit",d:"M10 6.25a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5"},null,-1)])])}const $b={render:WH},KH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none"};function YH(n,e){return Y(),se("svg",KH,[...e[0]||(e[0]=[U("path",{fill:"#030712","fill-rule":"evenodd",d:"M15.838 2.478a1.46 1.46 0 0 1 1.454 1.458v10.462l-.013.19a1.46 1.46 0 0 1-2.17 1.076l-4.442-2.539H8.958v3.125a1.876 1.876 0 0 1-3.75 0v-3.175a3.958 3.958 0 0 1 .625-7.867h4.834L15.11 2.67l.172-.084c.176-.072.365-.109.556-.108M6.458 16.25a.626.626 0 0 0 1.25 0v-3.125h-1.25zm9.376-12.522a.2.2 0 0 0-.104.028l-4.272 2.44v5.941l4.272 2.441a.21.21 0 0 0 .312-.18V3.936a.209.209 0 0 0-.208-.208m-10 2.73a2.708 2.708 0 0 0 0 5.417h4.374V6.458z","clip-rule":"evenodd"},null,-1)])])}const fh={render:YH},JH={};function QH(n,e){return Y(),Xe(Pk,{"enter-active-class":"transition-opacity ease-out duration-500","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity ease-in duration-200 absolute","leave-from-class":"opacity-100","leave-to-class":"opacity-0","move-class":"transition-transform duration-200"},{default:et(()=>[Co(n.$slots,"default")]),_:3})}const XH=zc(JH,[["render",QH]]),ZH={__name:"TransitionSlide",props:{direction:{type:String,default:"left",validator(n){return["right","left","down","up"].includes(n)}},distance:{type:String,default:"medium",validator(n){return["short","medium"].includes(n)}}},setup(n){const e=n,r={right:{"enter-from-class":"opacity-0 -translate-x-10","leave-to-class":"opacity-0 -translate-x-10"},left:{"enter-from-class":"opacity-0 translate-x-10","leave-to-class":"opacity-0 translate-x-10"},down:{"enter-from-class":"opacity-0 -translate-y-10","leave-to-class":"opacity-0 -translate-y-10"},up:{"enter-from-class":"opacity-0 translate-y-10","leave-to-class":"opacity-0 translate-y-10"}},o={right:{"enter-from-class":"opacity-0 -translate-x-5","leave-to-class":"opacity-0 -translate-x-5"},left:{"enter-from-class":"opacity-0 translate-x-5","leave-to-class":"opacity-0 translate-x-5"},down:{"enter-from-class":"opacity-0 -translate-y-5","leave-to-class":"opacity-0 -translate-y-5"},up:{"enter-from-class":"opacity-0 translate-y-5","leave-to-class":"opacity-0 translate-y-5"}},i=z(()=>e.distance==="short"),s=z(()=>i.value?o[e.direction]||o.left:r[e.direction]||r.left);return(a,l)=>(Y(),Xe(pf,{"enter-active-class":"transition ease-out duration-500","enter-from-class":s.value["enter-from-class"],"enter-to-class":"opacity-100","leave-active-class":"transition ease-in duration-300","leave-from-class":"opacity-100","leave-to-class":s.value["leave-to-class"]},{default:et(()=>[Co(a.$slots,"default")]),_:3},8,["enter-from-class","leave-to-class"]))}},eq={__name:"BaseCard",props:{padding:{type:String,default:"md"},rounded:{type:String,default:"md"}},setup(n){const e=n,r={none:"p-0 border-0",md:"p-5 border"},o={md:"rounded-[0.625rem]","3xl":"rounded-3xl"};return(i,s)=>(Y(),se("div",{class:Le(["flex flex-col items-center border-primary bg-primary",[o?.[e.rounded],r?.[e.padding]]])},[Co(i.$slots,"default")],2))}},tq={};function nq(n,e){return Y(),Xe(pf,{"enter-active-class":"transition-opacity ease-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity ease-in duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:et(()=>[Co(n.$slots,"default")]),_:3})}const I_=zc(tq,[["render",nq]]),k0={__name:"PopUpCard",props:fd({size:{type:String,default:"sm",validator:n=>["sm","lg","full"].includes(n)},padding:{type:String,default:"md"},selfClose:{type:Boolean,default:!0},zIndexClass:{type:String,default:"z-[80]"},rounded:{type:String,default:"md"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:fd(["close"],["update:modelValue"]),setup(n,{emit:e}){const r=zT(n,"modelValue"),o=e,i=n,s={sm:"w-[calc(100%-24px)] max-w-[30rem] max-h-[calc(100vh-96px)] md:max-h-[calc(100vh-126px)] lg:max-h-[calc(100vh-96px)]",lg:"w-[calc(100%-32px)] md:w-[calc(100%-64px)] max-w-[75rem] max-h-[calc(100vh-96px)] md:max-h-[calc(100vh-126px)] lg:max-h-[calc(100vh-96px)]","lg-high":"w-[calc(100%-32px)] md:w-[calc(100%-64px)] max-w-[75rem] max-h-[calc(100vh-48px)]",full:"w-full h-full rounded-none"},a=z(()=>i.size?s[i.size]:s.md),l=()=>{i.selfClose&&(r.value=!1),o("close")};return(c,u)=>(Y(),Xe(mT,{to:"body"},[ge(I_,null,{default:et(()=>[r.value?(Y(),Xe(eq,{key:0,class:Le(["fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 overflow-y-auto shadow-lg transition-all duration-300",[a.value,
3761n.zIndexClass]]),padding:n.padding,rounded:n.rounded},{default:et(()=>[Co(c.$slots,"default")]),_:3},8,["class","padding","rounded"])):Ue("",!0)]),_:3}),ge(I_,null,{default:et(()=>[r.value?(Y(),se("div",{key:0,class:"fixed left-0 top-0 z-[70] h-screen w-screen",onClick:l},[...u[0]||(u[0]=[U("div",{class:"h-full w-full bg-negative opacity-40"},null,-1)])])):Ue("",!0)]),_:1})]))}},rq={key:0,class:"fixed left-2 right-2 top-5 z-[100] flex flex-col gap-2 md:left-auto md:right-5"},oq={class:"flex flex-1 flex-col gap-1 text-left"},iq=["onClick"],sq={class:"flex w-full flex-col content-start gap-5"},aq={class:"flex w-full items-center justify-center"},lq={class:"border-gray flex items-center justify-center rounded-xl border border-primary bg-secondary p-2"},cq={class:"flex w-full flex-col content-start"},uq={class:"label-l w-full text-center text-primary"},dq={class:"paragraph-m mt-1 w-full text-center text-primary"},fq={class:"flex w-full flex-row flex-nowrap gap-3"},pq={__name:"TheAlert",setup(n){const e=wf(),r=c=>{e.confirmResult(c)},o=c=>({default:fh,error:$H,success:Xm,warning:$b,info:$b,simple:fh})[c]||fh,i=c=>{const u={default:"fill-none stroke-none",error:"fill-alert stroke-icon-white",success:"fill-affirmative stroke-icon-white",warning:"fill-none stroke-[#E8BC1C]",info:"fill-none stroke-brand-primary",simple:"fill-none stroke-none"};return u[c]||u.default},s=c=>{const u={default:"text-primary",error:"text-alert",success:"text-affirmative",warning:"text-[#E8BC1C]",info:"text-primary",simple:"text-primary"};return u[c]||u.default},a=c=>c==="simple"?" label-s !text-primary":"!text-secondary paragraph-xs font-normal",l=c=>{e.removeAlert(c)};return(c,u)=>{const d=A_;return Y(),se(We,null,[ge(ZH,{direction:"down"},{default:et(()=>[Q(e).alerts&&Q(e).alerts.length>0?(Y(),se("div",rq,[ge(XH,null,{default:et(()=>[(Y(!0),se(We,null,Eo(Q(e).alerts,p=>(Y(),se("div",{key:p.id,class:Le(["flex w-full items-start gap-3 rounded-xl border border-primary bg-secondary p-3 shadow-xl md:w-[380px]",p.title||p.description.length>60?"items-start":"items-center"])},[(Y(),Xe(Va(o(p.type)),{class:Le(["h-5 w-5 flex-shrink-0",i(p.type)])},null,8,["class"])),U("div",oq,[p.title?(Y(),se("p",{key:0,class:Le(["label-s",s(p.type)])},pe(p.title),3)):Ue("",!0),U("p",{class:Le(a(p.type))},pe(p.description),3)]),p.isClosable?(Y(),se("button",{key:0,class:"flex-shrink-0",onClick:h=>l(p.id)},[ge(Q(ks),{class:"h-4 w-4 stroke-icon-gray"})],8,iq)):Ue("",!0)],2))),128))]),_:1})])):Ue("",!0)]),_:1}),ge(k0,{modelValue:Q(e).confirmDialog.show,"onUpdate:modelValue":u[3]||(u[3]=p=>Q(e).confirmDialog.show=p),"z-index-class":"z-[90]","self-close":!1},{default:et(()=>[U("div",sq,[U("div",{class:"absolute right-5 top-5 h-5 w-5 cursor-pointer",onClick:u[0]||(u[0]=p=>r(!1))},[ge(Q(ks),{class:"h-5 w-5 stroke-icon-gray"})]),U("div",aq,[U("div",lq,[ge(Q(qH),{class:"h-9 w-9 fill-icon-gray stroke-icon-gray"})])]),U("div",cq,[U("p",uq,pe(Q(e).confirmDialog.title),1),U("p",dq,pe(Q(e).confirmDialog.message),1)]),U("div",fq,[ge(d,{type:"secondary",size:"custom",class:"label-m w-full px-2.5 py-2.5",onClick:u[1]||(u[1]=p=>r(!0))},{default:et(()=>[Xt(pe(Q(e).confirmDialog.confirmButtonText),1)]),_:1}),ge(d,{type:"primary",size:"custom",class:"label-m w-full px-2.5 py-2.5",onClick:u[2]||(u[2]=p=>r(!1))},{default:et(()=>[Xt(pe(Q(e).confirmDialog.cancelButtonText),1)]),_:1})])])]),_:1},8,["modelValue"])],64)}}},hq={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 16 16"};function mq(n,e){return Y(),se("svg",hq,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M8.527 22.269 2 15.742v1.334c0 .353.14.693.393.94l5.194 5.193c.52.52 1.366.52 1.886 0l4.14-4.14c.52-.52.52-1.367 0-1.887zM8.413 13.872c-.52.52-1.366.52-1.886 0l-4.14-4.14a1.336 1.336 0 0 1 0-1.886L7.58 2.652a1.36 1.36 0 0 1 .947-.386h4.14c.733 0 1.333.6 1.333 1.333v4.14c0 .353-.14.693-.393.94zm2.754-9.606a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667"},null,-1)])])}const _q={render:mq},gq=["day","week","month","year"],EC=(n,e)=>{const{t:r}=Jt();return z(()=>{const o=vo(n);if(!o)return"";const{interval:i,interval_count:s=1}=o,a=s===1&&gq.includes(i);return r(a?`${e}.${i}`:`${e}.generic`)})},yq={class:"flex w-full flex-col gap-2"},vq={class:"flex w-full flex-col gap-1"},Eq={class:"flex w-full items-center gap-6"},wq={class:"paragraph-s min-w-px flex-1 text-[#212121]"},bq={class:"paragraph-s w-[100px] text-right text-[#212121]"},Tq={key:0,class:"flex w-full items-center justify-between"},Aq={class:"flex items-center gap-1 rounded-md bg-affirmative p-1"},Iq={class:"paragraph-xs whitespace-nowrap text-white-fixed"},Sq={class:"paragraph-s w-[100px] text-right text-affirmative"},Pq={class:"flex w-full items-center gap-6"},Rq={class:"label-s whitespace-nowrap text-[#212121]"},Cq={class:"paragraph-s flex-1 text-right text-[#212121]"},Oq={__name:"CheckoutPaymentSummary",props:{product:{type:Object,required:!0},discount:{type:Object,required:!1,default:null}},setup(n){const{t:e}=Jt(),r=n,o=wr(),i=g=>{const v=Os(g,o.currentCurrency),w=Wa.includes(o.currentCurrency)?0:2;return`${o.currencySymbol}
3761${v.toLocaleString("en-US",{minimumFractionDigits:w,maximumFractionDigits:w})}`},s={week:"intervalWeekly",month:"intervalMonthly",year:"intervalYearly"},a=z(()=>{const g=r.product?.recurring;if(!g)return"";const{interval:v,interval_count:w}=g;return w===1&&s[v]?e(`components.molecules.checkout.paymentSummary.${s[v]}`):`${w} ${e(`common.${v}s`)}`}),l=EC(()=>r.product?.recurring,"components.molecules.checkout.paymentSummary.firstPeriod"),c=z(()=>e("components.molecules.checkout.paymentSummary.subscription",{interval:a.value})),u=z(()=>i(r.product.unit_amount)),d=z(()=>r.product.unit_amount*(r.discount?1-r.discount.amount/100:1)),p=z(()=>i(d.value)),h=z(()=>r.discount?`-${i(r.product.unit_amount-d.value)}`:null),m=z(()=>{if(!r.discount)return null;const g=Math.round(r.discount.amount);return r.discount.oneIntervalRecurringDiscount?e("components.molecules.checkout.paymentSummary.offFirst",{percentage:g,firstPeriod:l.value}):e("components.molecules.checkout.paymentSummary.off",{percentage:g})});return(g,v)=>(Y(),se("div",yq,[U("div",vq,[U("div",Eq,[U("p",wq,pe(c.value),1),U("p",bq,pe(u.value),1)]),r.discount?(Y(),se("div",Tq,[U("div",Aq,[ge(Q(_q),{class:"h-4 w-4 fill-icon-white"}),U("span",Iq,pe(m.value),1)]),U("p",Sq,pe(h.value),1)])):Ue("",!0)]),v[0]||(v[0]=U("div",{class:"h-0 w-full border-t border-primary"},null,-1)),U("div",Pq,[U("p",Rq,pe(Q(e)("components.molecules.checkout.paymentSummary.totalDueToday")),1),U("p",Cq,pe(p.value),1)])]))}},kq=()=>{const{sendEvent:n}=pC(),e=()=>new Promise((u,d)=>{if(typeof window>"u"){d(new Error("Window is not available"));return}if(window.Paddle){u(window.Paddle);return}let p=0;const h=50,m=Jf(()=>{p++,window.Paddle?(clearInterval(m),u(window.Paddle)):p>=h&&(clearInterval(m),d(new Error("Paddle script failed to load")))},100)}),r=async()=>(await e(),window.Paddle),o=u=>{const d=["aborted","chose_to_cancel","retained","error"],p=["No longer needed","Too expensive","Missing features","Inaccurate transcripts/summaries","Other"],h=["Satisfied, just don't need it anymore","High transcription accuracy","Responsive customer success","AI summaries and insights","Other"],m={isValid:!0,warnings:[]};return d.includes(u.status)||(m.isValid=!1,m.warnings.push(`Invalid status: ${u.status}`)),u.cancelReason&&!p.includes(u.cancelReason)&&m.warnings.push(`Unexpected cancelReason: ${u.cancelReason}`),u.satisfactionInsight&&!h.includes(u.satisfactionInsight)&&m.warnings.push(`Unexpected satisfactionInsight: ${u.satisfactionInsight}`),m},i=u=>{n({eventName:"paddle_retain_flow_started",eventGroup:"paddle_retain",properties:{...yl(),subscription_id:u}})},s=(u,d)=>{n({eventName:"paddle_retain_flow_aborted",eventGroup:"paddle_retain",properties:{...yl(),subscription_id:u,duration_ms:d}})},a=(u,d,p)=>{if(!u){const m=new Error("Paddle Retain returned null/undefined result");throw l(m,d,p),m}const h=o(u);if((!h.isValid||h.warnings.length>0)&&console.warn("Paddle Retain result validation:",h,u),u.status==="aborted"){s(d,p);return}n({eventName:"paddle_retain_flow_completed",eventGroup:"paddle_retain",properties:{...yl(),subscription_id:d,duration_ms:p,status:u.status,cancel_reason:u.cancelReason,satisfaction_insight:u.satisfactionInsight,additional_feedback:u.additionalFeedback,salvage_attempt_intended:u.salvageAttemptIntended,salvage_attempt_used:u.salvageAttemptUsed,salvage_attempt_decision:u.salvageAttemptResult?.decision,salvage_attempt_resolution:u.salvageAttemptResult?.resolution,salvage_attempt_has_errors:u.salvageAttemptResult?.hasErrors,salvage_offer_decision:u.salvageOfferResult?.decision,salvage_offer_has_errors:u.salvageOfferResult?.hasErrors}})},l=(u,d,p)=>{n({eventName:"paddle_retain_flow_error",eventGroup:"paddle_retain",properties:{...yl(),subscription_id:d,duration_ms:p,error_message:u.message||JSON.stringify(u),error_code:u.code}})};return{getPaddle:r,waitForPaddle:e,initRetainFlow:async u=>{const d=Date.now();let p;try{p=await r()}catch(h){throw n({eventName:"paddle_error",eventGroup:"paddle",properties:{...yl(),error:h.code,retries:h.retries}}),h}i(u);try{const h=await p.Retain.initCancellationFlow({subscriptionId:u}),m=Date.now()-d;return a(h,u,m),h}catch(h){const m=Date.now()-d;throw l(h,u,m),h}}}},Lq={key:0,class:"flex w-full justify-end"},Dq={class:"flex h-fit w-full flex-grow flex-col justify-center"},xq={class:"mb-2 flex w-full flex-col gap-2"},Nq={class:"flex w-full flex-col gap-0.5"}
3761,Vq={class:"label-l text-primary"},Mq={class:"paragraph-s text-secondary"},Fq={key:0,class:"flex w-full items-center justify-center"},Uq={key:2,class:"flex w-full flex-row items-center gap-2 whitespace-nowrap"},Bq={class:"paragraph-s text-secondary"},jq={class:"flex w-full flex-grow flex-col items-center justify-center"},$q={class:"checkout-container w-full"},zq={key:0,class:"flex w-full flex-grow items-center justify-center"},Hq={key:1,class:"flex w-full flex-grow items-center justify-center"},qq={class:"paragraph-l text-center text-primary"},Gq={key:2,class:"flex w-full flex-grow flex-col items-center justify-center"},Wq={class:"text-ceter paragraph-l text-primary"},Kq={class:"paragraph-s mt-2 text-center text-secondary"},Yq={__name:"Checkout",props:{product:{required:!0,type:Object},discount:{required:!1,type:Object,default:null},productId:{required:!0,type:String},discountId:{required:!1,type:String,default:null},source:{required:!0,type:String},type:{default:"page",type:String,validator:n=>["page","popUp"].includes(n)}},emits:["close"],setup(n,{emit:e}){const{locale:r,t:o}=Jt(),i=e,s=n,a=st(),l=jc(),c=wr(),u=GR(),d=V=>{if(!V)return"";const{interval:S,interval_count:C}=V,A=S,R=o(C===1?`common.${A}`:`common.${A}s`);return`/${C>1?` ${C}`:""} ${R}`},p=V=>{const S=Os(V,c.currentCurrency);return Wa.includes(c.currentCurrency)?`${c.currencySymbol}${S.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`:`${c.currencySymbol}${S.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`},h=z(()=>s.product.unit_amount*(s.discount?1-s.discount.amount/100:1)),m=z(()=>p(h.value)),g=z(()=>u.value?.title_variations?.default||"checkout_default"),v=z(()=>u.value?.show_price??!1),w=z(()=>u.value?.one_page_checkout??!1),I=z(()=>u.value?.payment_summary??!0),b=z(()=>u.value?.price_size??"md"),E=z(()=>b.value==="sm"?"heading-5":b.value==="md"?"heading-4":"md:heading-3 heading-4"),P={customData:{cerebroId:zi(),userId:a.user?a.user.uid:null},settings:{locale:r.value,...w.value?{variant:"one-page"}:{}},...s.discountId?{discountId:s.discountId}:{},items:[{priceId:s.productId,quantity:1}]};a.user&&a.user.email&&a.user.email.indexOf("privaterelay")===-1&&(P.customer={email:a.user.email});const{getPaddle:D}=kq();return br(async()=>{try{(await D()).Checkout.open(P),Be({eventName:"checkout",properties:{...yr(),...Go(s.productId),priceId:s.productId,productId:s.productId,source:s.source}})}catch(V){console.error("Failed to load Paddle:",V)}}),(V,S)=>(Y(),se(We,null,[n.type==="popUp"?(Y(),se("div",Lq,[ge(Q(ks),{class:"h-5 w-5 cursor-pointer stroke-icon-gray",onClick:S[0]||(S[0]=()=>{i("close")})})])):Ue("",!0),U("div",Dq,[U("div",xq,[U("div",Nq,[U("p",Vq,pe(Q(o)(`components.molecules.checkout.titleVariations.${g.value}`)),1),U("p",Mq,pe(Q(o)("components.molecules.checkout.choosePaymentMethod")),1)]),s.product?I.value&&s.discount?(Y(),Xe(Oq,{key:1,product:s.product,discount:s.discount},null,8,["product","discount"])):v.value?(Y(),se("div",Uq,[U("span",{class:Le([E.value,"text-primary"])},pe(m.value),3),U("span",Bq,pe(d(s.product.recurring)),1)])):Ue("",!0):(Y(),se("div",Fq,[ge(hc)]))]),U("div",jq,[J2(U("div",$q,null,512),[[dk,Q(l).checkoutCompletedState==="idle"]]),Q(l).checkoutCompletedState==="validating"?(Y(),se("div",zq,[ge(hc)])):Ue("",!0),Q(l).checkoutCompletedState==="success"?(Y(),se("div",Hq,[U("p",qq,pe(V.$t("components.molecules.checkout.paymentSuccessful")),1)])):Q(l).checkoutCompletedState==="error"?(Y(),se("div",Gq,[U("p",Wq,pe(V.$t("components.molecules.checkout.paymentFailed")),1),U("p",Kq,pe(V.$t("components.molecules.checkout.paymentFailedMessage")),1)])):Ue("",!0)])])],64))}};async function Jq(n,e){return await Qq(e).catch(o=>(console.error("Failed to get image meta for "+e,o+""),{width:0,height:0,ratio:0}))}async function Qq(n){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((e,r)=>{const o=new Image;o.onload=()=>{const i={width:o.width,height:o.height,ratio:o.width/o.height};e(i)},o.onerror=i=>r(i),o.src=n})}function zb(n){return e=>e?n[e]||e:n.missingValue}function wC({formatter:n,keyMap:e,joinWith:r="/",valueMap:o}={}){n||(n=(s,a)=>`${s}=${a}`),e&&typeof e!="function"&&(e=zb(e));const i=o||{};
3761return Object.keys(i).forEach(s=>{typeof i[s]!="function"&&(i[s]=zb(i[s]))}),(s={})=>Object.entries(s).filter(([l,c])=>typeof c<"u").map(([l,c])=>{const u=i[l];return typeof u=="function"&&(c=u(s[l])),l=typeof e=="function"?e(l):l,n(l,c)}).join(r)}function wo(n=""){if(typeof n=="number")return n;if(typeof n=="string"&&n.replace("px","").match(/^\d+$/g))return Number.parseInt(n,10)}function Xq(n=""){if(n===void 0||!n.length)return[];const e=new Set;for(const r of n.split(" ")){const o=Number.parseInt(r.replace("x",""));o&&e.add(o)}return Array.from(e)}function Zq(n){if(n.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function eG(n){const e={};if(typeof n=="string")for(const r of n.split(/[\s,]+/).filter(o=>o)){const o=r.split(":");o.length!==2?e["1px"]=o[0].trim():e[o[0].trim()]=o[1].trim()}else Object.assign(e,n);return e}function tG(n){const e={options:n},r=(i,s={})=>bC(e,i,s),o=(i,s={},a={})=>r(i,{...a,modifiers:gf(s,a.modifiers||{})}).url;for(const i in n.presets)o[i]=(s,a,l)=>o(s,a,{...n.presets[i],...l});return o.options=n,o.getImage=r,o.getMeta=(i,s)=>nG(e,i,s),o.getSizes=(i,s)=>iG(e,i,s),e.$img=o,o}async function nG(n,e,r){const o=bC(n,e,{...r});return typeof o.getMeta=="function"?await o.getMeta():await Jq(n,o.url)}function bC(n,e,r){if(e&&typeof e!="string")throw new TypeError(`input must be a string (received ${typeof e}: ${JSON.stringify(e)})`);if(!e||e.startsWith("data:"))return{url:e};const{provider:o,defaults:i}=rG(n,r.provider||n.options.provider),s=oG(n,r.preset);if(e=Er(e)?e:om(e),!o.supportsAlias){for(const u in n.options.alias)if(e.startsWith(u)){const d=n.options.alias[u];d&&(e=Lr(d,e.slice(u.length)))}}if(o.validateDomains&&Er(e)){const u=Ea(e).host;if(!n.options.domains.find(d=>d===u))return{url:e}}const a=gf(r,s,i);a.modifiers={...a.modifiers};const l=a.modifiers.format;a.modifiers?.width&&(a.modifiers.width=wo(a.modifiers.width)),a.modifiers?.height&&(a.modifiers.height=wo(a.modifiers.height));const c=o.getImage(e,a,n);return c.format=c.format||l||"",c}function rG(n,e){const r=n.options.providers[e];if(!r)throw new Error("Unknown provider: "+e);return r}function oG(n,e){if(!e)return{};if(!n.options.presets[e])throw new Error("Unknown preset: "+e);return n.options.presets[e]}function iG(n,e,r){const o=wo(r.modifiers?.width),i=wo(r.modifiers?.height),s=eG(r.sizes),a=r.densities?.trim()?Xq(r.densities.trim()):n.options.densities;Zq(a);const l=o&&i?i/o:0,c=[],u=[];if(Object.keys(s).length>=1){for(const g in s){const v=Hb(g,String(s[g]),i,l,n);if(v!==void 0){c.push({size:v.size,screenMaxWidth:v.screenMaxWidth,media:`(max-width: ${v.screenMaxWidth}px)`});for(const w of a)u.push({width:v._cWidth*w,src:qb(n,e,r,v,w)})}}sG(c)}else for(const g of a){const v=Object.keys(s)[0];let w=v?Hb(v,String(s[v]),i,l,n):void 0;w===void 0&&(w={size:"",screenMaxWidth:0,_cWidth:r.modifiers?.width,_cHeight:r.modifiers?.height}),u.push({width:g,src:qb(n,e,r,w,g)})}aG(u);const d=u[u.length-1],p=c.length?c.map(g=>`${g.media?g.media+" ":""}${g.size}`).join(", "):void 0,h=p?"w":"x",m=u.map(g=>`${g.src} ${g.width}${h}`).join(", ");return{sizes:p,srcset:m,src:d?.src}}function Hb(n,e,r,o,i){const s=i.options.screens&&i.options.screens[n]||Number.parseInt(n),a=e.endsWith("vw");if(!a&&/^\d+$/.test(e)&&(e=e+"px"),!a&&!e.endsWith("px"))return;let l=Number.parseInt(e);if(!s||!l)return;a&&(l=Math.round(l/100*s));const c=o?Math.round(l*o):r;return{size:e,screenMaxWidth:s,_cWidth:l,_cHeight:c}}function qb(n,e,r,o,i){return n.$img(e,{...r.modifiers,width:o._cWidth?o._cWidth*i:void 0,height:o._cHeight?o._cHeight*i:void 0},r)}function sG(n){n.sort((r,o)=>r.screenMaxWidth-o.screenMaxWidth);let e=null;for(let r=n.length-1;r>=0;r--){const o=n[r];o.media===e&&n.splice(r,1),e=o.media}for(let r=0;r<n.length;r++)n[r].media=n[r+1]?.media||""}function aG(n){n.sort((r,o)=>r.width-o.width);let e=null;for(let r=n.length-1;r>=0;r--){const o=n[r];o.width===e&&n.splice(r,1),e=o.width}}const TC=wC({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(n,e)=>pv(n)+"_"+pv(e)}),lG=(n,{modifiers:e={},baseURL:r}={},o)=>{e.width&&e.height&&(e.resize=`${e.width}x${e.height}`,delete e.width,delete e.height);const i=TC(e)||"_";return r||(r=Lr(o.options.nuxt.baseURL,"/_ipx")),{url:Lr(r,i,gA(n))}},cG=!0,uG=!0,dG=Object.freeze(Object.defineProperty({__proto__:null,getImage:lG,operationsGenerator:TC,supportsAlias:uG,validateDomains:cG},Symbol.toStringTag,{value:"Module"})),fG=wC({keyMap:{width:"w",height:"h",dpr:"dpr",fit:"fit",gravity:"g",quality:"q",format:"f",sharpen:"sharpen"},valueMap:{fit:{cover:"cover",contain:"contain",fill:"scale-down",outside:"crop",inside:"pad"},gravity:{auto:"auto",side:"side"}},joinWith:",",formatter:(n,e)=>yA(n,e)}),pG={},hG=(n,{baseURL:e="/",modifiers:r={}}={})=>{const o={...pG,...r},i=fG(o),s=n.includes("meetingtranscriberweb/")?n:`meetingtranscriberweb${n}`,a=s.endsWith("/public")?s:`${s}/public`;return{url:i?Lr(e,s,i):Lr(e,a)}};function mG(n,e="/"){return`${e.endsWith("/")?e:`${e}/`}meetingtranscriberweb${n}/public`}function _G(n,e="https://imagedelivery.net/rLEmnyzM9Rd0IW4YgVrjXg/meetingtranscriberweb/"){return`${e.endsWith("/")?e:`${e}/`}${n}/public`}const gG=Object.freeze(Object.defineProperty({__proto__:null,getImage:hG,getPublicCloudflareSrc:_G,getPublicImageUrl:mG},Symbol.toStringTag,{value:"Module"}
3761)),yG={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"customCloudflare",domains:[],alias:{},densities:[1,2,1,2],format:["webp"],quality:80,providers:{ipx:{provider:dG,defaults:{}},customCloudflare:{provider:gG,defaults:{baseURL:"https://codewayimages.net/cdn-cgi/imagedelivery/rLEmnyzM9Rd0IW4YgVrjXg"}}}},AC=n=>{const e=Do(),r=xe();return r.$img||r._img||(r._img=tG({...yG,event:r.ssrContext?.event,nuxt:{baseURL:e.app.baseURL},runtimeConfig:e}))};function vG(n){performance?.mark?.("mark_feature_usage",{detail:{feature:n}})}const EG={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:n=>["lazy","eager"].includes(n)},crossorigin:{type:[Boolean,String],required:!1,validator:n=>["anonymous","use-credentials","",!0,!1].includes(n)},decoding:{type:String,required:!1,validator:n=>["async","auto","sync"].includes(n)},nonce:{type:[String],required:!1}},wG=n=>{const e=z(()=>({provider:n.provider,preset:n.preset})),r=z(()=>({width:wo(n.width),height:wo(n.height),alt:n.alt,referrerpolicy:n.referrerpolicy,usemap:n.usemap,longdesc:n.longdesc,ismap:n.ismap,crossorigin:n.crossorigin===!0?"anonymous":n.crossorigin||void 0,loading:n.loading,decoding:n.decoding,nonce:n.nonce})),o=AC(),i=z(()=>({...n.modifiers,width:wo(n.width),height:wo(n.height),format:n.format,quality:n.quality||o.options.quality,background:n.background,fit:n.fit}));return{options:e,attrs:r,modifiers:i}},bG={...EG,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},TG=["src"],AG=fr({__name:"NuxtImg",props:bG,emits:["load","error"],setup(n,{emit:e}){const r=n,o=hO(),i=e,s=!1,a=AC(),l=wG(r),c=me(!1),u=me(),d=z(()=>a.getSizes(r.src,{...l.options.value,sizes:r.sizes,densities:r.densities,modifiers:{...l.modifiers.value,width:wo(r.width),height:wo(r.height)}})),p=z(()=>{const I={...l.attrs.value,"data-nuxt-img":""};return(!r.placeholder||c.value)&&(I.sizes=d.value.sizes,I.srcset=d.value.srcset),I}),h=z(()=>{let I=r.placeholder;if(I===""&&(I=!0),!I||c.value)return!1;if(typeof I=="string")return I;const b=Array.isArray(I)?I:typeof I=="number"?[I,I]:[10,10];return a(r.src,{...l.modifiers.value,width:b[0],height:b[1],quality:b[2]||50,blur:b[3]||3},l.options.value)}),m=z(()=>r.sizes?d.value.src:a(r.src,l.modifiers.value,l.options.value)),g=z(()=>h.value?h.value:m.value),w=xe().isHydrating;return br(()=>{if(h.value||r.custom){const I=new Image;m.value&&(I.src=m.value),r.sizes&&(I.sizes=d.value.sizes||"",I.srcset=d.value.srcset),I.onload=b=>{c.value=!0,i("load",b)},I.onerror=b=>{i("error",b)},vG("nuxt-image");return}u.value&&(u.value.complete&&w&&(u.value.getAttribute("data-error")?i("error",new Event("error")):i("load",new Event("load"))),u.value.onload=I=>{i("load",I)},u.value.onerror=I=>{i("error",I)})}),(I,b)=>I.custom?Co(I.$slots,"default",m2(Kl({key:1},{...Q(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...p.value,...Q(o)},isLoaded:c.value,src:g.value}))):(Y(),se("img",Kl({key:0,ref_key:"imgEl",ref:u,class:h.value&&!c.value?I.placeholderClass:void 0},{...Q(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},...p.value,...Q(o)},{src:g.value}),null,16,TG))}}),IC=fr({name:"CustomNuxtImg",inheritAttrs:!1,__name:"CustomNuxtImg",props:{src:{},alt:{},width:{},height:{},format:{},quality:{},background:{},fit:{},modifiers:{},preset:{},provider:{},sizes:{},densities:{},preload:{type:[Boolean,Object]},placeholder:{type:[Boolean,Number,String,Array]},placeholderClass:{},custom:{type:Boolean},loading:{},decoding:{},class:{},style:{},localized:{type:Boolean}},setup(n){const e=n,{locale:r}=Jt(),o=z(()=>{if(!e.localized)return e.src;if((r.value==="es"||r.value==="pt")&&e.src){const i=e.src.replace(/^assets\/images\/([^/]+)\/([^/]+\.(png|jpg|jpeg|gif|svg|webp|ico))$/,`assets/images/$1/${r.value}/$2`);return i!==e.src?i:e.src}return e.src});return(i,s)=>{const a=AG;return Y(),Xe(a,Kl(e,{src:Q(o),provider:e.provider||"customCloudflare",sizes:e.sizes||"100v
3761w xs:100vw sm:100vw md:100vw lg:100vw xl:100vw"}),null,16,["src","provider","sizes"])}}}),IG={class:"trusted-by-companies relative max-w-full text-center"},SG={__name:"TrustedByIndividuals",props:{theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)},isAutomaticSlide:{type:Boolean,default:!1},showTitle:{type:Boolean,default:!0},size:{type:String,default:"md",validator:n=>["sm","md"].includes(n)}},setup(n){const e=n,r=[{image:"assets/images/landing_page/trusted_individuals/cornell.png",name:"Cornell University",url:"https://www.cornell.edu/"},{image:"assets/images/landing_page/trusted_individuals/pwc.png",name:"PwC",url:"https://www.pwc.com/"},{image:"assets/images/landing_page/trusted_individuals/berkeley.png",name:"Berkeley",url:"https://www.berkeley.edu/"},{image:"assets/images/landing_page/trusted_individuals/paypal.png",name:"PayPal",url:"https://www.paypal.com/"},{image:"assets/images/landing_page/trusted_individuals/dartmouth.png",name:"Dartmouth",url:"https://www.dartmouth.edu/"},{image:"assets/images/landing_page/trusted_individuals/paramount.png",name:"Paramount",url:"https://www.paramount.com/"},{image:"assets/images/landing_page/trusted_individuals/northwestern.png",name:"Northwestern University",url:"https://www.northwestern.edu/"},{image:"assets/images/landing_page/trusted_individuals/hilton.png",name:"Hilton",url:"https://www.hilton.com/"},{image:"assets/images/landing_page/trusted_individuals/decathlon.png",name:"Decathlon",url:"https://www.decathlon.com/"}],o={sm:"h-7",md:"h-7 md:h-10"},i=z(()=>o[e.size]||o.md),s=z(()=>e.isAutomaticSlide?[...r,...r,...r]:r);return(a,l)=>{const c=IC;return Y(),se("div",IG,[n.showTitle?(Y(),se("h4",{key:0,class:Le(["label-l mb-4",{"!text-negative":e.theme==="dark"}])},pe(a.$t("components.atoms.trustedBy.individuals")),3)):Ue("",!0),U("div",{class:Le(["scrollbar-hide overflow-x-auto",{"automatic-slide":n.isAutomaticSlide}])},[U("div",{class:Le(["flex items-center px-4 pb-2",{"min-w-max md:min-w-0 md:flex-wrap md:justify-center":!n.isAutomaticSlide,"company-slider":n.isAutomaticSlide}])},[(Y(!0),se(We,null,Eo(s.value,u=>(Y(),Xe(c,{key:u.name,src:u.image,alt:u.name,class:Le(["mx-6 first:ml-4 last:mr-4 md:mx-6 md:my-2",[i.value,{"slider-image":n.isAutomaticSlide,"brightness-0 invert":e.theme==="dark"}]]),sizes:"190px",loading:"lazy"},null,8,["src","alt","class"]))),128))],2)],2)])}}},PG=zc(SG,[["__scopeId","data-v-931f112f"]]),RG={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CG(n,e){return Y(),se("svg",RG,[...e[0]||(e[0]=[U("path",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18 6-6-6-6"},null,-1)])])}const tf={render:CG},OG={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 16 16"};function kG(n,e){return Y(),se("svg",OG,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M12.667 10.478c.078 0 .148.048.177.121l.452 1.146a1 1 0 0 0 .072.163.3.3 0 0 0 .06.059 1 1 0 0 0 .162.072l1.146.453a.19.19 0 0 1 .121.177.19.19 0 0 1-.12.177l-1.147.452a1 1 0 0 0-.163.072.3.3 0 0 0-.059.059 1 1 0 0 0-.072.163l-.452 1.146a.19.19 0 0 1-.354 0l-.453-1.146a1 1 0 0 0-.072-.163.3.3 0 0 0-.059-.059 1 1 0 0 0-.163-.072l-1.146-.452a.19.19 0 0 1 0-.354l1.146-.453a1 1 0 0 0 .163-.072.3.3 0 0 0 .059-.059 1 1 0 0 0 .072-.163l.453-1.146.028-.05a.2.2 0 0 1 .149-.071"},null,-1),U("path",{fill:"inherit","fill-rule":"evenodd",stroke:"none",d:"M8.665 1.5a.5.5 0 0 1 .354.146l4 4a.5.5 0 0 1 .146.354v2a.5.5 0 0 1-1 0V6.5H9.732c-.178 0-.343 0-.479-.011a1.2 1.2 0 0 1-.45-.116 1.17 1.17 0 0 1-.51-.51 1.2 1.2 0 0 1-.117-.45c-.01-.137-.01-.301-.01-.48V2.5h-2.7c-.382 0-.639 0-.836.016-.191.016-.283.044-.343.075a.83.83 0 0 0-.364.364c-.03.06-.06.152-.075.343-.016.197-.016.454-.016.835v7.734c0 .381 0 .638.016.835.016.191.044.283.075.343.08.157.207.284.364.364.06.03.152.06.343.075.197.016.454.016.835.016H8a.5.5 0 0 1 0 1H5.466c-.366 0-.67 0-.917-.02a1.9 1.9 0 0 1-.716-.18 1.83 1.83 0 0 1-.801-.801 1.9 1.9 0 0 1-.18-.716c-.02-.247-.02-.551-.02-.916V4.133c0-.365 0-.669.02-.916.02-.253.065-.491.18-.716.176-.345.456-.625.801-.801.225-.115.463-.16.716-.18.247-.02.551-.02.916-.02zm.5 3.434c0 .194 0 .31.008.397.006.08.016.089.01.078a.17.17 0 0 0 .074.073c-.011-.006-.002.004.078.01.086.008.202.008.397.008h1.726L9.165 3.207z","clip-rule":"evenodd"},null,-1)])])}const S_={render:kG},LG={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 16 16"};function DG(n,e){return Y(),se("svg",LG,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M8.005 6.167a.5.5 0 0 1 .5.5v4.308a.5.5 0 0 1-1 0V6.667a.5.5 0 0 1 .5-.5M6.467 7.397a.5.5 0 0 1 .5.5v2.462a.5.5 0 0 1-1 0V7.897a.5.5 0 0 1 .5-.5M9.544 8.013a.5.5 0 0 1 .5.5v1.23a.5.5 0 0 1-1 0v-1.23a.5.5 0 0 1 .5-.5"},null,-1),U("path",{fill:"inherit","fill-rule":"evenodd",stroke:"none",d:"M5.458 1.336h3.81q.07 0 .14.003a.5.5 0 0 1 .174.014c.59.064 1.15.313 1.594.715l.004.003 1.961 1.804.097.087a2.48 2.48 0 0 1 .764 1.74v5.74a3.34 3.34 0 0 1-1.068 2.329c-.648.6-1.506.921-2.388.893h-5.06a3.36 3.36 0 0 1-2.405-.88 3.34 3.34 0 0 1-1.078-2.341l-.001-.018V4.558a3.34 3.34 0 0 1 1.068-2.33c.647-.6 1.505-.92 2.388-.892m-.019 1a2.36 2.36 0 0 0-1.689.626 2.34 2.34 0 0 0-.748 1.631v6.825a2.345 2.345 0 0 0 1.546 2.108c.293.106.604.154.915.14l.023-.001h5.079a2.36 2.36 0 0 0 2.226-1.368c.128-.28.2-.582.211-.89V5.96h-2.311a1.726 1.726 0 0 1-1.73-1.726V2.336zM9.96 4.234a.726.726 0 0 0 .73.726h2.08a1.5 1.5 0 0 0-.294-.339l-1.973-1.814a1.8 1.8 0 0 0-.543-.338z","clip-rule":"evenodd"},null,-1)])])}const P_={render:DG},xG={xmlns:"http://www.w3.org/2000/svg",fill:"inherit",viewBox:"0 0 29 28"};function NG(n,e){return Y(),se("svg",xG,[...e[0]||(e[0]=[U("path",{fill:"none",stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.33",d:"M4.492 5.29h8.753m-2.501-2.5v2.5c0 5.524-2.8 10.002-6.252 10.002"},null,-1),U("path",{fill:"none",stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.33",d:"M5.742 10.293c0 2.68 3.691 4.886 8.377 5.001m.376 8.753 5-11.253 5.002 11.253m-1.125-2.501H15.62"},null,-1)])])}const SC={render:NG},VG={xmlns:"http://www.w3.org/2000/svg",fill:"inherit",viewBox:"0 0 20 20"};function MG(n,e){return Y(),se("svg",VG,[...e[0]||(e[0]=[U("path",{fill:"none",stroke:"inherit","stroke-width":"1.5",d:"M5.832 6.667a4.167 4.167 0 1 1 8.333 0v2.5a4.167 4.167 0 0 1-8.333 0z"},null,-1),U("path",{fill:"none",stroke:"inherit","stroke-linecap":"round","stroke-width":"1.5",d:"M11.25 6.664h2.917M11.25 9.164h2.917M5.832 6.664h1.667M5.832 9.164h1.667M16.665 8.336v.833a6.667 6.667 0 0 1-13.333 0v-.833M10 15.836v2.5"},null,-1)])])}const PC={render:MG},FG={xmlns:"http://www.w3.org/2000/svg",width:"42",height:"90",fill:"none"};function UG(n,e){return Y(),se("svg",FG,[...e[0]||(e[0]=[U("path",{fill:"url(#paint0_linear_10490_242016)",d:"M20.294 0c-.192.65-2.246 9.848 1.631 18.528a45.5 45.5 0 0 0-5.408-6.092 14.5 14.5 0 0 0-1.955-2.22c-4.08-3.793-9.31-5.917-14.557-5.91-.125 1.896 2.047 3.649 3.186 4.638 2.607 2.267 5.35 3.811 8.539 4.8 1.725.536 3.639.979 5.46 1.075a43.6 43.6 0 0 1 6.582 8.72A19 19 0 0 0 21.4 21.18c-2.504-2.091-5.384-3.533-8.356-4.523.006.709.09 1.417.25 2.102.2.847.515 1.655.86 2.436 2.688 6.074 8.071 11.835 14.004 13.435 1.36 5.56 1.833 11.654 1.414 17.69-1.2-12.311-8.318-18.72-8.892-19.17.282 14.58 6.762 20.84 8.589 22.32-.474 3.883-1.32 7.7-2.545 11.29a46 46 0 0 1-2.435 5.83C26.513 59.654 20 49.801 19.514 49.154c-3.497 14.725 1.88 23.214 3.651 25.511-2.343 4.049-5.313 7.499-8.912 10.012 5.39-10.579 1.87-21.912 1.59-22.637-6.577 11.895-3.871 20.837-2.813 23.439a24.3 24.3 0 0 1-8.434 3.23c-.312.056-.524.39-.474.744s.344.595.656.538c5.645-1.027 10.363-3.792 14.164-7.696 1.968.4 10.626 1.379 19.008-9.867-.589-.085-8.387-.511-15.156 5.084 1.989-2.971 3.606-6.314 4.856-9.875 1.987-.496 10.287-3.37 14.35-17.37
37617-.592.182-8.438 3.366-12.806 12.118a61 61 0 0 0 1.577-10.88c1.566-1.05 8.895-6.776 8.826-21.82-.514.397-7.12 6.372-8.767 16.367-.13-3.998-.642-7.936-1.541-11.648 1.327-1.59 6.926-9.354 3.384-23.703-.42.562-5.812 9.017-4.504 19.793a43 43 0 0 0-3.763-8.218c.66-1.88 3.293-11.13-4.112-22.27"},null,-1),U("defs",null,[U("linearGradient",{id:"paint0_linear_10490_242016",x1:"20.997",x2:"42.655",y1:"5.957",y2:"89.65",gradientUnits:"userSpaceOnUse"},[U("stop",{"stop-color":"#FBFDFF"}),U("stop",{offset:"1","stop-color":"#555DC0"})])],-1)])])}const Gb={render:UG},BG={xmlns:"http://www.w3.org/2000/svg",stroke:"inherit",viewBox:"0 0 20 20"};function jG(n,e){return Y(),se("svg",BG,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M3.75 8.607a.75.75 0 0 1 .75.75v4c0 .966.784 1.75 1.75 1.75h7.5a1.75 1.75 0 0 0 1.75-1.75v-4a.75.75 0 1 1 1.5 0v4a3.25 3.25 0 0 1-3.25 3.25h-7.5A3.25 3.25 0 0 1 3 13.357v-4a.75.75 0 0 1 .75-.75"},null,-1),U("path",{fill:"none","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"1.5",d:"M9.999 3v8"},null,-1),U("path",{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m7 5.948 2.574-2.755a.6.6 0 0 1 .195-.14.57.57 0 0 1 .657.14L13 5.947"},null,-1)])])}const RC={render:jG},$G={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 50 50"};function zG(n,e){return Y(),se("svg",$G,[...e[0]||(e[0]=[U("path",{fill:"inherit","fill-rule":"evenodd",stroke:"none",d:"M4.125 14.125c0-5.523 4.477-10 10-10h21.75c5.523 0 10 4.477 10 10v21.75c0 5.523-4.477 10-10 10h-21.75c-5.523 0-10-4.477-10-10zM17.45 35.592a1.563 1.563 0 0 1 2.166-.433 9.7 9.7 0 0 0 10.767 0 1.562 1.562 0 0 1 1.733 2.6 12.83 12.83 0 0 1-14.233 0 1.563 1.563 0 0 1-.433-2.167m-5.383-13.477a1.442 1.442 0 1 0-2.884 0v3.847a1.442 1.442 0 0 0 2.884 0zm3.308-4.956c.797 0 1.442.645 1.442 1.442v10.875a1.442 1.442 0 1 1-2.884 0V18.6c0-.797.645-1.442 1.442-1.442m6.192 3.033a1.442 1.442 0 0 0-2.884 0v7.692a1.442 1.442 0 1 0 2.884 0zm3.295-4.327a1.44 1.44 0 0 1 1.455 1.43l.125 13.46a1.442 1.442 0 0 1-2.884.028l-.125-13.462a1.44 1.44 0 0 1 1.429-1.456m6.33 4.327a1.442 1.442 0 0 0-2.884 0v7.692a1.442 1.442 0 1 0 2.884 0zM34.5 17.16c.797 0 1.442.645 1.442 1.442v10.875a1.442 1.442 0 1 1-2.884 0V18.6c0-.797.645-1.442 1.442-1.442m6.192 4.956a1.442 1.442 0 1 0-2.884 0v3.847a1.442 1.442 0 0 0 2.884 0z","clip-rule":"evenodd"},null,-1)])])}const HG={render:zG},qG={xmlns:"http://www.w3.org/2000/svg",fill:"inherit",stroke:"inherit",viewBox:"0 0 29 28"};function GG(n,e){return Y(),se("svg",qG,[...e[0]||(e[0]=[U("path",{stroke:"none",d:"M8.374 13.31a5.55 5.55 0 0 1 1.332 2.168l.872 2.679a1.059 1.059 0 0 0 1.996 0l.871-2.679a5.53 5.53 0 0 1 3.498-3.494l2.681-.871a1.06 1.06 0 0 0 0-1.995l-.054-.013-2.681-.872A5.53 5.53 0 0 1 13.39 4.74l-.87-2.679a1.058 1.058 0 0 0-1.998 0l-.871 2.68a5.53 5.53 0 0 1-3.443 3.493l-2.681.872a1.06 1.06 0 0 0 0 1.994l2.68.871a5.54 5.54 0 0 1 2.166 1.34m15.88 7.432 1.49.483.03.008a.59.59 0 0 1 0 1.108l-1.489.483a3.08 3.08 0 0 0-1.945 1.943l-.483 1.487a.588.588 0 0 1-1.108 0l-.485-1.487a3.07 3.07 0 0 0-1.943-1.949l-1.489-.484a.59.59 0 0 1-.286-.895c.071-.1.171-.174.286-.214l1.489-.483a3.07 3.07 0 0 0 1.914-1.941l.484-1.488a.588.588 0 0 1 1.11 0l.484 1.486a3.07 3.07 0 0 0 1.941 1.943"},null,-1)])])}const R_={render:GG},WG={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 30 30"};function KG(n,e){return Y(),se("svg",WG,[...e[0]||(e[0]=[U("path",{fill:"#F59E0B",d:"M11.98 6.768c1.584-2.84 2.376-4.26 3.56-4.26 1.183 0 1.974 1.42 3.558 4.26l.41.735c.45.807.675 1.211 1.025 1.477.35.267.787.365 1.662.563l.796.18c3.075.696 4.61 1.044 4.977 2.22.365 1.175-.683 2.401-2.779 4.852l-.542.634c-.595.696-.894 1.045-1.028 1.475s-.088.896.002 1.825l.082.846c.316 3.272.475 4.907-.482 5.633-.958.727-2.398.064-5.275-1.261l-.747-.343c-.817-.377-1.226-.565-1.66-.565s-.842.188-1.66.565l-.745.343c-2.878 1.325-4.318 1.987-5.275 1.262-.958-.727-.8-2.362-.483-5.634l.082-.845c.09-.93.135-1.395 0-1.825-.132-.43-.431-.78-1.026-1.475l-.543-.635c-2.096-2.45-3.143-3.676-2.778-4.852.366-1.176 1.903-1.525 4.978-2.22l.795-.18c.874-.198 1.31-.296 1.662-.563.35-.266.575-.67 1.025-1.477z"},null,-1)])])}const YG={render:KG},JG={class:"background-gradient flex w-full flex-col py-[3.125rem]"},QG={class:"flex flex-col items-center px-8"},XG={class:"flex items-center justify-center gap-1"},ZG={class:"flex flex-col items-center"},eW={class:"paragraph-l text-negative"},tW={class:"flex gap-1"},nW={class:"heading-4 text-negative"},rW={class:"mt-12 flex flex-grow flex-col justify-center overflow-hidden px-[2.75rem]"},oW={class:"flex items-center justify-center gap-0.5"},iW={class:"label-l text-negative"},sW={class:"mt-3 grid grid-cols-2 gap-2"},aW={class:"flex flex-col"},lW={class:"paragraph-s text-negative"},cW={class:"paragraph-xs mt-0.5 text-tertiary"},uW={key:1,class:"flex w-full flex-col items-center"},dW={class:"relative w-[23.75rem]"},fW=["onClick"],pW={class:"flex w-full flex-col rounded-xl border border-white/[0.06] bg-primary/[0.04] p-[1.125rem]"},hW={class:"flex flex-row items-center"},mW={class:"paragraph-m ml-1.5 text-negative"},_W={class:"paragraph-s mt-0.5 text-negative"},gW={class:"paragraph-m mt-[1.125rem] text-negative"},yW={class:"mt-4 flex items-center justify-center gap-1.5"},vW=["aria-label"],EW=["aria-label"],wW={class:"mt-12"},bW={key:0,class:"mx-4 mb-[1.875rem] flex flex-row flex-wrap justify-between gap-2 rounded-xl border border-white/[0.06] bg-primary/[0.04] p-3"},TW={class:"ml-0.5 flex-shrink-0 text-[0.6875rem]/4 text-negative"},AW={class:"flex items-center justify-center gap-3"},IW={class:"paragraph-s text-negative"},SW={__name:"PaywallLeft",props:{type:{type:String,required:!0,validator:n=>["paywall","checkout"].includes(n)}},setup(n){const e=n,{t:r}=Jt(),o=z(()=>[{image:"assets/images/checkout/oluwaseun.png",name:r("components.molecules.paywallLeft.testimonials.oluwaseun.name"),role:r("components.molecules.paywallLeft.testimonials.oluwaseun.role"),quote:r("components.molecules.paywallLeft.testimonials.oluwaseun.quote"),alt:r("components.molecules.paywallLeft.testimonials.oluwaseun.alt")},{image:"assets/images/checkout/gretchell.png",name:r("components.molecules.paywallLeft.testimonials.gretchell.name"),role:r("components.molecules.paywallLeft.testimonials.gretchell.role"),quote:r("components.molecules.paywallLeft.testimonials.gretchell.quote"),alt:r("components.molecules.paywallLeft.testimonials.gretchell.alt")},{image:"assets/images/checkout/galo-freire.png",name:r("components.molecules.paywallLeft.testimonials.galoFreire.name"),role:r("components.molecules.paywallLeft.testimonials.galoFreire.role"),quote:r("components.molecules.paywallLeft.testimonials.galoFreire.quote"),alt:r("components.molecules.paywallLeft.testimonials.galoFreire.alt")},{image:"assets/images/checkout/mary-elizabeth.png",name:r("components.molecules.paywallLeft.testimonials.maryElizabeth.name"),role:r("components.molecules.paywallLeft.testimonials.maryElizabeth.role"),quote:r("components.molecules.paywallLeft.testimonials.maryElizabeth.quote"),alt:r("components.molecules.paywallLeft.testimonials.maryElizabeth.alt")},{image:"assets/images/checkout/sabrina.png",name:r("components.molecules.paywallLeft.testimonials.sabrina.name"),role:r("components.molecules.paywallLeft.testimonials.sabrina.role"),quote:r("components.molecules.paywallLeft.testimonials.sabrina.quote"),alt:r("components.molecules.paywallLeft.testimonials.sabrina.alt")},{image:"assets/images/checkout/piwi.png",name:r("components.molecules.paywallLeft.testimonials.piwi.name"),role:r("components.molecules.paywallLeft.testimonials.piwi.role"),quote:r("components.molecules.paywallLeft.testimonials.piwi.quote"),alt:r("components.molecules.paywallLeft.testimonials.piwi.alt")}]),i=me(0),s=me(!1),a=me(!0),l=me(2);let c=null;const u=E=>{const P=o.value.length;
3761return(E%P+P)%P},d=z(()=>[-2,-1,0,1,2].map(P=>u(i.value+P)).map(P=>({...o.value[P],originalIndex:P}))),p=()=>{s.value||(s.value=!0,a.value=!0,l.value=3,setTimeout(()=>{a.value=!1,i.value=u(i.value+1),l.value=2,Hr(()=>{s.value=!1})},500))},h=()=>{s.value||(s.value=!0,a.value=!0,l.value=1,setTimeout(()=>{a.value=!1,i.value=u(i.value-1),l.value=2,Hr(()=>{s.value=!1})},500))},m=()=>{c&&clearInterval(c),c=Jf(p,4e3)},g=()=>{h(),m()},v=()=>{p(),m()},w=E=>{E<2?g():E>2&&v()};br(()=>{e.type==="checkout"&&m()}),qi(()=>{c&&clearInterval(c)});const I=z(()=>[{icon:"assets/images/landing_page_widget/accuracy.png",title:r("landingPages.widget.features.accuracy")},{icon:"assets/images/landing_page_widget/languages.png",title:r("landingPages.widget.features.languages")},{icon:"assets/images/landing_page_widget/infinity.png",title:r("landingPages.widget.features.unlimitedMinutes")},{icon:"assets/images/landing_page_widget/speakers.png",title:r("landingPages.widget.features.speakerRecognition")},{icon:"assets/images/landing_page_widget/private.png",title:r("landingPages.widget.features.privateAndSecure")}]),b=z(()=>[{title:r("components.molecules.paywallLeft.features.unlimitedTranscriptionMinutes.title"),description:r("components.molecules.paywallLeft.features.unlimitedTranscriptionMinutes.description"),icon:P_},{title:r("components.molecules.paywallLeft.features.aiSummaries.title"),description:r("components.molecules.paywallLeft.features.aiSummaries.description"),icon:S_},{title:r("components.molecules.paywallLeft.features.multiLanguageSupport.title"),description:r("components.molecules.paywallLeft.features.multiLanguageSupport.description"),icon:SC},{title:r("components.molecules.paywallLeft.features.advancedExportOptions.title"),description:r("components.molecules.paywallLeft.features.advancedExportOptions.description"),icon:RC},{title:r("components.molecules.paywallLeft.features.advancedAiChat.title"),description:r("components.molecules.paywallLeft.features.advancedAiChat.description"),icon:R_},{title:r("components.molecules.paywallLeft.features.onlineMeetingAiNotetaker.title"),description:r("components.molecules.paywallLeft.features.onlineMeetingAiNotetaker.description"),icon:PC}]);return(E,P)=>{const D=IC;return Y(),se("div",JG,[U("div",QG,[U("div",XG,[ge(Q(Gb),{class:"scale-x-[-1]"}),U("div",ZG,[U("p",eW,pe(Q(r)("components.molecules.paywallLeft.rating")),1),U("div",tW,[(Y(),se(We,null,Eo(5,V=>ge(Q(YG),{key:V,class:"h-[18.6px] w-[18.6px]"})),64))]),U("p",nW,pe(Q(r)("components.molecules.paywallLeft.usersCount")),1)]),ge(Q(Gb))])]),U("div",rW,[e.type==="paywall"?(Y(),se(We,{key:0},[U("div",oW,[ge(Q(HG),{class:"h-5 w-5 fill-icon-white stroke-icon-white"}),U("h2",iW,pe(Q(r)("components.molecules.paywallLeft.unlockProFeatures")),1)]),U("div",sW,[(Y(!0),se(We,null,Eo(b.value,(V,S)=>(Y(),se("div",{key:S,class:"flex flex-row items-center gap-3 rounded-xl border border-white/[0.06] bg-primary/[0.04] px-3 py-4"},[(Y(),Xe(Va(V.icon),{class:"h-6 w-6 flex-shrink-0 fill-icon-white stroke-icon-white"})),U("div",aW,[U("h3",lW,pe(V.title),1),U("p",cW,pe(V.description),1)])]))),128))])],64)):e.type==="checkout"?(Y(),se("div",uW,[U("div",dW,[U("div",{class:Le(["flex gap-[0.875rem]",{"transition-transform duration-500 ease-in-out":a.value}]),style:Di({transform:`translateX(calc(-${l.value} * (100% + 0.875rem)))`})},[(Y(!0),se(We,null,Eo(d.value,(V,S)=>(Y(),se("div",{key:`${V.originalIndex}`,class:Le(["w-full flex-shrink-0 cursor-pointer transition-all duration-500 ease-in-out",S===l.value?"scale-100 opacity-100":"scale-[0.85] opacity-50"]),onClick:C=>w(S)},[U("div",pW,[U("div",hW,[ge(D,{src:V.image,alt:V.alt,class:"h-6 w-6 rounded-full",sizes:"24px",width:"24",height:"24"},null,8,["src","alt"]),U("p",mW,pe(V.name),1)]),U("p",_W,pe(V.role),1),U("p",gW,'"'+pe(V.quote)+'"',1)])],10,fW))),128))],6)]),U("div",yW,[U("button",{class:"flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 transition-all duration-300 hover:bg-primary/20","aria-label":Q(r)("components.molecules.paywallLeft.carousel.previousTestimonial"),onClick:g},[ge(Q(tf),{class:"h-5 w-5 rotate-180 stroke-icon-white/70"})],8,vW),U("button",{class:"flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 transition-all duration-300 hover:bg-primary/20","aria-label":Q(r)("components.molecules.paywallLeft.carousel.nextTestimonial"),onClick:v},[ge(Q(tf),{class:"h-5 w-5 stroke-icon-white/70"})],8,EW)])])):Ue("",!0)]),U("div",wW,[e.type==="checkout"?(Y(),se("div",bW,[(Y(!0),se(We,null,Eo(I.value,(V,S)=>(Y(),se("div",{key:S,class:"flex flex-grow-0 flex-row items-center"},[ge(D,{src:V.icon,alt:V.title,class:"h-4 w-4 object-contain",sizes:"16px",width:"16",height:"16"},null,8,["src","alt"]),U("p",TW,pe(V.title),1)]))),128))])):Ue("",!0),U("div",AW,[P[0]||(P[0]=U("div",{class:"h-[1px] w-[7.5rem] bg-gradient-to-l from-primary to-primary/0"},null,-1)),U("p",IW,pe(Q(r)("components.molecules.paywallLeft.trustedByIndividualsAt")),1),P[1]||(P[1]=U("div",{class:"h-[1px] w-[7.5rem] bg-gradient-to-r from-primary to-primary/0"},null,-1))]),ge(PG,{class:"mt-3 opacity-50",size:"sm",theme:"dark","is-automatic-slide":!0,"show-title":!1})])])}}},Wb=zc(SW,[["__scopeId","data-v-e4c60d47"]]);var rZ=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function PW(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function oZ(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var r=function o(){var i=!1;try{i=this instanceof o}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};
3761return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(n).forEach(function(o){var i=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return n[o]}})}),r}var ph={},hh={},mh={},Kb;function CC(){return Kb||(Kb=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});function e(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let o=["var","calc","min","max","clamp"];for(const i of o)if(r.includes(`${i}(`))return`calc(${r} * -1)`}})(mh)),mh}var _h={},Yb;function RW(){return Yb||(Yb=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});const e=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(_h)),_h}var gh={},Jb;function CW(){return Jb||(Jb=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});function e(r,o){return r===void 0?o:Array.isArray(r)?r:[...new Set(o.filter(s=>r!==!1&&r[s]!==!1).concat(Object.keys(r).filter(s=>r[s]!==!1)))]}})(gh)),gh}var yh={},vh={},Lu={exports:{}},Qb;
3761function OC(){if(Qb)return Lu.exports;Qb=1;var n=String,e=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n,blackBright:n,redBright:n,greenBright:n,yellowBright:n,blueBright:n,magentaBright:n,cyanBright:n,whiteBright:n,bgBlackBright:n,bgRedBright:n,bgGreenBright:n,bgYellowBright:n,bgBlueBright:n,bgMagentaBright:n,bgCyanBright:n,bgWhiteBright:n}};return Lu.exports=e(),Lu.exports.createColors=e,Lu.exports}var Xb;function L0(){return Xb||(Xb=1,(function(n){var e={};Object.defineProperty(n,"__esModule",{value:!0});function r(u,d){for(var p in d)Object.defineProperty(u,p,{enumerable:!0,get:d[p]})}r(n,{dim:function(){return l},default:function(){return c}});const o=i(OC());function i(u){return u&&u.__esModule?u:{default:u}}let s=new Set;function a(u,d,p){typeof process<"u"&&e.JEST_WORKER_ID||p&&s.has(p)||(p&&s.add(p),console.warn(""),d.forEach(h=>console.warn(u,"-",h)))}function l(u){return o.default.dim(u)}const c={info(u,d){a(o.default.bold(o.default.cyan("info")),...Array.isArray(u)?[u]:[d,u])},warn(u,d){a(o.default.bold(o.default.yellow("warn")),...Array.isArray(u)?[u]:[d,u])},risk(u,d){a(o.default.bold(o.default.magenta("risk")),...Array.isArray(u)?[u]:[d,u])}}})(vh)),vh}var Zb;function OW(){return Zb||(Zb=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});const e=r(L0());function r(s){return s&&s.__esModule?s:{default:s}}function o({version:s,from:a,to:l}){e.default.warn(`${a}-color-renamed`,[`As of Tailwind CSS ${s}, \`${a}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(yh)),yh}var Eh={},e1;function kW(){return e1||(e1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...o){for(let a of o){for(let l in a){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,l)||(r[l]=a[l])}for(let l of Object.getOwnPropertySymbols(a)){var s;!(r==null||(s=r.hasOwnProperty)===null||s===void 0)&&s.call(r,l)||(r[l]=a[l])}}return r}})(Eh)),Eh}var wh={},t1;function LW(){return t1||(t1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"toPath",{enumerable:!0,get:function(){return e}});function e(r){if(Array.isArray(r))return r;let o=r.split("[").length-1,i=r.split("]").length-1;
3761if(o!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(wh)),wh}var bh={},Th={},n1;function D0(){return n1||(n1=1,(function(n){var e={};Object.defineProperty(n,"__esModule",{value:!0});function r(h,m){for(var g in m)Object.defineProperty(h,g,{enumerable:!0,get:m[g]})}r(n,{flagEnabled:function(){return c},issueFlagNotices:function(){return d},default:function(){return p}});const o=s(OC()),i=s(L0());function s(h){return h&&h.__esModule?h:{default:h}}let a={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},l={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function c(h,m){if(l.future.includes(m)){var g,v,w;return h.future==="all"||((w=(v=h==null||(g=h.future)===null||g===void 0?void 0:g[m])!==null&&v!==void 0?v:a[m])!==null&&w!==void 0?w:!1)}if(l.experimental.includes(m)){var I,b,E;return h.experimental==="all"||((E=(b=h==null||(I=h.experimental)===null||I===void 0?void 0:I[m])!==null&&b!==void 0?b:a[m])!==null&&E!==void 0?E:!1)}return!1}function u(h){if(h.experimental==="all")return l.experimental;var m;return Object.keys((m=h?.experimental)!==null&&m!==void 0?m:{}).filter(g=>l.experimental.includes(g)&&h.experimental[g])}function d(h){if(e.JEST_WORKER_ID===void 0&&u(h).length>0){let m=u(h).map(g=>o.default.yellow(g)).join(", ");i.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const p=l})(Th)),Th}var r1;function DW(){return r1||(r1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeConfig",{enumerable:!0,get:function(){return s}});const e=D0(),r=i(L0());function o(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,c=new WeakMap;return(o=function(u){return u?c:l})(a)}function i(a,l){if(a&&a.__esModule)return a;
3761if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var c=o(l);if(c&&c.has(a))return c.get(a);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in a)if(p!=="default"&&Object.prototype.hasOwnProperty.call(a,p)){var h=d?Object.getOwnPropertyDescriptor(a,p):null;h&&(h.get||h.set)?Object.defineProperty(u,p,h):u[p]=a[p]}return u.default=a,c&&c.set(a,u),u}function s(a){if((()=>{if(a.purge||!a.content||!Array.isArray(a.content)&&!(typeof a.content=="object"&&a.content!==null))return!1;if(Array.isArray(a.content))return a.content.every(u=>typeof u=="string"?!0:!(typeof u?.raw!="string"||u?.extension&&typeof u?.extension!="string"));if(typeof a.content=="object"&&a.content!==null){if(Object.keys(a.content).some(u=>!["files","relative","extract","transform"].includes(u)))return!1;if(Array.isArray(a.content.files)){if(!a.content.files.every(u=>typeof u=="string"?!0:!(typeof u?.raw!="string"||u?.extension&&typeof u?.extension!="string")))return!1;if(typeof a.content.extract=="object"){for(let u of Object.values(a.content.extract))if(typeof u!="function")return!1}else if(!(a.content.extract===void 0||typeof a.content.extract=="function"))return!1;if(typeof a.content.transform=="object"){for(let u of Object.values(a.content.transform))if(typeof u!="function")return!1}else if(!(a.content.transform===void 0||typeof a.content.transform=="function"))return!1;if(typeof a.content.relative!="boolean"&&typeof a.content.relative<"u")return!1}return!0}return!1})()||r.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),a.safelist=(()=>{var u;let{content:d,purge:p,safelist:h}=a;return Array.isArray(h)?h:Array.isArray(d?.safelist)?d.safelist:Array.isArray(p?.safelist)?p.safelist:Array.isArray(p==null||(u=p.options)===null||u===void 0?void 0:u.safelist)?p.options.safelist:[]})(),a.blocklist=(()=>{let{blocklist:u}=a;if(Array.isArray(u)){if(u.every(d=>typeof d=="string"))return u;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof a.prefix=="function")r.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),a.prefix="";else{var c;a.prefix=(c=a.prefix)!==null&&c!==void 0?c:""}a.content={relative:(()=>{let{content:u}=a;return u?.relative?u.relative:(0,e.flagEnabled)(a,"relativeContentPathsByDefault")})(),files:(()=>{let{content:u,purge:d}=a;return Array.isArray(d)?d:Array.isArray(d?.content)?d.content:Array.isArray(u)?u:Array.isArray(u?.content)?u.content:Array.isArray(u?.files)?u.files:[]})(),extract:(()=>{let u=(()=>{var h,m,g,v,w,I,b,E,P,D;return!((h=a.purge)===null||h===void 0)&&h.extract?a.purge.extract:!((m=a.content)===null||m===void 0)&&m.extract?a.content.extract:!((g=a.purge)===null||g===void 0||(v=g.extract)===null||v===void 0)&&v.DEFAULT?a.purge.extract.DEFAULT:!((w=a.content)===null||w===void 0||(I=w.extract)===null||I===void 0)&&I.DEFAULT?a.content.extract.DEFAULT:!((b=a.purge)===null||b===void 0||(E=b.options)===null||E===void 0)&&E.extractors?a.purge.options.extractors:!((P=a.content)===null||P===void 0||(D=P.options)===null||D===void 0)&&D.extractors?a.content.options.extractors:{}})(),d={},p=(()=>{var h,m,g,v;if(!((h=a.purge)===null||h===void 0||(m=h.options)===null||m===void 0)&&m.defaultExtractor)return a.purge.options.defaultExtractor;if(!((g=a.content)===null||g===void 0||(v=g.options)===null||v===void 0)&&v.defaultExtractor)return a.content.options.defaultExtractor})();if(p!==void 0&&(d.DEFAULT=p),typeof u=="function")d.DEFAULT=u;else if(Array.isArray(u))for(let{extensions:h,extractor:m}of u??[])for(let g of h)d[g]=m;else typeof u=="object"&&u!==null&&Object.assign(d,u);return d})(),transform:(()=>{let u=(()=>{var p,h,m,g,v,w;return!((p=a.purge)===null||p===void 0)&&p.transform?a.purge.transform:!((h=a.c
3761ontent)===null||h===void 0)&&h.transform?a.content.transform:!((m=a.purge)===null||m===void 0||(g=m.transform)===null||g===void 0)&&g.DEFAULT?a.purge.transform.DEFAULT:!((v=a.content)===null||v===void 0||(w=v.transform)===null||w===void 0)&&w.DEFAULT?a.content.transform.DEFAULT:{}})(),d={};return typeof u=="function"?d.DEFAULT=u:typeof u=="object"&&u!==null&&Object.assign(d,u),d})()};for(let u of a.content.files)if(typeof u=="string"&&/{([^,]*?)}/g.test(u)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(u)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(u.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return a}})(bh)),bh}var Ah={},o1;function xW(){return o1||(o1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});function e(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const o=Object.getPrototypeOf(r);return o===null||Object.getPrototypeOf(o)===null}})(Ah)),Ah}var Ih={},i1;function NW(){return i1||(i1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"cloneDeep",{enumerable:!0,get:function(){return e}});function e(r){return Array.isArray(r)?r.map(o=>e(o)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([o,i])=>[o,e(i)])):r}})(Ih)),Ih}var Sh={},Ph={},s1;function VW(){return s1||(s1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});function e(r){return r.replace(/\\,/g,"\\2c ")}})(Ph)),Ph}var Rh={},Ch={},Oh={},a1;function MW(){return a1||(a1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});const e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
3761ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}})(Oh)),Oh}var l1;function kC(){return l1||(l1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(g,v){for(var w in v)Object.defineProperty(g,w,{enumerable:!0,get:v[w]})}e(n,{parseColor:function(){return h},formatColor:function(){return m}});const r=o(MW());function o(g){return g&&g.__esModule?g:{default:g}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,s=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a=/(?:\d+|\d*\.\d+)%?/,l=/(?:\s*,\s*|\s+)/,c=/\s*[,/]\s*/,u=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${a.source}|${u.source})(?:${l.source}(${a.source}|${u.source}))?(?:${l.source}(${a.source}|${u.source}))?(?:${c.source}(${a.source}|${u.source}))?\\s*\\)$`),p=new RegExp(`^(hsla?)\\(\\s*((?:${a.source})(?:deg|rad|grad|turn)?|${u.source})(?:${l.source}(${a.source}|${u.source}))?(?:${l.source}(${a.source}|${u.source}))?(?:${c.source}(${a.source}|${u.source}))?\\s*\\)$`);function h(g,{loose:v=!1}={}){var w,I;if(typeof g!="string")return null;if(g=g.trim(),g==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(g in r.default)return{mode:"rgb",color:r.default[g].map(V=>V.toString())};let b=g.replace(s,(V,S,C,A,R)=>["#",S,S,C,C,A,A,R?R+R:""].join("")).match(i);if(b!==null)return{mode:"rgb",color:[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)].map(V=>V.toString()),alpha:b[4]?(parseInt(b[4],16)/255).toString():void 0};var E;let P=(E=g.match(d))!==null&&E!==void 0?E:g.match(p);if(P===null)return null;let D=[P[2],P[3],P[4]].filter(Boolean).map(V=>V.toString());return D.length===2&&D[0].startsWith("var(")?{mode:P[1],color:[D[0]],alpha:D[1]}:!v&&D.length!==3||D.length<3&&!D.some(V=>/^var\(.*?\)$/.test(V))?null:{mode:P[1],color:D,alpha:(w=P[5])===null||w===void 0||(I=w.toString)===null||I===void 0?void 0:I.call(w)}}function m({mode:g,color:v,alpha:w}){let I=w!==void 0;return g==="rgba"||g==="hsla"?`${g}(${v.join(", ")}${I?`, ${w}`:""})`:`${g}(${v.join(" ")}${I?` / ${w}`:""})`}})(Ch)),Ch}var c1;function LC(){return c1||(c1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(s,a){for(var l in a)Object.defineProperty(s,l,{enumerable:!0,get:a[l]})}e(n,{withAlphaValue:function(){return o},default:function(){return i}});const r=kC();function o(s,a,l){if(typeof s=="function")return s({opacityValue:a});let c=(0,r.parseColor)(s,{loose:!0});return c===null?l:(0,r.formatColor)({...c,alpha:a})}function i({color:s,property:a,variable:l}){let c=[].concat(a);if(typeof s=="function")return{[l]:"1",...Object.fromEntries(c.map(d=>[d,s({opacityVariable:l,opacityValue:`var(${l}, 1)`})]))};const u=(0,r.parseColor)(s);return u===null?Object.fromEntries(c.map(d=>[d,s])):u.alpha!==void 0?Object.fromEntries(c.map(d=>[d,s])):{[l]:"1",...Object.fromEntries(c.map(d=>[d,(0,r.formatColor)({...u,alpha:`var(${l}, 1)`})]))}}})(Rh)),Rh}var kh={},Lh={},Dh={},u1;function x0(){return u1||(u1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,o){let i=[],s=[],a=0,l=!1;for(let c=0;c<r.length;c++){let u=r[c];
3761i.length===0&&u===o[0]&&!l&&(o.length===1||r.slice(c,c+o.length)===o)&&(s.push(r.slice(a,c)),a=c+o.length),l=l?!1:u==="\\",u==="("||u==="["||u==="{"?i.push(u):(u===")"&&i[i.length-1]==="("||u==="]"&&i[i.length-1]==="["||u==="}"&&i[i.length-1]==="{")&&i.pop()}return s.push(r.slice(a)),s}})(Dh)),Dh}var d1;function FW(){return d1||(d1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(c,u){for(var d in u)Object.defineProperty(c,d,{enumerable:!0,get:u[d]})}e(n,{parseBoxShadowValue:function(){return a},formatBoxShadowValue:function(){return l}});const r=x0();let o=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function a(c){return(0,r.splitAtTopLevelOnly)(c,",").map(d=>{let p=d.trim(),h={raw:p},m=p.split(i),g=new Set;for(let v of m)s.lastIndex=0,!g.has("KEYWORD")&&o.has(v)?(h.keyword=v,g.add("KEYWORD")):s.test(v)?g.has("X")?g.has("Y")?g.has("BLUR")?g.has("SPREAD")||(h.spread=v,g.add("SPREAD")):(h.blur=v,g.add("BLUR")):(h.y=v,g.add("Y")):(h.x=v,g.add("X")):h.color?(h.unknown||(h.unknown=[]),h.unknown.push(v)):h.color=v;return h.valid=h.x!==void 0&&h.y!==void 0,h})}function l(c){return c.map(u=>
3761u.valid?[u.keyword,u.x,u.y,u.blur,u.spread,u.color].filter(Boolean).join(" "):u.raw).join(", ")}})(Lh)),Lh}var f1;function DC(){return f1||(f1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(j,G){for(var te in G)Object.defineProperty(j,te,{enumerable:!0,get:G[te]})}e(n,{normalize:function(){return c},normalizeAttributeSelectors:function(){return u},url:function(){return p},number:function(){return h},percentage:function(){return m},length:function(){return w},lineWidth:function(){return b},shadow:function(){return E},color:function(){return P},image:function(){return D},gradient:function(){return S},position:function(){return A},familyName:function(){return R},genericName:function(){return O},absoluteSize:function(){return ee},relativeSize:function(){return q}});const r=kC(),o=FW(),i=x0();let s=["min","max","clamp","calc"];function a(j){return s.some(G=>new RegExp(`^${G}\\(.*\\)`).test(j))}const l=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function c(j,G=null,te=!0){let le=G&&l.has(G.property);return j.startsWith("--")&&!le?`var(${j})`:j.includes("url(")?j.split(/(url\(.*?\))/g).filter(Boolean).map(Ae=>/^url\(.*?\)$/.test(Ae)?Ae:c(Ae,G,!1)).join(""):(j=j.replace(/([^\\])_+/g,(Ae,Ie)=>Ie+" ".repeat(Ae.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),te&&(j=j.trim()),j=d(j),j)}function u(j){return j.includes("=")&&(j=j.replace(/(=.*)/g,(G,te)=>{if(te[1]==="'"||te[1]==='"')return te;if(te.length>2){let le=te[te.length-1];if(te[te.length-2]===" "&&(le==="i"||le==="I"||le==="s"||le==="S"))return`="${te.slice(1,-2)}" ${te[te.length-1]}`}return`="${te.slice(1)}"`})),j}function d(j){let G=["theme"],te=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient","anchor-size"];return j.replace(/(calc|min|max|clamp)\(.+\)/g,le=>{let Ae="";function Ie(){let Ce=Ae.trimEnd();return Ce[Ce.length-1]}for(let Ce=0;Ce<le.length;Ce++){let vt=function(oe){return oe.split("").every((Ee,ye)=>le[Ce+ye]===Ee)},mt=function(oe){let Ee=1/0;for(let de of oe){let Pe=le.indexOf(de,Ce);Pe!==-1&&Pe<Ee&&(Ee=Pe)}let ye=le.slice(Ce,Ee);return Ce+=ye.length-1,ye},_t=le[Ce];if(vt("var"))Ae+=mt([")",","]);else if(te.some(oe=>vt(oe))){let oe=te.find(Ee=>vt(Ee));Ae+=oe,Ce+=oe.length-1}else G.some(oe=>vt(oe))?Ae+=mt([")"]):vt("[")?Ae+=mt(["]"]):["+","-","*","/"].includes(_t)&&!["(","+","-","*","/",","].includes(Ie())?Ae+=` ${_t} `:Ae+=_t}return Ae.replace(/\s+/g," ")})}function p(j){return j.startsWith("url(")}function h(j){return!isNaN(Number(j))||a(j)}function m(j){return j.endsWith("%")&&h(j.slice(0,-1))||a(j)}let v=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function w(j){return j==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${v}$`).test(j)||a(j)}let I=new Set(["thin","medium","thick"]);function b(j){return I.has(j)}function E(j){let G=(0,o.parseBoxShadowValue)(c(j));for(let te of G)if(!te.valid)return!1;return!0}function P(j){let G=0;return(0,i.splitAtTopLevelOnly)(j,"_").every(le=>(le=c(le),le.startsWith("var(")?!0:(0,r.parseColor)(le,{loose:!0})!==null?(G++,!0):!1))?G>0:!1}function D(j){let G=0;return(0,i.splitAtTopLevelOnly)(j,",").every(le=>(le=c(le),le.startsWith("var(")?!0:p(le)||S(le)||["element(","image(","cross-fade(","image-set("].some(Ae=>le.startsWith(Ae))?(G++,!0):!1))?G>0:!1}let V=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function S(j){j=c(j);for(let G of V)if(j.startsWith(`${G}(`))return!0;return!1}let C=new Set(["center","top","right","bottom","left"]);function A(j){let G=0;return(0,i.splitAtTopLevelOnly)(j,"_").every(le=>(le=c(le),le.startsWith("var(")?!0:C.has(le)||w(le)||m(le)?(G++,!0):!1))?G>0:!1}function R(j){let G=0;return(0,i.splitAtTopLevelOnly)(j,",").every(le=>(le=c(le),le.startsWith("var(")?!0:le.includes(" ")&&!/(['"])([^"']+)\1/g.test(le)||/^\d/g.test(le)?!1:(G++,!0)))?G>0:!1}let L=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function O(j){return L.has(j)}let k=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function ee(j){return k.has(j)}let J=new Set(["larger","smaller"]);function q(j){return J.has(j)}})(kh)),kh}var xh={},p1;function UW(){return p1||(p1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"backgroundSize",{enumerable:!0,get:function(){return o}});const e=DC(),r=x0();function o(i){let s=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(a=>
3761{let l=(0,r.splitAtTopLevelOnly)(a,"_").filter(Boolean);return l.length===1&&s.includes(l[0])?!0:l.length!==1&&l.length!==2?!1:l.every(c=>(0,e.length)(c)||(0,e.percentage)(c)||c==="auto")})}})(xh)),xh}var h1;function BW(){return h1||(h1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(A,R){for(var L in R)Object.defineProperty(A,L,{enumerable:!0,get:R[L]})}e(n,{updateAllClasses:function(){return u},asValue:function(){return h},parseColorFormat:function(){return v},asColor:function(){return I},asLookupValue:function(){return b},typeMap:function(){return P},coerceValue:function(){return S},getMatchingTypes:function(){return C}});const r=c(VW()),o=LC(),i=DC(),s=c(CC()),a=UW(),l=D0();function c(A){return A&&A.__esModule?A:{default:A}}function u(A,R){A.walkClasses(L=>{L.value=R(L.value),L.raws&&L.raws.value&&(L.raws.value=(0,r.default)(L.raws.value))})}function d(A,R){if(!m(A))return;let L=A.slice(1,-1);if(R(L))return(0,i.normalize)(L)}function p(A,R={},L){let O=R[A];if(O!==void 0)return(0,s.default)(O);if(m(A)){let k=d(A,L);return k===void 0?void 0:(0,s.default)(k)}}function h(A,R={},{validate:L=()=>!0}={}){var O;let k=(O=R.values)===null||O===void 0?void 0:O[A];return k!==void 0?k:R.supportsNegativeValues&&A.startsWith("-")?p(A.slice(1),R.values,L):d(A,L)}function m(A){return A.startsWith("[")&&A.endsWith("]")}function g(A){let R=A.lastIndexOf("/"),L=A.lastIndexOf("[",R),O=A.indexOf("]",R);return A[R-1]==="]"||A[R+1]==="["||L!==-1&&O!==-1&&L<R&&R<O&&(R=A.lastIndexOf("/",L)),R===-1||R===A.length-1?[A,void 0]:m(A)&&!A.includes("]/[")?[A,void 0]:[A.slice(0,R),A.slice(R+1)]}function v(A){if(typeof A=="string"&&A.includes("<alpha-value>")){let R=A;return({opacityValue:L=1})=>R.replace(/<alpha-value>/g,L)}return A}function w(A){return(0,i.normalize)(A.slice(1,-1))}function I(A,R={},{tailwindConfig:L={}}={}){var O;if(((O=R.values)===null||O===void 0?void 0:O[A])!==void 0){var k;return v((k=R.values)===null||k===void 0?void 0:k[A])}let[ee,J]=g(A);if(J!==void 0){var q,j,G,te;let le=(te=(q=R.values)===null||q===void 0?void 0:q[ee])!==null&&te!==void 0?te:m(ee)?ee.slice(1,-1):void 0;return le===void 0?void 0:(le=v(le),m(J)?(0,o.withAlphaValue)(le,w(J)):((j=L.theme)===null||j===void 0||(G=j.opacity)===null||G===void 0?void 0:G[J])===void 0?void 0:(0,o.withAlphaValue)(le,L.theme.opacity[J]))}return h(A,R,{validate:i.color})}function b(A,R={}){var L;return(L=R.values)===null||L===void 0?void 0:L[A]}function E(A){return(R,L)=>h(R,L,{validate:A})}let P={any:h,color:I,url:E(i.url),image:E(i.image),length:E(i.length),percentage:E(i.percentage),position:E(i.position),lookup:b,"generic-name":E(i.genericName),"family-name":E(i.familyName),number:E(i.number),"line-width":E(i.lineWidth),"absolute-size":E(i.absoluteSize),"relative-size":E(i.relativeSize),shadow:E(i.shadow),size:E(a.backgroundSize)},D=Object.keys(P);function V(A,R){let L=A.indexOf(R);return L===-1?[void 0,A]:[A.slice(0,L),A.slice(L+1)]}function S(A,R,L,O){if(L.values&&R in L.values)for(let{type:ee}of A??[]){let J=P[ee](R,L,{tailwindConfig:O});if(J!==void 0)return[J,ee,null]}if(m(R)){let ee=R.slice(1,-1),[J,q]=V(ee,":");if(!/^[\w-_]+$/g.test(J))q=ee;else if(J!==void 0&&!D.includes(J))return[];if(q.length>0&&D.includes(J))return[h(`[${q}]`,L),J,null]}let k=C(A,R,L,O);for(let ee of k)return ee;return[]}function*C(A,R,L,O){let k=(0,l.flagEnabled)(O,"generalizedModifiers"),[ee,J]=g(R);if(k&&L.modifiers!=null&&(L.modifiers==="any"||typeof L.modifiers=="object"&&(J&&m(J)||J in L.modifiers))||(ee=R,J=void 0),J!==void 0&&ee===""&&(ee="DEFAULT"),J!==void 0&&typeof L.modifiers=="object"){var j,G;let te=(G=(j=L.modifiers)===null||j===void 0?void 0:j[J])!==null&&G!==void 0?G:null;te!==null?J=te:m(J)&&(J=w(J))}for(let{type:te}of A??[]){let le=P[te](ee,L,{tailwindConfig:O});le!==void 0&&(yield[le,te,J??null])}}})(Sh)),Sh}var Nh={},m1;function jW(){return m1||(m1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return e}});function e(r){return typeof r=="function"?r({}):r}})(Nh)),Nh}var _1;function $W(){return _1||(_1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return L}});const e=m(CC()),r=m(RW()),o=m(CW()),i=m(OW()),s=kW(),a=LW(),l=DW(),c=m(xW()),u=NW(),d=BW(),p=LC(),h=m(jW());function m(O){return O&&O.__esModule?O:{default:O}}function g(O){return typeof O=="function"}function v(O,...k){let ee=k.pop();for(let J of k)for(let q in J){let j=ee(O[q],J[q]);j===void 0?(0,c.default)(O[q])&&(0,c.default)(J[q])?O[q]=v({},O[q],J[q],ee):O[q]=J[q]:O[q]=j}return O}const w={colors:i.default,negative(O){return Object.keys(O).filter(k=>O[k]!=="0").reduce((k,ee)=>{let J=(0,e.default)(O[ee]);return J!==void 0&&(k[`-${ee}`]=J),k},{})},breakpoints(O){return Object.keys(O).filter(k=>typeof O[k]=="string").reduce((k,ee)=>({...k,[`screen-${ee}`]:O[ee]}),{})}};function I(O,...k){return g(O)?O(...k):O}function b(O){return O.reduce((k,{extend:ee})=>v(k,ee,(J,q)=>J===void 0?[q]:Array.isArray(J)?[q,...J]:[q,J]),{})}function E(O){return{...O.reduce((k,ee)=>(0,s.defaults)(k,ee),{}),extend:b(O)}}
3761function P(O,k){if(Array.isArray(O)&&(0,c.default)(O[0]))return O.concat(k);if(Array.isArray(k)&&(0,c.default)(k[0])&&(0,c.default)(O))return[O,...k];if(Array.isArray(k))return k}function D({extend:O,...k}){return v(k,O,(ee,J)=>!g(ee)&&!J.some(g)?v({},ee,...J,P):(q,j)=>v({},...[ee,...J].map(G=>I(G,q,j)),P))}function*V(O){let k=(0,a.toPath)(O);if(k.length===0||(yield k,Array.isArray(O)))return;let ee=/^(.*?)\s*\/\s*([^/]+)$/,J=O.match(ee);if(J!==null){let[,q,j]=J,G=(0,a.toPath)(q);G.alpha=j,yield G}}function S(O){const k=(ee,J)=>{for(const q of V(ee)){let j=0,G=O;for(;G!=null&&j<q.length;)G=G[q[j++]],G=g(G)&&(q.alpha===void 0||j<=q.length-1)?G(k,w):G;if(G!==void 0){if(q.alpha!==void 0){let te=(0,d.parseColorFormat)(G);return(0,p.withAlphaValue)(te,q.alpha,(0,h.default)(te))}return(0,c.default)(G)?(0,u.cloneDeep)(G):G}}return J};return Object.assign(k,{theme:k,...w}),Object.keys(O).reduce((ee,J)=>(ee[J]=g(O[J])?O[J](k,w):O[J],ee),{})}function C(O){let k=[];return O.forEach(ee=>{k=[...k,ee];var J;const q=(J=ee?.plugins)!==null&&J!==void 0?J:[];q.length!==0&&q.forEach(j=>{j.__isOptionsFunction&&(j=j());var G;k=[...k,...C([(G=j?.config)!==null&&G!==void 0?G:{}])]})}),k}function A(O){return[...O].reduceRight((ee,J)=>g(J)?J({corePlugins:ee}):(0,o.default)(J,ee),r.default)}function R(O){return[...O].reduceRight((ee,J)=>[...ee,...J],[])}function L(O){let k=[...C(O),{prefix:"",important:!1,separator:":"}];var ee,J;return(0,l.normalizeConfig)((0,s.defaults)({theme:S(D(E(k.map(q=>(ee=q?.theme)!==null&&ee!==void 0?ee:{})))),corePlugins:A(k.map(q=>q.corePlugins)),plugins:R(O.map(q=>(J=q?.plugins)!==null&&J!==void 0?J:[]))},...k))}})(hh)),hh}var Vh={},Mh,g1;function zW(){return g1||(g1=1,Mh={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:n})=>({...n("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:n})=>n("blur"),backdropBrightness:({theme:n})=>n("brightness"),backdropContrast:({theme:n})=>n("contrast"),backdropGrayscale:({theme:n})=>n("grayscale"),backdropHueRotate:({theme:n})=>n("hueRotate"),backdropInvert:({theme:n})=>n("invert"),backdropOpacity:({theme:n})=>n("opacity"),backdropSaturate:({theme:n})=>n("saturate"),backdropSepia:({theme:n})=>n("sepia"),backgroundColor:({theme:n})=>n("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:n})=>n("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:n})=>({...n("colors"),DEFAULT:n("colors.gray.200","currentColor")}),borderOpacity:({theme:n})=>n("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:n})=>({...n("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:n})=>
vendor: 9,128 bytes, line 3761
3761n("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:n})=>n("colors"),colors:({colors:n})=>({inherit:n.inherit,current:n.current,transparent:n.transparent,black:n.black,white:n.white,slate:n.slate,gray:n.gray,zinc:n.zinc,neutral:n.neutral,stone:n.stone,red:n.red,orange:n.orange,amber:n.amber,yellow:n.yellow,lime:n.lime,green:n.green,emerald:n.emerald,teal:n.teal,cyan:n.cyan,sky:n.sky,blue:n.blue,indigo:n.indigo,violet:n.violet,purple:n.purple,fuchsia:n.fuchsia,pink:n.pink,rose:n.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:n})=>n("borderColor"),divideOpacity:({theme:n})=>n("borderOpacity"),divideWidth:({theme:n})=>n("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:n})=>({none:"none",...n("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:n})=>n("spacing"),gradientColorStops:({theme:n})=>n("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",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"},gridColumnStart:{auto:"auto",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"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",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"},gridRowStart:{auto:"auto",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"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:n})=>({auto:"auto",...n("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:n})=>({...n("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:n,breakpoints:e})=>({...n("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(n("screens"))}),minHeight:({theme:n})=>({...n("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:n})=>({...n("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"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"},outlineColor:({theme:n})=>
3761n("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:n})=>n("spacing"),placeholderColor:({theme:n})=>n("colors"),placeholderOpacity:({theme:n})=>n("opacity"),ringColor:({theme:n})=>({DEFAULT:n("colors.blue.500","#3b82f6"),...n("colors")}),ringOffsetColor:({theme:n})=>n("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:n})=>({DEFAULT:"0.5",...n("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:n})=>({...n("spacing")}),scrollPadding:({theme:n})=>n("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:n})=>({...n("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:n})=>({none:"none",...n("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:n})=>n("colors"),textDecorationColor:({theme:n})=>n("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:n})=>({...n("spacing")}),textOpacity:({theme:n})=>n("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:n})=>({...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}),Mh}var y1;function HW(){return y1||(y1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});const e=o(zW()),r=D0();function o(s){return s&&s.__esModule?s:{default:s}}function i(s){var a;const l=((a=s?.presets)!==null&&a!==void 0?a:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),c={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},u=Object.keys(c).filter(d=>(0,r.flagEnabled)(s,d)).map(d=>c[d]);return[s,...u,...l]}})(Vh)),Vh}var v1;function qW(){return v1||(v1=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});const e=o($W()),r=o(HW());function o(s){return s&&s.__esModule?s:{default:s}}function i(...s){let[,...a]=(0,r.default)(s[0]);return(0,e.default)([...s,...a])}})(ph)),ph}var Fh,E1;function GW(){if(E1)return Fh;E1=1;let n=qW();return Fh=(n.__esModule?n:{default:n}).default,Fh}var WW=GW();const KW=PW(WW),Se=n=>`rgb(var(--color-${n}) / <alpha-value>)`,YW={content:["./components/**/*.{js,vue,ts}","./layouts/**/*.vue","./pages/**/*.vue","./plugins/**/*.{js,ts}","./app.vue","./app/**/*.{js,vue,ts}","./helpers/**/*.{js,ts}"],theme:{container:{center:!0},fontFamily:{inter:["inter","sans-serif"]},fontSize:{xl:["1.5rem",{lineHeight:"2rem",fontWeight:400,letterSpacing:"-0.015rem"}],lg:["1.125rem",{lineHeight:"1.5rem",fontWeight:400,letterSpacing:"-0.015rem"}],md:["1rem",{lineHeight:"1.5rem",fontWeight:400,letterSpacing:"-0.011rem"}],sm:["0.875rem",{lineHeight:"1.25rem",fontWeight:400,letterSpacing:"-0.006rem"}],xs:["0.75rem",{lineHeight:"1rem",fontWeight:400,letterSpacing:"0rem"}],xxs:["0.5rem",{lineHeight:"0.65rem",fontWeight:400,letterSpacing:"0rem"}]},extend:{colors:{brand:{primary:Se("brand-primary"),secondary:Se("brand-secondary"),tertiary:Se("brand-tertiary"),800:Se("brand-800"),DEFAULT:Se("brand-primary")},surface:{blue:Se("surface-blue"),"blue-light":Se("surface-blue-light"),"blue-lighter":Se("surface-blue-lighter"),gray:Se("surface-gray"),"gray-dark":Se("surface-gray-dark"),yellow:Se("surface-yellow")},icon:{black:Se("icon-black"),"gray-darker":Se("icon-gray-darker"),gray:Se("icon-gray"),"gray-light":Se("icon-gray-light"),white:Se("icon-white"),"white-fixed":Se("icon-white-fixed")},support:{taupe:Se("support-taupe"),"warm-brown":Se("support-warm-brown"),charcoal:Se("support-charcoal"),"stone-gray":Se("support-stone-gray"),"brick-red":Se("support-brick-red"),"forest-green":Se("support-forest-green"),"dusty-rose":Se("support-dusty-rose"),"slate-blue":Se("support-slate-blue"),"soft-lilac":Se("support-soft-lilac"),sandstone:Se("support-sandstone"),"golden-brown":Se("support-golden-brown"),olive:Se("support-olive"),"steel-blue":Se("support-steel-blue"),violet:Se("support-violet"),"mint-green":Se("support-mint-green")},alert:Se("alert"),affirmative:Se("affirmative"),success:{400:"#0CB46C",500:"#0CB46C",DEFAULT:"#0CB46C"}},textColor:{primary:Se("text-primary"),"primary-2nd":Se("text-primary-2nd"),secondary:Se("text-secondary"),tertiary:Se("text-tertiary"),negative:Se("text-negative"),"white-fixed":Se("text-white-fixed"),"accent-gray-light":Se("text-accent-gray-light"),"accent-gray-lighter":Se("text-accent-gray-lighter")},backgroundColor:{primary:Se("bg-primary"),secondary:Se("bg-secondary"),tertiary:Se("bg-tertiary"),negative:Se("bg-negative")},borderColor:{primary:Se("stroke-primary"),secondary:Se("stroke-secondary"),tertiary:Se("stroke-tertiary"),black:Se("stroke-black")},ringColor:{primary:Se("stroke-primary"),secondary:Se("stroke-secondary"),tertiary:Se("stroke-tertiary")},divideColor:{primary:Se("stroke-primary")},outlineColor:{primary:Se("stroke-primary"),secondary:Se("stroke-secondary"),tertiary:Se("stroke-tertiary")},stroke:{primary:Se("stroke-primary"),secondary:Se("stroke-secondary"),tertiary:Se("stroke-tertiary")},gradientColorStops:{primary:Se("bg-primary"),secondary:Se("bg-secondary"),tertiary:Se("bg-tertiary"),negative:Se("bg-negative")},placeholderColor:{tertiary:Se("text-tertiary"),"accent-gray-light":Se("text-accent-gray-light")},keyframes:{float:{"0%, 100%":{transform:"translateY(0)"},"50%":{transform:"translateY(-6px)"}},shimmer:{"0%, 35%":{transform:"translateX(-150%) skewX(-12deg)"},"100%":{transform:"translateX(150%) skewX(-12deg)"}},breathe:{"0%, 100%":{transform:"scale(1)"},"50%":{transform:"scale(1.04)"}}},animation:{float:"float 3s ease-in-out infinite",shimmer:"shimmer 2.5s ease-in-out infinite",breathe:"breathe 3s ease-in-out infinite"}}},plugins:[]},xC=()=>{const n=KW(YW),e=typeof window<"u",r=me(e?window.innerWidth:1024),o={...n.theme.screens};for(const a in o)o[a]=parseInt(o[a].replace("px",""));const i=z(()=>{const a={};for(const l in o)a[l]=r.value>=o[l];return a}),s=()=>{e&&(r.value=window.innerWidth)};return br(()=>{e&&(r.value=window.innerWidth,window.addEventListener("resize",s))}),qi(()=>{e&&window.removeEventListener("resize",s)}),i},JW={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none"};function QW(n,e){return Y(),se("svg",JW,[...e[0]||(e[0]=[U("g",{stroke:"inherit","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.333","clip-path":"url(#clip0_173_4461)"},[U("path",{d:"M8 14.667A6.667 6.667 0 1 0 8 1.334a6.667 6.667 0 0 0 0 13.333M8 5.334v2.667M8 10.667h.007"})],-1),U("defs",null,[U("clipPath",{id:"clip0_173_4461"},[U("path",{fill:"#fff",d:"M0 0h16v16H0z"})])],-1)])])}const XW={render:QW},ZW={class:"flex w-full"},eK={class:"paragraph-xs ml-1 text-alert"},w1={__name:"BaseError",setup(n){return(e,r)=>(Y(),se("div",ZW,[ge(Q(XW),{class:"h-4 w-4 flex-shrink-0 stroke-alert"}),U("p",eK,[Co(e.$slots,"default",{},()=>[Xt(pe(e.$t("common.error.somethingWentWrong")),1)])])]))}},tK=["href"],Du={__name:"PolicyLink",props:{source:{required:!0,type:String},type:{required:!0,type:String,validator:n=>["community","cookie","privacy","refund","terms"].includes(n)},label:{required:!1,type:String,default:""}},setup(n){const e=n,{t:r}=Jt(),o=z(()=>({community:{eventName:"community",text:r("components.atoms.policyLink.community"),url:"/community.html"}
3761,cookie:{eventName:"cookie_policy",text:r("components.atoms.policyLink.cookie"),url:"/cookie-policy.html"},privacy:{eventName:"privacy",text:r("components.atoms.policyLink.privacy"),url:"/policy.html"},refund:{eventName:"refund_policy",text:r("components.atoms.policyLink.refund"),url:"/refund.html"},terms:{eventName:"terms",text:r("components.atoms.policyLink.terms"),url:"/terms.html"}})),i=z(()=>o.value[e.type]),s=z(()=>e.label||i.value.text),a=()=>{Be({eventName:i.value.eventName,properties:{source:e.source}})};return(l,c)=>(Y(),se("a",{href:i.value.url,target:"_blank",onClick:a},pe(s.value),9,tK))}},nK={class:"flex items-center gap-1"},NC={__name:"SecretOfferCountdown",props:{seconds:{type:Number,default:600},size:{type:String,default:"md",validator:n=>["lg","md","sm"].includes(n)},animateTick:{type:Boolean,default:!1}},setup(n){const e=n,r=z(()=>Math.max(0,Math.floor(e.seconds))),o=z(()=>String(Math.floor(r.value/60)).padStart(2,"0")),i=z(()=>String(r.value%60).padStart(2,"0")),s=me(!1);let a=null;wt(i,()=>{e.animateTick&&(s.value=!0,clearTimeout(a),a=setTimeout(()=>{s.value=!1},200))}),qi(()=>clearTimeout(a));const l=z(()=>({lg:"w-[3.75rem] h-[3rem] rounded-[0.625rem]",md:"w-[3.75rem] h-[2.2rem] rounded-[0.625rem]",sm:"h-4 w-5 rounded-md"})[e.size]),c=z(()=>({lg:"heading-4 w-[1.125rem] text-brand-secondary",md:"heading-4 w-[1.125rem] text-brand-secondary",sm:"label-xs text-primary"})[e.size]),u=z(()=>({lg:"heading-4 text-brand-secondary font-medium",md:"heading-5 text-brand-secondary font-medium",sm:"label-xs text-primary"})[e.size]);return(d,p)=>(Y(),se("div",nK,[U("div",{class:Le(["flex h-4 w-5 items-center justify-center bg-primary shadow-[0px_0px_4px_0px_rgba(0,0,0,0.10)]",l.value])},[U("span",{class:Le(u.value)},pe(o.value),3)],2),U("span",{class:Le(["text-center",c.value])}," : ",2),U("div",{class:Le(["flex h-4 w-5 items-center justify-center bg-primary shadow-[0px_0px_4px_0px_rgba(0,0,0,0.10)] transition-transform duration-150",[l.value,s.value&&"scale-110"]])},[U("span",{class:Le(u.value)},pe(i.value),3)],2)]))}},rK={class:"relative flex w-full flex-col items-center"},VC={__name:"SecretOfferDiscountHero",props:{discount:{type:Number,default:70},size:{type:String,default:"lg",validator:n=>["lg","md","sm"].includes(n)},showEyebrow:{type:Boolean,default:!0},countUp:{type:Boolean,default:!1},play:{type:Boolean,default:!1}},setup(n){const e=n,{t:r}=Jt(),o=me(0);let i=!1;const s=()=>
3761{if(i)return;i=!0;const c=e.discount,u=2400;let d=null;const p=h=>{d===null&&(d=h);const m=Math.min(1,(h-d)/u),g=1-Math.pow(1-m,3);o.value=Math.round(c*g),m<1?requestAnimationFrame(p):o.value=c};requestAnimationFrame(p)};wt(()=>e.play,c=>{c&&s()},{immediate:!0});const a=z(()=>({lg:"heading-6 font-semibold",md:"paragraph-xs font-semibold",sm:"paragraph-xs font-semibold"})[e.size]),l=z(()=>({lg:"text-[5rem] font-black leading-[0.85] tracking-[0.15rem] sm:text-[7.5rem] sm:leading-[6.25rem] mt-3",md:"text-[4.6875rem] font-black leading-[3.875rem] tracking-normal mt-2",sm:"text-[3.75rem] font-black leading-[4rem] tracking-normal"})[e.size]);return(c,u)=>(Y(),se("div",rK,[n.showEyebrow?(Y(),se("p",{key:0,class:Le(["relative z-10 text-center uppercase text-alert",a.value])},pe(Q(r)("components.molecules.secretOffer.limitedTimeDiscount")),3)):Ue("",!0),U("p",{class:Le(["relative z-10 text-center text-alert",l.value])},pe(n.countUp?o.value:n.discount)+"% ",3)]))}},oK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 303 125"};function iK(n,e){return Y(),se("svg",oK,[...e[0]||(e[0]=[eg('<g filter="url(#filter0_dddd_17405_12812)"><path fill="url(#paint0_linear_17405_12812)" fill-rule="evenodd" d="M279.74 197.153c0 7.983 0 11.974-1.553 15.024a14.26 14.26 0 0 1-6.23 6.229c-3.049 1.554-7.04 1.554-15.024 1.554H45.969c-7.983 0-11.975 0-15.024-1.554a14.26 14.26 0 0 1-6.23-6.229c-1.553-3.05-1.553-7.041-1.553-15.024V61.113c0-4.462 0-6.694.615-8.719a14.3 14.3 0 0 1 2.627-4.909c1.344-1.635 3.2-2.873 6.914-5.348L81.561 9.975c2.136-1.424 3.203-2.136 4.359-2.64 1.025-.448 2.1-.773 3.201-.97 1.241-.22 2.524-.22 5.091-.22H208.69c2.567 0 3.85 0 5.091.22a14.3 14.3 0 0 1 3.202.97c1.155.504 2.223 1.216 4.358 2.64l48.243 32.162c3.714 2.475 5.57 3.713 6.914 5.348a14.2 14.2 0 0 1 2.627 4.909c.615 2.025.615 4.257.615 8.72z" clip-rule="evenodd"></path><path stroke="url(#paint1_linear_17405_12812)" stroke-width="1.782" d="M256.934 220.85c3.976 0 7.013.001 9.434-.197 2.432-.199 4.322-.602 5.993-1.453a15.15 15.15 0 0 0 6.619-6.619c.852-1.671 1.256-3.562 1.455-5.993.197-2.422.196-5.458.196-9.435V61.113c0-4.407.009-6.796-.653-8.978a15.2 15.2 0 0 0-2.791-5.215c-1.448-1.762-3.442-3.08-7.109-5.525L221.836 9.234c-2.11-1.407-3.253-2.173-4.497-2.716a15 15 0 0 0-3.401-1.03c-1.337-.237-2.712-.234-5.248-.234H94.212c-2.536 0-3.91-.003-5.247.235-1.17.208-2.312.554-3.401 1.03-1.245.542-2.387 1.308-4.498 2.715L32.824 41.395c-3.667 2.445-5.66 3.763-7.108 5.525a15.15 15.15 0 0 0-2.791 5.215c-.663 2.182-.654 4.571-.654 8.978v136.04c0 3.977 0 7.013.198 9.435.198 2.431.601 4.322 1.453 5.993a15.15 15.15 0 0 0 6.619 6.619c1.671.851 3.561 1.254 5.993 1.453 2.422.198 5.458.197 9.435.197z"></path></g><path fill="#475569" fill-opacity=".06" fill-rule="evenodd" d="M256.933 218.178H45.969c-4.02 0-6.93-.002-9.217-.188-2.267-.186-3.766-.544-4.998-1.172a12.47 12.47 0 0 1-5.45-5.45c-.628-1.232-.987-2.731-1.172-4.998-.187-2.288-.188-5.196-.188-9.217V61.113c0-4.573.018-6.489.538-8.201a12.5 12.5 0 0 1 2.299-4.295c1.136-1.383 2.72-2.46 6.525-4.998L82.55 11.457c2.187-1.457 3.106-2.062 4.083-2.49a12.5 12.5 0 0 1 2.802-.847c1.05-.187 2.15-.194 4.778-.194H208.69c2.628 0 3.729.007 4.779.194a12.5 12.5 0 0 1 2.801.848c.978.427 1.896 1.032 4.083 2.49l48.243 32.161c3.805 2.537 5.389 3.615 6.526 4.998a12.5 12.5 0 0 1 2.298 4.295c.52 1.712.539 3.628.539 8.201v136.04c0 4.021-.002 6.929-.189 9.217-.185 2.267-.543 3.766-1.171 4.998a12.47 12.47 0 0 1-5.451 5.45c-1.231.628-2.731.986-4.997 1.172-2.288.186-5.197.188-9.218.188m21.254-6.001c1.553-3.05 1.553-7.041 1.553-15.024V61.113c0-4.462 0-6.694-.615-8.719a14.2 14.2 0 0 0-2.627-4.909c-1.344-1.635-3.2-2.873-6.914-5.348L221.341 9.975c-2.135-1.424-3.203-2.136-4.358-2.64a14.3 14.3 0 0 0-3.202-.97c-1.241-.22-2.524-.22-5.091-.22H94.212c-2.567 0-3.85 0-5.09.22a14.3 14.3 0 0 0-3.202.97c-1.156.504-2.223 1.216-4.359 2.64L33.318 42.137c-3.713 2.475-5.57 3.713-6.914 5.348a14.3 14.3 0 0 0-2.627 4.909c-.615 2.025-.615 4.257-.615 8.72v136.039c0 7.983 0 11.974 1.554 15.024a14.26 14.26 0 0 0 6.23 6.229c3.048 1.554 7.04 1.554 15.023 1.554h210.964c7.984 0 11.975 0 15.024-1.554a14.26 14.26 0 0 0 6.23-6.229" clip-rule="evenodd"></path>
3761<g filter="url(#filter1_f_17405_12812)" style="mix-blend-mode:multiply;"><path fill="#1E293B" fill-opacity=".2" d="M55.176 32.078A13.935 13.935 0 0 1 67.78 21.78l168.484-10.352a13.935 13.935 0 0 1 14.273 10.15l23.978 85.593c2.378 8.49-3.626 17.026-12.42 17.659L45.259 140.417c-9.559.687-16.942-8.255-14.458-17.511z"></path></g><path fill="url(#paint2_linear_17405_12812)" stroke="url(#paint3_linear_17405_12812)" d="M57.06 7.868h188.79a7.5 7.5 0 0 1 7.5 7.5v158.356a7.5 7.5 0 0 1-7.5 7.5H57.06a7.5 7.5 0 0 1-7.5-7.5V15.368a7.5 7.5 0 0 1 7.5-7.5Z"></path><path fill="url(#paint4_linear_17405_12812)" stroke="url(#paint5_linear_17405_12812)" d="M57.06 7.868h188.79a7.5 7.5 0 0 1 7.5 7.5v158.356a7.5 7.5 0 0 1-7.5 7.5H57.06a7.5 7.5 0 0 1-7.5-7.5V15.368a7.5 7.5 0 0 1 7.5-7.5Z"></path><defs><linearGradient id="paint0_linear_17405_12812" x1="151.451" x2="151.451" y1="6.144" y2="219.96" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFEFE"></stop><stop offset="1" stop-color="#DDE0E3"></stop></linearGradient><linearGradient id="paint1_linear_17405_12812" x1="151.451" x2="151.451" y1="219.96" y2="6.144" gradientUnits="userSpaceOnUse"><stop stop-color="#475569" stop-opacity=".06"></stop><stop offset="1" stop-color="#475569" stop-opacity="0"></stop></linearGradient><linearGradient id="paint2_linear_17405_12812" x1="151.455" x2="185.173" y1="7.368" y2="133.928" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"></stop><stop offset=".433" stop-color="#EBF4FF"></stop><stop offset="1" stop-color="#EBF4FF"></stop></linearGradient><linearGradient id="paint3_linear_17405_12812" x1="216.874" x2="211.666" y1="28.783" y2="195.395" gradientUnits="userSpaceOnUse"><stop stop-color="#BED6FF"></stop><stop offset="1" stop-color="#E5E7EB"></stop></linearGradient><linearGradient id="paint4_linear_17405_12812" x1="151.455" x2="185.173" y1="7.368" y2="133.928" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"></stop><stop offset="1" stop-color="#EBF4FF"></stop></linearGradient><linearGradient id="paint5_linear_17405_12812" x1="216.874" x2="211.666" y1="28.783" y2="195.395" gradientUnits="userSpaceOnUse"><stop stop-color="#BED6FF"></stop><stop offset="1" stop-color="#E5E7EB"></stop></linearGradient><filter id="filter0_dddd_17405_12812" width="302.904" height="295.778" x="-.001" y=".799" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="3.564"></feOffset><feGaussianBlur stdDeviation="3.564"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.117647 0 0 0 0 0.160784 0 0 0 0 0.231373 0 0 0 0.08 0">
3761</feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_17405_12812"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="14.254"></feOffset><feGaussianBlur stdDeviation="7.127"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.117647 0 0 0 0 0.160784 0 0 0 0 0.231373 0 0 0 0.07 0"></feColorMatrix><feBlend in2="effect1_dropShadow_17405_12812" result="effect2_dropShadow_17405_12812"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="30.291"></feOffset><feGaussianBlur stdDeviation="8.909"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.117647 0 0 0 0 0.160784 0 0 0 0 0.231373 0 0 0 0.04 0"></feColorMatrix><feBlend in2="effect2_dropShadow_17405_12812" result="effect3_dropShadow_17405_12812"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="53.454"></feOffset><feGaussianBlur stdDeviation="10.691"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.117647 0 0 0 0 0.160784 0 0 0 0 0.231373 0 0 0 0.01 0"></feColorMatrix><feBlend in2="effect3_dropShadow_17405_12812" result="effect4_dropShadow_17405_12812"></feBlend><feBlend in="SourceGraphic" in2="effect4_dropShadow_17405_12812" result="shape"></feBlend></filter><filter id="filter1_f_17405_12812" width="284.105" height="168.435" x="10.623" y="-8.289" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_17405_12812" stdDeviation="9.846"></feGaussianBlur></filter></defs>',6)])])}const sK={render:iK},aK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 257 125"};function lK(n,e){return Y(),se("svg",aK,[...e[0]||(e[0]=[eg('<mask id="mask0_17405_12820" width="257" height="254" x="0" y="-34" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="#000" d="M0 61.114c0-4.463 0-6.694.615-8.72a14.3 14.3 0 0 1 2.627-4.908c1.344-1.636 3.2-2.873 6.914-5.349l105.482-70.321c4.572-3.048 6.858-4.572 9.329-5.164a14.26 14.26 0 0 1 6.644 0c2.471.592 4.757 2.116 9.329 5.164l105.482 70.321c3.713 2.476 5.57 3.713 6.914 5.349a14.2 14.2 0 0 1 2.627 4.909c.615 2.025.615 4.256.615 8.719v136.039c0 7.983 0 11.975-1.553 15.024a14.26 14.26 0 0 1-6.23 6.229c-3.049 1.554-7.041 1.554-15.024 1.554H22.807c-7.983 0-11.975 0-15.024-1.554a14.25 14.25 0 0 1-6.23-6.229C0 209.128 0 205.136 0 197.153z"></path></mask><g mask="url(#mask0_17405_12820)"><g filter="url(#filter0_di_17405_12820)"><path fill="url(#paint0_linear_17405_12820)" d="M0 48.907V219.96l87.177-67.492c7.932-6.141 11.899-9.211 13.326-12.948a14.26 14.26 0 0 0 0-10.171c-1.427-3.737-5.394-6.808-13.326-12.949z"></path></g><path fill="#475569" fill-opacity=".1" fill-rule="evenodd" d="M-1.773 45.273v178.318l98.785-76.478c8.292-6.42 8.292-18.941 0-25.361zm1.781 3.633 95.913 74.255c7.371 5.707 7.371 16.836 0 22.543L.008 219.958zM258.242 45.273v178.318l-98.785-76.478c-8.292-6.42-8.292-18.941 0-25.361zm-1.782 3.633-95.912 74.255c-7.371 5.707-7.371 16.836 0 22.543l95.912 74.254z" clip-rule="evenodd"></path><g filter="url(#filter1_di_17405_12820)"><path fill="url(#paint1_linear_17405_12820)" d="M256.586 48.907V219.96l-87.177-67.492c-7.933-6.141-11.899-9.211-13.326-12.948a14.26 14.26 0 0 1 0-10.171c1.427-3.737 5.393-6.808 13.326-12.949z"></path></g><g opacity=".4" style="mix-blend-mode:multiply;"><g filter="url(#filter2_f_17405_12820)"><path fill="#334155" fill-opacity=".4" d="M5.336 219.957h245.887l-107.7-96.774c-5.388-4.842-8.083-7.263-11.129-8.181a14.25 14.25 0 0 0-8.229 0c-3.046.918-5.74 3.339-11.129 8.181z"></path></g><g filter="url(#filter3_f_17405_12820)"><path fill="#334155" fill-opacity=".2" d="M19.602 219.957H236.98L145.268 117.72c-5.877-6.551-8.816-9.827-12.279-11.036a14.25 14.25 0 0 0-9.396 0c-3.463 1.209-6.402 4.485-12.279 11.036z"></path></g>
3761<g filter="url(#filter4_f_17405_12820)"><path fill="#344256" fill-opacity=".1" d="M5.336 219.957h245.887L144.96 105.994c-5.798-6.219-8.697-9.328-12.086-10.482a14.26 14.26 0 0 0-9.188 0c-3.39 1.154-6.289 4.263-12.087 10.482z"></path></g></g><g filter="url(#filter5_i_17405_12820)"><path fill="url(#paint2_linear_17405_12820)" d="M0 219.959h256.578l-113.407-97.656c-5.28-4.547-7.92-6.82-10.883-7.687a14.26 14.26 0 0 0-7.998 0c-2.963.867-5.603 3.14-10.883 7.687z"></path></g><path stroke="#475569" stroke-opacity=".06" stroke-width="1.782" d="m2.672 216.393 110.514-94.838c5.359-4.599 8.039-6.899 11.044-7.774a14.5 14.5 0 0 1 8.111.005c3.004.878 5.681 3.181 11.035 7.786l112.311 96.603"></path><g filter="url(#filter6_f_17405_12820)"><path stroke="url(#paint3_linear_17405_12820)" stroke-width="28.509" d="M0 81.871V219.96h256.578V81.871"></path></g><path stroke="#fff" stroke-linecap="round" stroke-opacity=".4" stroke-width="3.564" d="M0 56.034v141.118c0 7.983 0 11.975 1.554 15.024a14.25 14.25 0 0 0 6.229 6.229c3.05 1.554 7.04 1.554 15.024 1.554h210.964c7.983 0 11.975 0 15.024-1.554a14.26 14.26 0 0 0 6.23-6.229c1.553-3.049 1.553-7.041 1.553-15.024V56.034"></path></g><defs><filter id="filter0_di_17405_12820" width="137.077" height="206.688" x="-3.564" y="38.217" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dx="14.254" dy="7.127"></feOffset><feGaussianBlur stdDeviation="8.909"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_17405_12820"></feBlend><feBlend in="SourceGraphic" in2="effect1_dropShadow_17405_12820" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1.782"></feOffset><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"></feColorMatrix><feBlend in2="shape" result="effect2_innerShadow_17405_12820"></feBlend></filter><filter id="filter1_di_17405_12820" width="137.077" height="206.688" x="123.072" y="38.217" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dx="-14.254" dy="7.127"></feOffset><feGaussianBlur stdDeviation="8.909"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_17405_12820"></feBlend><feBlend in="SourceGraphic" in2="effect1_dropShadow_17405_12820" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1.782"></feOffset><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"></feColorMatrix><feBlend in2="shape" result="effect2_innerShadow_17405_12820"></feBlend></filter><filter id="filter2_f_17405_12820" width="260.141" height="119.816" x="-1.791" y="107.268" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_17405_12820" stdDeviation="3.564"></feGaussianBlur></filter><filter id="filter3_f_17405_12820" width="260.142" height="156.833" x="-1.78" y="84.506" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
3761<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_17405_12820" stdDeviation="10.691"></feGaussianBlur></filter><filter id="filter4_f_17405_12820" width="331.413" height="210.731" x="-37.427" y="51.989" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_17405_12820" stdDeviation="21.381"></feGaussianBlur></filter><filter id="filter5_i_17405_12820" width="256.578" height="105.915" x="0" y="114.044" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1.782"></feOffset><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"></feColorMatrix><feBlend in2="shape" result="effect1_innerShadow_17405_12820"></feBlend></filter><filter id="filter6_f_17405_12820" width="313.595" height="180.852" x="-28.508" y="67.617" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_17405_12820" stdDeviation="7.127"></feGaussianBlur></filter><linearGradient id="paint0_linear_17405_12820" x1="55.236" x2="55.236" y1="219.959" y2="48.907" gradientUnits="userSpaceOnUse"><stop offset=".281" stop-color="#EEF0F1"></stop><stop offset=".781" stop-color="#F9FAFA"></stop></linearGradient><linearGradient id="paint1_linear_17405_12820" x1="201.35" x2="201.35" y1="219.959" y2="48.907" gradientUnits="userSpaceOnUse"><stop offset=".281" stop-color="#EEF0F1"></stop><stop offset=".781" stop-color="#F9FAFA"></stop></linearGradient><linearGradient id="paint2_linear_17405_12820" x1="128.289" x2="128.289" y1="109.487" y2="219.959" gradientUnits="userSpaceOnUse"><stop offset=".323" stop-color="#FAFAFB"></stop><stop offset="1" stop-color="#EEF0F1"></stop></linearGradient><linearGradient id="paint3_linear_17405_12820" x1="128.289" x2="128.289" y1="83.162" y2="219.96" gradientUnits="userSpaceOnUse"><stop stop-color="#F9FAFA"></stop><stop offset=".693" stop-color="#EEF0F1"></stop></linearGradient></defs>',3)])])}const cK={render:lK},uK={class:"absolute inset-x-0 top-[32%] z-40 -translate-y-1/2"},dK={class:"motion-safe:animate-breathe"},fK={class:"absolute inset-x-0 top-[80%] z-40 flex -translate-y-1/2 justify-center"},pK={__name:"SecretOfferPaywallHero",props:{discount:{type:Number,default:70},seconds:{type:Number,default:600}},setup(n){const e=me(!1);return br(()=>{requestAnimationFrame(()=>requestAnimationFrame(()=>{e.value=!0}))}),(r,o)=>(Y(),se("div",{class:Le(["relative mx-auto w-[18.75rem] max-w-full transition-all duration-700 ease-out",e.value?"translate-y-0 opacity-100":"translate-y-4 opacity-0"])},[ge(Q(sK),{class:"w-full"}),ge(Q(cK),{class:"absolute inset-x-0 top-0 z-20 mx-auto w-[84.8%]"}),o[0]||(o[0]=U("div",{class:"pointer-events-none absolute inset-0 top-[32%] z-30 h-[68%] bg-gradient-to-b from-primary/0 via-primary via-70% to-primary"},null,-1)),U("div",uK,[U("div",dK,[ge(VC,{discount:n.discount,size:"sm","show-eyebrow":!1,"count-up":"",play:e.value},null,8,["discount","play"])])]),U("div",fK,[ge(NC,{seconds:n.seconds,size:"md","animate-tick":""},null,8,["seconds"])])],2))}},hK=()=>{const n=st(),e=z(()=>{if(n.userConfig===null)return null;const a=n.getParameter(qf.PRODUCT_HUNT_SETTINGS);if(!a)return null;try{return typeof a=="string"?JSON.parse(a):a}catch{return null}}),r=z(()=>e.value?.ph_top_banner??!1),o=z(()=>e.value?.ph_paywall_banner??!1),i=z(()=>e.value?.ph_pricing_banner??!1),s=z(()=>e.value?.ph_floating_banner??!1);return{isTopBannerEnabled:r,isPaywallBannerEnabled:o,isPricingBannerEnabled:i,isFloatingBannerEnabled:s}},mK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"};function _K(n,e){return Y(),se("svg",mK,[...e[0]||(e[0]=[U("g",{"clip-path":"url(#clip0_16108_69876)"},[U("path",{fill:"inherit",d:"M11.337 7H8.499v3h2.838a1.5 1.5 0 0 0 0-3M10 0C4.477 0 0 4.477 0 10s4.477 10 10 10 10-4.477 10-10S15.523 0 10 0m1.337 12H8.499v3H6.501V5h4.837a3.5 3.5 0 1 1-.001 7"})],-1),U("defs",null,[U("clipPath",{id:"clip0_16108_69876"},[U("path",{fill:"currentColor",d:"M0 0h20v20H0z"})])],-1)])])}const gK={render:_K},yK={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",fill:"none"};function vK(n,e){return Y(),se("svg",yK,[...e[0]||(e[0]=[eg('<path fill="#4AA181" stroke="#4AA181" stroke-width=".395" d="M7.44.957 1.914 3.398a1.38 1.38 0 0 0-.822 1.256v3.69c0 1.648.443 3.257 1.218 4.667 1.577 2.154 3.835 3.222 5.986 3.222 2.152 0 4.206-1.069 5.387-3.21a9.7 9.7 0 0 0 1.225-4.679v-3.69a1.38 1.38 0 0 0-.822-1.256L8.56.957zm0 0h.001m-.001 0h.001m0 0c.351-.158.758-.159 1.119 0z"></path><g clip-path="url(#clip0_4468_39876)"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.184" d="M10.634 6.563 7.016 10.18 5.37 8.536"></path></g><defs><clipPath id="clip0_4468_39876"><path fill="#fff" d="M4.055 4.586h7.895v7.895H4.055z"></path></clipPath></defs>',3)])])}const b1={render:vK},T1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAoCAYAAABHJVyTAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAR2SURBVHgB7VpNSFRRFD5vHNTKbJygGrOSIhdikEUQCFIbBTe1aDEtdeHCWrhwFwS5lnIRBUHarglcZAtBlxoiJNnCDPwJxZ+poXT8F1Ff77vP83zv+sbmPduk94PLfff/nu9+59yrjEY2xONzhTpttOqadpV0PUQHGZqWJJ3eByjjSSSSN25V8wfI2NI2Bz5PrIY6vi7Tj/lNOsjIyQpQTVkuFZ3OTAb0YCmTEuQOW/rGs5HEeujhuwQdFnSPrtDz6KnQ9XPZrUbxNuoCVqtGd1/3ztNhQ8fgMukaXeVywN64tKbTYYMIDTpZ8TJACg4oQiQoQiQoQiQoQiQoQiQoQiQoQiQoQiQEaR94VX2Ris8e3VXf3DlD9ZX5rmMa3o5T39gSFeRlUuxBEe0HbZ9+G2vFxXesrogKwpmu/YamV6i29TulA98KgUEVJSHKzc7A09dKqK8pPy1yt7b6yogYjxxlezv6u41zS2KuigjduxGmpvsX6OalHMc4tPP8DbEJShe+FcKGNbZPGic1a9V/fFRCxflHxHdLd4Kau+JWW6zusrHx44YRJ0Waml2nqqffaGHV/FcDjMJJdw0m/2oE922KFooy5oq+HBY59gayuI7nTwe+FALm2SAmg0mAjFOB5f34ToHI+8YW99ysuU54V0I93K4hNi762cmoKT/lIAO5F/hSCKsDBgE4LdRFX4xQS09CbCr3SIbVH66FU4cRGAOVAKweGGlXGQMxgRVgx9DMiliLx2BeGI5DAtkgufbNmGcyAF8K2W3QSVGHk8Nm4Cp2gBz0AVhByLFhjOH5ZAzNrBqGDzsSiC3OPyoCujnPrJgHCm2KXhB1UM7Q9Cr5gWdCYBhOjg2CsQV5WdQ3umTcONuxoyfhMi7sMICJYbW5AeSaqtpJ7GJY036rQIX2MX7h2WXgnwCrABuAr9phbmrRUQcVwLWw2eauGevqBcGp4g4HThl2l8DNsrC2KdQKgjAfgjdcykswZXgihNUBNUDOZl3Y0QdSRRsCqOwKHGfY9/dSByCIHd192o0fJsU64i1jENbWb75HGtunhErhUoglXq5bhmdCgLb+X1aZ/ZYBZcBoN9naVbJX7GCIGCKpj8Fk4IBYtSAFa0Mh2BsIBUlekDYhMATJ3EzW9qPIJAiL4jWIE4eRHOnNccet2AKgD04dhiChH9oxH8cELu8FVitcF9/oL9zHmA/qgUpw2wl36ozTPyeEjWejGFic4wliAQjARtyAGwLBj5XBxGDzSAy5nApYD4eBHGpxWxdEud18qZA2IVjULfhNze3c9V2D8+JqTAX0tW8MZfG89gl2S3Yt8XTfJ9ImJJ2rLJ0rT34s+Xk8ucHvu0OG+vNfgiJEgiJEgiJEgiJEgiJEgiJEgiJEgv0HM8kzuft/6f1vyMnSHGWLEE2nL1VXjtFhQ03ZCeM/81vtXLb96C5euKUFB4Z/rodaeucP/K+JzpzIoKqSY3TtfHYyoG+URiKRcdQ79AJSdAq2GlTcooMOI0TAKzTaqGYygD/qR1hel811oAAAAABJRU5ErkJggg==",A1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPnSURBVHgB7Vp/ThpBFH6zaFq0iaSJtFr/wBNIT6CeADyBcALlBOIJxBOAJ1BPoDcATyD+YWhrW2hixSIwnW/iI7Pr6s5iawvLl0x2mV8775tv3pthV5BCo9FMSeqWpRBpkjJB4wpJNSnk/tJCssJZAsb3Ra86HYsl4jOvKCYEjSt+dbp0074lZWJp8f18AXnisvG1HIuJ3Lv5txQFgIDWj2uajsmPyWSy5pCQ2TezcYoKZuKvyXEc6vScNH47al0kxBjL3g8wV5BM4d6hiGNCAEUcEwIo4pgQQM9Aq9WiQqFA6+vrNKp4FgEwvlQqUSqV8i2vVCqEPYY3LS8va9IODg7on+OycSV/3rRlWJyfn0vVXCrj9b0fyuWyrsP1kBKJxCAPqVgsypfGpy/fpLK7CPtDKQCSPz09Hfze29ujk5MTqtfrVKvVHm0HhSiSdGo2m/q6vb2tyxQBrj5fHDYKUIOWa2trg1nDLOZyOVce+aiBFYB8P6TTaV2uyHjwPEWsTrg3gf6RvPncjsttFWBFQDabdRn6VILRtgSARJTjysZ5SeVyNpjL/ZYOiEQZxmtLQOASgDyPjo7IBjs7O6QGS7bAkjIBx4jnKWXoJYKE5QNnurGxoeso4wbj8hsrkMlkyBpBCgDTZDn7Xuk9pQB2onSvGsid65ry5nwk5CP5PY/7w/IMgqmAKfqDeCwcYqYxi4yzs7PBb7Rh1aixPWirJO/qB/WRh9k+Pj6mra0tXYZ7gBVii0ACFKNkCwzKHDADA8/n8w/yUVfNvqse9gaIKLhHQoTxAkbz0mQCeJlubm5SGAQSsLKyQraAkQiLXiWARA57wNzcnF7nJlkwFD4AV9RHH7iijqkeAHkoAwlMFO5ZHaFgEwW8m5enkrneg6KACY4I8ODeEEc+a549viJn8ByOJmF8gNVGyJy9IISegXuw1Hl2GY9FIPb0UAev/7Dy17DdCGEWyWL2w2yETHC0QV14fvSjzhku9XmjDMq43OYZfgqwPgtUq1XXYMyHczo8PHS1CUOAH8no3zxPeAkwQ3SYM8VQYRBOS5GgvfTq6upA6vDYkKCZx2AvbxNJUAdnBEj64uJCO0qER7Ottx+MiTGU/IFhT4P/A9hxYnscBn9tI/RS2N3d1U6Tw+PQsw+MogLI8BHqSC7DYuQVgM2WuVl6DkaSgGH3Gn6Y/CtMEceEAIo4HPWivCV9/ogYZ8BcIUn/H+eom1r7tkNRAT6R6ff76gVNVx8zpwR18507qn6++p6YnY2P9UdSd3c9ur5pU1/K/Q+LC3XkaWsbjUaqR7Giem2VwSczNKZQL+bqMH5pcb7Eeb8BPDtA9g4ejrMAAAAASUVORK5CYII=",I1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARHSURBVHgB7VjNT1NZFD/39dEBlJlXM5mkm0nJLGYyi5k2bFyYUGLcmQBxoyvowo1uYOHOBHClq8IfYAoLdxpgqS6ARBPdWFZGVxSjdqGRYgiG0r7r/R04z9eG0lK/+/pLbu+7p/fjnN/5eB+KDPL5jZimUkYrFSetHWplKFUgTQsWhaai0UhOwXhXlbPhDts51vULhUIhamW4rqb3W9tUKpcKlrYTtqtL6Q7bdn4/8RsFBZ2dYXr7btPZLe5mLFI01HO8i4KGbhPtWlHcwsCyLAoabKS6Jid4llehTQAFHG0CKOBoE0ABR5sACjjaBDQyqbe3l1sikaDh4WHK5XIsRw/5wsICFQoFGhgYMG+bimVzc3Pe+uXlZV6H9ZiDMePFU3JvXCD38v977eYVorcvea/qPQDsgfWLi4ueTmiyp388Pj7eiGmNEQBDY7EYDQ0N0erqaoVy+G9zc5OmpqZYiXQ6TclkkjY2Nvh/yKEQ1kHuOA6trKywoTCenj0i2n6/1x7cZplT2uLzZmdnK3QA0SMjI7w3xtBndHSUe5kzODjIa6enp/nsuniVf6N3dor6MJhpenJy0hsbQ7QxRGezWf7PKKqNIiwzynnzcA2ZUahCvra2psvXz+vyaOzA5t66pufn53nvpaUlXoPzMcbaTCbjXQswzz8fZxpiatoEm2F7UzUAXkCYSioAYB4yhDmYxzU8jd4ozJ4XxP44sef5GtAPb1dGiwGiAd6GdwUI81QqRTMzM55sfX2dI1Gith6aIiASiXAP4wQIQ+MRVhzKgghJgyPDpAOMHxsb41AWg0D8QfDrgTVIOegzMTFR96imCEAuAvF4vEIJMA5v42AoLF4XL3ro/pXoz39rH/D3Se4kquBp7A1y/UC9kfMEci0RVA82NQgYhEKG4gcP4yD/AcJ6f38/V2lRAg1ehAHwoOfNMynSqPoHQJ06xz0IxnqsgaHVgD7+NJQ1iAJTM7yCeCgaLYLSUNSM8V4xo/0iCJl/nsxB8UOB9P8nBdWdT+vypf8+FUBz7d69WXG2FEN/wZMiKA0Fz18EcSZkhoy6RVDhBx9Ew+EOOsz7Anjd73kJdTSEK7wCL1SHn3gLHvGnDt/+zPMA9/+c3EsPH7AnIkBudSLz5z2Afat1QavWV1As7uLDKDVEQCtCCGg/ClPAEXgCGr4NtgzME6h+/pjc12vm7epqAAjYv8u4T+4TmUdsHgO9fdy1JgEw8sk9ch/e+XSLrYHWIcC8XmtjtM7eP/RFqxo/Nw
3761H7+QzD2dNN4OcioFY+fwZ+fAIknyW0v4DRfvyYBDSZz83AJkWFUrnshOk7vwt8gXw+CtyuHu5tpWl1+8NOsrurk74pvkI+HwVbpy+al2d3UeXz+Zir7GxHKOT0HD9GlqXoqwJfgxHWMPwbGw2UI1H60HeWin/1FSxdSrC1IEGTja8MSWp1mJRH1CsqpaLRaO4jv2BylbLAoQMAAAAASUVORK5CYII=",S1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAAoCAYAAABU8hxnAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAi6SURBVHgB5VprbBTXFT53dtZe27v22nXWXguoXQxSRVWbRsmPYIRRUkz6DE8FUWGI5D5IGiBqkwqpMkRqqrRN3aYNaWUJ26hVKyjUkVCNkx+Bpm6VSuB1JPojbGqnBe9iSL2Od9f7mJnbc+7uLPv0ziRAjP1J4zv3zr3XO99859xzHww+Iny+G+2cQSvebgDOWvHeCZw7YQGCAZsA4BMaB48E7EJDQ+0gfEQwM5XHx6edNptyQGPsoE6OJDG8LCDL+FOYBAsNnGugIVOKoohUgLEAcBiUgA+43fedN9GdMcKyibLKMthsJVBaYoUSvO4VqKoG0VgMwnNRiMXioowxGGRcPuR2V08Y6aMoYcL0gPVx4I1ETqW9/J4iqRCIvNlgGMmLiDzaxhFU29Fi7eYlzOf7oBsFfcRikaDKYReqWmwg4qZnZhOKIx/H5C3zqa0gYdd8N/uwh72kphpnpfBVixmkNrqQkgkJLBsLkZaXhUn/jR7O4aC93AaVlXZYKiDzDMwEYT7ScoY1MsOlSBahvMwGzip6Z96oceXPNNhl18kgjBw8+SwaBZcaWTqItMrKCrK91tIypTv7ecokic1SmzoqWVhjbY0TyNEvZfwv8CFEIjHQADYuT4vVUqzYbNoBCh0cGDYsdbIIzkoHDnQSEsT60suFwny+6UYO6pukrrr7asAsVL8PoiMXgAdnE53aHSCvXA0lrV+Aexn6yIlC2rfM7eqnMpn+qBBvx/kWqqvCVIcxzyUIn+iF2NjFvM8t9W6o2NMFto6vFO3reP+JnDKH3Q7NzSthbWsLfBKoKC+DUDgCXNM6MdtPZUJhk76b42bVFRrohRCSZegfI2kVnV3z1lm/8ZGCz+rr6+FXPT8T6d2GrjLdl8lXr061ku8qKy013Ekhsix1DSJVr0+myiRUma3jy2AEdlTU009+J5UPBkMwNDwMV7zvwXcPfQ/6en8j6txN6NNACbR2TM7LYBFLNOj0jRFG/iqbrPJtj0M5qkhC30XQ0JfNnfkjzA2fheqXXkXTbDDUN5Hx6OaOjLId27fC4R92w1t/G4GTfzoDT+zdA3cTtMBAzh8XPTZQXmKcfZ1uZNliqANl9FsgVcVSefuTz4B9/zMpskSneE9mWPv71wyTNR8e7dgkUi8qLRs+/3VUYhDuJEhlybU/kHF5w0lkEYtFEXkfJOs5cOwugdDZFSB/FpW19XG409DNMBhKEOP3++H4wAlU3d9TZJF/e6JzDyp0k3j+wos/xbI6OPzcszn9UbtTp09Da0uLIcVaiBsOTp/P14ijJGtkkrG4i8+OiZQU5tjtBcuah3PqHHsjBsEIL9jH/i+WgN1mbiJPL0egFyQyyJ9R6kiaMJFGJvvCiz8B/3U/7EPiqGzo3BiqsyNnlKX+Rj1jop4RWK0J67NYLE4ZTEBLEqZDcq/LqTPyrgL+mcKEdbTI0LIiv/knXnI4LR+Ct0ZGxMu5UUFfQvWQkshEibCnn9qfUh/l93V9W4QnO7Zthc1I1BXvMUFkOmFUT+/PbLgSVZk5wnKgBNCob98yPhFGppQNerHDz30/FVboZkT1yYcR3EkiT50+A39FkyNy+9Bsh4ZfF/V1YsmUCUbVlQ1ThDHbpzPyk4Er0FD7QEbZyjoL1FXdUlgoooF3ioMRZIcVhPo8SvB6vfDyK68KpaS3TQ856J6URqSlj66jnncS5G7eBEahpf18WeM8oKqqoYaS62ug/gtHJq0cfhRcCw3/fhu6swh7fntmeHLsjSgSpqTyK12F/WW+sCIbug8jdRGR+ghK5HnG3smou3P71gyVDZ17XbTX2xgFRvoilUHBdTLGx2iZVksWzgs0P6/jq/DUzENwKf4pODt+Hs5OvFmwuj/A0afd+hjku8w6/GyQWogseumXe14SBNN1+AfPot/KJEJ8gKS/I0L1wcNsLBdXVJoTBdxu9wSuPDNPqtAAwk3PC4XpOPr2K3D0n7+GydBUqmw2HhJkHjgzmjEAdHz+47lMgh5GrG9ry3lGSsqGrtgf4whKMwYi0OwUKx6Po65A8CQzrgxykHuikaiIaovhftca6FqzE3ovn0yVCaXh1VDhEvnZWEiQBjiXL61+DEqnt8C2B+XbQlhzczMAEtM3MACrmj8jXl6PuyjNBpktXbq/K2by2YihkMgCERfoj0Qyo92SMBJmFN/83E5BWjZIZXQJspKI1gzCg/f/A/a03Z4dJxr9VuEKBqllx65vwM5du0XqTaonH8j5E1Yh2WZDiXBoTqRWCxe75YlPzuA13BVujeJWU6nBPUcirX3ZA/DzS/1w8cblvHUc1grownq7Vj9StD8a5o1MrKnO8d7fCgdOE3NC27p1wsFTiEGKI0LT4X0vMaXSiTMD2vhFfjwul0uYpPDAtDxdUqaMl1itztqaKjCLd6cn4OLUZaEsuhrKXbC6ulGY70IAKZBe9OQffmeqnb6LlL6AmMI1340jePFQeI4vJvxlaJi3tT/MT546baodDoLcP/UBv+abGk/nKRUUxSLyLxjwiQ9nQ6CoBkKMewR6ZL++7SEzzXA0Dgtnr3LpUHp5irCmpuqACmwfnXAJzMzCYkB6oGomlNDPXGBQ/8sVWUejcqLI/6JpIovddlzPFvtzSwx0sichGD4Ri4TWNjU1BdKf5w27r/qm+nFTpHOpkZZOlgTqRhFyZaHgPEUnjVYbnVW4bbbI9ypvHUYpTBZh3omdbp60sUsbvLSNvthAA1wgddyJeySmbilEFqHoTPg/kzcfk5nWw4EtqgN1NLhhCJVUFQgHv7zBdbBYO0NLB7SWrXDrQdwxOUB5UlxFRRnYkDhZ/vjzw7sFChPmolFxZiJ1ZBO3zjQLP7QsGckXg6m1FkEcyHstwDtJcVRGB+2INEoX4qFgghJXQNXUtEPBEEDzG9SADSy/E4eC8+Hq1FSrpLF2vN2Ae3aNGNE10s4KLECIY+eMe1SNv49fdVCJBD3Z4YJR/B//gOjMTHeT9gAAAABJRU5ErkJggg==",P1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAP1SURBVHgB7ZpdaFtlGMf/78nJSdom9aRWZ1RYrCgbiG2pjiljbS92MdGtt+KEDQRvFNsL75R24KUwLwQRhHQbep2B4IVCo4KFyWjSm3WDrdlFl45l3Vm/tpycj73PgXRb1zQ7z8kGbfqDXLwn5HD+/+d53o8nR0BSLN5OubDSrhA9cF0d2xkhDLjIKAidTCYTBUHiHWFPaWFVb2uJIBQKYTvjOC4Wl1dh2ZahuGqv6rjWqbCq6p0dz6FZiEY1lBbu6BWzklYgMBSPtaDZaJXZ7gr0KDRQFAXNhkql7kJvPuXr2DEATY6Kp4CV/QdWPg87l1+7pqR2I9TdjfDAQQh9462GUXaQubaKfMmEYTreNV1T0NOpoT8ZRSre+Mdt6B3L42dRPn3GM6AWJD489BFaR7/1TCFyt0yMTC4ge/3epvcfeDmKdH9nQ40Qc8WbLu0BNC0MLk7hGpZPfLap8PWQ+NZT3+On1wcwLMX7YaxPx2hfsA2raVZoLxB8DiDxi4OHfImv/u7sj5P4LXMFfhm7YGDw93mvZIISyADXMDzxJMYvE+9+gtyeQ9h34zb2LizBL1QuIz4zZyMCGbAy8jVL/EzXe8juO7Y2PlC8hYjtP5rjl5dxWn6CwDaAhJvjZ8DhjwOfPzIm8d2lO+Aw/N9CoFJgG7B68jtwKLzyNoz4rseukwGcLKDl8pxcOrmwDbCyf4PDlKz7jSDxXYsr4JApPGMDaIPDqX1i/oWumt913jXBod7+YTNYBrgGr16J+edrGxA3LXCgMuDOA7wMYEa/HhHHBpfq1tkvLANEgt89ipZ5dV4POjNwYP1KlYcaLlGz9rpdikbAgcTrkWdoAO3ja53o6rFndrLmdyXZq+NAhyQu7GUwcvxTcNh7tbYBc8ze5NFUK7iwDdCOHgGH1Ny091nPTCKGRc3/MTcVU3H8zRi4sA1QZWMjOvwlOAz+/+sj4yUp/PyuDnAYfSfYsTjQYahl9Ju1poYfKAP2T2fWxudfTLCi/9Vb7YGiTwQygCbC9ok/WSYc/vdn9M78JSOfwMWOOPxCE99YX/B/8QI3REg8mUAl4Qcy79gX+3H4g9fgF4r8xIcvsZe+h2lIV7hqQlv6l7rZQMJbZD9Qn70EbeiIF8XZj199olSmqJPwH97nzRcbPk8jeoLrsXPTqMjTop1/0BX2mqH9B71MqbWHKCxZyBbvPdYV3t0uZ/o3Yg2JeJVqT/CpGLAVaFhTdKuzYwCanB0DIGBYNr8RsVWhV2UIRbjIrd4to9mg94TgOudEsVhMOUKdCodCejzWBkUR2M7YMttXZMDNSsVQXKvXU0smuFDTMikGsN2RJU9ZL2CdSCaThfvkz3gk8zQg1AAAAABJRU5ErkJggg==",R1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOoSURBVHgB7Zq/b9NAFMe/d7bTpk2EKUgoC2RgpukMgjIhJH6UiQ2KxAgSfwCIVjAiAYI97AwFNiYQGyxtGAAhAQWEggRqAwq0dex73DM/1JY2lZ/dSm36kU5xnDjx+/rd3buvrWCp16fLhLBKSlVA5GMjo1QDhHsazmiptHVScfBGReM5z/V7811wHAcbGWMI35s/EUZhQ5M74BoKr3uu62/v24JOobs7h69T3/xW0KpqKAwVC3l0Gj0220mhovmN1hqdhstdneB3XuSL2BQAHY6LVYAaDUQTzxHWava1Fu9Tvg+nsgfegQPQ5V3LHxvYafrDPZhpe5zdjo/tLUP19dtWgSqUkSWZCsCBz968hdkbt+Pt5WAhui+cR9fpU//2mc+PYWqj8Ws79O5hOP2XMxNCfap/Ia4BcjkPaeDAZ0autg18MZwJxYd3gW93EL24gSQ4lZFYCClB0OJaIBsBZkavxMEnRReAwuEWaD+BikgMdwn30COoXPLq/a8AqQdBafBMcbAFN09wnyr7Q0gMTU0genQCaUglgJl8Lw4+3x/B6aN4W2krwiuI4DEjenETUlIJ0DxzFhI49VmABfumbatDRFQbiWcP0blASPj4SdwkLA7+38m8VRBhgzfCLBALENx/ACneDrPkfj1H0E2IMG/uQIJYgJbw6nO/1wVa9nM1DRHUnBR1A7EAPABKULkVvjALMSxCUsQCJCl45uP0UtvPVQg5a5kBXNtLoKD9QEersjpZnjUXIFypj3dDDFeGSRELkBs6CgmmqWDaZAFthQy7OJKUxHIBjh+DlODN0n9L1po0BYjQOwYhQSyAO7g/bhKCj0v/bVSGGKciWxmmKoV7Ll+ChPCzwuzLhf
3761cf4qtfgog0/kAqATgD8kIRZmoOzI/fYwHZlXg4ABl24GNvQErq5XB+5GLs7iSFAuD7QxfRnIqDJ8nor8vwDo4hDZmYoj3Xr8kyYXsZdG4Mqn8YSVHbhuCdHE9tjWXmCnMm+O9eo2v41Irf5RqCBdsy/gzuvuO2VeHurcZXdCV4tGcXyDsyJpr2/juXrDzB+fA6gRdLkXWFwz+usGP9Pw6cp892swe7PMQG6ZQ9jmt7DtI2za7wzqHMzNBMPcH1SGae4HpnUwB0OJsCQKERRhE6DX5UhtGKMPFzZg6dBj8nBDL3Vb1eLxvljnuO4xcLvdBaaE2vEyKb7T/sBQ9arYamcCCOlkWw92aqNikGsdGxXZ6z3q5AzpRKpclfLSJt+bzDhNAAAAAASUVORK5CYII=",C1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL5SURBVHgB7ZpNaxNBGMf/M7t56cu229QgaXwpvrVaDw2KVC+KV1+oX8AqeNF+AfGmZ0G/QUAvHgoqeLVn9VLRQ2OLULTpHrQ1TdLWJJsdZ6oUs1nNpjATyOYHIZnNDuH5z/955iVLwLGsH8MMdpoRMg7GTLQzhOTA8IJCu59IDCwREbxDqnPhkG72dEWgaRraGcdhyBc3YVftHGV6SneY/Sik6+aeWD+CQjQaxve1dbNSrqQpCCaN3i4EjW7udkYwTkWDUoqgoYtUZzCDF7mLjgAIOIEXQIdCnr96g6y1+s/v+4xuJBMxjB7dj+RQDCpQJkBmYRn3Hjz1ff+1yxOYvnVJuhDKUiC7stbU/cItU7cfI1/YgkyUCTC/+BXNItLlybNZyESZAJ94CuyGzOLu+vlFWQ3IF+ut7JSLfHNSqbtOCB8X/iI0hILkFFBaBGtgDuzSesN+X+wyMt82MBrvgQyUpIAYRXcxY47tq6/VE8fUzAfkS/7ubxYlAsx75DFzyg37EaMfdPgICjz42c+rkIESATILXgJUG/bTRsZ2PmfzPyEDJQJkV+pHj1Ur/+0jgtdOnd1py6oBSoqg11TGmLcDSCQKejIF/fS5muvJvihkoESArOVaBfIZgMRiIOHIdpNE+Hs4CjIYBz029rv9FyL40XgvZCBdADED1KWAYSB09Qr8Mj1xALKQXgO8ZgAy4P/k/XoqickTeyEL+Q7Ie6zkzIFG3dAX0XFn4iAXYAgykS6A5ybIwwFipEf+VPrjPN9lVX030gXw3AT11gd39/whtALpNaBuBhC4UkDVaHuhQADXDOBhf5HvrUL6L799/bCm/W45hxszH2uutbUD3IitrRtZixw/KPfemX1mzcLG4Pa/eHgQrUK5AMLurbS8m84/Qwg4HQFAkLOrjU9n2g3xqIyAEob3m1slBA3xnBA/l3hJLMsadog+F9I00+BrdEoJ2pkqd/sGH/BypZKjzE5tRytEYNDT3BQX0O7wlBeuJ7BvJhKJpV9+nvLnx4qhMgAAAABJRU5ErkJggg==",O1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARuSURBVHgB7ZpbaBRXGMe/mZ1crGZ3W0qTtU2apySQrSiYQFKEXmwboaWhLc2LfZCCUH3oi9A+FKHSliJBUVDBgBHNgwGRCEK8xRc1ghtQdINRX7zFNSq6u16TvYznP+uZ/WYm6t5ezOwPQuZy5pzz/b/LObO7CgkikYeNOiX7dUVZTLrup7mMokRJpyGVPH8HAu9eU2B8Wkmdq6zQ/PPnVZHH46G5TDqtU/zxU0qmklFV15ZoaT25uULT/O+/5yO3UF1dSfcfxPyJmUS/Sgp11yyYR27jHRHtukKLVZyoqkpuQ0Oq6+R3n+U2ygKQyykLQC6nLAC5HNcLoFGe3LwdpZuTccf1+g+9VL/Q+R41GrphaeOrqabwxF3zWmdbg3kcf/TcuBeeuCOOp8lbUyXuN1Kw5QNHv2iH9q8bOxfyFgATwwT7BkJCiJh5HYaFjqwhr7favAbjf1g1YJ6Hjq6lfQcv0Pr/jxvnrS21NLL/V+N458BZ6t1+iuLx544x8Vz9wuy7Su/2k8afZPXKdtrw53IqhLxToLW5llb/0i6MXUu7t/5kXo8JbwyfuGJpOyiMlaz4oskw4gyLiKAQAMAYiDKb8RCWG2/vF4Qv36FCyTsCOF3CKISwDPNxFtpIlcGh7ER//n5R5vpk1LzWuTQT/twgeLPryyaz7fjlu5Yx0SePPPu4+VKUAACTlQJwT4ye5bnvoxWincxxSWtLnRAqZjGoQwhq1gVWHyR9IlV4v3g29rLf2WrFmyh6FQg215rH3BO9O7I5uu63Zcb/sM1TmLBPFDrO+o3HLJHDGRcCyz56uhcJoT5mYxeWBkULgEnIwgdPwKOICO7VzvbMRHmESC97RY6vW7PMvI7nfv/rELV9s81II87OvWPmcdfnTSKCsh4vNA1Ksg/4lIVq+NKUJafhKVnELAWwuc48hgD4Q0hLIMTyH3eZIvCaIlOKj3t67DoVQkkE6GATOTN2wxLCPS+LHwhPTM36DIAAB/pXGoJJEFF9ezJe5zVFhj5f+2/ZCmOulDwC9jHvw1My1DMbqBi759y4IFK2/POtpZjFHmeWRl5TIHBd8D9q6tiUbWcrsLlS9CoAWkU4ow5gHedruSx+gOco1nYYCVGw+cEe4SPhTZ+3SrSbsu4UlzY4asqrQCHMdyUoiQAAUTA8Yt0IyeIHRkPZHJXFC6LAm6+q+kYEiT74rg+bJ178IIxchkdF+vEUyoWSCdBhE4AXP8DzX+YwF8UOUmfLv98RPrnkAm344yvL+wNWnbavtznGyBVlMnJPx3cClZUVVAzY5AyPXDXPO9sbLAIcFtvkWHzacQ/eky8/AC9AQbFBkkba++3p/sQx9uDQxdfen42ZmQS+GyidAG8bUoDyByLkcsoCkMspC0AupywAuRz8QCKaTKXIbeCnMkBVdDr/9Nk0uQ38Toj09EElEok0phXtXIXH469ZMJ9UVaG5TEpE+xPh8JlEIqrqySWGtRBBJ61fBMVnNNcRKY+oVyi5KhAIXHsBU7f6dAI1KdYAAAAASUVORK5CYII=",EK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"};function wK(n,e){return Y(),se("svg",EK,[...e[0]||(e[0]=[U("path",{fill:"inherit",d:"M14.333 1.667a4 4 0 0 1 4 3.999v8.667a4 4 0 0 1-4 4H5.666a4 4 0 0 1-3.999-4V5.666a4 4 0 0 1 3.999-3.999zM7.469 13.105a.605.605 0 0 0-.217 1.094 4.96 4.96 0 0 0 5.502 0 .605.605 0 0 0-.218-1.09.6.6 0 0 0-.452.085 3.75 3.75 0 0 1-4.162 0 .6.6 0 0 0-.453-.09m2.535-7.55a.557.557 0 0 0-.558.557v5.204a.558.558 0 0 0 1.116 0V6.112a.557.557 0 0 0-.558-.556m-3.722.5a.557.557 0 0 0-.556.558v4.204a.557.557 0 0 0 1.114 0V6.613a.56.56 0 0 0-.558-.557m7.394 0a.557.557 0 0 0-.557.558v4.204a.557.557 0 0 0 1.114 0V6.613a.56.56 0 0 0-.557-.557m-5.557.616a.56.56 0 0 0-.557.558V10.2a.559.559 0 0 0 1.115 0V7.23a.56.56 0 0 0-.558-.558m3.72 0a.56.56 0 0 0-.557.558V10.2a.559.559 0 1 0 1.116 0V7.23a.56.56 0 0 0-.558-.558m-7.393.743a.56.56 0 0 0-.557.558v1.487a.558.558 0 0 0 1.115 0V7.972a.56.56 0 0 0-.558-.558m11.067 0a.56.56 0 0 0-.558.558v1.487a.558.558 0 0 0 1.114 0V7.972a.557.557 0 0 0-.556-.558"},null,-1)])])}const bK={render:wK},TK={class:"flex w-full items-center justify-center gap-1"},AK={class:"label-l truncate text-negative"},IK={class:"label-s text-negative"},SK={__name:"PaywallMobileHero",setup(n){const{t:e}=Jt(),r=d=>`components.molecules.paywall.mobileHero.${d}`,o=me(null),i=me(null),s=me(null),a=me(!1);let l=null;const c=()=>{const d=o.value,p=i.value,h=s.value,m=h?.firstElementChild;if(!d||!p||!h||!m)return;const g=getComputedStyle(d),v=parseFloat(g.paddingTop)+parseFloat(g.paddingBottom),w=parseFloat(getComputedStyle(h).rowGap)||0,I=m.getBoundingClientRect().height,b=p.getBoundingClientRect().height-h.getBoundingClientRect().height,E=v+b+I*2+w;a.value=d.clientHeight>=E};br(()=>{typeof ResizeObserver>"u"||(l=new ResizeObserver(c),o.value&&l.observe(o.value),s.value&&l.observe(s.value),
3761c())}),Hi(()=>{l?.disconnect(),l=null});const u=z(()=>{const d=[{icon:P_,label:e(r("unlimitedTranscript"))},{icon:R_,label:e(r("advancedAiChat"))},{icon:S_,label:e(r("instantAiSummaries"))}];return a.value?[{icon:P_,label:e(r("unlimitedTranscript"))},{icon:SC,label:e(r("languages"))},{icon:R_,label:e(r("advancedAiChat"))},{icon:S_,label:e(r("instantAiSummaries"))},{icon:RC,label:e(r("advancedExport"))},{icon:PC,label:e(r("meetingAiNotetaker"))}]:d});return(d,p)=>(Y(),se("div",{ref_key:"heroRef",ref:o,class:"flex min-h-0 w-full flex-grow flex-col items-center justify-center overflow-clip px-4 py-5",style:{background:"radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #374FC7 0%, #131853 100%)"}},[U("div",{ref_key:"contentRef",ref:i,class:"flex w-full flex-col gap-3"},[U("div",TK,[ge(Q(bK),{class:"h-5 w-5 fill-icon-white"}),U("p",AK,pe(Q(e)("components.molecules.paywall.mobileHero.title")),1)]),U("div",{ref_key:"gridRef",ref:s,class:"grid w-full grid-cols-3 items-stretch gap-1"},[(Y(!0),se(We,null,Eo(u.value,(h,m)=>(Y(),se("div",{key:m,class:"flex min-h-[86px] min-w-0 flex-col items-start gap-1.5 rounded-xl border border-white/[0.06] bg-white/[0.04] p-2.5"},[(Y(),Xe(Va(h.icon),{class:"h-5 w-5 fill-icon-white stroke-icon-white"})),U("p",IK,pe(h.label),1)]))),128))],512)],512)],512))}},PK={key:0,class:"absolute -top-2.5 left-1/2 -translate-x-1/2 rounded-xl bg-gradient-to-b from-[#3985ED] to-[#1967D2] px-2.5"},RK={class:"text-[0.6875rem]/5 font-semibold uppercase text-negative"},CK={class:"flex w-full flex-1 flex-col items-center gap-2"},OK={key:0,class:"w-fit rounded-full bg-[#0B8668] px-2 py-1"},kK={class:"subheading-xs text-center text-negative"},LK={class:"flex flex-col items-center"},DK={class:"absolute -top-2.5 left-8 rounded-b-xl bg-gradient-to-b from-[#3985ED] to-[#1967D2] px-2.5 py-0"},xK={class:"text-[0.6875rem]/5 font-semibold text-negative"},NK={class:"flex min-h-[3.25rem] min-w-0 flex-1 flex-col items-start justify-center gap-2"},VK={key:0,class:"w-fit rounded-full bg-[#0B8668] px-2 py-1"},MK={class:"subheading-xs text-negative"},FK={class:"flex items-center justify-end gap-2.5"},UK={class:"absolute -top-2.5 left-8 rounded-b-xl bg-gradient-to-b from-[#3985ED] to-[#1967D2] px-2.5 py-0"},BK={class:"text-[0.6875rem]/5 font-semibold text-negative"},jK={class:"flex h-full w-full flex-row flex-nowrap items-stretch justify-between px-4 py-5"},$K={class:"flex flex-col"},zK={class:"mt-0.5 flex items-center gap-1.5"},HK={class:"flex flex-col justify-start"},qK={class:"flex items-center justify-end gap-1.5"},GK={class:"flex items-center justify-end gap-1"},WK={key:0,class:"ml-auto w-fit rounded-full bg-[#0B8668] px-2 py-1"},KK={class:"subheading-xs text-center text-negative"},YK={key:0},k1={__name:"PaywallProductBox",props:{product:{type:Object,required:!0},discount:{type:Object,required:!1,default:null},selectProduct:{type:Function,required:!0},isSelected:Boolean,isMostPopular:Boolean,saveBadge:{type:String,required:!1,default:null},showNonDiscountedPerDayPrice:{type:Boolean,default:!1},showDiscountAmount:{type:Boolean,default:!1},layout:{type:String,default:""},isMobile:{type:Boolean,default:!1}},setup(n){const{t:e}=Jt(),r=n,o=wr(),i=z(()=>b0(r.layout)),s=z(()=>r.layout===dc.SAFE),a=b=>{if(!b)return"";let{interval:E,interval_count:P}=b;E==="year"&&P===1&&(P=12,E="month");const D=E,V=e(P===1?`common.${D}`:`common.${D}s`);return`${P} ${V}`},l=b=>{const E=Os(b,o.currentCurrency);return Wa.includes(o.currentCurrency)?`${o.currencySymbol}${E.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`:`${o.currencySymbol}${E.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`},c=z(()=>l(r.product.unit_amount)),u=z(()=>r.product.unit_amount*(r.discount?1-r.discount.amount/100:1)),d=z(()=>l(u.value)),p=z(()=>{if(!r.discount)return null;const b=r.product.unit_amount-u.value,E=Os(b,o.currentCurrency),P=Math.ceil(E);return`${o.currencySymbol}${P.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`}),h=z(()=>r.showDiscountAmount&&r.discount?e("components.molecules.paywallCards.saveAmount",{amount:p.value}):r.saveBadge?e("components.molecules.paywallCards.save",{percentage:r.saveBadge}):null),m=z(()=>r.showDiscountAmount?!!r.discount:!!r.saveBadge),g=z(()=>e("components.molecules.paywallCards.planDuration",{duration:a(r.product.recurring)})),v=z(()=>r.discount?e("components.molecules.paywallCards.saveAmount",{amount:p.value}):null),w=b=>{const E=Math.round(b*100);if(E%10===9)return E/100;let D=Math.floor(E/10)*10+9;if(D>=E&&(D-=10),E<10&&E>0)return .01;const V=D/100;return V<0?parseFloat(b.toFixed(2)):V},I=(b,E="string")=>{const P=!b&&r.discount?r.product.unit_amount/100:u.value/100,D=r.product.recurring?.interval,V=r.product.recurring?.interval_count,S=(D==="week"?7:D==="month"?30:D==="year"?365:1)*(V||1),C=P/S;return l(w(C)*100)};return(b,E)=>i.value&&r.isMobile?(Y(),se("div",{key:0,class:Le(["relative flex min-h-[154px] flex-1 cursor-pointer flex-col items-center gap-2.5 rounded-xl border px-3 py-4 transition-colors",r.isSelected?"border-[#0B8668] bg-[#0B8668]/10":"border-primary bg-primary"]),onClick:E[0]||(E[0]=(...P)=>r.selectProduct&&r.selectProduct(...P))},[r.isMostPopular?(Y(),se("div",PK,[U("p",RK,pe(b.$t("components.molecules.paywallCards.popular")),1)])):Ue("",!0),U("div",CK,[U("p",{class:Le(["label-s flex-1 text-center",r.isSelected?"text-primary":"text-secondary"])}
3761,pe(g.value),3),r.discount?(Y(),se("div",OK,[U("p",kK,pe(v.value),1)])):Ue("",!0)]),U("div",LK,[U("p",{class:Le(["heading-6",r.isSelected?"text-primary":"text-secondary"])},pe(d.value),3),r.discount?(Y(),se("p",{key:0,class:Le(["paragraph-xs line-through decoration-alert",r.isSelected?"text-secondary":"text-tertiary"])},pe(c.value),3)):Ue("",!0)])],2)):i.value?(Y(),se("div",{key:1,class:Le(["relative flex cursor-pointer items-center justify-between gap-3 rounded-xl border px-4 transition-colors",{"py-3":s.value,"py-4":!s.value,"border-[#0B8668] bg-[#0B8668]/10":r.isSelected,"border-primary bg-primary":!r.isSelected,"mt-2.5":r.isMostPopular}]),onClick:E[1]||(E[1]=(...P)=>r.selectProduct&&r.selectProduct(...P))},[r.isMostPopular?(Y(),se(We,{key:0},[U("div",DK,[U("p",xK,pe(b.$t("components.molecules.paywallCards.mostPopular")),1)]),E[3]||(E[3]=U("div",{class:"absolute -top-2.5 left-4 h-2.5 w-4 overflow-hidden"},[U("div",{class:"h-4 w-4 rounded-tl-full bg-[#144382]"})],-1))],64)):Ue("",!0),U("div",NK,[U("p",{class:Le(["label-l",r.isSelected?"text-primary":"text-secondary"])},pe(g.value),3),r.discount?(Y(),se("div",VK,[U("p",MK,pe(v.value),1)])):Ue("",!0)]),U("div",FK,[r.discount?(Y(),se("p",{key:0,class:Le(["paragraph-s line-through decoration-alert",r.isSelected?"text-secondary":"text-tertiary"])},pe(c.value),3)):Ue("",!0),U("p",{class:Le(["heading-6",r.isSelected?"text-primary":"text-secondary"])},pe(d.value),3)])],2)):(Y(),se("div",{key:2,class:Le(["relative flex h-full cursor-pointer flex-col items-center rounded-2xl border transition-colors",{"border-[#0B8668] bg-[#0B8668]/10":r.isSelected,"border-primary bg-primary":!r.isSelected,"mt-2.5":r.isMostPopular}]),onClick:E[2]||(E[2]=(...P)=>r.selectProduct&&r.selectProduct(...P))},[r.isMostPopular?(Y(),se(We,{key:0},[U("div",UK,[U("p",BK,pe(b.$t("components.molecules.paywallCards.mostPopular")),1)]),E[4]||(E[4]=U("div",{class:"absolute -top-2.5 left-4 h-2.5 w-4 overflow-hidden"},[U("div",{class:"h-4 w-4 rounded-tl-full bg-[#144382]"})],-1))],64)):Ue("",!0),U("div",jK,[U("div",$K,[U("p",{class:Le(["label-l",{"text-primary":r.isSelected,"text-secondary":!r.isSelected}])},pe(a(r.product.recurring)),3),U("div",zK,[r.discount?(Y(),se("p",{key:0,class:Le(["paragraph-xs font-normal line-through",{"text-secondary":r.isSelected,"text-tertiary":!r.isSelected}])},pe(c.value),3)):Ue("",!0),U("p",{class:Le(["label-xs",{"text-secondary":r.isSelected,"text-tertiary":!r.isSelected}])},pe(d.value),3)])]),U("div",HK,[U("div",qK,[r.discount&&r.showNonDiscountedPerDayPrice?(Y(),se("p",{key:0,class:Le(["paragraph-s line-through",{"text-secondary":r.isSelected,"text-tertiary":!r.isSelected}])},pe(I(!1)),3)):Ue("",!0),U("p",{class:Le(["text-[1.375rem] leading-[1.5rem]",{"text-primary":r.isSelected,"text-secondary":!r.isSelected}])},pe(I(!0)),3)]),U("div",GK,[m.value?(Y(),se("div",WK,[U("p",KK,pe(h.value),1)])):Ue("",!0),U("p",{class:Le(["paragraph-xs",{"text-primary":r.isSelected,"text-secondary":!r.isSelected}])},[m.value?(Y(),se("span",YK," / ")):Ue("",!0),Xt(" "+pe(b.$t("components.molecules.paywallCards.perDay")),1)],2)])])])],2))}},JK={key:0,class:"relative flex min-h-full w-full flex-col"},QK={class:"absolute right-0 top-0 z-10 flex w-full justify-end p-3"}
3761,XK={class:"relative flex w-full shrink-0 flex-col gap-4 rounded-t-[20px] bg-primary p-3"},ZK={key:0,class:"flex w-full items-stretch justify-center gap-3"},eY={key:1,class:"flex w-full items-center justify-center py-12"},tY={key:2,class:"flex w-full items-center py-12"},nY={class:"flex w-full flex-col gap-2.5"},rY={key:0,class:"text-center text-[0.875rem]/[1.25rem] tracking-[-0.006rem] opacity-70"},oY={class:"font-semibold"},iY={class:"font-semibold"},sY={class:"label-m text-inherit"},aY={key:1,class:"flex w-full items-center justify-center rounded-lg border border-secondary bg-primary px-1 py-1.5"},lY={class:"w-full text-center text-[0.6875rem]/[0.875rem] text-secondary opacity-70"},cY={class:"flex w-full flex-col items-center gap-1.5"},uY={class:"flex items-center gap-1.5"},dY={class:"label-xs text-primary-2nd"},fY={class:"flex items-center justify-center gap-1"},pY=["src"],hY=["src"],mY=["src"],_Y=["src"],gY=["src"],yY=["src"],vY=["src"],EY=["src"],wY={class:"text-center text-[0.625rem]/[1rem] font-normal tracking-normal text-secondary"},bY={key:1,class:"flex h-full w-full flex-col"},TY={class:"flex w-full flex-col items-center"},AY={class:"heading-6 text-center font-medium text-primary"},IY={class:"paragraph-s mt-0.5 text-center text-secondary"},SY={key:0,class:"mt-6 flex w-full flex-col items-center gap-[3px] rounded-xl border border-red-400 px-3 py-2"},PY={class:"flex items-center gap-2"},RY={class:"label-s text-red-400"},CY={class:"label-s text-red-400"},OY={class:"flex w-full flex-col gap-3"},kY={key:1,class:"mt-5 text-center text-[1rem]/[1rem] tracking-[-0.011rem] opacity-70"},LY={class:"font-semibold"},DY={class:"font-semibold"},xY={class:"label-m text-inherit"},NY={key:2,class:"mt-2.5 flex w-full items-center justify-center rounded-lg border border-secondary bg-secondary px-1 py-1.5"},VY={class:"paragraph-xs w-full text-center text-secondary opacity-70"},MY={key:1,class:"my-12 flex w-full flex-grow items-center justify-center"},FY={key:2,class:"my-12 flex w-full flex-grow items-center"},UY={class:"flex px-2 py-1"},BY={class:"label-xs ml-1.5"},jY={class:"flex gap-1"},$Y=["src"],zY=["src"],HY=["src"],qY=["src"],GY=["src"],WY=["src"],KY=["src"],YY=["src"],JY={__name:"Paywall",props:{source:{required:!1,type:String,default:""}},emits:["purchase","close"],setup(n,{emit:e}){const r=e,o=n,{locale:i,t:s}=Jt(),a=wr(),l=Mc(),{isPaywallBannerEnabled:c}=hK(),u=xC(),d=z(()=>!u.value.md),p=z(()=>l.isOfferActive&&a.currentPaywallSource===a.secretOfferPaywallSource),h=z(()=>a.paywallStructure?.[a.currentPaywallSource]),m=te=>{const le=Os(te,a.currentCurrency);return Wa.includes(a.currentCurrency)?`${a.currencySymbol}${le.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`:`${a.currencySymbol}${le.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`},g=z(()=>h.value?.selected_index??0),v=z(()=>h.value?.most_popular),w=z(()=>h.value?.save_badges||[]),I=z(()=>h.value?.show_non_discounted_per_day_price??!1),b=z(()=>h.value?.show_discount_amount??!1),E=z(()=>h.value?.layout??HR),P=z(()=>E.value===dc.SAFE),D=z(()=>b0(E.value)),V=z(()=>a.prices?.[q.value]?.price||null),S=z(()=>a.discounts?.[q.value]||null),C=z(()=>!!S.value&&!S.value.oneIntervalRecurringDiscount),A=z(()=>{const te=V.value;return te?te.unit_amount*(S.value?1-S.value.amount/100:1):0}),R=z(()=>m(A.value)),L=z(()=>V.value?C.value?m(A.value):m(V.value.unit_amount):""),O=z(()=>{const te=V.value?.recurring;if(!te)return"";const{interval:le,interval_count:Ae}=te;return(Ae===1?s(`common.${le}`):`${Ae} ${s(`common.${le}s`)}`).toLowerCase()}),k=EC(()=>V.value?.recurring,"components.molecules.paywall.firstPeriod"),ee=z(()=>{const te=V.value?.recurring;if(!te)return"";const{interval:le,interval_count:Ae=1}=te,Ie=new Date;return le==="day"?Ie.setDate(Ie.getDate()+Ae):le==="week"?Ie.setDate(Ie.getDate()+7*Ae):le==="month"?Ie.setMonth(Ie.getMonth()+Ae):le==="year"&&Ie.setFullYear(Ie.getFullYear()+Ae),new Intl.DateTimeFormat(i.value,{calendar:"gregory",day:"numeric",month:"long",year:"numeric"}).format(Ie)}),J=z(()=>{const te=o.source.replace(/_widget_lp$/,"").replace(/_lp$/,""),le=Ur.paywall_structure?.[a.currentPaywallSource]?.title_variations;return h.value?.title_variations?.[te]||le?.[te]||le?.default||"default"}),q=me(g.value??0);wt(g,te=>{te!==void 0&&(q.value=te)}),wt(q,te=>a.setSelectedProductIndex(te),{immediate:!0});const j=te=>{q.value=te;const le=a.prices[te];if(!le?.price)return;const Ae=le.price.id;Be({eventName:"product_clicked",properties:{name:a.productNames[te],priceId:Ae,productId:Ae,source:o.source}})},G=({index:te,product:le,source:Ae})=>{const Ie=le.price.id,Ce=le.price.unit_amount;Be({eventName:"purchase_clicked",properties:{id:Ie,name:a.productNames[te],offersFreeTrial:!1,price:Ce,priceId:Ie,productId:Ie,source:Ae}}),r("purchase",{priceId:Ie,source:Ae})};return br(async()=>{await a.initialize(o.source),Be({eventName:"paywall",properties:{...yr(),...T0(),...Go(q.value),productNames:a.productNames,source:o.source,product_ids:a.prices.map(te=>te.price.id),product_count:a.prices.length}}),Be({eventName:"view_item_list",properties:{item_list_id:"pricing",item_list_name:"Pricing"}})}),(te,le)=>{const Ae=qh("i18n-t");return D.value&&d.value?(Y(),se("div",JK,[U("div",QK,[ge(Q(ks),{class:"h-5 w-5 cursor-pointer stroke-icon-white",onClick:le[0]||(le[0]=Ie=>r("close"))})]),ge(SK,{class:"mb-[-12px]"}),U("div",XK,[Q(a).paywallState==="completed"?(Y(),se("div",ZK,[(Y(!0),se(We,null,Eo(Q(a).prices||[],(Ie,Ce)=>(Y(),Xe(k1,{key:Ce,product:Ie.price,discount:Q(a).discounts?.[Ce]||null,"is-selected":q.value===Ce,"is-most-popular":Ce===v.value,"select-product":()=>j(Ce),layout:E.value,"is-mobile":!0}
3761,null,8,["product","discount","is-selected","is-most-popular","select-product","layout"]))),128))])):Q(a).paywallState==="loading"?(Y(),se("div",eY,[ge(hc)])):Q(a).paywallState==="error"?(Y(),se("div",tY,[ge(w1,{class:"w-full"})])):Ue("",!0),U("div",nY,[Q(a).paywallState==="completed"?(Y(),se(We,{key:0},[V.value?(Y(),se("div",rY,[ge(Ae,{keypath:"components.molecules.paywall.safeSummaryFirst",tag:"p",class:"text-[#27272a]"},{firstPrice:et(()=>[U("span",oY,pe(R.value),1)]),firstPeriod:et(()=>[Xt(pe(Q(k)),1)]),_:1}),ge(Ae,{keypath:"components.molecules.paywall.safeSummarySecond",tag:"p",class:"text-[#27272a]"},{fullPrice:et(()=>[U("span",iY,pe(L.value),1)]),period:et(()=>[Xt(pe(O.value),1)]),renewalDate:et(()=>[Xt(pe(ee.value),1)]),_:1})])):Ue("",!0),ge(A_,{type:"primary",size:"custom",rounded:"lg",class:"group w-full px-4 py-3",onClick:le[1]||(le[1]=()=>G({index:q.value,source:o.source,product:Q(a).prices[q.value]}))},{default:et(()=>[U("p",sY,pe(te.$t("common.continue")),1),ge(Q(tf),{class:"absolute right-0 top-1/2 h-6 w-6 -translate-y-1/2 stroke-icon-white transition-transform duration-300 group-hover:translate-x-1"})]),_:1}),P.value&&!C.value?(Y(),se("div",aY,[U("p",lY,pe(te.$t("components.molecules.paywall.safeDisclaimer",{renewalDate:ee.value})),1)])):Ue("",!0)],64)):Ue("",!0),U("div",cY,[U("div",uY,[ge(Q(b1)),U("p",dY,pe(te.$t("components.molecules.paywallCards.paySafeSecure")),1)]),U("div",fY,[U("img",{src:Q(C1),class:"h-5"},null,8,pY),U("img",{src:Q(A1),class:"h-5"},null,8,hY),U("img",{src:Q(S1),class:"h-5"},null,8,mY),U("img",{src:Q(O1),class:"h-5"},null,8,_Y),U("img",{src:Q(R1),class:"h-5"},null,8,gY),U("img",{src:Q(P1),class:"h-5"},null,8,yY),U("img",{src:Q(I1),class:"h-5"},null,8,vY),U("img",{src:Q(T1),class:"h-5"},null,8,EY)])]),U("p",wY,[Xt(pe(te.$t("components.molecules.paywall.safeByContinuing"))+" ",1),ge(Du,{type:"terms",source:o.source,class:"font-medium text-primary-2nd"},null,8,["source"]),Xt(" "+pe(te.$t("common.and"))+" ",1),ge(Du,{type:"privacy",source:o.source,label:te.$t("components.atoms.policyLink.privacyAndCookie"),class:"font-medium text-primary-2nd"},null,8,["source","label"]),le[3]||(le[3]=Xt(". ",-1))])])])])):(Y(),se("div",bY,[U("div",TY,[p.value?(Y(),Xe(pK,{key:0,discount:Q(l).displayedDiscount,seconds:Q(l).remaining},null,8,["discount","seconds"])):Ue("",!0),U("p",AY,pe(p.value?te.$t("components.molecules.secretOffer.yourDiscountIsWaiting"):te.$t(`components.molecules.paywall.titleVariations.${J.value}`)),1),U("p",IY,pe(p.value?te.$t("components.molecules.secretOffer.paywallSubtitle",{discount:Q(l).displayedDiscount,minutes:Q(l).durationMinutes}):te.$t("components.molecules.paywall.unlockPremiumFeatures")),1)]),Q(a).paywallState==="completed"?(Y(),se(We,{key:0},[Q(c)&&!p.value?(Y(),se("div",SY,[U("div",PY,[ge(Q(gK),{class:"h-4 w-4 flex-shrink-0 fill-red-400"}),U("p",RY,pe(te.$t("components.molecules.paywall.productHuntWelcome")),1)]),U("p",CY,pe(te.$t("components.molecules.paywall.productHuntDiscount")),1)])):Ue("",!0),U("div",{class:Le(["flex w-full flex-grow items-center justify-center",D.value?"mt-2.5":"mt-6"])},[U("div",OY,[(Y(!0),se(We,null,Eo(Q(a).prices||[],(Ie,Ce)=>(Y(),Xe(k1,{key:Ce,layout:E.value,product:Ie.price,discount:Q(a).discounts?.[Ce]||null,"is-selected":q.value===Ce,"is-most-popular":Ce===v.value,"save-badge":w.value?.[Ce]||null,"select-product":()=>j(Ce),"show-non-discounted-per-day-price":I.value,"show-discount-amount":b.value}
3761,null,8,["layout","product","discount","is-selected","is-most-popular","save-badge","select-product","show-non-discounted-per-day-price","show-discount-amount"]))),128))])],2),V.value?(Y(),se("div",kY,[ge(Ae,{keypath:"components.molecules.paywall.safeSummaryFirst",tag:"p",class:"text-[#27272a]"},{firstPrice:et(()=>[U("span",LY,pe(R.value),1)]),firstPeriod:et(()=>[Xt(pe(Q(k)),1)]),_:1}),ge(Ae,{keypath:"components.molecules.paywall.safeSummarySecond",tag:"p",class:"text-[#27272a]"},{fullPrice:et(()=>[U("span",DY,pe(L.value),1)]),period:et(()=>[Xt(pe(O.value),1)]),renewalDate:et(()=>[Xt(pe(ee.value),1)]),_:1})])):Ue("",!0),ge(A_,{type:"primary",size:"custom",rounded:"lg",class:Le(["group w-full px-4 py-[1.125rem]",D.value?"mt-2.5":"mt-6"]),onClick:le[2]||(le[2]=()=>G({index:q.value,source:o.source,product:Q(a).prices[q.value]}))},{default:et(()=>[U("p",xY,pe(te.$t("common.continue")),1),ge(Q(tf),{class:"absolute right-0 top-1/2 h-6 w-6 -translate-y-1/2 stroke-icon-white transition-transform duration-300 group-hover:translate-x-1"})]),_:1},8,["class"]),P.value&&!C.value?(Y(),se("div",NY,[U("p",VY,pe(te.$t("components.molecules.paywall.safeDisclaimer",{renewalDate:ee.value})),1)])):Ue("",!0)],64)):Ue("",!0),Q(a).paywallState==="loading"?(Y(),se("div",MY,[ge(hc)])):Ue("",!0),Q(a).paywallState==="error"?(Y(),se("div",FY,[ge(w1,{class:"w-full"})])):Ue("",!0),U("div",{class:Le(["mt-2.5 flex flex-col items-center",D.value?"gap-1.5":"gap-2"])},[U("div",UY,[ge(Q(b1)),U("p",BY,pe(te.$t("components.molecules.paywallCards.paySafeSecure")),1)]),U("div",jY,[U("img",{src:Q(C1),class:"h-5"},null,8,$Y),U("img",{src:Q(A1),class:"h-5"},null,8,zY),U("img",{src:Q(S1),class:"h-5"},null,8,HY),U("img",{src:Q(O1),class:"h-5"},null,8,qY),U("img",{src:Q(R1),class:"h-5"},null,8,GY),U("img",{src:Q(P1),class:"h-5"},null,8,WY),U("img",{src:Q(I1),class:"h-5"},null,8,KY),U("img",{src:Q(T1),class:"h-5"},null,8,YY)])],2),U("p",{class:Le(["text-center text-[0.625rem]/[1rem] font-normal tracking-normal text-secondary",D.value?"mt-2.5":"mt-2"])},[Xt(pe(te.$t("components.molecules.paywall.safeByContinuing"))+" ",1),ge(Du,{type:"terms",source:o.source,class:"font-medium text-primary-2nd"},null,8,["source"]),Xt(" "+pe(te.$t("common.and"))+" ",1),ge(Du,{type:"privacy",source:o.source,label:te.$t("components.atoms.policyLink.privacyAndCookie"),class:"font-medium text-primary-2nd"},null,8,["source","label"]),le[4]||(le[4]=Xt(". ",-1))],2)]))}}},QY={key:0,class:"col-span-12 flex min-h-0 flex-col overflow-y-auto lg:col-span-7"},XY={key:0,class:"flex w-full flex-row justify-end"},ZY={key:1,class:"col-span-1 flex w-full flex-grow flex-col"},eJ={__name:"ThePaywall",setup(n){const e=Vc(),r=wr(),o=xC(),i=GR(),s=({priceId:h})=>{e.handlePurchaseClick(h)},a=z(()=>r.prices.findIndex(h=>h?.price?.id===e.checkoutPriceId)),l=z(()=>r.prices?.[a.value]?.price||null),c=z(()=>r.discounts?.[a.value]||null),u=z(()=>i.value?.one_page_checkout??!1),d=z(()=>u.value&&e.paywallStep==="checkout"),p=z(()=>!o.value.md&&e.paywallStep==="paywall"&&b0(r.currentLayout));return(h,m)=>(Y(),Xe(k0,{modelValue:Q(e).paywallOpened,"onUpdate:modelValue":m[0]||(m[0]=g=>Q(e).paywallOpened=g),size:Q(o).md?d.value?"lg-high":"lg":"full",padding:"none","z-index-class":"z-[81]",onClose:Q(e).closePaywall},{default:et(()=>[U("div",{class:Le(["grid min-h-0 w-full grid-cols-12",p.value?"h-full":d.value?"h-[55rem]":"h-[46.875rem]"])},[Q(o).lg?(Y(),se("div",QY,[Q(e).paywallStep==="paywall"?(Y(),Xe(Wb,{key:0,type:"paywall",class:"h-fit flex-grow"})):Q(e).paywallStep==="checkout"?(Y(),Xe(Wb,{key:1,type:"checkout",class:"h-fit flex-grow"})):Ue("",!0)])):Ue("",!0),U("div",{class:Le(["col-span-12 flex min-h-0 flex-col overflow-y-auto lg:col-span-5",p.value?"":"px-8 py-5"])},[p.value?Ue("",!0):(Y(),se("div",XY,[ge(Q(ks),{class:"h-5 w-5 cursor-pointer stroke-icon-gray",onClick:Q(e).closePaywall},null,8,["onClick"])])),Q(e).paywallStep==="paywall"?(Y(),se("div",ZY,[ge(JY,{source:Q(e).source,onPurchase:s,onClose:Q(e).closePaywall},null,8,["source","onClose"])])):Q(e).paywallStep==="checkout"?(Y(),Xe(Yq,{key:2,source:Q(e).source,"product-id":Q(e).checkoutPriceId,"discount-id":c.value?.id,product:l.value,discount:c.value,type:"page",onClose:Q(e).closePaywall},null,8,["source","product-id","discount-id","product","discount","onClose"])):Ue("",!0)],2)],2)
3761]),_:1},8,["modelValue","size","onClose"]))}},tJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 480 399"};function nJ(n,e){return Y(),se("svg",tJ,[...e[0]||(e[0]=[U("path",{fill:"silver",d:"m641.724 257.302-359.165 303.57c-25.256 18.242-59.364 18.242-84.621 0l-359.165-303.57a63.43 63.43 0 0 1 21.801-27.993l62.756-15.165L93.535 91.176l109.581-79.161c22.16-16.02 52.106-16.02 74.279 0l109.581 79.161L557.18 214.144l62.757 15.165a63.4 63.4 0 0 1 21.787 27.993"},null,-1)])])}const rJ={render:nJ},oJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 480 240"};function iJ(n,e){return Y(),se("svg",oJ,[...e[0]||(e[0]=[U("path",{fill:"#fff",d:"m0 0 231.742 48.896a40 40 0 0 0 16.516 0L480 0v203.136c0 19.882-16.118 36-36 36H36c-19.882 0-36-16.118-36-36z"},null,-1)])])}const sJ={render:iJ},aJ={class:"relative aspect-[116/95] w-full"},lJ={class:"absolute bottom-0 w-full overflow-hidden rounded-b-full"},cJ={class:"absolute inset-x-0 bottom-0 z-30"},uJ={__name:"Letter",setup(n){return(e,r)=>(Y(),se("div",aJ,[U("div",lJ,[ge(Q(rJ),{class:"w-full"})]),Co(e.$slots,"default"),ge(Q(sJ),{class:"absolute inset-x-0 bottom-0 z-20 w-full shadow-md"}),U("div",cJ,[Co(e.$slots,"body")])]))}},dJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 24 24"};function fJ(n,e){return Y(),se("svg",dJ,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M4.621 5A2.62 2.62 0 0 0 2 7.625v8.75A2.627 2.627 0 0 0 4.621 19h8.738a2.62 2.62 0 0 0 2.622-2.625v-8.75A2.627 2.627 0 0 0 13.359 5zM22 5.875a.876.876 0 0 0-1.044-.857.87.87 0 0 0-.447.239l-3.495 3.5a.88.88 0 0 0-.257.618v5.25c0 .232.092.455.257.618l3.495 3.5A.874.874 0 0 0 22 18.125z"},null,-1)])])}const pJ={render:fJ},hJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 24 24"};function mJ(n,e){return Y(),se("svg",hJ,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M10.227 2c.545 0 .982 0 1.35.017q-.018.12-.018.244l-.01 2.834c0 1.097.001 2.067.096 2.848.102.847.337 1.694.96 2.386.62.69 1.384.951 2.146 1.066.703.104 1.576.105 2.563.105h3.647c.039.534.039 1.19.039 2.063V14c0 3.771 0 5.657-1.055 6.828S17.194 22 13.8 22h-3.6c-3.394 0-5.091 0-6.145-1.172S3 17.771 3 14v-4c0-3.771 0-5.657 1.055-6.828S6.815 2 10.227 2M6.5 17.25a.75.75 0 0 0 0 1.5H11a.75.75 0 0 0 0-1.5zm0-3a.75.75 0 0 0 0 1.5h7a.75.75 0 0 0 0-1.5z"},null,-1),U("path",{fill:"inherit",stroke:"none",d:"M18.923 7.535 15.23 3.85C14.18 2.8 13.655 2.274 13.008 2L13 4.828c0 2.438 0 3.658.682 4.415.683.757 1.782.757 3.98.757H21c-.337-.728-.944-1.332-2.077-2.465"},null,-1)])])}const _J={render:mJ},gJ={xmlns:"http://www.w3.org/2000/svg",stroke:"inherit",viewBox:"0 0 20 20"};function yJ(n,e){return Y(),se("svg",gJ,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M13.889 8.889v1.666a3.889 3.889 0 1 1-7.778 0V8.89H5v1.666a5 5 0 0 0 4.444 4.967v1.144H7.222v1.112h5.556v-1.111h-2.222v-1.145A5 5 0 0 0 15 10.555V8.89z"},null,-1),U("path",{fill:"inherit",stroke:"none",d:"M10 13.333a2.78 2.78 0 0 0 2.778-2.778V4.999a2.778 2.778 0 1 0-5.556 0v5.556A2.78 2.78 0 0 0 10 13.333"},null,-1)])])}const vJ={render:yJ},EJ={xmlns:"http://www.w3.org/2000/svg",fill:"inherit",viewBox:"0 0 20 20"};function wJ(n,e){return Y(),se("svg",EJ,[...e[0]||(e[0]=[U("path",{fill:"none",stroke:"inherit","stroke-linecap":"round","stroke-width":"1.5",d:"M10 3.332v13.333M13.336 5.832v8.333M6.664 5.832v8.333M16.664 9.168v1.667M3.336 9.168v1.667"},null,-1)])])}const bJ={render:wJ},TJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 24 24"};function AJ(n,e){return Y(),se("svg",TJ,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M12 2c4.714 0 7.07 0 8.535 1.465C22 4.929 22 7.286 22 12s0 7.07-1.465 8.535C19.071 22 16.714 22 12 22s-7.07 0-8.535-1.465C2 19.071 2 16.714 2 12s0-7.07 1.465-8.535C4.929 2 7.286 2 12 2m-2 4.25c-.448 0-.867-.002-1.208.049-.37.055-.752.186-1.057.524-.294.327-.398.718-.443 1.09-.043.358-.042.805-.042 1.31v.527a.75.75 0 0 0 1.5 0v-.527c0-.543.001-.883.031-1.13a1 1 0 0 1 .046-.22c.012-.034.02-.043.024-.046.001-.002.001-.003.011-.008a.6.6 0 0 1 .152-.037c.204-.03.491-.032.986-.032h1.25v8.5H9.5a.75.75 0 0 0 0 1.5H15a.75.75 0 0 0 0-1.5h-2.25v-8.5H14c.495 0 .782.002.986.032.092.014.135.03.152.037.01.005.01.006.011.008.003.003.012.012.024.045.014.038.032.105.046.22.03.248.031.588.031 1.13v.528a.75.75 0 0 0 1.5 0v-.527c0-.505.001-.952-.042-1.31-.045-.372-.149-.763-.443-1.09-.305-.338-.686-.469-1.057-.524-.34-.051-.76-.049-1.208-.049z"},null,-1)])])}const IJ={render:AJ},SJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"inherit",viewBox:"0 0 24 24"};function PJ(n,e){return Y(),se("svg",SJ,[...e[0]||(e[0]=[U("path",{fill:"inherit",stroke:"none",d:"M11.988 3.563c.064 0 7.503.002 9.358.507a3.02 3.02 0 0 1 2.124 2.124c.792 3.191.61 8.23.015 11.544a3.02 3.02 0 0 1-2.124 2.124c-1.862.508-9.358.508-9.358.508-.047 0-7.502-.001-9.358-.508A3.02 3.02 0 0 1 .52 17.738C-.277 14.562-.057 9.52.506 6.21a3.02 3.02 0 0 1 2.123-2.124c1.862-.508 9.36-.524 9.36-.524m-1.33 5.412a.703.703 0 0 0-1.056.608v4.764c0 .541.586.88 1.055.608l4.113-2.382a.703.703 0 0 0 0-1.217z"},null,-1)])])}const RJ={render:PJ},CJ={key:0,class:"fixed left-1/2 top-1/2 z-[80] w-[30rem] max-w-[calc(100vw-32px)] -translate-x-1/2 -translate-y-1/2"},OJ=["aria-label"],kJ={class:"mt-[1.375rem] flex justify-center"},LJ={key:0,class:"mt-3 flex items-center justify-center gap-3 md:hidden"},DJ={class:"paragraph-xl text-secondary line-through"},xJ={class:"paragraph-xl font-semibold text-primary-2nd"},NJ={class:"flex flex-col items-center justify-center p-5"},VJ={key:0,class:"hidden items-center justify-center gap-3 md:flex"},MJ={class:"paragraph-xl text-secondary line-through"},FJ={class:"paragraph-xl font-semibold text-primary-2nd"},UJ={class:"paragraph-s mx-auto mt-3 max-w-[27.5rem] text-center text-secondary"},BJ={class:"relative z-10"},jJ={__name:"SecretOfferPopup",props:fd({withPrice:{type:Boolean,default:!1},discount:{type:Number,default:70},plan:{type:String,default:"pro"}
3761,originalPrice:{type:String,default:"$24.99"},discountedPrice:{type:String,default:"$10.00"},seconds:{type:Number,default:600}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:fd(["claim","close"],["update:modelValue"]),setup(n,{emit:e}){const r=zT(n,"modelValue"),o=e,{t:i}=Jt(),s=[{icon:_J,pos:"left-[7%] top-[3.75rem] -rotate-[10deg]",size:"h-6 w-6",float:"0s"},{icon:bJ,pos:"right-[13%] top-[3.75rem] rotate-[10deg]",size:"h-6 w-6",float:"0.4s"},{icon:pJ,pos:"left-2 top-[7.375rem] -rotate-[15deg]",size:"h-9 w-9",float:"0.8s"},{icon:RJ,pos:"right-2 top-[7.375rem] rotate-[15deg]",size:"h-9 w-9",float:"0.2s"},{icon:IJ,pos:"left-[10%] top-[11.875rem] -rotate-[10deg]",size:"h-6 w-6",float:"0.6s"},{icon:vJ,pos:"right-[10%] top-[11.875rem] rotate-[10deg]",size:"h-6 w-6",float:"1s"}],a=me(!1),l=()=>{r.value=!1,o("close")},c=()=>{o("claim")};return(u,d)=>{const p=uJ;return Y(),Xe(mT,{to:"body"},[ge(pf,{"enter-active-class":"transition duration-300 ease-[cubic-bezier(0.34,1.56,0.64,1)]","enter-from-class":"opacity-0 scale-90","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition duration-200 ease-in","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95",onAfterEnter:d[0]||(d[0]=h=>a.value=!0),onAfterLeave:d[1]||(d[1]=h=>
3761a.value=!1)},{default:et(()=>[r.value?(Y(),se("div",CJ,[ge(p,null,{body:et(()=>[U("div",NJ,[n.withPrice?(Y(),se("div",VJ,[U("span",MJ,pe(n.originalPrice),1),U("span",FJ,pe(n.discountedPrice),1)])):Ue("",!0),U("p",UJ,pe(Q(i)("components.molecules.secretOffer.bodyText",{discount:n.discount,plan:n.plan})),1),U("button",{class:"label-l relative mt-4 w-full overflow-hidden rounded-2xl bg-brand-primary px-5 py-[1.125rem] text-negative transition-transform hover:bg-brand-primary/90 active:scale-[0.98]",onClick:c},[d[2]||(d[2]=U("span",{class:"pointer-events-none absolute inset-0 bg-gradient-to-r from-transparent via-primary/40 to-transparent motion-safe:animate-shimmer"},null,-1)),U("span",BJ,pe(Q(i)("components.molecules.secretOffer.claimOffer")),1)])])]),default:et(()=>[U("div",{class:Le(["relative bottom-16 z-10 mx-auto w-[90.5%] rounded-[1.25rem] border border-surface-blue-light bg-[linear-gradient(163deg,theme(colors.white)_12%,theme(colors.surface.blue-lighter)_71%)] px-4 pb-24 pt-5 transition-transform duration-[1800ms] ease-[cubic-bezier(0.22,1,0.36,1)] md:h-[23.9125rem]",{"translate-y-0":a.value,"translate-y-16":!a.value,"h-[19.875rem]":!n.withPrice,"h-[21.875rem]":n.withPrice}]),style:Di({transitionDelay:a.value?"200ms":"0ms"})},[U("button",{class:"absolute -right-[1.625rem] -top-[2.625rem] z-30 flex h-[1.625rem] w-[1.625rem] items-center justify-center rounded-full bg-primary shadow-md transition-transform duration-200 hover:rotate-90 hover:scale-110 md:-right-[3.03125rem] md:top-0","aria-label":Q(i)("common.close"),onClick:l},[ge(Q(ks),{class:"h-5 w-5 stroke-icon-gray"})],8,OJ),(Y(),se(We,null,Eo(s,(h,m)=>U("div",{key:m,class:Le(["pointer-events-none absolute transition-all duration-[900ms] ease-[cubic-bezier(0.34,1.56,0.64,1)]",[h.pos,a.value?"scale-100 opacity-100":"scale-0 opacity-0"]]),style:Di({transitionDelay:a.value?`${600+m*200}ms`:"0ms"})},[(Y(),Xe(Va(h.icon),{class:Le(["fill-surface-blue-light stroke-surface-blue-light text-surface-blue-light motion-safe:animate-float",h.size]),style:Di({animationDelay:h.float})},null,8,["class","style"]))],6)),64)),ge(VC,{discount:n.discount,size:"lg","count-up":"",play:a.value},null,8,["discount","play"]),U("div",kJ,[ge(NC,{seconds:n.seconds,size:"lg","animate-tick":""},null,8,["seconds"])]),n.withPrice?(Y(),se("div",LJ,[U("span",DJ,pe(n.originalPrice),1),U("span",xJ,pe(n.discountedPrice),1)])):Ue("",!0)],6)]),_:1})])):Ue("",!0)]),_:1}),ge(I_,null,{default:et(()=>[r.value?(Y(),se("div",{key:0,class:"fixed left-0 top-0 z-[70] h-screen w-screen",onClick:l},[...d[3]||(d[3]=[U("div",{class:"h-full w-full bg-negative opacity-40 backdrop-blur-sm"},null,-1)])])):Ue("",!0)]),_:1})])}}},N0=pi("trustpilotReview",()=>{const n=st(),e=me(!1),r=me("loyal"),o=me("auto"),i=z(()=>{if(n.userConfig===null)return null;const S=n.getParameter(qf.TRUSTPILOT_REVIEW);if(!S)return null;try{return typeof S=="string"?JSON.parse(S):S}catch{return null}}),s=z(()=>i.value?.business_unit_id||""),a=z(()=>i.value?.template_id||""),l=z(()=>i.value?.inapp_is_active===!0&&!!s.value),c=z(()=>n.userData?.trustpilotReview||{}),u=z(()=>!!c.value.popupSeen),d=z(()=>!!c.value.ratingRequested),p=z(()=>l.value&&!!n.user?.uid&&!!(n.user?.email||n.userData?.email)&&n.isUserPro()&&!d.value),h=z(()=>e.value),m=z(()=>r.value),g=z(()=>p.value&&i.value?.loyal_users===!0),v=z(()=>g.value&&!u.value&&!e.value),w=S=>{n.updateAndPushUserData({trustpilotReview:{...c.value,...S}}).catch(C=>console.warn("Failed to persist Trustpilot review flags:",C))},I=()=>({flow:r.value,source:o.value}),b=(S,C)=>{r.value=S,o.value=C,e.value=!0,Be({eventName:"trustpilot_popup_shown",properties:I()})};return{popupOpen:h,flow:m,businessUnitId:s,templateId:a,showRateUsEntry:g,shouldAutoOpenLoyal:v,openPostPaymentReview:(S="payment_success")=>{!p.value||e.value||b("new",S)},openLoyalReview:(S="profile_dropdown")=>{!g.value||e.value||S==="auto"&&u.value||(S!=="auto"&&Be({eventName:"trustpilot_rate_us_clicked",properties:{source:S}}),b("loyal",S))},dismissPopup:(S="close_button")=>{if(!e.value)return;Be({eventName:"trustpilot_popup_closed",properties:{...I(),close_source:S}});const C=r.value==="new";e.value=!1,w(C?{popupSeen:!0,ratingRequested:Date.now()}:{popupSeen:!0})},handleReviewInteracted:()=>{Be({eventName:"trustpilot_star_clicked",properties:I()}),e.value=!1,w({popupSeen:!0,ratingRequested:Date.now()})}}}),$J={class:"w-full"},zJ=["locale","tags","template-id","businessunit-id"],HJ="https://reviewcollection.trustpilot.com/verifiedreviewcollector/main.js",qJ={__name:"TrustpilotInAppReviewCollector",props:{flow:{type:String,default:"loyal",validator:n=>["new","loyal"].includes(n)}},emits:["reviewInteracted"],setup(n,{emit:e}){const r=n,o=e,i={en:"en-US",es:"es-ES",pt:"pt-PT",de:"de-DE",fr:"fr-FR",it:"it-IT",pl:"pl-PL",ja:"ja-JP"},s=st(),a=N0(),{locale:l}=Jt(),c=z(()=>i[l.value]||"en-US"),u=z(()=>r.flow==="new"?"new_users":"old_users"),d=me(!1);let p=null;const h=me(null);ig({script:[{src:HJ,async:!0}]});const m=(w,I)=>{!w||d.value||p||(p=(async()=>{const b=s.user?.email||s.userData?.email,E=await $e({method:"POST",path:"/user/trustpilot-inapp-review-invitation",data:{userEmail:b,userName:s.user?.displayName||s.userData?.displayName,tags:[u.value]}});w.dispatchEvent(new CustomEvent("customerDataResponse",{detail:E?.data?.payload})),d.value=!0,Be({eventName:"trustpilot_inapp_review_payload_dispatched",properties:{flow:r.flow}})})().catch(b=>{p=null,console.error("failed to dispatch Trustpilot in-app review payload",b),Be({eventName:"trustpilot_inapp_review_collector_failed",properties:{source:I,reason:b?.message||"unknown",flow:r.flow}})}))};let g=null;const v=()=>{const w=window.open.bind(window);g=()=>{window.open=w,g=null},window.open=(...I)=>(g(),o("reviewInteracted"),w(...I))};return br(async()=>{await Hr();const w=h.value;w&&(v(),w.onReady=()=>m(w,"onReady"),window.setTimeout(()=>m(w,"fallback"),1e3))}),Hi(()=>{g?.()}),(w,I)=>(Y(),se("div",$J,[U("trustbox-verified-review-collector",{id:"tp-verified-widget",ref_key:"widgetRef",ref:h,"style-size":"S",locale:c.value,tags:u.value,"template-id":Q(a).templateId,"businessunit-id":Q(a).businessUnitId,"style-width":"100%","border-type":"noBorder","has-animated-stars":"true"},null,8,zJ)]))}},GJ={class:"relative flex w-full flex-col items-center gap-3"},WJ=["aria-label"],KJ={class:"heading-6 mt-2 text-center"},YJ={class:"paragraph-s max-w-[22rem] text-center text-tertiary"},JJ={__name:"TrustpilotReviewPopup",setup(n){const e=N0(),{t:r}=Jt(),o=z({get:()=>e.popupOpen,set:i=>{i||e.dismissPopup("outside")}});return(i,s)=>(Y(),Xe(k0,{modelValue:Q(o),"onUpdate:modelValue":s[1]||(s[1]=a=>dt(o)?o.value=a:null)},{default:et(()=>[U("div",GJ,[U("button",{type:"button",class:"absolute -right-1 -top-1 rounded-lg p-1 hover:bg-tertiary","aria-label":Q(r)("components.molecules.trustpilot.closeAria"),onClick:s[0]||(s[0]=a=>Q(e).dismissPopup("close_button"))},[ge(Q(ks),{class:"h-5 w-5 stroke-icon-gray"})],8,WJ),U("p",KJ,pe(Q(r)("components.molecules.trustpilot.popupTitle")),1),U("p",YJ,pe(Q(r)("components.molecules.trustpilot.popupDescription")),1),Q(e).popupOpen?(Y(),Xe(qJ,{key:0,flow:Q(e).flow,onReviewInteracted:Q(e).handleReviewInteracted},null,8,["flow","onReviewInteracted"])):Ue("",!0)])]),_:1},8,["modelValue"]))}},QJ=fr({__name:"app",setup(n){const{locale:e}=Jt(),r=Ls(),o=z(()=>{const m=r.path.replace(new RegExp(`^/${e.value}(/|$)`),"/");return m.startsWith("/")?m.slice(1):m}),i=m=>`${rF}/${m===Td?"":`${m}/`}${o.value}`,s=z(()=>{const m=`/${o.value}`;return oF.includes(m.endsWith("/")?m:`${m}/`)}),a=z(()=>s.value?[...Zl.map(m=>({rel:"alternate",hreflang:m,href:i(m)})),{rel:"alternate",hreflang:"x-default",href:i(Td)}]:[]),l=z(()=>({title:"Smart Noter",htmlAttrs:{lang:e.value},meta:[{name:"description",content:"Never take meeting notes again. Get automated summaries."}
3761,...tn||PS?[{name:"robots",content:"noindex, nofollow"}]:[]],link:[...a.value,{rel:"canonical",href:i(e.value)}]}));ig(l);const c=Vc(),u=Mc(),d=jc(),p=N0();wt(()=>d.checkoutCompletedState,m=>{m==="success"&&setTimeout(()=>p.openPostPaymentReview(),1500)});const h=z({get:()=>u.popupOpen,set:m=>{m||u.dismissPopup()}});return br(()=>{C0(),Az(c),u.restore(),setTimeout(()=>{Be({eventName:"session_engaged"})},1e4)}),(m,g)=>{const v=PH,w=xH;return Y(),Xe(w,null,{default:et(()=>[(Y(),Xe(bT,{include:["NotesPage"]},[ge(v)],1024)),ge(pq),ge(eJ),ge(jJ,{modelValue:Q(h),"onUpdate:modelValue":g[0]||(g[0]=I=>dt(h)?h.value=I:null),"with-price":Q(u).popupWithPrice,discount:Q(u).displayedDiscount,plan:Q(u).planLabel,"original-price":Q(u).popupOriginalPrice,"discounted-price":Q(u).popupDiscountedPrice,seconds:Q(u).remaining,onClaim:g[1]||(g[1]=I=>Q(u).claim({source:"popup"})),onClose:Q(u).dismissPopup},null,8,["modelValue","with-price","discount","plan","original-price","discounted-price","seconds","onClose"]),ge(JJ)]),_:1})}}}),XJ=fr({__name:"error",props:{error:{type:Object,default:()=>({})}},setup(n){const e=xs();return n.error?.statusCode===404&&Kt(e({name:"Home"}),{replace:!0}),(o,i)=>(Y(),se("div",null,[U("h1",null,pe(n.error?.statusCode),1),U("p",null,pe(n.error?.message),1)]))}}),ZJ={key:0},L1={__name:"nuxt-root",setup(n){const e=()=>null,r=xe(),o=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",o);Zn().beforeEach(u)}const i=!1;Ni(ws,Ls()),r.hooks.callHookWith(u=>u.map(d=>d()),"vue:setup");const s=yf(),a=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;AT((u,d,p)=>{if(r.hooks.callHook("vue:error",u,d,p).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),l.test(navigator.userAgent))return r.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(VA(u)&&(u.fatal||u.unhandled))return r.runWithContext(()=>ss(u)),!1});const c=!1;return(u,d)=>(Y(),Xe(Z_,{onResolve:Q(o)},{default:et(()=>[Q(a)?(Y(),se("div",ZJ)):Q(s)?(Y(),Xe(Q(XJ),{key:1,error:Q(s)},null,8,["error"])):Q(c)?(Y(),Xe(Q(e),{key:2,context:Q(c)},null,8,["context"])):Q(i)?(Y(),Xe(Va(Q(i)),{key:3})):(Y(),Xe(Q(QJ),{key:4}))]),_:1},8,["onResolve"]))}};let D1;{let n;D1=async function(){if(n)return n;const o=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?$k(L1):jk(L1),i=ZL({vueApp:o});async function s(a){await i.callHook("app:error",a),i.payload.error||=hs(a)}o.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{o.config.errorHandler===s&&(o.config.errorHandler=void 0)});try{await nD(i,IH)}catch(a){s(a)}try{await i.hooks.callHook("app:created",o),await i.hooks.callHook("app:beforeMount",o),o.mount(JL),await i.hooks.callHook("app:mounted",o),await Hr()}catch(a){s(a)}return o},n=D1().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{MQ as $,Eo as A,pe as B,IC as C,oC as D,BX as E,We as F,Hi as G,PH as H,Hr as I,wf as J,DO as K,Bu as L,Ue as M,hc as N,hR as O,Zn as P,th as Q,Jf as R,qi as S,A_ as T,$e as U,Xt as V,uQ as W,Br as X,Gi as Y,UQ as Z,JY as _,ig as a,sQ as a$,jQ as a0,VQ as a1,oi as a2,bJ as a3,uU as a4,Va as a5,Du as a6,qh as a7,PG as a8,sU as a9,qf as aA,Di as aB,w1 as aC,X9 as aD,Nb as aE,UX as aF,BQ as aG,uX as aH,nC as aI,b_ as aJ,dX as aK,FQ as aL,zi as aM,NX as aN,dk as aO,I_ as aP,PC as aQ,q_ as aR,zc as aS,XH as aT,fr as aU,Gr as aV,ii as aW,Bt as aX,Ni as aY,oQ as aZ,mT as a_,tU as aa,Ka as ab,jc as ac,Yq as ad,zt as ae,ml as af,vJ as ag,pJ as ah,RJ as ai,_J as aj,IJ as ak,fd as al,zT as am,J2 as an,Dk as ao,tf as ap,nQ as aq,Pk as ar,tQ as as,Co as at,vo as au,Do as av,Pi as aw,k8 as ax,Z9 as ay,AC as az,Xe as b,Fb as b$,ZH as b0,hg as b1,St as b2,Ma as b3,z5 as b4,q5 as b5,xo as b6,Oo as b7,io as b8,zr as b9,eg as bA,_ as bB,La as bC,cv as bD,Sz as bE,Ur as bF,Ez as bG,Qu as bH,h7 as bI,zQ as bJ,xk as bK,AX as bL,IX as bM,hX as bN,mX as bO,Tu as bP,kw as bQ,jX as bR,zX as bS,es as bT,HQ as bU,YG as bV,mU as bW,cQ as bX,$H as bY,At as bZ,Mb as b_,Fa as ba,Kl as bb,rQ as bc,pf as bd,gK as be,ks as bf,rZ as bg,$b as bh,SC as bi,R_ as bj,S_ as bk,Bb as bl,HG as bm,k0 as bn,cX as bo,Xm as bp,Ow as bq,XW as br,fX as bs,pX as bt,qa as bu,NQ as bv,$Q as bw,iQ as bx,aQ as by,j2 as bz,z as c,nX as c$,Ub as c0,_z as c1,pi as c2,xe as c3,VX as c4,HX as c5,qX as c6,_C as c7,Dd as c8,IS as c9,ZQ as cA,rV as cB,nV as cC,T0 as cD,yr as cE,hK as cF,E$ as cG,Wa as cH,Os as cI,rF as cJ,Td as cK,Cw as cL,WQ as cM,KQ as cN,_R as cO,yX as cP,xr as cQ,cC as cR,FX as cS,sX as cT,rX as cU,Yr as cV,wF as cW,UP as cX,EF as cY,_l as cZ,lX as c_,vS as ca,O0 as cb,$X as cc,CX as cd,OX as ce,RX as cf,RC as cg,Vc as ch,P_ as ci,VC as cj,uJ as ck,Mc as cl,N0 as cm,_H as cn,_X as co,rU as cp,vF as cq,kX as cr,DX as cs,jk as ct,PW as cu,mQ as cv,nZ as cw,XQ as cx,QQ as cy,gF as cz,xs as d,aX as d0,wX as d1,iX as d2,vX as d3,bX as d4,oX as d5,gX as d6,MX as d7,EX as d8,qQ as d9,WX as dA,YX as dB,j_ as dC,m2 as dD,YO as dE,di as dF,lQ as dG,hO as dH,gc as dI,rd as dJ,lO as dK,PX as dL,eX as da,KX as db,LX as dc,vz as dd,ZX as de,Zt as df,yF as dg,JQ as dh,_Q as di,SX as dj,GQ as dk,nU as dl,NC as dm,YQ as dn,oZ as dp,eQ as dq,JX as dr,eZ as ds,tZ as dt,xX as du,tX as dv,Qr as dw,GX as dx,XX as dy,QX as dz,Ls as e,xC as f,wr as g,U as h,b0 as i,ge as j,Q as k,gR as l,Kt as m,Le as n,Y as o,hz as p,st as q,me as r,wt as s,br as t,Jt as u,Be as v,et as w,yz as x,dt as y,se 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.