const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-sZTlNwPP.js","assets/index-CbygINzJ.js","assets/index-DfkBlRfh.js","assets/index-YJItBjGF.js","assets/index-CmZpnEbp.js","assets/index-C8AaOmmy.js","assets/index-DSvCzBa-.js","assets/index-DPc2oKzv.js","assets/index-C2f0TCv4.js","assets/index-DvEOu5zo.js","assets/index-DUEPpHkh.js","assets/index-CF2Iv0G-.js","assets/AlertTest-DuoUAhwb.js","assets/VContainer-COvHCnXJ.js","assets/VContainer-B8tllESB.css","assets/Index-Cpx3y69Z.js","assets/useComprovaBet-BC3OncFM.js","assets/localDateToApi-CRdT3-fH.js","assets/Index-O7UuZYaP.css","assets/Favorites-CWRHXNSk.js","assets/Index.vue_vue_type_script_setup_true_lang-BZPGjRJE.js","assets/Index.vue_vue_type_script_setup_true_lang-eoQh5PjQ.js","assets/Index-DdZYGK_V.css","assets/Index.vue_vue_type_script_setup_true_lang-D_beMPZ0.js","assets/Index-B1YI_KxN.js","assets/Index-CSdb_p_i.css","assets/Index-CKzxztFX.js","assets/Index.vue_vue_type_script_setup_true_lang-BxgAyA9n.js","assets/GameSearchInput.vue_vue_type_script_setup_true_lang-pdOUkKu5.js","assets/Index.vue_vue_type_script_setup_true_lang-B2sEhv-d.js","assets/VCheckbox-Dc8-Q04r.js","assets/VCheckbox-DXrFno_w.css","assets/Index-DAn6z-YZ.css","assets/useCasinoGameListing-CWX0_nxd.js","assets/_Slug_-BvX_w7tb.js","assets/useCategoryGames-2RXfJpFf.js","assets/useBreadcrumbTail-BocVUdDl.js","assets/FavoritesTest-BeEMbwq1.js","assets/Index-D7HOUml7.js","assets/useProviders-CUqQczNI.js","assets/Index-KjXmmo7X.css","assets/IpBlockedVpnTest-DQs3NvDu.js","assets/ModalTest-BtRD-vc1.js","assets/Index-CrrqY5U_.js","assets/regulation-CS-h2q26.js","assets/VSnackbar-xwCaSF_V.js","assets/VSnackbar-qip3ajrN.css","assets/Index-Dx01XbOY.css","assets/VRow-DA1H4v-c.js","assets/VRow-kMKZEF44.css","assets/VTable-Ck3-lsKR.js","assets/VTable-BTui1tPX.css","assets/ModalTest-D19WD02a.css","assets/Index-B6xUJD03.js","assets/Index-B6Fb8rcW.css","assets/_Slug_-rc-4k_4Y.js","assets/_Slug_-BBS7Fvou.css","assets/Index-CJgF8Nnt.js","assets/_Slug_-BnLTgEIK.js","assets/PrudentialLimitsTest-C5TuXyQN.js","assets/Recover-DwScfjb6.js","assets/Recover-CUG7nWyO.css","assets/RulesBetting-DSNd4osG.js","assets/RulesBetting-Dzr7xohy.css","assets/SessionExpiredTest-D7Pymou_.js","assets/_...page_-DH2suXBr.js","assets/Index.vue_vue_type_script_setup_true_lang-DQZVbsgB.js","assets/Index-CqTo5Opr.css","assets/_...page_-D4otOO6A.js","assets/Document-DfIBm18t.js","assets/Document-45calLcJ.css","assets/Index-BZfloqFM.js","assets/useFieldValidationState-_DLRh0GS.js","assets/useKycIdentityGate-CxYbV64X.js","assets/VOtpInput-D-44doke.js","assets/VOtpInput-BCjl8UlS.css","assets/VSkeletonLoader-Dz8CSAgu.js","assets/VSkeletonLoader-CgrrPycA.css","assets/Index-BLXpCm4g.css","assets/Password-DSXYEkMi.js","assets/Password-BHgKuSiF.css","assets/Index-BIqOl9yf.js","assets/useSmarticoMissions-BM_qt0PO.js","assets/resource-uqCJEdLZ.js","assets/useSmarticoShop-C7SXvDLi.js","assets/Index.vue_vue_type_script_setup_true_lang-gPvNzyro.js","assets/useSmarticoLevels-sMLTgsri.js","assets/index-rAbgEIAi.js","assets/Index.vue_vue_type_script_setup_true_lang-Ck9UGZ3a.js","assets/Index-ByNy-J9h.css","assets/MiniGames-CLejIti4.js","assets/Missions-5RBrgusK.js","assets/Missions-D-YamZnt.css","assets/Niveis-CCdK3OI3.js","assets/Niveis-13TQvrOt.css","assets/Shop-D9kIgi9I.js","assets/index-DH7iaS6b.js","assets/Shop-pCgvplt8.css","assets/Tournaments-DzSP2DFn.js","assets/Tournaments-CLg7lIox.css","assets/Index-6wm-VJV3.js","assets/Index-CAAO9xBZ.css","assets/Coupon-BVRrXK-P.js","assets/Coupon-DD6obXSv.css","assets/Index-_dDu1EOs.js","assets/Index-6mipS5aq.css","assets/Rewards-BJOPPvoH.js","assets/Rewards-Dl54xFs3.css","assets/Centralized-_Hoksob3.js","assets/Index.vue_vue_type_script_setup_true_lang-B_Y0GSWa.js","assets/protection.helpers-DUVEhOAV.js","assets/Exclusion-mR2gp9Jd.js","assets/Index-CJ8WSsr0.js","assets/Index-BHjmXfuk.css","assets/Index-0cGQoxfE.js","assets/Index-CCHfKBbz.js","assets/Index-BNl8Qi13.css","assets/Index-9x5wXpGz.css","assets/Suspension-CHd5JbtO.js","assets/AnnualStatement-B6SXl_B6.js","assets/Index-DD2R_xOx.js","assets/Index-DMONz3vV.js","assets/Index-Cx4A8L1W.css","assets/Index-Cj0aHgcy.js","assets/Index-CtOH1PUk.css","assets/VuetifyTest-bdT6aafE.js","assets/VuetifyTest-CDahLIja.css","assets/_Regulations_-Bk1Z6WUz.js","assets/_Id_-BXLEe7W8.js","assets/Index-ChWehV9_.js","assets/Index-BJSHsDU8.css","assets/_Name_-gZHW8gwX.js"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)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 n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();/** * @vue/shared v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Sf(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const tt={},Jr=[],_o=()=>{},zb=()=>!1,Fa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xf=e=>e.startsWith("onUpdate:"),It=Object.assign,kf=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ST=Object.prototype.hasOwnProperty,ot=(e,t)=>ST.call(e,t),Le=Array.isArray,Xr=e=>ja(e)==="[object Map]",Ql=e=>ja(e)==="[object Set]",tp=e=>ja(e)==="[object Date]",je=e=>typeof e=="function",bt=e=>typeof e=="string",Qn=e=>typeof e=="symbol",st=e=>e!==null&&typeof e=="object",Hb=e=>(st(e)||je(e))&&je(e.then)&&je(e.catch),Kb=Object.prototype.toString,ja=e=>Kb.call(e),xT=e=>ja(e).slice(8,-1),Wb=e=>ja(e)==="[object Object]",Ef=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zr=Sf(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ec=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},kT=/-\w/g,tn=ec(e=>e.replace(kT,t=>t.slice(1).toUpperCase())),ET=/\B([A-Z])/g,zo=ec(e=>e.replace(ET,"-$1").toLowerCase()),ys=ec(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zc=ec(e=>e?`on${ys(e)}`:""),rn=(e,t)=>!Object.is(e,t),Yi=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},ud=e=>{const t=parseFloat(e);return isNaN(t)?e:t},CT=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let np;const tc=()=>np||(np=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ee(e){if(Le(e)){const t={};for(let n=0;n{if(n){const o=n.split(TT);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function te(e){let t="";if(bt(e))t=e;else if(Le(e))for(let n=0;nnc(n,t))}const Jb=e=>!!(e&&e.__v_isRef===!0),z=e=>bt(e)?e:e==null?"":Le(e)||st(e)&&(e.toString===Kb||!je(e.toString))?Jb(e)?z(e.value):JSON.stringify(e,Xb,2):String(e),Xb=(e,t)=>Jb(t)?Xb(e,t.value):Xr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[Qc(o,s)+" =>"]=r,n),{})}:Ql(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qc(n))}:Qn(t)?Qc(t):st(t)&&!Le(t)&&!Wb(t)?String(t):t,Qc=(e,t="")=>{var n;return Qn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ht;class Zb{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ht,!t&&Ht&&(this.index=(Ht.scopes||(Ht.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Ht=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(ea){let t=ea;for(ea=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qs;){let t=Qs;for(Qs=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function ny(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function oy(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),Tf(o),LT(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function dd(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ry(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ry(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===va)||(e.globalVersion=va,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!dd(e))))return;e.flags|=2;const t=e.dep,n=ft,o=Xn;ft=e,Xn=!0;try{ny(e);const r=e.fn(e._value);(t.version===0||rn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ft=n,Xn=o,oy(e),e.flags&=-3}}function Tf(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Tf(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function LT(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xn=!0;const sy=[];function Fo(){sy.push(Xn),Xn=!1}function jo(){const e=sy.pop();Xn=e===void 0?!0:e}function op(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ft;ft=void 0;try{t()}finally{ft=n}}}let va=0;class DT{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rc{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ft||!Xn||ft===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ft)n=this.activeLink=new DT(ft,this),ft.deps?(n.prevDep=ft.depsTail,ft.depsTail.nextDep=n,ft.depsTail=n):ft.deps=ft.depsTail=n,ay(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=ft.depsTail,n.nextDep=void 0,ft.depsTail.nextDep=n,ft.depsTail=n,ft.deps===n&&(ft.deps=o)}return n}trigger(t){this.version++,va++,this.notify(t)}notify(t){Cf();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Af()}}}function ay(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)ay(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ml=new WeakMap,br=Symbol(""),fd=Symbol(""),ha=Symbol("");function Kt(e,t,n){if(Xn&&ft){let o=ml.get(e);o||ml.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new rc),r.map=o,r.key=n),r.track()}}function Oo(e,t,n,o,r,s){const a=ml.get(e);if(!a){va++;return}const i=l=>{l&&l.trigger()};if(Cf(),t==="clear")a.forEach(i);else{const l=Le(e),c=l&&Ef(n);if(l&&n==="length"){const u=Number(o);a.forEach((d,f)=>{(f==="length"||f===ha||!Qn(f)&&f>=u)&&i(d)})}else switch((n!==void 0||a.has(void 0))&&i(a.get(n)),c&&i(a.get(ha)),t){case"add":l?c&&i(a.get("length")):(i(a.get(br)),Xr(e)&&i(a.get(fd)));break;case"delete":l||(i(a.get(br)),Xr(e)&&i(a.get(fd)));break;case"set":Xr(e)&&i(a.get(br));break}}Af()}function VT(e,t){const n=ml.get(e);return n&&n.get(t)}function Lr(e){const t=Ve(e);return t===e?t:(Kt(t,"iterate",ha),Fn(e)?t:t.map(Bt))}function sc(e){return Kt(e=Ve(e),"iterate",ha),e}const MT={__proto__:null,[Symbol.iterator](){return tu(this,Symbol.iterator,Bt)},concat(...e){return Lr(this).concat(...e.map(t=>Le(t)?Lr(t):t))},entries(){return tu(this,"entries",e=>(e[1]=Bt(e[1]),e))},every(e,t){return Ao(this,"every",e,t,void 0,arguments)},filter(e,t){return Ao(this,"filter",e,t,n=>n.map(Bt),arguments)},find(e,t){return Ao(this,"find",e,t,Bt,arguments)},findIndex(e,t){return Ao(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ao(this,"findLast",e,t,Bt,arguments)},findLastIndex(e,t){return Ao(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ao(this,"forEach",e,t,void 0,arguments)},includes(...e){return nu(this,"includes",e)},indexOf(...e){return nu(this,"indexOf",e)},join(e){return Lr(this).join(e)},lastIndexOf(...e){return nu(this,"lastIndexOf",e)},map(e,t){return Ao(this,"map",e,t,void 0,arguments)},pop(){return $s(this,"pop")},push(...e){return $s(this,"push",e)},reduce(e,...t){return rp(this,"reduce",e,t)},reduceRight(e,...t){return rp(this,"reduceRight",e,t)},shift(){return $s(this,"shift")},some(e,t){return Ao(this,"some",e,t,void 0,arguments)},splice(...e){return $s(this,"splice",e)},toReversed(){return Lr(this).toReversed()},toSorted(e){return Lr(this).toSorted(e)},toSpliced(...e){return Lr(this).toSpliced(...e)},unshift(...e){return $s(this,"unshift",e)},values(){return tu(this,"values",Bt)}};function tu(e,t,n){const o=sc(e),r=o[t]();return o!==e&&!Fn(e)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.done||(s.value=n(s.value)),s}),r}const BT=Array.prototype;function Ao(e,t,n,o,r,s){const a=sc(e),i=a!==e&&!Fn(e),l=a[t];if(l!==BT[t]){const d=l.apply(e,s);return i?Bt(d):d}let c=n;a!==e&&(i?c=function(d,f){return n.call(this,Bt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=l.call(a,c,o);return i&&r?r(u):u}function rp(e,t,n,o){const r=sc(e);let s=n;return r!==e&&(Fn(e)?n.length>3&&(s=function(a,i,l){return n.call(this,a,i,l,e)}):s=function(a,i,l){return n.call(this,a,Bt(i),l,e)}),r[t](s,...o)}function nu(e,t,n){const o=Ve(e);Kt(o,"iterate",ha);const r=o[t](...n);return(r===-1||r===!1)&&Rf(n[0])?(n[0]=Ve(n[0]),o[t](...n)):r}function $s(e,t,n=[]){Fo(),Cf();const o=Ve(e)[t].apply(e,n);return Af(),jo(),o}const NT=Sf("__proto__,__v_isRef,__isVue"),iy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qn));function FT(e){Qn(e)||(e=String(e));const t=Ve(this);return Kt(t,"has",e),t.hasOwnProperty(e)}class ly{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?JT:fy:s?dy:uy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=Le(t);if(!r){let l;if(a&&(l=MT[n]))return l;if(n==="hasOwnProperty")return FT}const i=Reflect.get(t,n,ct(t)?t:o);if((Qn(n)?iy.has(n):NT(n))||(r||Kt(t,"get",n),s))return i;if(ct(i)){const l=a&&Ef(n)?i:i.value;return r&&st(l)?So(l):l}return st(i)?r?So(i):vt(i):i}}class cy extends ly{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const l=or(s);if(!Fn(o)&&!or(o)&&(s=Ve(s),o=Ve(o)),!Le(t)&&ct(s)&&!ct(o))return l||(s.value=o),!0}const a=Le(t)&&Ef(n)?Number(n)e,gi=e=>Reflect.getPrototypeOf(e);function KT(e,t,n){return function(...o){const r=this.__v_raw,s=Ve(r),a=Xr(s),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?md:t?pl:Bt;return!t&&Kt(s,"iterate",l?fd:br),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:i?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function bi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function WT(e,t){const n={get(r){const s=this.__v_raw,a=Ve(s),i=Ve(r);e||(rn(r,i)&&Kt(a,"get",r),Kt(a,"get",i));const{has:l}=gi(a),c=t?md:e?pl:Bt;if(l.call(a,r))return c(s.get(r));if(l.call(a,i))return c(s.get(i));s!==a&&s.get(r)},get size(){const r=this.__v_raw;return!e&&Kt(Ve(r),"iterate",br),r.size},has(r){const s=this.__v_raw,a=Ve(s),i=Ve(r);return e||(rn(r,i)&&Kt(a,"has",r),Kt(a,"has",i)),r===i?s.has(r):s.has(r)||s.has(i)},forEach(r,s){const a=this,i=a.__v_raw,l=Ve(i),c=t?md:e?pl:Bt;return!e&&Kt(l,"iterate",br),i.forEach((u,d)=>r.call(s,c(u),c(d),a))}};return It(n,e?{add:bi("add"),set:bi("set"),delete:bi("delete"),clear:bi("clear")}:{add(r){!t&&!Fn(r)&&!or(r)&&(r=Ve(r));const s=Ve(this);return gi(s).has.call(s,r)||(s.add(r),Oo(s,"add",r,r)),this},set(r,s){!t&&!Fn(s)&&!or(s)&&(s=Ve(s));const a=Ve(this),{has:i,get:l}=gi(a);let c=i.call(a,r);c||(r=Ve(r),c=i.call(a,r));const u=l.call(a,r);return a.set(r,s),c?rn(s,u)&&Oo(a,"set",r,s):Oo(a,"add",r,s),this},delete(r){const s=Ve(this),{has:a,get:i}=gi(s);let l=a.call(s,r);l||(r=Ve(r),l=a.call(s,r)),i&&i.call(s,r);const c=s.delete(r);return l&&Oo(s,"delete",r,void 0),c},clear(){const r=Ve(this),s=r.size!==0,a=r.clear();return s&&Oo(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=KT(r,e,t)}),n}function Pf(e,t){const n=WT(e,t);return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(ot(n,r)&&r in o?n:o,r,s)}const qT={get:Pf(!1,!1)},GT={get:Pf(!1,!0)},YT={get:Pf(!0,!1)};const uy=new WeakMap,dy=new WeakMap,fy=new WeakMap,JT=new WeakMap;function XT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ZT(e){return e.__v_skip||!Object.isExtensible(e)?0:XT(xT(e))}function vt(e){return or(e)?e:If(e,!1,UT,qT,uy)}function my(e){return If(e,!1,HT,GT,dy)}function So(e){return If(e,!0,zT,YT,fy)}function If(e,t,n,o,r){if(!st(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=ZT(e);if(s===0)return e;const a=r.get(e);if(a)return a;const i=new Proxy(e,s===2?o:n);return r.set(e,i),i}function wo(e){return or(e)?wo(e.__v_raw):!!(e&&e.__v_isReactive)}function or(e){return!!(e&&e.__v_isReadonly)}function Fn(e){return!!(e&&e.__v_isShallow)}function Rf(e){return e?!!e.__v_raw:!1}function Ve(e){const t=e&&e.__v_raw;return t?Ve(t):e}function ac(e){return!ot(e,"__v_skip")&&Object.isExtensible(e)&&qb(e,"__v_skip",!0),e}const Bt=e=>st(e)?vt(e):e,pl=e=>st(e)?So(e):e;function ct(e){return e?e.__v_isRef===!0:!1}function U(e){return py(e,!1)}function pe(e){return py(e,!0)}function py(e,t){return ct(e)?e:new QT(e,t)}class QT{constructor(t,n){this.dep=new rc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ve(t),this._value=n?t:Bt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Fn(t)||or(t);t=o?t:Ve(t),rn(t,n)&&(this._rawValue=t,this._value=o?t:Bt(t),this.dep.trigger())}}function C(e){return ct(e)?e.value:e}function it(e){return je(e)?e():C(e)}const eP={get:(e,t,n)=>t==="__v_raw"?e:C(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function vy(e){return wo(e)?e:new Proxy(e,eP)}class tP{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new rc,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function nP(e){return new tP(e)}function Of(e){const t=Le(e)?new Array(e.length):{};for(const n in e)t[n]=hy(e,n);return t}class oP{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return VT(Ve(this._object),this._key)}}class rP{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function K(e,t,n){return ct(e)?e:je(e)?new rP(e):st(e)&&arguments.length>1?hy(e,t,n):U(e)}function hy(e,t,n){const o=e[t];return ct(o)?o:new oP(e,t,n)}class sP{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=va-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return ty(this,!0),!0}get value(){const t=this.dep.track();return ry(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function aP(e,t,n=!1){let o,r;return je(e)?o=e:(o=e.get,r=e.set),new sP(o,r,n)}const yi={},vl=new WeakMap;let dr;function iP(e,t=!1,n=dr){if(n){let o=vl.get(n);o||vl.set(n,o=[]),o.push(e)}}function lP(e,t,n=tt){const{immediate:o,deep:r,once:s,scheduler:a,augmentJob:i,call:l}=n,c=g=>r?g:Fn(g)||r===!1||r===0?$o(g,1):$o(g);let u,d,f,m,p=!1,h=!1;if(ct(e)?(d=()=>e.value,p=Fn(e)):wo(e)?(d=()=>c(e),p=!0):Le(e)?(h=!0,p=e.some(g=>wo(g)||Fn(g)),d=()=>e.map(g=>{if(ct(g))return g.value;if(wo(g))return c(g);if(je(g))return l?l(g,2):g()})):je(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){Fo();try{f()}finally{jo()}}const g=dr;dr=u;try{return l?l(e,3,[m]):e(m)}finally{dr=g}}:d=_o,t&&r){const g=d,b=r===!0?1/0:r;d=()=>$o(g(),b)}const v=oc(),y=()=>{u.stop(),v&&v.active&&kf(v.effects,u)};if(s&&t){const g=t;t=(...b)=>{g(...b),y()}}let k=h?new Array(e.length).fill(yi):yi;const _=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const b=u.run();if(r||p||(h?b.some((S,E)=>rn(S,k[E])):rn(b,k))){f&&f();const S=dr;dr=u;try{const E=[b,k===yi?void 0:h&&k[0]===yi?[]:k,m];k=b,l?l(t,3,E):t(...E)}finally{dr=S}}}else u.run()};return i&&i(_),u=new Qb(d),u.scheduler=a?()=>a(_,!1):_,m=g=>iP(g,!1,u),f=u.onStop=()=>{const g=vl.get(u);if(g){if(l)l(g,4);else for(const b of g)b();vl.delete(u)}},t?o?_(!0):k=u.run():a?a(_.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function $o(e,t=1/0,n){if(t<=0||!st(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ct(e))$o(e.value,t,n);else if(Le(e))for(let o=0;o{$o(o,t,n)});else if(Wb(e)){for(const o in e)$o(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&$o(e[o],t,n)}return e}/** * @vue/runtime-core v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Ua(e,t,n,o){try{return o?e(...o):e()}catch(r){ic(r,t,n)}}function eo(e,t,n,o){if(je(e)){const r=Ua(e,t,n,o);return r&&Hb(r)&&r.catch(s=>{ic(s,t,n)}),r}if(Le(e)){const r=[];for(let s=0;s>>1,r=en[o],s=ga(r);s=ga(n)?en.push(e):en.splice(uP(t),0,e),e.flags|=1,by()}}function by(){hl||(hl=gy.then(yy))}function dP(e){Le(e)?Qr.push(...e):Xo&&e.id===-1?Xo.splice(Hr+1,0,e):e.flags&1||(Qr.push(e),e.flags|=1),by()}function sp(e,t,n=vo+1){for(;nga(n)-ga(o));if(Qr.length=0,Xo){Xo.push(...t);return}for(Xo=t,Hr=0;Hre.id==null?e.flags&2?-1:1/0:e.id;function yy(e){try{for(vo=0;vo{o._d&&Sl(-1);const s=bl(t);let a;try{a=e(...r)}finally{bl(s),o._d&&Sl(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function St(e,t){if(Ft===null)return e;const n=mc(Ft),o=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,ta=e=>e&&(e.disabled||e.disabled===""),ap=e=>e&&(e.defer||e.defer===""),ip=e=>typeof SVGElement<"u"&&e instanceof SVGElement,lp=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pd=(e,t)=>{const n=e&&e.to;return bt(n)?t?t(n):null:n},xy={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,s,a,i,l,c){const{mc:u,pc:d,pbc:f,o:{insert:m,querySelector:p,createText:h,createComment:v}}=c,y=ta(t.props);let{shapeFlag:k,children:_,dynamicChildren:g}=t;if(e==null){const b=t.el=h(""),S=t.anchor=h("");m(b,n,o),m(S,n,o);const E=(R,L)=>{k&16&&u(_,R,L,r,s,a,i,l)},O=()=>{const R=t.target=pd(t.props,p),L=ky(R,t,h,m);R&&(a!=="svg"&&ip(R)?a="svg":a!=="mathml"&&lp(R)&&(a="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(R),y||(E(R,L),Ji(t,!1)))};y&&(E(n,S),Ji(t,!0)),ap(t.props)?(t.el.__isMounted=!1,Qt(()=>{O(),delete t.el.__isMounted},s)):O()}else{if(ap(t.props)&&e.el.__isMounted===!1){Qt(()=>{xy.process(e,t,n,o,r,s,a,i,l,c)},s);return}t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor,O=ta(e.props),R=O?n:S,L=O?b:E;if(a==="svg"||ip(S)?a="svg":(a==="mathml"||lp(S))&&(a="mathml"),g?(f(e.dynamicChildren,g,R,r,s,a,i),jf(e,t,!0)):l||d(e,t,R,L,r,s,a,i,!1),y)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_i(t,n,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=pd(t.props,p);D&&_i(t,D,null,c,0)}else O&&_i(t,S,E,c,1);Ji(t,y)}},remove(e,t,n,{um:o,o:{remove:r}},s){const{shapeFlag:a,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),s&&r(l),a&16){const m=s||!ta(f);for(let p=0;p{e.isMounted=!0}),gt(()=>{e.isUnmounting=!0}),e}const $n=[Function,Array],Cy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$n,onEnter:$n,onAfterEnter:$n,onEnterCancelled:$n,onBeforeLeave:$n,onLeave:$n,onAfterLeave:$n,onLeaveCancelled:$n,onBeforeAppear:$n,onAppear:$n,onAfterAppear:$n,onAppearCancelled:$n},Ay=e=>{const t=e.subTree;return t.component?Ay(t.component):t},pP={name:"BaseTransition",props:Cy,setup(e,{slots:t}){const n=zn(),o=Ey();return()=>{const r=t.default&&Lf(t.default(),!0);if(!r||!r.length)return;const s=Ty(r),a=Ve(e),{mode:i}=a;if(o.isLeaving)return ou(s);const l=cp(s);if(!l)return ou(s);let c=ba(l,a,o,n,d=>c=d);l.type!==Lt&&Er(l,c);let u=n.subTree&&cp(n.subTree);if(u&&u.type!==Lt&&!fr(u,l)&&Ay(n).type!==Lt){let d=ba(u,a,o,n);if(Er(u,d),i==="out-in"&&l.type!==Lt)return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},ou(s);i==="in-out"&&l.type!==Lt?d.delayLeave=(f,m,p)=>{const h=Py(o,u);h[String(u.key)]=u,f[Ro]=()=>{m(),f[Ro]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function Ty(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Lt){t=n;break}}return t}const vP=pP;function Py(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function ba(e,t,n,o,r){const{appear:s,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:v,onAppear:y,onAfterAppear:k,onAppearCancelled:_}=t,g=String(e.key),b=Py(n,e),S=(R,L)=>{R&&eo(R,o,9,L)},E=(R,L)=>{const D=L[1];S(R,L),Le(R)?R.every(I=>I.length<=1)&&D():R.length<=1&&D()},O={mode:a,persisted:i,beforeEnter(R){let L=l;if(!n.isMounted)if(s)L=v||l;else return;R[Ro]&&R[Ro](!0);const D=b[g];D&&fr(e,D)&&D.el[Ro]&&D.el[Ro](),S(L,[R])},enter(R){let L=c,D=u,I=d;if(!n.isMounted)if(s)L=y||c,D=k||u,I=_||d;else return;let V=!1;const Y=R[wi]=H=>{V||(V=!0,H?S(I,[R]):S(D,[R]),O.delayedLeave&&O.delayedLeave(),R[wi]=void 0)};L?E(L,[R,Y]):Y()},leave(R,L){const D=String(e.key);if(R[wi]&&R[wi](!0),n.isUnmounting)return L();S(f,[R]);let I=!1;const V=R[Ro]=Y=>{I||(I=!0,L(),Y?S(h,[R]):S(p,[R]),R[Ro]=void 0,b[D]===e&&delete b[D])};b[D]=e,m?E(m,[R,V]):V()},clone(R){const L=ba(R,t,n,o,r);return r&&r(L),L}};return O}function ou(e){if(lc(e))return e=Uo(e),e.children=null,e}function cp(e){if(!lc(e))return Sy(e.type)&&e.children?Ty(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&je(n.default))return n.default()}}function Er(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Er(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Lf(e,t=!1,n){let o=[],r=0;for(let s=0;s1)for(let s=0;ses(p,t&&(Le(t)?t[h]:t),n,o,r));return}if(yr(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&es(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?mc(o.component):o.el,a=r?null:s,{i,r:l}=e,c=t&&t.r,u=i.refs===tt?i.refs={}:i.refs,d=i.setupState,f=Ve(d),m=d===tt?zb:p=>ot(f,p);if(c!=null&&c!==l){if(up(t),bt(c))u[c]=null,m(c)&&(d[c]=null);else if(ct(c)){c.value=null;const p=t;p.k&&(u[p.k]=null)}}if(je(l))Ua(l,i,12,[a,u]);else{const p=bt(l),h=ct(l);if(p||h){const v=()=>{if(e.f){const y=p?m(l)?d[l]:u[l]:l.value;if(r)Le(y)&&kf(y,s);else if(Le(y))y.includes(s)||y.push(s);else if(p)u[l]=[s],m(l)&&(d[l]=u[l]);else{const k=[s];l.value=k,e.k&&(u[e.k]=k)}}else p?(u[l]=a,m(l)&&(d[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};if(a){const y=()=>{v(),yl.delete(e)};y.id=-1,yl.set(e,y),Qt(y,n)}else up(e),v()}}}function up(e){const t=yl.get(e);t&&(t.flags|=8,yl.delete(e))}let dp=!1;const Dr=()=>{dp||(console.error("Hydration completed but contains mismatches."),dp=!0)},hP=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",gP=e=>e.namespaceURI.includes("MathML"),Si=e=>{if(e.nodeType===1){if(hP(e))return"svg";if(gP(e))return"mathml"}},xi=e=>e.nodeType===8;function bP(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:s,parentNode:a,remove:i,insert:l,createComment:c}}=e,u=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),gl(),g._vnode=_;return}d(g.firstChild,_,null,null,null),gl(),g._vnode=_},d=(_,g,b,S,E,O=!1)=>{O=O||!!g.dynamicChildren;const R=xi(_)&&_.data==="[",L=()=>h(_,g,b,S,E,R),{type:D,ref:I,shapeFlag:V,patchFlag:Y}=g;let H=_.nodeType;g.el=_,Y===-2&&(O=!1,g.dynamicChildren=null);let N=null;switch(D){case Bo:H!==3?g.children===""?(l(g.el=r(""),a(_),_),N=_):N=L():(_.data!==g.children&&(Dr(),_.data=g.children),N=s(_));break;case Lt:k(_)?(N=s(_),y(g.el=_.content.firstChild,_,b)):H!==8||R?N=L():N=s(_);break;case oa:if(R&&(_=s(_),H=_.nodeType),H===1||H===3){N=_;const J=!g.children.length;for(let Q=0;Q{O=O||!!g.dynamicChildren;const{type:R,props:L,patchFlag:D,shapeFlag:I,dirs:V,transition:Y}=g,H=R==="input"||R==="option";if(H||D!==-1){V&&ho(g,null,b,"created");let N=!1;if(k(_)){N=Yy(null,Y)&&b&&b.vnode.props&&b.vnode.props.appear;const Q=_.content.firstChild;if(N){const X=Q.getAttribute("class");X&&(Q.$cls=X),Y.beforeEnter(Q)}y(Q,_,b),g.el=_=Q}if(I&16&&!(L&&(L.innerHTML||L.textContent))){let Q=m(_.firstChild,g,_,b,S,E,O);for(;Q;){ki(_,1)||Dr();const X=Q;Q=Q.nextSibling,i(X)}}else if(I&8){let Q=g.children;Q[0]===` `&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(Q=Q.slice(1)),_.textContent!==Q&&(ki(_,0)||Dr(),_.textContent=g.children)}if(L){if(H||!O||D&48){const Q=_.tagName.includes("-");for(const X in L)(H&&(X.endsWith("value")||X==="indeterminate")||Fa(X)&&!Zr(X)||X[0]==="."||Q)&&o(_,X,null,L[X],void 0,b)}else if(L.onClick)o(_,"onClick",null,L.onClick,void 0,b);else if(D&4&&wo(L.style))for(const Q in L.style)L.style[Q]}let J;(J=L&&L.onVnodeBeforeMount)&&Dn(J,b,g),V&&ho(g,null,b,"beforeMount"),((J=L&&L.onVnodeMounted)||V||N)&&n_(()=>{J&&Dn(J,b,g),N&&Y.enter(_),V&&ho(g,null,b,"mounted")},S)}return _.nextSibling},m=(_,g,b,S,E,O,R)=>{R=R||!!g.dynamicChildren;const L=g.children,D=L.length;for(let I=0;I{const{slotScopeIds:R}=g;R&&(E=E?E.concat(R):R);const L=a(_),D=m(s(_),g,L,b,S,E,O);return D&&xi(D)&&D.data==="]"?s(g.anchor=D):(Dr(),l(g.anchor=c("]"),L,D),D)},h=(_,g,b,S,E,O)=>{if(ki(_.parentElement,1)||Dr(),g.el=null,O){const D=v(_);for(;;){const I=s(_);if(I&&I!==D)i(I);else break}}const R=s(_),L=a(_);return i(_),n(null,g,L,R,b,S,Si(L),E),b&&(b.vnode.el=g.el,e_(b,g.el)),R},v=(_,g="[",b="]")=>{let S=0;for(;_;)if(_=s(_),_&&xi(_)&&(_.data===g&&S++,_.data===b)){if(S===0)return s(_);S--}return _},y=(_,g,b)=>{const S=g.parentNode;S&&S.replaceChild(_,g);let E=b;for(;E;)E.vnode.el===g&&(E.vnode.el=E.subTree.el=_),E=E.parent},k=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[u,d]}const fp="data-allow-mismatch",yP={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ki(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(fp);)e=e.parentElement;const n=e&&e.getAttribute(fp);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(yP[t])}}tc().requestIdleCallback;tc().cancelIdleCallback;const yr=e=>!!e.type.__asyncLoader,lc=e=>e.type.__isKeepAlive;function Df(e,t){Ry(e,"a",t)}function cc(e,t){Ry(e,"da",t)}function Ry(e,t,n=qt){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(uc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)lc(r.parent.vnode)&&_P(o,t,n,r),r=r.parent}}function _P(e,t,n,o){const r=uc(t,e,o,!0);xo(()=>{kf(o[t],r)},n)}function uc(e,t,n=qt,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Fo();const i=Ha(n),l=eo(t,n,e,a);return i(),jo(),l});return o?r.unshift(s):r.push(s),s}}const Ho=e=>(t,n=qt)=>{(!wa||e==="sp")&&uc(e,(...o)=>t(...o),n)},za=Ho("bm"),ut=Ho("m"),wP=Ho("bu"),Vf=Ho("u"),gt=Ho("bum"),xo=Ho("um"),Oy=Ho("sp"),SP=Ho("rtg"),xP=Ho("rtc");function kP(e,t=qt){uc("ec",e,t)}const Mf="components",EP="directives";function Tn(e,t){return Bf(Mf,e,!0,t)||e}const $y=Symbol.for("v-ndc");function ya(e){return bt(e)?Bf(Mf,e,!1)||e:e||$y}function Ly(e){return Bf(EP,e)}function Bf(e,t,n=!0,o=!1){const r=Ft||qt;if(r){const s=r.type;if(e===Mf){const i=cI(s,!1);if(i&&(i===t||i===tn(t)||i===ys(tn(t))))return s}const a=mp(r[e]||s[e],t)||mp(r.appContext[e],t);return!a&&o?s:a}}function mp(e,t){return e&&(e[t]||e[tn(t)]||e[ys(tn(t))])}function Wt(e,t,n,o){let r;const s=n,a=Le(e);if(a||bt(e)){const i=a&&wo(e);let l=!1,c=!1;i&&(l=!Fn(e),c=or(e),e=sc(e)),r=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,s));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l{const s=o.fn(...r);return s&&(s.key=o.key),s}:o.fn)}return e}function Nn(e,t,n={},o,r){if(Ft.ce||Ft.parent&&yr(Ft.parent)&&Ft.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),B(),ge(xe,null,[x("slot",n,o&&o())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),B();const a=s&&Dy(s(n)),i=n.key||a&&a.key,l=ge(xe,{key:(i&&!Qn(i)?i:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Dy(e){return e.some(t=>ls(t)?!(t.type===Lt||t.type===xe&&!Dy(t.children)):!0)?e:null}const vd=e=>e?s_(e)?mc(e):vd(e.parent):null,na=It(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vd(e.parent),$root:e=>vd(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>By(e),$forceUpdate:e=>e.f||(e.f=()=>{$f(e.update)}),$nextTick:e=>e.n||(e.n=Je.bind(e.proxy)),$watch:e=>qP.bind(e)}),ru=(e,t)=>e!==tt&&!e.__isScriptSetup&&ot(e,t),CP={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:s,accessCache:a,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(ru(o,t))return a[t]=1,o[t];if(r!==tt&&ot(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&ot(c,t))return a[t]=3,s[t];if(n!==tt&&ot(n,t))return a[t]=4,n[t];hd&&(a[t]=0)}}const u=na[t];let d,f;if(u)return t==="$attrs"&&Kt(e.attrs,"get",""),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==tt&&ot(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,ot(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return ru(r,t)?(r[t]=n,!0):o!==tt&&ot(o,t)?(o[t]=n,!0):ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s,type:a}},i){let l,c;return!!(n[i]||e!==tt&&i[0]!=="$"&&ot(e,i)||ru(t,i)||(l=s[0])&&ot(l,i)||ot(o,i)||ot(na,i)||ot(r.config.globalProperties,i)||(c=a.__cssModules)&&c[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ot(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vy(){return AP().slots}function AP(e){const t=zn();return t.setupContext||(t.setupContext=i_(t))}function _l(e){return Le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function FJ(e,t){return!e||!t?e||t:Le(e)&&Le(t)?e.concat(t):It({},_l(e),_l(t))}let hd=!0;function TP(e){const t=By(e),n=e.proxy,o=e.ctx;hd=!1,t.beforeCreate&&pp(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:m,updated:p,activated:h,deactivated:v,beforeDestroy:y,beforeUnmount:k,destroyed:_,unmounted:g,render:b,renderTracked:S,renderTriggered:E,errorCaptured:O,serverPrefetch:R,expose:L,inheritAttrs:D,components:I,directives:V,filters:Y}=t;if(c&&PP(c,o,null),a)for(const J in a){const Q=a[J];je(Q)&&(o[J]=Q.bind(n))}if(r){const J=r.call(n,n);st(J)&&(e.data=vt(J))}if(hd=!0,s)for(const J in s){const Q=s[J],X=je(Q)?Q.bind(n,n):je(Q.get)?Q.get.bind(n,n):_o,F=!je(Q)&&je(Q.set)?Q.set.bind(n):_o,j=A({get:X,set:F});Object.defineProperty(o,J,{enumerable:!0,configurable:!0,get:()=>j.value,set:W=>j.value=W})}if(i)for(const J in i)My(i[J],o,n,J);if(l){const J=je(l)?l.call(n):l;Reflect.ownKeys(J).forEach(Q=>{yt(Q,J[Q])})}u&&pp(u,e,"c");function N(J,Q){Le(Q)?Q.forEach(X=>J(X.bind(n))):Q&&J(Q.bind(n))}if(N(za,d),N(ut,f),N(wP,m),N(Vf,p),N(Df,h),N(cc,v),N(kP,O),N(xP,S),N(SP,E),N(gt,k),N(xo,g),N(Oy,R),Le(L))if(L.length){const J=e.exposed||(e.exposed={});L.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>n[Q],set:X=>n[Q]=X,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===_o&&(e.render=b),D!=null&&(e.inheritAttrs=D),I&&(e.components=I),V&&(e.directives=V),R&&Iy(e)}function PP(e,t,n=_o){Le(e)&&(e=gd(e));for(const o in e){const r=e[o];let s;st(r)?"default"in r?s=Ue(r.from||o,r.default,!0):s=Ue(r.from||o):s=Ue(r),ct(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function pp(e,t,n){eo(Le(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function My(e,t,n,o){let r=o.includes(".")?Xy(n,o):()=>n[o];if(bt(e)){const s=t[e];je(s)&&le(r,s)}else if(je(e))le(r,e.bind(n));else if(st(e))if(Le(e))e.forEach(s=>My(s,t,n,o));else{const s=je(e.handler)?e.handler.bind(n):t[e.handler];je(s)&&le(r,s,e)}}function By(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let l;return i?l=i:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>wl(l,c,a,!0)),wl(l,t,a)),st(t)&&s.set(t,l),l}function wl(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&wl(e,s,n,!0),r&&r.forEach(a=>wl(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const i=IP[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const IP={data:vp,props:hp,emits:hp,methods:qs,computed:qs,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:qs,directives:qs,watch:OP,provide:vp,inject:RP};function vp(e,t){return t?e?function(){return It(je(e)?e.call(this,this):e,je(t)?t.call(this,this):t)}:t:e}function RP(e,t){return qs(gd(e),gd(t))}function gd(e){if(Le(e)){const t={};for(let n=0;n1)return n&&je(t)?t.call(o&&o.proxy):t}}function Fy(){return!!(zn()||_r)}const jy={},Uy=()=>Object.create(jy),zy=e=>Object.getPrototypeOf(e)===jy;function DP(e,t,n,o=!1){const r={},s=Uy();e.propsDefaults=Object.create(null),Hy(e,t,r,s);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:my(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function VP(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:a}}=e,i=Ve(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,m]=Ky(d,t,!0);It(a,f),m&&i.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return st(e)&&o.set(e,Jr),Jr;if(Le(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ff=e=>Le(e)?e.map(Vn):[Vn(e)],BP=(e,t,n)=>{if(t._n)return t;const o=q((...r)=>Ff(t(...r)),n);return o._c=!1,o},Wy=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Nf(r))continue;const s=e[r];if(je(s))t[r]=BP(r,s,o);else if(s!=null){const a=Ff(s);t[r]=()=>a}}},qy=(e,t)=>{const n=Ff(t);e.slots.default=()=>n},Gy=(e,t,n)=>{for(const o in t)(n||!Nf(o))&&(e[o]=t[o])},NP=(e,t,n)=>{const o=e.slots=Uy();if(e.vnode.shapeFlag&32){const r=t._;r?(Gy(o,t,n),n&&qb(o,"_",r,!0)):Wy(t,o)}else t&&qy(e,t)},FP=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,a=tt;if(o.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:Gy(r,t,n):(s=!t.$stable,Wy(t,r)),a=t}else t&&(qy(e,t),a={default:1});if(s)for(const i in r)!Nf(i)&&a[i]==null&&delete r[i]},Qt=n_;function jP(e){return UP(e,bP)}function UP(e,t){const n=tc();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:m=_o,insertStaticContent:p}=e,h=(P,$,G,ce=null,re=null,ue=null,ve=void 0,se=null,me=!!$.dynamicChildren)=>{if(P===$)return;P&&!fr(P,$)&&(ce=ne(P),W(P,re,ue,!0),P=null),$.patchFlag===-2&&(me=!1,$.dynamicChildren=null);const{type:ie,ref:Ie,shapeFlag:we}=$;switch(ie){case Bo:v(P,$,G,ce);break;case Lt:y(P,$,G,ce);break;case oa:P==null&&k($,G,ce,ve);break;case xe:I(P,$,G,ce,re,ue,ve,se,me);break;default:we&1?b(P,$,G,ce,re,ue,ve,se,me):we&6?V(P,$,G,ce,re,ue,ve,se,me):(we&64||we&128)&&ie.process(P,$,G,ce,re,ue,ve,se,me,Se)}Ie!=null&&re?es(Ie,P&&P.ref,ue,$||P,!$):Ie==null&&P&&P.ref!=null&&es(P.ref,null,ue,P,!0)},v=(P,$,G,ce)=>{if(P==null)o($.el=i($.children),G,ce);else{const re=$.el=P.el;$.children!==P.children&&c(re,$.children)}},y=(P,$,G,ce)=>{P==null?o($.el=l($.children||""),G,ce):$.el=P.el},k=(P,$,G,ce)=>{[P.el,P.anchor]=p(P.children,$,G,ce,P.el,P.anchor)},_=({el:P,anchor:$},G,ce)=>{let re;for(;P&&P!==$;)re=f(P),o(P,G,ce),P=re;o($,G,ce)},g=({el:P,anchor:$})=>{let G;for(;P&&P!==$;)G=f(P),r(P),P=G;r($)},b=(P,$,G,ce,re,ue,ve,se,me)=>{$.type==="svg"?ve="svg":$.type==="math"&&(ve="mathml"),P==null?S($,G,ce,re,ue,ve,se,me):R(P,$,re,ue,ve,se,me)},S=(P,$,G,ce,re,ue,ve,se)=>{let me,ie;const{props:Ie,shapeFlag:we,transition:Re,dirs:$e}=P;if(me=P.el=a(P.type,ue,Ie&&Ie.is,Ie),we&8?u(me,P.children):we&16&&O(P.children,me,null,ce,re,su(P,ue),ve,se),$e&&ho(P,null,ce,"created"),E(me,P,P.scopeId,ve,ce),Ie){for(const dt in Ie)dt!=="value"&&!Zr(dt)&&s(me,dt,null,Ie[dt],ue,ce);"value"in Ie&&s(me,"value",null,Ie.value,ue),(ie=Ie.onVnodeBeforeMount)&&Dn(ie,ce,P)}$e&&ho(P,null,ce,"beforeMount");const Xe=Yy(re,Re);Xe&&Re.beforeEnter(me),o(me,$,G),((ie=Ie&&Ie.onVnodeMounted)||Xe||$e)&&Qt(()=>{ie&&Dn(ie,ce,P),Xe&&Re.enter(me),$e&&ho(P,null,ce,"mounted")},re)},E=(P,$,G,ce,re)=>{if(G&&m(P,G),ce)for(let ue=0;ue{for(let ie=me;ie{const se=$.el=P.el;let{patchFlag:me,dynamicChildren:ie,dirs:Ie}=$;me|=P.patchFlag&16;const we=P.props||tt,Re=$.props||tt;let $e;if(G&&ir(G,!1),($e=Re.onVnodeBeforeUpdate)&&Dn($e,G,$,P),Ie&&ho($,P,G,"beforeUpdate"),G&&ir(G,!0),(we.innerHTML&&Re.innerHTML==null||we.textContent&&Re.textContent==null)&&u(se,""),ie?L(P.dynamicChildren,ie,se,G,ce,su($,re),ue):ve||Q(P,$,se,null,G,ce,su($,re),ue,!1),me>0){if(me&16)D(se,we,Re,G,re);else if(me&2&&we.class!==Re.class&&s(se,"class",null,Re.class,re),me&4&&s(se,"style",we.style,Re.style,re),me&8){const Xe=$.dynamicProps;for(let dt=0;dt{$e&&Dn($e,G,$,P),Ie&&ho($,P,G,"updated")},ce)},L=(P,$,G,ce,re,ue,ve)=>{for(let se=0;se<$.length;se++){const me=P[se],ie=$[se],Ie=me.el&&(me.type===xe||!fr(me,ie)||me.shapeFlag&198)?d(me.el):G;h(me,ie,Ie,null,ce,re,ue,ve,!0)}},D=(P,$,G,ce,re)=>{if($!==G){if($!==tt)for(const ue in $)!Zr(ue)&&!(ue in G)&&s(P,ue,$[ue],null,re,ce);for(const ue in G){if(Zr(ue))continue;const ve=G[ue],se=$[ue];ve!==se&&ue!=="value"&&s(P,ue,se,ve,re,ce)}"value"in G&&s(P,"value",$.value,G.value,re)}},I=(P,$,G,ce,re,ue,ve,se,me)=>{const ie=$.el=P?P.el:i(""),Ie=$.anchor=P?P.anchor:i("");let{patchFlag:we,dynamicChildren:Re,slotScopeIds:$e}=$;$e&&(se=se?se.concat($e):$e),P==null?(o(ie,G,ce),o(Ie,G,ce),O($.children||[],G,Ie,re,ue,ve,se,me)):we>0&&we&64&&Re&&P.dynamicChildren?(L(P.dynamicChildren,Re,G,re,ue,ve,se),($.key!=null||re&&$===re.subTree)&&jf(P,$,!0)):Q(P,$,G,Ie,re,ue,ve,se,me)},V=(P,$,G,ce,re,ue,ve,se,me)=>{$.slotScopeIds=se,P==null?$.shapeFlag&512?re.ctx.activate($,G,ce,ve,me):Y($,G,ce,re,ue,ve,me):H(P,$,me)},Y=(P,$,G,ce,re,ue,ve)=>{const se=P.component=sI(P,ce,re);if(lc(P)&&(se.ctx.renderer=Se),aI(se,!1,ve),se.asyncDep){if(re&&re.registerDep(se,N,ve),!P.el){const me=se.subTree=x(Lt);y(null,me,$,G),P.placeholder=me.el}}else N(se,P,$,G,re,ue,ve)},H=(P,$,G)=>{const ce=$.component=P.component;if(QP(P,$,G))if(ce.asyncDep&&!ce.asyncResolved){J(ce,$,G);return}else ce.next=$,ce.update();else $.el=P.el,ce.vnode=$},N=(P,$,G,ce,re,ue,ve)=>{const se=()=>{if(P.isMounted){let{next:we,bu:Re,u:$e,parent:Xe,vnode:dt}=P;{const gn=Jy(P);if(gn){we&&(we.el=dt.el,J(P,we,ve)),gn.asyncDep.then(()=>{P.isUnmounted||se()});return}}let rt=we,on;ir(P,!1),we?(we.el=dt.el,J(P,we,ve)):we=dt,Re&&Yi(Re),(on=we.props&&we.props.onVnodeBeforeUpdate)&&Dn(on,Xe,we,dt),ir(P,!0);const zt=au(P),Yn=P.subTree;P.subTree=zt,h(Yn,zt,d(Yn.el),ne(Yn),P,re,ue),we.el=zt.el,rt===null&&e_(P,zt.el),$e&&Qt($e,re),(on=we.props&&we.props.onVnodeUpdated)&&Qt(()=>Dn(on,Xe,we,dt),re)}else{let we;const{el:Re,props:$e}=$,{bm:Xe,m:dt,parent:rt,root:on,type:zt}=P,Yn=yr($);if(ir(P,!1),Xe&&Yi(Xe),!Yn&&(we=$e&&$e.onVnodeBeforeMount)&&Dn(we,rt,$),ir(P,!0),Re&&Pe){const gn=()=>{P.subTree=au(P),Pe(Re,P.subTree,P,re,null)};Yn&&zt.__asyncHydrate?zt.__asyncHydrate(Re,P,gn):gn()}else{on.ce&&on.ce._def.shadowRoot!==!1&&on.ce._injectChildStyle(zt);const gn=P.subTree=au(P);h(null,gn,G,ce,P,re,ue),$.el=gn.el}if(dt&&Qt(dt,re),!Yn&&(we=$e&&$e.onVnodeMounted)){const gn=$;Qt(()=>Dn(we,rt,gn),re)}($.shapeFlag&256||rt&&yr(rt.vnode)&&rt.vnode.shapeFlag&256)&&P.a&&Qt(P.a,re),P.isMounted=!0,$=G=ce=null}};P.scope.on();const me=P.effect=new Qb(se);P.scope.off();const ie=P.update=me.run.bind(me),Ie=P.job=me.runIfDirty.bind(me);Ie.i=P,Ie.id=P.uid,me.scheduler=()=>$f(Ie),ir(P,!0),ie()},J=(P,$,G)=>{$.component=P;const ce=P.vnode.props;P.vnode=$,P.next=null,VP(P,$.props,ce,G),FP(P,$.children,G),Fo(),sp(P),jo()},Q=(P,$,G,ce,re,ue,ve,se,me=!1)=>{const ie=P&&P.children,Ie=P?P.shapeFlag:0,we=$.children,{patchFlag:Re,shapeFlag:$e}=$;if(Re>0){if(Re&128){F(ie,we,G,ce,re,ue,ve,se,me);return}else if(Re&256){X(ie,we,G,ce,re,ue,ve,se,me);return}}$e&8?(Ie&16&&Oe(ie,re,ue),we!==ie&&u(G,we)):Ie&16?$e&16?F(ie,we,G,ce,re,ue,ve,se,me):Oe(ie,re,ue,!0):(Ie&8&&u(G,""),$e&16&&O(we,G,ce,re,ue,ve,se,me))},X=(P,$,G,ce,re,ue,ve,se,me)=>{P=P||Jr,$=$||Jr;const ie=P.length,Ie=$.length,we=Math.min(ie,Ie);let Re;for(Re=0;ReIe?Oe(P,re,ue,!0,!1,we):O($,G,ce,re,ue,ve,se,me,we)},F=(P,$,G,ce,re,ue,ve,se,me)=>{let ie=0;const Ie=$.length;let we=P.length-1,Re=Ie-1;for(;ie<=we&&ie<=Re;){const $e=P[ie],Xe=$[ie]=me?Zo($[ie]):Vn($[ie]);if(fr($e,Xe))h($e,Xe,G,null,re,ue,ve,se,me);else break;ie++}for(;ie<=we&&ie<=Re;){const $e=P[we],Xe=$[Re]=me?Zo($[Re]):Vn($[Re]);if(fr($e,Xe))h($e,Xe,G,null,re,ue,ve,se,me);else break;we--,Re--}if(ie>we){if(ie<=Re){const $e=Re+1,Xe=$eRe)for(;ie<=we;)W(P[ie],re,ue,!0),ie++;else{const $e=ie,Xe=ie,dt=new Map;for(ie=Xe;ie<=Re;ie++){const bn=$[ie]=me?Zo($[ie]):Vn($[ie]);bn.key!=null&&dt.set(bn.key,ie)}let rt,on=0;const zt=Re-Xe+1;let Yn=!1,gn=0;const Os=new Array(zt);for(ie=0;ie=zt){W(bn,re,ue,!0);continue}let co;if(bn.key!=null)co=dt.get(bn.key);else for(rt=Xe;rt<=Re;rt++)if(Os[rt-Xe]===0&&fr(bn,$[rt])){co=rt;break}co===void 0?W(bn,re,ue,!0):(Os[co-Xe]=ie+1,co>=gn?gn=co:Yn=!0,h(bn,$[co],G,null,re,ue,ve,se,me),on++)}const Zm=Yn?zP(Os):Jr;for(rt=Zm.length-1,ie=zt-1;ie>=0;ie--){const bn=Xe+ie,co=$[bn],Qm=$[bn+1],ep=bn+1{const{el:ue,type:ve,transition:se,children:me,shapeFlag:ie}=P;if(ie&6){j(P.component.subTree,$,G,ce);return}if(ie&128){P.suspense.move($,G,ce);return}if(ie&64){ve.move(P,$,G,Se);return}if(ve===xe){o(ue,$,G);for(let we=0;wese.enter(ue),re);else{const{leave:we,delayLeave:Re,afterLeave:$e}=se,Xe=()=>{P.ctx.isUnmounted?r(ue):o(ue,$,G)},dt=()=>{ue._isLeaving&&ue[Ro](!0),we(ue,()=>{Xe(),$e&&$e()})};Re?Re(ue,Xe,dt):dt()}else o(ue,$,G)},W=(P,$,G,ce=!1,re=!1)=>{const{type:ue,props:ve,ref:se,children:me,dynamicChildren:ie,shapeFlag:Ie,patchFlag:we,dirs:Re,cacheIndex:$e}=P;if(we===-2&&(re=!1),se!=null&&(Fo(),es(se,null,G,P,!0),jo()),$e!=null&&($.renderCache[$e]=void 0),Ie&256){$.ctx.deactivate(P);return}const Xe=Ie&1&&Re,dt=!yr(P);let rt;if(dt&&(rt=ve&&ve.onVnodeBeforeUnmount)&&Dn(rt,$,P),Ie&6)Ke(P.component,G,ce);else{if(Ie&128){P.suspense.unmount(G,ce);return}Xe&&ho(P,null,$,"beforeUnmount"),Ie&64?P.type.remove(P,$,G,Se,ce):ie&&!ie.hasOnce&&(ue!==xe||we>0&&we&64)?Oe(ie,$,G,!1,!0):(ue===xe&&we&384||!re&&Ie&16)&&Oe(me,$,G),ce&&fe(P)}(dt&&(rt=ve&&ve.onVnodeUnmounted)||Xe)&&Qt(()=>{rt&&Dn(rt,$,P),Xe&&ho(P,null,$,"unmounted")},G)},fe=P=>{const{type:$,el:G,anchor:ce,transition:re}=P;if($===xe){Me(G,ce);return}if($===oa){g(P);return}const ue=()=>{r(G),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(P.shapeFlag&1&&re&&!re.persisted){const{leave:ve,delayLeave:se}=re,me=()=>ve(G,ue);se?se(P.el,ue,me):me()}else ue()},Me=(P,$)=>{let G;for(;P!==$;)G=f(P),r(P),P=G;r($)},Ke=(P,$,G)=>{const{bum:ce,scope:re,job:ue,subTree:ve,um:se,m:me,a:ie}=P;bp(me),bp(ie),ce&&Yi(ce),re.stop(),ue&&(ue.flags|=8,W(ve,P,$,G)),se&&Qt(se,$),Qt(()=>{P.isUnmounted=!0},$)},Oe=(P,$,G,ce=!1,re=!1,ue=0)=>{for(let ve=ue;ve{if(P.shapeFlag&6)return ne(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const $=f(P.anchor||P.el),G=$&&$[wy];return G?f(G):$};let be=!1;const ae=(P,$,G)=>{P==null?$._vnode&&W($._vnode,null,null,!0):h($._vnode||null,P,$,null,null,null,G),$._vnode=P,be||(be=!0,sp(),gl(),be=!1)},Se={p:h,um:W,m:j,r:fe,mt:Y,mc:O,pc:Q,pbc:L,n:ne,o:e};let Be,Pe;return t&&([Be,Pe]=t(Se)),{render:ae,hydrate:Be,createApp:LP(ae,Be)}}function su({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ir({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jf(e,t,n=!1){const o=e.children,r=t.children;if(Le(o)&&Le(r))for(let s=0;s>1,e[n[i]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function Jy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jy(t)}function bp(e){if(e)for(let t=0;tUe(HP);function xt(e,t){return dc(e,null,t)}function WP(e,t){return dc(e,null,{flush:"sync"})}function le(e,t,n){return dc(e,t,n)}function dc(e,t,n=tt){const{immediate:o,deep:r,flush:s,once:a}=n,i=It({},n),l=t&&o||!t&&s!=="post";let c;if(wa){if(s==="sync"){const m=KP();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=_o,m.resume=_o,m.pause=_o,m}}const u=qt;i.call=(m,p,h)=>eo(m,u,p,h);let d=!1;s==="post"?i.scheduler=m=>{Qt(m,u&&u.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(m,p)=>{p?m():$f(m)}),i.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const f=lP(e,t,i);return wa&&(c?c.push(f):l&&f()),f}function qP(e,t,n){const o=this.proxy,r=bt(e)?e.includes(".")?Xy(o,e):()=>o[e]:e.bind(o,o);let s;je(t)?s=t:(s=t.handler,n=t);const a=Ha(this),i=dc(r,s.bind(o),n);return a(),i}function Xy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{let u,d=tt,f;return WP(()=>{const m=e[r];rn(u,m)&&(u=m,c())}),{get(){return l(),n.get?n.get(u):u},set(m){const p=n.set?n.set(m):m;if(!rn(p,u)&&!(d!==tt&&rn(m,d)))return;const h=o.vnode.props;h&&(t in h||r in h||s in h)&&(`onUpdate:${t}`in h||`onUpdate:${r}`in h||`onUpdate:${s}`in h)||(u=m,c()),o.emit(`update:${t}`,p),rn(m,p)&&rn(m,d)&&!rn(p,f)&&c(),d=m,f=p}}});return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||tt:i,done:!1}:{done:!0}}}},i}const Zy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tn(t)}Modifiers`]||e[`${zo(t)}Modifiers`];function YP(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||tt;let r=n;const s=t.startsWith("update:"),a=s&&Zy(o,t.slice(7));a&&(a.trim&&(r=n.map(u=>bt(u)?u.trim():u)),a.number&&(r=n.map(ud)));let i,l=o[i=Zc(t)]||o[i=Zc(tn(t))];!l&&s&&(l=o[i=Zc(zo(t))]),l&&eo(l,e,6,r);const c=o[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,eo(c,e,6,r)}}const JP=new WeakMap;function Qy(e,t,n=!1){const o=n?JP:t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let a={},i=!1;if(!je(e)){const l=c=>{const u=Qy(c,t,!0);u&&(i=!0,It(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(st(e)&&o.set(e,null),null):(Le(s)?s.forEach(l=>a[l]=null):It(a,s),st(e)&&o.set(e,a),a)}function fc(e,t){return!e||!Fa(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,zo(t))||ot(e,t))}function au(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[s],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:d,data:f,setupState:m,ctx:p,inheritAttrs:h}=e,v=bl(e);let y,k;try{if(n.shapeFlag&4){const g=r||o,b=g;y=Vn(c.call(b,g,u,d,m,f,p)),k=i}else{const g=t;y=Vn(g.length>1?g(d,{attrs:i,slots:a,emit:l}):g(d,null)),k=t.props?i:XP(i)}}catch(g){ra.length=0,ic(g,e,1),y=x(Lt)}let _=y;if(k&&h!==!1){const g=Object.keys(k),{shapeFlag:b}=_;g.length&&b&7&&(s&&g.some(xf)&&(k=ZP(k,s)),_=Uo(_,k,!1,!0))}return n.dirs&&(_=Uo(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Er(_,n.transition),y=_,bl(v),y}const XP=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fa(n))&&((t||(t={}))[n]=e[n]);return t},ZP=(e,t)=>{const n={};for(const o in e)(!xf(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function QP(e,t,n){const{props:o,children:r,component:s}=e,{props:a,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?yp(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function n_(e,t){t&&t.pendingBranch?Le(e)?t.effects.push(...e):t.effects.push(e):dP(e)}const xe=Symbol.for("v-fgt"),Bo=Symbol.for("v-txt"),Lt=Symbol.for("v-cmt"),oa=Symbol.for("v-stc"),ra=[];let xn=null;function B(e=!1){ra.push(xn=e?null:[])}function eI(){ra.pop(),xn=ra[ra.length-1]||null}let _a=1;function Sl(e,t=!1){_a+=e,e<0&&xn&&t&&(xn.hasOnce=!0)}function o_(e){return e.dynamicChildren=_a>0?xn||Jr:null,eI(),_a>0&&xn&&xn.push(e),e}function oe(e,t,n,o,r,s){return o_(w(e,t,n,o,r,s,!0))}function ge(e,t,n,o,r){return o_(x(e,t,n,o,r,!0))}function ls(e){return e?e.__v_isVNode===!0:!1}function fr(e,t){return e.type===t.type&&e.key===t.key}const r_=({key:e})=>e??null,Xi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?bt(e)||ct(e)||je(e)?{i:Ft,r:e,k:t,f:!!n}:e:null);function w(e,t=null,n=null,o=0,r=null,s=e===xe?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&r_(t),ref:t&&Xi(t),scopeId:_y,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ft};return i?(Uf(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=bt(n)?8:16),_a>0&&!a&&xn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&xn.push(l),l}const x=tI;function tI(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===$y)&&(e=Lt),ls(e)){const i=Uo(e,t,!0);return n&&Uf(i,n),_a>0&&!s&&xn&&(i.shapeFlag&6?xn[xn.indexOf(e)]=i:xn.push(i)),i.patchFlag=-2,i}if(uI(e)&&(e=e.__vccOpts),t){t=nI(t);let{class:i,style:l}=t;i&&!bt(i)&&(t.class=te(i)),st(l)&&(Rf(l)&&!Le(l)&&(l=It({},l)),t.style=Ee(l))}const a=bt(e)?1:t_(e)?128:Sy(e)?64:st(e)?4:je(e)?2:0;return w(e,t,n,o,r,a,s,!0)}function nI(e){return e?Rf(e)||zy(e)?It({},e):e:null}function Uo(e,t,n=!1,o=!1){const{props:r,ref:s,patchFlag:a,children:i,transition:l}=e,c=t?ke(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&r_(c),ref:t&&t.ref?n&&s?Le(s)?s.concat(Xi(t)):[s,Xi(t)]:Xi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Uo(e.ssContent),ssFallback:e.ssFallback&&Uo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Er(u,l.clone(u)),u}function ye(e=" ",t=0){return x(Bo,null,e,t)}function jJ(e,t){const n=x(oa,null,e);return n.staticCount=t,n}function he(e="",t=!1){return t?(B(),ge(Lt,null,e)):x(Lt,null,e)}function Vn(e){return e==null||typeof e=="boolean"?x(Lt):Le(e)?x(xe,null,e.slice()):ls(e)?Zo(e):x(Bo,null,String(e))}function Zo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Uo(e)}function Uf(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Le(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Uf(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!zy(t)?t._ctx=Ft:r===3&&Ft&&(Ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else je(t)?(t={default:t,_ctx:Ft},n=32):(t=String(t),o&64?(n=16,t=[ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function ke(...e){const t={};for(let n=0;nqt||Ft;let xl,yd;{const e=tc(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(a=>a(s)):r[0](s)}};xl=t("__VUE_INSTANCE_SETTERS__",n=>qt=n),yd=t("__VUE_SSR_SETTERS__",n=>wa=n)}const Ha=e=>{const t=qt;return xl(e),e.scope.on(),()=>{e.scope.off(),xl(t)}},_p=()=>{qt&&qt.scope.off(),xl(null)};function s_(e){return e.vnode.shapeFlag&4}let wa=!1;function aI(e,t=!1,n=!1){t&&yd(t);const{props:o,children:r}=e.vnode,s=s_(e);DP(e,o,s,t),NP(e,r,n||t);const a=s?iI(e,t):void 0;return t&&yd(!1),a}function iI(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,CP);const{setup:o}=n;if(o){Fo();const r=e.setupContext=o.length>1?i_(e):null,s=Ha(e),a=Ua(o,e,0,[e.props,r]),i=Hb(a);if(jo(),s(),(i||e.sp)&&!yr(e)&&Iy(e),i){if(a.then(_p,_p),t)return a.then(l=>{wp(e,l)}).catch(l=>{ic(l,e,0)});e.asyncDep=a}else wp(e,a)}else a_(e)}function wp(e,t,n){je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:st(t)&&(e.setupState=vy(t)),a_(e)}function a_(e,t,n){const o=e.type;e.render||(e.render=o.render||_o);{const r=Ha(e);Fo();try{TP(e)}finally{jo(),r()}}}const lI={get(e,t){return Kt(e,"get",""),e[t]}};function i_(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,lI),slots:e.slots,emit:e.emit,expose:t}}function mc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vy(ac(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in na)return na[n](e)},has(t,n){return n in t||n in na}})):e.proxy}function cI(e,t=!0){return je(e)?e.displayName||e.name:e.name||t&&e.__name}function uI(e){return je(e)&&"__vccOpts"in e}const A=(e,t)=>aP(e,t,wa);function mn(e,t,n){try{Sl(-1);const o=arguments.length;return o===2?st(t)&&!Le(t)?ls(t)?x(e,null,[t]):x(e,t):x(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&ls(n)&&(n=[n]),x(e,t,n))}finally{Sl(1)}}const dI="3.5.22";/** * @vue/runtime-dom v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let _d;const Sp=typeof window<"u"&&window.trustedTypes;if(Sp)try{_d=Sp.createPolicy("vue",{createHTML:e=>e})}catch{}const l_=_d?e=>_d.createHTML(e):e=>e,fI="http://www.w3.org/2000/svg",mI="http://www.w3.org/1998/Math/MathML",Po=typeof document<"u"?document:null,xp=Po&&Po.createElement("template"),pI={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Po.createElementNS(fI,e):t==="mathml"?Po.createElementNS(mI,e):n?Po.createElement(e,{is:n}):Po.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Po.createTextNode(e),createComment:e=>Po.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Po.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const a=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{xp.innerHTML=l_(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const i=xp.content;if(o==="svg"||o==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qo="transition",Ls="animation",cs=Symbol("_vtc"),c_={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},u_=It({},Cy,c_),vI=e=>(e.displayName="Transition",e.props=u_,e),to=vI((e,{slots:t})=>mn(vP,d_(e),t)),lr=(e,t=[])=>{Le(e)?e.forEach(n=>n(...t)):e&&e(...t)},kp=e=>e?Le(e)?e.some(t=>t.length>1):e.length>1:!1;function d_(e){const t={};for(const I in e)I in c_||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,p=hI(r),h=p&&p[0],v=p&&p[1],{onBeforeEnter:y,onEnter:k,onEnterCancelled:_,onLeave:g,onLeaveCancelled:b,onBeforeAppear:S=y,onAppear:E=k,onAppearCancelled:O=_}=t,R=(I,V,Y,H)=>{I._enterCancelled=H,Yo(I,V?u:i),Yo(I,V?c:a),Y&&Y()},L=(I,V)=>{I._isLeaving=!1,Yo(I,d),Yo(I,m),Yo(I,f),V&&V()},D=I=>(V,Y)=>{const H=I?E:k,N=()=>R(V,I,Y);lr(H,[V,N]),Ep(()=>{Yo(V,I?l:s),po(V,I?u:i),kp(H)||Cp(V,o,h,N)})};return It(t,{onBeforeEnter(I){lr(y,[I]),po(I,s),po(I,a)},onBeforeAppear(I){lr(S,[I]),po(I,l),po(I,c)},onEnter:D(!1),onAppear:D(!0),onLeave(I,V){I._isLeaving=!0;const Y=()=>L(I,V);po(I,d),I._enterCancelled?(po(I,f),wd(I)):(wd(I),po(I,f)),Ep(()=>{I._isLeaving&&(Yo(I,d),po(I,m),kp(g)||Cp(I,o,v,Y))}),lr(g,[I,Y])},onEnterCancelled(I){R(I,!1,void 0,!0),lr(_,[I])},onAppearCancelled(I){R(I,!0,void 0,!0),lr(O,[I])},onLeaveCancelled(I){L(I),lr(b,[I])}})}function hI(e){if(e==null)return null;if(st(e))return[iu(e.enter),iu(e.leave)];{const t=iu(e);return[t,t]}}function iu(e){return CT(e)}function po(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[cs]||(e[cs]=new Set)).add(t)}function Yo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[cs];n&&(n.delete(t),n.size||(e[cs]=void 0))}function Ep(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let gI=0;function Cp(e,t,n,o){const r=e._endId=++gI,s=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(s,n);const{type:a,timeout:i,propCount:l}=f_(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),s()},f=m=>{m.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[p]||"").split(", "),r=o(`${qo}Delay`),s=o(`${qo}Duration`),a=Ap(r,s),i=o(`${Ls}Delay`),l=o(`${Ls}Duration`),c=Ap(i,l);let u=null,d=0,f=0;t===qo?a>0&&(u=qo,d=a,f=s.length):t===Ls?c>0&&(u=Ls,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?qo:Ls:null,f=u?u===qo?s.length:l.length:0);const m=u===qo&&/\b(?:transform|all)(?:,|$)/.test(o(`${qo}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:m}}function Ap(e,t){for(;e.lengthTp(n)+Tp(e[o])))}function Tp(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wd(e){return(e?e.ownerDocument:document).body.offsetHeight}function bI(e,t,n){const o=e[cs];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const kl=Symbol("_vod"),m_=Symbol("_vsh"),ro={name:"show",beforeMount(e,{value:t},{transition:n}){e[kl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,()=>{Ds(e,!1)}):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e[kl]:"none",e[m_]=!t}const yI=Symbol(""),_I=/(?:^|;)\s*display\s*:/;function wI(e,t,n){const o=e.style,r=bt(n);let s=!1;if(n&&!r){if(t)if(bt(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&Zi(o,i,"")}else for(const a in t)n[a]==null&&Zi(o,a,"");for(const a in n)a==="display"&&(s=!0),Zi(o,a,n[a])}else if(r){if(t!==n){const a=o[yI];a&&(n+=";"+a),o.cssText=n,s=_I.test(n)}}else t&&e.removeAttribute("style");kl in e&&(e[kl]=s?o.display:"",e[m_]&&(o.display="none"))}const Pp=/\s*!important$/;function Zi(e,t,n){if(Le(n))n.forEach(o=>Zi(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=SI(e,t);Pp.test(n)?e.setProperty(zo(o),n.replace(Pp,""),"important"):e[o]=n}}const Ip=["Webkit","Moz","ms"],lu={};function SI(e,t){const n=lu[t];if(n)return n;let o=tn(t);if(o!=="filter"&&o in e)return lu[t]=o;o=ys(o);for(let r=0;rcu||(CI.then(()=>cu=0),cu=Date.now());function TI(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;eo(PI(o,n.value),t,5,[o])};return n.value=e,n.attached=AI(),n}function PI(e,t){if(Le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Vp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,II=(e,t,n,o,r,s)=>{const a=r==="svg";t==="class"?bI(e,o,a):t==="style"?wI(e,n,o):Fa(t)?xf(t)||kI(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):RI(e,t,o,a))?($p(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Op(e,t,o,a,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!bt(o))?$p(e,tn(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Op(e,t,o,a))};function RI(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vp(t)&&je(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Vp(t)&&bt(n)?!1:t in e}const p_=new WeakMap,v_=new WeakMap,El=Symbol("_moveCb"),Mp=Symbol("_enterCb"),OI=e=>(delete e.props.mode,e),$I=OI({name:"TransitionGroup",props:It({},u_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zn(),o=Ey();let r,s;return Vf(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!MI(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(LI),r.forEach(DI);const i=r.filter(VI);wd(n.vnode.el),i.forEach(l=>{const c=l.el,u=c.style;po(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[El]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[El]=null,Yo(c,a))};c.addEventListener("transitionend",d)}),r=[]}),()=>{const a=Ve(e),i=d_(a);let l=a.tag||xe;if(r=[],s)for(let c=0;c{i.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&o.classList.add(i)),o.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(o);const{hasTransform:a}=f_(o);return s.removeChild(o),a}const Cl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Le(t)?n=>Yi(t,n):t};function BI(e){e.target.composing=!0}function Bp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts=Symbol("_assign"),UJ={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[ts]=Cl(r);const s=o||r.props&&r.props.type==="number";mr(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),s&&(i=ud(i)),e[ts](i)}),n&&mr(e,"change",()=>{e.value=e.value.trim()}),t||(mr(e,"compositionstart",BI),mr(e,"compositionend",Bp),mr(e,"change",Bp))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:s}},a){if(e[ts]=Cl(a),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?ud(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===l)||(e.value=l))}},NI={deep:!0,created(e,t,n){e[ts]=Cl(n),mr(e,"change",()=>{const o=e._modelValue,r=FI(e),s=e.checked,a=e[ts];if(Le(o)){const i=Yb(o,r),l=i!==-1;if(s&&!l)a(o.concat(r));else if(!s&&l){const c=[...o];c.splice(i,1),a(c)}}else if(Ql(o)){const i=new Set(o);s?i.add(r):i.delete(r),a(i)}else a(h_(e,s))})},mounted:Np,beforeUpdate(e,t,n){e[ts]=Cl(n),Np(e,t,n)}};function Np(e,{value:t,oldValue:n},o){e._modelValue=t;let r;if(Le(t))r=Yb(t,o.props.value)>-1;else if(Ql(t))r=t.has(o.props.value);else{if(t===n)return;r=nc(t,h_(e,!0))}e.checked!==r&&(e.checked=r)}function FI(e){return"_value"in e?e._value:e.value}function h_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jI=["ctrl","shift","alt","meta"],UI={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jI.some(n=>e[`${n}Key`]&&!t.includes(n))},sn=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((r,...s)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(r=>{if(!("key"in r))return;const s=zo(r.key);if(t.some(a=>a===s||zI[a]===s))return e(r)}))},HI=It({patchProp:II},pI);let uu,Fp=!1;function KI(){return uu=Fp?uu:jP(HI),Fp=!0,uu}const WI=((...e)=>{const t=KI().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=GI(o);if(r)return n(r,!0,qI(r))},t});function qI(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function GI(e){return bt(e)?document.querySelector(e):e}function Sd(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Sd(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const YI={run:e=>e()},JI=()=>YI,g_=typeof console.createTask<"u"?console.createTask:JI;function XI(e,t){const n=t.shift(),o=g_(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function ZI(e,t){const n=t.shift(),o=g_(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function du(e,t){for(const n of[...e])n(t)}class QI{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${r} 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(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Sd(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Sd(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(XI,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ZI,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&du(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&du(this._after,r)}):(this._after&&r&&du(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function eR(){return new QI}/*! * pinia v3.0.3 * (c) 2025 Eduardo San Martin Morote * @license MIT */let b_;const vc=e=>b_=e,y_=Symbol();function xd(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var sa;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(sa||(sa={}));function tR(){const e=nr(!0),t=e.run(()=>U({}));let n=[],o=[];const r=ac({install(s){vc(r),r._a=s,s.provide(y_,r),s.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const __=()=>{};function jp(e,t,n,o=__){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&oc()&&Ct(r),r}function Vr(e,...t){e.slice().forEach(n=>{n(...t)})}const nR=e=>e(),Up=Symbol(),fu=Symbol();function kd(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];xd(r)&&xd(o)&&e.hasOwnProperty(n)&&!ct(o)&&!wo(o)?e[n]=kd(r,o):e[n]=o}return e}const oR=Symbol();function rR(e){return!xd(e)||!Object.prototype.hasOwnProperty.call(e,oR)}const{assign:Jo}=Object;function sR(e){return!!(ct(e)&&e.effect)}function aR(e,t,n,o){const{state:r,actions:s,getters:a}=t,i=n.state.value[e];let l;function c(){i||(n.state.value[e]=r?r():{});const u=Of(n.state.value[e]);return Jo(u,s,Object.keys(a||{}).reduce((d,f)=>(d[f]=ac(A(()=>{vc(n);const m=n._s.get(e);return a[f].call(m,m)})),d),{}))}return l=w_(e,c,t,n,o,!0),l}function w_(e,t,n={},o,r,s){let a;const i=Jo({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],m;const p=o.state.value[e];!s&&!p&&(o.state.value[e]={}),U({});let h;function v(O){let R;c=u=!1,typeof O=="function"?(O(o.state.value[e]),R={type:sa.patchFunction,storeId:e,events:m}):(kd(o.state.value[e],O),R={type:sa.patchObject,payload:O,storeId:e,events:m});const L=h=Symbol();Je().then(()=>{h===L&&(c=!0)}),u=!0,Vr(d,R,o.state.value[e])}const y=s?function(){const{state:R}=n,L=R?R():{};this.$patch(D=>{Jo(D,L)})}:__;function k(){a.stop(),d=[],f=[],o._s.delete(e)}const _=(O,R="")=>{if(Up in O)return O[fu]=R,O;const L=function(){vc(o);const D=Array.from(arguments),I=[],V=[];function Y(J){I.push(J)}function H(J){V.push(J)}Vr(f,{args:D,name:L[fu],store:b,after:Y,onError:H});let N;try{N=O.apply(this&&this.$id===e?this:b,D)}catch(J){throw Vr(V,J),J}return N instanceof Promise?N.then(J=>(Vr(I,J),J)).catch(J=>(Vr(V,J),Promise.reject(J))):(Vr(I,N),N)};return L[Up]=!0,L[fu]=R,L},g={_p:o,$id:e,$onAction:jp.bind(null,f),$patch:v,$reset:y,$subscribe(O,R={}){const L=jp(d,O,R.detached,()=>D()),D=a.run(()=>le(()=>o.state.value[e],I=>{(R.flush==="sync"?u:c)&&O({storeId:e,type:sa.direct,events:m},I)},Jo({},l,R)));return L},$dispose:k},b=vt(g);o._s.set(e,b);const E=(o._a&&o._a.runWithContext||nR)(()=>o._e.run(()=>(a=nr()).run(()=>t({action:_}))));for(const O in E){const R=E[O];if(ct(R)&&!sR(R)||wo(R))s||(p&&rR(R)&&(ct(R)?R.value=p[O]:kd(R,p[O])),o.state.value[e][O]=R);else if(typeof R=="function"){const L=_(R,O);E[O]=L,i.actions[O]=R}}return Jo(b,E),Jo(Ve(b),E),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:O=>{v(R=>{Jo(R,O)})}}),o._p.forEach(O=>{Jo(b,a.run(()=>O({store:b,app:o._a,pinia:o,options:i})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}/*! #__NO_SIDE_EFFECTS__ */function Hn(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function s(a,i){const l=Fy();return a=a||(l?Ue(y_,null):null),a&&vc(a),a=b_,a._s.has(e)||(r?w_(e,t,o,a):aR(e,o,a)),a._s.get(e)}return s.$id=e,s}function Hf(e){const t=Ve(e),n={};for(const o in t){const r=t[o];r.effect?n[o]=A({get:()=>e[o],set(s){e[o]=s}}):(ct(r)||wo(r))&&(n[o]=K(e,o))}return n}const iR=3500;let lR=0;const Ge=Hn("interface",{state:()=>({maintenance:{start:"",finish:""},modals:[],alerts:[],overflow:!1,breadcrumb:[],networkOnline:!0}),actions:{setMaintenance(e){e&&(this.maintenance=e)},setModal(e){if(!e?.name)return;if(this.modals[this.modals.length-1]?.name===e.name){this.modals[this.modals.length-1]=e;return}this.modals.push(e)},closeModal(e){if(this.modals.length!==0)if(!e)this.modals.pop();else{const t=[...this.modals].map(n=>n.name).lastIndexOf(e);t>=0&&this.modals.splice(t,1)}},closeAllModals(){this.modals=[]},showAlert(e,t,n){const o=String(t??"").trim();o&&this.alerts.push({id:lR++,type:e,text:o,timeout:n?.timeout??iR,color:e})},setAlertQueue(e){this.alerts=e},clearAlerts(){this.alerts=[]},setOverflow(e){this.overflow=e},setNetworkOnline(e){this.networkOnline=e},setBreadcrumb(e){this.breadcrumb=e??[]},patchBreadcrumbTail(e){const t=this.breadcrumb;if(!t.length)return;const n=t.length-1,o=t[n],r=[...t];r[n]={text:e,...typeof o.link=="string"?{link:o.link}:{}},this.breadcrumb=r}}}),cR="modulepreload",uR=function(e){return"/"+e},zp={},M=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),i=a?.nonce||a?.getAttribute("nonce");r=l(n.map(c=>{if(c=uR(c),c in zp)return;zp[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":cR,u||(f.as="script"),f.crossOrigin="",f.href=c,i&&f.setAttribute("nonce",i),document.head.appendChild(f),u)return new Promise((m,p)=>{f.addEventListener("load",m),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return r.then(a=>{for(const i of a||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})},S_="Meus dados",x_={name:"Nome",id:"ID",document:"CPF",birthDate:"Data de Nascimento",nationality:"Nacionalidade",gender:"Gênero",email:"Endereço de e-mail",phone:"Telefone",phoneCode:"Código",zipCode:"CEP",state:"Estado",city:"Cidade",street:"Rua",neighborhood:"Bairro",number:"Número"},k_={male:"Masculino",female:"Feminino",unspecified:"Não especificado"},E_="Brasileiro",C_="O campo {field} é obrigatório",A_="Salvar",T_={title:"Tem certeza que deseja salvar as alterações?",cancel:"Cancelar",confirm:"Salvar"},P_={createdAt:"Data de criação:",status:"Status da conta:",fetchingDate:"Buscando data...",invalidDate:"Data inválida"},I_={saveError:"Erro ao salvar as alterações",identityError:"Erro ao iniciar a verificação de identidade. Tente novamente."},R_={notFound:"CEP não encontrado",invalid:"CEP inválido"},O_={keyType:"Tipo de chave",typeCpf:"CPF",typePhone:"Telefone",typeEmail:"E-mail",fetchError:"Erro ao buscar tipo de chave Pix.",saveError:"Erro ao salvar tipo de chave Pix."},dR={title:S_,fields:x_,gender:k_,nationalityDefault:E_,requiredField:C_,save:A_,saveConfirm:T_,footer:P_,alerts:I_,cep:R_,pix:O_},$_=Object.freeze(Object.defineProperty({__proto__:null,alerts:I_,cep:R_,default:dR,fields:x_,footer:P_,gender:k_,nationalityDefault:E_,pix:O_,requiredField:C_,save:A_,saveConfirm:T_,title:S_},Symbol.toStringTag,{value:"Module"})),L_="Documentos",D_="Visão geral dos seus documentos pessoais",V_="Verificar agora",M_="Não foi possível atualizar o status de verificação. Tente novamente.",B_="Verificação avançada indisponível no momento. Confira seus dados abaixo.",N_={name:"Nome",document:"CPF",birthday:"Data Nascimento"},F_={approved:"Parabéns, você verificou sua identidade (KYC) e agora seu documento está completamente validado.",pendingKyc:'A verificação da sua identidade (KYC) ainda não foi concluída, clique no botão "Verificar agora" para completar o processo de validação de documentos.',pendingFaceId:'A verificação facial ainda não foi concluída. Por favor, clique no botão "Verificar agora" para completar o processo de reconhecimento facial e finalizar a validação.',error:"Não foi possível validar sua identidade (KYC). O documento enviado foi recusado. Tente novamente para completar a verificação."},fR={title:L_,subtitle:D_,verifyCta:V_,refreshError:M_,unavailable:B_,fields:N_,status:F_},j_=Object.freeze(Object.defineProperty({__proto__:null,default:fR,fields:N_,refreshError:M_,status:F_,subtitle:D_,title:L_,unavailable:B_,verifyCta:V_},Symbol.toStringTag,{value:"Module"})),U_="Você possui mais de 18 anos?",z_="Atenção: Jogos de aposta podem causar dependência patológica (ludopatia), transtornos de ansiedade, depressão e levar ao superendividamento. Jogue com responsabilidade. Proibido para menores de 18 anos.",H_="Sim",K_="Não",W_="O site é destinado para maiores de 18 anos.",mR={question:U_,disclaimer:z_,yes:H_,no:K_,restriction:W_},q_=Object.freeze(Object.defineProperty({__proto__:null,default:mR,disclaimer:z_,no:K_,question:U_,restriction:W_,yes:H_},Symbol.toStringTag,{value:"Module"})),G_="Informe de Rendimentos",Y_={first:"Para realizar o download informe o CPF, a data de nascimento e o e-mail do dono da conta, exatamente como estão cadastrados na plataforma.",second:'Assim que preenchidos os campos clique no botão "Consultar", após as informações serem validadas o documento será baixado automaticamente.'},J_={document:{label:"Documento",placeholder:"Informe o documento (CPF)"},birthday:{label:"Data de nascimento",placeholder:"Informe sua data de nascimento"},email:{label:"E-mail",placeholder:"Informe seu e-mail"},submit:"Consultar",loading:"Carregando..."},X_={label:"Verificação de segurança"},Z_={title:"Comprova Bet",description:"Consulte o extrato anual da sua conta. O documento é disponibilizado em PDF protegido por senha. Para abrir, utilize o seu CPF.","available-years":"Extratos disponíveis para os seguintes anos:",download:"Baixar Extrato","password-info":"A senha de acesso ao documento PDF é o seu CPF (apenas números)","no-years":"O extrato anual ainda não está disponível. Ele é disponibilizado anualmente, geralmente no início do ano seguinte ao ano-calendário de referência.",success:"Baixando o extrato anual. Verifique a pasta de downloads do seu navegador. Lembre-se: a senha para abrir o PDF é o seu CPF (apenas números)."},Q_={"download-started":"Download iniciado com sucesso."},ew={"document-required":"Informe o documento.","document-invalid":"Informe um CPF válido.","birthday-required":"Informe a data de nascimento.","birthday-invalid":"Informe uma data de nascimento válida.","email-required":"Informe o e-mail.","email-invalid":"Informe um e-mail válido.","captcha-required":"Valide o captcha para continuar.","captcha-expired":"Captcha expirado. Você pode tentar novamente.","captcha-bypass":"Captcha indisponível. Permitindo 1 tentativa sem validação.",unavailable:"O PDF do Informe de Rendimentos não está disponível. Entre em contato com o suporte.","invalid-document":"O documento solicitado não está disponível para download. Entre em contato com o suporte.",generic:"Ocorreu um erro ao solicitar o documento. Tente novamente mais tarde."},pR={title:G_,instructions:Y_,form:J_,captcha:X_,authenticated:Z_,"password-info":"A senha de acesso ao documento PDF é o seu CPF (apenas números).",success:Q_,errors:ew},tw=Object.freeze(Object.defineProperty({__proto__:null,authenticated:Z_,captcha:X_,default:pR,errors:ew,form:J_,instructions:Y_,success:Q_,title:G_},Symbol.toStringTag,{value:"Module"})),vR={"session-expired":{subtitle:"Você foi desconectado",description:"Sua sessão expirou devido à inatividade. Por favor, faça login novamente para continuar.",login:"Fazer login"}},nw=Object.freeze(Object.defineProperty({__proto__:null,default:vR},Symbol.toStringTag,{value:"Module"})),ow="Email ou CPF",rw="Senha",sw="Entrar",aw="Esqueceu a senha?",iw="Criar conta",lw="Você ainda não possui uma conta?",cw="Crie uma agora!",uw="Enviar email de recuperação",dw="Voltar ao login",fw="Caso seu e-mail esteja cadastrado, você receberá um link de recuperação em breve.",mw="Sua sessão expirou. Faça login novamente.",pw="CPF",vw="Nome",hw="E-mail",gw="Telefone com DDD",bw="55",yw="Código",_w="Senha",ww="Concluir cadastro",Sw="Já tem uma conta?",xw="Entre agora!",kw="Ao selecionar, concordo com todos os",Ew="termos e condições",Cw="Cupom promocional aplicado",Aw="Registro feito com sucesso!",Tw="Tem certeza de que deseja cancelar seu registro?",Pw="Bônus incríveis esperam por você.",Iw="Continuar cadastro",Rw="Sim, quero cancelar",Ow={generic:"Erro ao processar sua solicitação. Tente novamente.",rateLimit:"Muitas tentativas. Aguarde um momento.",required:"Campo obrigatório",passwordMin:"A senha deve ter no mínimo 6 caracteres",loginFailed:"Email ou senha incorretos",registerFailed:"Não foi possível concluir o cadastro. Tente novamente.",registerAutoLoginFailed:"Conta criada, mas não foi possível entrar automaticamente. Faça login com seu e-mail e senha.",invalidCpf:"CPF inválido",invalidEmail:"Informe um e-mail válido",invalidPhone:"Telefone inválido",documentNotValidated:"Valide seu CPF antes de continuar",documentValidateFailed:"Não foi possível validar seu CPF. Tente novamente.",documentValidateTimeout:"A validação demorou muito. Verifique sua conexão e tente novamente.",termsRequired:"Você deve ler e aceitar os nossos termos e condições",captchaRequired:"Valide o captcha para continuar"},$w={length:"Mínimo de 8 caracteres",digit:"Ao menos um dígito numérico",letter:"Ao menos uma letra",special:"Ao menos um caractere especial",done:"Concluir"},hR={emailOrCpf:ow,password:rw,submitLogin:sw,forgotPassword:aw,createAccount:iw,noAccount:lw,createNow:cw,submitRecover:uw,backToLogin:dw,recoverSuccess:fw,sessionExpired:mw,document:pw,name:vw,email:hw,phone:gw,phoneCode:bw,phoneDialCode:yw,newPassword:_w,submitRegister:ww,hasAccount:Sw,loginNow:xw,termsPrefix:kw,termsLink:Ew,couponApplied:Cw,registerSuccess:Aw,cancelTitle:Tw,cancelBonusDefault:Pw,cancelContinue:Iw,cancelConfirm:Rw,errors:Ow,passwordRules:$w},Lw=Object.freeze(Object.defineProperty({__proto__:null,backToLogin:dw,cancelBonusDefault:Pw,cancelConfirm:Rw,cancelContinue:Iw,cancelTitle:Tw,couponApplied:Cw,createAccount:iw,createNow:cw,default:hR,document:pw,email:hw,emailOrCpf:ow,errors:Ow,forgotPassword:aw,hasAccount:Sw,loginNow:xw,name:vw,newPassword:_w,noAccount:lw,password:rw,passwordRules:$w,phone:gw,phoneCode:bw,phoneDialCode:yw,recoverSuccess:fw,registerSuccess:Aw,sessionExpired:mw,submitLogin:sw,submitRecover:uw,submitRegister:ww,termsLink:Ew,termsPrefix:kw},Symbol.toStringTag,{value:"Module"})),Dw="Não há bônus disponíveis.",Vw={total:"Saldo total",bonus:"Saldo bônus",real:"Saldo real"},Mw={casino:"Casino",sports:"Esportes",active:"Ativo",complete:"Completo"},Bw={balance:"Saldo",received:"Recebido",expires:"Expira em","max-win":"Valor máximo de ganho",promotion:"Promoção",rules:"Ver regras","not-informed":"Não informado"},Nw={activate:"Ativar bônus",activated:"Bônus ativado",exclude:"Excluir bônus",redeem:"Resgatar bônus"},Fw={cancel:"Cancelar",activate:{title:"Deseja ativar o bônus?",description:"Atenção! Ao ativar este bônus, o bônus anterior será desativado."},exclude:{title:"Deseja excluir o bônus?",description:"Atenção! Essa ação não pode ser revertida. Deseja continuar mesmo assim?"},redeem:{title:"Deseja resgatar o bônus?",description:"Atenção! Essa ação não pode ser desfeita."}},jw={"load-error":"Não foi possível carregar os bônus. Tente novamente mais tarde.","activate-success":"Bônus ativado com sucesso.","activate-error":"Erro ao ativar o bônus.","exclude-success":"Bônus removido com sucesso.","exclude-error":"Erro ao remover o bônus.","redeem-success":"Bônus resgatado com sucesso.","redeem-error":"Erro ao resgatar o bônus.","refresh-error":"A ação foi concluída, mas não foi possível atualizar seu saldo. Recarregue a página."},gR={empty:Dw,balance:Vw,badges:Mw,card:Bw,actions:Nw,modal:Fw,alerts:jw},Uw=Object.freeze(Object.defineProperty({__proto__:null,actions:Nw,alerts:jw,badges:Mw,balance:Vw,card:Bw,default:gR,empty:Dw,modal:Fw},Symbol.toStringTag,{value:"Module"})),zw="Início",Hw="Sobre",Kw="Afiliados",Ww="Prevenção à Lavagem de Dinheiro",qw="Perguntas Frequentes",Gw="Fundos e Transações Financeiras",Yw="Regras",Jw="Suporte",Xw="Promoções",Zw="Cassino",Qw="Favoritos",e0="Slots",t0="Provedores",bR={home:zw,about:Hw,affiliates:Kw,aml:Ww,"betting-terms":"Termos de Apostas","rules-betting":"Regras de Apostas","cookies-policy":"Política de Cookies",faq:qw,funds:Gw,"funds-and-transactions-policy":"Política de Fundos e Transações Financeiras","pld-ft-policy":"Política PLD/FTP","privacy-policy":"Política de Privacidade","responsible-gaming":"Jogo Responsável",rules:Yw,suport:Jw,"terms-and-conditions":"Termos e Condições",promotions:Xw,"promotion-detail":"Detalhe",casino:Zw,"casino-live":"Cassino Ao Vivo",favorites:Qw,slots:e0,providers:t0},n0=Object.freeze(Object.defineProperty({__proto__:null,about:Hw,affiliates:Kw,aml:Ww,casino:Zw,default:bR,faq:qw,favorites:Qw,funds:Gw,home:zw,promotions:Xw,providers:t0,rules:Yw,slots:e0,suport:Jw},Symbol.toStringTag,{value:"Module"})),yR={"see-more":"Ver mais","see-less":"Ver menos"},o0=Object.freeze(Object.defineProperty({__proto__:null,default:yR},Symbol.toStringTag,{value:"Module"})),_R={"fallback-aria":"Carrossel","empty-aria":"Nenhum item disponível"},r0=Object.freeze(Object.defineProperty({__proto__:null,default:_R},Symbol.toStringTag,{value:"Module"})),wR={"category-not-found":"Categoria não encontrada.","category-title-prefix":"Jogos de {name}","category-title-loading":"A carregar jogos","filters-empty":"Nenhum jogo encontrado com os filtros aplicados.","filters-reset":"Limpar filtros","index-title":"Jogos de Cassino","favorites-header":"Todos os meus jogos Favoritos","favorites-empty":"Não há nenhum jogo como favorito.","most-played":"Mais jogados","seo-categories-label":"Categorias","seo-title-template":"{name} - jogos de cassino online","seo-description-template":"Explore {category} na {siteTitle}. Jogos de cassino online com tecnologia avançada, pagamentos rápidos e uma experiência segura em ambiente 100% regulamentado. Diversão com transparência para maiores de 18 anos. Jogue com responsabilidade."},s0=Object.freeze(Object.defineProperty({__proto__:null,default:wR},Symbol.toStringTag,{value:"Module"})),SR={"loading-aria":"A carregar menu rápido"},a0=Object.freeze(Object.defineProperty({__proto__:null,default:SR},Symbol.toStringTag,{value:"Module"})),i0="Olá",l0="Acessar",c0="Fechar",u0="Tentar novamente",xR={hello:i0,access:l0,"online-betting":"Apostas Online",close:c0,"menu-open":"Menu","back-to-top":"Voltar ao topo","network-offline":"Sem conexão com a internet.","load-failed":"Não foi possível carregar o conteúdo. Verifique sua conexão e tente novamente.",retry:u0},d0=Object.freeze(Object.defineProperty({__proto__:null,access:l0,close:c0,default:xR,hello:i0,retry:u0},Symbol.toStringTag,{value:"Module"})),f0='Utilizamos cookies para aprimorar sua experiência de navegação, exibir anúncios ou conteúdo personalizado e analisar nosso tráfego. Ao clicar em "Aceitar todos", você concorda com nosso uso de cookies. Com "Apenas necessários", usamos somente os cookies essenciais da plataforma.',kR={content:f0,"accept-all":"Aceitar todos","accept-necessary":"Apenas necessários","policy-link":"Política de Cookies"},m0=Object.freeze(Object.defineProperty({__proto__:null,content:f0,default:kR},Symbol.toStringTag,{value:"Module"})),p0="Depositar",v0="Adicione saldo à sua conta.",h0={method:"Método",minimum:"Valor mínimo","amount-required":"Campo obrigatório","amount-min":"Valor mínimo de {value}","amount-max":"Valor máximo de {value}",submit:"Depositar",loading:"Carregando","applying-coupon":"Aplicando cupom","processed-by":"Processado por","hot-badge":"HOT"},g0={approved:"Depósito aprovado com sucesso.","session-expired":"Sessão expirada, faça login novamente.","generic-error":"Ocorreu um erro ao processar o depósito.","verification-unavailable":"URL de verificação não disponível"},b0={pending:"Pendente",denied:"Negado",approved:"Aprovado",amount:"Valor de depósito:","qr-alt":"QR Code PIX",copy:"Copiar",new:"Novo",refresh:"Atualizar","refresh-hint":"Obs: Caso tenha efetuado o pagamento, atualize a página para visualizar o status atualizado.",countdown:"Faça o pagamento em até:",expired:"Seu tempo para pagamento expirou!"},y0={label:"Cupom de bônus","have-coupon":"Possui cupom?",close:"Fechar",remove:"Remover",placeholder:"Código do cupom",apply:"Aplicar",available:"Utilizar cupons disponíveis",select:"Selecionar cupom",value:"Valor:","badge-bonus":"Bônus","badge-credit":"Crédito",success:"Cupom ativado com sucesso",invalid:"Insira um cupom válido","generic-error":"Ocorreu um erro tente novamente."},ER={title:p0,subtitle:v0,form:h0,alerts:g0,payment:b0,coupon:y0,"native-reminder":{title:"Depósito pendente",body:"Seu PIX ainda aguarda pagamento. Toque para continuar."}},_0=Object.freeze(Object.defineProperty({__proto__:null,alerts:g0,coupon:y0,default:ER,form:h0,payment:b0,subtitle:v0,title:p0},Symbol.toStringTag,{value:"Module"})),w0={"logged-time":"Tempo logado","last-login":"Último login"},S0={betting:{title:"Apostas","sports-betting":"Apostas Esportivas","live-sports":"Esportes ao Vivo",slots:"Jogos Slots","live-casino":"Jogos ao Vivo"},community:{title:"Comunidade",promotions:"Promoções","annual-statement":"Informe de Rendimentos",blog:"Blog","help-center":"Central de Ajuda","support-channels":"Canais de Atendimento","mobile-app":"Aplicativo móvel",telegram:"Acesse Nosso Telegram"},rules:{title:"Regras","betting-terms":"Termos de Apostas","rules-betting":"Regras de Apostas","terms-and-conditions":"Termos e Condições","privacy-policy":"Política de Privacidade","cookies-policy":"Política de Cookies","pld-ft-policy":"Política PLD/FTP","funds-and-transactions-policy":"Política de Fundos e Transações","responsible-gaming":"Jogo Responsável","autoexclusao-centralizada":"Autoexclusão Centralizada"},"useful-links":{title:"Links úteis","contact-us":"Contate-nos",payment:"Pagamento",language:"Idioma"}},x0={title:"Selos e responsabilidade",stamp:"Selo",institutional:"nstitucional","verified-by":"Verificado por","play-responsibly":"Jogue com responsabilidade","authorized-by":"Autorizado por"},CR={user:w0,menu:S0,stamps:x0,"institutional-links":{ombudsman:"Ouvidoria",whistleblower:"Denúncias",privacy:"Privacidade"}},k0=Object.freeze(Object.defineProperty({__proto__:null,default:CR,menu:S0,stamps:x0,user:w0},Symbol.toStringTag,{value:"Module"})),AR={"providers-label":"Provedores:","providers-all":"Todos","providers-toggle-aria":"Filtrar jogos por provedor. Exibindo todos os provedores","providers-toggle-aria-count":"Filtrar jogos por provedor. {count} provedores selecionados","provider-option-aria":"Exibir somente jogos do provedor {name}"},E0=Object.freeze(Object.defineProperty({__proto__:null,default:AR},Symbol.toStringTag,{value:"Module"})),C0="Jogue",A0={add:"Adicionar aos favoritos o jogo",remove:"Remover dos favoritos o jogo",title:"Meus favoritos"},TR={play:C0,"loading-aria":"A carregar jogos","title-favorites":"Meus Favoritos","view-all":"Ver todos","view-all-aria":"Ver todos os jogos","view-all-category":"Ver todos os jogos de {name}","carousel-aria":"Carrossel de jogos","carousel-prev":"Voltar carrossel","carousel-next":"Avançar carrossel",favorite:A0,"online-players-aria":"{count} jogadores online","online-label":"online"},T0=Object.freeze(Object.defineProperty({__proto__:null,default:TR,favorite:A0,play:C0},Symbol.toStringTag,{value:"Module"})),P0="Indique um amigo e ganhe dinheiro",I0="Receba {amount} de {wallet} para cada amigo que você indicar para a {host}.",R0={real:"saldo REAL",bonus:"saldo BÔNUS",cashback:"CASHBACK"},O0={default:"Para efetivar seu {wallet}, o seu amigo indicado deve girar o mínimo de {amount} nos jogos selecionados.",bet:"Para efetivar seu {wallet}, o seu amigo indicado deve girar o mínimo de {amount} nos jogos selecionados."},$0="Copiar Link",PR={title:P0,reward:I0,wallet:R0,activation:O0,"link-label":"Seu Link:",copy:$0,"copy-success":"Link copiado para a área de transferência","copy-error":"Não foi possível copiar o link","games-title":"Jogos disponíveis para a promoção","games-aria":"Jogos elegíveis para a promoção de indicação"},L0=Object.freeze(Object.defineProperty({__proto__:null,activation:O0,copy:$0,default:PR,reward:I0,title:P0,wallet:R0},Symbol.toStringTag,{value:"Module"})),D0={liveness:{"start-button":"Iniciar Verificação",title:"Verificação Facial",subtitle:"Posicione seu rosto na câmera",description:"Para sua segurança, precisamos verificar sua identidade"},notify:{"tokens-error-generic":"Não foi possível obter as credenciais de verificação. Tente novamente em instantes.","identity-verification-error":"Erro na verificação de identidade","verification-error-generic":"Não foi possível concluir a verificação. Tente novamente em instantes.","verification-in-progress":"Verificação já em andamento","cpf-required":"CPF é obrigatório para verificação","sdk-init-failed":"Falha ao inicializar o SDK CAF","attestation-missing":"Erro na verificação: attestation não encontrado","validation-failed-generic":"Validação falhou no servidor","validation-server-error":"Erro na validação com o servidor","user-not-authorized":"Verificação falhou. Usuário não autorizado.","start-verification-error":"Erro ao iniciar a verificação de identidade. Tente novamente.","face-cpf-required":"CPF é obrigatório para verificação facial","verification-url-missing":"URL de verificação não disponível","face-start-error-generic":"Não foi possível iniciar a verificação facial. Tente novamente em instantes."}},V0={notify:{"sdk-unavailable":"Legitimuz SDK não disponível.","kyc-success":"Verificação KYC concluída com sucesso!","kyc-closed":"Verificação KYC fechada.","kyc-failed-generic":"Falha na verificação KYC. Tente novamente em instantes.","sdk-load-failed":"Falha ao carregar Legitimuz SDK.","sdk-start-timeout":"Não foi possível iniciar a verificação. Tente novamente.","face-success":"Verificação facial concluída com sucesso!","face-failed-generic":"Falha na verificação facial. Tente novamente em instantes.","face-init-error":"Erro ao inicializar verificação facial.","already-verified":"Sua conta já está verificada."}},M0={title:"Verificação necessária",description:{face:"Para utilizar o sistema de apostas é necessário realizar o reconhecimento facial.",document:"Para utilizar o sistema de apostas é necessário realizar a verificação dos seus documentos."},cta:"Verificar agora","cta-in-progress":"Verificação em andamento...","in-progress":"Verificação em andamento. Por favor, complete o processo."},IR={caf:D0,legitimuz:V0,modal:M0,"ip-blocked":{title:"VPN DETECTADA",description:"Identificamos que você está utilizando uma VPN. Para garantir o funcionamento correto do nosso site, pedimos que desative a VPN e recarregue a página.",retry:"Desativar VPN e continuar",processing:"Processando...","still-blocked":"Ainda não conseguimos liberar seu acesso. Verifique sua conexão.","retry-error":"Não foi possível revalidar seu acesso agora. Tente novamente em instantes."}},B0=Object.freeze(Object.defineProperty({__proto__:null,caf:D0,default:IR,legitimuz:V0,modal:M0},Symbol.toStringTag,{value:"Module"})),N0="Entrar",F0="Cadastre-se",j0="Depositar",U0="Saldo",z0="Notificações",H0={required:"Verificação necessária","face-required":"Verificação facial necessária","cpf-required":"Cadastre o CPF na conta antes de iniciar a verificação.",unavailable:"Verificação automática não disponível para este perfil."},K0={brl:"BRL","account-balance":"Saldo da conta","bonus-money":"Dinheiro de bônus","max-win":"Valor máximo de ganho","missing-prefix":"Falta ","missing-suffix":" para completar o rollover",complete:"Rollover completo!","see-bonus":"Ver bônus disponíveis"},W0={openMenu:"Menu da conta",account:"Conta",gamification:"Gamificação",notifications:"Notificações",referrals:"Indicações",withdraw:"Saque",transactions:"Transações",coupons:"Cupons",bonus:"Bônus",password:"Senha",playerProtection:"Proteção do jogador",liveSupport:"Suporte ao vivo",logout:"Sair"},RR={login:N0,register:F0,deposit:j0,balance:U0,notifications:z0,verification:H0,rollover:K0,userMenu:W0},q0=Object.freeze(Object.defineProperty({__proto__:null,balance:U0,default:RR,deposit:j0,login:N0,notifications:z0,register:F0,rollover:K0,userMenu:W0,verification:H0},Symbol.toStringTag,{value:"Module"})),G0="Recuperar senha",Y0="Defina sua nova senha. Certifique-se de que a senha criada é forte e segura.",J0="Nova senha",X0="Confirme a nova senha",Z0="Salvar",Q0="Link de recuperação inválido ou expirado.",eS="Por favor, preencha todos os campos corretamente.",tS="Senha atualizada com sucesso!",nS={length:"Mínimo de 6 caracteres",alphanumeric:"Deve conter pelo menos uma letra e um número",specialChar:"Deve conter pelo menos um caractere especial",match:"As senhas devem coincidir"},oS={generic:"Erro ao atualizar a senha. Tente novamente."},OR={title:G0,intro:Y0,newPassword:J0,confirmPassword:X0,submit:Z0,invalidLink:Q0,fillCorrectly:eS,success:tS,rules:nS,errors:oS},rS=Object.freeze(Object.defineProperty({__proto__:null,confirmPassword:X0,default:OR,errors:oS,fillCorrectly:eS,intro:Y0,invalidLink:Q0,newPassword:J0,rules:nS,submit:Z0,success:tS,title:G0},Symbol.toStringTag,{value:"Module"})),sS="Entrar",aS="Descrição do jogo",iS="Início",lS="Cassino em manutenção.",cS="Compartilhar",uS="Demo",dS="Alternar tela cheia do jogo",fS="Depositar",mS="Não foi possível iniciar o jogo. Verifique os requisitos da sua conta e tente novamente.",$R={"login-required":"Você precisa entrar para jogar.",login:sS,"game-frame":"Jogo de cassino","related-games":"Jogos relacionados","showing-results-for":"Exibindo resultados para","no-results-for":"Não foram encontrados resultados para",description:aS,home:iS,"exit-game":"Sair do jogo",maintenance:lS,share:cS,"share-error":"Não foi possível compartilhar este jogo.","share-copied":"Link do jogo copiado.",demo:uS,"play-now":"Jogar agora","real-mode":"Modo real","demo-mode":"Modo demo","toggle-demo":"Alternar modo demo",fullscreen:dS,"open-menu":"Abrir menu de jogos",deposit:fS,"verification-required":"Verificação necessária para acessar este conteúdo. Caso já esteja verificado, recarregue a página.","not-found":"Jogo não encontrado.",unavailable:mS,"seo-title-template":"{game} por {provider} | {siteTitle}","seo-description-template":"Jogue {game}, da {provider}, na {siteTitle}. Acesse o cassino online e jogue com responsabilidade.","stats-title":"Estatísticas","stats-online":"online","stats-period-day":"Hoje","stats-period-week":"Semana","stats-period-month":"Mês","stats-total-paid":"Total pago","stats-total-bets":"Total apostas","stats-rtp":"RTP real","stats-avg-win":"Ganho médio","stats-prev":"Anterior","stats-next":"Próximo","locked-hint-play":"Clique em Jogar para iniciar","locked-hint-login":"Entre para jogar","locked-register":"Cadastrar","locked-play":"Jogar","share-facebook":"Compartilhar no Facebook","share-whatsapp":"Compartilhar no WhatsApp","share-telegram":"Compartilhar no Telegram","share-twitter":"Compartilhar no X","share-copy":"Copiar link","play-demo":"Jogar demo"},pS=Object.freeze(Object.defineProperty({__proto__:null,default:$R,demo:uS,deposit:fS,description:aS,fullscreen:dS,home:iS,login:sS,maintenance:lS,share:cS,unavailable:mS},Symbol.toStringTag,{value:"Module"})),vS="Adicionar cupom",hS="Não há cupons ativos.",gS="Não há cupons a ativar.",bS="Ativar cupom",yS="Valor:",_S="Expira em {date}",wS={placeholder:"Código do cupom",apply:"Aplicar"},SS={activated:"Bônus ativado com sucesso",applySuccess:"Cupom ativado com sucesso",invalid:"Insira um cupom válido"},LR={add:vS,empty:hS,emptyDeposit:gS,activate:bS,value:yS,expires:_S,modal:wS,messages:SS},xS=Object.freeze(Object.defineProperty({__proto__:null,activate:bS,add:vS,default:LR,empty:hS,emptyDeposit:gS,expires:_S,messages:SS,modal:wS,value:yS},Symbol.toStringTag,{value:"Module"})),kS="Não há prêmios disponíveis.",ES="Não foi possível carregar os prêmios.",CS="Tentar novamente",AS="Expira em",TS="Sem expiração",PS="Resgatar prêmio",IS={cash:"Cash",freeSpins:"Rodadas grátis",default:"Prêmio"},RS={claimSuccess:"Promoção resgatada com sucesso.",claimError:"Erro ao resgatar a promoção."},DR={empty:kS,loadError:ES,retry:CS,expiresLabel:AS,noExpiration:TS,claimCta:PS,types:IS,messages:RS},OS=Object.freeze(Object.defineProperty({__proto__:null,claimCta:PS,default:DR,empty:kS,expiresLabel:AS,loadError:ES,messages:RS,noExpiration:TS,retry:CS,types:IS},Symbol.toStringTag,{value:"Module"})),$S="Promoções",LS="Participe",DS="Nenhuma promoção disponível no momento.",VR={title:$S,join:LS,"join-aria-prefix":"Participar da promoção",empty:DS,"not-found":"Promoção não encontrada.","back-to-list":"Voltar para promoções","fallback-name":"Promoção","view-all":"Ver todos","view-all-aria":"Ver todas as promoções","carousel-aria":"Promoções","carousel-prev":"Voltar carrossel de promoções","carousel-next":"Avançar carrossel de promoções","loading-aria":"A carregar promoções"},VS=Object.freeze(Object.defineProperty({__proto__:null,default:VR,empty:DS,join:LS,title:$S},Symbol.toStringTag,{value:"Module"})),MS={configureLimits:"Configurar limites e histórico",otherOptions:"Outras opções",optionsAttention:"Atenção!",optionsIntro:"As opções abaixo envolvem ações sensíveis sobre sua conta. Leia com atenção antes de prosseguir.",pause:"Pausa",exclusion:"Exclusão",centralized:"Auto-Exclusão Centralizada"},BS={title:"Responsabilidade do Jogador!",body:"Jogue com responsabilidade, defina limites e nunca comprometa seu bem-estar financeiro. Use nossas ferramentas para manter o controle e garantir uma experiência saudável."},NS={title:"Controles",introAttention:"Atenção!",intro:"Estabeleça um limite para controlar seus depósitos, perdas, tempo ou aposta de valores na plataforma. Este limite pode ser diário, semanal, mensal ou anual.",wait24h:"Alterações para remover os limites só entram em vigor após um período de espera de 24 horas. Por exemplo, se você estabelecer um limite de perda diária de R$ 100 às 15h de hoje, você só poderá remover ou alterar às 15h de amanhã.",historyWaitNote:"A remoção de limites não é imediata. Após solicitar a exclusão, o limite poderá permanecer ativo por até 24 horas.",type:"Tipo",typePlaceholder:"Tipo de Limite",typeDeposit:"Limitar Depósito",typeLoss:"Limitar Perdas",typeTime:"Limitar Tempo",typeSpent:"Limitar Apostas",typeDepositShort:"Depósito",typeLossShort:"Perda",typeTimeShort:"Tempo",typeSpentShort:"Aposta",interval:"Período",intervalPlaceholder:"Período do Limite",value:"Valor",valueLabel:"Insira o valor",timeLabel:"Insira o valor em horas",createdAt:"Data criação",status:"Data Encerramento",statusActive:"Ativo",statusDeleting:"Em processo de exclusão",expiresAt:"Expira em {date}",create:"Confirmar",delete:"Remover",deleteColumn:"Excluir",showMore:"Ver mais",noLimits:"Nenhuma limitação foi realizada",history:"Histórico de Limites",onlyOneLoss:"Já existe um limite de perda ativo. Remova o limite atual e aguarde sua expiração antes de criar outro.",required:"Campo obrigatório.",minValue:"O valor deve ser maior que zero.",maxValue:"Valor máximo: 999.999.999.",maxHours:"Tempo máximo para o período: {n}h.",confirmCreate:"Confirmar Limitação",confirmCreateMsg:"Você está prestes a limitar sua conta.",confirmDelete:"Confirmar Exclusão do Limite",confirmDeleteMsg:"Você está prestes a remover essa limitação.",createSuccess:"Limite configurado com sucesso",deleteSuccess:"Limite removido com sucesso",daily:"Diário",weekly:"Semanal",monthly:"Mensal",annually:"Anual",errors:{inactiveAccount:"Sua conta encontra-se inativa.",createFailed:"Não foi possível criar o limite, tente novamente mais tarde",applyDefaultsFailed:"Não foi possível aplicar os limites padrão. Tente novamente.",fetchFailed:"Não foi possível carregar seus limites. Tente novamente.",deleteCooldown:"Você só poderá excluir um limite setado após 24 horas",deleteFailed:"Não foi possível realizar essa ação, tente novamente mais tarde"}},FS={title:"Pausar sua conta",introAttention:"Atenção!",description:"Estabeleça uma pausa temporária em sua conta. Durante esse período, você não poderá realizar depósitos nem apostas, mas ainda poderá efetuar saques normalmente.",period:"Período de pausa",selectPeriod:"Selecione o período de pausa",days:"{n} dias",day:"{n} dia",submit:"Confirmar Pausa",confirmTitle:"Confirmar Pausa da Conta",confirmMsg:"Você está prestes a pausar sua conta.",confirmBtn:"Pausar",success:"Conta pausada com sucesso",error:"Não foi possível realizar essa ação"},jS={title:"Autoexcluir sua conta",introAttention:"Atenção!",description:"Ao excluir sua conta, você não poderá criar outra com os mesmos dados nem acessá-la novamente. Recomendamos aguardar a conclusão de suas apostas e sacar o saldo disponível antes de finalizar.",action:"Forma de exclusão",selectAction:"Selecione a forma de exclusão",temporary:"Exclusão temporária",permanent:"Exclusão permanente",period:"Tempo da exclusão",selectPeriod:"Selecione o tempo da exclusão",period90:"3 meses",period180:"6 meses",period365:"1 ano",period730:"2 anos",reason:"Motivo da exclusão",selectReason:"Motivo da exclusão",reasons:{no_interest:"Não tenho mais interesse em apostas",user_request:"Solicitação do usuário",personal_reasons:"Autoexclusão por questões pessoais",inactivity:"Inatividade prolongada",policy:"Encerramento da conta por política da empresa",responsible_gaming:"Preocupações com o jogo responsável",health_finances:"Preocupação com minha saúde mental ou financeira"},submit:"Confirmar Exclusão",confirmTitle:"Confirmar Exclusão da Conta",confirmMsg:"Você está prestes a excluir sua conta.",confirmBtn:"Excluir Conta",success:"Conta encerrada com sucesso",error:"Não foi possível realizar essa ação."},US={title:"Auto-Exclusão Centralizada",attention:"Atenção!",description:"A autoexclusão centralizada é um serviço do governo federal que permite bloquear seu acesso a todas as casas de apostas autorizadas no Brasil de uma só vez.",redirectNote:"Você será redirecionado para o portal oficial do governo para realizar o cadastro de autoexclusão centralizada.",cta:"Acessar portal gov.br"},MR={hub:MS,mobileHero:BS,limits:NS,suspension:FS,exclusion:jS,centralized:US},zS=Object.freeze(Object.defineProperty({__proto__:null,centralized:US,default:MR,exclusion:jS,hub:MS,limits:NS,mobileHero:BS,suspension:FS},Symbol.toStringTag,{value:"Module"})),HS="Provedores",KS="Nenhum provedor disponível no momento.",BR={title:HS,"title-page":"Mostrando todos os provedores","view-games":"Ver jogos","view-games-aria":"Ver jogos do provedor","view-all":"Ver todos","view-all-aria":"Ver todos os provedores","carousel-aria":"Provedores de jogos","carousel-prev":"Voltar carrossel de provedores","carousel-next":"Avançar carrossel de provedores",empty:KS,"loading-aria":"A carregar provedores","back-to-list":"Voltar para provedores","not-found":"Provedor não encontrado.","games-empty":"Nenhum jogo disponível para este provedor.","games-title-prefix":"Mostrando jogos de","games-title-loading":"A carregar jogos","games-title-fallback":"Jogos do provedor","load-more-prefix":"Ver mais jogos de","showing-prefix":"Mostrando","showing-separator":"de"},WS=Object.freeze(Object.defineProperty({__proto__:null,default:BR,empty:KS,title:HS},Symbol.toStringTag,{value:"Module"})),qS="VOCÊ NO CONTROLE!",GS="Para finalizar seu cadastro, defina seus limites de segurança. Esses valores ajudam você a jogar com responsabilidade e podem ser ajustados depois.",YS="Começar a jogar",NR={title:qS,intro:GS,"loss-section":"Limite de perdas","time-section":"Tempo de uso","recurrence-placeholder":"Recorrência","loss-placeholder":"Valor","time-placeholder":"Horas","radio-keep":"Manter os limites já definidos","radio-custom":"Personalizar limites",cta:YS,"responsible-gaming-link":"Ler Política de Jogo Responsável","save-success":"Limites definidos com sucesso!","save-error":"Erro ao salvar limites. Tente novamente.","radio-group-label":"Opção de limite","recurrence-daily":"Diário","recurrence-weekly":"Semanal","recurrence-monthly":"Mensal","recurrence-annually":"Anual"},JS=Object.freeze(Object.defineProperty({__proto__:null,cta:YS,default:NR,intro:GS,title:qS},Symbol.toStringTag,{value:"Module"})),XS="Indique um amigo e ganhe",ZS="de saldo REAL para cada amigo que convidar💥",QS="Resgatar",FR={lead:XS,suffix:ZS,cta:QS},ex=Object.freeze(Object.defineProperty({__proto__:null,cta:QS,default:FR,lead:XS,suffix:ZS},Symbol.toStringTag,{value:"Module"})),tx="Acesso Restrito",nx="Acesso restrito. Entre em contato com o suporte.",ox="Entendi",jR={title:tx,message:nx,confirm:ox},rx=Object.freeze(Object.defineProperty({__proto__:null,confirm:ox,default:jR,message:nx,title:tx},Symbol.toStringTag,{value:"Module"})),UR={"sports-book-version":"Versão do software de apostas:"},sx=Object.freeze(Object.defineProperty({__proto__:null,default:UR},Symbol.toStringTag,{value:"Module"})),ax="Pesquise um jogo...",ix="Limpar busca de jogos",lx="Fechar busca",cx="Não encontramos resultados para esta busca",ux="Não foi possível carregar os jogos. Tente novamente.",zR={placeholder:ax,clear:ix,close:lx,"min-length":"Digite no mínimo 3 caracteres para pesquisar",empty:cx,error:ux,"loading-aria":"A carregar jogos","load-more":"Ver mais","showing-prefix":"Mostrando","showing-separator":"de"},dx=Object.freeze(Object.defineProperty({__proto__:null,clear:ix,close:lx,default:zR,empty:cx,error:ux,placeholder:ax},Symbol.toStringTag,{value:"Module"})),fx="Suporte Ao Vivo",mx="Blog",px="Promoções",vx="Cassino",hx="Esportes",gx="Ganhe",bx="Grátis",HR={support:fx,blog:mx,promotions:px,casino:vx,sports:hx,earn:gx,free:bx},yx=Object.freeze(Object.defineProperty({__proto__:null,blog:mx,casino:vx,default:HR,earn:gx,free:bx,promotions:px,sports:hx,support:fx},Symbol.toStringTag,{value:"Module"})),_x="Carregando esportes",wx="Jogos em manutenção",Sx={"generic-names":"competição,categoria,esporte,esportes,evento esportivo",categories:{volleyball:"Vôlei",tennis:"Tênis",basketball:"Basquete",football:"Futebol"}},KR={"almost-there":"Quase lá","go-to-sports":"Ir para esportes",loading:_x,"loading-dots":"Carregando...",maintenance:wx,"next-matches":"Próximas partidas","searching-odds":"Buscando as melhores odds","wait-moment":"Aguarde um momento",seo:Sx},xx=Object.freeze(Object.defineProperty({__proto__:null,default:KR,loading:_x,maintenance:wx,seo:Sx},Symbol.toStringTag,{value:"Module"})),kx="Carregando esportes",Ex={title:"Não foi possível carregar os esportes",retry:"Tentar novamente"},WR={loading:kx,error:Ex},Cx=Object.freeze(Object.defineProperty({__proto__:null,default:WR,error:Ex,loading:kx},Symbol.toStringTag,{value:"Module"})),Ax="Nossos Termos e Condições",Tx="Atualizamos nossos Termos e Condições. Você pode conferi-los abaixo:",Px="Carregando termos…",Ix="Concordo com todos os termos e condições",Rx="Aceito os termos",qR={title:Ax,intro:Tx,loading:Px,"load-error":"Erro ao carregar os termos. Tente novamente mais tarde.","regulation-error":"Erro ao carregar os termos!",checkbox:Ix,accept:Rx,"read-full":"Ler Termos e Condições","accept-success":"Termos aceitos com sucesso!","accept-error":"Erro ao aceitar os termos, tente novamente!"},Ox=Object.freeze(Object.defineProperty({__proto__:null,accept:Rx,checkbox:Ix,default:qR,intro:Tx,loading:Px,title:Ax},Symbol.toStringTag,{value:"Module"})),$x="Voltar",Lx={todo:"Em breve"},Dx={"carousel-aria":"Menu da área do usuário","carousel-prev":"Voltar carrossel","carousel-next":"Avançar carrossel",profile:"Perfil",wallet:"Carteira",promotions:"Promoções",deposit:"Depósito",gamification:"Gamificação",protection:"Proteção"},Vx={myData:"Meus dados",documents:"Documentos",password:"Alterar senha"},Mx={transactions:"Transações",deposit:"Depósito",withdraw:"Saque",comprovaBet:"Comprova Bet"},Bx={bonus:"Bônus",coupons:"Cupons",rewards:"Resgatar prêmio"},Nx={controls:"Controles",limits:"Controle de Limites",suspension:"Suspensão",exclusion:"Exclusão",centralizedSelfExclusion:"Auto-Exclusão Centralizada"},Fx={general:"Geral",missions:"Missões",tournaments:"Torneios",miniGames:"Mini Games",levels:"Níveis",badges:"Emblemas",shop:"Loja",overview:{title:"Visão Geral",subtitle:"Gerencie sua experiência gamificada e acompanhe seu progresso.",viewAll:"Ver Todos",retry:"Tentar Novamente",prevArrow:"Anterior",nextArrow:"Próximo",unavailable:{title:"Gamificação Temporariamente Indisponível",description:"A funcionalidade de gamificação está temporariamente desabilitada. Em breve você poderá desfrutar de missões, recompensas e torneios incríveis!",login:"Fazer Login",register:"Criar Conta"},stats:{title:"Progresso",currentLevel:"Nível Atual",coins:"Moedas",missions:"Missões",maxLevel:"Você alcançou o nível máximo!",pointsTo:"pontos para",error:"Erro ao carregar dados",editAvatar:"Alterar avatar",editNickname:"Alterar apelido"},missions:{empty:"Nenhuma missão disponível",error:"Erro ao carregar missões",noReward:"Sem recompensa",rewardLabel:"Recompensa",progressLabel:"Progresso",viewAll:"Ver Todas",timerFinishesIn:"Finaliza em",timerAvailableUntil:"Disponível até",filters:{overview:"Visão Geral",available:"Disponíveis",locked:"Bloqueadas",completed:"Concluídas",expired:"Expiradas"},searchPlaceholder:"Pesquise uma missão",searchClear:"Limpar busca",searchEmptyTitle:"Nenhuma missão encontrada",searchEmptyHint:"Tente buscar com outros termos",filterEmptyHint:"Não há missões nesta categoria no momento",emptyLoggedHint:"Volte mais tarde para ver todas as missões disponíveis",visitorHeader:"Complete as missões para ganhar pontos e prêmios incríveis!",visitorEmptyHint:"Se cadastre ou faça login para ver todas as missões disponíveis",listing:{statusInitiate:"Você deve iniciar a Missão",ctaExpired:"Encerrada",ctaLocked:"Como Desbloquear"},status:{expired:"Expirada",locked:"Bloqueada",completed:"Concluída",inProgress:"Em Progresso",initiate:"Iniciar",available:"Disponível"},cta:{expired:"Expirada",locked:"Bloqueada",completed:"Concluída",continue:"Continuar",start:"Iniciar",join:"Participar"},modal:{close:"Fechar",accept:"Aceitar Missão",noDescription:"Sem descrição disponível",rewardTitle:"Recompensa pela missão completa:",tasksSingular:"Missão que deve ser completada:",tasksPlural:"Missões que devem ser completadas:",unlockTitle:"Como desbloquear esta missão?",finishesIn:"Finaliza em:",progress:"Progresso",executeAction:"Executar Ação",pointsSingular:"pt",pointsPlural:"pts",relatedGamesTitle:"Jogos Relacionados",tasksInfoTitle:"Informações",durationLabel:"Duração da missão:",availableFromLabel:"Disponível a partir de:",expiresAtLabel:"Expira em:",hintTitle:"Termos da Missão"}},tournaments:{empty:"Nenhum torneio disponível",error:"Erro ao carregar torneios",noPrize:"Sem prêmio",prizeLabel:"Prêmio",participants:"inscritos",participantsLabel:"Inscritos",entry:"Entrada",free:"Gratuito",startsIn:"Inicia em",endsIn:"Termina em",cta:{registered:"Inscrito",join:"Participar"},status:{upcoming:"Em breve",inProgress:"Em andamento",cancelled:"Cancelado",finished:"Finalizado"}},miniGames:{empty:"Nenhum mini game disponível",error:"Erro ao carregar mini games",free:"Grátis",typeLabel:"Tipo",costLabel:"Custo",nextIn:"Próxima em",cta:{play:"Jogar Agora",waiting:"Aguarde...",unavailable:"Indisponível"}},levels:{empty:"Nenhum nível disponível",error:"Erro ao carregar níveis",levelLabel:"Nível",reward:"Recompensa",progressLabel:"Progresso",pointsShort:"pts",cta:{details:"Ver detalhes"}},badges:{empty:"Nenhum emblema disponível",error:"Erro ao carregar emblemas",cta:{details:"Ver detalhes"},status:{achieved:"Conquistado",locked:"Bloqueado",available:"Disponível"}},shop:{empty:"Nenhum item disponível na loja",error:"Erro ao carregar itens da loja",priceLabel:"Preço",cta:{buy:"Comprar",view:"Ver na loja"},units:{points:"pontos",gems:"gemas",diamonds:"diamantes"},searchPlaceholder:"Pesquise um item",searchClear:"Limpar busca",searchEmptyTitle:"Nenhum item encontrado",searchEmptyHint:"Tente buscar com outros termos",emptyLoggedHint:"A loja está vazia no momento",visitorHeader:"Troque suas moedas por prêmios incríveis na nossa Loja Exclusiva.",visitorEmptyHint:"Faça login para ver todos os itens disponíveis",valueLabel:"Valor",status:{available:"Disponível",unavailable:"Indisponível",purchasedToday:"Comprado hoje",purchasedWeek:"Comprado esta semana",purchasedMonth:"Comprado este mês"},listing:{ctaDetails:"Detalhes",historyOpen:"Abrir histórico de compras",expiresIn:"Finaliza em",unitsShort:{points:"pts",gems:"gemas",diamonds:"diamantes"}},history:{title:"Histórico de Compras",empty:"Nenhuma compra encontrada",emptyHint:"Você ainda não comprou nenhum item na loja",pricePaid:"Preço pago",purchasedAt:"Comprado em",pointsSpent:"Pontos gastos",purchasedBadge:"Comprado"}},visitor:{title:"Descubra a Gamificação",missionsLabel:"Missões",tournamentsLabel:"Torneios",shopLabel:"Loja",missionsCount:"missões disponíveis",tournamentsCount:"torneios ativos",shopCount:"itens disponíveis",ctaTitle:"Desbloqueie Todas as Funcionalidades!",ctaDescription:"Faça login para acessar missões exclusivas, participar de torneios e resgatar recompensas incríveis.",login:"Fazer Login",register:"Criar Conta"}},levelsPage:{title:"Níveis",subtitle:"Supere desafios e evolua.",currentLevel:"Nível atual",maxLevel:"Você alcançou o nível máximo!",pointsTo:"pontos para",pointsShort:"pts",noImage:"Sem imagem",error:"Não foi possível carregar os níveis",retry:"Tentar novamente",balances:{title:"Seus pontos",points:"pts",gems:"gems",diamonds:"diamantes"},pagination:{showing:"Mostrando {shown} de {total}",loadMore:"Ver mais"},empty:{title:"Nenhum nível disponível",description:"Volte mais tarde para conferir novos níveis"},modal:{noDescription:"Sem descrição disponível"}},tournamentsPage:{searchPlaceholder:"Pesquise um torneio",prizeTotal:"PRÊMIO TOTAL",visitorTitle:"Participe de torneios emocionantes e concorra a prêmios incríveis!",empty:"Nenhum torneio disponível",emptySearch:"Nenhum torneio encontrado",error:"Erro ao carregar torneios",retry:"Tentar novamente",clearSearch:"Limpar busca",tabs:{all:"Visão global",active:"Ativos",upcoming:"Em breve",inProgress:"Em andamento",registered:"Inscrito"},cta:{join:"PARTICIPAR",registered:"INSCRITO",loginToJoin:"PARTICIPAR",unavailable:"Indisponível"},ribbon:{new:"NOVO"},emptySearchHint:"Tente buscar com outros termos",prizes:{freeSpinShort:"Free spin"}},miniGamesPage:{searchPlaceholder:"Pesquise um mini game",clearSearch:"Limpar busca",visitorTitle:"Jogue mini games e ganhe prêmios incríveis!",empty:"Nenhum mini game disponível",emptyHintLogged:"Volte mais tarde para conferir novos jogos",emptyHintVisitor:"Se cadastre ou faça login para ver todos os mini games disponíveis",emptySearch:"Nenhum mini game encontrado",emptySearchHint:"Tente buscar com outros termos",error:"Erro ao carregar mini games",retry:"Tentar novamente",countdownTitle:"Próxima tentativa em",status:{available:"Disponível",waiting:"Aguarde",unavailable:"Indisponível"},cta:{needCost:"{cost} necessários",unavailable:"Indisponível"},units:{points:"pts",gems:"gems",diamonds:"diamonds",attempts:"tentativas"},attempts:{singular:"tentativa",plural:"tentativas"},gameTypes:{wheel:"Roda da Fortuna",scratch:"Raspadinha",matchx:"Match X",giftbox:"Caixa de Presentes",prizedrop:"Queda de Prêmios",quiz:"Quiz",lootboxWeekdays:"Lootbox Semanal",lootboxCalendar:"Lootbox Calendário",treasureHunt:"Caça ao Tesouro",voyager:"Voyager",plinko:"Plinko",unknown:"Desconhecido"},history:{title:"Histórico de Prêmios",openAria:"Abrir histórico de prêmios",emptyTitle:"Nenhum prêmio ainda",emptyDescription:"Você ainda não ganhou nenhum prêmio. Participe dos mini-games para ganhar recompensas incríveis!",error:"Erro ao carregar histórico de prêmios",claimed:"✓ Resgatado",pending:"⏳ Pendente",gameLabel:"Jogo",valueLabel:"Valor",typeLabel:"Tipo",dateLabel:"Data"}}},jx={account:"Perfil",wallet:"Carteira",deposit:"Depósito",promotion:"Promoções",coupon:"Cupons",rewards:"Resgatar prêmio",protection:"Proteção",suspension:"Suspensão",exclusion:"Exclusão",centralizedSelfExclusion:"Auto-Exclusão Centralizada",gamification:"Gamificação",missions:"Missões",tournaments:"Torneios",miniGames:"Mini Games",levels:"Níveis",badges:"Emblemas",shop:"Loja",document:"Documentos",password:"Alterar senha",withdraw:"Saque",indications:"Indicações",annualStatement:"Comprova Bet"},Ux={aria:"Menu lateral da área do usuário",item:{aria:"Ir para {label}"}},GR={back:$x,placeholder:Lx,top:Dx,account:Vx,wallet:Mx,promotion:Bx,protection:Nx,gamification:Fx,breadcrumb:jx,sideMenu:Ux},zx=Object.freeze(Object.defineProperty({__proto__:null,account:Vx,back:$x,breadcrumb:jx,default:GR,gamification:Fx,placeholder:Lx,promotion:Bx,protection:Nx,sideMenu:Ux,top:Dx,wallet:Mx},Symbol.toStringTag,{value:"Module"})),Hx="Adicione seu documento",Kx="É necessário adicionar seu CPF para depositar",Wx="CPF",qx="CPF",Gx="Adicionar",Yx="CPF adicionado com sucesso!",Jx={required:"Digite um CPF válido",invalid:"Digite um CPF válido",saveFailed:"Erro ao adicionar CPF",generic:"Erro inesperado ao adicionar CPF"},YR={title:Hx,subtitle:Kx,label:Wx,placeholder:qx,submit:Gx,success:Yx,errors:Jx},Xx=Object.freeze(Object.defineProperty({__proto__:null,default:YR,errors:Jx,label:Wx,placeholder:qx,submit:Gx,subtitle:Kx,success:Yx,title:Hx},Symbol.toStringTag,{value:"Module"})),Zx="Alterar Senha",Qx="Aqui você pode atualizar a senha da sua conta. Certifique-se de que a nova senha criada é forte e segura.",ek={currentPassword:{label:"Senha atual",placeholder:"Senha Atual"},newPassword:{label:"Nova senha",placeholder:"Nova Senha"},confirmPassword:{label:"Confirmar nova senha",placeholder:"Confirme Nova Senha"}},tk="Salvar",nk={title:"Tem certeza que deseja salvar as alterações?",confirm:"Salvar",cancel:"Cancelar"},ok={match:"As senhas devem coincidir"},rk={weak:"Fraca",fair:"Regular",good:"Boa",strong:"Forte"},sk={required:"O campo é obrigatório",generic:"Erro ao validar o formulário"},ak="Senha atualizada com sucesso!",JR={title:Zx,intro:Qx,fields:ek,save:tk,modal:nk,rules:ok,strength:rk,errors:sk,success:ak},ik=Object.freeze(Object.defineProperty({__proto__:null,default:JR,errors:sk,fields:ek,intro:Qx,modal:nk,rules:ok,save:tk,strength:rk,success:ak,title:Zx},Symbol.toStringTag,{value:"Module"})),lk={stepIdentity:"Identidade e E-mail",intro:"Primeiro, vamos verificar sua identidade e e-mail para enviar o código.",field:"E-mail",success:"Sua identidade foi confirmada e seu e-mail foi verificado. Você já pode acessar todas as funcionalidades da plataforma."},ck={stepIdentity:"Identidade e Telefone",intro:"Primeiro, vamos verificar sua identidade e telefone para enviar o código.",field:"Telefone com DDD",success:"Seu telefone foi verificado. Você já pode acessar todas as funcionalidades da plataforma."},uk="Código",dk="Sucesso",fk="Digite o código de 6 dígitos enviado para:",mk="Verificar Identidade e Enviar Código",pk="Verificar Código",vk="Verificando...",hk="Verificando Identidade...",gk="Enviando Código...",bk="Reenviar código",yk="Solicitar um novo código em:",_k="Fechar",wk={emailSent:"E-mail enviado com sucesso!",phoneSent:"SMS enviado com sucesso!",verified:"Código verificado com sucesso!"},Sk={invalidCode:"Código inválido ou expirado",sendFailed:"Erro ao enviar código.",resendWait:"Você deve aguardar 30 segundos para reenviar o código.",identityFailed:"Verificação facial falhou ou foi cancelada. Não foi possível enviar o código.",identityStartFailed:"Não foi possível iniciar a verificação de identidade. Tente novamente.",invalidPhone:"Telefone inválido"},XR={email:lk,phone:ck,stepCode:uk,stepSuccess:dk,codeSentTo:fk,sendButton:mk,verifyButton:pk,verifying:vk,verifyingIdentity:hk,sendingCode:gk,resend:bk,resendIn:yk,close:_k,alerts:wk,errors:Sk},xk=Object.freeze(Object.defineProperty({__proto__:null,alerts:wk,close:_k,codeSentTo:fk,default:XR,email:lk,errors:Sk,phone:ck,resend:bk,resendIn:yk,sendButton:mk,sendingCode:gk,stepCode:uk,stepSuccess:dk,verifyButton:pk,verifying:vk,verifyingIdentity:hk},Symbol.toStringTag,{value:"Module"})),kk="Extrato completo",Ek="Nenhuma transação encontrada",Ck={all:"Todas",deposits:"Depósitos",withdrawals:"Saques",casino:"Cassino",sport:"Esporte",other:"Outros",creditEntry:"Crédito Manual",commissions:"Comissões",bonus:"Bônus",today:"Hoje",yesterday:"Ontem",days7:"7 Dias",days30:"30 Dias",days90:"90 Dias",total:"Total"},Ak={type:"Tipo",id:"ID",source:"Fonte",amount:"Valor",game:"Jogo",status:"Status",bonus:"C/Bônus",date:"Data"},Tk={withdraw:"Saques",deposit:"Depósitos",sport:"Esporte",other:"Outros",casino:"Casino",commission:"Comissão",creditEntry:"Crédito Manual",bonus:"Bonus",bonusWithdraw:"Saque Bonus"},Pk={pending:"Pendente",denied:"Negado",approved:"Aprovado"},Ik={yes:"SIM",no:"Não"},Rk={success:"ID da transação copiado!",error:"Falha ao copiar o texto."},Ok={perPage:"Itens por página",prev:"Anterior",next:"Próximo"},$k={title:"TRANSFERÊNCIA ENVIADA",destination:"DESTINO",origin:"ORIGEM",name:"Nome",document:"Documento",institution:"Instituição",auth:"AUTENTICAÇÃO"},Lk={title:"Tem certeza que deseja cancelar o saque?",confirm:"Sim",dismiss:"Não",success:"Saque cancelado com sucesso.",error:"Não foi possível cancelar o saque."},Dk={defaultError:"Saque recusado, entre em contato!"},ZR={title:kk,empty:Ek,filters:Ck,columns:Ak,sources:Tk,status:Pk,bonus:Ik,copy:Rk,pagination:Ok,invoice:$k,cancel:Lk,withdraw:Dk},Vk=Object.freeze(Object.defineProperty({__proto__:null,bonus:Ik,cancel:Lk,columns:Ak,copy:Rk,default:ZR,empty:Ek,filters:Ck,invoice:$k,pagination:Ok,sources:Tk,status:Pk,title:kk,withdraw:Dk},Symbol.toStringTag,{value:"Module"})),Mk="Solicitar Saque",Bk={minimum:"Saque mínimo",amount:"Valor do saque",available:"Disponível para saque:","processed-by":"Processado por",submit:"Sacar","amount-required":"Campo obrigatório","amount-min":"Valor mínimo para saque é {value}"},Nk={"key-type":"Tipo de chave","key-type-cpf":"CPF","key-type-phone":"Telefone","key-type-email":"E-mail","ownership-cpf":"O CPF cadastrado deve ser próprio (CPF: {value}). Não serão pagos prêmios em PIX de outras titularidades.","ownership-phone":"O telefone cadastrado deve ser próprio (telefone: {value}). Não serão pagos prêmios em telefone de outras titularidades.","ownership-email":"O email cadastrado deve ser próprio (email: {value}). Não serão pagos prêmios em e-mail de outras titularidades.","ownership-generic":"A chave PIX cadastrada deve ser própria (chave: {value}). Não serão pagos prêmios em chaves PIX de outras titularidades.","key-missing":"não informada"},Fk={"session-expired":"Sessão expirada, faça login novamente.","generic-error":"Não foi possível processar o saque. Tente novamente."},QR={title:Mk,form:Bk,pix:Nk,"rollover-warning":"Você precisa movimentar {value} antes de sacar.","bonus-dialog":{title:"Aviso",message:"Ao realizar um saque, todos os seus bônus serão expirados. Deseja continuar?",confirm:"Sim",cancel:"Cancelar"},"address-dialog":{title:"Endereço obrigatório",message:"Para realizar um saque, é necessário que seu endereço esteja cadastrado e completo em sua conta. Por favor, preencha ou atualize seus dados de endereço antes de solicitar o saque.",cta:"Ir para meus dados / endereço"},alerts:Fk},jk=Object.freeze(Object.defineProperty({__proto__:null,alerts:Fk,default:QR,form:Bk,pix:Nk,title:Mk},Symbol.toStringTag,{value:"Module"}));function Uk(e){return e?e.split(";").reduce((t,n)=>{const[o,...r]=n.trim().split("=");if(!o)return t;try{t[o]=decodeURIComponent(r.join("=")||"")}catch{t[o]=r.join("=")||""}return t},{}):{}}function us(e){if(typeof document>"u")return null;const t=Uk(document.cookie),n=encodeURIComponent(e);return t[e]??t[n]??null}function hc(e,t,n={}){if(typeof document>"u")return;const{path:o="/",maxAge:r,sameSite:s="Lax",secure:a=!1}=n;let i=`${encodeURIComponent(e)}=${encodeURIComponent(t)}; Path=${o}`;r!==void 0&&(i+=`; Max-Age=${r}`),s&&(i+=`; SameSite=${s}`),a&&(i+="; Secure"),document.cookie=i}const Nt=typeof window<"u"&&typeof window.document<"u"&&typeof window.navigator<"u";let Ed=null;const No=U(""),Kf=U(0);function eO(e){Ed=e}function _s(){if(!Ed)throw new Error("i18n: registerI18n() must be called before using the runtime.");return Ed}function Ka(){return No.value||(_s().localeDefault??"")}function tO(){return A(()=>(Kf.value,Ka()))}/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Kr=typeof document<"u";function zk(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&zk(e.default)}const nt=Object.assign;function mu(e,t){const n={};for(const o in t){const r=t[o];n[o]=no(r)?r.map(e):e(r)}return n}const aa=()=>{},no=Array.isArray,Hk=/#/g,oO=/&/g,rO=/\//g,sO=/=/g,aO=/\?/g,Kk=/\+/g,iO=/%5B/g,lO=/%5D/g,Wk=/%5E/g,cO=/%60/g,qk=/%7B/g,uO=/%7C/g,Gk=/%7D/g,dO=/%20/g;function Wf(e){return encodeURI(""+e).replace(uO,"|").replace(iO,"[").replace(lO,"]")}function fO(e){return Wf(e).replace(qk,"{").replace(Gk,"}").replace(Wk,"^")}function Cd(e){return Wf(e).replace(Kk,"%2B").replace(dO,"+").replace(Hk,"%23").replace(oO,"%26").replace(cO,"`").replace(qk,"{").replace(Gk,"}").replace(Wk,"^")}function mO(e){return Cd(e).replace(sO,"%3D")}function pO(e){return Wf(e).replace(Hk,"%23").replace(aO,"%3F")}function vO(e){return e==null?"":pO(e).replace(rO,"%2F")}function Sa(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const hO=/\/$/,gO=e=>e.replace(hO,"");function pu(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,i>-1?i:t.length),r=e(s)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=wO(o??t,n),{fullPath:o+(s&&"?")+s+a,path:o,query:r,hash:Sa(a)}}function bO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function yO(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ds(t.matched[o],n.matched[r])&&Yk(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ds(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yk(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!_O(e[n],t[n]))return!1;return!0}function _O(e,t){return no(e)?Kp(e,t):no(t)?Kp(t,e):e===t}function Kp(e,t){return no(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function wO(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}const Go={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var xa;(function(e){e.pop="pop",e.push="push"})(xa||(xa={}));var ia;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ia||(ia={}));function SO(e){if(!e)if(Kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),gO(e)}const xO=/^[^#]+#/;function kO(e,t){return e.replace(xO,"#")+t}function EO(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const gc=()=>({left:window.scrollX,top:window.scrollY});function CO(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=EO(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Wp(e,t){return(history.state?history.state.position-t:-1)+e}const Ad=new Map;function AO(e,t){Ad.set(e,t)}function TO(e){const t=Ad.get(e);return Ad.delete(e),t}let PO=()=>location.protocol+"//"+location.host;function Jk(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let i=r.includes(e.slice(s))?e.slice(s).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Hp(l,"")}return Hp(n,e)+o+r}function IO(e,t,n,o){let r=[],s=[],a=null;const i=({state:f})=>{const m=Jk(e,location),p=n.value,h=t.value;let v=0;if(f){if(n.value=m,t.value=f,a&&a===p){a=null;return}v=h?f.position-h.position:0}else o(m);r.forEach(y=>{y(n.value,p,{delta:v,type:xa.pop,direction:v?v>0?ia.forward:ia.back:ia.unknown})})};function l(){a=n.value}function c(f){r.push(f);const m=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return s.push(m),m}function u(){const{history:f}=window;f.state&&f.replaceState(nt({},f.state,{scroll:gc()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function qp(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?gc():null}}function RO(e){const{history:t,location:n}=window,o={value:Jk(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:PO()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](f)}}function a(l,c){const u=nt({},t.state,qp(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),o.value=l}function i(l,c){const u=nt({},r.value,t.state,{forward:l,scroll:gc()});s(u.current,u,!0);const d=nt({},qp(o.value,l,null),{position:u.position+1},c);s(l,d,!1),o.value=l}return{location:o,state:r,push:i,replace:a}}function OO(e){e=SO(e);const t=RO(e),n=IO(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=nt({location:"",base:e,go:o,createHref:kO.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function $O(e){return typeof e=="string"||e&&typeof e=="object"}function Xk(e){return typeof e=="string"||typeof e=="symbol"}const Zk=Symbol("");var Gp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Gp||(Gp={}));function fs(e,t){return nt(new Error,{type:e,[Zk]:!0},t)}function To(e,t){return e instanceof Error&&Zk in e&&(t==null||!!(e.type&t))}const Yp="[^/]+?",LO={sensitive:!1,strict:!1,start:!0,end:!0},DO=/[.+*?^${}()[\]/\\]/g;function VO(e,t){const n=nt({},LO,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Qk(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const BO={type:0,value:""},NO=/[a-zA-Z0-9_]/;function FO(e){if(!e)return[[]];if(e==="/")return[[BO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,l,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;i{a(_)}:aa}function a(d){if(Xk(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){const f=KO(d,n);n.splice(f,0,d),d.record.name&&!Qp(d)&&o.set(d.record.name,d)}function c(d,f){let m,p={},h,v;if("name"in d&&d.name){if(m=o.get(d.name),!m)throw fs(1,{location:d});v=m.record.name,p=nt(Xp(f.params,m.keys.filter(_=>!_.optional).concat(m.parent?m.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),d.params&&Xp(d.params,m.keys.map(_=>_.name))),h=m.stringify(p)}else if(d.path!=null)h=d.path,m=n.find(_=>_.re.test(h)),m&&(p=m.parse(h),v=m.record.name);else{if(m=f.name?o.get(f.name):n.find(_=>_.re.test(f.path)),!m)throw fs(1,{location:d,currentLocation:f});v=m.record.name,p=nt({},f.params,d.params),h=m.stringify(p)}const y=[];let k=m;for(;k;)y.unshift(k.record),k=k.parent;return{name:v,path:h,params:p,matched:y,meta:HO(y)}}e.forEach(d=>s(d));function u(){n.length=0,o.clear()}return{addRoute:s,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:i,getRecordMatcher:r}}function Xp(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Zp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:zO(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function zO(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Qp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function HO(e){return e.reduce((t,n)=>nt(t,n.meta),{})}function ev(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function KO(e,t){let n=0,o=t.length;for(;n!==o;){const s=n+o>>1;Qk(e,t[s])<0?o=s:n=s+1}const r=WO(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function WO(e){let t=e;for(;t=t.parent;)if(eE(t)&&Qk(e,t)===0)return t}function eE({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qO(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&Cd(s)):[o&&Cd(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function GO(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=no(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const YO=Symbol(""),nv=Symbol(""),bc=Symbol(""),qf=Symbol(""),Td=Symbol("");function Vs(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Qo(e,t,n,o,r,s=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const c=f=>{f===!1?l(fs(4,{from:n,to:t})):f instanceof Error?l(f):$O(f)?l(fs(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),i())},u=s(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function vu(e,t,n,o,r=s=>s()){const s=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(zk(l)){const u=(l.__vccOpts||l)[t];u&&s.push(Qo(u,n,o,a,i,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const d=nO(u)?u.default:u;a.mods[i]=u,a.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&Qo(m,n,o,a,i,r)()}))}}return s}function ov(e){const t=Ue(bc),n=Ue(qf),o=A(()=>{const l=C(e.to);return t.resolve(l)}),r=A(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(ds.bind(null,u));if(f>-1)return f;const m=rv(l[c-2]);return c>1&&rv(u)===m&&d[d.length-1].path!==m?d.findIndex(ds.bind(null,l[c-2])):f}),s=A(()=>r.value>-1&&e$(n.params,o.value.params)),a=A(()=>r.value>-1&&r.value===n.matched.length-1&&Yk(n.params,o.value.params));function i(l={}){if(QO(l)){const c=t[C(e.replace)?"replace":"push"](C(e.to)).catch(aa);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:A(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}function JO(e){return e.length===1?e[0]:e}const XO=Ae({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:ov,setup(e,{slots:t}){const n=vt(ov(e)),{options:o}=Ue(bc),r=A(()=>({[sv(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[sv(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&JO(t.default(n));return e.custom?s:mn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),ZO=XO;function QO(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function e$(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!no(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function rv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sv=(e,t,n)=>e??t??n,t$=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ue(Td),r=A(()=>e.route||o.value),s=Ue(nv,0),a=A(()=>{let c=C(s);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=A(()=>r.value.matched[a.value]);yt(nv,A(()=>a.value+1)),yt(YO,i),yt(Td,r);const l=U();return le(()=>[l.value,i.value,e.name],([c,u,d],[f,m,p])=>{u&&(u.instances[d]=c,m&&m!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!ds(u,m)||!f)&&(u.enterCallbacks[d]||[]).forEach(h=>h(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=i.value,f=d&&d.components[u];if(!f)return av(n.default,{Component:f,route:c});const m=d.props[u],p=m?m===!0?c.params:typeof m=="function"?m(c):m:null,v=mn(f,nt({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return av(n.default,{Component:v,route:c})||v}}});function av(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const n$=t$;function o$(e){const t=UO(e.routes,e),n=e.parseQuery||qO,o=e.stringifyQuery||tv,r=e.history,s=Vs(),a=Vs(),i=Vs(),l=pe(Go);let c=Go;Kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=mu.bind(null,ne=>""+ne),d=mu.bind(null,vO),f=mu.bind(null,Sa);function m(ne,be){let ae,Se;return Xk(ne)?(ae=t.getRecordMatcher(ne),Se=be):Se=ne,t.addRoute(Se,ae)}function p(ne){const be=t.getRecordMatcher(ne);be&&t.removeRoute(be)}function h(){return t.getRoutes().map(ne=>ne.record)}function v(ne){return!!t.getRecordMatcher(ne)}function y(ne,be){if(be=nt({},be||l.value),typeof ne=="string"){const $=pu(n,ne,be.path),G=t.resolve({path:$.path},be),ce=r.createHref($.fullPath);return nt($,G,{params:f(G.params),hash:Sa($.hash),redirectedFrom:void 0,href:ce})}let ae;if(ne.path!=null)ae=nt({},ne,{path:pu(n,ne.path,be.path).path});else{const $=nt({},ne.params);for(const G in $)$[G]==null&&delete $[G];ae=nt({},ne,{params:d($)}),be.params=d(be.params)}const Se=t.resolve(ae,be),Be=ne.hash||"";Se.params=u(f(Se.params));const Pe=bO(o,nt({},ne,{hash:fO(Be),path:Se.path})),P=r.createHref(Pe);return nt({fullPath:Pe,hash:Be,query:o===tv?GO(ne.query):ne.query||{}},Se,{redirectedFrom:void 0,href:P})}function k(ne){return typeof ne=="string"?pu(n,ne,l.value.path):nt({},ne)}function _(ne,be){if(c!==ne)return fs(8,{from:be,to:ne})}function g(ne){return E(ne)}function b(ne){return g(nt(k(ne),{replace:!0}))}function S(ne){const be=ne.matched[ne.matched.length-1];if(be&&be.redirect){const{redirect:ae}=be;let Se=typeof ae=="function"?ae(ne):ae;return typeof Se=="string"&&(Se=Se.includes("?")||Se.includes("#")?Se=k(Se):{path:Se},Se.params={}),nt({query:ne.query,hash:ne.hash,params:Se.path!=null?{}:ne.params},Se)}}function E(ne,be){const ae=c=y(ne),Se=l.value,Be=ne.state,Pe=ne.force,P=ne.replace===!0,$=S(ae);if($)return E(nt(k($),{state:typeof $=="object"?nt({},Be,$.state):Be,force:Pe,replace:P}),be||ae);const G=ae;G.redirectedFrom=be;let ce;return!Pe&&yO(o,Se,ae)&&(ce=fs(16,{to:G,from:Se}),j(Se,Se,!0,!1)),(ce?Promise.resolve(ce):L(G,Se)).catch(re=>To(re)?To(re,2)?re:F(re):Q(re,G,Se)).then(re=>{if(re){if(To(re,2))return E(nt({replace:P},k(re.to),{state:typeof re.to=="object"?nt({},Be,re.to.state):Be,force:Pe}),be||G)}else re=I(G,Se,!0,P,Be);return D(G,Se,re),re})}function O(ne,be){const ae=_(ne,be);return ae?Promise.reject(ae):Promise.resolve()}function R(ne){const be=Me.values().next().value;return be&&typeof be.runWithContext=="function"?be.runWithContext(ne):ne()}function L(ne,be){let ae;const[Se,Be,Pe]=r$(ne,be);ae=vu(Se.reverse(),"beforeRouteLeave",ne,be);for(const $ of Se)$.leaveGuards.forEach(G=>{ae.push(Qo(G,ne,be))});const P=O.bind(null,ne,be);return ae.push(P),Oe(ae).then(()=>{ae=[];for(const $ of s.list())ae.push(Qo($,ne,be));return ae.push(P),Oe(ae)}).then(()=>{ae=vu(Be,"beforeRouteUpdate",ne,be);for(const $ of Be)$.updateGuards.forEach(G=>{ae.push(Qo(G,ne,be))});return ae.push(P),Oe(ae)}).then(()=>{ae=[];for(const $ of Pe)if($.beforeEnter)if(no($.beforeEnter))for(const G of $.beforeEnter)ae.push(Qo(G,ne,be));else ae.push(Qo($.beforeEnter,ne,be));return ae.push(P),Oe(ae)}).then(()=>(ne.matched.forEach($=>$.enterCallbacks={}),ae=vu(Pe,"beforeRouteEnter",ne,be,R),ae.push(P),Oe(ae))).then(()=>{ae=[];for(const $ of a.list())ae.push(Qo($,ne,be));return ae.push(P),Oe(ae)}).catch($=>To($,8)?$:Promise.reject($))}function D(ne,be,ae){i.list().forEach(Se=>R(()=>Se(ne,be,ae)))}function I(ne,be,ae,Se,Be){const Pe=_(ne,be);if(Pe)return Pe;const P=be===Go,$=Kr?history.state:{};ae&&(Se||P?r.replace(ne.fullPath,nt({scroll:P&&$&&$.scroll},Be)):r.push(ne.fullPath,Be)),l.value=ne,j(ne,be,ae,P),F()}let V;function Y(){V||(V=r.listen((ne,be,ae)=>{if(!Ke.listening)return;const Se=y(ne),Be=S(Se);if(Be){E(nt(Be,{replace:!0,force:!0}),Se).catch(aa);return}c=Se;const Pe=l.value;Kr&&AO(Wp(Pe.fullPath,ae.delta),gc()),L(Se,Pe).catch(P=>To(P,12)?P:To(P,2)?(E(nt(k(P.to),{force:!0}),Se).then($=>{To($,20)&&!ae.delta&&ae.type===xa.pop&&r.go(-1,!1)}).catch(aa),Promise.reject()):(ae.delta&&r.go(-ae.delta,!1),Q(P,Se,Pe))).then(P=>{P=P||I(Se,Pe,!1),P&&(ae.delta&&!To(P,8)?r.go(-ae.delta,!1):ae.type===xa.pop&&To(P,20)&&r.go(-1,!1)),D(Se,Pe,P)}).catch(aa)}))}let H=Vs(),N=Vs(),J;function Q(ne,be,ae){F(ne);const Se=N.list();return Se.length?Se.forEach(Be=>Be(ne,be,ae)):console.error(ne),Promise.reject(ne)}function X(){return J&&l.value!==Go?Promise.resolve():new Promise((ne,be)=>{H.add([ne,be])})}function F(ne){return J||(J=!ne,Y(),H.list().forEach(([be,ae])=>ne?ae(ne):be()),H.reset()),ne}function j(ne,be,ae,Se){const{scrollBehavior:Be}=e;if(!Kr||!Be)return Promise.resolve();const Pe=!ae&&TO(Wp(ne.fullPath,0))||(Se||!ae)&&history.state&&history.state.scroll||null;return Je().then(()=>Be(ne,be,Pe)).then(P=>P&&CO(P)).catch(P=>Q(P,ne,be))}const W=ne=>r.go(ne);let fe;const Me=new Set,Ke={currentRoute:l,listening:!0,addRoute:m,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:h,resolve:y,options:e,push:g,replace:b,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:N.add,isReady:X,install(ne){const be=this;ne.component("RouterLink",ZO),ne.component("RouterView",n$),ne.config.globalProperties.$router=be,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),Kr&&!fe&&l.value===Go&&(fe=!0,g(r.location).catch(Be=>{}));const ae={};for(const Be in Go)Object.defineProperty(ae,Be,{get:()=>l.value[Be],enumerable:!0});ne.provide(bc,be),ne.provide(qf,my(ae)),ne.provide(Td,l);const Se=ne.unmount;Me.add(ne),ne.unmount=function(){Me.delete(ne),Me.size<1&&(c=Go,V&&V(),V=null,l.value=Go,fe=!1,J=!1),Se()}}};function Oe(ne){return ne.reduce((be,ae)=>be.then(()=>R(ae)),Promise.resolve())}return Ke}function r$(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;ads(c,i))?o.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>ds(c,l))||r.push(l))}return[n,o,r]}function Kn(){return Ue(bc)}function jt(e){return Ue(qf)}const ms=new Map,tE=new Map;function s$(e){if(!e||typeof e!="object")return null;const t=e,n={};return typeof t.titleSuffix=="string"&&(n.titleSuffix=t.titleSuffix),typeof t.metaDescription=="string"&&(n.metaDescription=t.metaDescription),Object.keys(n).length>0?n:null}function nE(e,t){tE.set(e,t)}function a$(e){return e?tE.get(e)??null:null}function i$(e,t){const n=s$(t);n&&nE(e,n)}function l$(e){for(const[t,n]of Object.entries(e)){ms.set(t,n);const o=t.split(":")[0];o&&n&&typeof n=="object"&&nE(o,n)}}const c$=/\/pages\/([^/]+)\//;let Pd={},oE=new Set;function Gf(e,t){return`${e}:${t}`}function u$(e){!e||typeof e!="object"||l$(e)}function d$(e,t){return!e||!Rd(e)?null:ms.get(Gf(e,t))??null}function f$(e){if(!e)return null;const t=`${e}:`;for(const[n,o]of ms.entries())if(n.startsWith(t))return o;return null}function m$(e,t){if(!e)return null;const n=d$(e,t)??f$(e);if(n)return n;const o=a$(e);return o||null}function Id(e){if(!e||typeof e!="object")return!1;const t=e.panels;return Array.isArray(t)&&t.length>0}function p$(e){oE=new Set(Object.keys(e).map(t=>c$.exec(t)?.[1]).filter(t=>!!t))}function v$({loaders:e}){Pd=e,p$(e)}function iv(e){if(typeof e!="string")return null;const t="/pages/",n=e.indexOf(t);if(n<0)return null;let o=e.slice(n+t.length);if(!o)return null;if(o.endsWith("/Index")){o=o.slice(0,-6);const r=o.lastIndexOf("/");o=r>=0?o.slice(r+1):o}return o.replace(/\[|\]/g,"")}function Rd(e){return oE.has(e)}function lv(e,t){return`./pages/${e}/${t}.json`}async function h$(e,t){const n=Gf(e,t),o=ms.get(n);if(o&&Id(o))return o;const r=_s().localeDefault,s=Pd[lv(e,t)]??Pd[lv(e,r)];if(!s)throw new Error(`i18n: no content for page "${e}" (locale "${t}").`);const a=await s(),i=a&&typeof a=="object"&&"default"in a?a.default:a;return ms.set(n,i),i$(e,i),i}function zJ(){const e=jt(),t=tO(),n=A(()=>iv(e.name)),o=iv(e.name),r=m$(o,Ka()),s=Id(r),a=pe(r),i=pe(s||!o||!Rd(o));async function l(){const c=n.value;if(!c||!Rd(c)){a.value=null,i.value=!0;return}const u=Gf(c,t.value);Id(ms.get(u))||(i.value=!1),a.value=await h$(c,t.value),i.value=!0}return Oy(l),le([n,t],l),ut(()=>{l()}),{content:a,ready:i,pageId:n}}const rE="cg-i18n",g$=3600*24*365*2,sE=e=>{const n=Uk(e)[rE];if(n)return Yf(n)},b$=()=>{if(Nt&&!(typeof document>"u"))return document.cookie},Yf=e=>{const t=_s(),n=t.resolveLocale(e);return n===t.localeDefault||t.loaders[n]?n:t.localeDefault},ns=U({}),hu=new Map;async function Jf(e){const t=_s(),n=Yf(e);if(ns.value[n])return;const o=hu.get(n);if(o){await o;return}const r=t.loaders[n];if(!r)return;const s=r().then(a=>{ns.value={...ns.value,[n]:a.default??{}},Kf.value+=1}).finally(()=>{hu.delete(n)});hu.set(n,s),await s}function y$(e){eO(e),ns.value={[e.localeDefault]:e.base},No.value=sE(b$())??e.localeDefault,Jf(No.value)}async function _$(e){const t=_s();No.value=sE(e)??t.localeDefault,await Jf(No.value)}function w$(e){No.value=Yf(e),Jf(No.value),Nt&&hc(rE,No.value,{maxAge:g$,sameSite:"Lax"})}function S$(){return Kf.value}const cv=(e,t)=>{if(!t)return;const n=t.split(".").reduce((o,r)=>{if(!(typeof o!="object"||o===null||Array.isArray(o)))return o[r]},e);return typeof n=="string"?n:void 0};function T(e){S$();const n=_s().localeDefault,o=ns.value[No.value],r=ns.value[n];return cv(o,e)||cv(r,e)||e}const wn="pt-BR",Wr={bg:{code:"bg",name:"Bulgarian",file:"bg.json",flag:"/flags/bulgaria.svg"},cs:{code:"cs",name:"Czech",file:"cs.json",flag:"/flags/czech-republic.svg"},da:{code:"da",name:"Danish",file:"da.json",flag:"/flags/denmark.svg"},de:{code:"de",name:"German",file:"de.json",flag:"/flags/germany.svg"},el:{code:"el",name:"Greek",file:"el.json",flag:"/flags/greece.svg"},"en-GB":{code:"en-GB",name:"English GB",file:"en-GB.json",flag:"/flags/uk.svg"},"en-US":{code:"en-US",name:"English",file:"en-US.json",flag:"/flags/us.svg"},es:{code:"es",name:"Spanish",file:"es.json",flag:"/flags/spain.svg"},et:{code:"et",name:"Estonian",file:"et.json",flag:"/flags/estonia.svg"},fi:{code:"fi",name:"Finnish",file:"fi.json",flag:"/flags/finland.svg"},fr:{code:"fr",name:"French",file:"fr.json",flag:"/flags/france.svg"},hu:{code:"hu",name:"Hungarian",file:"hu.json",flag:"/flags/hungary.svg"},id:{code:"id",name:"Indonesian",file:"id.json",flag:"/flags/indonesia.svg"},it:{code:"it",name:"Italian",file:"it.json",flag:"/flags/italy.svg"},ja:{code:"ja",name:"Japanese",file:"ja.json",flag:"/flags/japan.svg"},ko:{code:"ko",name:"Korean",file:"ko.json",flag:"/flags/south-korea.svg"},lt:{code:"lt",name:"Lithuanian",file:"lt.json",flag:"/flags/lithuania.svg"},lv:{code:"lv",name:"Latvian",file:"lv.json",flag:"/flags/latvia.svg"},nb:{code:"nb",name:"Norwegian (Bokmal)",file:"nb.json",flag:"/flags/norway.svg"},nl:{code:"nl",name:"Dutch",file:"nl.json",flag:"/flags/netherlands.svg"},pl:{code:"pl",name:"Polish",file:"pl.json",flag:"/flags/poland.svg"},"pt-BR":{code:"pt-BR",name:"Portuguese (Brazilian)",file:"pt-BR.json",flag:"/flags/brazil.svg"},"pt-PT":{code:"pt-PT",name:"Portuguese (European)",file:"pt-PT.json",flag:"/flags/portugal.svg"},ro:{code:"ro",name:"Romanian",file:"ro.json",flag:"/flags/romania.svg"},ru:{code:"ru",name:"Russian",file:"ru.json",flag:"/flags/russia.svg"},sk:{code:"sk",name:"Slovak",file:"sk.json",flag:"/flags/slovakia.svg"},sl:{code:"sl",name:"Slovenian",file:"sl.json",flag:"/flags/slovenia.svg"},sv:{code:"sv",name:"Swedish",file:"sv.json",flag:"/flags/sweden.svg"},tr:{code:"tr",name:"Turkish",file:"tr.json",flag:"/flags/turkey.svg"},uk:{code:"uk",name:"Ukrainian",file:"uk.json",flag:"/flags/ukraine.svg"},zh:{code:"zh",name:"Chinese (simplified)",file:"zh.json",flag:"/flags/china.svg"}},x$={pt:"pt-BR",en:"en-US"};function ps(e){if(typeof e!="string")return wn;const t=e.trim();return t.length===0?wn:x$[t]??t}function k$(e){const t=ps(e);return Wr[t]!==void 0}const aE=Object.assign({"./locales/en-US/account.json":()=>M(()=>import("./account-CgEdJYPL.js"),[]),"./locales/en-US/accountDocument.json":()=>M(()=>import("./accountDocument-Cs3GcXBy.js"),[]),"./locales/en-US/age-verification.json":()=>M(()=>import("./age-verification-DrvN9hzx.js"),[]),"./locales/en-US/annual-statement.json":()=>M(()=>import("./annual-statement-BQj8m57t.js"),[]),"./locales/en-US/auth.json":()=>M(()=>import("./auth-DjW6Z74V.js"),[]),"./locales/en-US/authModal.json":()=>M(()=>import("./authModal-DZhm6qPs.js"),[]),"./locales/en-US/bonus.json":()=>M(()=>import("./bonus-D3lQ2me5.js"),[]),"./locales/en-US/breadcrumb.json":()=>M(()=>import("./breadcrumb-B2b2uAN0.js"),[]),"./locales/en-US/buttons.json":()=>M(()=>import("./buttons-hJV53s1z.js"),[]),"./locales/en-US/carousel.json":()=>M(()=>import("./carousel-DtjSfx_W.js"),[]),"./locales/en-US/casino.json":()=>M(()=>import("./casino-BiNxgp8X.js"),[]),"./locales/en-US/circle-menu.json":()=>M(()=>import("./circle-menu-lKz3Ofvh.js"),[]),"./locales/en-US/common.json":()=>M(()=>import("./common-C8MKxANr.js"),[]),"./locales/en-US/cookie-consent.json":()=>M(()=>import("./cookie-consent-CNZ9zvlg.js"),[]),"./locales/en-US/deposit.json":()=>M(()=>import("./deposit-xFsREFjS.js"),[]),"./locales/en-US/footer.json":()=>M(()=>import("./footer-CD63gSua.js"),[]),"./locales/en-US/game-filters.json":()=>M(()=>import("./game-filters-vuYNlNoq.js"),[]),"./locales/en-US/games.json":()=>M(()=>import("./games-1YFZjhNc.js"),[]),"./locales/en-US/indications.json":()=>M(()=>import("./indications-8uK55HcK.js"),[]),"./locales/en-US/kyc.json":()=>M(()=>import("./kyc-CaTag_8U.js"),[]),"./locales/en-US/navbar.json":()=>M(()=>import("./navbar-BQC5Uarn.js"),[]),"./locales/en-US/passwordReset.json":()=>M(()=>import("./passwordReset-l2Wq-UIO.js"),[]),"./locales/en-US/play.json":()=>M(()=>import("./play-DVpAW6ZT.js"),[]),"./locales/en-US/promotionCoupons.json":()=>M(()=>import("./promotionCoupons-vkFtf_L7.js"),[]),"./locales/en-US/promotionRewards.json":()=>M(()=>import("./promotionRewards-ukPpyVeJ.js"),[]),"./locales/en-US/promotions.json":()=>M(()=>import("./promotions-d0QUUiXd.js"),[]),"./locales/en-US/protection.json":()=>M(()=>import("./protection-BGXbCR0T.js"),[]),"./locales/en-US/providers.json":()=>M(()=>import("./providers-DySa_XLh.js"),[]),"./locales/en-US/prudential-limits.json":()=>M(()=>import("./prudential-limits-CBXBp50W.js"),[]),"./locales/en-US/referralTopbar.json":()=>M(()=>import("./referralTopbar-BXbgBWhh.js"),[]),"./locales/en-US/regulation-impeded-modal.json":()=>M(()=>import("./regulation-impeded-modal-CCmHgxA6.js"),[]),"./locales/en-US/regulation.json":()=>M(()=>import("./regulation-DlekJGFD.js"),[]),"./locales/en-US/search.json":()=>M(()=>import("./search-BDlCijWJ.js"),[]),"./locales/en-US/sidebar.json":()=>M(()=>import("./sidebar-Cs04FYxh.js"),[]),"./locales/en-US/sports.json":()=>M(()=>import("./sports-RurH3VNc.js"),[]),"./locales/en-US/sportsbook.json":()=>M(()=>import("./sportsbook-V_qGjiYj.js"),[]),"./locales/en-US/terms-modal.json":()=>M(()=>import("./terms-modal-Cfb7XfQY.js"),[]),"./locales/en-US/userArea.json":()=>M(()=>import("./userArea-DGvsocsI.js"),[]),"./locales/en-US/userDocument.json":()=>M(()=>import("./userDocument-BaxMoXZk.js"),[]),"./locales/en-US/userPassword.json":()=>M(()=>import("./userPassword-BNofKj7P.js"),[]),"./locales/en-US/verification.json":()=>M(()=>import("./verification-DCrhNKK8.js"),[]),"./locales/en-US/walletStatement.json":()=>M(()=>import("./walletStatement-CCisSpeF.js"),[]),"./locales/en-US/withdraw.json":()=>M(()=>import("./withdraw-BMxwGafZ.js"),[]),"./locales/es/account.json":()=>M(()=>import("./account-CwwROrCb.js"),[]),"./locales/es/accountDocument.json":()=>M(()=>import("./accountDocument-DFhWYr21.js"),[]),"./locales/es/age-verification.json":()=>M(()=>import("./age-verification-DuJP28GI.js"),[]),"./locales/es/annual-statement.json":()=>M(()=>import("./annual-statement-ryBwdzm3.js"),[]),"./locales/es/auth.json":()=>M(()=>import("./auth-CT0SamV5.js"),[]),"./locales/es/authModal.json":()=>M(()=>import("./authModal-BvspBKp2.js"),[]),"./locales/es/bonus.json":()=>M(()=>import("./bonus-D_BGcJaD.js"),[]),"./locales/es/breadcrumb.json":()=>M(()=>import("./breadcrumb-BGB50rdv.js"),[]),"./locales/es/buttons.json":()=>M(()=>import("./buttons-DebHgOy4.js"),[]),"./locales/es/carousel.json":()=>M(()=>import("./carousel-D8Y-zWRU.js"),[]),"./locales/es/casino.json":()=>M(()=>import("./casino-D0KbVkEt.js"),[]),"./locales/es/circle-menu.json":()=>M(()=>import("./circle-menu-DMKCbinQ.js"),[]),"./locales/es/common.json":()=>M(()=>import("./common-DG3xcQVN.js"),[]),"./locales/es/cookie-consent.json":()=>M(()=>import("./cookie-consent-Dq7d5cF3.js"),[]),"./locales/es/deposit.json":()=>M(()=>import("./deposit-DI_a9N5X.js"),[]),"./locales/es/footer.json":()=>M(()=>import("./footer-BnMJtpvd.js"),[]),"./locales/es/game-filters.json":()=>M(()=>import("./game-filters-RQkR7mYB.js"),[]),"./locales/es/games.json":()=>M(()=>import("./games-EcQiYU82.js"),[]),"./locales/es/indications.json":()=>M(()=>import("./indications-p-XWrdJ-.js"),[]),"./locales/es/kyc.json":()=>M(()=>import("./kyc-FD8yVp0N.js"),[]),"./locales/es/navbar.json":()=>M(()=>import("./navbar-BTFrd0-B.js"),[]),"./locales/es/passwordReset.json":()=>M(()=>import("./passwordReset-a78573bK.js"),[]),"./locales/es/play.json":()=>M(()=>import("./play-BNA8azA0.js"),[]),"./locales/es/promotionCoupons.json":()=>M(()=>import("./promotionCoupons-XEy8K7ET.js"),[]),"./locales/es/promotionRewards.json":()=>M(()=>import("./promotionRewards-Bz0Cgj_k.js"),[]),"./locales/es/promotions.json":()=>M(()=>import("./promotions-CW-3LioR.js"),[]),"./locales/es/protection.json":()=>M(()=>import("./protection-BKCGpZom.js"),[]),"./locales/es/providers.json":()=>M(()=>import("./providers-CH94VE8E.js"),[]),"./locales/es/prudential-limits.json":()=>M(()=>import("./prudential-limits-DxinStLM.js"),[]),"./locales/es/referralTopbar.json":()=>M(()=>import("./referralTopbar-DjC1FpaF.js"),[]),"./locales/es/regulation-impeded-modal.json":()=>M(()=>import("./regulation-impeded-modal-T83G58tY.js"),[]),"./locales/es/regulation.json":()=>M(()=>import("./regulation-Cc15J1mm.js"),[]),"./locales/es/search.json":()=>M(()=>import("./search-DLlFbnrE.js"),[]),"./locales/es/sidebar.json":()=>M(()=>import("./sidebar-CdzwNpCJ.js"),[]),"./locales/es/sports.json":()=>M(()=>import("./sports-BEihIaZ6.js"),[]),"./locales/es/sportsbook.json":()=>M(()=>import("./sportsbook-BsztF-PL.js"),[]),"./locales/es/terms-modal.json":()=>M(()=>import("./terms-modal-CACVeuRE.js"),[]),"./locales/es/userArea.json":()=>M(()=>import("./userArea-Czrf4f1e.js"),[]),"./locales/es/userDocument.json":()=>M(()=>import("./userDocument-99qQovxR.js"),[]),"./locales/es/userPassword.json":()=>M(()=>import("./userPassword-DKGn9n01.js"),[]),"./locales/es/verification.json":()=>M(()=>import("./verification-C79S6CPc.js"),[]),"./locales/es/walletStatement.json":()=>M(()=>import("./walletStatement-CfVAEBup.js"),[]),"./locales/es/withdraw.json":()=>M(()=>import("./withdraw-Dc_ELNZR.js"),[]),"./locales/it/account.json":()=>M(()=>import("./account-BMpzphec.js"),[]),"./locales/it/accountDocument.json":()=>M(()=>import("./accountDocument-D9DiDsIl.js"),[]),"./locales/it/age-verification.json":()=>M(()=>import("./age-verification-BlL6kx9C.js"),[]),"./locales/it/annual-statement.json":()=>M(()=>import("./annual-statement-PorjiHN1.js"),[]),"./locales/it/auth.json":()=>M(()=>import("./auth-Bz7ZrnR3.js"),[]),"./locales/it/authModal.json":()=>M(()=>import("./authModal-DXw6wT39.js"),[]),"./locales/it/bonus.json":()=>M(()=>import("./bonus-Somav8Ga.js"),[]),"./locales/it/breadcrumb.json":()=>M(()=>import("./breadcrumb-CwUYKuaL.js"),[]),"./locales/it/buttons.json":()=>M(()=>import("./buttons-D-pKHQDs.js"),[]),"./locales/it/carousel.json":()=>M(()=>import("./carousel-D2yR-qcD.js"),[]),"./locales/it/casino.json":()=>M(()=>import("./casino-C87CsIcF.js"),[]),"./locales/it/circle-menu.json":()=>M(()=>import("./circle-menu-rTbf9P42.js"),[]),"./locales/it/common.json":()=>M(()=>import("./common-BvJY4krp.js"),[]),"./locales/it/cookie-consent.json":()=>M(()=>import("./cookie-consent-BI5Tdp5C.js"),[]),"./locales/it/deposit.json":()=>M(()=>import("./deposit-CTOFhhh7.js"),[]),"./locales/it/footer.json":()=>M(()=>import("./footer-X6rDB6Ne.js"),[]),"./locales/it/game-filters.json":()=>M(()=>import("./game-filters-DnDNfMcT.js"),[]),"./locales/it/games.json":()=>M(()=>import("./games-BRZICC2l.js"),[]),"./locales/it/indications.json":()=>M(()=>import("./indications-CU-YMQKt.js"),[]),"./locales/it/kyc.json":()=>M(()=>import("./kyc-DIW1G_6R.js"),[]),"./locales/it/navbar.json":()=>M(()=>import("./navbar-C-fBNq6H.js"),[]),"./locales/it/passwordReset.json":()=>M(()=>import("./passwordReset-BKzFJr1W.js"),[]),"./locales/it/play.json":()=>M(()=>import("./play-Bm34pjeo.js"),[]),"./locales/it/promotionCoupons.json":()=>M(()=>import("./promotionCoupons-DiilZmoI.js"),[]),"./locales/it/promotionRewards.json":()=>M(()=>import("./promotionRewards-IVibIiPY.js"),[]),"./locales/it/promotions.json":()=>M(()=>import("./promotions-DTjC8h3K.js"),[]),"./locales/it/protection.json":()=>M(()=>import("./protection-C1GcTPTQ.js"),[]),"./locales/it/providers.json":()=>M(()=>import("./providers-knUGb2Zu.js"),[]),"./locales/it/prudential-limits.json":()=>M(()=>import("./prudential-limits-DRtHCCL4.js"),[]),"./locales/it/referralTopbar.json":()=>M(()=>import("./referralTopbar-BBQAvFAh.js"),[]),"./locales/it/regulation-impeded-modal.json":()=>M(()=>import("./regulation-impeded-modal-BbX6UJbl.js"),[]),"./locales/it/regulation.json":()=>M(()=>import("./regulation-B229KF7b.js"),[]),"./locales/it/search.json":()=>M(()=>import("./search-DADv97Bi.js"),[]),"./locales/it/sidebar.json":()=>M(()=>import("./sidebar-CqbqMq4z.js"),[]),"./locales/it/sports.json":()=>M(()=>import("./sports-Cum2xTlT.js"),[]),"./locales/it/sportsbook.json":()=>M(()=>import("./sportsbook-DGl6nCml.js"),[]),"./locales/it/terms-modal.json":()=>M(()=>import("./terms-modal-D4HpfMsk.js"),[]),"./locales/it/userArea.json":()=>M(()=>import("./userArea-BwXnc7tz.js"),[]),"./locales/it/userDocument.json":()=>M(()=>import("./userDocument-CwYvQy1c.js"),[]),"./locales/it/userPassword.json":()=>M(()=>import("./userPassword-BkNMcTa4.js"),[]),"./locales/it/verification.json":()=>M(()=>import("./verification-BULQLOw9.js"),[]),"./locales/it/walletStatement.json":()=>M(()=>import("./walletStatement-Gm3YRQWE.js"),[]),"./locales/it/withdraw.json":()=>M(()=>import("./withdraw-BF7Pbxei.js"),[]),"./locales/pt-BR/account.json":()=>M(()=>Promise.resolve().then(()=>$_),void 0),"./locales/pt-BR/accountDocument.json":()=>M(()=>Promise.resolve().then(()=>j_),void 0),"./locales/pt-BR/age-verification.json":()=>M(()=>Promise.resolve().then(()=>q_),void 0),"./locales/pt-BR/annual-statement.json":()=>M(()=>Promise.resolve().then(()=>tw),void 0),"./locales/pt-BR/auth.json":()=>M(()=>Promise.resolve().then(()=>nw),void 0),"./locales/pt-BR/authModal.json":()=>M(()=>Promise.resolve().then(()=>Lw),void 0),"./locales/pt-BR/bonus.json":()=>M(()=>Promise.resolve().then(()=>Uw),void 0),"./locales/pt-BR/breadcrumb.json":()=>M(()=>Promise.resolve().then(()=>n0),void 0),"./locales/pt-BR/buttons.json":()=>M(()=>Promise.resolve().then(()=>o0),void 0),"./locales/pt-BR/carousel.json":()=>M(()=>Promise.resolve().then(()=>r0),void 0),"./locales/pt-BR/casino.json":()=>M(()=>Promise.resolve().then(()=>s0),void 0),"./locales/pt-BR/circle-menu.json":()=>M(()=>Promise.resolve().then(()=>a0),void 0),"./locales/pt-BR/common.json":()=>M(()=>Promise.resolve().then(()=>d0),void 0),"./locales/pt-BR/cookie-consent.json":()=>M(()=>Promise.resolve().then(()=>m0),void 0),"./locales/pt-BR/deposit.json":()=>M(()=>Promise.resolve().then(()=>_0),void 0),"./locales/pt-BR/footer.json":()=>M(()=>Promise.resolve().then(()=>k0),void 0),"./locales/pt-BR/game-filters.json":()=>M(()=>Promise.resolve().then(()=>E0),void 0),"./locales/pt-BR/games.json":()=>M(()=>Promise.resolve().then(()=>T0),void 0),"./locales/pt-BR/indications.json":()=>M(()=>Promise.resolve().then(()=>L0),void 0),"./locales/pt-BR/kyc.json":()=>M(()=>Promise.resolve().then(()=>B0),void 0),"./locales/pt-BR/navbar.json":()=>M(()=>Promise.resolve().then(()=>q0),void 0),"./locales/pt-BR/passwordReset.json":()=>M(()=>Promise.resolve().then(()=>rS),void 0),"./locales/pt-BR/play.json":()=>M(()=>Promise.resolve().then(()=>pS),void 0),"./locales/pt-BR/promotionCoupons.json":()=>M(()=>Promise.resolve().then(()=>xS),void 0),"./locales/pt-BR/promotionRewards.json":()=>M(()=>Promise.resolve().then(()=>OS),void 0),"./locales/pt-BR/promotions.json":()=>M(()=>Promise.resolve().then(()=>VS),void 0),"./locales/pt-BR/protection.json":()=>M(()=>Promise.resolve().then(()=>zS),void 0),"./locales/pt-BR/providers.json":()=>M(()=>Promise.resolve().then(()=>WS),void 0),"./locales/pt-BR/prudential-limits.json":()=>M(()=>Promise.resolve().then(()=>JS),void 0),"./locales/pt-BR/referralTopbar.json":()=>M(()=>Promise.resolve().then(()=>ex),void 0),"./locales/pt-BR/regulation-impeded-modal.json":()=>M(()=>Promise.resolve().then(()=>rx),void 0),"./locales/pt-BR/regulation.json":()=>M(()=>Promise.resolve().then(()=>sx),void 0),"./locales/pt-BR/search.json":()=>M(()=>Promise.resolve().then(()=>dx),void 0),"./locales/pt-BR/sidebar.json":()=>M(()=>Promise.resolve().then(()=>yx),void 0),"./locales/pt-BR/sports.json":()=>M(()=>Promise.resolve().then(()=>xx),void 0),"./locales/pt-BR/sportsbook.json":()=>M(()=>Promise.resolve().then(()=>Cx),void 0),"./locales/pt-BR/terms-modal.json":()=>M(()=>Promise.resolve().then(()=>Ox),void 0),"./locales/pt-BR/userArea.json":()=>M(()=>Promise.resolve().then(()=>zx),void 0),"./locales/pt-BR/userDocument.json":()=>M(()=>Promise.resolve().then(()=>Xx),void 0),"./locales/pt-BR/userPassword.json":()=>M(()=>Promise.resolve().then(()=>ik),void 0),"./locales/pt-BR/verification.json":()=>M(()=>Promise.resolve().then(()=>xk),void 0),"./locales/pt-BR/walletStatement.json":()=>M(()=>Promise.resolve().then(()=>Vk),void 0),"./locales/pt-BR/withdraw.json":()=>M(()=>Promise.resolve().then(()=>jk),void 0)});function E$(e){const t={};for(const[n,o]of Object.entries(e)){const r=n.match(/\/([^/]+)\.json$/);r&&(t[r[1]]=o.default??{})}return t}const C$=Object.assign({"./locales/pt-BR/account.json":$_,"./locales/pt-BR/accountDocument.json":j_,"./locales/pt-BR/age-verification.json":q_,"./locales/pt-BR/annual-statement.json":tw,"./locales/pt-BR/auth.json":nw,"./locales/pt-BR/authModal.json":Lw,"./locales/pt-BR/bonus.json":Uw,"./locales/pt-BR/breadcrumb.json":n0,"./locales/pt-BR/buttons.json":o0,"./locales/pt-BR/carousel.json":r0,"./locales/pt-BR/casino.json":s0,"./locales/pt-BR/circle-menu.json":a0,"./locales/pt-BR/common.json":d0,"./locales/pt-BR/cookie-consent.json":m0,"./locales/pt-BR/deposit.json":_0,"./locales/pt-BR/footer.json":k0,"./locales/pt-BR/game-filters.json":E0,"./locales/pt-BR/games.json":T0,"./locales/pt-BR/indications.json":L0,"./locales/pt-BR/kyc.json":B0,"./locales/pt-BR/navbar.json":q0,"./locales/pt-BR/passwordReset.json":rS,"./locales/pt-BR/play.json":pS,"./locales/pt-BR/promotionCoupons.json":xS,"./locales/pt-BR/promotionRewards.json":OS,"./locales/pt-BR/promotions.json":VS,"./locales/pt-BR/protection.json":zS,"./locales/pt-BR/providers.json":WS,"./locales/pt-BR/prudential-limits.json":JS,"./locales/pt-BR/referralTopbar.json":ex,"./locales/pt-BR/regulation-impeded-modal.json":rx,"./locales/pt-BR/regulation.json":sx,"./locales/pt-BR/search.json":dx,"./locales/pt-BR/sidebar.json":yx,"./locales/pt-BR/sports.json":xx,"./locales/pt-BR/sportsbook.json":Cx,"./locales/pt-BR/terms-modal.json":Ox,"./locales/pt-BR/userArea.json":zx,"./locales/pt-BR/userDocument.json":Xx,"./locales/pt-BR/userPassword.json":ik,"./locales/pt-BR/verification.json":xk,"./locales/pt-BR/walletStatement.json":Vk,"./locales/pt-BR/withdraw.json":jk}),A$=E$(C$),iE=new Set;for(const e of Object.keys(aE)){const t=e.match(/\/locales\/([^/]+)\//);t&&iE.add(t[1])}const T$=Object.fromEntries(Array.from(iE).filter(e=>e!==wn).map(e=>[e,async()=>{const t=`./locales/${e}/`,n=Object.entries(aE).filter(([s])=>s.startsWith(t)),o=await Promise.all(n.map(([,s])=>s())),r={};for(const[s,a]of n.map(([i],l)=>[i,o[l]])){const i=s.match(/\/([^/]+)\.json$/)?.[1];i&&(r[i]=a.default??{})}return{default:r}}])),P$=e=>{const t=ps(e);return k$(t)?t:wn};y$({localeDefault:wn,base:A$,loaders:T$,resolveLocale:P$});v$({loaders:Object.assign({"./pages/RulesBetting/en-US.json":()=>M(()=>import("./en-US-DQI_afbA.js"),[]),"./pages/RulesBetting/es.json":()=>M(()=>import("./es-Ank4N8OL.js"),[]),"./pages/RulesBetting/it.json":()=>M(()=>import("./it-CXdaQSJr.js"),[]),"./pages/RulesBetting/pt-BR.json":()=>M(()=>import("./pt-BR-CBv3GAbR.js"),[])})});function I$(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Vt=typeof window<"u",Xf=Vt&&"IntersectionObserver"in window,R$=Vt&&"matchMedia"in window&&typeof window.matchMedia=="function",vs=()=>R$&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function lE(e,t,n){const o=t.length-1;if(o<0)return e===void 0?n:e;for(let r=0;r"u"?n:r}if(typeof t=="string")return O$(e,t,n);if(Array.isArray(t))return lE(e,t,n);if(typeof t!="function")return n;const o=t(e,n);return typeof o>"u"?n:o}function HJ(e,t=0){return Array.from({length:e},(n,o)=>t+o)}function Te(e,t="px"){if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function ka(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function uv(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function cE(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}function KJ(e){return Object.keys(e)}function gu(e,t){return t.every(n=>e.hasOwnProperty(n))}function ws(e,t){const n={};for(const o of t)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function Od(e,t,n){const o=Object.create(null),r=Object.create(null);for(const s in e)t.some(a=>a instanceof RegExp?a.test(s):a===s)?o[s]=e[s]:r[s]=e[s];return[o,r]}function pn(e,t){const n={...e};return t.forEach(o=>delete n[o]),n}const uE=/^on[^a-z]/,dE=e=>uE.test(e),$$=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Zf(e){const[t,n]=Od(e,[uE]),o=pn(t,$$),[r,s]=Od(n,["class","style","id","inert",/^data-/]);return Object.assign(r,t),Object.assign(s,o),[r,s]}function Cn(e){return e==null?[]:Array.isArray(e)?e:[e]}function L$(e,t){let n=0;const o=(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),C(t))};return o.clear=()=>{clearTimeout(n)},o.immediate=e,o}function An(e,t=0,n=1){return Math.max(t,Math.min(n,e))}function dv(e,t,n="0"){return e+n.repeat(Math.max(0,t-e.length))}function D$(e,t=1){const n=[];let o=0;for(;ot.type===xe?fE(t.children):t).flat()}function wr(e=""){if(wr.cache.has(e))return wr.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return wr.cache.set(e,t),t}wr.cache=new Map;function Yr(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Yr(e,n)).flat(1);if(t.suspense)return Yr(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Yr(e,n)).flat(1);if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component];if(t.component.subTree)return Yr(e,t.component.subTree).flat(1)}return[]}class mE{#t=[];#e=0;constructor(t){this.size=t}get isFull(){return this.#t.length===this.size}push(t){this.#t[this.#e]=t,this.#e=(this.#e+1)%this.size}values(){return this.#t.slice(this.#e).concat(this.#t.slice(0,this.#e))}clear(){this.#t.length=0,this.#e=0}}function Qf(e){const t=vt({});xt(()=>{const o=e();for(const r in o)t[r]=o[r]},{flush:"sync"});const n={};for(const o in t)n[o]=K(()=>t[o]);return n}function Al(e,t){return e.includes(t)}function pE(e){return e[2].toLowerCase()+e.slice(3)}const an=()=>[Function,Array];function fv(e,t){return t="on"+ys(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function vE(e,...t){if(Array.isArray(e))for(const n of e)n(...t);else typeof e=="function"&&e(...t)}function tr(e,t=!0){const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let o;try{o=[...e.querySelectorAll(n)]}catch{return[]}return o.filter(r=>!r.closest("[inert]")).filter(r=>!!r.offsetParent||r.getClientRects().length>0).filter(r=>!r.parentElement?.closest("details:not([open])")||r.tagName==="SUMMARY"&&r.parentElement?.tagName==="DETAILS")}function hE(e,t,n){let o,r=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do r+=s,o=e[r];while((!o||o.offsetParent==null||!(n?.(o)??!0))&&r=0);return o}function la(e,t){const n=tr(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&n[0]?.focus();else if(t==="first")n[0]?.focus();else if(t==="last")n.at(-1)?.focus();else if(typeof t=="number")n[t]?.focus();else{const o=hE(n,t);o?o.focus():la(e,t==="next"?"first":"last")}}function Tl(e,t){if(!(Vt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function gE(e){return e.some(t=>ls(t)?t.type===Lt?!1:t.type!==xe||gE(t.children):!0)?e:null}function V$(e,t){if(!Vt||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function M$(e,t){const n=e.clientX,o=e.clientY,r=t.getBoundingClientRect(),s=r.left,a=r.top,i=r.right,l=r.bottom;return n>=s&&n<=i&&o>=a&&o<=l}function $d(){const e=pe(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>cE(e.value)}),t}function mv(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}function Cr(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function B$(e){const t={};for(const n in e)t[tn(n)]=e[n];return t}function N$(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(([n,o])=>t.includes(n)?!!o:o!==void 0))}const bE=["top","bottom"],F$=["start","end","left","right"];function Ld(e,t){let[n,o]=e.split(" ");return o||(o=Al(bE,n)?"start":Al(F$,n)?"top":"center"),{side:Dd(n,t),align:Dd(o,t)}}function Dd(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function bu(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function yu(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function pv(e){return{side:e.align,align:e.side}}function vv(e){return Al(bE,e.side)?"y":"x"}class kn{constructor(t){const n=document.body.currentCSSZoom??1,o=t instanceof Element,r=o?1+(1-n)/n:1,{x:s,y:a,width:i,height:l}=o?t.getBoundingClientRect():t;this.x=s*r,this.y=a*r,this.width=i*r,this.height=l*r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function hv(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function yE(e){if(Array.isArray(e)){const t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new kn({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new kn(e)}function j$(e){if(e===document.documentElement)if(visualViewport){const t=document.body.currentCSSZoom??1;return new kn({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/t,height:visualViewport.height*visualViewport.scale/t})}else return new kn({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new kn(e)}function em(e){const t=new kn(e),n=getComputedStyle(e),o=n.transform;if(o){let r,s,a,i,l;if(o.startsWith("matrix3d("))r=o.slice(9,-1).split(/, /),s=Number(r[0]),a=Number(r[5]),i=Number(r[12]),l=Number(r[13]);else if(o.startsWith("matrix("))r=o.slice(7,-1).split(/, /),s=Number(r[0]),a=Number(r[3]),i=Number(r[4]),l=Number(r[5]);else return new kn(t);const c=n.transformOrigin,u=t.x-i-(1-s)*parseFloat(c),d=t.y-l-(1-a)*parseFloat(c.slice(c.indexOf(" ")+1)),f=s?t.width/s:e.offsetWidth+1,m=a?t.height/a:e.offsetHeight+1;return new kn({x:u,y:d,width:f,height:m})}else return new kn(t)}function er(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(r=>{o.onfinish=()=>{r(o)}})),o}const Qi=new WeakMap;function U$(e,t){Object.keys(t).forEach(n=>{if(dE(n)){const o=pE(n),r=Qi.get(e);if(t[n]==null)r?.forEach(s=>{const[a,i]=s;a===o&&(e.removeEventListener(o,i),r.delete(s))});else if(!r||![...r].some(s=>s[0]===o&&s[1]===t[n])){e.addEventListener(o,t[n]);const s=r||new Set;s.add([o,t[n]]),Qi.has(e)||Qi.set(e,s)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function z$(e,t){Object.keys(t).forEach(n=>{if(dE(n)){const o=pE(n),r=Qi.get(e);r?.forEach(s=>{const[a,i]=s;a===o&&(e.removeEventListener(o,i),r.delete(s))})}else e.removeAttribute(n)})}const Mr=2.4,gv=.2126729,bv=.7151522,yv=.072175,H$=.55,K$=.58,W$=.57,q$=.62,Ei=.03,_v=1.45,G$=5e-4,Y$=1.25,J$=1.25,wv=.078,Sv=12.82051282051282,Ci=.06,xv=.001;function kv(e,t){const n=(e.r/255)**Mr,o=(e.g/255)**Mr,r=(e.b/255)**Mr,s=(t.r/255)**Mr,a=(t.g/255)**Mr,i=(t.b/255)**Mr;let l=n*gv+o*bv+r*yv,c=s*gv+a*bv+i*yv;if(l<=Ei&&(l+=(Ei-l)**_v),c<=Ei&&(c+=(Ei-c)**_v),Math.abs(c-l)l){const d=(c**H$-l**K$)*Y$;u=d-xv?0:d>-wv?d-d*Sv*Ci:d+Ci}return u*100}function Vd(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function X$(e){return Vd(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Ev=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Z$={rgb:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),rgba:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),hsl:(e,t,n,o)=>Cv({h:e,s:t,l:n,a:o}),hsla:(e,t,n,o)=>Cv({h:e,s:t,l:n,a:o}),hsv:(e,t,n,o)=>Ea({h:e,s:t,v:n,a:o}),hsva:(e,t,n,o)=>Ea({h:e,s:t,v:n,a:o})};function Gs(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Ev.test(e)){const{groups:t}=e.match(Ev),{fn:n,values:o}=t,r=o.split(/,\s*|\s*\/\s*|\s+/).map((s,a)=>s.endsWith("%")||a>0&&a<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return Z$[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Q$(t)}else if(typeof e=="object"){if(gu(e,["r","g","b"]))return e;if(gu(e,["h","s","l"]))return Ea(_E(e));if(gu(e,["h","s","v"]))return Ea(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Ea(e){const{h:t,s:n,v:o,a:r}=e,s=i=>{const l=(i+t/60)%6;return o-o*n*Math.max(Math.min(l,4-l,1),0)},a=[s(5),s(3),s(1)].map(i=>Math.round(i*255));return{r:a[0],g:a[1],b:a[2],a:r}}function Cv(e){return Ea(_E(e))}function _E(e){const{h:t,s:n,l:o,a:r}=e,s=o+n*Math.min(o,1-o),a=s===0?0:2-2*o/s;return{h:t,s:a,v:s,a:r}}function Q$(e){e=eL(e);let[t,n,o,r]=D$(e,2).map(s=>parseInt(s,16));return r=r===void 0?r:r/255,{r:t,g:n,b:o,a:r}}function eL(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=dv(dv(e,6),8,"F")),e}function tL(e){const t=Math.abs(kv(Gs(0),Gs(e)));return Math.abs(kv(Gs(16777215),Gs(e)))>Math.min(t,50)}function de(e,t){return n=>Object.keys(e).reduce((o,r)=>{const a=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?o[r]={...a,default:n[r]}:o[r]=a,t&&!o[r].source&&(o[r].source=t),o},{})}const Ne=de({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function At(e,t){const n=zn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function ko(e="composables"){const t=At(e).type;return wr(t?.aliasName||t?.name)}function nL(e,t=At("injectSelf")){const{provides:n}=t;if(n&&e in n)return n[e]}const Pl=Symbol.for("vuetify:defaults");function tm(){const e=Ue(Pl);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function so(e,t){const n=tm(),o=U(e),r=A(()=>{if(C(t?.disabled))return n.value;const a=C(t?.scoped),i=C(t?.reset),l=C(t?.root);if(o.value==null&&!(a||i||l))return n.value;let c=Do(o.value,{prev:n.value});if(a)return c;if(i||l){const u=Number(i||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=Do(Do(c,{prev:c}),c[l])),c}return c.prev?Do(c.prev,c,void 0,(u,d)=>d!==void 0):c});return yt(Pl,r),r}function oL(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[wr(t)]<"u")}function rL(e={},t,n=tm()){const o=At("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=A(()=>n.value?.[e._as??t]),s=new Proxy(e,{get(l,c){const u=Reflect.get(l,c);if(c==="class"||c==="style")return[r.value?.[c],u].filter(m=>m!=null);if(oL(o.vnode,c))return u;const d=r.value?.[c];if(d!==void 0)return d;const f=n.value?.global?.[c];return f!==void 0?f:u}}),a=pe();xt(()=>{if(r.value){const l=Object.entries(r.value).filter(([c])=>c.startsWith(c[0].toUpperCase()));a.value=l.length?Object.fromEntries(l):void 0}else a.value=void 0});function i(){const l=nL(Pl,o);yt(Pl,A(()=>a.value?Do(l?.value??{},a.value):l?.value))}return{props:s,provideSubDefaults:i}}function Ss(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=de(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return ws(o,t)},e.props._as=String,e.setup=function(o,r){const s=tm();if(!s.value)return e._setup(o,r);const{props:a,provideSubDefaults:i}=rL(o,o._as??e.name,s),l=e._setup(a,r);return i(),l}}return e}function Ce(e=!0){return t=>(e?Ss:Ae)(t)}function yc(e,t="div",n){return Ce()({name:n??ys(tn(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Ne()},setup(o,{slots:r}){return()=>mn(o.tag,{class:[e,o.class],style:o.style},r.default?.())}})}function sL(e,t,n,o){if(!n||Cr(e)||Cr(t))return;const r=n.get(e);if(r)r.set(t,o);else{const s=new WeakMap;s.set(t,o),n.set(e,s)}}function aL(e,t,n){if(!n||Cr(e)||Cr(t))return null;const o=n.get(e)?.get(t);if(typeof o=="boolean")return o;const r=n.get(t)?.get(e);return typeof r=="boolean"?r:null}function En(e,t,n=new WeakMap){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const o=Object.keys(e);if(o.length!==Object.keys(t).length)return!1;const r=aL(e,t,n);return r||(sL(e,t,n,!0),o.every(s=>En(e[s],t[s],n)))}function wE(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Il="cubic-bezier(0.4, 0, 0.2, 1)",Av="cubic-bezier(0.0, 0, 0.2, 1)",Tv="cubic-bezier(0.4, 0, 1, 1)",iL={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function SE(e,t=!1){for(;e;){if(t?lL(e):nm(e))return e;e=e.parentElement}return document.scrollingElement}function Rl(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(nm(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function nm(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e),n=t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight,o=t.overflowX==="scroll"||t.overflowX==="auto"&&e.scrollWidth>e.clientWidth;return n||o}function lL(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function cL(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function De(e){const t=At("useRender");t.render=e}function uL(e,t,n={leading:!0,trailing:!0}){let o=0,r=0,s=!1,a=0;function i(){clearTimeout(o),s=!1,a=0}const l=(...c)=>{clearTimeout(o);const u=Date.now();a||(a=u);const d=u-Math.max(a,r);function f(){r=Date.now(),o=setTimeout(i,t),e(...c)}s?d>=t?f():n.trailing&&(o=setTimeout(f,t-d)):(s=!0,n.leading&&f())};return l.clear=i,l.immediate=e,l}const Wn=de({border:[Boolean,Number,String]},"border");function qn(e,t=ko()){return{borderClasses:A(()=>{const o=e.border;return o===!0||o===""?`${t}--border`:typeof o=="string"||o===0?String(o).split(" ").map(r=>`border-${r}`):[]})}}const dL=[null,"default","comfortable","compact"],Pn=de({density:{type:String,default:"default",validator:e=>dL.includes(e)}},"density");function Gn(e,t=ko()){return{densityClasses:K(()=>`${t}--density-${e.density}`)}}const In=de({elevation:{type:[Number,String],validator:e=>parseInt(e)>=0}},"elevation");function Rn(e){return{elevationClasses:K(()=>{const n=ct(e)?e.value:e.elevation;return n==null?[]:[`elevation-${parseInt(n)}`]})}}const Rt=de({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function Ot(e,t=ko()){return{roundedClasses:A(()=>{const o=ct(e)?e.value:e.rounded,r=ct(e)?!1:e.tile,s=[];if(r||o===!1)s.push("rounded-0");else if(o===!0||o==="")s.push(`${t}--rounded`);else if(typeof o=="string"||o===0)for(const a of String(o).split(" "))s.push(`rounded-${a}`);return s})}}const et=de({tag:{type:[String,Object,Function],default:"div"}},"tag"),Md=Symbol.for("vuetify:theme"),mt=de({theme:String},"theme");function Tt(e){At("provideTheme");const t=Ue(Md,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=K(()=>e.theme??t.name.value),o=K(()=>t.themes.value[n.value]),r=K(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`),s={...t,name:n,current:o,themeClasses:r};return yt(Md,s),s}function om(){At("useTheme");const e=Ue(Md,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function rm(e){return Qf(()=>{const{class:t,style:n}=mL(e);return{colorClasses:t,colorStyles:n}})}function jn(e){const{colorClasses:t,colorStyles:n}=rm(()=>({text:it(e)}));return{textColorClasses:t,textColorStyles:n}}function Dt(e){const{colorClasses:t,colorStyles:n}=rm(()=>({background:it(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}function fL(e){return{text:typeof e.text=="string"?e.text.replace(/^text-/,""):e.text,background:typeof e.background=="string"?e.background.replace(/^bg-/,""):e.background}}function mL(e){const t=fL(it(e)),n=[],o={};if(t.background)if(Vd(t.background)){if(o.backgroundColor=t.background,!t.text&&X$(t.background)){const r=Gs(t.background);(r.a==null||r.a===1)&&n.push(tL(r)?"v-theme-on-dark":"v-theme-on-light")}}else n.push(`bg-${t.background}`);return t.text&&(Vd(t.text)?(o.color=t.text,o.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:o}}const pL=["elevated","flat","tonal","outlined","text","plain"];function xs(e,t){return w(xe,null,[e&&w("span",{key:"overlay",class:te(`${t}__overlay`)},null),w("span",{key:"underlay",class:te(`${t}__underlay`)},null)])}const Ko=de({color:String,variant:{type:String,default:"elevated",validator:e=>pL.includes(e)}},"variant");function ks(e,t=ko()){const n=K(()=>{const{variant:s}=it(e);return`${t}--variant-${s}`}),{colorClasses:o,colorStyles:r}=rm(()=>{const{variant:s,color:a}=it(e);return{[["elevated","flat"].includes(s)?"background":"text"]:a}});return{colorClasses:o,colorStyles:r,variantClasses:n}}const xE=de({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...Wn(),...Ne(),...Pn(),...In(),...Rt(),...et(),...mt(),...Ko()},"VBtnGroup"),Pv=Ce()({name:"VBtnGroup",props:xE(),setup(e,{slots:t}){const{themeClasses:n}=Tt(e),{densityClasses:o}=Gn(e),{borderClasses:r}=qn(e),{elevationClasses:s}=Rn(e),{roundedClasses:a}=Ot(e);so({VBtn:{height:K(()=>e.direction==="horizontal"?"auto":null),baseColor:K(()=>e.baseColor),color:K(()=>e.color),density:K(()=>e.density),flat:!0,variant:K(()=>e.variant)}}),De(()=>x(e.tag,{class:te(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},n.value,r.value,o.value,s.value,a.value,e.class]),style:Ee(e.style)},t))}});function ln(e,t){let n;function o(){n=nr(),n.run(()=>t.length?t(()=>{n?.stop(),o()}):t())}le(e,r=>{r&&!n?o():r||(n?.stop(),n=void 0)},{immediate:!0}),Ct(()=>{n?.stop()})}function ht(e,t,n,o=s=>s,r=s=>s){const s=At("useProxiedModel"),a=U(e[t]!==void 0?e[t]:n),i=wr(t),c=A(i!==t?()=>(e[t],!!((s.vnode.props?.hasOwnProperty(t)||s.vnode.props?.hasOwnProperty(i))&&(s.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||s.vnode.props?.hasOwnProperty(`onUpdate:${i}`)))):()=>(e[t],!!(s.vnode.props?.hasOwnProperty(t)&&s.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));ln(()=>!c.value,()=>{le(()=>e[t],d=>{a.value=d})});const u=A({get(){const d=e[t];return o(c.value?d:a.value)},set(d){const f=r(d),m=Ve(c.value?e[t]:a.value);m===f||o(m)===d||(a.value=f,s?.emit(`update:${t}`,f))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:a.value}),u}const Wa=de({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),sm=de({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ol(e,t,n=!0){const o=At("useGroupItem");if(!o)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=Un();yt(Symbol.for(`${t.description}:id`),r);const s=Ue(t,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const a=K(()=>e.value),i=A(()=>!!(s.disabled.value||e.disabled));function l(){s?.register({id:r,value:a,disabled:i},o)}function c(){s?.unregister(r)}l(),gt(()=>c());const u=A(()=>s.isSelected(r)),d=A(()=>s.items.value[0].id===r),f=A(()=>s.items.value[s.items.value.length-1].id===r),m=A(()=>u.value&&[s.selectedClass.value,e.selectedClass]);return le(u,p=>{o.emit("group:selected",{value:p})},{flush:"sync"}),{id:r,isSelected:u,isFirst:d,isLast:f,toggle:()=>s.select(r,!u.value),select:p=>s.select(r,p),selectedClass:m,value:a,disabled:i,group:s,register:l,unregister:c}}function qa(e,t){let n=!1;const o=vt([]),r=ht(e,"modelValue",[],f=>f===void 0?[]:kE(o,f===null?[null]:Cn(f)),f=>{const m=hL(o,f);return e.multiple?m:m[0]}),s=At("useGroup");function a(f,m){const p=f,h=Symbol.for(`${t.description}:id`),y=Yr(h,s?.vnode).indexOf(m);C(p.value)===void 0&&(p.value=y,p.useIndexAsValue=!0),y>-1?o.splice(y,0,p):o.push(p)}function i(f){if(n)return;l();const m=o.findIndex(p=>p.id===f);o.splice(m,1)}function l(){const f=o.find(m=>!m.disabled);f&&e.mandatory==="force"&&!r.value.length&&(r.value=[f.id])}ut(()=>{l()}),gt(()=>{n=!0}),Vf(()=>{for(let f=0;fh.id===f);if(!(m&&p?.disabled))if(e.multiple){const h=r.value.slice(),v=h.findIndex(k=>k===f),y=~v;if(m=m??!y,y&&e.mandatory&&h.length<=1||!y&&e.max!=null&&h.length+1>e.max)return;v<0&&m?h.push(f):v>=0&&!m&&h.splice(v,1),r.value=h}else{const h=r.value.includes(f);if(e.mandatory&&h||!h&&!m)return;r.value=m??!h?[f]:[]}}function u(f){if(e.multiple,r.value.length){const m=r.value[0],p=o.findIndex(y=>y.id===m);let h=(p+f)%o.length,v=o[h];for(;v.disabled&&h!==p;)h=(h+f)%o.length,v=o[h];if(v.disabled)return;r.value=[o[h].id]}else{const m=o.find(p=>!p.disabled);m&&(r.value=[m.id])}}const d={register:a,unregister:i,selected:r,select:c,disabled:K(()=>e.disabled),prev:()=>u(o.length-1),next:()=>u(1),isSelected:f=>r.value.includes(f),selectedClass:K(()=>e.selectedClass),items:K(()=>o),getItemIndex:f=>vL(o,f)};return yt(t,d),d}function vL(e,t){const n=kE(e,[t]);return n.length?e.findIndex(o=>o.id===n[0]):-1}function kE(e,t){const n=[];return t.forEach(o=>{const r=e.find(a=>En(o,a.value)),s=e[o];r?.value!==void 0?n.push(r.id):s?.useIndexAsValue&&n.push(s.id)}),n}function hL(e,t){const n=[];return t.forEach(o=>{const r=e.findIndex(s=>s.id===o);if(~r){const s=e[r];n.push(s.value!==void 0?s.value:r)}}),n}const am=Symbol.for("vuetify:v-btn-toggle"),gL=de({...xE(),...Wa()},"VBtnToggle");Ce()({name:"VBtnToggle",props:gL(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const{isSelected:n,next:o,prev:r,select:s,selected:a}=qa(e,am);return De(()=>{const i=Pv.filterProps(e);return x(Pv,ke({class:["v-btn-toggle",e.class]},i,{style:e.style}),{default:()=>[t.default?.({isSelected:n,next:o,prev:r,select:s,selected:a})]})}),{next:o,prev:r,select:s}}});const bL=de({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),lt=Ce(!1)({name:"VDefaultsProvider",props:bL(),setup(e,{slots:t}){const{defaults:n,disabled:o,reset:r,root:s,scoped:a}=Of(e);return so(n,{reset:r,root:s,scoped:a,disabled:o}),()=>t.default?.()}}),qe=[String,Function,Object,Array],yL=Symbol.for("vuetify:icons"),_c=de({icon:{type:qe},tag:{type:[String,Object,Function],required:!0}},"icon"),Iv=Ce()({name:"VComponentIcon",props:_c(),setup(e,{slots:t}){return()=>{const n=e.icon;return x(e.tag,null,{default:()=>[e.icon?x(n,null,null):t.default?.()]})}}}),_L=Ss({name:"VSvgIcon",inheritAttrs:!1,props:_c(),setup(e,{attrs:t}){return()=>x(e.tag,ke(t,{style:null}),{default:()=>[w("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?w("path",{d:n[0],"fill-opacity":n[1]},null):w("path",{d:n},null)):w("path",{d:e.icon},null)])]})}});Ss({name:"VLigatureIcon",props:_c(),setup(e){return()=>x(e.tag,null,{default:()=>[e.icon]})}});Ss({name:"VClassIcon",props:_c(),setup(e){return()=>x(e.tag,{class:te(e.icon)},null)}});const wL=e=>{const t=Ue(yL);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:A(()=>{const o=it(e);if(!o)return{component:Iv};let r=o;if(typeof r=="string"&&(r=r.trim(),r.startsWith("$")&&(r=t.aliases?.[r.slice(1)])),Array.isArray(r))return{component:_L,icon:r};if(typeof r!="string")return{component:Iv,icon:r};const s=Object.keys(t.sets).find(l=>typeof r=="string"&&r.startsWith(`${l}:`)),a=s?r.slice(s.length+1):r;return{component:t.sets[s??t.defaultSet].component,icon:a}})}},SL=["x-small","small","default","large","x-large"],Ga=de({size:{type:[String,Number],default:"default"}},"size");function Ya(e,t=ko()){return Qf(()=>{const n=e.size;let o,r;return Al(SL,n)?o=`${t}--size-${n}`:n&&(r={width:Te(n),height:Te(n)}),{sizeClasses:o,sizeStyles:r}})}const xL=de({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:qe,opacity:[String,Number],...Ne(),...Ga(),...et({tag:"i"}),...mt()},"VIcon"),_e=Ce()({name:"VIcon",props:xL(),setup(e,{attrs:t,slots:n}){const o=pe(),{themeClasses:r}=om(),{iconData:s}=wL(()=>o.value||e.icon),{sizeClasses:a}=Ya(e),{textColorClasses:i,textColorStyles:l}=jn(()=>e.color);return De(()=>{const c=n.default?.();c&&(o.value=fE(c).filter(d=>d.type===Bo&&d.children&&typeof d.children=="string")[0]?.children);const u=!!(t.onClick||t.onClickOnce);return x(s.value.component,{tag:e.tag,icon:s.value.icon,class:te(["v-icon","notranslate",r.value,a.value,i.value,{"v-icon--clickable":u,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:Ee([{"--v-icon-opacity":e.opacity},a.value?void 0:{fontSize:Te(e.size),height:Te(e.size),width:Te(e.size)},l.value,e.style]),role:u?"button":void 0,"aria-hidden":!u,tabindex:u?e.disabled?-1:0:void 0},{default:()=>[c]})}),{}}});function EE(e,t){const n=U(),o=pe(!1);if(Xf){const r=new IntersectionObserver(s=>{o.value=!!s.find(a=>a.isIntersecting)},t);Ct(()=>{r.disconnect()}),le(n,(s,a)=>{a&&(r.unobserve(a),o.value=!1),s&&r.observe(s)},{flush:"post"})}return{intersectionRef:n,isIntersecting:o}}function rr(e,t="content"){const n=$d(),o=U();if(Vt){const r=new ResizeObserver(s=>{e?.(s,r),s.length&&(t==="content"?o.value=s[0].contentRect:o.value=s[0].target.getBoundingClientRect())});gt(()=>{r.disconnect()}),le(()=>n.el,(s,a)=>{a&&(r.unobserve(a),o.value=void 0),s&&r.observe(s)},{flush:"post"})}return{resizeRef:n,contentRect:So(o)}}const kL=de({reveal:{type:[Boolean,Object],default:!1}},"reveal");function EL(e){const n=K(()=>typeof e.reveal=="object"?Math.max(0,Number(e.reveal.duration??900)):900),o=pe(e.reveal?"initial":"disabled");return ut(async()=>{e.reveal&&(o.value="initial",await new Promise(r=>requestAnimationFrame(r)),o.value="pending",await new Promise(r=>setTimeout(r,n.value)),o.value="done")}),{duration:n,state:o}}const CL=de({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Ne(),...kL(),...Ga(),...et({tag:"div"}),...mt()},"VProgressCircular"),Ja=Ce()({name:"VProgressCircular",props:CL(),setup(e,{slots:t}){const o=2*Math.PI*20,r=U(),{themeClasses:s}=Tt(e),{sizeClasses:a,sizeStyles:i}=Ya(e),{textColorClasses:l,textColorStyles:c}=jn(()=>e.color),{textColorClasses:u,textColorStyles:d}=jn(()=>e.bgColor),{intersectionRef:f,isIntersecting:m}=EE(),{resizeRef:p,contentRect:h}=rr(),{state:v,duration:y}=EL(e),k=K(()=>v.value==="initial"?0:An(parseFloat(e.modelValue),0,100)),_=K(()=>Number(e.width)),g=K(()=>i.value?Number(e.size):h.value?h.value.width:Math.max(_.value,32)),b=K(()=>20/(1-_.value/g.value)*2),S=K(()=>_.value/g.value*b.value),E=K(()=>{const R=(100-k.value)/100*o;return e.rounded&&k.value>0&&k.value<100?Te(Math.min(o-.01,R+S.value)):Te(R)}),O=A(()=>{const R=Number(e.rotate);return e.rounded?R+S.value/2/o*360:R});return xt(()=>{f.value=r.value,p.value=r.value}),De(()=>x(e.tag,{ref:r,class:te(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate&&(e.indeterminate==="disable-shrink"||vs()),"v-progress-circular--revealing":["initial","pending"].includes(v.value)},s.value,a.value,l.value,e.class]),style:Ee([i.value,c.value,{"--progress-reveal-duration":`${y.value}ms`},e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:k.value},{default:()=>[w("svg",{style:{transform:`rotate(calc(-90deg + ${O.value}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${b.value} ${b.value}`},[w("circle",{class:te(["v-progress-circular__underlay",u.value]),style:Ee(d.value),fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":S.value,"stroke-dasharray":o,"stroke-dashoffset":0},null),w("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":S.value,"stroke-dasharray":o,"stroke-dashoffset":E.value,"stroke-linecap":e.rounded?"round":void 0},null)]),t.default&&w("div",{class:"v-progress-circular__content"},[t.default({value:k.value})])]})),{}}}),vn=de({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function hn(e){return{dimensionStyles:A(()=>{const n={},o=Te(e.height),r=Te(e.maxHeight),s=Te(e.maxWidth),a=Te(e.minHeight),i=Te(e.minWidth),l=Te(e.width);return o!=null&&(n.height=o),r!=null&&(n.maxHeight=r),s!=null&&(n.maxWidth=s),a!=null&&(n.minHeight=a),i!=null&&(n.minWidth=i),l!=null&&(n.width=l),n})}}const CE=Symbol.for("vuetify:locale");function Xa(){const e=Ue(CE);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function ao(){const e=Ue(CE);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Rv={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Rr=de({location:String},"location");function Or(e,t=!1,n){const{isRtl:o}=ao();return{locationStyles:A(()=>{if(!e.location)return{};const{side:s,align:a}=Ld(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value);function i(c){return n?n(c):0}const l={};return s!=="center"&&(t?l[Rv[s]]=`calc(100% - ${i(s)}px)`:l[s]=0),a!=="center"?t?l[Rv[a]]=`calc(100% - ${i(a)}px)`:l[a]=0:(s==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),l})}}const AL=de({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function TL(e,t){const n=K(()=>!!e.chunkCount||!!e.chunkWidth),o=A(()=>{const i=it(t);if(!i)return 0;if(!e.chunkCount)return Number(e.chunkWidth);const l=Number(e.chunkCount);return(i-Number(e.chunkGap)*(l-1))/l}),r=K(()=>Number(e.chunkGap)),s=A(()=>{if(!n.value)return{};const i=Te(r.value),l=Te(o.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${l}, transparent ${l}, transparent)`,maskSize:`calc(${l} + ${i}) 100%`}});function a(i){const l=it(t);if(!l)return i;const c=100*r.value/l,u=100*(o.value+r.value)/l,d=Math.floor((i+c)/u);return An(0,d*u-c/2,100)}return{hasChunks:n,chunksMaskStyles:s,snapValueToChunk:a}}const PL=de({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...AL(),...Ne(),...Rr({location:"top"}),...Rt(),...et(),...mt()},"VProgressLinear"),AE=Ce()({name:"VProgressLinear",props:PL(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const n=U(),o=ht(e,"modelValue"),{isRtl:r,rtlClasses:s}=ao(),{themeClasses:a}=Tt(e),{locationStyles:i}=Or(e),{textColorClasses:l,textColorStyles:c}=jn(()=>e.color),{backgroundColorClasses:u,backgroundColorStyles:d}=Dt(()=>e.bgColor||e.color),{backgroundColorClasses:f,backgroundColorStyles:m}=Dt(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:p,backgroundColorStyles:h}=Dt(()=>e.color),{roundedClasses:v}=Ot(e),{intersectionRef:y,isIntersecting:k}=EE(),_=A(()=>parseFloat(e.max)),g=A(()=>parseFloat(e.height)),b=A(()=>An(parseFloat(e.bufferValue)/_.value*100,0,100)),S=A(()=>An(parseFloat(o.value)/_.value*100,0,100)),E=A(()=>r.value!==e.reverse),O=A(()=>e.indeterminate?"fade-transition":"slide-x-transition"),R=pe(0),{hasChunks:L,chunksMaskStyles:D,snapValueToChunk:I}=TL(e,R);ln(L,()=>{const{resizeRef:N}=rr(J=>R.value=J[0].contentRect.width);xt(()=>N.value=n.value)});const V=A(()=>L.value?I(b.value):b.value),Y=A(()=>L.value?I(S.value):S.value);function H(N){if(!y.value)return;const{left:J,right:Q,width:X}=y.value.getBoundingClientRect(),F=E.value?X-N.clientX+(Q-X):N.clientX-J;o.value=Math.round(F/X*_.value)}return xt(()=>{y.value=n.value}),De(()=>x(e.tag,{ref:n,class:te(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&k.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},v.value,a.value,s.value,e.class]),style:Ee([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Te(g.value):0,"--v-progress-linear-height":Te(g.value),...e.absolute?i.value:{}},D.value,e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(o.value),_.value),onClick:e.clickable&&H},{default:()=>[e.stream&&w("div",{key:"stream",class:te(["v-progress-linear__stream",l.value]),style:{...c.value,[E.value?"left":"right"]:Te(-g.value),borderTop:`${Te(g.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${Te(g.value/4)})`,width:Te(100-b.value,"%"),"--v-progress-linear-stream-to":Te(g.value*(E.value?1:-1))}},null),w("div",{class:te(["v-progress-linear__background",u.value]),style:Ee([d.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),w("div",{class:te(["v-progress-linear__buffer",f.value]),style:Ee([m.value,{opacity:parseFloat(e.bufferOpacity),width:Te(V.value,"%")}])},null),x(to,{name:O.value},{default:()=>[e.indeterminate?w("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(N=>w("div",{key:N,class:te(["v-progress-linear__indeterminate",N,p.value]),style:Ee(h.value)},null))]):w("div",{class:te(["v-progress-linear__determinate",p.value]),style:Ee([h.value,{width:Te(Y.value,"%")}])},null)]}),t.default&&w("div",{class:"v-progress-linear__content"},[t.default({value:S.value,buffer:b.value})])]})),{}}}),im=de({loading:[Boolean,String]},"loader");function lm(e,t=ko()){return{loaderClasses:K(()=>({[`${t}--loading`]:e.loading}))}}function TE(e,{slots:t}){return w("div",{class:te(`${e.name}__loader`)},[t.default?.({color:e.color,isActive:e.active})||x(AE,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const IL=["static","relative","fixed","absolute","sticky"],wc=de({position:{type:String,validator:e=>IL.includes(e)}},"position");function Sc(e,t=ko()){return{positionClasses:K(()=>e.position?`${t}--${e.position}`:void 0)}}function RL(){const e=At("useRoute");return A(()=>e?.proxy?.$route)}function PE(){return At("useRouter")?.proxy?.$router}function Za(e,t){const n=ya("RouterLink"),o=K(()=>!!(e.href||e.to)),r=A(()=>o?.value||fv(t,"click")||fv(e,"click"));if(typeof n=="string"||!("useLink"in n)){const d=K(()=>e.href);return{isLink:o,isRouterLink:K(()=>!1),isClickable:r,href:d,linkProps:vt({href:d}),route:K(()=>{}),navigate:K(()=>{})}}const s=n.useLink({to:K(()=>e.to||""),replace:K(()=>e.replace)}),a=A(()=>e.to?s:void 0),i=RL(),l=A(()=>a.value?e.exact?i.value?a.value.isExactActive?.value&&En(a.value.route.value.query,i.value.query):a.value.isExactActive?.value??!1:a.value.isActive?.value??!1:!1),c=A(()=>e.to?a.value?.route.value.href:e.href),u=K(()=>!!e.to);return{isLink:o,isRouterLink:u,isClickable:r,isActive:l,route:K(()=>a.value?.route.value),navigate:K(()=>a.value?.navigate),href:c,linkProps:vt({href:c,"aria-current":K(()=>l.value?"page":void 0),"aria-disabled":K(()=>e.disabled&&o.value?"true":void 0),tabindex:K(()=>e.disabled&&o.value?"-1":void 0)})}}const Qa=de({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let _u=!1;function OL(e,t){let n=!1,o,r;Vt&&e?.beforeEach&&(Je(()=>{window.addEventListener("popstate",s),o=e.beforeEach(()=>_u?n?t():void 0:(_u=!0,new Promise(a=>{setTimeout(()=>a(n?t():void 0))}))),r=e?.afterEach(()=>{_u=!1})}),Ct(()=>{window.removeEventListener("popstate",s),o?.(),r?.()}));function s(a){a.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function $L(e,t){le(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Je(()=>{t(n)})},{immediate:!0})}const Bd=Symbol("rippleStop"),LL=80;function Ov(e,t){e.style.transform=t,e.style.webkitTransform=t}function Nd(e){return e.constructor.name==="TouchEvent"}function IE(e){return e.constructor.name==="KeyboardEvent"}const DL=(e,t,n={})=>{let o=0,r=0;if(!IE(e)){const d=t.getBoundingClientRect(),f=Nd(e)?e.touches[e.touches.length-1]:e;o=f.clientX-d.left,r=f.clientY-d.top}let s=0,a=.3;t._ripple?.circle?(a=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt((o-s)**2+(r-s)**2)/4):s=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const i=`${(t.clientWidth-s*2)/2}px`,l=`${(t.clientHeight-s*2)/2}px`,c=n.center?i:`${o-s}px`,u=n.center?l:`${r-s}px`;return{radius:s,scale:a,x:c,y:u,centerX:i,centerY:l}},$l={show(e,t,n={}){if(!t?._ripple?.enabled)return;const o=document.createElement("span"),r=document.createElement("span");o.appendChild(r),o.className="v-ripple__container",n.class&&(o.className+=` ${n.class}`);const{radius:s,scale:a,x:i,y:l,centerX:c,centerY:u}=DL(e,t,n),d=`${s*2}px`;r.className="v-ripple__animation",r.style.width=d,r.style.height=d,t.appendChild(o);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Ov(r,`translate(${i}, ${l}) scale3d(${a},${a},${a})`),r.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Ov(r,`translate(${c}, ${u}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=Array.from(t).findLast(s=>!s.dataset.isHiding);if(n)n.dataset.isHiding="true";else return;const o=performance.now()-Number(n.dataset.activated),r=Math.max(250-o,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},r)}};function RE(e){return typeof e>"u"||!!e}function Ca(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[Bd])){if(e[Bd]=!0,Nd(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||IE(e),n._ripple.class&&(t.class=n._ripple.class),Nd(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{$l.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},LL)}else $l.show(e,n,t)}}function Ll(e){e[Bd]=!0}function Sn(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Sn(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),$l.hide(t)}}function OE(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Aa=!1;function VL(e,t){!Aa&&t.includes(e.key)&&(Aa=!0,Ca(e))}function $E(e){Aa=!1,Sn(e)}function LE(e){Aa&&(Aa=!1,Sn(e))}function DE(e,t,n){const{value:o,modifiers:r}=t,s=RE(o);s||$l.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=r.center,e._ripple.circle=r.circle;const a=ka(o)?o:{};a.class&&(e._ripple.class=a.class);const i=a.keys??["Enter","Space"];if(e._ripple.keyDownHandler=l=>VL(l,i),s&&!n){if(r.stop){e.addEventListener("touchstart",Ll,{passive:!0}),e.addEventListener("mousedown",Ll);return}e.addEventListener("touchstart",Ca,{passive:!0}),e.addEventListener("touchend",Sn,{passive:!0}),e.addEventListener("touchmove",OE,{passive:!0}),e.addEventListener("touchcancel",Sn),e.addEventListener("mousedown",Ca),e.addEventListener("mouseup",Sn),e.addEventListener("mouseleave",Sn),e.addEventListener("keydown",e._ripple.keyDownHandler),e.addEventListener("keyup",$E),e.addEventListener("blur",LE),e.addEventListener("dragstart",Sn,{passive:!0})}else!s&&n&&VE(e)}function VE(e){e.removeEventListener("touchstart",Ll),e.removeEventListener("mousedown",Ll),e.removeEventListener("touchstart",Ca),e.removeEventListener("touchend",Sn),e.removeEventListener("touchmove",OE),e.removeEventListener("touchcancel",Sn),e.removeEventListener("mousedown",Ca),e.removeEventListener("mouseup",Sn),e.removeEventListener("mouseleave",Sn),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",$E),e.removeEventListener("blur",LE),e.removeEventListener("dragstart",Sn)}function ML(e,t){DE(e,t,!1)}function BL(e){VE(e),delete e._ripple}function NL(e,t){if(t.value===t.oldValue)return;const n=RE(t.oldValue);DE(e,t,n)}const oo={mounted:ML,unmounted:BL,updated:NL},FL=de({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:am},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:qe,appendIcon:qe,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...Wn(),...Ne(),...Pn(),...vn(),...In(),...sm(),...im(),...Rr(),...wc(),...Rt(),...Qa(),...Ga(),...et({tag:"button"}),...mt(),...Ko({variant:"elevated"})},"VBtn"),He=Ce()({name:"VBtn",props:FL(),emits:{"group:selected":e=>!0},setup(e,{attrs:t,slots:n}){const{themeClasses:o}=Tt(e),{borderClasses:r}=qn(e),{densityClasses:s}=Gn(e),{dimensionStyles:a}=hn(e),{elevationClasses:i}=Rn(e),{loaderClasses:l}=lm(e),{locationStyles:c}=Or(e),{positionClasses:u}=Sc(e),{roundedClasses:d}=Ot(e),{sizeClasses:f,sizeStyles:m}=Ya(e),p=Ol(e,e.symbol,!1),h=Za(e,t),v=A(()=>e.active!==void 0?e.active:h.isRouterLink.value?h.isActive?.value:p?.isSelected.value),y=K(()=>v.value?e.activeColor??e.color:e.color),k=A(()=>({color:p?.isSelected.value&&(!h.isLink.value||h.isActive?.value)||!p||h.isActive?.value?y.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:_,colorStyles:g,variantClasses:b}=ks(k),S=A(()=>p?.disabled.value||e.disabled),E=K(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=A(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function R(L){S.value||h.isLink.value&&(L.metaKey||L.ctrlKey||L.shiftKey||L.button!==0||t.target==="_blank")||(h.isRouterLink.value?h.navigate.value?.(L):p?.toggle())}return $L(h,p?.select),De(()=>{const L=h.isLink.value?"a":e.tag,D=!!(e.prependIcon||n.prepend),I=!!(e.appendIcon||n.append),V=!!(e.icon&&e.icon!==!0);return St(x(L,ke(h.linkProps,{type:L==="a"?void 0:"button",class:["v-btn",p?.selectedClass.value,{"v-btn--active":v.value,"v-btn--block":e.block,"v-btn--disabled":S.value,"v-btn--elevated":E.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?["v-btn--spaced",`v-btn--spaced-${e.spaced}`]:[],o.value,r.value,_.value,s.value,i.value,l.value,u.value,d.value,f.value,b.value,e.class],style:[g.value,a.value,c.value,m.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:S.value&&L!=="a"||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:R,value:O.value}),{default:()=>[xs(!0,"v-btn"),!e.icon&&D&&w("span",{key:"prepend",class:"v-btn__prepend"},[n.prepend?x(lt,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},n.prepend):x(_e,{key:"prepend-icon",icon:e.prependIcon},null)]),w("span",{class:"v-btn__content","data-no-activator":""},[!n.default&&V?x(_e,{key:"content-icon",icon:e.icon},null):x(lt,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:e.icon}}},{default:()=>[n.default?.()??z(e.text)]})]),!e.icon&&I&&w("span",{key:"append",class:"v-btn__append"},[n.append?x(lt,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},n.append):x(_e,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&w("span",{key:"loader",class:"v-btn__loader"},[n.loader?.()??x(Ja,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[oo,!S.value&&e.ripple,"",{center:!!e.icon}]])}),{group:p}}}),jL=de({...Ne(),...et()},"VCardActions"),ME=Ce()({name:"VCardActions",props:jL(),setup(e,{slots:t}){return so({VBtn:{slim:!0,variant:"text"}}),De(()=>x(e.tag,{class:te(["v-card-actions",e.class]),style:Ee(e.style)},t)),{}}}),UL=de({opacity:[Number,String],...Ne(),...et()},"VCardSubtitle"),zL=Ce()({name:"VCardSubtitle",props:UL(),setup(e,{slots:t}){return De(()=>x(e.tag,{class:te(["v-card-subtitle",e.class]),style:Ee([{"--v-card-subtitle-opacity":e.opacity},e.style])},t)),{}}}),BE=yc("v-card-title"),Es=de({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),Vo=(e,{slots:t})=>{const{transition:n,disabled:o,group:r,...s}=e,{component:a=r?zf:to,...i}=ka(n)?n:{};let l;return ka(n)?l=ke(i,N$({disabled:o,group:r}),s):l=ke({name:o||!n?"":n},s),mn(a,l,t)},HL=de({bordered:Boolean,color:String,content:[Number,String],dot:Boolean,dotSize:[Number,String],floating:Boolean,icon:qe,inline:Boolean,label:{type:String,default:"$vuetify.badge"},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...Ne(),...Rr({location:"top end"}),...Rt(),...et(),...mt(),...Es({transition:"scale-rotate-transition"}),...vn()},"VBadge"),KL=Ce()({name:"VBadge",inheritAttrs:!1,props:HL(),setup(e,t){const{backgroundColorClasses:n,backgroundColorStyles:o}=Dt(()=>e.color),{roundedClasses:r}=Ot(e),{t:s}=Xa(),{textColorClasses:a,textColorStyles:i}=jn(()=>e.textColor),{themeClasses:l}=om(),{locationStyles:c}=Or(e,!0,d=>(e.floating?e.dot?2:4:e.dot?Number(e.dotSize??8):12)+(["top","bottom"].includes(d)?Number(e.offsetY??0):["left","right"].includes(d)?Number(e.offsetX??0):0)),{dimensionStyles:u}=hn(e);return De(()=>{const d=Number(e.content),f=!e.max||isNaN(d)?e.content:d<=Number(e.max)?d:`${e.max}+`,[m,p]=Od(t.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return x(e.tag,ke({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline},e.class]},p,{style:e.style}),{default:()=>[w("div",{class:"v-badge__wrapper"},[t.slots.default?.(),x(Vo,{transition:e.transition},{default:()=>[St(w("span",ke({class:["v-badge__badge",l.value,n.value,r.value,a.value],style:[o.value,i.value,u.value,e.inline?{}:c.value,e.dot&&e.dotSize?{width:Te(e.dotSize),height:Te(e.dotSize)}:{}],"aria-atomic":"true","aria-label":s(e.label,d),"aria-live":"polite",role:"status"},m),[e.dot?void 0:t.slots.badge?t.slots.badge?.():e.icon?x(_e,{icon:e.icon},null):f]),[[ro,e.modelValue]])]})])]})}),{}}});function WL(e){return{aspectStyles:A(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const NE=de({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...Ne(),...vn()},"VResponsive"),$v=Ce()({name:"VResponsive",props:NE(),setup(e,{slots:t}){const{aspectStyles:n}=WL(e),{dimensionStyles:o}=hn(e);return De(()=>w("div",{class:te(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:Ee([o.value,e.style])},[w("div",{class:"v-responsive__sizer",style:Ee(n.value)},null),t.additional?.(),t.default&&w("div",{class:te(["v-responsive__content",e.contentClass])},[t.default()])])),{}}});function Lv(e,t){if(!Xf)return;const n=t.modifiers||{},o=t.value,{handler:r,options:s}=typeof o=="object"?o:{handler:o,options:{}},a=new IntersectionObserver((i=[],l)=>{const c=e._observe?.[t.instance.$.uid];if(!c)return;const u=i.some(d=>d.isIntersecting);r&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&r(u,i,l),u&&n.once?Fd(e,t):c.init=!0},s);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:a},a.observe(e)}function Fd(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Dl={mounted:Lv,unmounted:Fd,updated:(e,t)=>{e._observe?.[t.instance.$.uid]&&(Fd(e,t),Lv(e,t))}},qL=de({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,imageClass:null,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...NE(),...Ne(),...Rt(),...Es()},"VImg"),xc=Ce()({name:"VImg",directives:{vIntersect:Dl},inheritAttrs:!1,props:qL(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const{backgroundColorClasses:r,backgroundColorStyles:s}=Dt(()=>e.color),{roundedClasses:a}=Ot(e),i=At("VImg"),l=pe(""),c=U(),u=pe(e.eager?"loading":"idle"),d=pe(),f=pe(),m=A(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),p=A(()=>m.value.aspect||d.value/f.value||0);le(()=>e.src,()=>{h(u.value!=="idle")}),le(p,(I,V)=>{!I&&V&&c.value&&g(c.value)}),za(()=>h());function h(I){if(!(e.eager&&I)&&!(Xf&&!I&&!e.eager)){if(u.value="loading",m.value.lazySrc){const V=new Image;V.src=m.value.lazySrc,g(V,null)}m.value.src&&Je(()=>{n("loadstart",c.value?.currentSrc||m.value.src),setTimeout(()=>{if(!i.isUnmounted)if(c.value?.complete){if(c.value.naturalWidth||y(),u.value==="error")return;p.value||g(c.value,null),u.value==="loading"&&v()}else p.value||g(c.value),k()})})}}function v(){i.isUnmounted||(k(),g(c.value),u.value="loaded",n("load",c.value?.currentSrc||m.value.src))}function y(){i.isUnmounted||(u.value="error",n("error",c.value?.currentSrc||m.value.src))}function k(){const I=c.value;I&&(l.value=I.currentSrc||I.src)}let _=-1;gt(()=>{clearTimeout(_)});function g(I,V=100){const Y=()=>{if(clearTimeout(_),i.isUnmounted)return;const{naturalHeight:H,naturalWidth:N}=I;H||N?(d.value=N,f.value=H):!I.complete&&u.value==="loading"&&V!=null?_=window.setTimeout(Y,V):(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(d.value=1,f.value=1)};Y()}const b=K(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),S=()=>{if(!m.value.src||u.value==="idle")return null;const I=w("img",{class:te(["v-img__img",b.value,e.imageClass]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:m.value.src,srcset:m.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:c,onLoad:v,onError:y},null),V=o.sources?.();return x(Vo,{transition:e.transition,appear:!0},{default:()=>[St(V?w("picture",{class:"v-img__picture"},[V,I]):I,[[ro,u.value==="loaded"]])]})},E=()=>x(Vo,{transition:e.transition},{default:()=>[m.value.lazySrc&&u.value!=="loaded"&&w("img",{class:te(["v-img__img","v-img__img--preload",b.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:m.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),O=()=>o.placeholder?x(Vo,{transition:e.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!o.error)&&w("div",{class:"v-img__placeholder"},[o.placeholder()])]}):null,R=()=>o.error?x(Vo,{transition:e.transition,appear:!0},{default:()=>[u.value==="error"&&w("div",{class:"v-img__error"},[o.error()])]}):null,L=()=>e.gradient?w("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,D=pe(!1);{const I=le(p,V=>{V&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{D.value=!0})}),I())})}return De(()=>{const I=$v.filterProps(e),[V,Y]=Zf(t);return St(x($v,ke({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!D.value,"v-img--fit-content":e.width==="fit-content"},r.value,a.value,e.class],style:[{width:Te(e.width==="auto"?d.value:e.width)},s.value,e.style]},I,V,{aspectRatio:p.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>w(xe,null,[x(S,Y,null),x(E,null,null),x(L,null,null),x(O,null,null),x(R,null,null)]),default:o.default}),[[Dl,{handler:h,options:e.options},null,{once:!0}]])}),{currentSrc:l,image:c,state:u,naturalWidth:d,naturalHeight:f}}}),GL=de({badge:{type:[Boolean,Object],default:!1},start:Boolean,end:Boolean,icon:qe,image:String,text:String,...Wn(),...Ne(),...Pn(),...Rt(),...Ga(),...et(),...mt(),...Ko({variant:"flat"})},"VAvatar"),Ar=Ce()({name:"VAvatar",props:GL(),setup(e,{slots:t}){const{themeClasses:n}=Tt(e),{borderClasses:o}=qn(e),{colorClasses:r,colorStyles:s,variantClasses:a}=ks(e),{densityClasses:i}=Gn(e),{roundedClasses:l}=Ot(e),{sizeClasses:c,sizeStyles:u}=Ya(e),d=A(()=>{switch(e.size){case"x-small":return 8;case"small":return 10;case"large":return 14;case"x-large":return 16;default:return 12}}),f=A(()=>{const{floating:p}=ka(e.badge)?e.badge:{};return(p?d.value/2:0)-1.5}),m=A(()=>({bordered:!0,dot:!t.badge,dotSize:d.value,offsetX:f.value,offsetY:f.value,color:typeof e.badge=="string"?e.badge:"primary",...ka(e.badge)?e.badge:{}}));return De(()=>{const p=x(e.tag,{class:te(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},n.value,o.value,r.value,i.value,l.value,c.value,a.value,e.class]),style:Ee([s.value,u.value,e.style])},{default:()=>[t.default?x(lt,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[t.default()]}):e.image?x(xc,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?x(_e,{key:"icon",icon:e.icon},null):e.text,xs(!1,"v-avatar")]});return e.badge?x(KL,m.value,{default:()=>p,badge:t.badge}):p}),{}}}),YL=de({appendAvatar:String,appendIcon:qe,prependAvatar:String,prependIcon:qe,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...Ne(),...Pn(),...et()},"VCardItem"),JL=Ce()({name:"VCardItem",props:YL(),setup(e,{slots:t}){return De(()=>{const n=!!(e.prependAvatar||e.prependIcon),o=!!(n||t.prepend),r=!!(e.appendAvatar||e.appendIcon),s=!!(r||t.append),a=!!(e.title!=null||t.title),i=!!(e.subtitle!=null||t.subtitle);return x(e.tag,{class:te(["v-card-item",e.class]),style:Ee(e.style)},{default:()=>[o&&w("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?x(lt,{key:"prepend-defaults",disabled:!n,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},t.prepend):w(xe,null,[e.prependAvatar&&x(Ar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&x(_e,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),w("div",{class:"v-card-item__content"},[a&&x(BE,{key:"title"},{default:()=>[t.title?.()??z(e.title)]}),i&&x(zL,{key:"subtitle"},{default:()=>[t.subtitle?.()??z(e.subtitle)]}),t.default?.()]),s&&w("div",{key:"append",class:"v-card-item__append"},[t.append?x(lt,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},t.append):w(xe,null,[e.appendIcon&&x(_e,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&x(Ar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]})}),{}}}),XL=de({opacity:[Number,String],...Ne(),...et()},"VCardText"),FE=Ce()({name:"VCardText",props:XL(),setup(e,{slots:t}){return De(()=>x(e.tag,{class:te(["v-card-text",e.class]),style:Ee([{"--v-card-text-opacity":e.opacity},e.style])},t)),{}}}),ZL=de({appendAvatar:String,appendIcon:qe,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:qe,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...Wn(),...Ne(),...Pn(),...vn(),...In(),...im(),...Rr(),...wc(),...Rt(),...Qa(),...et(),...mt(),...Ko({variant:"elevated"})},"VCard"),jE=Ce()({name:"VCard",directives:{vRipple:oo},props:ZL(),setup(e,{attrs:t,slots:n}){const{themeClasses:o}=Tt(e),{borderClasses:r}=qn(e),{colorClasses:s,colorStyles:a,variantClasses:i}=ks(e),{densityClasses:l}=Gn(e),{dimensionStyles:c}=hn(e),{elevationClasses:u}=Rn(e),{loaderClasses:d}=lm(e),{locationStyles:f}=Or(e),{positionClasses:m}=Sc(e),{roundedClasses:p}=Ot(e),h=Za(e,t),v=pe(void 0);return le(()=>e.loading,(y,k)=>{v.value=!y&&typeof k=="string"?k:typeof y=="boolean"?void 0:y},{immediate:!0}),De(()=>{const y=e.link!==!1&&h.isLink.value,k=!e.disabled&&e.link!==!1&&(e.link||h.isClickable.value),_=y?"a":e.tag,g=!!(n.title||e.title!=null),b=!!(n.subtitle||e.subtitle!=null),S=g||b,E=!!(n.append||e.appendAvatar||e.appendIcon),O=!!(n.prepend||e.prependAvatar||e.prependIcon),R=!!(n.image||e.image),L=S||O||E,D=!!(n.text||e.text!=null);return St(x(_,ke(h.linkProps,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":k},o.value,r.value,s.value,l.value,u.value,d.value,m.value,p.value,i.value,e.class],style:[a.value,c.value,f.value,{"--v-card-height":Te(e.height)},e.style],onClick:k&&h.navigate.value,tabindex:e.disabled?-1:void 0}),{default:()=>[R&&w("div",{key:"image",class:"v-card__image"},[n.image?x(lt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):x(xc,{key:"image-img",cover:!0,src:e.image},null)]),x(TE,{name:"v-card",active:!!e.loading,color:v.value},{default:n.loader}),L&&x(JL,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:n.item,prepend:n.prepend,title:n.title,subtitle:n.subtitle,append:n.append}),D&&x(FE,{key:"text"},{default:()=>[n.text?.()??e.text]}),n.default?.(),n.actions&&x(ME,null,{default:n.actions}),xs(k,"v-card")]}),[[oo,k&&e.ripple]])}),{}}}),QL=de({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function On(e,t,n){return Ce()({name:e,props:QL({mode:n,origin:t}),setup(o,{slots:r}){const s={onBeforeEnter(a){o.origin&&(a.style.transformOrigin=o.origin)},onLeave(a){if(o.leaveAbsolute){const{offsetTop:i,offsetLeft:l,offsetWidth:c,offsetHeight:u}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${i}px`,a.style.left=`${l}px`,a.style.width=`${c}px`,a.style.height=`${u}px`}o.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(o.leaveAbsolute&&a?._transitionInitialStyles){const{position:i,top:l,left:c,width:u,height:d}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=i||"",a.style.top=l||"",a.style.left=c||"",a.style.width=u||"",a.style.height=d||""}}};return()=>{const a=o.group?zf:to;return mn(a,{name:o.disabled?"":e,css:!o.disabled,...o.group?void 0:{mode:o.mode},...o.disabled?{}:s},r.default)}}})}function cm(e,t,n="in-out"){return Ce()({name:e,props:{mode:{type:String,default:n},disabled:{type:Boolean,default:vs()},group:Boolean,hideOnLeave:Boolean},setup(o,{slots:r}){const s=o.group?zf:to;return()=>mn(s,{name:o.disabled?"":e,css:!o.disabled,...o.disabled?{}:{...t,onLeave:a=>{o.hideOnLeave?a.style.setProperty("display","none","important"):t.onLeave?.(a)}}},r.default)}})}function um(e="",t="y"){return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,width:r.style.width,height:r.style.height}},onEnter(r){const s=r._initialStyle;if(!s)return;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const a=`${r.offsetWidth}px`,i=`${r.offsetHeight}px`;["x","both"].includes(t)&&(r.style.width="0"),["y","both"].includes(t)&&(r.style.height="0"),r.offsetHeight,r.style.transition=s.transition,e&&r._parent&&r._parent.classList.add(e),requestAnimationFrame(()=>{["x","both"].includes(t)&&(r.style.width=a),["y","both"].includes(t)&&(r.style.height=i)})},onAfterEnter:o,onEnterCancelled:o,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,width:r.style.width,height:r.style.height},r.style.overflow="hidden",["x","both"].includes(t)&&(r.style.width=`${r.offsetWidth}px`),["y","both"].includes(t)&&(r.style.height=`${r.offsetHeight}px`),r.offsetHeight,requestAnimationFrame(()=>{["x","both"].includes(t)&&(r.style.width="0"),["y","both"].includes(t)&&(r.style.height="0")})},onAfterLeave:n,onLeaveCancelled:n};function n(r){e&&r._parent&&r._parent.classList.remove(e),o(r)}function o(r){if(!r._initialStyle)return;const{width:s,height:a}=r._initialStyle;r.style.overflow=r._initialStyle.overflow,s!=null&&["x","both"].includes(t)&&(r.style.width=s),a!=null&&["y","both"].includes(t)&&(r.style.height=a),delete r._initialStyle}}const eD=de({target:[Object,Array]},"v-dialog-transition"),wu=new WeakMap,dm=Ce()({name:"VDialogTransition",props:eD(),setup(e,{slots:t}){const n={onBeforeEnter(o){o.style.pointerEvents="none",o.style.visibility="hidden"},async onEnter(o,r){await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),o.style.visibility="";const s=Vv(e.target,o),{x:a,y:i,sx:l,sy:c,speed:u}=s;if(wu.set(o,s),vs())er(o,[{opacity:0},{}],{duration:125*u,easing:Av}).finished.then(()=>r());else{const d=er(o,[{transform:`translate(${a}px, ${i}px) scale(${l}, ${c})`,opacity:0},{}],{duration:225*u,easing:Av});Dv(o)?.forEach(f=>{er(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*u,easing:Il})}),d.finished.then(()=>r())}},onAfterEnter(o){o.style.removeProperty("pointer-events")},onBeforeLeave(o){o.style.pointerEvents="none"},async onLeave(o,r){await new Promise(d=>requestAnimationFrame(d));let s;!wu.has(o)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?s=Vv(e.target,o):s=wu.get(o);const{x:a,y:i,sx:l,sy:c,speed:u}=s;vs()?er(o,[{},{opacity:0}],{duration:85*u,easing:Tv}).finished.then(()=>r()):(er(o,[{},{transform:`translate(${a}px, ${i}px) scale(${l}, ${c})`,opacity:0}],{duration:125*u,easing:Tv}).finished.then(()=>r()),Dv(o)?.forEach(f=>{er(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*u,easing:Il})}))},onAfterLeave(o){o.style.removeProperty("pointer-events")}};return()=>e.target?x(to,ke({name:"dialog-transition"},n,{css:!1}),t):x(to,{name:"dialog-transition"},t)}});function Dv(e){const t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return t&&[...t]}function Vv(e,t){const n=yE(e),o=em(t),[r,s]=getComputedStyle(t).transformOrigin.split(" ").map(y=>parseFloat(y)),[a,i]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;a==="left"||i==="left"?l-=n.width/2:(a==="right"||i==="right")&&(l+=n.width/2);let c=n.top+n.height/2;a==="top"||i==="top"?c-=n.height/2:(a==="bottom"||i==="bottom")&&(c+=n.height/2);const u=n.width/o.width,d=n.height/o.height,f=Math.max(1,u,d),m=u/f||0,p=d/f||0,h=o.width*o.height/(window.innerWidth*window.innerHeight),v=h>.12?Math.min(1.5,(h-.12)*10+1):1;return{x:l-(r+o.left),y:c-(s+o.top),sx:m,sy:p,speed:v}}On("fab-transition","center center","out-in");On("dialog-bottom-transition");On("dialog-top-transition");const Mv=On("fade-transition"),WJ=On("scale-transition");On("scroll-x-transition");On("scroll-x-reverse-transition");On("scroll-y-transition");On("scroll-y-reverse-transition");On("slide-x-transition");On("slide-x-reverse-transition");const UE=On("slide-y-transition");On("slide-y-reverse-transition");const kc=cm("expand-transition",um()),zE=cm("expand-x-transition",um("","x"));cm("expand-both-transition",um("","both"));function Su(e,t){return{x:e.x+t.x,y:e.y+t.y}}function tD(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bv(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:o}=e,r=o==="left"?0:o==="center"?t.width/2:o==="right"?t.width:o,s=n==="top"?0:n==="bottom"?t.height:n;return Su({x:r,y:s},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:o}=e,r=n==="left"?0:n==="right"?t.width:n,s=o==="top"?0:o==="center"?t.height/2:o==="bottom"?t.height:o;return Su({x:r,y:s},t)}return Su({x:t.width/2,y:t.height/2},t)}const HE={static:rD,connected:aD},nD=de({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in HE},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},"VOverlay-location-strategies");function oD(e,t){const n=U({}),o=U();Vt&&ln(()=>!!(t.isActive.value&&e.locationStrategy),i=>{le(()=>e.locationStrategy,i),Ct(()=>{window.removeEventListener("resize",r),visualViewport?.removeEventListener("resize",s),visualViewport?.removeEventListener("scroll",a),o.value=void 0}),window.addEventListener("resize",r,{passive:!0}),visualViewport?.addEventListener("resize",s,{passive:!0}),visualViewport?.addEventListener("scroll",a,{passive:!0}),typeof e.locationStrategy=="function"?o.value=e.locationStrategy(t,e,n)?.updateLocation:o.value=HE[e.locationStrategy](t,e,n)?.updateLocation});function r(i){o.value?.(i)}function s(i){o.value?.(i)}function a(i){o.value?.(i)}return{contentStyles:n,updateLocation:o}}function rD(){}function sD(e,t){const n=em(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function aD(e,t,n){(Array.isArray(e.target.value)||cL(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:r,preferredOrigin:s}=Qf(()=>{const y=Ld(t.location,e.isRtl.value),k=t.origin==="overlap"?y:t.origin==="auto"?bu(y):Ld(t.origin,e.isRtl.value);return y.side===k.side&&y.align===yu(k).align?{preferredAnchor:pv(y),preferredOrigin:pv(k)}:{preferredAnchor:y,preferredOrigin:k}}),[a,i,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(y=>A(()=>{const k=parseFloat(t[y]);return isNaN(k)?1/0:k})),u=A(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const y=t.offset.split(" ").map(parseFloat);return y.length<2&&y.push(0),y}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1,f=-1;const m=new mE(4),p=new ResizeObserver(()=>{if(!d)return;if(requestAnimationFrame(k=>{k!==f&&m.clear(),requestAnimationFrame(_=>{f=_})}),m.isFull){const k=m.values();if(En(k.at(-1),k.at(-3))&&!En(k.at(-1),k.at(-2)))return}const y=v();y&&m.push(y.flipped)});let h=new kn({x:0,y:0,width:0,height:0});le(e.target,(y,k)=>{k&&!Array.isArray(k)&&p.unobserve(k),Array.isArray(y)?En(y,k)||v():y&&p.observe(y)},{immediate:!0}),le(e.contentEl,(y,k)=>{k&&p.unobserve(k),y&&p.observe(y)},{immediate:!0}),Ct(()=>{p.disconnect()});function v(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(h=yE(e.target.value));const y=sD(e.contentEl.value,e.isRtl.value),k=Rl(e.contentEl.value),_=Number(t.viewportMargin);k.length||(k.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(y.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),y.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const g=k.reduce((V,Y)=>{const H=j$(Y);return V?new kn({x:Math.max(V.left,H.left),y:Math.max(V.top,H.top),width:Math.min(V.right,H.right)-Math.max(V.left,H.left),height:Math.min(V.bottom,H.bottom)-Math.max(V.top,H.top)}):H},void 0);t.stickToTarget?(g.x+=Math.min(_,h.x),g.y+=Math.min(_,h.y),g.width=Math.max(g.width-_*2,h.x+h.width-_),g.height=Math.max(g.height-_*2,h.y+h.height-_)):(g.x+=_,g.y+=_,g.width-=_*2,g.height-=_*2);let b={anchor:r.value,origin:s.value};function S(V){const Y=new kn(y),H=Bv(V.anchor,h),N=Bv(V.origin,Y);let{x:J,y:Q}=tD(H,N);switch(V.anchor.side){case"top":Q-=u.value[0];break;case"bottom":Q+=u.value[0];break;case"left":J-=u.value[0];break;case"right":J+=u.value[0];break}switch(V.anchor.align){case"top":Q-=u.value[1];break;case"bottom":Q+=u.value[1];break;case"left":J-=u.value[1];break;case"right":J+=u.value[1];break}return Y.x+=J,Y.y+=Q,Y.width=Math.min(Y.width,l.value),Y.height=Math.min(Y.height,c.value),{overflows:hv(Y,g),x:J,y:Q}}let E=0,O=0;const R={x:0,y:0},L={x:!1,y:!1};let D=-1;for(;!(D++>10);){const{x:V,y:Y,overflows:H}=S(b);E+=V,O+=Y,y.x+=V,y.y+=Y;{const N=vv(b.anchor),J=H.x.before||H.x.after,Q=H.y.before||H.y.after;let X=!1;if(["x","y"].forEach(F=>{if(F==="x"&&J&&!L.x||F==="y"&&Q&&!L.y){const j={anchor:{...b.anchor},origin:{...b.origin}},W=F==="x"?N==="y"?yu:bu:N==="y"?bu:yu;j.anchor=W(j.anchor),j.origin=W(j.origin);const{overflows:fe}=S(j);(fe[F].before<=H[F].before&&fe[F].after<=H[F].after||fe[F].before+fe[F].after<(H[F].before+H[F].after)/2)&&(b=j,X=L[F]=!0)}}),X)continue}H.x.before&&(E+=H.x.before,y.x+=H.x.before),H.x.after&&(E-=H.x.after,y.x-=H.x.after),H.y.before&&(O+=H.y.before,y.y+=H.y.before),H.y.after&&(O-=H.y.after,y.y-=H.y.after);{const N=hv(y,g);R.x=g.width-N.x.before-N.x.after,R.y=g.height-N.y.before-N.y.after,E+=N.x.before,y.x+=N.x.before,O+=N.y.before,y.y+=N.y.before}break}const I=vv(b.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:Te(xu(O)),left:e.isRtl.value?void 0:Te(xu(E)),right:e.isRtl.value?Te(xu(-E)):void 0,minWidth:Te(I==="y"?Math.min(a.value,h.width):a.value),maxWidth:Te(Nv(An(R.x,a.value===1/0?0:a.value,l.value))),maxHeight:Te(Nv(An(R.y,i.value===1/0?0:i.value,c.value)))}),{available:R,contentBox:y,flipped:L}}return le(()=>[r.value,s.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>v()),Je(()=>{const y=v();if(!y)return;const{available:k,contentBox:_}=y;_.height>k.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}function xu(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Nv(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let jd=!0;const Vl=[];function iD(e){!jd||Vl.length?(Vl.push(e),Ud()):(jd=!1,e(),Ud())}let Fv=-1;function Ud(){cancelAnimationFrame(Fv),Fv=requestAnimationFrame(()=>{const e=Vl.shift();e&&e(),Vl.length?Ud():jd=!0})}const KE={none:null,close:uD,block:dD,reposition:fD},lD=de({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in KE}},"VOverlay-scroll-strategies");function cD(e,t){if(!Vt)return;let n;xt(async()=>{n?.stop(),t.isActive.value&&e.scrollStrategy&&(n=nr(),await new Promise(o=>setTimeout(o)),n.active&&n.run(()=>{typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):KE[e.scrollStrategy]?.(t,e,n)}))}),Ct(()=>{n?.stop()})}function uD(e){function t(n){e.isActive.value=!1}WE(fm(e.target.value,e.contentEl.value),t)}function dD(e,t){const n=e.root.value?.offsetParent,o=fm(e.target.value,e.contentEl.value),r=[...new Set([...Rl(o,t.contained?n:void 0),...Rl(e.contentEl.value,t.contained?n:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),s=window.innerWidth-document.documentElement.offsetWidth,a=(i=>nm(i)&&i)(n||document.documentElement);a&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((i,l)=>{i.style.setProperty("--v-body-scroll-x",Te(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",Te(-i.scrollTop)),(i!==document.documentElement||getComputedStyle(i).overflowY!=="scroll")&&i.style.setProperty("--v-scrollbar-offset",Te(s)),i.classList.add("v-overlay-scroll-blocked")}),Ct(()=>{r.forEach((i,l)=>{const c=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),d=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-c,i.scrollTop=-u,i.style.scrollBehavior=d}),a&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function fD(e,t,n){let o=!1,r=-1,s=-1;function a(i){iD(()=>{const l=performance.now();e.updateLocation.value?.(i),o=(performance.now()-l)/(1e3/60)>2})}s=(typeof requestIdleCallback>"u"?i=>i():requestIdleCallback)(()=>{n.run(()=>{WE(fm(e.target.value,e.contentEl.value),i=>{o?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{a(i)})})):a(i)})})}),Ct(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(s),cancelAnimationFrame(r)})}function fm(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(n=>!t?.contains(n)):e??t}function WE(e,t){const n=[document,...Rl(e)];n.forEach(o=>{o.addEventListener("scroll",t,{passive:!0})}),Ct(()=>{n.forEach(o=>{o.removeEventListener("scroll",t)})})}const zd=Symbol.for("vuetify:v-menu"),qE=de({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function GE(e,t){let n=()=>{};function o(a,i){n?.();const l=a?e.openDelay:e.closeDelay,c=Math.max(i?.minDelay??0,Number(l??0));return new Promise(u=>{n=V$(c,()=>{t?.(a),u(a)})})}function r(){return o(!0)}function s(a){return o(!1,a)}return{clearDelay:n,runOpenDelay:r,runCloseDelay:s}}const mD=de({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...qE()},"VOverlay-activator");function pD(e,{isActive:t,isTop:n,contentEl:o}){const r=At("useActivator"),s=U();let a=!1,i=!1,l=!0;const c=A(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=A(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:d,runCloseDelay:f}=GE(e,E=>{E===(e.openOnHover&&a||c.value&&i)&&!(e.openOnHover&&t.value&&!n.value)&&(t.value!==E&&(l=!0),t.value=E)}),m=U(),p={onClick:E=>{E.stopPropagation(),s.value=E.currentTarget||E.target,t.value||(m.value=[E.clientX,E.clientY]),t.value=!t.value},onMouseenter:E=>{a=!0,s.value=E.currentTarget||E.target,d()},onMouseleave:E=>{a=!1,f()},onFocus:E=>{Tl(E.target,":focus-visible")!==!1&&(i=!0,E.stopPropagation(),s.value=E.currentTarget||E.target,d())},onBlur:E=>{i=!1,E.stopPropagation(),f({minDelay:1})}},h=A(()=>{const E={};return u.value&&(E.onClick=p.onClick),e.openOnHover&&(E.onMouseenter=p.onMouseenter,E.onMouseleave=p.onMouseleave),c.value&&(E.onFocus=p.onFocus,E.onBlur=p.onBlur),E}),v=A(()=>{const E={};if(e.openOnHover&&(E.onMouseenter=()=>{a=!0,d()},E.onMouseleave=()=>{a=!1,f()}),c.value&&(E.onFocusin=O=>{O.target.matches(":focus-visible")&&(i=!0,d())},E.onFocusout=()=>{i=!1,f({minDelay:1})}),e.closeOnContentClick){const O=Ue(zd,null);E.onClick=()=>{t.value=!1,O?.closeParents()}}return E}),y=A(()=>{const E={};return e.openOnHover&&(E.onMouseenter=()=>{l&&(a=!0,l=!1,d())},E.onMouseleave=()=>{a=!1,f()}),E});le(n,E=>{E&&(e.openOnHover&&!a&&(!c.value||!i)||c.value&&!i&&(!e.openOnHover||!a))&&!o.value?.contains(document.activeElement)&&(t.value=!1)}),le(t,E=>{E||setTimeout(()=>{m.value=void 0})},{flush:"post"});const k=$d();xt(()=>{k.value&&Je(()=>{s.value=k.el})});const _=$d(),g=A(()=>e.target==="cursor"&&m.value?m.value:_.value?_.el:YE(e.target,r)||s.value),b=A(()=>Array.isArray(g.value)?void 0:g.value);let S;return le(()=>!!e.activator,E=>{E&&Vt?(S=nr(),S.run(()=>{vD(e,r,{activatorEl:s,activatorEvents:h})})):S&&S.stop()},{flush:"post",immediate:!0}),Ct(()=>{S?.stop()}),{activatorEl:s,activatorRef:k,target:g,targetEl:b,targetRef:_,activatorEvents:h,contentEvents:v,scrimEvents:y}}function vD(e,t,{activatorEl:n,activatorEvents:o}){le(()=>e.activator,(i,l)=>{if(l&&i!==l){const c=a(l);c&&s(c)}i&&Je(()=>r())},{immediate:!0}),le(()=>e.activatorProps,()=>{r()}),Ct(()=>{s()});function r(i=a(),l=e.activatorProps){i&&U$(i,ke(o.value,l))}function s(i=a(),l=e.activatorProps){i&&z$(i,ke(o.value,l))}function a(i=e.activator){const l=YE(i,t);return n.value=l?.nodeType===Node.ELEMENT_NODE?l:void 0,n.value}}function YE(e,t){if(!e)return;let n;if(e==="parent"){let o=t?.proxy?.$el?.parentNode;for(;o?.hasAttribute("data-no-activator");)o=o.parentNode;n=o}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}const JE=de({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},"focusTrap"),el=new Map;let jv=0;function Uv(e){const t=document.activeElement;if(e.key!=="Tab"||!t)return;const n=Array.from(el.values()).filter(({isActive:c,contentEl:u})=>c.value&&u.value?.contains(t)).map(c=>c.contentEl.value);let o,r=t.parentElement;for(;r;){if(n.includes(r)){o=r;break}r=r.parentElement}if(!o)return;const s=tr(o).filter(c=>c.tabIndex>=0);if(!s.length)return;const a=document.activeElement;if(s.length===1&&s[0].classList.contains("v-list")&&s[0].contains(a)){e.preventDefault();return}const i=s[0],l=s[s.length-1];e.shiftKey&&(a===i||i.classList.contains("v-list")&&i.contains(a))&&(e.preventDefault(),l.focus()),!e.shiftKey&&(a===l||l.classList.contains("v-list")&&l.contains(a))&&(e.preventDefault(),i.focus())}function XE(e,{isActive:t,localTop:n,activatorEl:o,contentEl:r}){const s=Symbol("trap");let a=!1,i=-1;async function l(){a=!0,i=window.setTimeout(()=>{a=!1},100)}async function c(f){const m=f.relatedTarget,p=f.target;document.removeEventListener("pointerdown",l),document.removeEventListener("keydown",u),await Je(),t.value&&!a&&m!==p&&r.value&&it(n)&&![document,r.value].includes(p)&&!r.value.contains(p)&&tr(r.value)[0]?.focus()}function u(f){if(f.key==="Tab"&&(document.removeEventListener("keydown",u),t.value&&r.value&&f.target&&!r.value.contains(f.target))){const m=tr(document.documentElement);if(f.shiftKey&&f.target===m.at(0)||!f.shiftKey&&f.target===m.at(-1)){const p=tr(r.value);p.length>0&&(f.preventDefault(),p[0].focus())}}}const d=K(()=>t.value&&e.captureFocus&&!e.disableInitialFocus);Vt&&(le(()=>e.retainFocus,f=>{f?el.set(s,{isActive:t,contentEl:r}):el.delete(s)},{immediate:!0}),le(d,f=>{f?(document.addEventListener("pointerdown",l),document.addEventListener("focusin",c,{once:!0}),document.addEventListener("keydown",u)):(document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",c),document.removeEventListener("keydown",u))},{immediate:!0}),jv++<1&&document.addEventListener("keydown",Uv)),Ct(()=>{el.delete(s),clearTimeout(i),document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",c),document.removeEventListener("keydown",u),--jv<1&&document.removeEventListener("keydown",Uv)})}const qJ=["sm","md","lg","xl","xxl"],hD=Symbol.for("vuetify:display"),ZE=de({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function Cs(e={mobile:null},t=ko()){const n=Ue(hD);if(!n)throw new Error("Could not find Vuetify display injection");const o=A(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.valuet?{[`${t}--mobile`]:o.value}:{});return{...n,displayClasses:r,mobile:o}}function QE(){if(!Vt)return pe(!1);const{ssr:e}=Cs();if(e){const t=pe(!1);return ut(()=>{t.value=!0}),t}else return pe(!0)}const e1=de({eager:Boolean},"lazy");function t1(e,t){const n=pe(!1),o=K(()=>n.value||e.eager||t.value);le(t,()=>n.value=!0);function r(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:o,onAfterLeave:r}}function Ec(){const t=At("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const zv=Symbol.for("vuetify:stack"),Ms=vt([]);function gD(e,t,n){const o=At("useStack"),r=!n,s=Ue(zv,void 0),a=vt({activeChildren:new Set});yt(zv,a);const i=pe(Number(it(t)));ln(e,()=>{const u=Ms.at(-1)?.[1];i.value=u?u+10:Number(it(t)),r&&Ms.push([o.uid,i.value]),s?.activeChildren.add(o.uid),Ct(()=>{if(r){const d=Ve(Ms).findIndex(f=>f[0]===o.uid);Ms.splice(d,1)}s?.activeChildren.delete(o.uid)})});const l=pe(!0);r&&xt(()=>{const u=Ms.at(-1)?.[0]===o.uid;setTimeout(()=>l.value=u)});const c=K(()=>!a.activeChildren.size);return{globalTop:So(l),localTop:c,stackStyles:K(()=>({zIndex:i.value}))}}function bD(e){return{teleportTarget:A(()=>{const n=e();if(n===!0||!Vt)return;const o=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(o==null)return;let r=[...o.children].find(s=>s.matches(".v-overlay-container"));return r||(r=document.createElement("div"),r.className="v-overlay-container",o.appendChild(r)),r})}}function yD(){return!0}function n1(e,t,n){if(!e||o1(e,n)===!1)return!1;const o=wE(t);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const r=(typeof n.value=="object"&&n.value.include||(()=>[]))();return r.push(t),!r.some(s=>s?.contains(e.target))}function o1(e,t){return(typeof t.value=="object"&&t.value.closeConditional||yD)(e)}function _D(e,t,n){const o=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&n1(e,t,n)&&setTimeout(()=>{o1(e,n)&&o&&o(e)},0)}function Hv(e,t){const n=wE(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const Kv={mounted(e,t){const n=r=>_D(r,e,t),o=r=>{e._clickOutside.lastMousedownWasOutside=n1(r,e,t)};Hv(e,r=>{r.addEventListener("click",n,!0),r.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:o}},beforeUnmount(e,t){e._clickOutside&&(Hv(e,n=>{if(!n||!e._clickOutside?.[t.instance.$.uid])return;const{onClick:o,onMousedown:r}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",o,!0),n.removeEventListener("mousedown",r,!0)}),delete e._clickOutside[t.instance.$.uid])}};function wD(e){const{modelValue:t,color:n,...o}=e;return x(to,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&w("div",ke({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const mm=de({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...mD(),...Ne(),...vn(),...e1(),...nD(),...lD(),...JE(),...mt(),...Es()},"VOverlay"),Ml=Ce()({name:"VOverlay",directives:{vClickOutside:Kv},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...pn(mm(),["disableInitialFocus"])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,{slots:t,attrs:n,emit:o}){const r=At("VOverlay"),s=U(),a=U(),i=U(),l=ht(e,"modelValue"),c=A({get:()=>l.value,set:Oe=>{Oe&&e.disabled||(l.value=Oe)}}),{themeClasses:u}=Tt(e),{rtlClasses:d,isRtl:f}=ao(),{hasContent:m,onAfterLeave:p}=t1(e,c),h=Dt(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:v,localTop:y,stackStyles:k}=gD(c,()=>e.zIndex,e._disableGlobalStack),{activatorEl:_,activatorRef:g,target:b,targetEl:S,targetRef:E,activatorEvents:O,contentEvents:R,scrimEvents:L}=pD(e,{isActive:c,isTop:y,contentEl:i}),{teleportTarget:D}=bD(()=>{const Oe=e.attach||e.contained;if(Oe)return Oe;const ne=_?.value?.getRootNode()||r.proxy?.$el?.getRootNode();return ne instanceof ShadowRoot?ne:!1}),{dimensionStyles:I}=hn(e),V=QE(),{scopeId:Y}=Ec();le(()=>e.disabled,Oe=>{Oe&&(c.value=!1)});const{contentStyles:H,updateLocation:N}=oD(e,{isRtl:f,contentEl:i,target:b,isActive:c});cD(e,{root:s,contentEl:i,targetEl:S,target:b,isActive:c,updateLocation:N});function J(Oe){o("click:outside",Oe),e.persistent?fe():c.value=!1}function Q(Oe){return c.value&&y.value&&(!e.scrim||Oe.target===a.value||Oe instanceof MouseEvent&&Oe.shadowTarget===a.value)}XE(e,{isActive:c,localTop:y,contentEl:i,activatorEl:_}),Vt&&le(c,Oe=>{Oe?window.addEventListener("keydown",X):window.removeEventListener("keydown",X)},{immediate:!0}),gt(()=>{Vt&&window.removeEventListener("keydown",X)});function X(Oe){Oe.key==="Escape"&&v.value&&(i.value?.contains(document.activeElement)||o("keydown",Oe),e.persistent?fe():(c.value=!1,i.value?.contains(document.activeElement)&&_.value?.focus()))}function F(Oe){Oe.key==="Escape"&&!v.value||o("keydown",Oe)}const j=PE();ln(()=>e.closeOnBack,()=>{OL(j,()=>{if(v.value&&c.value)return e.persistent?fe():c.value=!1,!1})});const W=U();le(()=>c.value&&(e.absolute||e.contained)&&D.value==null,Oe=>{if(Oe){const ne=SE(s.value);ne&&ne!==document.scrollingElement&&(W.value=ne.scrollTop)}});function fe(){e.noClickAnimation||i.value&&er(i.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Il})}function Me(){o("afterEnter")}function Ke(){p(),o("afterLeave")}return De(()=>w(xe,null,[t.activator?.({isActive:c.value,targetRef:E,props:ke({ref:g},O.value,e.activatorProps)}),V.value&&m.value&&x(mP,{disabled:!D.value,to:D.value},{default:()=>[w("div",ke({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":c.value,"v-overlay--contained":e.contained},u.value,d.value,e.class],style:[k.value,{"--v-overlay-opacity":e.opacity,top:Te(W.value)},e.style],ref:s,onKeydown:F},Y,n),[x(wD,ke({color:h,modelValue:c.value&&!!e.scrim,ref:a},L.value),null),x(Vo,{appear:!0,persisted:!0,transition:e.transition,target:b.value,onAfterEnter:Me,onAfterLeave:Ke},{default:()=>[St(w("div",ke({ref:i,class:["v-overlay__content",e.contentClass],style:[I.value,H.value]},R.value,e.contentProps),[t.default?.({isActive:c})]),[[ro,c.value],[Kv,{handler:J,closeConditional:Q,include:()=>[_.value]}]])]})])]})])),{activatorEl:_,scrimEl:a,target:b,animateClick:fe,contentEl:i,rootEl:s,globalTop:v,localTop:y,updateLocation:N}}}),ku=Symbol("Forwarded refs");function Eu(e,t){let n=e;for(;n;){const o=Reflect.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function ei(e,...t){return e[ku]=t,new Proxy(e,{get(n,o){if(Reflect.has(n,o))return Reflect.get(n,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,o)){const s=Reflect.get(r.value,o);return typeof s=="function"?s.bind(r.value):s}}},has(n,o){if(Reflect.has(n,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,o))return!0;return!1},set(n,o,r){if(Reflect.has(n,o))return Reflect.set(n,o,r);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const s of t)if(s.value&&Reflect.has(s.value,o))return Reflect.set(s.value,o,r);return!1},getOwnPropertyDescriptor(n,o){const r=Reflect.getOwnPropertyDescriptor(n,o);if(r)return r;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const s of t){if(!s.value)continue;const a=Eu(s.value,o)??("_"in s.value?Eu(s.value._?.setupState,o):void 0);if(a)return a}for(const s of t){const a=s.value&&s.value[ku];if(!a)continue;const i=a.slice();for(;i.length;){const l=i.shift(),c=Eu(l.value,o);if(c)return c;const u=l.value&&l.value[ku];u&&i.push(...u)}}}}})}const SD=de({fullscreen:Boolean,scrollable:Boolean,...pn(mm({captureFocus:!0,origin:"center center",scrollStrategy:"block",transition:{component:dm},zIndex:2400,retainFocus:!0}),["disableInitialFocus"])},"VDialog"),xD=Ce()({name:"VDialog",props:SD(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,slots:n}){const o=ht(e,"modelValue"),{scopeId:r}=Ec(),s=U();function a(){t("afterEnter"),(e.scrim||e.retainFocus)&&s.value?.contentEl&&!s.value.contentEl.contains(document.activeElement)&&s.value.contentEl.focus({preventScroll:!0})}function i(){t("afterLeave")}return le(o,async l=>{l||(await Je(),s.value.activatorEl?.focus({preventScroll:!0}))}),De(()=>{const l=Ml.filterProps(e),c=ke({"aria-haspopup":"dialog"},e.activatorProps),u=ke({tabindex:-1},e.contentProps);return x(Ml,ke({ref:s,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:o.value,"onUpdate:modelValue":d=>o.value=d,"aria-modal":"true",activatorProps:c,contentProps:u,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:a,onAfterLeave:i},r),{activator:n.activator,default:(...d)=>x(lt,{root:"VDialog"},{default:()=>[n.default?.(...d)]})})}),ei({},s)}}),kD=yc("v-spacer","div","VSpacer"),ED=["aria-label"],CD={key:0,class:"app-modal__banner-skeleton","aria-hidden":"true"},AD=["src","alt"],TD=2400,Wv="var(--app-modal-gutter, 48px)",PD="var(--app-modal-viewport-height, 100vh)",ID=Ae({__name:"Index",props:{name:{},width:{default:500},maxWidth:{},minWidth:{},maxHeight:{},minHeight:{},rounded:{default:"lg"},closable:{type:Boolean,default:!0},persistent:{type:Boolean,default:!1},title:{},bannerUrl:{},bannerEndpoint:{},padding:{default:"default"},scrim:{default:"rgba(0, 0, 0, 0.8)"},scrimOpacity:{default:1}},emits:["close","open"],setup(e,{emit:t}){function n(I){return typeof I=="number"?`${I}px`:I}const o=e,r=t,s=Vy(),a=Ge(),i=A(()=>a.modals.find(I=>I.name===o.name)),l=A(()=>a.modals.findIndex(I=>I.name===o.name)),c=A(()=>i.value?.zIndex??TD+l.value*10),u=A({get:()=>!!i.value,set:I=>{I||d()}});function d(){o.closable&&(r("close"),a.closeModal(o.name))}function f(){o.closable&&!o.persistent&&d()}function m(){o.bannerEndpoint&&(h.value=null,v.value=null)}const p=U(!1),h=U(null),v=U(null);async function y(){if(o.bannerEndpoint){p.value=!0;try{const I=await fetch(o.bannerEndpoint);if(!I.ok)return;const V=await I.json();h.value=V.bannerUrl??null,v.value=V.title??null}catch{}finally{p.value=!1}}}le(u,I=>{I&&(r("open"),o.bannerEndpoint&&h.value===null&&y())},{immediate:!0});const k=A(()=>h.value??o.bannerUrl??null),_=U(!1);le(k,I=>{_.value=!!I});const g=A(()=>v.value??o.title??null),b=A(()=>!!s.header||!!g.value),S=A(()=>!!(k.value||p.value)),E=A(()=>o.closable&&!b.value&&!S.value),O=A(()=>({"app-modal__body--padding-default":o.padding==="default","app-modal__body--padding-compact":o.padding==="compact","app-modal__body--padding-none":o.padding==="none"})),R=A(()=>o.maxWidth!==void 0?o.maxWidth:`min(${n(o.width)}, calc(100vw - ${Wv}))`),L=A(()=>o.maxHeight!==void 0?o.maxHeight:`calc(${PD} - ${Wv})`),D=A(()=>{const I={};return o.minWidth!==void 0&&(I.minWidth=n(o.minWidth)),o.minHeight!==void 0&&(I.minHeight=n(o.minHeight)),Object.keys(I).length?I:void 0});return(I,V)=>(B(),ge(xD,{modelValue:u.value,"onUpdate:modelValue":V[2]||(V[2]=Y=>u.value=Y),width:e.width,"max-width":R.value,"max-height":L.value,"content-class":"app-modal-overlay",persistent:!e.closable||e.persistent,"z-index":c.value,scrim:e.scrim,"scrim-opacity":e.scrimOpacity,scrollable:"",onKeydown:pc(f,["esc"]),onAfterLeave:m},{default:q(()=>[x(jE,{class:"app-modal",rounded:e.rounded,style:Ee(D.value)},{default:q(()=>[k.value||p.value?(B(),oe("div",{key:0,class:te(["app-modal__banner",{"app-modal__banner--skeleton":p.value||_.value}]),role:"img","aria-label":g.value??void 0},[p.value||_.value?(B(),oe("div",CD)):he("",!0),k.value?(B(),oe("img",{key:1,src:k.value,class:te(["app-modal__banner-img",{"app-modal__banner-img--hidden":_.value}]),alt:g.value??"",draggable:"false",onLoad:V[0]||(V[0]=Y=>_.value=!1),onError:V[1]||(V[1]=Y=>_.value=!1)},null,42,AD)):he("",!0)],10,ED)):he("",!0),e.closable?(B(),ge(He,{key:1,class:te(["app-modal__close",{"app-modal__close--over-banner":k.value}]),icon:"",variant:"tonal",size:"x-small",density:"comfortable","aria-label":C(T)("common.close"),onClick:d},{default:q(()=>[x(_e,{icon:"fa6-solid:xmark",size:"14"})]),_:1},8,["class","aria-label"])):he("",!0),b.value?(B(),ge(BE,{key:2,class:te(["app-modal__title",{"app-modal__title--centered":k.value}])},{default:q(()=>[Nn(I.$slots,"header",{title:g.value},()=>[ye(z(g.value),1)],!0)]),_:3},8,["class"])):he("",!0),x(FE,{class:te(["app-modal__body",[O.value,{"app-modal__body--with-floating-close":E.value}]])},{default:q(()=>[Nn(I.$slots,"default",{},void 0,!0)]),_:3},8,["class"]),I.$slots.footer||I.$slots.actions?(B(),oe(xe,{key:3},[Nn(I.$slots,"footer",{},void 0,!0),I.$slots.actions?(B(),ge(ME,{key:0,class:"app-modal__actions"},{default:q(()=>[x(kD),Nn(I.$slots,"actions",{},void 0,!0)]),_:3})):he("",!0)],64)):he("",!0)]),_:3},8,["rounded","style"])]),_:3},8,["modelValue","width","max-width","max-height","persistent","z-index","scrim","scrim-opacity"]))}}),Qe=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Eo=Qe(ID,[["__scopeId","data-v-7e7e5c18"]]);function r1(e,t){return function(){return e.apply(t,arguments)}}const{toString:RD}=Object.prototype,{getPrototypeOf:pm}=Object,{iterator:Cc,toStringTag:s1}=Symbol,Ac=(e=>t=>{const n=RD.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),io=e=>(e=e.toLowerCase(),t=>Ac(t)===e),Tc=e=>t=>typeof t===e,{isArray:As}=Array,hs=Tc("undefined");function ti(e){return e!==null&&!hs(e)&&e.constructor!==null&&!hs(e.constructor)&&cn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const a1=io("ArrayBuffer");function OD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&a1(e.buffer),t}const $D=Tc("string"),cn=Tc("function"),i1=Tc("number"),ni=e=>e!==null&&typeof e=="object",LD=e=>e===!0||e===!1,tl=e=>{if(Ac(e)!=="object")return!1;const t=pm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(s1 in e)&&!(Cc in e)},DD=e=>{if(!ni(e)||ti(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},VD=io("Date"),MD=io("File"),BD=e=>!!(e&&typeof e.uri<"u"),ND=e=>e&&typeof e.getParts<"u",FD=io("Blob"),jD=io("FileList"),UD=e=>ni(e)&&cn(e.pipe);function zD(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const qv=zD(),Gv=typeof qv.FormData<"u"?qv.FormData:void 0,HD=e=>{let t;return e&&(Gv&&e instanceof Gv||cn(e.append)&&((t=Ac(e))==="formdata"||t==="object"&&cn(e.toString)&&e.toString()==="[object FormData]"))},KD=io("URLSearchParams"),[WD,qD,GD,YD]=["ReadableStream","Request","Response","Headers"].map(io),JD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function oi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),As(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,c1=e=>!hs(e)&&e!==pr;function Hd(){const{caseless:e,skipUndefined:t}=c1(this)&&this||{},n={},o=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&l1(n,s)||s;tl(n[a])&&tl(r)?n[a]=Hd(n[a],r):tl(r)?n[a]=Hd({},r):As(r)?n[a]=r.slice():(!t||!hs(r))&&(n[a]=r)};for(let r=0,s=arguments.length;r(oi(t,(r,s)=>{n&&cn(r)?Object.defineProperty(e,s,{value:r1(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),ZD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),QD=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},eV=(e,t,n,o)=>{let r,s,a;const i={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)a=r[s],(!o||o(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&pm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},tV=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},nV=e=>{if(!e)return null;if(As(e))return e;let t=e.length;if(!i1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},oV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pm(Uint8Array)),rV=(e,t)=>{const o=(e&&e[Cc]).call(e);let r;for(;(r=o.next())&&!r.done;){const s=r.value;t.call(e,s[0],s[1])}},sV=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},aV=io("HTMLFormElement"),iV=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Yv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),lV=io("RegExp"),u1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};oi(n,(r,s)=>{let a;(a=t(r,s,e))!==!1&&(o[s]=a||r)}),Object.defineProperties(e,o)},cV=e=>{u1(e,(t,n)=>{if(cn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(cn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},uV=(e,t)=>{const n={},o=r=>{r.forEach(s=>{n[s]=!0})};return As(e)?o(e):o(String(e).split(t)),n},dV=()=>{},fV=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function mV(e){return!!(e&&cn(e.append)&&e[s1]==="FormData"&&e[Cc])}const pV=e=>{const t=new Array(10),n=(o,r)=>{if(ni(o)){if(t.indexOf(o)>=0)return;if(ti(o))return o;if(!("toJSON"in o)){t[r]=o;const s=As(o)?[]:{};return oi(o,(a,i)=>{const l=n(a,r+1);!hs(l)&&(s[i]=l)}),t[r]=void 0,s}}return o};return n(e,0)},vV=io("AsyncFunction"),hV=e=>e&&(ni(e)||cn(e))&&cn(e.then)&&cn(e.catch),d1=((e,t)=>e?setImmediate:t?((n,o)=>(pr.addEventListener("message",({source:r,data:s})=>{r===pr&&s===n&&o.length&&o.shift()()},!1),r=>{o.push(r),pr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",cn(pr.postMessage)),gV=typeof queueMicrotask<"u"?queueMicrotask.bind(pr):typeof process<"u"&&process.nextTick||d1,bV=e=>e!=null&&cn(e[Cc]),Z={isArray:As,isArrayBuffer:a1,isBuffer:ti,isFormData:HD,isArrayBufferView:OD,isString:$D,isNumber:i1,isBoolean:LD,isObject:ni,isPlainObject:tl,isEmptyObject:DD,isReadableStream:WD,isRequest:qD,isResponse:GD,isHeaders:YD,isUndefined:hs,isDate:VD,isFile:MD,isReactNativeBlob:BD,isReactNative:ND,isBlob:FD,isRegExp:lV,isFunction:cn,isStream:UD,isURLSearchParams:KD,isTypedArray:oV,isFileList:jD,forEach:oi,merge:Hd,extend:XD,trim:JD,stripBOM:ZD,inherits:QD,toFlatObject:eV,kindOf:Ac,kindOfTest:io,endsWith:tV,toArray:nV,forEachEntry:rV,matchAll:sV,isHTMLForm:aV,hasOwnProperty:Yv,hasOwnProp:Yv,reduceDescriptors:u1,freezeMethods:cV,toObjectSet:uV,toCamelCase:iV,noop:dV,toFiniteNumber:fV,findKey:l1,global:pr,isContextDefined:c1,isSpecCompliantForm:mV,toJSONObject:pV,isAsyncFn:vV,isThenable:hV,setImmediate:d1,asap:gV,isIterable:bV};let Fe=class f1 extends Error{static from(t,n,o,r,s,a){const i=new f1(t.message,n||t.code,o,r,s);return i.cause=t,i.name=t.name,t.status!=null&&i.status==null&&(i.status=t.status),a&&Object.assign(i,a),i}constructor(t,n,o,r,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),o&&(this.config=o),r&&(this.request=r),s&&(this.response=s,this.status=s.status)}toJSON(){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:Z.toJSONObject(this.config),code:this.code,status:this.status}}};Fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Fe.ERR_BAD_OPTION="ERR_BAD_OPTION";Fe.ECONNABORTED="ECONNABORTED";Fe.ETIMEDOUT="ETIMEDOUT";Fe.ERR_NETWORK="ERR_NETWORK";Fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Fe.ERR_DEPRECATED="ERR_DEPRECATED";Fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Fe.ERR_CANCELED="ERR_CANCELED";Fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Fe.ERR_INVALID_URL="ERR_INVALID_URL";const yV=null;function Kd(e){return Z.isPlainObject(e)||Z.isArray(e)}function m1(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function Cu(e,t,n){return e?e.concat(t).map(function(r,s){return r=m1(r),!n&&s?"["+r+"]":r}).join(n?".":""):t}function _V(e){return Z.isArray(e)&&!e.some(Kd)}const wV=Z.toFlatObject(Z,{},null,function(t){return/^is[A-Z]/.test(t)});function Pc(e,t,n){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!Z.isUndefined(v[h])});const o=n.metaTokens,r=n.visitor||u,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(r))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(Z.isDate(p))return p.toISOString();if(Z.isBoolean(p))return p.toString();if(!l&&Z.isBlob(p))throw new Fe("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(p)||Z.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,h,v){let y=p;if(Z.isReactNative(t)&&Z.isReactNativeBlob(p))return t.append(Cu(v,h,s),c(p)),!1;if(p&&!v&&typeof p=="object"){if(Z.endsWith(h,"{}"))h=o?h:h.slice(0,-2),p=JSON.stringify(p);else if(Z.isArray(p)&&_V(p)||(Z.isFileList(p)||Z.endsWith(h,"[]"))&&(y=Z.toArray(p)))return h=m1(h),y.forEach(function(_,g){!(Z.isUndefined(_)||_===null)&&t.append(a===!0?Cu([h],g,s):a===null?h:h+"[]",c(_))}),!1}return Kd(p)?!0:(t.append(Cu(v,h,s),c(p)),!1)}const d=[],f=Object.assign(wV,{defaultVisitor:u,convertValue:c,isVisitable:Kd});function m(p,h){if(!Z.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(p),Z.forEach(p,function(y,k){(!(Z.isUndefined(y)||y===null)&&r.call(t,y,Z.isString(k)?k.trim():k,h,f))===!0&&m(y,h?h.concat(k):[k])}),d.pop()}}if(!Z.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Jv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function vm(e,t){this._pairs=[],e&&Pc(e,this,t)}const p1=vm.prototype;p1.append=function(t,n){this._pairs.push([t,n])};p1.toString=function(t){const n=t?function(o){return t.call(this,o,Jv)}:Jv;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function SV(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function v1(e,t,n){if(!t)return e;const o=n&&n.encode||SV,r=Z.isFunction(n)?{serialize:n}:n,s=r&&r.serialize;let a;if(s?a=s(t,r):a=Z.isURLSearchParams(t)?t.toString():new vm(t,r).toString(o),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}let Xv=class{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Z.forEach(this.handlers,function(o){o!==null&&t(o)})}};const hm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},xV=typeof URLSearchParams<"u"?URLSearchParams:vm,kV=typeof FormData<"u"?FormData:null,EV=typeof Blob<"u"?Blob:null,CV={isBrowser:!0,classes:{URLSearchParams:xV,FormData:kV,Blob:EV},protocols:["http","https","file","blob","url","data"]},gm=typeof window<"u"&&typeof document<"u",Wd=typeof navigator=="object"&&navigator||void 0,AV=gm&&(!Wd||["ReactNative","NativeScript","NS"].indexOf(Wd.product)<0),TV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PV=gm&&window.location.href||"http://localhost",IV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gm,hasStandardBrowserEnv:AV,hasStandardBrowserWebWorkerEnv:TV,navigator:Wd,origin:PV},Symbol.toStringTag,{value:"Module"})),Gt={...IV,...CV};function RV(e,t){return Pc(e,new Gt.classes.URLSearchParams,{visitor:function(n,o,r,s){return Gt.isNode&&Z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function OV(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $V(e){const t={},n=Object.keys(e);let o;const r=n.length;let s;for(o=0;o=n.length;return a=!a&&Z.isArray(r)?r.length:a,l?(Z.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!i):((!r[a]||!Z.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],s)&&Z.isArray(r[a])&&(r[a]=$V(r[a])),!i)}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const n={};return Z.forEachEntry(e,(o,r)=>{t(OV(o),r,n,0)}),n}return null}function LV(e,t,n){if(Z.isString(e))try{return(t||JSON.parse)(e),Z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const ri={transitional:hm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,s=Z.isObject(t);if(s&&Z.isHTMLForm(t)&&(t=new FormData(t)),Z.isFormData(t))return r?JSON.stringify(h1(t)):t;if(Z.isArrayBuffer(t)||Z.isBuffer(t)||Z.isStream(t)||Z.isFile(t)||Z.isBlob(t)||Z.isReadableStream(t))return t;if(Z.isArrayBufferView(t))return t.buffer;if(Z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return RV(t,this.formSerializer).toString();if((i=Z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Pc(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||r?(n.setContentType("application/json",!1),LV(t)):t}],transformResponse:[function(t){const n=this.transitional||ri.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(Z.isResponse(t)||Z.isReadableStream(t))return t;if(t&&Z.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(i){if(a)throw i.name==="SyntaxError"?Fe.from(i,Fe.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{ri.headers[e]={}});const DV=Z.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"]),VV=e=>{const t={};let n,o,r;return e&&e.split(` `).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&DV[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Zv=Symbol("internals");function Bs(e){return e&&String(e).trim().toLowerCase()}function nl(e){return e===!1||e==null?e:Z.isArray(e)?e.map(nl):String(e)}function MV(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const BV=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Au(e,t,n,o,r){if(Z.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Z.isString(t)){if(Z.isString(o))return t.indexOf(o)!==-1;if(Z.isRegExp(o))return o.test(t)}}function NV(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function FV(e,t){const n=Z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,s,a){return this[o].call(this,t,r,s,a)},configurable:!0})})}let un=class{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function s(i,l,c){const u=Bs(l);if(!u)throw new Error("header name must be a non-empty string");const d=Z.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=nl(i))}const a=(i,l)=>Z.forEach(i,(c,u)=>s(c,u,l));if(Z.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Z.isString(t)&&(t=t.trim())&&!BV(t))a(VV(t),n);else if(Z.isObject(t)&&Z.isIterable(t)){let i={},l,c;for(const u of t){if(!Z.isArray(u))throw TypeError("Object iterator must return a key-value pair");i[c=u[0]]=(l=i[c])?Z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}a(i,n)}else t!=null&&s(n,t,o);return this}get(t,n){if(t=Bs(t),t){const o=Z.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return MV(r);if(Z.isFunction(n))return n.call(this,r,o);if(Z.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bs(t),t){const o=Z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Au(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function s(a){if(a=Bs(a),a){const i=Z.findKey(o,a);i&&(!n||Au(o,o[i],i,n))&&(delete o[i],r=!0)}}return Z.isArray(t)?t.forEach(s):s(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const s=n[o];(!t||Au(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const n=this,o={};return Z.forEach(this,(r,s)=>{const a=Z.findKey(o,s);if(a){n[a]=nl(r),delete n[s];return}const i=t?NV(s):String(s).trim();i!==s&&delete n[s],n[i]=nl(r),o[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Z.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[Zv]=this[Zv]={accessors:{}}).accessors,r=this.prototype;function s(a){const i=Bs(a);o[i]||(FV(r,a),o[i]=!0)}return Z.isArray(t)?t.forEach(s):s(t),this}};un.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.reduceDescriptors(un.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Z.freezeMethods(un);function Tu(e,t){const n=this||ri,o=t||n,r=un.from(o.headers);let s=o.data;return Z.forEach(e,function(i){s=i.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function g1(e){return!!(e&&e.__CANCEL__)}let si=class extends Fe{constructor(t,n,o){super(t??"canceled",Fe.ERR_CANCELED,n,o),this.name="CanceledError",this.__CANCEL__=!0}};function b1(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function jV(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function UV(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[s];a||(a=c),n[r]=l,o[r]=c;let d=s,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),c-a{n=u,r=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?a(c,u):(r=c,s||(s=setTimeout(()=>{s=null,a(r)},o-d)))},()=>r&&a(r)]}const Bl=(e,t,n=3)=>{let o=0;const r=UV(50,250);return zV(s=>{const a=s.loaded,i=s.lengthComputable?s.total:void 0,l=a-o,c=r(l),u=a<=i;o=a;const d={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&u?(i-a)/c:void 0,event:s,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(d)},n)},Qv=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},eh=e=>(...t)=>Z.asap(()=>e(...t)),HV=Gt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Gt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Gt.origin),Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent)):()=>!0,KV=Gt.hasStandardBrowserEnv?{write(e,t,n,o,r,s,a){if(typeof document>"u")return;const i=[`${e}=${encodeURIComponent(t)}`];Z.isNumber(n)&&i.push(`expires=${new Date(n).toUTCString()}`),Z.isString(o)&&i.push(`path=${o}`),Z.isString(r)&&i.push(`domain=${r}`),s===!0&&i.push("secure"),Z.isString(a)&&i.push(`SameSite=${a}`),document.cookie=i.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function WV(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qV(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function y1(e,t,n){let o=!WV(t);return e&&(o||n==!1)?qV(e,t):t}const th=e=>e instanceof un?{...e}:e;function Tr(e,t){t=t||{};const n={};function o(c,u,d,f){return Z.isPlainObject(c)&&Z.isPlainObject(u)?Z.merge.call({caseless:f},c,u):Z.isPlainObject(u)?Z.merge({},u):Z.isArray(u)?u.slice():u}function r(c,u,d,f){if(Z.isUndefined(u)){if(!Z.isUndefined(c))return o(void 0,c,d,f)}else return o(c,u,d,f)}function s(c,u){if(!Z.isUndefined(u))return o(void 0,u)}function a(c,u){if(Z.isUndefined(u)){if(!Z.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function i(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={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,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,u,d)=>r(th(c),th(u),d,!0)};return Z.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=Z.hasOwnProp(l,u)?l[u]:r,f=d(e[u],t[u],u);Z.isUndefined(f)&&d!==i||(n[u]=f)}),n}const _1=e=>{const t=Tr({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:s,headers:a,auth:i}=t;if(t.headers=a=un.from(a),t.url=v1(y1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),i&&a.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):""))),Z.isFormData(n)){if(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Z.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&a.set(u,d)})}}if(Gt.hasStandardBrowserEnv&&(o&&Z.isFunction(o)&&(o=o(t)),o||o!==!1&&HV(t.url))){const l=r&&s&&KV.read(s);l&&a.set(r,l)}return t},GV=typeof XMLHttpRequest<"u",YV=GV&&function(e){return new Promise(function(n,o){const r=_1(e);let s=r.data;const a=un.from(r.headers).normalize();let{responseType:i,onUploadProgress:l,onDownloadProgress:c}=r,u,d,f,m,p;function h(){m&&m(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function y(){if(!v)return;const _=un.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:_,config:e,request:v};b1(function(E){n(E),h()},function(E){o(E),h()},b),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(o(new Fe("Request aborted",Fe.ECONNABORTED,e,v)),v=null)},v.onerror=function(g){const b=g&&g.message?g.message:"Network Error",S=new Fe(b,Fe.ERR_NETWORK,e,v);S.event=g||null,o(S),v=null},v.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||hm;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),o(new Fe(g,b.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,e,v)),v=null},s===void 0&&a.setContentType(null),"setRequestHeader"in v&&Z.forEach(a.toJSON(),function(g,b){v.setRequestHeader(b,g)}),Z.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),i&&i!=="json"&&(v.responseType=r.responseType),c&&([f,p]=Bl(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,m]=Bl(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(u=_=>{v&&(o(!_||_.type?new si(null,e,v):_),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const k=jV(r.url);if(k&&Gt.protocols.indexOf(k)===-1){o(new Fe("Unsupported protocol "+k+":",Fe.ERR_BAD_REQUEST,e));return}v.send(s||null)})},JV=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,r;const s=function(c){if(!r){r=!0,i();const u=c instanceof Error?c:this.reason;o.abort(u instanceof Fe?u:new si(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,s(new Fe(`timeout of ${t}ms exceeded`,Fe.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=o;return l.unsubscribe=()=>Z.asap(i),l}},XV=function*(e,t){let n=e.byteLength;if(n{const r=ZV(e,t);let s=0,a,i=l=>{a||(a=!0,o&&o(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await r.next();if(c){i(),l.close();return}let d=u.byteLength;if(n){let f=s+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw i(c),c}},cancel(l){return i(l),r.return()}},{highWaterMark:2})},oh=64*1024,{isFunction:Ai}=Z,eM=(({Request:e,Response:t})=>({Request:e,Response:t}))(Z.global),{ReadableStream:rh,TextEncoder:sh}=Z.global,ah=(e,...t)=>{try{return!!e(...t)}catch{return!1}},tM=e=>{e=Z.merge.call({skipUndefined:!0},eM,e);const{fetch:t,Request:n,Response:o}=e,r=t?Ai(t):typeof fetch=="function",s=Ai(n),a=Ai(o);if(!r)return!1;const i=r&&Ai(rh),l=r&&(typeof sh=="function"?(p=>h=>p.encode(h))(new sh):async p=>new Uint8Array(await new n(p).arrayBuffer())),c=s&&i&&ah(()=>{let p=!1;const h=new n(Gt.origin,{body:new rh,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!h}),u=a&&i&&ah(()=>Z.isReadableStream(new o("").body)),d={stream:u&&(p=>p.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!d[p]&&(d[p]=(h,v)=>{let y=h&&h[p];if(y)return y.call(h);throw new Fe(`Response type '${p}' is not supported`,Fe.ERR_NOT_SUPPORT,v)})});const f=async p=>{if(p==null)return 0;if(Z.isBlob(p))return p.size;if(Z.isSpecCompliantForm(p))return(await new n(Gt.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(p)||Z.isArrayBuffer(p))return p.byteLength;if(Z.isURLSearchParams(p)&&(p=p+""),Z.isString(p))return(await l(p)).byteLength},m=async(p,h)=>{const v=Z.toFiniteNumber(p.getContentLength());return v??f(h)};return async p=>{let{url:h,method:v,data:y,signal:k,cancelToken:_,timeout:g,onDownloadProgress:b,onUploadProgress:S,responseType:E,headers:O,withCredentials:R="same-origin",fetchOptions:L}=_1(p),D=t||fetch;E=E?(E+"").toLowerCase():"text";let I=JV([k,_&&_.toAbortSignal()],g),V=null;const Y=I&&I.unsubscribe&&(()=>{I.unsubscribe()});let H;try{if(S&&c&&v!=="get"&&v!=="head"&&(H=await m(O,y))!==0){let j=new n(h,{method:"POST",body:y,duplex:"half"}),W;if(Z.isFormData(y)&&(W=j.headers.get("content-type"))&&O.setContentType(W),j.body){const[fe,Me]=Qv(H,Bl(eh(S)));y=nh(j.body,oh,fe,Me)}}Z.isString(R)||(R=R?"include":"omit");const N=s&&"credentials"in n.prototype,J={...L,signal:I,method:v.toUpperCase(),headers:O.normalize().toJSON(),body:y,duplex:"half",credentials:N?R:void 0};V=s&&new n(h,J);let Q=await(s?D(V,L):D(h,J));const X=u&&(E==="stream"||E==="response");if(u&&(b||X&&Y)){const j={};["status","statusText","headers"].forEach(Ke=>{j[Ke]=Q[Ke]});const W=Z.toFiniteNumber(Q.headers.get("content-length")),[fe,Me]=b&&Qv(W,Bl(eh(b),!0))||[];Q=new o(nh(Q.body,oh,fe,()=>{Me&&Me(),Y&&Y()}),j)}E=E||"text";let F=await d[Z.findKey(d,E)||"text"](Q,p);return!X&&Y&&Y(),await new Promise((j,W)=>{b1(j,W,{data:F,headers:un.from(Q.headers),status:Q.status,statusText:Q.statusText,config:p,request:V})})}catch(N){throw Y&&Y(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new Fe("Network Error",Fe.ERR_NETWORK,p,V,N&&N.response),{cause:N.cause||N}):Fe.from(N,N&&N.code,p,V,N&&N.response)}}},nM=new Map,w1=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t,s=[o,r,n];let a=s.length,i=a,l,c,u=nM;for(;i--;)l=s[i],c=u.get(l),c===void 0&&u.set(l,c=i?new Map:tM(t)),u=c;return c};w1();const bm={http:yV,xhr:YV,fetch:{get:w1}};Z.forEach(bm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ih=e=>`- ${e}`,oM=e=>Z.isFunction(e)||e===null||e===!1;function rM(e,t){e=Z.isArray(e)?e:[e];const{length:n}=e;let o,r;const s={};for(let a=0;a`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=n?a.length>1?`since : `+a.map(ih).join(` `):" "+ih(a[0]):"as no adapter specified";throw new Fe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r}const S1={getAdapter:rM,adapters:bm};function Pu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new si(null,e)}function lh(e){return Pu(e),e.headers=un.from(e.headers),e.data=Tu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),S1.getAdapter(e.adapter||ri.adapter,e)(e).then(function(o){return Pu(e),o.data=Tu.call(e,e.transformResponse,o),o.headers=un.from(o.headers),o},function(o){return g1(o)||(Pu(e),o&&o.response&&(o.response.data=Tu.call(e,e.transformResponse,o.response),o.response.headers=un.from(o.response.headers))),Promise.reject(o)})}const x1="1.13.6",Ic={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ic[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const ch={};Ic.transitional=function(t,n,o){function r(s,a){return"[Axios v"+x1+"] Transitional option '"+s+"'"+a+(o?". "+o:"")}return(s,a,i)=>{if(t===!1)throw new Fe(r(a," has been removed"+(n?" in "+n:"")),Fe.ERR_DEPRECATED);return n&&!ch[a]&&(ch[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,i):!0}};Ic.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function sM(e,t,n){if(typeof e!="object")throw new Fe("options must be an object",Fe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const s=o[r],a=t[s];if(a){const i=e[s],l=i===void 0||a(i,s,e);if(l!==!0)throw new Fe("option "+s+" must be "+l,Fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fe("Unknown option "+s,Fe.ERR_BAD_OPTION)}}const ol={assertOptions:sM,validators:Ic},Ln=ol.validators;let Sr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Xv,response:new Xv}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=` `+s):o.stack=s}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Tr(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:s}=n;o!==void 0&&ol.assertOptions(o,{silentJSONParsing:Ln.transitional(Ln.boolean),forcedJSONParsing:Ln.transitional(Ln.boolean),clarifyTimeoutError:Ln.transitional(Ln.boolean),legacyInterceptorReqResOrdering:Ln.transitional(Ln.boolean)},!1),r!=null&&(Z.isFunction(r)?n.paramsSerializer={serialize:r}:ol.assertOptions(r,{encode:Ln.function,serialize:Ln.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ol.assertOptions(n,{baseUrl:Ln.spelling("baseURL"),withXsrfToken:Ln.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&Z.merge(s.common,s[n.method]);s&&Z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=un.concat(a,s);const i=[];let l=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;l=l&&h.synchronous;const v=n.transitional||hm;v&&v.legacyInterceptorReqResOrdering?i.unshift(h.fulfilled,h.rejected):i.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!l){const p=[lh.bind(this),void 0];for(p.unshift(...i),p.push(...c),f=p.length,u=Promise.resolve(n);d{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](r);o._listeners=null}),this.promise.then=r=>{let s;const a=new Promise(i=>{o.subscribe(i),s=i}).then(r);return a.cancel=function(){o.unsubscribe(s)},a},t(function(s,a,i){o.reason||(o.reason=new si(s,a,i),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new k1(function(r){t=r}),cancel:t}}};function iM(e){return function(n){return e.apply(null,n)}}function lM(e){return Z.isObject(e)&&e.isAxiosError===!0}const qd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(qd).forEach(([e,t])=>{qd[t]=e});function E1(e){const t=new Sr(e),n=r1(Sr.prototype.request,t);return Z.extend(n,Sr.prototype,t,{allOwnKeys:!0}),Z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return E1(Tr(e,r))},n}const kt=E1(ri);kt.Axios=Sr;kt.CanceledError=si;kt.CancelToken=aM;kt.isCancel=g1;kt.VERSION=x1;kt.toFormData=Pc;kt.AxiosError=Fe;kt.Cancel=kt.CanceledError;kt.all=function(t){return Promise.all(t)};kt.spread=iM;kt.isAxiosError=lM;kt.mergeConfig=Tr;kt.AxiosHeaders=un;kt.formToJSON=e=>h1(Z.isHTMLForm(e)?new FormData(e):e);kt.getAdapter=S1.getAdapter;kt.HttpStatusCode=qd;kt.default=kt;const{Axios:ZJ,AxiosError:QJ,CanceledError:eX,isCancel:tX,CancelToken:nX,VERSION:oX,all:rX,Cancel:sX,isAxiosError:ym,spread:aX,toFormData:iX,AxiosHeaders:lX,HttpStatusCode:cX,formToJSON:uX,getAdapter:dX,mergeConfig:fX}=kt;function C1(e,t){return function(){return e.apply(t,arguments)}}const{toString:cM}=Object.prototype,{getPrototypeOf:_m}=Object,{iterator:Rc,toStringTag:A1}=Symbol,Oc=(e=>t=>{const n=cM.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lo=e=>(e=e.toLowerCase(),t=>Oc(t)===e),$c=e=>t=>typeof t===e,{isArray:Ts}=Array,Ta=$c("undefined");function ai(e){return e!==null&&!Ta(e)&&e.constructor!==null&&!Ta(e.constructor)&&dn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const T1=lo("ArrayBuffer");function uM(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&T1(e.buffer),t}const dM=$c("string"),dn=$c("function"),P1=$c("number"),ii=e=>e!==null&&typeof e=="object",fM=e=>e===!0||e===!1,rl=e=>{if(Oc(e)!=="object")return!1;const t=_m(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(A1 in e)&&!(Rc in e)},mM=e=>{if(!ii(e)||ai(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},pM=lo("Date"),vM=lo("File"),hM=lo("Blob"),gM=lo("FileList"),bM=e=>ii(e)&&dn(e.pipe),yM=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||dn(e.append)&&((t=Oc(e))==="formdata"||t==="object"&&dn(e.toString)&&e.toString()==="[object FormData]"))},_M=lo("URLSearchParams"),[wM,SM,xM,kM]=["ReadableStream","Request","Response","Headers"].map(lo),EM=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ts(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,R1=e=>!Ta(e)&&e!==vr;function Gd(){const{caseless:e}=R1(this)&&this||{},t={},n=(o,r)=>{const s=e&&I1(t,r)||r;rl(t[s])&&rl(o)?t[s]=Gd(t[s],o):rl(o)?t[s]=Gd({},o):Ts(o)?t[s]=o.slice():t[s]=o};for(let o=0,r=arguments.length;o(li(t,(r,s)=>{n&&dn(r)?e[s]=C1(r,n):e[s]=r},{allOwnKeys:o}),e),AM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),TM=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},PM=(e,t,n,o)=>{let r,s,a;const i={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)a=r[s],(!o||o(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&_m(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},IM=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},RM=e=>{if(!e)return null;if(Ts(e))return e;let t=e.length;if(!P1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},OM=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_m(Uint8Array)),$M=(e,t)=>{const o=(e&&e[Rc]).call(e);let r;for(;(r=o.next())&&!r.done;){const s=r.value;t.call(e,s[0],s[1])}},LM=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},DM=lo("HTMLFormElement"),VM=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),uh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),MM=lo("RegExp"),O1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};li(n,(r,s)=>{let a;(a=t(r,s,e))!==!1&&(o[s]=a||r)}),Object.defineProperties(e,o)},BM=e=>{O1(e,(t,n)=>{if(dn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(dn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},NM=(e,t)=>{const n={},o=r=>{r.forEach(s=>{n[s]=!0})};return Ts(e)?o(e):o(String(e).split(t)),n},FM=()=>{},jM=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function UM(e){return!!(e&&dn(e.append)&&e[A1]==="FormData"&&e[Rc])}const zM=e=>{const t=new Array(10),n=(o,r)=>{if(ii(o)){if(t.indexOf(o)>=0)return;if(ai(o))return o;if(!("toJSON"in o)){t[r]=o;const s=Ts(o)?[]:{};return li(o,(a,i)=>{const l=n(a,r+1);!Ta(l)&&(s[i]=l)}),t[r]=void 0,s}}return o};return n(e,0)},HM=lo("AsyncFunction"),KM=e=>e&&(ii(e)||dn(e))&&dn(e.then)&&dn(e.catch),$1=((e,t)=>e?setImmediate:t?((n,o)=>(vr.addEventListener("message",({source:r,data:s})=>{r===vr&&s===n&&o.length&&o.shift()()},!1),r=>{o.push(r),vr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",dn(vr.postMessage)),WM=typeof queueMicrotask<"u"?queueMicrotask.bind(vr):typeof process<"u"&&process.nextTick||$1,qM=e=>e!=null&&dn(e[Rc]),ee={isArray:Ts,isArrayBuffer:T1,isBuffer:ai,isFormData:yM,isArrayBufferView:uM,isString:dM,isNumber:P1,isBoolean:fM,isObject:ii,isPlainObject:rl,isEmptyObject:mM,isReadableStream:wM,isRequest:SM,isResponse:xM,isHeaders:kM,isUndefined:Ta,isDate:pM,isFile:vM,isBlob:hM,isRegExp:MM,isFunction:dn,isStream:bM,isURLSearchParams:_M,isTypedArray:OM,isFileList:gM,forEach:li,merge:Gd,extend:CM,trim:EM,stripBOM:AM,inherits:TM,toFlatObject:PM,kindOf:Oc,kindOfTest:lo,endsWith:IM,toArray:RM,forEachEntry:$M,matchAll:LM,isHTMLForm:DM,hasOwnProperty:uh,hasOwnProp:uh,reduceDescriptors:O1,freezeMethods:BM,toObjectSet:NM,toCamelCase:VM,noop:FM,toFiniteNumber:jM,findKey:I1,global:vr,isContextDefined:R1,isSpecCompliantForm:UM,toJSONObject:zM,isAsyncFn:HM,isThenable:KM,setImmediate:$1,asap:WM,isIterable:qM};function ze(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status?r.status:null)}ee.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:ee.toJSONObject(this.config),code:this.code,status:this.status}}});const L1=ze.prototype,D1={};["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(e=>{D1[e]={value:e}});Object.defineProperties(ze,D1);Object.defineProperty(L1,"isAxiosError",{value:!0});ze.from=(e,t,n,o,r,s)=>{const a=Object.create(L1);return ee.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),ze.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const GM=null;function Yd(e){return ee.isPlainObject(e)||ee.isArray(e)}function V1(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function dh(e,t,n){return e?e.concat(t).map(function(r,s){return r=V1(r),!n&&s?"["+r+"]":r}).join(n?".":""):t}function YM(e){return ee.isArray(e)&&!e.some(Yd)}const JM=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function Lc(e,t,n){if(!ee.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ee.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!ee.isUndefined(v[h])});const o=n.metaTokens,r=n.visitor||u,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&ee.isSpecCompliantForm(t);if(!ee.isFunction(r))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(ee.isDate(p))return p.toISOString();if(ee.isBoolean(p))return p.toString();if(!l&&ee.isBlob(p))throw new ze("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(p)||ee.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,h,v){let y=p;if(p&&!v&&typeof p=="object"){if(ee.endsWith(h,"{}"))h=o?h:h.slice(0,-2),p=JSON.stringify(p);else if(ee.isArray(p)&&YM(p)||(ee.isFileList(p)||ee.endsWith(h,"[]"))&&(y=ee.toArray(p)))return h=V1(h),y.forEach(function(_,g){!(ee.isUndefined(_)||_===null)&&t.append(a===!0?dh([h],g,s):a===null?h:h+"[]",c(_))}),!1}return Yd(p)?!0:(t.append(dh(v,h,s),c(p)),!1)}const d=[],f=Object.assign(JM,{defaultVisitor:u,convertValue:c,isVisitable:Yd});function m(p,h){if(!ee.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(p),ee.forEach(p,function(y,k){(!(ee.isUndefined(y)||y===null)&&r.call(t,y,ee.isString(k)?k.trim():k,h,f))===!0&&m(y,h?h.concat(k):[k])}),d.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return m(e),t}function fh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function wm(e,t){this._pairs=[],e&&Lc(e,this,t)}const M1=wm.prototype;M1.append=function(t,n){this._pairs.push([t,n])};M1.toString=function(t){const n=t?function(o){return t.call(this,o,fh)}:fh;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function XM(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function B1(e,t,n){if(!t)return e;const o=n&&n.encode||XM;ee.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let s;if(r?s=r(t,n):s=ee.isURLSearchParams(t)?t.toString():new wm(t,n).toString(o),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class mh{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ee.forEach(this.handlers,function(o){o!==null&&t(o)})}}const N1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZM=typeof URLSearchParams<"u"?URLSearchParams:wm,QM=typeof FormData<"u"?FormData:null,eB=typeof Blob<"u"?Blob:null,tB={isBrowser:!0,classes:{URLSearchParams:ZM,FormData:QM,Blob:eB},protocols:["http","https","file","blob","url","data"]},Sm=typeof window<"u"&&typeof document<"u",Jd=typeof navigator=="object"&&navigator||void 0,nB=Sm&&(!Jd||["ReactNative","NativeScript","NS"].indexOf(Jd.product)<0),oB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rB=Sm&&window.location.href||"http://localhost",sB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sm,hasStandardBrowserEnv:nB,hasStandardBrowserWebWorkerEnv:oB,navigator:Jd,origin:rB},Symbol.toStringTag,{value:"Module"})),Yt={...sB,...tB};function aB(e,t){return Lc(e,new Yt.classes.URLSearchParams,{visitor:function(n,o,r,s){return Yt.isNode&&ee.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function iB(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lB(e){const t={},n=Object.keys(e);let o;const r=n.length;let s;for(o=0;o=n.length;return a=!a&&ee.isArray(r)?r.length:a,l?(ee.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!i):((!r[a]||!ee.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],s)&&ee.isArray(r[a])&&(r[a]=lB(r[a])),!i)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const n={};return ee.forEachEntry(e,(o,r)=>{t(iB(o),r,n,0)}),n}return null}function cB(e,t,n){if(ee.isString(e))try{return(t||JSON.parse)(e),ee.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const ci={transitional:N1,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,s=ee.isObject(t);if(s&&ee.isHTMLForm(t)&&(t=new FormData(t)),ee.isFormData(t))return r?JSON.stringify(F1(t)):t;if(ee.isArrayBuffer(t)||ee.isBuffer(t)||ee.isStream(t)||ee.isFile(t)||ee.isBlob(t)||ee.isReadableStream(t))return t;if(ee.isArrayBufferView(t))return t.buffer;if(ee.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return aB(t,this.formSerializer).toString();if((i=ee.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Lc(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||r?(n.setContentType("application/json",!1),cB(t)):t}],transformResponse:[function(t){const n=this.transitional||ci.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(ee.isResponse(t)||ee.isReadableStream(t))return t;if(t&&ee.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?ze.from(i,ze.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yt.classes.FormData,Blob:Yt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ee.forEach(["delete","get","head","post","put","patch"],e=>{ci.headers[e]={}});const uB=ee.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"]),dB=e=>{const t={};let n,o,r;return e&&e.split(` `).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&uB[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},ph=Symbol("internals");function Ns(e){return e&&String(e).trim().toLowerCase()}function sl(e){return e===!1||e==null?e:ee.isArray(e)?e.map(sl):String(e)}function fB(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const mB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Iu(e,t,n,o,r){if(ee.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!ee.isString(t)){if(ee.isString(o))return t.indexOf(o)!==-1;if(ee.isRegExp(o))return o.test(t)}}function pB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function vB(e,t){const n=ee.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,s,a){return this[o].call(this,t,r,s,a)},configurable:!0})})}let fn=class{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function s(i,l,c){const u=Ns(l);if(!u)throw new Error("header name must be a non-empty string");const d=ee.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=sl(i))}const a=(i,l)=>ee.forEach(i,(c,u)=>s(c,u,l));if(ee.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(ee.isString(t)&&(t=t.trim())&&!mB(t))a(dB(t),n);else if(ee.isObject(t)&&ee.isIterable(t)){let i={},l,c;for(const u of t){if(!ee.isArray(u))throw TypeError("Object iterator must return a key-value pair");i[c=u[0]]=(l=i[c])?ee.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}a(i,n)}else t!=null&&s(n,t,o);return this}get(t,n){if(t=Ns(t),t){const o=ee.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return fB(r);if(ee.isFunction(n))return n.call(this,r,o);if(ee.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ns(t),t){const o=ee.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Iu(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function s(a){if(a=Ns(a),a){const i=ee.findKey(o,a);i&&(!n||Iu(o,o[i],i,n))&&(delete o[i],r=!0)}}return ee.isArray(t)?t.forEach(s):s(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const s=n[o];(!t||Iu(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const n=this,o={};return ee.forEach(this,(r,s)=>{const a=ee.findKey(o,s);if(a){n[a]=sl(r),delete n[s];return}const i=t?pB(s):String(s).trim();i!==s&&delete n[s],n[i]=sl(r),o[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ee.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&ee.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[ph]=this[ph]={accessors:{}}).accessors,r=this.prototype;function s(a){const i=Ns(a);o[i]||(vB(r,a),o[i]=!0)}return ee.isArray(t)?t.forEach(s):s(t),this}};fn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.reduceDescriptors(fn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});ee.freezeMethods(fn);function Ru(e,t){const n=this||ci,o=t||n,r=fn.from(o.headers);let s=o.data;return ee.forEach(e,function(i){s=i.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function j1(e){return!!(e&&e.__CANCEL__)}function Ps(e,t,n){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,n),this.name="CanceledError"}ee.inherits(Ps,ze,{__CANCEL__:!0});function U1(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function hB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gB(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[s];a||(a=c),n[r]=l,o[r]=c;let d=s,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),c-a{n=u,r=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?a(c,u):(r=c,s||(s=setTimeout(()=>{s=null,a(r)},o-d)))},()=>r&&a(r)]}const Nl=(e,t,n=3)=>{let o=0;const r=gB(50,250);return bB(s=>{const a=s.loaded,i=s.lengthComputable?s.total:void 0,l=a-o,c=r(l),u=a<=i;o=a;const d={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&u?(i-a)/c:void 0,event:s,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(d)},n)},vh=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},hh=e=>(...t)=>ee.asap(()=>e(...t)),yB=Yt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Yt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Yt.origin),Yt.navigator&&/(msie|trident)/i.test(Yt.navigator.userAgent)):()=>!0,_B=Yt.hasStandardBrowserEnv?{write(e,t,n,o,r,s){const a=[e+"="+encodeURIComponent(t)];ee.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ee.isString(o)&&a.push("path="+o),ee.isString(r)&&a.push("domain="+r),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function wB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function SB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function z1(e,t,n){let o=!wB(t);return e&&(o||n==!1)?SB(e,t):t}const gh=e=>e instanceof fn?{...e}:e;function Pr(e,t){t=t||{};const n={};function o(c,u,d,f){return ee.isPlainObject(c)&&ee.isPlainObject(u)?ee.merge.call({caseless:f},c,u):ee.isPlainObject(u)?ee.merge({},u):ee.isArray(u)?u.slice():u}function r(c,u,d,f){if(ee.isUndefined(u)){if(!ee.isUndefined(c))return o(void 0,c,d,f)}else return o(c,u,d,f)}function s(c,u){if(!ee.isUndefined(u))return o(void 0,u)}function a(c,u){if(ee.isUndefined(u)){if(!ee.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function i(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={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,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,u,d)=>r(gh(c),gh(u),d,!0)};return ee.forEach(Object.keys({...e,...t}),function(u){const d=l[u]||r,f=d(e[u],t[u],u);ee.isUndefined(f)&&d!==i||(n[u]=f)}),n}const H1=e=>{const t=Pr({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:s,headers:a,auth:i}=t;t.headers=a=fn.from(a),t.url=B1(z1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),i&&a.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let l;if(ee.isFormData(n)){if(Yt.hasStandardBrowserEnv||Yt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Yt.hasStandardBrowserEnv&&(o&&ee.isFunction(o)&&(o=o(t)),o||o!==!1&&yB(t.url))){const c=r&&s&&_B.read(s);c&&a.set(r,c)}return t},xB=typeof XMLHttpRequest<"u",kB=xB&&function(e){return new Promise(function(n,o){const r=H1(e);let s=r.data;const a=fn.from(r.headers).normalize();let{responseType:i,onUploadProgress:l,onDownloadProgress:c}=r,u,d,f,m,p;function h(){m&&m(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function y(){if(!v)return;const _=fn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:_,config:e,request:v};U1(function(E){n(E),h()},function(E){o(E),h()},b),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(o(new ze("Request aborted",ze.ECONNABORTED,e,v)),v=null)},v.onerror=function(){o(new ze("Network Error",ze.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||N1;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),o(new ze(g,b.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,v)),v=null},s===void 0&&a.setContentType(null),"setRequestHeader"in v&&ee.forEach(a.toJSON(),function(g,b){v.setRequestHeader(b,g)}),ee.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),i&&i!=="json"&&(v.responseType=r.responseType),c&&([f,p]=Nl(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,m]=Nl(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(u=_=>{v&&(o(!_||_.type?new Ps(null,e,v):_),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const k=hB(r.url);if(k&&Yt.protocols.indexOf(k)===-1){o(new ze("Unsupported protocol "+k+":",ze.ERR_BAD_REQUEST,e));return}v.send(s||null)})},EB=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,r;const s=function(c){if(!r){r=!0,i();const u=c instanceof Error?c:this.reason;o.abort(u instanceof ze?u:new Ps(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,s(new ze(`timeout ${t} of ms exceeded`,ze.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=o;return l.unsubscribe=()=>ee.asap(i),l}},CB=function*(e,t){let n=e.byteLength;if(n{const r=AB(e,t);let s=0,a,i=l=>{a||(a=!0,o&&o(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await r.next();if(c){i(),l.close();return}let d=u.byteLength;if(n){let f=s+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw i(c),c}},cancel(l){return i(l),r.return()}},{highWaterMark:2})},Dc=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",K1=Dc&&typeof ReadableStream=="function",PB=Dc&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),W1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},IB=K1&&W1(()=>{let e=!1;const t=new Request(Yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),yh=64*1024,Xd=K1&&W1(()=>ee.isReadableStream(new Response("").body)),Fl={stream:Xd&&(e=>e.body)};Dc&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Fl[t]&&(Fl[t]=ee.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new ze(`Response type '${t}' is not supported`,ze.ERR_NOT_SUPPORT,o)})})})(new Response);const RB=async e=>{if(e==null)return 0;if(ee.isBlob(e))return e.size;if(ee.isSpecCompliantForm(e))return(await new Request(Yt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(ee.isArrayBufferView(e)||ee.isArrayBuffer(e))return e.byteLength;if(ee.isURLSearchParams(e)&&(e=e+""),ee.isString(e))return(await PB(e)).byteLength},OB=async(e,t)=>{const n=ee.toFiniteNumber(e.getContentLength());return n??RB(t)},$B=Dc&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:s,timeout:a,onDownloadProgress:i,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=H1(e);c=c?(c+"").toLowerCase():"text";let m=EB([r,s&&s.toAbortSignal()],a),p;const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let v;try{if(l&&IB&&n!=="get"&&n!=="head"&&(v=await OB(u,o))!==0){let b=new Request(t,{method:"POST",body:o,duplex:"half"}),S;if(ee.isFormData(o)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body){const[E,O]=vh(v,Nl(hh(l)));o=bh(b.body,yh,E,O)}}ee.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;p=new Request(t,{...f,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:y?d:void 0});let k=await fetch(p,f);const _=Xd&&(c==="stream"||c==="response");if(Xd&&(i||_&&h)){const b={};["status","statusText","headers"].forEach(R=>{b[R]=k[R]});const S=ee.toFiniteNumber(k.headers.get("content-length")),[E,O]=i&&vh(S,Nl(hh(i),!0))||[];k=new Response(bh(k.body,yh,E,()=>{O&&O(),h&&h()}),b)}c=c||"text";let g=await Fl[ee.findKey(Fl,c)||"text"](k,e);return!_&&h&&h(),await new Promise((b,S)=>{U1(b,S,{data:g,headers:fn.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(y){throw h&&h(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new ze("Network Error",ze.ERR_NETWORK,e,p),{cause:y.cause||y}):ze.from(y,y&&y.code,e,p)}}),Zd={http:GM,xhr:kB,fetch:$B};ee.forEach(Zd,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _h=e=>`- ${e}`,LB=e=>ee.isFunction(e)||e===null||e===!1,q1={getAdapter:e=>{e=ee.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let s=0;s`adapter ${i} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since : `+s.map(_h).join(` `):" "+_h(s[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Zd};function Ou(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ps(null,e)}function wh(e){return Ou(e),e.headers=fn.from(e.headers),e.data=Ru.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),q1.getAdapter(e.adapter||ci.adapter)(e).then(function(o){return Ou(e),o.data=Ru.call(e,e.transformResponse,o),o.headers=fn.from(o.headers),o},function(o){return j1(o)||(Ou(e),o&&o.response&&(o.response.data=Ru.call(e,e.transformResponse,o.response),o.response.headers=fn.from(o.response.headers))),Promise.reject(o)})}const G1="1.11.0",Vc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vc[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Sh={};Vc.transitional=function(t,n,o){function r(s,a){return"[Axios v"+G1+"] Transitional option '"+s+"'"+a+(o?". "+o:"")}return(s,a,i)=>{if(t===!1)throw new ze(r(a," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!Sh[a]&&(Sh[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,i):!0}};Vc.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function DB(e,t,n){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const s=o[r],a=t[s];if(a){const i=e[s],l=i===void 0||a(i,s,e);if(l!==!0)throw new ze("option "+s+" must be "+l,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+s,ze.ERR_BAD_OPTION)}}const al={assertOptions:DB,validators:Vc},uo=al.validators;let xr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new mh,response:new mh}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=` `+s):o.stack=s}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pr(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:s}=n;o!==void 0&&al.assertOptions(o,{silentJSONParsing:uo.transitional(uo.boolean),forcedJSONParsing:uo.transitional(uo.boolean),clarifyTimeoutError:uo.transitional(uo.boolean)},!1),r!=null&&(ee.isFunction(r)?n.paramsSerializer={serialize:r}:al.assertOptions(r,{encode:uo.function,serialize:uo.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),al.assertOptions(n,{baseUrl:uo.spelling("baseURL"),withXsrfToken:uo.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&ee.merge(s.common,s[n.method]);s&&ee.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=fn.concat(a,s);const i=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!l){const p=[wh.bind(this),void 0];for(p.unshift(...i),p.push(...c),f=p.length,u=Promise.resolve(n);d{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](r);o._listeners=null}),this.promise.then=r=>{let s;const a=new Promise(i=>{o.subscribe(i),s=i}).then(r);return a.cancel=function(){o.unsubscribe(s)},a},t(function(s,a,i){o.reason||(o.reason=new Ps(s,a,i),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Y1(function(r){t=r}),cancel:t}}};function MB(e){return function(n){return e.apply(null,n)}}function BB(e){return ee.isObject(e)&&e.isAxiosError===!0}const Qd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent: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(Qd).forEach(([e,t])=>{Qd[t]=e});function J1(e){const t=new xr(e),n=C1(xr.prototype.request,t);return ee.extend(n,xr.prototype,t,{allOwnKeys:!0}),ee.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return J1(Pr(e,r))},n}const Et=J1(ci);Et.Axios=xr;Et.CanceledError=Ps;Et.CancelToken=VB;Et.isCancel=j1;Et.VERSION=G1;Et.toFormData=Lc;Et.AxiosError=ze;Et.Cancel=Et.CanceledError;Et.all=function(t){return Promise.all(t)};Et.spread=MB;Et.isAxiosError=BB;Et.mergeConfig=Pr;Et.AxiosHeaders=fn;Et.formToJSON=e=>F1(ee.isHTMLForm(e)?new FormData(e):e);Et.getAdapter=q1.getAdapter;Et.HttpStatusCode=Qd;Et.default=Et;const{Axios:vX,AxiosError:hX,CanceledError:gX,isCancel:bX,CancelToken:yX,VERSION:_X,all:wX,Cancel:SX,isAxiosError:xX,spread:kX,toFormData:EX,AxiosHeaders:CX,HttpStatusCode:AX,formToJSON:TX,getAdapter:PX,mergeConfig:IX}=Et;let X1=null;function NB(e){X1=e}const FB=e=>e.startsWith("/api/login")||e.startsWith("/api/register")||e.startsWith("/api/csrf")||e.startsWith("/api/logout"),jB=e=>{if(!e||typeof e!="object")return!1;const t=e.message;return t==="Unauthenticated."||t==="Unauthenticated"},UB=e=>{const t=["/api/me","/api/login","/api/csrf","/api/modal-images"],n=["/api/kyc/onboarding","/api/generate-token","/api/password/"];return t.includes(e)||n.some(o=>e.startsWith(o))};function zB(e){if(!e?.url)return"";try{const t=Et.getUri(e);return/^https?:\/\//i.test(t)?new URL(t).pathname:t.split("?")[0]||""}catch{return e.url.split("?")[0]||""}}function HB(e){const t=e.response?.status,n=zB(e.config);return(t===401||t===403)&&jB(e.response?.data)&&!FB(n)&&!UB(n)&&X1?.(),Promise.reject(e)}const xm=Et.create({timeout:15e3,withCredentials:!0}),KB=()=>{if(typeof document>"u")return null;const e=document.cookie.match(/XSRF-TOKEN=([^;]+)/);return e?decodeURIComponent(e[1]):null};xm.interceptors.request.use(e=>{const t=KB();return t&&(e.headers["X-XSRF-TOKEN"]=t),e});xm.interceptors.response.use(e=>e,e=>HB(e));function WB(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ti={exports:{}},$u={exports:{}},xh;function qB(){return xh||(xh=1,(function(e){var t={};const n=typeof process<"u"&&t.TERM_PROGRAM==="Hyper",o=typeof process<"u"&&process.platform==="win32",r=typeof process<"u"&&process.platform==="linux",s={ballotDisabled:"☒",ballotOff:"☐",ballotOn:"☑",bullet:"•",bulletWhite:"◦",fullBlock:"█",heart:"❤",identicalTo:"≡",line:"─",mark:"※",middot:"·",minus:"-",multiplication:"×",obelus:"÷",pencilDownRight:"✎",pencilRight:"✏",pencilUpRight:"✐",percent:"%",pilcrow2:"❡",pilcrow:"¶",plusMinus:"±",question:"?",section:"§",starsOff:"☆",starsOn:"★",upDownArrow:"↕"},a=Object.assign({},s,{check:"√",cross:"×",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"»",radioOff:"( )",radioOn:"(*)",warning:"‼"}),i=Object.assign({},s,{ballotCross:"✘",check:"✔",cross:"✖",ellipsisLarge:"⋯",ellipsis:"…",info:"ℹ",questionFull:"?",questionSmall:"﹖",pointer:r?"▸":"❯",pointerSmall:r?"‣":"›",radioOff:"◯",radioOn:"◉",warning:"⚠"});e.exports=o&&!n?a:i,Reflect.defineProperty(e.exports,"common",{enumerable:!1,value:s}),Reflect.defineProperty(e.exports,"windows",{enumerable:!1,value:a}),Reflect.defineProperty(e.exports,"other",{enumerable:!1,value:i})})($u)),$u.exports}var kh;function GB(){if(kh)return Ti.exports;kh=1;var e={};const t=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),n=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,o=()=>typeof process<"u"?e.FORCE_COLOR!=="0":!1,r=()=>{const s={enabled:o(),visible:!0,styles:{},keys:{}},a=u=>{let d=u.open=`\x1B[${u.codes[0]}m`,f=u.close=`\x1B[${u.codes[1]}m`,m=u.regex=new RegExp(`\\u001b\\[${u.codes[1]}m`,"g");return u.wrap=(p,h)=>{p.includes(f)&&(p=p.replace(m,f+d));let v=d+p+f;return h?v.replace(/\r*\n/g,`${f}$&${d}`):v},u},i=(u,d,f)=>typeof u=="function"?u(d):u.wrap(d,f),l=(u,d)=>{if(u===""||u==null)return"";if(s.enabled===!1)return u;if(s.visible===!1)return"";let f=""+u,m=f.includes(` `),p=d.length;for(p>0&&d.includes("unstyle")&&(d=[...new Set(["unstyle",...d])].reverse());p-- >0;)f=i(s.styles[d[p]],f,m);return f},c=(u,d,f)=>{s.styles[u]=a({name:u,codes:d}),(s.keys[f]||(s.keys[f]=[])).push(u),Reflect.defineProperty(s,u,{configurable:!0,enumerable:!0,set(p){s.alias(u,p)},get(){let p=h=>l(h,p.stack);return Reflect.setPrototypeOf(p,s),p.stack=this.stack?this.stack.concat(u):[u],p}})};return c("reset",[0,0],"modifier"),c("bold",[1,22],"modifier"),c("dim",[2,22],"modifier"),c("italic",[3,23],"modifier"),c("underline",[4,24],"modifier"),c("inverse",[7,27],"modifier"),c("hidden",[8,28],"modifier"),c("strikethrough",[9,29],"modifier"),c("black",[30,39],"color"),c("red",[31,39],"color"),c("green",[32,39],"color"),c("yellow",[33,39],"color"),c("blue",[34,39],"color"),c("magenta",[35,39],"color"),c("cyan",[36,39],"color"),c("white",[37,39],"color"),c("gray",[90,39],"color"),c("grey",[90,39],"color"),c("bgBlack",[40,49],"bg"),c("bgRed",[41,49],"bg"),c("bgGreen",[42,49],"bg"),c("bgYellow",[43,49],"bg"),c("bgBlue",[44,49],"bg"),c("bgMagenta",[45,49],"bg"),c("bgCyan",[46,49],"bg"),c("bgWhite",[47,49],"bg"),c("blackBright",[90,39],"bright"),c("redBright",[91,39],"bright"),c("greenBright",[92,39],"bright"),c("yellowBright",[93,39],"bright"),c("blueBright",[94,39],"bright"),c("magentaBright",[95,39],"bright"),c("cyanBright",[96,39],"bright"),c("whiteBright",[97,39],"bright"),c("bgBlackBright",[100,49],"bgBright"),c("bgRedBright",[101,49],"bgBright"),c("bgGreenBright",[102,49],"bgBright"),c("bgYellowBright",[103,49],"bgBright"),c("bgBlueBright",[104,49],"bgBright"),c("bgMagentaBright",[105,49],"bgBright"),c("bgCyanBright",[106,49],"bgBright"),c("bgWhiteBright",[107,49],"bgBright"),s.ansiRegex=n,s.hasColor=s.hasAnsi=u=>(s.ansiRegex.lastIndex=0,typeof u=="string"&&u!==""&&s.ansiRegex.test(u)),s.alias=(u,d)=>{let f=typeof d=="string"?s[d]:d;if(typeof f!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");f.stack||(Reflect.defineProperty(f,"name",{value:u}),s.styles[u]=f,f.stack=[u]),Reflect.defineProperty(s,u,{configurable:!0,enumerable:!0,set(m){s.alias(u,m)},get(){let m=p=>l(p,m.stack);return Reflect.setPrototypeOf(m,s),m.stack=this.stack?this.stack.concat(f.stack):f.stack,m}})},s.theme=u=>{if(!t(u))throw new TypeError("Expected theme to be an object");for(let d of Object.keys(u))s.alias(d,u[d]);return s},s.alias("unstyle",u=>typeof u=="string"&&u!==""?(s.ansiRegex.lastIndex=0,u.replace(s.ansiRegex,"")):""),s.alias("noop",u=>u),s.none=s.clear=s.noop,s.stripColor=s.unstyle,s.symbols=qB(),s.define=c,s};return Ti.exports=r(),Ti.exports.create=r,Ti.exports}var YB=GB();const yn=WB(YB);var JB={};function XB(){return new Date().toISOString()}function ZB(e,t){let n="";t.timestamp&&(n+=`[${XB()}] `),n+=yn.cyanBright.bold("[fe]");const o=typeof import.meta<"u"&&"casino"||typeof process<"u"&&JB?.VITE_APP||"";switch(o&&(n+=yn.cyan(`[${o}] `)),t.level){case"error":n+=yn.red.bold("[ERROR] ");break;case"warning":n+=yn.yellow.bold("[WARN] ");break;case"success":n+=yn.green.bold("[SUCCESS] ");break;case"debug":n+=yn.magenta.bold("[DEBUG] ");break}if(t.tag&&(n+=yn.gray(`[${t.tag}] `)),t.color&&t.color in yn){const r=yn[t.color];typeof r=="function"?n+=r(e):n+=e}else switch(t.level){case"error":n+=yn.red(e);break;case"warning":n+=yn.yellow(e);break;case"success":n+=yn.green(e);break;case"debug":n+=yn.magenta(e);break;case"info":default:n+=e;break}return n}function QB(e={}){const t=(n,o={},r)=>ZB(n,{...e,...o,level:r});return{info:(n,o={})=>console.log(t(n,o,"info")),success:(n,o={})=>console.log(t(n,o,"success")),warning:(n,o={})=>console.warn(t(n,o,"warning")),error:(n,o={})=>console.error(t(n,o,"error")),debug:(n,o={})=>console.debug(t(n,o,"debug"))}}const We=QB({prefix:"fe"});function Eh(e={}){const t={now:new Date(e["x-server-clock"]),start:new Date(e["x-server-maintenance-start-at"]),finish:new Date(e["x-server-maintenance-finish-at"])};t.now>=t.start&&t.now<=t.finish&&Ge().setMaintenance({start:e["x-server-maintenance-start-at"],finish:e["x-server-maintenance-finish-at"]})}const e2=e=>e.reduce((t,n)=>(t[n.name]=n.value,t),{}),at=Hn("user",{state:()=>({profile:null,balance:{base:0,bonus:0}}),getters:{hasUser:e=>!!e.profile,hasDocument:e=>!!e.profile?.document?.number?.trim(),balanceAmount:e=>e.balance.base+e.balance.bonus/100},actions:{applyUserResponse(e){e.user_rollover?this.balance.bonus=e.user_rollover.amount_current??0:this.balance.bonus=0,this.setBalance(e.balance);const t={...e,settings:e2(e.settings??[])};this.setUser(t)},async getUser(){try{const e=await Ye.get("/api/me");return this.applyUserResponse(e.data),!0}catch(e){const t=ym(e)?e.response?.status:void 0;return(t===401||t===403)&&this.clearUser(),!1}},setUser(e){this.profile=e},clearUser(){this.profile=null},setBalance(e){this.balance.base=e/100}}});function t2(e){let t=0;for(let r=0;r<9;++r)t+=parseInt(e.charAt(r))*(10-r);const n=t%11;return n<2?0:11-n}function n2(e){let t=0;for(let r=0;r<10;++r)t+=parseInt(e.charAt(r))*(11-r);const n=t%11;return n<2?0:11-n}function o2(e){return e.toString().replace(/[^\d]/g,"")}function r2(e){const t=o2(e),n=t.substring(0,9),o=t.substring(9,11);let r=!1;for(let i=0;i<10;i++)if(n+o===Array(12).join(i.toString()))return!1;const s=t2(n),a=n2(`${n}${s}`);return o.toString()===s.toString()+a.toString()?r=!0:r=!1,r}function s2(e){const t=e.toString();if(t===""||t.length!==14||/0{14}/.test(t))return!1;let n=t.length-2,o=t.substring(0,n);const r=t.substring(n);let s=0,a=n-7;for(let l=n;l>=1;l--)s+=parseInt(o.charAt(n-l))*a--,a<2&&(a=9);let i=s%11<2?0:11-s%11;if(i!==Number(r.charAt(0)))return!1;n=n+1,o=t.substring(0,n),s=0,a=n-7;for(let l=n;l>=1;l--)s+=parseInt(o.charAt(n-l))*a--,a<2&&(a=9);return i=s%11<2?0:11-s%11,i===Number(r.charAt(1))}const Ut=e=>e==null?"":String(e),a2=e=>({valid:e.order?!!e.input:!0,message:"O campo "+e.name+" é obrigatório"}),i2=e=>{const t=Ut(e.input),n=typeof e.order=="number"?e.order:0;return{valid:e.input?t.length>=n:!1,message:"O campo "+e.name+" deve conter pelo menos "+n+" caracter"+(n>1?"es":"")}},l2=e=>{const t=Ut(e.input),n=typeof e.order=="number"?e.order:0;return{valid:e.input?t.length<=n:!0,message:"O campo "+e.name+" não deve ter mais que "+n+" caracter"+(n>1?"es":"")}},c2=e=>{const t=Ut(e.input),n=typeof e.order=="number"?e.order:0;let o=e.input?t.length===n:!1,r=n;return e.input&&Array.isArray(e.order)&&(o=e.order.some(s=>s===t.length),r=e.order.join(", ").replace(/, ([^,]*)$/," ou $1")),{valid:o,message:"O campo "+e.name+" deve ter "+r+" caracteres"}},u2=e=>{const t=Ut(e.input);return{valid:e.input?!isNaN(parseInt(t)):!0,message:"O campo "+e.name+" deve conter apenas números"}},d2=e=>{const t=Ut(e.input);return{valid:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t),message:"O campo "+e.name+" deve ser um e-mail válido"}},f2=e=>{const t=Ut(e.input);return{valid:(e.order instanceof RegExp?e.order:new RegExp("")).test(t),message:"O campo "+e.name+" possui um formato inválido"}},m2=e=>{const t=Ut(e.input);return{valid:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i.test(t),message:"O campo "+e.name+" deve conter apenas letras"}},p2=e=>{const t=Ut(e.input);return{valid:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i.test(t),message:"O campo "+e.name+" deve conter apenas letras e números"}},v2=e=>{const t=Ut(e.input);return{valid:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s-]*$/i.test(t),message:"O campo "+e.name+" deve conter apenas letras e espaços"}},h2=e=>{const t=Ut(e.input);return{valid:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s-]*$/i.test(t),message:"O campo "+e.name+" deve conter apenas letras, espaços e hifens"}},g2=e=>{const t=Ut(e.input);return{valid:/^\S{2,}\s+(\S*\s+)?\S{2,}$/.test(t),message:"O campo "+e.name+" deve conter um nome e sobrenome válidos"}},b2=e=>{let t=!0;const n=Ut(e.input);return e.input&&e.order&&(t=n.trim().indexOf(" ")!==-1),{valid:t,message:"Insira dois valores válidos"}},y2=e=>{let t=!0;const n=Ut(e.input);let o="";if(e.input&&e.order){const r=/^[0-9]+(-[0-9]+)+$/;o=n.replace(/\D/g,""),t=[r.test(n),o.length===8||o.length===9&&Number(o.charAt(0))===9].every(a=>a)}return{valid:t,message:"Insira um número de "+(o.length===9?"celular":"telefone")+" válido"}},_2=e=>{let t=!0;const n=Ut(e.input);if(e.input&&e.order){const o=/^[0-9]+(-[0-9]+)+$/,r=n.replace(/\D/g,"");t=[o.test(n),r.length===8].every(a=>a)}return{valid:t,message:"Insira um CEP válido"}},w2=e=>{const t=Ut(e.input),n=/[eE]/,o=t.replace(/\D/g,""),r=[n.test(t.charAt(0)),o.length===11&&r2(o),o.length===14&&s2(o)];let s="documento";return n.test(t.charAt(0))||(o.length===11?s="CPF":o.length===14&&(s="CNPJ")),{valid:r.some(a=>a),message:"Insira um "+s+" válido"}},S2=e=>{const t=Ut(e.input),n=typeof e.order=="string"?e.order:String(e.order||"");return{valid:e.input?t.indexOf(n)<0:!1,message:"Insira um valor válido"}},x2=e=>{const t=Ut(e.input);return{valid:!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t),message:"O campo "+e.name+" não pode ser um e-mail"}},k2=e=>{const t=Number(e.input);return{valid:!Number.isNaN(t)&&t<=Number(e.order),message:"O campo "+e.name+" precisa ser menor ou igual a "+e.order}},E2=e=>({valid:e.input===e.order,message:"O campo "+e.name+" não confere"}),C2=Object.freeze(Object.defineProperty({__proto__:null,alpha:m2,alpha_num:p2,alpha_space:v2,alpha_space_hyphen:h2,amount:c2,doc:w2,email:d2,equal:E2,fullname:g2,max:l2,max_value:k2,min:i2,not:S2,not_email:x2,numeric:u2,phone:y2,regex:f2,required:a2,two_strings:b2,zipcode:_2},Symbol.toStringTag,{value:"Module"})),km=(e,t,n)=>{const o=Object.entries(e).map(([r,s])=>{const a=C2[r],i=a({input:t,name:n,order:s});return i.valid?"":i.message}).filter(r=>r).reverse();return o[o.length-1]||""};function Ch(e,t,n){return km(e,t,n)||!0}function Mc(){return e=>!!e?.trim()||T("authModal.errors.required")}function A2(){const e=T("authModal.emailOrCpf");return t=>{const n=t?.trim()??"";return n?n.includes("@")?Ch({email:!0},n,e):Ch({doc:!0},n,e):!0}}function Z1(){return[Mc(),A2()]}const Q1=/[!@#$%^&*(),.?":{}|<>]/;function eC(e,t,n){return km(e,t,n)||!0}function yo(e){return e.replace(/\D/g,"")}function T2(e){if(e.length!==10&&e.length!==11)return!1;const t=Number.parseInt(e.slice(0,2),10);return!(Number.isNaN(t)||t<11||t>99||e.length===11&&e[2]!=="9")}function Ah(){const e=T("authModal.document");return t=>{const n=yo(t);return n?eC({doc:!0},n,e):!0}}function P2(){const e=T("authModal.email");return t=>{const n=t?.trim()??"";return n?eC({email:!0},n,e):!0}}function I2(){return e=>{const t=yo(e);return t?T2(t)||T("authModal.errors.invalidPhone"):!0}}function R2(){return[Mc(),e=>e.length>=8||T("authModal.passwordRules.length"),e=>/\d/.test(e)||T("authModal.passwordRules.digit"),e=>/[a-zA-Z]/.test(e)||T("authModal.passwordRules.letter"),e=>Q1.test(e)||T("authModal.passwordRules.special")]}function O2(){return e=>e===!0||T("authModal.errors.termsRequired")}function tC(e){return[{key:"length",message:T("authModal.passwordRules.length"),valid:e.length>=8},{key:"digit",message:T("authModal.passwordRules.digit"),valid:/\d/.test(e)},{key:"letter",message:T("authModal.passwordRules.letter"),valid:/[a-zA-Z]/.test(e)},{key:"special",message:T("authModal.passwordRules.special"),valid:Q1.test(e)}]}const $2=["referrer_id","src","utm_source","utm_campaign","utm_content","utm_medium","utm_term","btag","code","_fbc","_fbp","afp","afp1","afp2","afp3","afp4","afp5","afp6","afp7","afp8","afp9","shareCode","source_id","event_id","campaign_id","client_id","gclid","subid"];function L2(e){if(typeof window>"u")return;try{const n=window.localStorage.getItem(e);if(n)return n}catch{}return us(e)||void 0}function D2(){const e={};for(const t of $2){const n=L2(t);if(n){if(t==="code"){e.coupon_code=n;continue}if(t==="_fbc"){e.fbc=n;continue}if(t==="_fbp"){e.fbp=n;continue}e[t]=n}}return e}function V2(){if(!(typeof window>"u"))try{window.localStorage.removeItem("code")}catch{}}function M2(e){const t=yo(e.document),n=yo(e.phone);return{identity:{name:e.name,document:t,email:e.email.trim(),email_confirmation:e.email.trim(),phone:`+55${n}`,...e.birthday?{birthday:e.birthday}:{}},auth:{password:e.password,password_confirmation:e.password},termsAccepted:e.termsAccepted,...e.token?{token:e.token}:{},...D2()}}const Th={document:"document","identity.document":"document",email:"email","identity.email":"email",phone:"phone","identity.phone":"phone",password:"password","auth.password":"password",termsAccepted:"termsAccepted",name:"name","identity.name":"name"};function nC(e,t=""){if(!e||typeof e!="object")return{};const n={};for(const[o,r]of Object.entries(e)){const s=t?`${t}.${o}`:o;if(Array.isArray(r)&&r[0]){n[s]=String(r[0]);continue}if(typeof r=="string"&&r){n[s]=r;continue}r&&typeof r=="object"&&Object.assign(n,nC(r,s))}return n}function Ph(e){if(!e)return{};const t=nC(e),n={};for(const[o,r]of Object.entries(t)){const s=Th[o]??Th[o.split(".").pop()??""]??o.split(".").pop();s&&(n[s]=r)}return n}class oC extends Error{registerSucceeded=!0;constructor(){super("RegisterAutoLoginError"),this.name="RegisterAutoLoginError"}}function B2(e){return e instanceof oC||e?.name==="RegisterAutoLoginError"}const N2=3,F2=500,j2="cookie-consent";function U2(e){const t=typeof document<"u"?document.cookie:"";if(!t)return null;const n=t.match(new RegExp(`(?:^|;\\s*)${j2}=([^;]+)`));if(!n?.[1])return null;try{return decodeURIComponent(n[1].trim())}catch{return n[1].trim()}}function Em(e){return U2()==="all"}const rC={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP:"casino",VITE_BRAND:"cometagaming",VITE_BRAND_DENSITY:"default",VITE_BRAND_RADIUS:"rounded",VITE_ROUTES:'["./src/pages/AlertTest","./src/pages/AnnualStatement/AnnualStatement.spec.ts","./src/pages/AnnualStatement/Index","./src/pages/Casino/Favorites.spec.ts","./src/pages/Casino/Favorites","./src/pages/Casino/Index.spec.ts","./src/pages/Casino/Index","./src/pages/Casino/[Slug].spec.ts","./src/pages/Casino/[Slug]","./src/pages/FavoritesTest","./src/pages/Index","./src/pages/IpBlockedVpnTest","./src/pages/ModalTest","./src/pages/Promotions/Index","./src/pages/Promotions/PromotionsPages.spec.ts","./src/pages/Promotions/[Slug]","./src/pages/Providers/Index","./src/pages/Providers/ProvidersPages.spec.ts","./src/pages/Providers/[Slug]","./src/pages/PrudentialLimitsTest","./src/pages/Recover","./src/pages/Ref/[Id]","./src/pages/RulesBetting.spec.ts","./src/pages/RulesBetting","./src/pages/SessionExpiredTest","./src/pages/SlugTest/[Slug]","./src/pages/Sports/Esports/[...page]","./src/pages/Sports/[...page]","./src/pages/User/Account/Account.spec.ts","./src/pages/User/Account/Document.spec.ts","./src/pages/User/Account/Document","./src/pages/User/Account/Index","./src/pages/User/Account/Password","./src/pages/User/Gamification/Badges","./src/pages/User/Gamification/Index.spec.ts","./src/pages/User/Gamification/Index","./src/pages/User/Gamification/MiniGames.spec.ts","./src/pages/User/Gamification/MiniGames","./src/pages/User/Gamification/Missions","./src/pages/User/Gamification/Niveis.spec.ts","./src/pages/User/Gamification/Niveis","./src/pages/User/Gamification/Shop","./src/pages/User/Gamification/Tournaments.spec.ts","./src/pages/User/Gamification/Tournaments","./src/pages/User/Indications/Index.spec.ts","./src/pages/User/Indications/Index","./src/pages/User/Indications/referral.ts","./src/pages/User/Promotion/Coupon.spec.ts","./src/pages/User/Promotion/Coupon","./src/pages/User/Promotion/Index","./src/pages/User/Promotion/Promotion.spec.ts","./src/pages/User/Promotion/Rewards.spec.ts","./src/pages/User/Promotion/Rewards","./src/pages/User/Protection/Centralized","./src/pages/User/Protection/Exclusion","./src/pages/User/Protection/Index","./src/pages/User/Protection/Suspension","./src/pages/User/Wallet/AnnualStatement.spec.ts","./src/pages/User/Wallet/AnnualStatement","./src/pages/User/Wallet/Deposit/Deposit.spec.ts","./src/pages/User/Wallet/Deposit/Index","./src/pages/User/Wallet/Index.spec.ts","./src/pages/User/Wallet/Index","./src/pages/User/Wallet/Withdraw/Index","./src/pages/User/Wallet/Withdraw/Withdraw.spec.ts","./src/pages/VuetifyTest","./src/pages/[Regulations]","./src/pages/play/[Id]","./src/pages/play/[Provider]/[Name]"]',VITE_TARGET:"production"};let Pa=!1;function Bc(){return typeof window<"u"}function z2(){return Pa}function H2(e,t){const n=Number(e);return Number.isFinite(n)?n:t}function K2(e){const t=[];return e.VITE_DD_APPLICATION_ID?.trim()||t.push("VITE_DD_APPLICATION_ID"),e.VITE_DD_CLIENT_TOKEN?.trim()||t.push("VITE_DD_CLIENT_TOKEN"),e.VITE_DD_SITE?.trim()||t.push("VITE_DD_SITE"),e.VITE_DD_VERSION?.trim()||t.push("VITE_DD_VERSION"),e.VITE_DD_ENV?.trim()||t.push("VITE_DD_ENV"),t}function W2(e){return[t=>!!e&&t.includes(e),t=>typeof window<"u"&&t.includes(window.location.hostname)]}async function Cm(){const{datadogRum:e}=await M(async()=>{const{datadogRum:t}=await import("./main-Df7TzORQ.js").then(n=>n.a8);return{datadogRum:t}},[]);return e}async function q2(e=rC){if(!Bc())return!1;if(Pa)return!0;if(e.VITE_DD_ENABLED!=="true")return!1;const t=K2(e);if(t.length>0)return console.warn("[datadog] RUM initialization skipped due to missing environment variables:",t.join(", ")),!1;const n=await Cm(),o=e.VITE_API_URL?.trim()??"",r=e.VITE_DD_SERVICE?.trim()||e.VITE_APP?.trim()||"";return n.init({applicationId:e.VITE_DD_APPLICATION_ID,clientToken:e.VITE_DD_CLIENT_TOKEN,site:e.VITE_DD_SITE,version:e.VITE_DD_VERSION,env:e.VITE_DD_ENV,service:r,sessionSampleRate:H2(e.VITE_DD_SESSION_SAMPLE_RATE,100),trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input",allowedTracingUrls:W2(o)}),n.startSessionReplayRecording(),Pa=!0,!0}async function G2(e=rC,t){return!Bc()||!Em()?!1:q2(e)}async function jl(e){if(!Pa||!Bc())return;const t=await Cm();if(!e){t.clearUser();return}t.setUser({id:e.id,email:e.email,name:e.name})}async function Y2(e,t){if(!Pa||!Bc())return;(await Cm()).addError(new Error(e),t?.tag?{tag:t.tag}:void 0)}let Ih=!1;function sC(){const e=at().profile;if(!e){jl(null);return}jl({id:String(e.id),email:e.email,name:e.name})}function J2(){if(Ih||typeof We.error!="function")return;Ih=!0;const e=We.error.bind(We);We.error=(t,n={})=>{e(t,n),z2()&&Y2(t,n.tag?{tag:n.tag}:void 0)}}const X2={lotogreen:{src:"https://gtm.lotogreen.bet.br/bahtpficue.js",query:"bur6m=aWQ9R1RNLVBSS1dDVE1Q&page=1"},br4bet:{src:"https://gtm.br4.bet.br/702bgvgvirv.js",query:"c211y=aWQ9R1RNLU03S0paV00%3D&sort=desc"},goldebet:{src:"https://gtm.goldebet.bet.br/8segsrnwxlvpr.js",query:"apc3=aWQ9R1RNLU5UVFZXUTI2&page=2"}};let aC=null;function Z2(e){aC=e}function Q2(e){return e==="deposit_approved"?"deposit":e==="bet_transaction"?"spend_virtual_currency":e}function eN(e){return{...e,is_ftd:e.occurrence===1,is_std:e.occurrence===2,is_ttd:e.occurrence===3,is_qtd:e.occurrence===4}}function ef(e,t){if(typeof window>"u"||!tN())return!1;let n={...t};return(e==="deposit"||e==="deposit_approved")&&(n=eN(n)),cC().push({event:Q2(e),data:n,user:aC?.()??void 0,created_at:Date.now()}),!0}const iC={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP:"casino",VITE_BRAND:"cometagaming",VITE_BRAND_DENSITY:"default",VITE_BRAND_RADIUS:"rounded",VITE_ROUTES:'["./src/pages/AlertTest","./src/pages/AnnualStatement/AnnualStatement.spec.ts","./src/pages/AnnualStatement/Index","./src/pages/Casino/Favorites.spec.ts","./src/pages/Casino/Favorites","./src/pages/Casino/Index.spec.ts","./src/pages/Casino/Index","./src/pages/Casino/[Slug].spec.ts","./src/pages/Casino/[Slug]","./src/pages/FavoritesTest","./src/pages/Index","./src/pages/IpBlockedVpnTest","./src/pages/ModalTest","./src/pages/Promotions/Index","./src/pages/Promotions/PromotionsPages.spec.ts","./src/pages/Promotions/[Slug]","./src/pages/Providers/Index","./src/pages/Providers/ProvidersPages.spec.ts","./src/pages/Providers/[Slug]","./src/pages/PrudentialLimitsTest","./src/pages/Recover","./src/pages/Ref/[Id]","./src/pages/RulesBetting.spec.ts","./src/pages/RulesBetting","./src/pages/SessionExpiredTest","./src/pages/SlugTest/[Slug]","./src/pages/Sports/Esports/[...page]","./src/pages/Sports/[...page]","./src/pages/User/Account/Account.spec.ts","./src/pages/User/Account/Document.spec.ts","./src/pages/User/Account/Document","./src/pages/User/Account/Index","./src/pages/User/Account/Password","./src/pages/User/Gamification/Badges","./src/pages/User/Gamification/Index.spec.ts","./src/pages/User/Gamification/Index","./src/pages/User/Gamification/MiniGames.spec.ts","./src/pages/User/Gamification/MiniGames","./src/pages/User/Gamification/Missions","./src/pages/User/Gamification/Niveis.spec.ts","./src/pages/User/Gamification/Niveis","./src/pages/User/Gamification/Shop","./src/pages/User/Gamification/Tournaments.spec.ts","./src/pages/User/Gamification/Tournaments","./src/pages/User/Indications/Index.spec.ts","./src/pages/User/Indications/Index","./src/pages/User/Indications/referral.ts","./src/pages/User/Promotion/Coupon.spec.ts","./src/pages/User/Promotion/Coupon","./src/pages/User/Promotion/Index","./src/pages/User/Promotion/Promotion.spec.ts","./src/pages/User/Promotion/Rewards.spec.ts","./src/pages/User/Promotion/Rewards","./src/pages/User/Protection/Centralized","./src/pages/User/Protection/Exclusion","./src/pages/User/Protection/Index","./src/pages/User/Protection/Suspension","./src/pages/User/Wallet/AnnualStatement.spec.ts","./src/pages/User/Wallet/AnnualStatement","./src/pages/User/Wallet/Deposit/Deposit.spec.ts","./src/pages/User/Wallet/Deposit/Index","./src/pages/User/Wallet/Index.spec.ts","./src/pages/User/Wallet/Index","./src/pages/User/Wallet/Withdraw/Index","./src/pages/User/Wallet/Withdraw/Withdraw.spec.ts","./src/pages/VuetifyTest","./src/pages/[Regulations]","./src/pages/play/[Id]","./src/pages/play/[Provider]/[Name]"]',VITE_TARGET:"production"};let tf=!1;function lC(){return typeof window<"u"}function tN(){return tf}function Rh(e){return e.VITE_GTM_DEBUG==="true"}function nN(e){const t=e?.trim();return!!t&&t!=="null"&&t!=="undefined"}function oN(e,t){const n=e?X2[e]:void 0;return n?`${n.src}?${n.query}`:nN(t)?`https://www.googletagmanager.com/gtm.js?id=${encodeURIComponent(t.trim())}`:null}function cC(){return window.dataLayer=window.dataLayer||[],window.dataLayer}function rN(e){const t=document.createElement("script");t.async=!0,t.src=e,document.head.appendChild(t)}function sN(e,t=iC){if(!lC())return!1;if(tf)return!0;if(t.VITE_GTM_ENABLED==="false")return!1;const n=oN(t.VITE_BRAND,e);return n?(cC().push({"gtm.start":new Date().getTime(),event:"gtm.js"}),rN(n),tf=!0,Rh(t)&&console.info(`[gtm] container injected from ${n}`),!0):(Rh(t)&&console.warn("[gtm] skipped: no custom loader for brand and no valid pixel_gtm container id"),!1)}function aN(e,t=iC,n){return!lC()||!Em()?!1:sN(e,t)}const iN=3600*24*7,uC="params",lN={utm_source:"utm_source",utm_medium:"utm_medium",utm_campaign:"utm_campaign",utm_content:"utm_content",utm_term:"utm_term",src:"src",btag:"btag",code:"code",clickid:"clickid",placement:"placement",afp:"afp",afp1:"afp1",afp2:"afp2",afp3:"afp3",afp4:"afp4",afp5:"afp5",afp6:"afp6",afp7:"afp7",afp8:"afp8",afp9:"afp9",shareCode:"shareCode",source_id:"source_id",event_id:"event_id",campaign_id:"campaign_id",gclid:"gclid",subid:"subid",ref:"referrer_id",fbc:"_fbc",fbp:"_fbp"},cN=512;function uN(){const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"}function Oh(e,t){try{window.localStorage.setItem(e,t)}catch{}const n=uN();hc(e,t,{maxAge:iN,sameSite:n?"Lax":"None",secure:!n})}function dN(e){const t=e.split(".");return t.length<4?null:t.slice(2).join(".")||null}function fN(e){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search),n={};for(const[s,a]of t.entries()){const i=a.trim().slice(0,cN);if(!i)continue;n[s]=i;const l=lN[s];l&&Oh(l,i)}const o=us("_ga"),r=o?dN(o):null;r&&(Oh("client_id",r),n.client_id=r);for(const[s,a]of[["_fbc","fbc"],["_fbp","fbp"]]){if(n[a])continue;const i=Ys(s);i&&(n[a]=i)}if(Object.keys(n).length!==0)try{window.localStorage.setItem(uC,JSON.stringify(n))}catch{}}function Ys(e){if(typeof window>"u")return null;try{const t=window.localStorage.getItem(e);if(t)return t}catch{}return us(e)||null}function mN(){if(typeof window>"u")return{};try{const e=window.localStorage.getItem(uC);if(!e)return{};const t=JSON.parse(e);return!t||typeof t!="object"||Array.isArray(t)?{}:t}catch{return{}}}function pN(e={}){const t=[{key:"casino",itemCount:4}];return e.sportsEnabled!==!1&&t.push({key:"sports",itemCount:3}),t}function RX(){return[{id:"fallback-popular",name:"Populares",slug:"populares",games:[]},{id:"fallback-slots",name:"Slots",slug:"slots",games:[]},{id:"fallback-live",name:"Ao Vivo",slug:"ao-vivo",games:[]}]}const Ul={settings:"casino:settings-projection",categories:"casino:home-categories",providers:"casino:home-providers",promotions:"casino:home-promotions",banners:"casino:home-banners"},vN=1440*60*1e3;function dC(){return typeof window<"u"&&typeof window.sessionStorage<"u"}function fC(e){if(!dC())return null;try{const t=window.sessionStorage.getItem(e);if(!t)return null;const n=JSON.parse(t);return!n||typeof n!="object"||typeof n.expiresAt!="number"?null:n.expiresAt<=Date.now()?(window.sessionStorage.removeItem(e),null):n.value}catch{return null}}function mC(e,t,n=vN){if(dC())try{const o={value:t,expiresAt:Date.now()+n};window.sessionStorage.setItem(e,JSON.stringify(o))}catch{}}const pC=.45,hN="#1c1c20",gN="#fcfcfc",bN="28, 28, 32",yN="252, 252, 252";function _N(e){const t=e.trim();if(t.length===4||t.length===5){const n=t[1],o=t[2],r=t[3];return`#${n}${n}${o}${o}${r}${r}`}return t.length===9?t.slice(0,7):t}function vC(e){const t=_N(e),n=a=>{const i=a/255;return i<=.03928?i/12.92:((i+.055)/1.055)**2.4},o=n(Number.parseInt(t.slice(1,3),16)),r=n(Number.parseInt(t.slice(3,5),16)),s=n(Number.parseInt(t.slice(5,7),16));return .2126*o+.7152*r+.0722*s}function wN(e,t){return vC(e)>pC?hN:gN}function $h(e,t){return vC(e)>pC?bN:yN}const hC="colors_",SN=/^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/;function gC(e){return typeof e=="string"&&SN.test(e)}function xN(e){return e.replace(/_/g,"-").toLowerCase()}function kN(e){const t=e.replace(hC,"");return`--color-brand-${xN(t)}`}function Lo(e){const t=e.trim();if(t.length===4||t.length===5){const n=t[1],o=t[2],r=t[3];return`#${n}${n}${o}${o}${r}${r}`}return t.length===9?t.slice(0,7):t}function Lu(e){const t=Lo(e);if(t.length!==7)return null;const n=Number.parseInt(t.slice(1,3),16),o=Number.parseInt(t.slice(3,5),16),r=Number.parseInt(t.slice(5,7),16);return[n,o,r].some(s=>Number.isNaN(s))?null:`${n}, ${o}, ${r}`}function bC(e){const t=Lo(e),n=parseInt(t.slice(1,3),16)/255,o=parseInt(t.slice(3,5),16)/255,r=parseInt(t.slice(5,7),16)/255,s=Math.max(n,o,r),a=Math.min(n,o,r),i=(s+a)/2;let l=0,c=0;if(s!==a){const u=s-a;switch(c=i>.5?u/(2-s-a):u/(s+a),s){case n:l=(o-r)/u+(o{let p=m;return p<0&&(p+=1),p>1&&(p-=1),p<1/6?d+(f-d)*6*p:p<1/2?f:p<2/3?d+(f-d)*(2/3-p)*6:d};let i,l,c;if(r===0)i=s,l=s,c=s;else{const d=s<.5?s*(1+r):s+r-s*r,f=2*s-d;i=a(f,d,o+1/3),l=a(f,d,o),c=a(f,d,o-1/3)}const u=d=>{const f=Math.round(d*255).toString(16);return f.length===1?`0${f}`:f};return`#${u(i)}${u(l)}${u(c)}`}function Lh(e,t){const[n,o]=bC(e),r=Math.max(0,Math.min(100,t*100));return yC(n,o,r)}function Fs(e,t){const[n,o,r]=bC(e),s=Math.max(0,Math.min(100,r+t*18));return yC(n,o,s)}const EN=12;function CN(e){const t=Lo(e),n=a=>Math.min(255,Math.max(0,a+EN)),o=n(parseInt(t.slice(1,3),16)),r=n(parseInt(t.slice(3,5),16)),s=n(parseInt(t.slice(5,7),16));return`#${o.toString(16).padStart(2,"0")}${r.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}`}function AN(e){const t=e.general_dynamic_buttons;if(!Array.isArray(t))return null;for(const n of t){if(!n||typeof n!="object")continue;const o=n.menus;if(Array.isArray(o))for(const r of o){if(!r||typeof r!="object")continue;const s=r.items;if(Array.isArray(s))for(const a of s){if(!a||typeof a!="object")continue;const i=a.color;if(gC(i))return Lo(i)}}}return null}function TN(e){if(!e||typeof e!="object")return{};const t=e.data;return Array.isArray(t)?t.reduce((n,o)=>{if(!o||typeof o!="object"||Array.isArray(o))return n;for(const[r,s]of Object.entries(o))n[r]=s;return n},{}):{}}function PN(e){const t={};for(const[n,o]of Object.entries(e))n.startsWith(hC)&&gC(o)&&(t[n]=o);return t}function IN(e,t){const n={};for(const[c,u]of Object.entries(e)){const d=Lo(u);n[kN(c)]=d}const o=e.colors_primary?Lo(e.colors_primary):null,r=e.colors_secondary?Lo(e.colors_secondary):null,s=e.colors_background?Lo(e.colors_background):null,a=e.colors_card?Lo(e.colors_card):null;if(o){n["--color-darken-brand-primary"]=Lh(o,.007),n["--color-brighten-brand-primary"]=Fs(o,.5);const c=Lu(o)?.replace(/,\s/g," ");c&&(n["--darken-brand-primary"]=c);const u=Lu(o);u&&(n["--v-theme-primary"]=u,n["--v-theme-on-primary"]=$h(o),n["--color-brand-button-text"]=wN(o))}if(r){n["--color-darken-brand-secondary"]=Lh(r,.007),n["--color-brighten-brand-secondary"]=Fs(r,.5);const c=Lu(r);c&&(n["--v-theme-secondary"]=c,n["--v-theme-on-secondary"]=$h(r))}s&&(n["--color-brand-background-darken"]=Fs(s,-.1),n["--color-brand-background-brighten"]=Fs(s,.3)),a&&(n["--color-brand-card-darken"]=Fs(a,-.1),n["--color-brand-card-brighten"]=CN(a));const i=n["--color-brand-button-cookies"];i&&(n["--color-brand-button"]=i);const l=AN(t);return l?n["--color-brand-dynamic-button"]=l:o&&(n["--color-brand-dynamic-button"]=o),n}function _C(e,t=!1){return Object.keys(e).sort((n,o)=>n.localeCompare(o)).map(n=>`${n}: ${e[n]}${t?" !important":""};`).join(" ")}function RN(e,t){const n=PN(e),o=IN(n,e),r=new Set(Object.keys(n)),s=Object.fromEntries(Object.entries(e).filter(([i])=>!r.has(i))),a=n.colors_primary??n.colors_topbar??null;return{settingsTheme:{rawColors:n,cssVariables:o,cssText:_C(o),themeColor:a},settingsBusiness:{values:s},source:t,fetchedAt:new Date().toISOString()}}function ON(e,t){return RN(TN(e),t)}function $N(e){if(!e.cssText||typeof document>"u")return;const t=_C(e.cssVariables,!0),n=["html:root","html:root[data-theme='light']","html:root .v-theme--dark","html:root .v-theme--light","html:root[data-theme='light'] .v-theme--dark","html:root[data-theme='light'] .v-theme--light"].join(", ");let o=document.getElementById("casino-settings-theme");if(o||(o=document.createElement("style"),o.id="casino-settings-theme",document.head.appendChild(o)),o.textContent=`${n} { ${t} }`,e.themeColor){let r=document.querySelector('meta[name="theme-color"]');r||(r=document.createElement("meta"),r.name="theme-color",document.head.appendChild(r)),r.content=e.themeColor}}function Dh(){return{settingsTheme:{rawColors:{},cssVariables:{},cssText:"",themeColor:null},settingsBusiness:{values:{}},source:"fallback",fetchedAt:""}}function wC(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e;if(Array.isArray(t.login)||Array.isArray(t.password_recovery))return t;const n=t.images??t.modal_banners??t.modalBanners;if(n&&typeof n=="object"&&!Array.isArray(n))return n;const o=t.data;return o&&typeof o=="object"&&!Array.isArray(o)?wC(o):null}const Ze=Hn("settings",{state:()=>({...Dh(),modalBanners:null,modalBannersLoaded:!1}),getters:{theme:e=>e.settingsTheme,business:e=>e.settingsBusiness.values,hasSettings:e=>Object.keys(e.settingsBusiness.values).length>0||Object.keys(e.settingsTheme.cssVariables).length>0,hasRemoteSettings:e=>e.source==="remote"||e.source==="cache",getBusinessValue:e=>t=>e.settingsBusiness.values[t]},actions:{setProjection(e){this.settingsTheme=e.settingsTheme,this.settingsBusiness=e.settingsBusiness,this.source=e.source,this.fetchedAt=e.fetchedAt,(e.source==="remote"||e.source==="cache")&&mC(Ul.settings,e)},restoreFromSessionCache(){const e=fC(Ul.settings);return e?(this.settingsTheme=e.settingsTheme,this.settingsBusiness=e.settingsBusiness,this.source="cache",this.fetchedAt=e.fetchedAt,!0):!1},mergeBusinessValues(e){this.settingsBusiness.values={...this.settingsBusiness.values,...e}},clearProjection(){Object.assign(this,Dh()),this.modalBanners=null,this.modalBannersLoaded=!1},async fetchModalBanners(e=!1){if(!(this.modalBannersLoaded&&!e)){try{const{data:t}=await Ye.get("/api/modal-images"),n=wC(t);n&&(this.modalBanners=n)}catch{}this.modalBannersLoaded=!0}},async fetchProjection(e=!1){if(!(this.hasRemoteSettings&&!e))try{const{data:t}=await Ye.get("/api/settings/basic"),n=ON(t,"remote");this.setProjection(n),this.reapplyTheme()}catch(t){this.hasRemoteSettings||this.restoreFromSessionCache(),We.warning(`Settings projection fetch failed: ${t instanceof Error?t.message:String(t)}`,{tag:"capacitor/settings"})}},reapplyTheme(){this.settingsTheme.cssText&&$N(this.settingsTheme)}}});let Pi=null;function LN(){const e=at().profile;return e?{id:String(e.id),name:e.name,email:e.email,phone:e.phone,kyc_status:e.status==="Ativo",has_2fa_enabled:!1}:null}function SC(){const e=Ze(),t=e.business.pixel_gtm??null;return aN(t)?(Pi?.(),Pi=null,!0):(!Pi&&Em()&&(Pi=e.$subscribe(()=>{SC()},{flush:"sync"})),!1)}async function xC(){if(typeof window>"u")return;Z2(LN),SC(),await G2()&&sC()}function DN(){const e=at().profile,t=Ys("source_id"),n=Ys("event_id"),o=Ys("campaign_id"),r=Ys("referrer_id");ef("sign_up",{birthday:e?.birthday,gender:e?.gender===0?"female":e?.gender===1?"male":!1,...t&&{source_id:t},...n&&{event_id:n},...o&&{campaign_id:o},...r&&{referrer_id:r}})}const kC="casino-auth-session";let Vh=!1,ca=null;function EC(){return typeof window<"u"}function Du(e){if(EC())try{!ca&&typeof BroadcastChannel<"u"&&(ca=new BroadcastChannel(kC)),ca?.postMessage({type:e,at:Date.now()})}catch{}}const pt=Hn("auth",{state:()=>({loading:!1,loginLoading:!1,recoverLoading:!1,registerLoading:!1,documentValidating:!1,initialized:!1,sessionExpired:!1,sportsbookToken:null,impedimentError:null,userIp:null}),getters:{isAuthenticated:()=>at().hasUser},actions:{async checkAuth(e){if(!this.loading&&!(this.initialized&&!e?.force)){this.loading=!0;try{await at().getUser(),this.isAuthenticated?(this.sessionExpired=!1,sC()):(this.clearSessionExpired(),jl(null))}finally{this.initialized=!0,this.loading=!1}}},async fetchSportsbookToken(){if(!this.isAuthenticated){this.sportsbookToken=null;return}try{const{data:e}=await Ye.get("/api/generate-token");this.sportsbookToken=e.token??null}catch{this.sportsbookToken=null}},async login(e,t){this.loginLoading=!0;try{await Ye.get("/api/csrf");try{await Ye.post("/api/login",{email:e,password:t})}catch(n){if(ym(n)&&n.response?.status===403&&n.response.data?.impeded){this.impedimentError=n.response.data.error??null;return}throw n}await this.checkAuth({force:!0}),this.clearSessionExpired(),this.isAuthenticated&&(await Pt().refreshStatus({force:!0}),await this.fetchSportsbookToken(),M(async()=>{const{triggerPostLoginKycActions:n}=await import("./post-login-DFV1aeVU.js");return{triggerPostLoginKycActions:n}},[]).then(({triggerPostLoginKycActions:n})=>n()).catch(()=>{})),Du("login")}finally{this.loginLoading=!1}},async requestPasswordReset(e){this.recoverLoading=!0;try{const{data:t}=await Ye.post("/api/password/email",{email:e.trim()});return t}finally{this.recoverLoading=!1}},async validateDocument(e){const t=yo(e);if(!t)throw new Error("Document required");this.documentValidating=!0;try{const{data:n}=await Ye.post("/api/validate/document",{document:t});if(n?.success===!1){const o=typeof n.errors=="string"?n.errors:n.message||"Document validation failed";throw new Error(o)}if(!n?.name)throw new Error(n?.message||"Document validation failed");return{name:n.name,birthday:n.birthday??""}}finally{this.documentValidating=!1}},async register(e){this.registerLoading=!0;try{await Ye.get("/api/csrf");const t=M2(e),{data:n}=await Ye.post("/api/register",t);if(n?.success===!1){const o=new Error(n.message||"Registration failed");throw o.fieldErrors=Ph(n.errors),o}if(n?.data?.impeded||n?.impeded)throw new Error(n?.data?.message||n?.message||"Registration blocked");V2(),await this.autoLoginAfterRegister(e.email.trim(),e.password),DN()}catch(t){const n=t;if(n.response?.status===422&&n.response.data?.errors){const o=new Error(n.response.data.message||"Validation failed");throw o.fieldErrors=Ph(n.response.data.errors),o}throw t}finally{this.registerLoading=!1}},async autoLoginAfterRegister(e,t){for(let n=1;n<=N2;n++){n>1&&await new Promise(o=>setTimeout(o,F2*(n-1)));try{if(await this.login(e,t),this.isAuthenticated)return}catch{}}throw new oC},async resetPasswordWithToken(e){const{data:t}=await Ye.post("/api/password/reset",e);if(t?.success===!1)throw new Error(t.message||"Password reset failed");return await this.login(e.email,e.password),Ge().closeModal("login"),t},applyLoggedOutState(e){Pt().clear(),at().clearUser(),jl(null),this.sportsbookToken=null,this.userIp=null,this.loading=!1,this.initialized=!0,this.sessionExpired=e?.sessionExpired??!1,e&&(e.router&&e.router.push("/"),e.openLoginModal&&Ge().setModal({name:"login"}))},async logout(e){return Ye.post("/api/logout").finally(()=>{this.applyLoggedOutState({router:e}),Du("logout")})},handleUnauthorized(e){const t=at().hasUser;if(!t){this.applyLoggedOutState({router:e,sessionExpired:!1});return}at().getUser().then(n=>{if(n)return;const o=t||this.sessionExpired;this.applyLoggedOutState({router:e,sessionExpired:o}),Du("logout")})},clearSessionExpired(){this.sessionExpired=!1},clearImpedimentError(){this.impedimentError=null},async refreshUserIp(){try{const{data:e}=await Ye.get("/get-ip");this.userIp=e?.userIP??null}catch(e){this.userIp=null,We.error(`Failed to refresh user ip: ${String(e)}`,{tag:"AUTH"})}},setupClientSessionSync(){if(!EC()||Vh)return;Vh=!0;const e=()=>{this.sessionExpired||this.isAuthenticated||this.checkAuth({force:!0})},t=n=>{if(n==="login"){this.checkAuth({force:!0}).then(()=>{this.isAuthenticated&&(Pt().refreshStatus({force:!0}),this.fetchSportsbookToken())});return}n==="logout"&&this.applyLoggedOutState()};try{typeof BroadcastChannel<"u"&&(ca=new BroadcastChannel(kC),ca.addEventListener("message",n=>{t(n.data?.type)}))}catch{}window.addEventListener("focus",e),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&e()})}}}),Ye=xm;function VN(e){return!e||typeof e!="object"||Array.isArray(e)?!1:e.status==="ip_blocked"}function Mh(e){VN(e)&&M(async()=>{const{kycStore:t}=await Promise.resolve().then(()=>KN);return{kycStore:t}},void 0).then(({kycStore:t})=>{t().markIpBlocked()})}NB(()=>{pt().handleUnauthorized()});Ye.interceptors.response.use(e=>(Eh(e.headers),Mh(e.data),e),e=>(e.response?.headers&&Eh(e.response.headers),Mh(e.response?.data),Promise.reject(e)));Ye.interceptors.request.use(e=>{const t=pt().userIp;return t&&(e.headers["User-Ip"]=t),e});function MN(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Nc(e){return MN(e)?e:null}function Am(e){return e?.user_status??e?.status??""}function CC(e){const t=e.provider?.toLowerCase().trim();return t||(e.url?.includes("cadastro.io")?"caf":"legitimuz")}function AC(e,t){return{providerId:e,isApproved:!1,userStatus:"",isVpnDetected:!1,kycUrl:"",transactionId:"",capabilities:{...t},providerState:null}}const nf={usesIframeForOnboarding:!0,supportsFaceIdPending:!1,supportsDocumentKyc:!0};function BN(e){if(!e)return null;const t=Am(e);return{providerId:"caf",isApproved:!!e.isApproved,userStatus:t,isVpnDetected:t==="ip_blocked",kycUrl:e.url??"",transactionId:e.transactionId??"",capabilities:{...nf},providerState:e.cafOnboarding??null}}const Bh={id:"caf",capabilities:{...nf},parseResponse(e){const t=Nc(e),n=BN(t);return n||AC("caf",{...nf})}},of={usesIframeForOnboarding:!1,supportsFaceIdPending:!0,supportsDocumentKyc:!0};function NN(e){if(!e)return null;const t=Am(e);return{providerId:"legitimuz",isApproved:!!e.isApproved,userStatus:t,isVpnDetected:t==="ip_blocked",kycUrl:e.url??"",transactionId:e.transactionId??"",capabilities:{...of},providerState:null}}const Nh={id:"legitimuz",capabilities:{...of},parseResponse(e){const t=Nc(e),n=NN(t);return n||AC("legitimuz",{...of})}},FN={usesIframeForOnboarding:!1,supportsFaceIdPending:!0,supportsDocumentKyc:!0},Fh={id:"_fallback",capabilities:{...FN},parseResponse(e){const t=Nc(e),n=t?CC(t):"",o=Am(t);return{providerId:n,isApproved:!!t?.isApproved,userStatus:o,isVpnDetected:o==="ip_blocked",kycUrl:t?.url??"",transactionId:t?.transactionId??"",capabilities:{usesIframeForOnboarding:!!t?.url,supportsFaceIdPending:o==="pending_face_id",supportsDocumentKyc:!0},providerState:t?.cafOnboarding??null}}},jN={[Bh.id]:Bh,[Nh.id]:Nh};function UN(e){return e?jN[e]??Fh:Fh}function zN(e){const t=Nc(e);if(!t)return null;const n=CC(t);return UN(n).parseResponse(e)}function jh(){return{providerId:"",isApproved:!0,userStatus:"approved",isVpnDetected:!1,kycUrl:"",transactionId:"",capabilities:{usesIframeForOnboarding:!1,supportsFaceIdPending:!1,supportsDocumentKyc:!1},providerState:null}}let Ii=null;const HN={usesIframeForOnboarding:!1,supportsFaceIdPending:!0,supportsDocumentKyc:!0},Pt=Hn("kyc",{state:()=>({snapshot:null,isRefreshing:!1}),getters:{isApproved:e=>e.snapshot?.isApproved??!1,userStatus:e=>e.snapshot?.userStatus??"",isVPNDetected:e=>e.snapshot?.isVpnDetected??!1,providerId:e=>e.snapshot?.providerId??"",kycUrl:e=>e.snapshot?.kycUrl??"",transactionId:e=>e.snapshot?.transactionId??"",capabilities:e=>e.snapshot?.capabilities??null,providerState:e=>e.snapshot?.providerState??null,isPendingFaceId:e=>e.snapshot?.userStatus==="pending_face_id",isPendingKyc:e=>e.snapshot?.userStatus==="pending_kyc"},actions:{hydrateFromSsr(e){this.snapshot=e},clear(){this.snapshot=null,this.isRefreshing=!1},markIpBlocked(){const e=this.snapshot??jh();this.snapshot={...e,isApproved:!1,userStatus:"ip_blocked",isVpnDetected:!0,capabilities:this.snapshot?.capabilities??HN}},scheduleDebouncedRefresh(){Ii&&clearTimeout(Ii),Ii=setTimeout(()=>{Ii=null,this.refreshStatus()},1e3)},async refreshStatusDetailed(e){const t=e?.force??!1;if(this.isRefreshing&&!t)return{ok:!0,isApproved:this.snapshot?.isApproved??!1};this.isRefreshing=!0;try{const{data:n}=await Ye.get("/api/kyc/onboarding",{params:{method:"full"}}),o=zN(n);return o&&(this.snapshot=o),{ok:!0,isApproved:this.snapshot?.isApproved??!1}}catch(n){if(kt.isAxiosError(n)&&n.response?.status===404)return this.snapshot=jh(),{ok:!0,isApproved:!0};const o=kt.isAxiosError(n)?n.response?.data?.message??n.message:n instanceof Error?n.message:String(n);return{ok:!1,isApproved:this.snapshot?.isApproved??!1,error:o||"Failed to refresh KYC status"}}finally{this.isRefreshing=!1}},async refreshStatus(e){return(await this.refreshStatusDetailed(e)).isApproved}}}),KN=Object.freeze(Object.defineProperty({__proto__:null,kycStore:Pt},Symbol.toStringTag,{value:"Module"}));function go(e){typeof window>"u"||Ge().showAlert(e.variant,e.message,{timeout:4500})}async function WN(){const{data:e}=await Ye.get("/api/caf/token");return e}async function qN(e){const{data:t}=await Ye.post("/api/caf/validate",{attestation:e});return t}function GN(){return ps(Ka())||wn}function YN(e){const t=GN();return{mobileToken:e,throwOnRecall:!1,language:t,enableTimer:!0,timerPosition:"UP",enableLocationRetry:!1,modalSize:"small",compactMode:!0,reduceAnimations:!0,theme:{closeButton:"#2d2d2d",checkmark:"#2d2d2d",loader:"#2d2d2d",buttonSuccessColor:"#2d2d2d",buttonSuccessTextColor:"#ffffff",inputSuccessColor:"#ffffff",buttonFinishColor:"#2d2d2d",timerBackgroundColor:"#2d2d2d",timerColor:"#ffffff",modalBackgroundColor:"#2d2d2d",textColor:"#ffffff",fontSize:"14px",buttonHeight:"40px",inputHeight:"40px",padding:"16px",borderRadius:"6px"},faceLivenessSettings:{startButton:{label:T("kyc.caf.liveness.start-button"),color:"#ffffff",backgroundColor:"#2d2d2d",borderRadius:"6px",border:"1px solid #ffffff",height:"40px",fontSize:"14px"},titleText:T("kyc.caf.liveness.title"),subtitleText:T("kyc.caf.liveness.subtitle"),descriptionText:T("kyc.caf.liveness.description"),modalWidth:"90%",maxWidth:"400px",padding:"16px"},metadata:JSON.stringify({timestamp:new Date().toISOString(),source:"caf-verification-sdk"})}}const Vu=new Map;function Fc(e){if(typeof document>"u"||e.alreadyLoaded?.())return Promise.resolve();const t=Vu.get(e.src);if(t)return t.promise;let n=()=>{};const o=new Promise((r,s)=>{n=s;const a=document.createElement("script");a.src=e.src,a.type="text/javascript",a.async=e.async??!0,a.defer=!0,a.addEventListener("load",()=>r(),{once:!0}),a.addEventListener("error",()=>{Vu.delete(e.src),a.remove();const l=e.errorFactory?e.errorFactory(e.src):new Error(`Script failed to load: ${e.src}`);s(l)},{once:!0}),(e.parent==="body"?document.body:document.head).appendChild(a)});return Vu.set(e.src,{promise:o,reject:n}),o}const Jn="KYC:CAF",JN="@combateafraude/identity-sdk",XN="https://repo.combateafraude.com/identity/1.0.0/index.umd.js";function Mu(){if(typeof window>"u")return;const e=window[JN];if(e&&typeof e=="object"&&e!==null&&"Sdk"in e)return e}const Ri="caf_tokens",ZN=300*1e3,Oi=U(!1),fo=U(!1),Br=U(null),$i=U(!1),Li=U("");function Jt(e){go({variant:"error",message:e})}function Uh(){return""}function QN(){return""}function Tm(){const e=at(),t=Pt(),n=A(()=>e.hasUser),o=b=>{const S=Br.value;if(!S)return null;const E=b;return S.isSdkError(E)?null:E},r=()=>{try{const b=sessionStorage.getItem(Ri);if(!b)return null;const S=JSON.parse(b);return Date.now()>=S.expires_at?(sessionStorage.removeItem(Ri),null):S}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`Failed to parse cached CAF tokens: ${S}`,{tag:Jn}),sessionStorage.removeItem(Ri),null}},s=async()=>{try{if(!n.value)throw new Error("No authenticated session");const b=await WN(),S=b.id_token||b.token,E=b.mobile_token||b.token,O=b.expires_in??3600;if(!S||!E)throw new Error("Missing required tokens in response");const R=Date.now(),L=R+O*1e3-ZN,D={id_token:S,mobile_token:E,expires_at:L,fetched_at:R};return sessionStorage.setItem(Ri,JSON.stringify(D)),D}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`Failed to fetch CAF tokens: ${S}`,{tag:Jn}),Jt(T("kyc.caf.notify.tokens-error-generic")),null}},a=async()=>{const b=r();return b||await s()},i=async()=>{if(Oi.value)return!0;try{return Mu()?.Sdk?(Oi.value=!0,!0):(await Fc({src:XN,parent:"head",alreadyLoaded:()=>!!Mu()?.Sdk}),Oi.value=!0,!0)}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`Failed to load CAF SDK script: ${S}`,{tag:Jn}),!1}},l=async()=>{try{if(!Oi.value&&!await i())return!1;const b=await a();if(!b)return!1;const S=Mu()?.Sdk;if(!S)return!1;const E=YN(b.mobile_token);return Br.value=new S(b.id_token,E),await new Promise(O=>setTimeout(O,1e3)),!0}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`Failed to initialize CAF SDK: ${S}`,{tag:Jn}),!1}},c=new Set,u=b=>(c.add(b),()=>{c.delete(b)}),d=(b,S)=>{n.value&&(Li.value=b,$i.value=!0,S&&c.add(S))},f=async()=>{$i.value=!1,Li.value="",c.clear()},m=async()=>{$i.value=!1,Li.value="";const b=[...c];c.clear(),b.length!==0&&setTimeout(()=>{b.forEach(S=>S())},1e3)},p=async(b,S)=>{if(!Br.value&&!await l())return null;const E=await Br.value.verifyPolicy(b,S);return o(E)},h=async(b,S)=>{try{fo.value=!0;const E=S||Uh(),O=await p(b,E);return O||(Jt(T("kyc.caf.notify.identity-verification-error")),null)}catch(E){const O=E instanceof Error?E.message:String(E);return We.error(`verifyPolicy failed: ${O}`,{tag:Jn}),Jt(T("kyc.caf.notify.verification-error-generic")),null}finally{fo.value=!1}},v=async b=>{try{fo.value=!0;const S=QN(),E=await p(b,S);return E?E.isAuthorized?E:{isAuthorized:!0,attestation:"geolocation_timeout_fallback",attemptId:`timeout_${Date.now()}`}:null}catch(S){const E=S instanceof Error?S.message:String(S);return We.error(`Geolocation verification failed, falling back to authorized: ${E}`,{tag:Jn}),{isAuthorized:!0,attestation:"geolocation_error_fallback",attemptId:`error_${Date.now()}`}}finally{fo.value=!1}},y=async(b,S={})=>{const{onSuccess:E,onError:O}=S;if(fo.value)return{success:!1,error:T("kyc.caf.notify.verification-in-progress")};fo.value=!0;try{if(!b){const D=T("kyc.caf.notify.cpf-required");return Jt(D),O?.(D),{success:!1,error:D}}if(!Br.value&&!await l()){const I=T("kyc.caf.notify.sdk-init-failed");return Jt(I),O?.(I),{success:!1,error:I}}const R=Uh(),L=await p(b,R);if(!L){const D=T("kyc.caf.notify.identity-verification-error");return Jt(D),O?.(D),{success:!1,error:D}}if(L&&L.isAuthorized){if(!L.attestation){const D=T("kyc.caf.notify.attestation-missing");return Jt(D),O?.(D),{success:!1,error:D}}try{const D=await qN(L.attestation);if(D.success)return E?.(),{success:!0};{const I=D.error||T("kyc.caf.notify.validation-failed-generic");return Jt(I),O?.(I),{success:!1,error:I}}}catch(D){const I=D instanceof Error?D.message:String(D);We.error(`CAF attestation validation request failed: ${I}`,{tag:Jn});const V=T("kyc.caf.notify.validation-server-error");return Jt(V),O?.(V),{success:!1,error:V}}}else{const D=T("kyc.caf.notify.user-not-authorized");return Jt(D),O?.(D),{success:!1,error:D}}}catch(R){const L=R instanceof Error?R.message:String(R);We.error(`performCafVerification top-level failure: ${L}`,{tag:Jn});const D=T("kyc.caf.notify.start-verification-error");return Jt(D),O?.(D),{success:!1,error:D}}finally{fo.value=!1}},k=async()=>{try{if(!e.profile)return!1;const b=e.profile.document?.number||e.profile.email||"unknown";return!await a()||!Br.value&&!await l()?!1:(await v(b))?.isAuthorized??!1}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`triggerGeolocationVerification failed: ${S}`,{tag:Jn}),!1}},_=async()=>{if(n.value)try{if(await t.refreshStatus({force:!0}),t.isApproved)return;if(t.kycUrl){d(t.kycUrl);return}(t.isPendingKyc||t.isPendingFaceId)&&Jt(T("kyc.caf.notify.verification-url-missing"))}catch(b){const S=b instanceof Error?b.message:String(b);We.error(`checkAndShowIframe failed: ${S}`,{tag:Jn})}},g=async()=>{if(fo.value||!n.value)return!1;try{if(fo.value=!0,!e.profile?.document?.number)return Jt(T("kyc.caf.notify.face-cpf-required")),!1;if(await t.refreshStatus({force:!0}),t.isApproved)return!0;const S=t.kycUrl;return S?(d(S),!0):(Jt(T("kyc.caf.notify.verification-url-missing")),!1)}catch(b){const S=b instanceof Error?b.message:String(b);return We.error(`Face verification start failed: ${S}`,{tag:Jn}),Jt(T("kyc.caf.notify.face-start-error-generic")),!1}finally{fo.value=!1}};return{showIframe:So($i),iframeUrl:So(Li),closeCafIframe:f,completeCafIframe:m,registerIframeCompleteHandler:u,showCafIframe:d,checkAndShowIframe:_,performCafVerification:y,verifyPolicy:h,verifyGeolocation:v,triggerGeolocationVerification:k,triggerCafFaceVerification:g}}const eF=["src","title"],Bu="kyc-caf-iframe",tF=Ae({__name:"CafIframeDialog",setup(e){const t=Ge(),n=Pt(),o=Tm();le(()=>o.showIframe.value,l=>{l?t.setModal({name:Bu}):t.closeModal(Bu)},{immediate:!0});async function r(){await o.closeCafIframe()}const s=["combateafraude.com","caf.io"];function a(l){try{const{hostname:c}=new URL(l);return s.some(u=>c===u||c.endsWith(`.${u}`))}catch{return!1}}function i(l){a(l.origin??"")&&l.data&&typeof l.data=="object"&&l.data!==null&&"type"in l.data&&l.data.type==="verification_complete"&&(n.refreshStatus({force:!0}),o.completeCafIframe())}return ut(()=>window.addEventListener("message",i)),xo(()=>window.removeEventListener("message",i)),(l,c)=>{const u=Eo;return B(),ge(u,{name:Bu,title:C(T)("kyc.modal.title"),"max-width":"min(600px, 95vw)",padding:"none",onClose:r},{default:q(()=>[C(o).iframeUrl.value?(B(),oe("iframe",{key:0,src:C(o).iframeUrl.value,class:"kyc-caf-iframe-dialog__iframe",title:C(T)("kyc.modal.title"),allow:"geolocation;camera;fullscreen;accelerometer;gyroscope;magnetometer;"},null,8,eF)):he("",!0)]),_:1},8,["title"])}}}),nF=Qe(tF,[["__scopeId","data-v-6940a37c"]]),oF={id:"caf",component:nF,requiresPostVerificationConfirm:!0,async onPostLogin(){await Tm().triggerGeolocationVerification()}};function rF(){const e=Tm(),t=Pt(),n=new Set;let o=null;const r=U(!1);return{id:"caf",isVerifying:A(()=>e.showIframe.value||r.value),async start(s){if(await t.refreshStatus({force:!0}),s.forceReverify){const i=at().profile?.document?.number??"";r.value=!0;try{await e.performCafVerification(i,{onSuccess:()=>n.forEach(l=>l())})}finally{r.value=!1}return}const a=t.kycUrl;if(!a){go({variant:"error",message:T("kyc.caf.notify.verification-url-missing")});return}o?.(),o=e.registerIframeCompleteHandler(()=>{n.forEach(i=>i())}),e.showCafIframe(a)},cancel(){o?.(),o=null,n.clear(),e.closeCafIframe()},destroy(){o?.(),o=null,n.clear()},onSuccess(s){return n.add(s),()=>{n.delete(s)}}}}function sF(){const t=(ps(Ka())||wn).split("-")[0]?.toLowerCase();return t&&t.length>=2?t:"pt"}const zh="KYC:LEGITIMUZ",aF="https://cdn.legitimuz.com/js/sdk/legitimuz-sdk.js";function iF(){return""}function Nu(){return typeof document<"u"}const Di=U(null),Hh=U(!1),js=U(""),lF=U(!1),Vi=U(!1);let Kh=!1;function cF(){const e=at(),t=Pt(),{userStatus:n}=Hf(t);Kh||(Kh=!0,le(()=>e.profile,d=>{d&&(js.value=d.document?.number??"")},{immediate:!0}));const o=A(()=>!1),r=()=>{const d="legitimuz-hydrate-cpf";let f=document.getElementById(d);f?f.value=js.value:(f=document.createElement("input"),f.id=d,f.type="tel",f.style.display="none",f.value=js.value,document.body.appendChild(f));const m=(p,h)=>{if(document.getElementById(p))return;const v=document.createElement("button");v.id=p,v.style.display="none",h&&(v.type="button"),document.body.appendChild(v)};if(m("legitimuz-action-verify",!1),m("legitimuz-action-faceindex",!0),!document.getElementById("legitimuz-root")){const p=document.createElement("div");p.id="legitimuz-root",document.body.appendChild(p)}},s=d=>{o.value&&(r(),Fc({src:aF,parent:"body",alreadyLoaded:()=>typeof window.Legitimuz=="function"}).then(()=>{const f=iF(),m=window.Legitimuz;if(!m){go({variant:"error",message:T("kyc.legitimuz.notify.sdk-unavailable")}),d?.onError?.("sdk-unavailable");return}Di.value=m({host:"https://api.legitimuz.com",token:f,lang:sF(),eventHandler:async h=>{h.name==="facematch"&&(h.status==="success"?(Hh.value=!0,Di.value?.closeModal(),go({variant:"success",message:T("kyc.legitimuz.notify.kyc-success")}),await t.refreshStatus({force:!0}),d?.onSuccess?.()):h.status==="closed"?(go({variant:"info",message:T("kyc.legitimuz.notify.kyc-closed")}),d?.onClosed?.()):(We.error(`KYC verification failed with status: ${h.status}`,{tag:zh}),go({variant:"error",message:T("kyc.legitimuz.notify.kyc-failed-generic")}),d?.onError?.(h.status)))}}),Di.value.mount(),document.getElementById("legitimuz-action-verify")?.click()}).catch(f=>{const m=f instanceof Error?f.message:String(f);We.error(`Failed to load Legitimuz SDK: ${m}`,{tag:zh}),go({variant:"error",message:T("kyc.legitimuz.notify.sdk-load-failed")}),d?.onError?.("sdk-load-failed")}))},a=d=>{Nu()&&s(d)},i=async(d,f)=>{Nu()},l=()=>{if(Vi.value)return;const d=document.getElementById("legitimuz-hydrate-cpf");d&&(d.value=js.value),Vi.value=!0,document.getElementById("legitimuz-action-faceindex")?.click()};return{isLegitimuzEnabled:o,legitimuzVerified:Hh,legitimuzCpf:js,userStatus:n,triggerVerification:a,initVerification:async d=>{if(!Nu())return!0;if((d??e.hasUser)&&o.value){const m=await t.refreshStatus({force:!0});return m?(go({variant:"success",message:T("kyc.legitimuz.notify.already-verified")}),!0):(m||(n.value==="pending_face_id"?(await i(),l()):n.value==="pending_kyc"&&a()),m)}return!0},initFaceIndex:i,triggerFaceIndexVerification:l,closeOverlay:()=>{Di.value?.closeModal(),typeof window<"u"&&window.sdkInstance?.closeModal(),Vi.value=!1},isScriptLoaded:lF,isVerificationInProgress:Vi,isVPNDetected:A(()=>t.isVPNDetected)}}const uF={id:"legitimuz",async onPostLogin(){}},dF=1e4;function fF(){const e=cF(),t=Pt(),n=U(!1),o=new Set;let r=null,s=!1,a=null;const i=()=>{c(),f(),n.value=!1,o.forEach(m=>m())},l=()=>{c(),f(),n.value=!1};function c(){a&&(clearTimeout(a),a=null)}function u(){c(),!(typeof document>"u")&&(a=setTimeout(()=>{a=null,n.value&&(s||document.querySelector(".legitimuz-modal")||(e.closeOverlay(),l(),go({variant:"error",message:T("kyc.legitimuz.notify.sdk-start-timeout")})))},dF))}function d(){typeof document>"u"||(f(),s=!!document.querySelector(".legitimuz-modal"),r=new MutationObserver(()=>{if(!n.value)return;if(document.querySelector(".legitimuz-modal")){s=!0;return}s&&l()}),r.observe(document.body,{childList:!0,subtree:!0}))}function f(){r?.disconnect(),r=null,s=!1}return{id:"legitimuz",isVerifying:A(()=>n.value),async start(m){if(n.value||!e.isLegitimuzEnabled.value)return;if(await t.refreshStatus({force:!0})&&!m.forceReverify){go({variant:"success",message:T("kyc.legitimuz.notify.already-verified")});return}if(n.value=!0,d(),t.isPendingFaceId||m.isPendingFaceId){await e.initFaceIndex(i,l),e.triggerFaceIndexVerification(),u();return}e.triggerVerification({onSuccess:i,onClosed:l,onError:l}),u()},cancel(){c(),f(),e.closeOverlay(),n.value=!1},destroy(){c(),f(),e.closeOverlay(),n.value=!1,o.clear()},onSuccess(m){return o.add(m),()=>{o.delete(m)}},async preload(){e.isLegitimuzEnabled.value&&await e.initFaceIndex()}}}const TC={legitimuz:fF,caf:rF},mF={legitimuz:uF,caf:oF},pF="legitimuz";function vF(e){return typeof e=="string"&&e in TC}function Pm(e){return vF(e)?e:pF}function Im(e){return TC[e]()}function hF(e){return mF[e]}const gF={class:"kyc-verification-modal__body"},bF={class:"kyc-verification-modal__copy"},yF={key:0,class:"kyc-verification-modal__hint"},Fu="kyc-verification",_F=500,wF=Ae({__name:"Index",setup(e){const t=Ge(),n=Pt(),o=U(null);let r=null,s=null;const a=A(()=>Pm(n.providerId)),i=A(()=>hF(a.value).component);function l(){s!==null&&(clearTimeout(s),s=null)}function c(){l(),s=setTimeout(()=>{s=null,t.closeModal(Fu)},_F)}le(a,h=>{l(),r?.(),o.value?.destroy();const v=Im(h);r=v.onSuccess(c),o.value=v},{immediate:!0});const u=A(()=>o.value?.isVerifying??!1),d=A(()=>n.isPendingFaceId?T("kyc.modal.description.face"):T("kyc.modal.description.document")),f=A(()=>n.isPendingFaceId?"fa6-solid:user-shield":"fa6-solid:id-card");function m(){u.value||!o.value||o.value.start({isPendingFaceId:n.isPendingFaceId})}function p(){u.value||(o.value?.cancel(),t.closeModal(Fu))}return xo(()=>{l(),r?.(),o.value?.destroy()}),(h,v)=>{const y=Eo;return B(),oe(xe,null,[x(y,{name:Fu,title:C(T)("kyc.modal.title"),closable:!u.value,persistent:u.value,"max-width":"min(440px, 95vw)",onClose:p},{actions:q(()=>[x(He,{block:"",size:"large",color:"primary",loading:u.value,disabled:u.value,onClick:m},{default:q(()=>[ye(z(u.value?C(T)("kyc.modal.cta-in-progress"):C(T)("kyc.modal.cta")),1)]),_:1},8,["loading","disabled"])]),default:q(()=>[w("div",gF,[x(_e,{icon:f.value,size:"96",class:"kyc-verification-modal__icon","aria-hidden":"true"},null,8,["icon"]),w("p",bF,z(d.value),1),u.value?(B(),oe("p",yF,z(C(T)("kyc.modal.in-progress")),1)):he("",!0)])]),_:1},8,["title","closable","persistent"]),i.value?(B(),ge(ya(i.value),{key:0})):he("",!0)],64)}}}),SF=Qe(wF,[["__scopeId","data-v-7922594a"]]),xF={class:"scrollbar-hide ip-blocked-modal relative flex h-fit w-full transform flex-col gap-4 overflow-y-auto overflow-x-hidden text-center align-middle transition-all sm:max-w-md sm:rounded-md"},kF={class:"relative flex w-full flex-row justify-center pt-5"},EF={class:"flex items-center gap-2"},CF={class:"text-lg font-bold leading-6 text-white"},AF={class:"p-3 md:p-4"},TF={class:"mb-4 text-gray-300"},PF={class:"flex justify-center p-2 pb-6"},Mi="kyc-ip-blocked",IF=Ae({__name:"IpBlockedModal",setup(e){const t=Pt(),n=Ge(),o=U(!1);function r(){n.modals.some(i=>i.name===Mi)||n.setModal({name:Mi})}function s(){n.closeModal(Mi)}async function a(){if(!o.value){o.value=!0;try{if(await t.refreshStatus({force:!0}),!t.isVPNDetected){s();return}n.showAlert("warning",T("kyc.ip-blocked.still-blocked"))}catch{n.showAlert("error",T("kyc.ip-blocked.retry-error"))}finally{o.value=!1}}}return le(()=>t.isVPNDetected,i=>{i?r():s()},{immediate:!0}),gt(()=>{s()}),(i,l)=>{const c=Eo;return B(),ge(c,{name:Mi,closable:!1,persistent:!0},{default:q(()=>[w("div",xF,[w("div",null,[w("div",kF,[w("div",EF,[x(_e,{icon:"fa6-solid:shield-halved",class:"text-red-500",size:"20"}),w("h3",CF,z(C(T)("kyc.ip-blocked.title")),1)])])]),w("div",AF,[w("p",TF,z(C(T)("kyc.ip-blocked.description")),1)]),w("div",PF,[x(He,{type:"button",color:"primary",variant:"flat",class:"font-medium text-white transition-colors disabled:cursor-not-allowed disabled:opacity-50",loading:o.value,disabled:o.value,onClick:a},{default:q(()=>[ye(z(o.value?C(T)("kyc.ip-blocked.processing"):C(T)("kyc.ip-blocked.retry")),1)]),_:1},8,["loading","disabled"])])])]),_:1})}}}),RF=["aria-label"],OF={class:"text-xs"},$F={class:"text-lg font-bold"},LF={key:1,class:"deposit-timer__expired bg-error mb-4 w-full rounded-sm p-2 text-center text-sm font-semibold text-white",role:"alert"},DF=Ae({name:"WalletDepositTimer",__name:"Timer",props:{durationMinutes:{},expiredMessage:{default:""}},emits:["expired"],setup(e,{emit:t}){const n=e,o=t,r=n.durationMinutes*6e4,s=Date.now()+r,a=U(r);let i=null,l=!1;function c(){a.value=Math.max(0,s-Date.now()),a.value===0&&!l&&(l=!0,i&&clearInterval(i),i=null,o("expired"))}const u=A(()=>a.value===0),d=A(()=>String(Math.floor(a.value/6e4)).padStart(2,"0")),f=A(()=>String(Math.floor(a.value%6e4/1e3)).padStart(2,"0"));return ut(()=>{c(),i=setInterval(c,500)}),xo(()=>{i&&clearInterval(i)}),(m,p)=>u.value?(B(),oe("div",LF,z(e.expiredMessage||C(T)("deposit.payment.expired")),1)):(B(),oe("div",{key:0,class:"deposit-timer bg-error mb-4 flex w-full items-center justify-center gap-3 rounded-sm p-2 text-center text-white",role:"timer","aria-label":C(T)("deposit.payment.countdown")},[w("span",OF,z(C(T)("deposit.payment.countdown")),1),w("div",$F,[w("span",null,z(d.value),1),p[0]||(p[0]=ye(" : ",-1)),w("span",null,z(f.value),1)])],8,RF))}});function wt(e){return Number(e).toLocaleString("pt-br",{style:"currency",currency:"BRL"})}function Ir(e){return Number((e??"").replace(/\D/g,""))||0}function OX(e){const t=Ir(e);return t===0?"":wt(t/100)}function sr(){return typeof window>"u"?!1:!!window.Capacitor?.isNativePlatform?.()}async function nn(e){if(sr())return e()}const VF=()=>typeof document<"u"?document.documentElement:null;function MF(){if(typeof document>"u")return 0;const e=document.createElement("div");e.style.cssText="position:fixed;visibility:hidden;pointer-events:none;padding-bottom:env(safe-area-inset-bottom, 0px);",document.body.appendChild(e);const t=parseFloat(getComputedStyle(e).paddingBottom)||0;return e.remove(),t}async function BF(){await nn(async()=>{const e=VF();if(!e)return;try{const{StatusBar:n}=await M(async()=>{const{StatusBar:r}=await import("./index-sZTlNwPP.js");return{StatusBar:r}},__vite__mapDeps([0,1])),o=await n.getInfo();o.height>0&&e.style.setProperty("--app-status-bar-height",`${o.height}px`)}catch{}let t=MF();try{const{Capacitor:n}=await M(async()=>{const{Capacitor:r}=await import("./index-CbygINzJ.js");return{Capacitor:r}},[]),o=n.getPlatform();t<=0&&o==="android"&&(t=24),t<=0&&o==="ios"&&(t=20)}catch{t<=0&&(t=24)}t>0&&e.style.setProperty("--app-navigation-bar-height",`${t}px`)})}async function NF(){return await nn(async()=>{const{Camera:e}=await M(async()=>{const{Camera:o}=await import("./index-DfkBlRfh.js");return{Camera:o}},__vite__mapDeps([2,1]));return(await e.checkPermissions()).camera==="granted"?!0:(await e.requestPermissions({permissions:["camera"]})).camera==="granted"})??!1}async function FF(){return await nn(async()=>{const{Geolocation:e}=await M(async()=>{const{Geolocation:o}=await import("./index-YJItBjGF.js");return{Geolocation:o}},__vite__mapDeps([3,1]));return(await e.checkPermissions()).location==="granted"?!0:(await e.requestPermissions()).location==="granted"})??!1}async function Rm(e){const t=e.trim();if(t){if(sr()){await nn(async()=>{const{Browser:n}=await M(async()=>{const{Browser:o}=await import("./index-CmZpnEbp.js");return{Browser:o}},__vite__mapDeps([4,1]));await n.open({url:t,presentationStyle:"popover"})});return}window.open(t,"_blank","noopener,noreferrer")}}function jF(){if(!sr())return()=>{};const e=t=>{const n=t.target;if(!(n instanceof Element))return;const o=n.closest("a[href]");if(!(o instanceof HTMLAnchorElement)||o.target!=="_blank")return;const r=o.getAttribute("href")?.trim();!r||!/^https?:\/\//i.test(r)||(t.preventDefault(),Rm(r))};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)}async function UF(){await nn(async()=>{const{Haptics:e,NotificationType:t}=await M(async()=>{const{Haptics:n,NotificationType:o}=await import("./index-C8AaOmmy.js");return{Haptics:n,NotificationType:o}},__vite__mapDeps([5,1]));await e.notification({type:t.Success})})}async function zF(){await nn(async()=>{const{Haptics:e,NotificationType:t}=await M(async()=>{const{Haptics:n,NotificationType:o}=await import("./index-C8AaOmmy.js");return{Haptics:n,NotificationType:o}},__vite__mapDeps([5,1]));await e.notification({type:t.Error})})}const Wh="--native-keyboard-offset";async function HF(){return await nn(async()=>{const{Keyboard:t,KeyboardResize:n}=await M(async()=>{const{Keyboard:a,KeyboardResize:i}=await import("./index-DSvCzBa-.js");return{Keyboard:a,KeyboardResize:i}},__vite__mapDeps([6,1]));await t.setResizeMode({mode:n.Body});const o=a=>{document.body.style.setProperty(Wh,`${Math.max(0,a)}px`)},r=await t.addListener("keyboardWillShow",a=>{o(a.keyboardHeight)}),s=await t.addListener("keyboardWillHide",()=>{o(0)});return()=>{r.remove(),s.remove(),document.body.style.removeProperty(Wh)}})??(()=>{})}async function KF(e){return await nn(async()=>{const{Network:n}=await M(async()=>{const{Network:s}=await import("./index-DPc2oKzv.js");return{Network:s}},__vite__mapDeps([7,1])),o=await n.getStatus();e(o.connected);const r=await n.addListener("networkStatusChange",s=>{e(s.connected)});return()=>{r.remove()}})??(()=>{})}const WF=2e4;function PC(e){let t=0;for(let n=0;n>>0;return WF+t%7e4}async function qF(e){await nn(async()=>{const{LocalNotifications:t}=await M(async()=>{const{LocalNotifications:a}=await import("./index-C2f0TCv4.js");return{LocalNotifications:a}},__vite__mapDeps([8,1])),{Capacitor:n}=await M(async()=>{const{Capacitor:a}=await import("./index-CbygINzJ.js");return{Capacitor:a}},[]);if((await t.checkPermissions()).display!=="granted"&&(await t.requestPermissions()).display!=="granted")return;n.getPlatform()==="android"&&await t.createChannel({id:"deposits",name:"Deposits",importance:4,visibility:1});const r=PC(e.depositId),s=new Date(Date.now()+(e.delayMs??300*1e3));await t.schedule({notifications:[{id:r,title:e.title,body:e.body,schedule:{at:s},channelId:"deposits",extra:{depositId:e.depositId}}]})})}async function GF(e){await nn(async()=>{const{LocalNotifications:t}=await M(async()=>{const{LocalNotifications:n}=await import("./index-C2f0TCv4.js");return{LocalNotifications:n}},__vite__mapDeps([8,1]));await t.cancel({notifications:[{id:PC(e)}]})})}async function YF(e){return await nn(async()=>{const{LocalNotifications:n}=await M(async()=>{const{LocalNotifications:r}=await import("./index-C2f0TCv4.js");return{LocalNotifications:r}},__vite__mapDeps([8,1])),o=await n.addListener("localNotificationActionPerformed",r=>{const s=r.notification.extra?.depositId;e(typeof s=="string"?{depositId:s}:{})});return()=>{o.remove()}})??(()=>{})}async function JF(e){return await nn(async()=>{const{PushNotifications:n}=await M(async()=>{const{PushNotifications:i}=await import("./index-DvEOu5zo.js");return{PushNotifications:i}},__vite__mapDeps([9,1])),{Capacitor:o}=await M(async()=>{const{Capacitor:i}=await import("./index-CbygINzJ.js");return{Capacitor:i}},[]);let r=await n.checkPermissions();if(r.receive!=="granted"&&(r=await n.requestPermissions()),r.receive!=="granted")return()=>{};const s=await n.addListener("registration",i=>{e({token:i.value,platform:o.getPlatform()})}),a=await n.addListener("registrationError",()=>{});return await n.register(),()=>{s.remove(),a.remove()}})??(()=>{})}async function XF(e){return await nn(async()=>{const{PushNotifications:n}=await M(async()=>{const{PushNotifications:r}=await import("./index-DvEOu5zo.js");return{PushNotifications:r}},__vite__mapDeps([9,1])),o=await n.addListener("pushNotificationActionPerformed",r=>{const s=r.notification.data,a=typeof s?.url=="string"?s.url:typeof s?.link=="string"?s.link:null;a&&e(a)});return()=>{o.remove()}})??(()=>{})}function ZF(e){const t=e.trim();if(!t)return null;if(t.includes("dp:"))return{kind:"smartico",link:t.replace(/^\/+/,"")};try{const n=new URL(t),o=Object.fromEntries(n.searchParams.entries());if(n.protocol==="http:"||n.protocol==="https:")return{kind:"route",path:n.pathname||"/",query:o};const r=n.pathname||n.host||"/";return{kind:"route",path:r.startsWith("/")?r:`/${r}`,query:o}}catch{if(t.startsWith("/"))return{kind:"route",path:t.split("?")[0]||"/",query:{}}}return null}async function QF(e){const t=[];return await nn(async()=>{const{App:n}=await M(async()=>{const{App:o}=await import("./index-DUEPpHkh.js");return{App:o}},__vite__mapDeps([10,1]));if(e.onForeground||e.onBackground){const o=await n.addListener("appStateChange",({isActive:r})=>{r?e.onForeground?.():e.onBackground?.()});t.push(()=>{o.remove()})}if(e.onBackButton){const o=await n.addListener("backButton",({canGoBack:r})=>{(async()=>await e.onBackButton?.()||(r?window.history.back():await n.minimizeApp()))()});t.push(()=>{o.remove()})}if(e.onDeepLink){const o=await n.addListener("appUrlOpen",({url:s})=>{e.onDeepLink?.(s)});t.push(()=>{o.remove()});const r=await n.getLaunchUrl();r?.url&&e.onDeepLink(r.url)}}),()=>{for(const n of t)n()}}async function ej(){await nn(async()=>{const{SplashScreen:e}=await M(async()=>{const{SplashScreen:o}=await import("./index-CF2Iv0G-.js");return{SplashScreen:o}},__vite__mapDeps([11,1])),{StatusBar:t,Style:n}=await M(async()=>{const{StatusBar:o,Style:r}=await import("./index-sZTlNwPP.js");return{StatusBar:o,Style:r}},__vite__mapDeps([0,1]));await e.hide(),await t.setStyle({style:n.Dark});try{await t.setOverlaysWebView({overlay:!0})}catch{}await BF()})}const tj="user-document";let ju=null;const Uu=U(!1);function Is(){const e=at(),t=Ge();function n(){ju=null,Uu.value=!1}function o(i){Uu.value=i?.persistent??!1,t.setModal({name:tj})}function r(i,l){if(e.hasDocument){i();return}ju=i,o(l)}async function s(){const i=ju;n(),i&&await i()}function a(){n()}return{modalPersistent:Uu,runWithUserDocument:r,openUserDocumentModal:o,completePendingAction:s,cancelPendingAction:a}}const zl=Hn("coupon",{state:()=>({coupons:[],activatedCoupon:null,isCouponApplied:!1,isCouponInputVisible:!1,couponModel:"",couponError:"",isCouponLoading:!1}),getters:{depositCoupons:e=>e.coupons.filter(t=>t.coupon.event===1),sortedDepositCoupons:e=>e.coupons.filter(t=>t.coupon.event===1).slice().sort((t,n)=>{const o=t.created_at?Date.parse(t.created_at):0;return(n.created_at?Date.parse(n.created_at):0)-o})},actions:{selectCoupon(e){this.isCouponInputVisible=!1,this.isCouponApplied=!0,this.couponError="",this.isCouponLoading=!1,this.activatedCoupon=e,Ge().showAlert("success",T("deposit.coupon.success"))},setLatestCoupon(){const e=this.coupons.filter(n=>n.coupon.event===1&&Number(n.coupon.apply_register)===1),t=e[e.length-1];t&&(this.activatedCoupon=t,this.isCouponApplied=!0)},async getCoupons(){try{const{data:e}=await Ye.post("/api/coupons/list",{active:!1,applied:!0,expired:!1});e.userCoupons&&(this.coupons=e.userCoupons,this.setLatestCoupon())}catch(e){We.error(`list coupons failed: ${e.message}`,{tag:"COUPON"})}},async applyCouponCode(e){const t=this.coupons.find(n=>n.coupon.code.toLowerCase()===e.toLowerCase());if(t)return t.coupon.deposit&&this.selectCoupon(t),{ok:!0,userCoupon:t};try{const{data:n}=await Ye.post("/api/coupons/apply",{code:e});return n.error||!n.userCoupon?{ok:!1,error:n.message||T("deposit.coupon.generic-error")}:(await this.getCoupons(),await at().getUser(),n.userCoupon.coupon.deposit&&this.selectCoupon(n.userCoupon),{ok:!0,userCoupon:n.userCoupon})}catch(n){return We.error(`apply coupon failed: ${n.message}`,{tag:"COUPON"}),{ok:!1,error:T("deposit.coupon.generic-error")}}},async submitCouponCode(e){this.couponError="";const t=e.trim().toUpperCase();if(!t)return this.couponError=T("deposit.coupon.invalid"),{ok:!1,isDepositCoupon:!1};this.isCouponLoading=!0;try{const n=await this.applyCouponCode(t);if(!n.ok||!n.userCoupon)return this.couponError=n.error||T("deposit.coupon.generic-error"),Ge().showAlert("error",this.couponError),{ok:!1,isDepositCoupon:!1};const o=!!n.userCoupon.coupon.deposit;return this.activatedCoupon=n.userCoupon,this.isCouponApplied=!0,o||(this.removeCoupon(),this.resetCouponInput()),{ok:!0,isDepositCoupon:o,userCoupon:n.userCoupon}}finally{this.isCouponLoading=!1}},resetCouponInput(){this.couponError="",this.couponModel=""},removeCoupon(){this.isCouponApplied=!1,this.couponModel="",this.clearCoupon()},clearCoupon(){this.activatedCoupon=null,this.isCouponApplied=!1},resetAll(){this.activatedCoupon=null,this.isCouponApplied=!1,this.isCouponInputVisible=!1,this.couponModel="",this.couponError=""}}}),hr={pending:0,denied:1,approved:2},gr="deposit";let ua=null;function Js(){ua?.dispose(),ua=null}async function nj(e){if(!Ze().business.features_active_for_deposit)return"clear";const t=Pt();if(await t.refreshStatus({force:!0}))return"clear";Js();const o=Im(Pm(t.providerId)),r=o.onSuccess(()=>{Js(),e()}),s={provider:o,dispose:()=>{r(),o.cancel(),o.destroy()}};ua=s;try{await o.start({isPendingFaceId:t.isPendingFaceId})}catch(a){throw ua===s?Js():s.dispose(),We.error(`deposit KYC verification failed to start via ${o.id}: ${a.message}`,{tag:"DEPOSIT"}),a}return ua===s&&!o.isVerifying.value?(Js(),We.info(`deposit KYC gate skipped: ${o.id} did not start a verification`,{tag:"DEPOSIT"}),"clear"):(We.info(`deposit KYC verification started via ${o.id}`,{tag:"DEPOSIT"}),"verification-started")}function oj(e){return e.startsWith("http")||e.startsWith("data:image")?e:`data:image/png;base64,${e}`}function rj(e={}){const t=Ge(),n=Kn(),{runWithUserDocument:o}=Is(),r=U("form"),s=U(!1),a=U(wt(0)),i=U(""),l=U(""),c=U(""),u=U(null);let d=null;le(a,()=>{l.value=""});const f=A(()=>Ir(a.value));function m(_){a.value=wt(Ir(_)/100)}function p(_){a.value=wt(Number(_))}function h(){Js(),zl().resetAll(),r.value="form",s.value=!1,a.value=wt(0),i.value="",l.value="",c.value="",u.value=null}async function v(_,g){const b=g?.silent??!1;b||(s.value=!0);try{const{data:S}=await Ye.get(`/api/deposits/${_}`);return u.value=S,S.status===hr.approved&&(GF(_),UF(),d===_&&(d=null,ef("deposit_approved",{id:_,amount:S.amount/100,currency:"BRL",status:"approved",occurrence:S.occurrence??0})),await new Promise(E=>setTimeout(E,2e3)),t.showAlert("success",T("deposit.alerts.approved")),await at().getUser(),t.closeModal(gr)),S}catch(S){return We.error(`fetch payment failed: ${S.message}`,{tag:"DEPOSIT"}),b||t.showAlert("error",T("deposit.alerts.generic-error")),null}finally{b||(s.value=!1)}}async function y(_){r.value="payment",c.value=_,await v(_)}async function k(_){if(s.value)return;i.value="",l.value="";const g=at();if(g.hasDocument||await g.getUser(),!g.hasDocument){o(()=>k(_));return}s.value=!0;try{if(!_?.skipKycGate&&await nj(()=>void k({skipKycGate:!0}))==="verification-started")return;const b=zl();if(b.couponModel&&!b.activatedCoupon){const E=await b.submitCouponCode(b.couponModel);if(!E.ok)return;if(!E.isDepositCoupon){t.closeModal(gr),e.onNonDepositCoupon?.();return}}if(f.value<=0)return;const{data:S}=await Ye.post("/api/deposits",{amount:f.value,params:mN(),...b.activatedCoupon?{user_coupon_id:b.activatedCoupon.id}:{}});if(!S.success){i.value=S.message||T("deposit.alerts.generic-error"),t.showAlert("error",i.value),zF();return}if(S.data?.message==="Unauthenticated."){t.showAlert("error",T("deposit.alerts.session-expired")),pt().handleUnauthorized(n);return}S.data?.id&&(c.value=S.data.id,d=S.data.id,ef("deposit",{id:S.data.id,amount:f.value/100,currency:"BRL",status:"pending"}),r.value="payment",e.onDepositCreated?.(),s.value=!1,qF({depositId:S.data.id,title:T("deposit.native-reminder.title"),body:T("deposit.native-reminder.body")}),await v(c.value))}catch(b){const S=b,E=S.response?.status===422?S.response.data?.message:void 0;if(E){l.value=E;return}We.error(`submit deposit failed: ${b.message}`,{tag:"DEPOSIT"}),t.showAlert("error",T("deposit.alerts.generic-error"))}finally{s.value=!1}}return{section:r,loading:s,inputAmount:a,amountCents:f,formError:i,amountError:l,depositId:c,depositData:u,onAmountInput:m,setPresetAmount:p,resetDeposit:h,fetchPayment:v,openWithTransaction:y,submitDeposit:k}}const sj=Symbol.for("vuetify:goto");function aj(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:iL}}function ij(e){return Om(e)??(document.scrollingElement||document.body)}function Om(e){return typeof e=="string"?document.querySelector(e):cE(e)}function zu(e,t,n){if(typeof e=="number")return t&&n?-e:e;let o=Om(e),r=0;for(;o;)r+=t?o.offsetLeft:o.offsetTop,o=o.offsetParent;return r}async function qh(e,t,n,o){const r=n?"scrollLeft":"scrollTop",s=Do(o?.options??aj(),t),a=o?.rtl.value,i=(typeof e=="number"?e:Om(e))??0,l=s.container==="parent"&&i instanceof HTMLElement?i.parentElement:ij(s.container),c=vs()?s.patterns.instant:typeof s.easing=="function"?s.easing:s.patterns[s.easing];if(!c)throw new TypeError(`Easing function "${s.easing}" not found.`);let u;if(typeof i=="number")u=zu(i,n,a);else if(u=zu(i,n,a)-zu(l,n,a),s.layout){const p=window.getComputedStyle(i).getPropertyValue("--v-layout-top");p&&(u-=parseInt(p,10))}u+=s.offset,u=cj(l,u,!!a,!!n);const d=l[r]??0;if(u===d)return Promise.resolve(u);const f=performance.now();return new Promise(m=>requestAnimationFrame(function p(h){const y=(h-f)/s.duration,k=Math.floor(d+(u-d)*c(An(y,0,1)));if(l[r]=k,y>=1&&Math.abs(k-l[r])<10)return m(u);if(y>2)return m(l[r]);requestAnimationFrame(p)}))}function lj(e={}){const t=Ue(sj),{isRtl:n}=ao();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const o={...t,rtl:K(()=>t.rtl.value||n.value)};async function r(s,a){return qh(s,Do(e,a),!1,o)}return r.horizontal=async(s,a)=>qh(s,Do(e,a),!0,o),r}function cj(e,t,n,o){const{scrollWidth:r,scrollHeight:s}=e,[a,i]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let l,c;return o?n?(l=-(r-a),c=0):(l=0,c=r-a):(l=0,c=s+-i),An(t,l,c)}function uj({selectedElement:e,containerElement:t,isRtl:n,isHorizontal:o}){const r=Ia(o,t),s=IC(o,n,t),a=Ia(o,e),i=RC(o,e),l=a*.4;return s>i?i-l:s+rtypeof e=="boolean"||["always","desktop","mobile","never"].includes(e)},...Ne(),...ZE({mobile:null}),...et(),...Wa({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Gh=Ce()({name:"VSlideGroup",props:$C(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const{isRtl:n}=ao(),{displayClasses:o,mobile:r}=Cs(e),s=qa(e,e.symbol),a=pe(!1),i=pe(0),l=pe(0),c=pe(0),u=A(()=>e.direction==="horizontal"),{resizeRef:d,contentRect:f}=rr(),{resizeRef:m,contentRect:p}=rr(),h=lj(),v=A(()=>({container:d.el,duration:200,easing:"easeOutQuart"})),y=A(()=>s.selected.value.length?s.items.value.findIndex(j=>j.id===s.selected.value[0]):-1),k=A(()=>s.selected.value.length?s.items.value.findIndex(j=>j.id===s.selected.value[s.selected.value.length-1]):-1);if(Vt){let j=-1;le(()=>[s.selected.value,f.value,p.value,u.value],()=>{cancelAnimationFrame(j),j=requestAnimationFrame(()=>{if(f.value&&p.value){const W=u.value?"width":"height";l.value=f.value[W],c.value=p.value[W],a.value=l.value+1=0&&m.el){const W=m.el.children[k.value];g(W,e.centerActive)}})})}const _=pe(!1);function g(j,W){let fe=0;W?fe=dj({containerElement:d.el,isHorizontal:u.value,selectedElement:j}):fe=uj({containerElement:d.el,isHorizontal:u.value,isRtl:n.value,selectedElement:j}),b(fe)}function b(j){if(!Vt||!d.el)return;const W=Ia(u.value,d.el),fe=IC(u.value,n.value,d.el);if(!(fj(u.value,d.el)<=W||Math.abs(j-fe)<16)){if(u.value&&n.value&&d.el){const{scrollWidth:Ke,offsetWidth:Oe}=d.el;j=Ke-Oe-j}u.value?h.horizontal(j,v.value):h(j,v.value)}}function S(j){const{scrollTop:W,scrollLeft:fe}=j.target;i.value=u.value?fe:W}function E(j){if(_.value=!0,!(!a.value||!m.el)){for(const W of j.composedPath())for(const fe of m.el.children)if(fe===W){g(fe);return}}}function O(j){_.value=!1}let R=!1;function L(j){!R&&!_.value&&!(j.relatedTarget&&m.el?.contains(j.relatedTarget))&&Y(),R=!1}function D(){R=!0}function I(j){if(!m.el)return;function W(fe){j.preventDefault(),Y(fe)}u.value?j.key==="ArrowRight"?W(n.value?"prev":"next"):j.key==="ArrowLeft"&&W(n.value?"next":"prev"):j.key==="ArrowDown"?W("next"):j.key==="ArrowUp"&&W("prev"),j.key==="Home"?W("first"):j.key==="End"&&W("last")}function V(j,W){if(!j)return;let fe=j;do fe=fe?.[W==="next"?"nextElementSibling":"previousElementSibling"];while(fe?.hasAttribute("disabled"));return fe}function Y(j){if(!m.el)return;let W;if(!j)W=tr(m.el)[0];else if(j==="next"){if(W=V(m.el.querySelector(":focus"),j),!W)return Y("first")}else if(j==="prev"){if(W=V(m.el.querySelector(":focus"),j),!W)return Y("last")}else j==="first"?(W=m.el.firstElementChild,W?.hasAttribute("disabled")&&(W=V(W,"next"))):j==="last"&&(W=m.el.lastElementChild,W?.hasAttribute("disabled")&&(W=V(W,"prev")));W&&W.focus({preventScroll:!0})}function H(j){const W=u.value&&n.value?-1:1,fe=(j==="prev"?-W:W)*l.value;let Me=i.value+fe;if(u.value&&n.value&&d.el){const{scrollWidth:Ke,offsetWidth:Oe}=d.el;Me+=Ke-Oe}b(Me)}const N=A(()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected})),J=A(()=>a.value||Math.abs(i.value)>0),Q=A(()=>{switch(e.showArrows){case"never":return!1;case"always":return!0;case"desktop":return!r.value;case!0:return J.value;case"mobile":return r.value||J.value;default:return!r.value&&J.value}}),X=A(()=>Math.abs(i.value)>1),F=A(()=>J.value?c.value-l.value-Math.abs(i.value)>1:!1);return De(()=>x(e.tag,{class:te(["v-slide-group",{"v-slide-group--vertical":!u.value,"v-slide-group--has-affixes":Q.value,"v-slide-group--is-overflowing":a.value},o.value,e.class]),style:Ee(e.style),tabindex:_.value||s.selected.value.length?-1:0,onFocus:L},{default:()=>[Q.value&&w("div",{key:"prev",class:te(["v-slide-group__prev",{"v-slide-group__prev--disabled":!X.value}]),onMousedown:D,onClick:()=>X.value&&H("prev")},[t.prev?.(N.value)??x(Mv,null,{default:()=>[x(_e,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),w("div",{key:"container",ref:d,class:te(["v-slide-group__container",e.contentClass]),onScroll:S},[w("div",{ref:m,class:"v-slide-group__content",onFocusin:E,onFocusout:O,onKeydown:I},[t.default?.(N.value)])]),Q.value&&w("div",{key:"next",class:te(["v-slide-group__next",{"v-slide-group__next--disabled":!F.value}]),onMousedown:D,onClick:()=>F.value&&H("next")},[t.next?.(N.value)??x(Mv,null,{default:()=>[x(_e,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]})),{selected:s.selected,scrollTo:H,scrollOffset:i,focus:Y,hasPrev:X,hasNext:F}}}),LC=Symbol.for("vuetify:v-chip-group"),mj=de({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:En},...$C({scrollToActive:!1}),...Ne(),...Wa({selectedClass:"v-chip--selected"}),...et(),...mt(),...Ko({variant:"tonal"})},"VChipGroup");Ce()({name:"VChipGroup",props:mj(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const{themeClasses:n}=Tt(e),{isSelected:o,select:r,next:s,prev:a,selected:i}=qa(e,LC);return so({VChip:{baseColor:K(()=>e.baseColor),color:K(()=>e.color),disabled:K(()=>e.disabled),filter:K(()=>e.filter),variant:K(()=>e.variant)}}),De(()=>{const l=Gh.filterProps(e);return x(Gh,ke(l,{class:["v-chip-group",{"v-chip-group--column":e.column},n.value,e.class],style:e.style}),{default:()=>[t.default?.({isSelected:o,select:r,next:s,prev:a,selected:i.value})]})}),{}}});const pj=de({activeClass:String,appendAvatar:String,appendIcon:qe,baseColor:String,closable:Boolean,closeIcon:{type:qe,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:qe,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:qe,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},modelValue:{type:Boolean,default:!0},onClick:an(),onClickOnce:an(),...Wn(),...Ne(),...Pn(),...In(),...sm(),...Rt(),...Qa(),...Ga(),...et({tag:"span"}),...mt(),...Ko({variant:"tonal"})},"VChip"),os=Ce()({name:"VChip",directives:{vRipple:oo},props:pj(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const{t:r}=Xa(),{borderClasses:s}=qn(e),{densityClasses:a}=Gn(e),{elevationClasses:i}=Rn(e),{roundedClasses:l}=Ot(e),{sizeClasses:c}=Ya(e),{themeClasses:u}=Tt(e),d=ht(e,"modelValue"),f=Ol(e,LC,!1),m=Ol(e,OC,!1),p=Za(e,t),h=K(()=>e.link!==!1&&p.isLink.value),v=A(()=>!e.disabled&&e.link!==!1&&(!!f||e.link||p.isClickable.value)),y=K(()=>({"aria-label":r(e.closeLabel),disabled:e.disabled,onClick(E){E.preventDefault(),E.stopPropagation(),d.value=!1,n("click:close",E)}}));le(d,E=>{E?(f?.register(),m?.register()):(f?.unregister(),m?.unregister())});const{colorClasses:k,colorStyles:_,variantClasses:g}=ks(()=>({color:!f||f.isSelected.value?e.color??e.baseColor:e.baseColor,variant:e.variant}));function b(E){n("click",E),v.value&&(p.navigate.value?.(E),f?.toggle())}function S(E){(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),b(E))}return()=>{const E=p.isLink.value?"a":e.tag,O=!!(e.appendIcon||e.appendAvatar),R=!!(O||o.append),L=!!(o.close||e.closable),D=!!(o.filter||e.filter)&&f,I=!!(e.prependIcon||e.prependAvatar),V=!!(I||o.prepend);return d.value&&St(x(E,ke(p.linkProps,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":v.value,"v-chip--filter":D,"v-chip--pill":e.pill,[`${e.activeClass}`]:e.activeClass&&p.isActive?.value},u.value,s.value,k.value,a.value,i.value,l.value,c.value,g.value,f?.selectedClass.value,e.class],style:[_.value,e.style],disabled:e.disabled||void 0,draggable:e.draggable,tabindex:v.value?0:void 0,onClick:b,onKeydown:v.value&&!h.value&&S}),{default:()=>[xs(v.value,"v-chip"),D&&x(zE,{key:"filter"},{default:()=>[St(w("div",{class:"v-chip__filter"},[o.filter?x(lt,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},o.filter):x(_e,{key:"filter-icon",icon:e.filterIcon},null)]),[[ro,f.isSelected.value]])]}),V&&w("div",{key:"prepend",class:"v-chip__prepend"},[o.prepend?x(lt,{key:"prepend-defaults",disabled:!I,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},o.prepend):w(xe,null,[e.prependIcon&&x(_e,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&x(Ar,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),w("div",{class:"v-chip__content","data-no-activator":""},[o.default?.({isSelected:f?.isSelected.value,selectedClass:f?.selectedClass.value,select:f?.select,toggle:f?.toggle,value:f?.value.value,disabled:e.disabled})??z(e.text)]),R&&w("div",{key:"append",class:"v-chip__append"},[o.append?x(lt,{key:"append-defaults",disabled:!O,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},o.append):w(xe,null,[e.appendIcon&&x(_e,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&x(Ar,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),L&&w("button",ke({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},y.value),[o.close?x(lt,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},o.close):x(_e,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}),[[oo,v.value&&e.ripple,null]])}}}),vj={class:"deposit-qr-code"},hj={class:"flex flex-col items-center justify-center"},gj={class:"deposit-qr-code__image-wrapper relative mt-4 h-72 w-72"},bj=["aria-label"],yj=["src","alt"],_j={class:"mt-3 text-center font-semibold"},wj={class:"deposit-qr-code__pix-code break-all px-2 py-3 text-center text-xs"},Sj={class:"flex justify-center gap-2 py-3"},xj={class:"deposit-qr-code__copy"},kj={class:"deposit-qr-code__new"},Ej={class:"flex flex-col items-center py-3"},Cj={class:"px-2 text-center text-xs"},Aj={class:"deposit-qr-code__refresh mt-4"},Tj=Ae({name:"WalletDepositQrCode",__name:"QrCode",props:{depositData:{},loading:{type:Boolean},showCountdown:{type:Boolean},countdownMinutes:{},expiredMessage:{}},emits:["refresh","new-deposit","expired"],setup(e,{emit:t}){const n={[hr.pending]:{color:"warning",i18nKey:"deposit.payment.pending"},[hr.denied]:{color:"error",i18nKey:"deposit.payment.denied"},[hr.approved]:{color:"success",i18nKey:"deposit.payment.approved"}},o=e,r=t,s=U(!1);let a=null;const i=A(()=>n[o.depositData.status]),l=U(!1);le(()=>o.depositData.payment_image,()=>{l.value=!1});async function c(){try{await navigator.clipboard.writeText(o.depositData.payment_code),s.value=!0,a&&clearTimeout(a),a=setTimeout(()=>{s.value=!1,a=null},2e3)}catch(u){const d=u instanceof Error?u.message:String(u);We.error(`copy pix code failed: ${d}`,{tag:"DEPOSIT"}),s.value=!1}}return gt(()=>{a&&clearTimeout(a)}),(u,d)=>{const f=DF;return B(),oe("div",vj,[e.showCountdown&&e.depositData.status===C(hr).pending?(B(),ge(f,{key:0,"duration-minutes":e.countdownMinutes,"expired-message":e.expiredMessage,onExpired:d[0]||(d[0]=m=>r("expired"))},null,8,["duration-minutes","expired-message"])):he("",!0),i.value?(B(),ge(os,{key:1,color:i.value.color,label:"",class:"deposit-qr-code__status w-full justify-center font-semibold text-black"},{default:q(()=>[ye(z(C(T)(i.value.i18nKey)),1)]),_:1},8,["color"])):he("",!0),w("div",hj,[w("div",gj,[l.value?he("",!0):(B(),oe("div",{key:0,class:"deposit-qr-code__image-placeholder bg-brand-input absolute inset-0 flex items-center justify-center rounded-md",role:"status","aria-label":C(T)("deposit.payment.qr-alt")},[x(Ja,{indeterminate:"",color:"primary"})],8,bj)),e.depositData.payment_image?St((B(),oe("img",{key:1,src:C(oj)(e.depositData.payment_image),alt:C(T)("deposit.payment.qr-alt"),class:"deposit-qr-code__image h-full w-full",onLoad:d[1]||(d[1]=m=>l.value=!0),onError:d[2]||(d[2]=m=>l.value=!0)},null,40,yj)),[[ro,l.value]]):he("",!0)])]),w("p",_j,z(C(T)("deposit.payment.amount"))+" "+z(C(wt)(e.depositData.amount/100)),1),w("p",wj,z(e.depositData.payment_code),1),w("div",Sj,[w("span",xj,[x(He,{color:"primary",variant:"outlined","aria-label":C(T)("deposit.payment.copy"),onClick:c},{default:q(()=>[ye(z(C(T)("deposit.payment.copy"))+" ",1),s.value?(B(),ge(_e,{key:0,icon:"fa6-solid:circle-check",class:"ml-1",size:"small"})):he("",!0)]),_:1},8,["aria-label"])]),w("span",kj,[x(He,{color:"success",variant:"flat","aria-label":C(T)("deposit.payment.new"),onClick:d[3]||(d[3]=m=>r("new-deposit"))},{default:q(()=>[ye(z(C(T)("deposit.payment.new")),1)]),_:1},8,["aria-label"])])]),w("div",Ej,[w("p",Cj,z(C(T)("deposit.payment.refresh-hint")),1),w("span",Aj,[x(He,{size:"small",color:"info",variant:"outlined",loading:e.loading,"aria-label":C(T)("deposit.payment.refresh"),onClick:d[4]||(d[4]=m=>r("refresh"))},{default:q(()=>[ye(z(C(T)("deposit.payment.refresh")),1)]),_:1},8,["loading","aria-label"])])])])}}}),Yh="/wallet/pix.svg",DC="/flags/brazil.svg";function Pj(){return e=>Ir(e)>0||T("deposit.form.amount-required")}function Ij(e){return t=>{if(!Number.isFinite(e)||e<=0)return!0;const n=Ir(t);return n===0||n>=e?!0:T("deposit.form.amount-min").replace("{value}",wt(e/100))}}function Rj(e){return t=>!Number.isFinite(e)||e<=0||Ir(t)<=e?!0:T("deposit.form.amount-max").replace("{value}",wt(e/100))}function Oj(e=0,t=0){return[Pj(),Ij(e),Rj(t)]}const $j=yc("v-alert-title"),Lj=de({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[["x-small",10],["small",16],["default",24],["large",28],["x-large",32]]}},"iconSize");function Dj(e,t){return{iconSize:A(()=>{const o=new Map(e.iconSizes),r=e.iconSize??t()??"default";return o.has(r)?o.get(r):r})}}const Vj=["success","info","warning","error"],Mj=de({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:qe,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>Vj.includes(e)},...Ne(),...Pn(),...vn(),...In(),...Lj(),...Rr(),...wc(),...Rt(),...et(),...mt(),...Ko({variant:"flat"})},"VAlert"),VC=Ce()({name:"VAlert",props:Mj(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,{emit:t,slots:n}){const o=ht(e,"modelValue"),r=K(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),{iconSize:s}=Dj(e,()=>e.prominent?44:void 0),{themeClasses:a}=Tt(e),{colorClasses:i,colorStyles:l,variantClasses:c}=ks(()=>({color:e.color??e.type,variant:e.variant})),{densityClasses:u}=Gn(e),{dimensionStyles:d}=hn(e),{elevationClasses:f}=Rn(e),{locationStyles:m}=Or(e),{positionClasses:p}=Sc(e),{roundedClasses:h}=Ot(e),{textColorClasses:v,textColorStyles:y}=jn(()=>e.borderColor),{t:k}=Xa(),_=K(()=>({"aria-label":k(e.closeLabel),onClick(g){o.value=!1,t("click:close",g)}}));return()=>{const g=!!(n.prepend||r.value),b=!!(n.title||e.title),S=!!(n.close||e.closable),E={density:e.density,icon:r.value,size:e.iconSize||e.prominent?s.value:void 0};return o.value&&x(e.tag,{class:te(["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},a.value,i.value,u.value,f.value,p.value,h.value,c.value,e.class]),style:Ee([l.value,d.value,m.value,e.style]),role:"alert"},{default:()=>[xs(!1,"v-alert"),e.border&&w("div",{key:"border",class:te(["v-alert__border",v.value]),style:Ee(y.value)},null),g&&w("div",{key:"prepend",class:"v-alert__prepend"},[n.prepend?x(lt,{key:"prepend-defaults",disabled:!r.value,defaults:{VIcon:{...E}}},n.prepend):x(_e,ke({key:"prepend-icon"},E),null)]),w("div",{class:"v-alert__content"},[b&&x($j,{key:"title"},{default:()=>[n.title?.()??e.title]}),n.text?.()??e.text,n.default?.()]),n.append&&w("div",{key:"append",class:"v-alert__append"},[n.append()]),S&&w("div",{key:"close",class:"v-alert__close"},[n.close?x(lt,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>[n.close?.({props:_.value})]}):x(He,ke({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},_.value),null)])]})}}}),MC=Symbol.for("vuetify:form"),Bj=de({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function Nj(e){const t=ht(e,"modelValue"),n=K(()=>e.disabled),o=K(()=>e.readonly),r=pe(!1),s=U([]),a=U([]);async function i(){const u=[];let d=!0;a.value=[],r.value=!0;for(const f of s.value){const m=await f.validate();if(m.length>0&&(d=!1,u.push({id:f.id,errorMessages:m})),!d&&e.fastFail)break}return a.value=u,r.value=!1,{valid:d,errors:a.value}}function l(){s.value.forEach(u=>u.reset())}function c(){s.value.forEach(u=>u.resetValidation())}return le(s,()=>{let u=0,d=0;const f=[];for(const m of s.value)m.isValid===!1?(d++,f.push({id:m.id,errorMessages:m.errorMessages})):m.isValid===!0&&u++;a.value=f,t.value=d>0?!1:u===s.value.length?!0:null},{deep:!0,flush:"post"}),yt(MC,{register:({id:u,vm:d,validate:f,reset:m,resetValidation:p})=>{s.value.some(h=>h.id===u),s.value.push({id:u,validate:f,reset:m,resetValidation:p,vm:ac(d),isValid:null,errorMessages:[]})},unregister:u=>{s.value=s.value.filter(d=>d.id!==u)},update:(u,d,f)=>{const m=s.value.find(p=>p.id===u);m&&(m.isValid=d,m.errorMessages=f)},isDisabled:n,isReadonly:o,isValidating:r,isValid:t,items:s,validateOn:K(()=>e.validateOn)}),{errors:a,isDisabled:n,isReadonly:o,isValidating:r,isValid:t,items:s,validate:i,reset:l,resetValidation:c}}function BC(e){const t=Ue(MC,null);return{...t,isReadonly:A(()=>!!(e?.readonly??t?.isReadonly.value)),isDisabled:A(()=>!!(e?.disabled??t?.isDisabled.value))}}const Fj=de({...Ne(),...Bj()},"VForm"),ui=Ce()({name:"VForm",props:Fj(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,{slots:t,emit:n}){const o=Nj(e),r=U();function s(i){i.preventDefault(),o.reset()}function a(i){const l=i,c=o.validate();l.then=c.then.bind(c),l.catch=c.catch.bind(c),l.finally=c.finally.bind(c),n("submit",l),l.defaultPrevented||c.then(({valid:u})=>{u&&r.value?.submit()}),l.preventDefault()}return De(()=>w("form",{ref:r,class:te(["v-form",e.class]),style:Ee(e.style),novalidate:!0,onReset:s,onSubmit:a},[t.default?.({errors:o.errors.value,isDisabled:o.isDisabled.value,isReadonly:o.isReadonly.value,isValidating:o.isValidating.value,isValid:o.isValid.value,items:o.items.value,validate:o.validate,reset:o.reset,resetValidation:o.resetValidation})])),ei(o,r)}}),jj=de({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Ne(),...Es({transition:{component:UE}})},"VCounter"),Uj=Ce()({name:"VCounter",functional:!0,props:jj(),setup(e,{slots:t}){const n=K(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return De(()=>x(Vo,{transition:e.transition},{default:()=>[St(w("div",{class:te(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:Ee(e.style)},[t.default?t.default({counter:n.value,max:e.max,value:e.value}):n.value]),[[ro,e.active]])]})),{}}}),zj=de({text:String,onClick:an(),...Ne(),...mt()},"VLabel"),NC=Ce()({name:"VLabel",props:zj(),setup(e,{slots:t}){return De(()=>w("label",{class:te(["v-label",{"v-label--clickable":!!e.onClick},e.class]),style:Ee(e.style),onClick:e.onClick},[e.text,t.default?.()])),{}}}),Hj=de({floating:Boolean,...Ne()},"VFieldLabel"),Bi=Ce()({name:"VFieldLabel",props:Hj(),setup(e,{slots:t}){return De(()=>x(NC,{class:te(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:Ee(e.style)},t)),{}}});function $m(e){const{t}=Xa();function n({name:o,color:r,...s}){const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],i=e[`onClick:${o}`];function l(u){u.key!=="Enter"&&u.key!==" "||(u.preventDefault(),u.stopPropagation(),vE(i,new PointerEvent("click",u)))}const c=i&&a?t(`$vuetify.input.${a}`,e.label??""):void 0;return x(_e,ke({icon:e[`${o}Icon`],"aria-label":c,onClick:i,onKeydown:l,color:r},s),null)}return{InputIcon:n}}const FC=de({focused:Boolean,"onUpdate:focused":an()},"focus");function jC(e,t=ko()){const n=ht(e,"focused"),o=K(()=>({[`${t}--focused`]:n.value}));function r(){n.value=!0}function s(){n.value=!1}return{focusClasses:o,isFocused:n,focus:r,blur:s}}const Kj=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],UC=de({appendInnerIcon:qe,bgColor:String,clearable:Boolean,clearIcon:{type:qe,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:qe,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Kj.includes(e)},"onClick:clear":an(),"onClick:appendInner":an(),"onClick:prependInner":an(),...Ne(),...im(),...Rt(),...mt()},"VField"),Jh=Ce()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,labelId:String,...FC(),...UC()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const{themeClasses:r}=Tt(e),{loaderClasses:s}=lm(e),{focusClasses:a,isFocused:i,focus:l,blur:c}=jC(e),{InputIcon:u}=$m(e),{roundedClasses:d}=Ot(e),{rtlClasses:f}=ao(),m=K(()=>e.dirty||e.active),p=K(()=>!!(e.label||o.label)),h=K(()=>!e.singleLine&&p.value),v=Un(),y=A(()=>e.id||`input-${v}`),k=K(()=>e.details?`${y.value}-messages`:void 0),_=U(),g=U(),b=U(),S=A(()=>["plain","underlined"].includes(e.variant)),E=A(()=>e.error||e.disabled?void 0:m.value&&i.value?e.color:e.baseColor),O=A(()=>{if(!(!e.iconColor||e.glow&&!i.value))return e.iconColor===!0?E.value:e.iconColor}),{backgroundColorClasses:R,backgroundColorStyles:L}=Dt(()=>e.bgColor),{textColorClasses:D,textColorStyles:I}=jn(E);le(m,J=>{if(h.value&&!vs()){const Q=_.value.$el,X=g.value.$el;requestAnimationFrame(()=>{const F=em(Q),j=new kn(X),W=j.x-F.x,fe=j.y-F.y-(F.height/2-j.height/2),Me=j.width/.75,Ke=Math.abs(Me-F.width)>1?{maxWidth:Te(Me)}:void 0,Oe=getComputedStyle(Q),ne=getComputedStyle(X),be=parseFloat(Oe.transitionDuration)*1e3||150,ae=parseFloat(ne.getPropertyValue("--v-field-label-scale")),Se=ne.getPropertyValue("color");Q.style.visibility="visible",X.style.visibility="hidden",er(Q,{transform:`translate(${W}px, ${fe}px) scale(${ae})`,color:Se,...Ke},{duration:be,easing:Il,direction:J?"normal":"reverse"}).finished.then(()=>{Q.style.removeProperty("visibility"),X.style.removeProperty("visibility")})})}},{flush:"post"});const V=A(()=>({isActive:m,isFocused:i,controlRef:b,iconColor:O,blur:c,focus:l})),Y=K(()=>{const J=!m.value;return{"aria-hidden":J,for:J?void 0:y.value}}),H=K(()=>{const J=h.value&&m.value;return{"aria-hidden":J,for:J?void 0:y.value}});function N(J){J.target!==document.activeElement&&J.preventDefault()}return De(()=>{const J=e.variant==="outlined",Q=!!(o["prepend-inner"]||e.prependInnerIcon),X=!!(e.clearable||o.clear)&&!e.disabled,F=!!(o["append-inner"]||e.appendInnerIcon||X),j=()=>o.label?o.label({...V.value,label:e.label,props:{for:y.value}}):e.label;return w("div",ke({class:["v-field",{"v-field--active":m.value,"v-field--appended":F,"v-field--center-affix":e.centerAffix??!S.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":Q,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!j(),[`v-field--variant-${e.variant}`]:!0},r.value,R.value,a.value,s.value,d.value,f.value,e.class],style:[L.value,e.style],onClick:N},t),[w("div",{class:"v-field__overlay"},null),x(TE,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:o.loader}),Q&&w("div",{key:"prepend",class:"v-field__prepend-inner"},[o["prepend-inner"]?o["prepend-inner"](V.value):e.prependInnerIcon&&x(u,{key:"prepend-icon",name:"prependInner",color:O.value},null)]),w("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&h.value&&x(Bi,ke({key:"floating-label",ref:g,class:[D.value],floating:!0},Y.value,{style:I.value}),{default:()=>[j()]}),p.value&&x(Bi,ke({key:"label",ref:_,id:e.labelId},H.value),{default:()=>[j()]}),o.default?.({...V.value,props:{id:y.value,class:"v-field__input","aria-describedby":k.value},focus:l,blur:c})??w("div",{id:y.value,class:"v-field__input","aria-describedby":k.value},null)]),X&&x(zE,{key:"clear"},{default:()=>[St(w("div",{class:"v-field__clearable",onMousedown:W=>{W.preventDefault(),W.stopPropagation()}},[x(lt,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[o.clear?o.clear({...V.value,props:{onFocus:l,onBlur:c,onClick:e["onClick:clear"],tabindex:-1}}):x(u,{name:"clear",onFocus:l,onBlur:c,tabindex:-1},null)]})]),[[ro,e.dirty]])]}),F&&w("div",{key:"append",class:"v-field__append-inner"},[o["append-inner"]?o["append-inner"](V.value):e.appendInnerIcon&&x(u,{key:"append-icon",name:"appendInner",color:O.value},null)]),w("div",{class:te(["v-field__outline",D.value]),style:Ee(I.value)},[J&&w(xe,null,[w("div",{class:"v-field__outline__start"},null),h.value&&w("div",{class:"v-field__outline__notch"},[x(Bi,ke({ref:g,floating:!0},Y.value),{default:()=>[j()]})]),w("div",{class:"v-field__outline__end"},null)]),S.value&&h.value&&x(Bi,ke({ref:g,floating:!0},Y.value),{default:()=>[j()]})])])}),{controlRef:b,fieldIconColor:O}}}),Wj=de({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Ne(),...Es({transition:{component:UE,leaveAbsolute:!0,group:!0}})},"VMessages"),qj=Ce()({name:"VMessages",props:Wj(),setup(e,{slots:t}){const n=A(()=>Cn(e.messages)),{textColorClasses:o,textColorStyles:r}=jn(()=>e.color);return De(()=>x(Vo,{transition:e.transition,tag:"div",class:te(["v-messages",o.value,e.class]),style:Ee([r.value,e.style])},{default:()=>[e.active&&n.value.map((s,a)=>w("div",{class:"v-messages__message",key:`${a}-${n.value}`},[t.message?t.message({message:s}):s]))]})),{}}}),Gj=Symbol.for("vuetify:rules");function Yj(e){const t=Ue(Gj,null);if(!e){if(!t)throw new Error("Could not find Vuetify rules injection");return t.aliases}return t?.resolve(e)??K(e)}const Jj=de({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...FC()},"validation");function Xj(e,t=ko(),n=Un()){const o=ht(e,"modelValue"),r=A(()=>e.validationValue===void 0?o.value:e.validationValue),s=BC(e),a=Yj(()=>e.rules),i=U([]),l=pe(!0),c=A(()=>!!(Cn(o.value===""?null:o.value).length||Cn(r.value===""?null:r.value).length)),u=A(()=>e.errorMessages?.length?Cn(e.errorMessages).concat(i.value).slice(0,Math.max(0,Number(e.maxErrors))):i.value),d=A(()=>{let g=(e.validateOn??s.validateOn?.value)||"input";g==="lazy"&&(g="input lazy"),g==="eager"&&(g="input eager");const b=new Set(g?.split(" ")??[]);return{input:b.has("input"),blur:b.has("blur")||b.has("input")||b.has("invalid-input"),invalidInput:b.has("invalid-input"),lazy:b.has("lazy"),eager:b.has("eager")}}),f=A(()=>e.error||e.errorMessages?.length?!1:e.rules.length?l.value?i.value.length||d.value.lazy?null:!0:!i.value.length:!0),m=pe(!1),p=A(()=>({[`${t}--error`]:f.value===!1,[`${t}--dirty`]:c.value,[`${t}--disabled`]:s.isDisabled.value,[`${t}--readonly`]:s.isReadonly.value})),h=At("validation"),v=A(()=>e.name??C(n));za(()=>{s.register?.({id:v.value,vm:h,validate:_,reset:y,resetValidation:k})}),gt(()=>{s.unregister?.(v.value)}),ut(async()=>{d.value.lazy||await _(!d.value.eager),s.update?.(v.value,f.value,u.value)}),ln(()=>d.value.input||d.value.invalidInput&&f.value===!1,()=>{le(r,()=>{if(r.value!=null)_();else if(e.focused){const g=le(()=>e.focused,b=>{b||_(),g()})}})}),ln(()=>d.value.blur,()=>{le(()=>e.focused,g=>{g||_()})}),le([f,u],()=>{s.update?.(v.value,f.value,u.value)});async function y(){o.value=null,await Je(),await k()}async function k(){l.value=!0,d.value.lazy?i.value=[]:await _(!d.value.eager)}async function _(g=!1){const b=[];m.value=!0;for(const S of a.value){if(b.length>=Number(e.maxErrors??1))break;const O=await(typeof S=="function"?S:()=>S)(r.value);if(O!==!0){if(O!==!1&&typeof O!="string"){console.warn(`${O} is not a valid value. Rule functions must return boolean true or a string.`);continue}b.push(O||"")}}return i.value=b,m.value=!1,l.value=g,i.value}return{errorMessages:u,isDirty:c,isDisabled:s.isDisabled,isReadonly:s.isReadonly,isPristine:l,isValid:f,isValidating:m,reset:y,resetValidation:k,validate:_,validationClasses:p}}const zC=de({id:String,appendIcon:qe,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:qe,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,indentDetails:{type:Boolean,default:null},persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":an(),"onClick:append":an(),...Ne(),...Pn(),...ws(vn(),["maxWidth","minWidth","width"]),...mt(),...Jj()},"VInput"),Xh=Ce()({name:"VInput",props:{...zC()},emits:{"update:modelValue":e=>!0},setup(e,{attrs:t,slots:n,emit:o}){const{densityClasses:r}=Gn(e),{dimensionStyles:s}=hn(e),{themeClasses:a}=Tt(e),{rtlClasses:i}=ao(),{InputIcon:l}=$m(e),c=Un(),u=A(()=>e.id||`input-${c}`),{errorMessages:d,isDirty:f,isDisabled:m,isReadonly:p,isPristine:h,isValid:v,isValidating:y,reset:k,resetValidation:_,validate:g,validationClasses:b}=Xj(e,"v-input",u),S=A(()=>e.errorMessages?.length||!h.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages),E=K(()=>S.value.length>0),O=K(()=>!e.hideDetails||e.hideDetails==="auto"&&(E.value||!!n.details)),R=A(()=>O.value?`${u.value}-messages`:void 0),L=A(()=>({id:u,messagesId:R,isDirty:f,isDisabled:m,isReadonly:p,isPristine:h,isValid:v,isValidating:y,hasDetails:O,reset:k,resetValidation:_,validate:g})),D=K(()=>e.error||e.disabled?void 0:e.focused?e.color:e.baseColor),I=K(()=>{if(e.iconColor)return e.iconColor===!0?D.value:e.iconColor});return De(()=>{const V=!!(n.prepend||e.prependIcon),Y=!!(n.append||e.appendIcon);return w("div",{class:te(["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--focused":e.focused,"v-input--glow":e.glow,"v-input--hide-spin-buttons":e.hideSpinButtons,"v-input--indent-details":e.indentDetails},r.value,a.value,i.value,b.value,e.class]),style:Ee([s.value,e.style])},[V&&w("div",{key:"prepend",class:"v-input__prepend"},[n.prepend?n.prepend(L.value):e.prependIcon&&x(l,{key:"prepend-icon",name:"prepend",color:I.value},null)]),n.default&&w("div",{class:"v-input__control"},[n.default?.(L.value)]),Y&&w("div",{key:"append",class:"v-input__append"},[n.append?n.append(L.value):e.appendIcon&&x(l,{key:"append-icon",name:"append",color:I.value},null)]),O.value&&w("div",{id:R.value,class:"v-input__details",role:"alert","aria-live":"polite"},[x(qj,{active:E.value,messages:S.value},{message:n.message}),n.details?.(L.value)])])}),{reset:k,resetValidation:_,validate:g,isValid:v,errorMessages:d}}}),Zj=de({autocomplete:String},"autocomplete");function HC(e){const t=Un(),n=pe(0),o=K(()=>e.autocomplete==="suppress"),r=K(()=>{if(e.name)return o.value?`${e.name}-${t}-${n.value}`:e.name}),s=K(()=>o.value?"off":e.autocomplete);return{isSuppressing:o,fieldAutocomplete:s,fieldName:r,update:()=>n.value=new Date().getTime()}}function Qj(e){function t(n,o){if(!e.autofocus||!n)return;const r=o[0].target;(r.matches("input,textarea")?r:r.querySelector("input,textarea"))?.focus()}return{onIntersect:t}}const eU=["color","file","time","date","datetime-local","week","month"],KC=de({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Zj(),...pn(zC(),["direction"]),...UC()},"VTextField"),$t=Ce()({name:"VTextField",directives:{vIntersect:Dl},inheritAttrs:!1,props:KC(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const r=ht(e,"modelValue",void 0,S=>Object.is(S,-0)?"-0":S),{isFocused:s,focus:a,blur:i}=jC(e),{onIntersect:l}=Qj(e),c=A(()=>typeof e.counterValue=="function"?e.counterValue(r.value):typeof e.counterValue=="number"?e.counterValue:(r.value??"").toString().length),u=A(()=>{if(t.maxlength)return t.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=A(()=>["plain","underlined"].includes(e.variant)),f=U(),m=U(),p=U(),h=HC(e),v=A(()=>eU.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function y(){h.isSuppressing.value&&h.update(),s.value||a(),Je(()=>{p.value!==document.activeElement&&p.value?.focus()})}function k(S){n("mousedown:control",S),S.target!==p.value&&(y(),S.preventDefault())}function _(S){n("click:control",S)}function g(S,E){S.stopPropagation(),y(),Je(()=>{E(),vE(e["onClick:clear"],S)})}function b(S){const E=S.target;if(!(e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type))){r.value=E.value;return}const O=E.value,R=E.selectionStart,L=E.selectionEnd;r.value=O,Je(()=>{let D=0;O.trimStart().length===E.value.length&&(D=O.length-E.value.length),R!=null&&(E.selectionStart=R-D),L!=null&&(E.selectionEnd=L-D)})}return De(()=>{const S=!!(o.counter||e.counter!==!1&&e.counter!=null),E=!!(S||o.details),[O,R]=Zf(t),{modelValue:L,...D}=Xh.filterProps(e),I=Jh.filterProps(e);return x(Xh,ke({ref:f,modelValue:r.value,"onUpdate:modelValue":V=>r.value=V,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},O,D,{centerAffix:!d.value,focused:s.value,indentDetails:e.indentDetails??!d.value}),{...o,default:({id:V,isDisabled:Y,isDirty:H,isReadonly:N,isValid:J,hasDetails:Q,reset:X})=>x(Jh,ke({ref:m,onMousedown:k,onClick:_,"onClick:clear":F=>g(F,X),role:e.role},pn(I,["onClick:clear"]),{id:V.value,labelId:`${V.value}-label`,active:v.value||H.value,dirty:H.value||e.dirty,disabled:Y.value,focused:s.value,details:Q.value,error:J.value===!1}),{...o,default:({props:{class:F,...j},controlRef:W})=>{const fe=w("input",ke({ref:Me=>p.value=W.value=Me,value:r.value,onInput:b,autofocus:e.autofocus,readonly:N.value,disabled:Y.value,name:h.fieldName.value,autocomplete:h.fieldAutocomplete.value,placeholder:e.placeholder,size:1,role:e.role,type:e.type,onFocus:a,onBlur:i,"aria-labelledby":`${V.value}-label`},j,R),null);return w(xe,null,[e.prefix&&w("span",{class:"v-text-field__prefix"},[w("span",{class:"v-text-field__prefix__text"},[e.prefix])]),St(o.default?w("div",{class:te(F),"data-no-activator":""},[o.default({id:V}),fe]):Uo(fe,{class:F}),[[Dl,l,null,{once:!0}]]),e.suffix&&w("span",{class:"v-text-field__suffix"},[w("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}}),details:E?V=>w(xe,null,[o.details?.(V),S&&w(xe,null,[w("span",null,null),x(Uj,{active:e.persistentCounter||s.value,value:c.value,max:u.value,disabled:e.disabled},o.counter)])]):void 0})}),ei({},f,m,p)}}),tU={class:"deposit-form__title text-lg font-bold"},nU={class:"deposit-form__subtitle mb-3 text-sm font-semibold"},oU={class:"deposit-form__methods flex gap-2"},rU={key:0,class:"deposit-form__presets mb-3 grid w-full grid-cols-3 gap-3"},sU={key:0,class:"deposit-form__hot-badge bg-warning absolute right-0 top-0 z-10 rounded-bl-lg px-2 text-[10px] font-bold text-black"},aU={class:"deposit-form__coupon-slot mt-6"},iU={class:"deposit-form__submit mt-6"},lU={key:2,class:"deposit-form__gateway mt-2 flex items-center justify-between px-2"},cU={class:"text-medium-emphasis text-xs"},uU={class:"flex items-center gap-1 text-xs"},dU=Ae({name:"WalletDepositForm",__name:"Form",props:{inputAmount:{},loading:{type:Boolean},couponLoading:{type:Boolean},formError:{},amountError:{}},emits:["update:inputAmount","preset","submit"],setup(e,{emit:t}){const n=t,o=Ze(),r=A(()=>{const m=Number(o.business.deposit_min??0);return Number.isFinite(m)?m:0}),s=A(()=>{const m=Number(o.business.deposit_max??0);return Number.isFinite(m)?m:0}),a=A(()=>Oj(r.value,s.value)),i=A(()=>{const m=o.business.deposit_popup_values;return typeof m!="string"||!m.trim()?[]:m.split(",").map(p=>p.trim()).filter(p=>p!==""&&Number.isFinite(Number(p)))}),l=A(()=>wt(r.value/100)),c=A(()=>{const m=o.business.general_payment_gateway_name;return typeof m=="string"&&m?m:""});function u(m){return wt(Number(m)).split(",")[0]}async function d(m){(await m).valid&&n("submit")}const f={mask:m=>wt(Ir(m)/100)};return(m,p)=>{const h=Ly("maska");return B(),ge(ui,{class:"deposit-form","validate-on":"submit",onSubmit:sn(d,["prevent"])},{default:q(()=>[w("h2",tU,z(C(T)("deposit.title")),1),w("p",nU,z(C(T)("deposit.subtitle")),1),w("div",oU,[x($t,{class:"deposit-form__method w-1/2","model-value":"PIX",label:C(T)("deposit.form.method"),density:"comfortable","bg-color":"brand-input","hide-details":"",disabled:"",readonly:""},{"append-inner":q(()=>[...p[1]||(p[1]=[w("img",{src:Yh,alt:"PIX",class:"h-4 w-4 shrink-0 object-contain"},null,-1)])]),_:1},8,["label"]),x($t,{class:"deposit-form__min w-1/2","model-value":l.value,label:C(T)("deposit.form.minimum"),density:"comfortable","bg-color":"brand-input","hide-details":"",disabled:"",readonly:""},null,8,["model-value","label"])]),St((B(),ge($t,{class:"deposit-form__amount-input my-5","model-value":e.inputAmount,name:"amount",inputmode:"numeric",variant:"solo-filled",flat:"","single-line":"",density:"comfortable","bg-color":"brand-input","hide-details":"auto",rules:a.value,"error-messages":e.amountError||void 0,"aria-label":C(T)("deposit.title"),"onUpdate:modelValue":p[0]||(p[0]=v=>n("update:inputAmount",String(v??"")))},{"append-inner":q(()=>[...p[2]||(p[2]=[w("div",{class:"pointer-events-none flex shrink-0 items-center gap-2 whitespace-nowrap opacity-60"},[w("img",{src:DC,alt:"Brazil",class:"h-4 w-5 rounded-full"}),w("span",{class:"text-sm font-medium"},"BRL")],-1)])]),_:1},8,["model-value","rules","error-messages","aria-label"])),[[h,f]]),i.value.length>0?(B(),oe("div",rU,[(B(!0),oe(xe,null,Wt(i.value,(v,y)=>(B(),oe("div",{key:y,class:"deposit-form__preset"},[x(He,{class:"deposit-form__preset-btn !border-brand-primary !bg-brand-primary/15 !text-brand-primary relative w-full overflow-hidden rounded-lg text-[1.2rem]",variant:"outlined",height:"56","aria-label":u(v),onClick:k=>n("preset",v)},{default:q(()=>[y%2===1?(B(),oe("span",sU,z(C(T)("deposit.form.hot-badge")),1)):he("",!0),ye(" "+z(u(v)),1)]),_:2},1032,["aria-label","onClick"])]))),128))])):he("",!0),w("div",aU,[Nn(m.$slots,"coupon",{},void 0,!0)]),e.formError?(B(),ge(VC,{key:1,type:"error",density:"compact",variant:"tonal",class:"deposit-form__error mt-3 text-xs [&_.v-alert__content]:py-1 [&_.v-alert__prepend]:me-2",text:e.formError},null,8,["text"])):he("",!0),w("div",iU,[x(He,{type:"submit",color:"primary",class:"w-full",size:"large",height:"48",variant:"flat",disabled:e.loading||e.couponLoading,loading:e.loading},{default:q(()=>[w("span",null,z(e.couponLoading?C(T)("deposit.form.applying-coupon"):C(T)("deposit.form.submit")),1)]),_:1},8,["disabled","loading"])]),c.value?(B(),oe("div",lU,[w("small",cU,z(C(T)("deposit.form.processed-by")),1),w("small",uU,[p[3]||(p[3]=w("img",{src:Yh,alt:"Pix icon",class:"h-3 w-3 rounded-full"},null,-1)),w("span",null,z(c.value),1)])])):he("",!0)]),_:3})}}}),fU=Qe(dU,[["__scopeId","data-v-1578bced"]]);function Zh(e){const t=e.coupon;return t.event===2?wt(t.amount):t.deposit?.deposit_type===2?`${t.amount} %`:wt(t.amount/100)}const Ra=Symbol.for("vuetify:v-expansion-panel"),WC=de({...Ne(),...e1()},"VExpansionPanelText"),rf=Ce()({name:"VExpansionPanelText",props:WC(),setup(e,{slots:t}){const n=Ue(Ra);if(!n)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:o,onAfterLeave:r}=t1(e,n.isSelected);return De(()=>x(kc,{onAfterLeave:r},{default:()=>[St(w("div",{class:te(["v-expansion-panel-text",e.class]),style:Ee(e.style)},[t.default&&o.value&&w("div",{class:"v-expansion-panel-text__wrapper"},[t.default?.()])]),[[ro,n.isSelected.value]])]})),{}}}),qC=de({color:String,expandIcon:{type:qe,default:"$expand"},collapseIcon:{type:qe,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Ne(),...vn()},"VExpansionPanelTitle"),Qh=Ce()({name:"VExpansionPanelTitle",directives:{vRipple:oo},props:qC(),setup(e,{slots:t}){const n=Ue(Ra);if(!n)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:o,backgroundColorStyles:r}=Dt(()=>e.color),{dimensionStyles:s}=hn(e),a=A(()=>({collapseIcon:e.collapseIcon,disabled:n.disabled.value,expanded:n.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})),i=K(()=>n.isSelected.value?e.collapseIcon:e.expandIcon);return De(()=>St(w("button",{class:te(["v-expansion-panel-title",{"v-expansion-panel-title--active":n.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},o.value,e.class]),style:Ee([r.value,s.value,e.style]),type:"button",tabindex:n.disabled.value?-1:void 0,disabled:n.disabled.value,"aria-expanded":n.isSelected.value,onClick:e.readonly?void 0:n.toggle},[w("span",{class:"v-expansion-panel-title__overlay"},null),t.default?.(a.value),!e.hideActions&&x(lt,{defaults:{VIcon:{icon:i.value}}},{default:()=>[w("span",{class:"v-expansion-panel-title__icon"},[t.actions?.(a.value)??x(_e,null,null)])]})]),[[oo,e.ripple]])),{}}}),GC=de({title:String,text:String,bgColor:String,...In(),...sm(),...Rt(),...et(),...qC(),...WC()},"VExpansionPanel"),mU=Ce()({name:"VExpansionPanel",props:GC(),emits:{"group:selected":e=>!0},setup(e,{slots:t}){const n=Ol(e,Ra),{backgroundColorClasses:o,backgroundColorStyles:r}=Dt(()=>e.bgColor),{elevationClasses:s}=Rn(e),{roundedClasses:a}=Ot(e),i=K(()=>n?.disabled.value||e.disabled),l=A(()=>n.group.items.value.reduce((d,f,m)=>(n.group.selected.value.includes(f.id)&&d.push(m),d),[])),c=A(()=>{const d=n.group.items.value.findIndex(f=>f.id===n.id);return!n.isSelected.value&&l.value.some(f=>f-d===1)}),u=A(()=>{const d=n.group.items.value.findIndex(f=>f.id===n.id);return!n.isSelected.value&&l.value.some(f=>f-d===-1)});return yt(Ra,n),De(()=>{const d=!!(t.text||e.text),f=!!(t.title||e.title),m=Qh.filterProps(e),p=rf.filterProps(e);return x(e.tag,{class:te(["v-expansion-panel",{"v-expansion-panel--active":n.isSelected.value,"v-expansion-panel--before-active":c.value,"v-expansion-panel--after-active":u.value,"v-expansion-panel--disabled":i.value},a.value,o.value,e.class]),style:Ee([r.value,e.style])},{default:()=>[w("div",{class:te(["v-expansion-panel__shadow",...s.value])},null),x(lt,{defaults:{VExpansionPanelTitle:{...m},VExpansionPanelText:{...p}}},{default:()=>[f&&x(Qh,{key:"title"},{default:()=>[t.title?t.title():e.title]}),d&&x(rf,{key:"text"},{default:()=>[t.text?t.text():e.text]}),t.default?.()]})]})}),{groupItem:n}}}),pU=["default","accordion","inset","popout"],vU=de({flat:Boolean,...Wa(),...ws(GC(),["bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","static"]),...Rt(),...mt(),...Ne(),...et(),variant:{type:String,default:"default",validator:e=>pU.includes(e)}},"VExpansionPanels"),hU=Ce()({name:"VExpansionPanels",props:vU(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const{next:n,prev:o}=qa(e,Ra),{themeClasses:r}=Tt(e),{roundedClasses:s}=Ot(e),a=K(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return so({VExpansionPanel:{bgColor:K(()=>e.bgColor),collapseIcon:K(()=>e.collapseIcon),color:K(()=>e.color),eager:K(()=>e.eager),elevation:K(()=>e.elevation),expandIcon:K(()=>e.expandIcon),focusable:K(()=>e.focusable),hideActions:K(()=>e.hideActions),readonly:K(()=>e.readonly),ripple:K(()=>e.ripple),static:K(()=>e.static)}}),De(()=>x(e.tag,{class:te(["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},r.value,s.value,a.value,e.class]),style:Ee(e.style)},{default:()=>[t.default?.({prev:o,next:n})]})),{next:n,prev:o}}}),gU={class:"deposit-coupon"},bU={class:"flex flex-row items-center justify-between"},yU={class:"flex items-center gap-3"},_U={class:"flex flex-col"},wU={key:0,class:"deposit-coupon__amount text-xs font-bold text-[rgb(var(--v-theme-success))]"},SU={key:0,class:"mt-3 flex flex-col gap-4"},xU={class:"flex items-start gap-2"},kU={class:"deposit-coupon__list mt-3 flex max-h-[250px] list-none flex-col gap-3 overflow-y-auto rounded-md bg-gray-900 p-3 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"},EU={class:"flex items-center justify-between border-b border-gray-700 p-3"},CU={class:"flex items-center gap-3"},AU={class:"text-sm"},TU={class:"flex gap-2"},PU={class:"flex items-center justify-between p-3 text-sm"},IU=Ae({name:"WalletDepositCoupon",__name:"Coupon",emits:["redirect-to-bonus"],setup(e,{emit:t}){const n=t,o=zl();function r(){o.isCouponInputVisible=!o.isCouponInputVisible,o.resetCouponInput(),o.isCouponInputVisible&&o.getCoupons()}async function s(){const a=await o.submitCouponCode(o.couponModel);a.ok&&!a.isDepositCoupon&&n("redirect-to-bonus")}return(a,i)=>(B(),oe("div",gU,[w("div",bU,[x(os,{variant:"text",ripple:!1,link:!C(o).isCouponApplied,class:"deposit-coupon__summary !h-auto !rounded-none !p-0 text-sm text-[var(--color-content-secondary)]","aria-label":C(o).isCouponApplied?C(T)("deposit.coupon.label"):C(T)("deposit.coupon.have-coupon"),onClick:i[0]||(i[0]=l=>!C(o).isCouponApplied&&r())},{default:q(()=>[w("span",yU,[w("span",{class:te(["flex items-center justify-center rounded-full p-2",C(o).isCouponApplied?"bg-[rgb(var(--v-theme-success))]/20":"bg-[rgb(var(--v-theme-primary))]/20"])},[x(_e,{icon:C(o).isCouponApplied?"fa6-solid:circle-check":"fa6-solid:ticket",size:"small",class:te([C(o).isCouponApplied?"text-[rgb(var(--v-theme-success))]":"text-[var(--color-brand-primary)]",{"-rotate-45":!C(o).isCouponApplied}])},null,8,["icon","class"])],2),w("span",_U,[w("span",{class:te({"text-medium-emphasis":C(o).isCouponApplied})},z(C(o).isCouponApplied?C(o).activatedCoupon?.coupon.name:C(T)("deposit.coupon.label")),3),C(o).isCouponApplied&&C(o).activatedCoupon?(B(),oe("span",wU," +"+z(C(Zh)(C(o).activatedCoupon)),1)):he("",!0)])])]),_:1},8,["link","aria-label"]),C(o).isCouponApplied?(B(),ge(He,{key:1,size:"x-small",variant:"text",color:"primary","prepend-icon":"fa6-solid:trash",class:"deposit-coupon__remove","aria-label":C(T)("deposit.coupon.remove"),onClick:i[1]||(i[1]=l=>C(o).removeCoupon())},{default:q(()=>[ye(z(C(T)("deposit.coupon.remove")),1)]),_:1},8,["aria-label"])):(B(),ge(He,{key:0,size:"small",variant:"text",color:"primary",class:"deposit-coupon__toggle","aria-label":C(T)("deposit.coupon.have-coupon"),onClick:r},{default:q(()=>[ye(z(C(o).isCouponInputVisible?C(T)("deposit.coupon.close"):C(T)("deposit.coupon.have-coupon")),1)]),_:1},8,["aria-label"]))]),x(kc,null,{default:q(()=>[C(o).isCouponInputVisible?(B(),oe("div",SU,[w("div",xU,[x($t,{class:"deposit-coupon__input flex-1","model-value":C(o).couponModel,label:C(T)("deposit.coupon.placeholder"),density:"comfortable","bg-color":"brand-input","hide-details":"auto","error-messages":C(o).couponError||void 0,"aria-label":C(T)("deposit.coupon.placeholder"),"onUpdate:modelValue":i[2]||(i[2]=l=>C(o).couponModel=String(l??"").toUpperCase())},null,8,["model-value","label","error-messages","aria-label"]),x(He,{color:"primary",variant:"tonal",class:"deposit-coupon__apply",size:"large",height:"50",loading:C(o).isCouponLoading,disabled:!C(o).couponModel.trim(),"aria-label":C(T)("deposit.coupon.apply"),onClick:s},{default:q(()=>[ye(z(C(T)("deposit.coupon.apply")),1)]),_:1},8,["loading","disabled","aria-label"])]),C(o).depositCoupons.length>0?(B(),ge(hU,{key:0,flat:"",class:"deposit-coupon__available","bg-color":"transparent"},{default:q(()=>[x(mU,{"expand-icon":"fa6-solid:chevron-down","collapse-icon":"fa6-solid:chevron-up",title:C(T)("deposit.coupon.available"),class:"deposit-coupon__panel [&_.v-expansion-panel-title]:min-h-0 [&_.v-expansion-panel-title]:justify-center [&_.v-expansion-panel-title]:py-2 [&_.v-expansion-panel-title]:text-sm [&_.v-expansion-panel-title__overlay]:bg-transparent"},{default:q(()=>[x(rf,null,{default:q(()=>[w("ul",kU,[(B(!0),oe(xe,null,Wt(C(o).depositCoupons,l=>(B(),oe("li",{key:l.id,class:"deposit-coupon__item rounded-md border border-gray-700 bg-gray-800"},[w("header",EU,[w("div",CU,[x(_e,{icon:"fa6-solid:ticket",size:"small",class:"-rotate-45 text-[var(--color-brand-primary)]"}),w("h3",AU,z(l.coupon.name),1)]),w("span",TU,[l.coupon.amount_type===1?(B(),ge(os,{key:0,size:"x-small",color:"info"},{default:q(()=>[ye(z(C(T)("deposit.coupon.badge-bonus")),1)]),_:1})):he("",!0),l.coupon.amount_type===2?(B(),ge(os,{key:1,size:"x-small",color:"success"},{default:q(()=>[ye(z(C(T)("deposit.coupon.badge-credit")),1)]),_:1})):he("",!0)])]),w("div",PU,[w("span",null,z(C(T)("deposit.coupon.value"))+" "+z(C(Zh)(l)),1),x(He,{size:"small",color:"primary",variant:"tonal","aria-label":C(T)("deposit.coupon.select"),onClick:c=>C(o).selectCoupon(l)},{default:q(()=>[ye(z(C(T)("deposit.coupon.select")),1)]),_:1},8,["aria-label","onClick"])])]))),128))])]),_:1})]),_:1},8,["title"])]),_:1})):he("",!0)])):he("",!0)]),_:1})]))}}),RU=Qe(IU,[["__scopeId","data-v-68e39788"]]),eg=1e4;function OU(e){const t=U(!1),n=U(0);let o=null;async function r(){n.value=Date.now();try{await e()}catch(l){const c=l instanceof Error?l.message:String(l);We.error(`deposit polling tick failed: ${c}`,{tag:"DEPOSIT"})}}function s(){document.visibilityState==="visible"&&Date.now()-n.value>=eg&&r()}function a(){!Nt||t.value||(t.value=!0,n.value=Date.now(),o=setInterval(()=>void r(),eg),document.addEventListener("visibilitychange",s))}function i(){o&&clearInterval(o),o=null,Nt&&document.removeEventListener("visibilitychange",s),t.value=!1}return oc()&&Ct(i),{isPolling:t,lastPolledAt:n,start:a,stop:i}}const $U=["aria-label"],LU=Ae({name:"WalletDepositView",__name:"View",props:{transactionId:{}},setup(e,{expose:t}){const n=e,o=Kn(),r=Ge(),s=zl(),a=Ze(),{section:i,loading:l,inputAmount:c,formError:u,amountError:d,depositId:f,depositData:m,onAmountInput:p,setPresetAmount:h,resetDeposit:v,fetchPayment:y,openWithTransaction:k,submitDeposit:_}=rj({onNonDepositCoupon:()=>void o.push("/user/promotion"),onDepositCreated:()=>{g.value=!0}}),g=U(!1),b=A(()=>Number(a.business.deposit_popup_timer??0)),S=A(()=>{const Y=a.business.deposit_popup_message;return typeof Y=="string"?Y:""}),E=A(()=>b.value>0&&g.value),O=U(!1);le(()=>n.transactionId,(Y,H)=>{Y&&Y!==H&&(g.value=!1,k(Y))},{immediate:!0});const R=OU(async()=>{if(!f.value)return;const Y=await y(f.value,{silent:!0});Y&&Y.status!==hr.pending&&R.stop()});le([i,()=>m.value?.status,O],([Y,H,N])=>{Y==="payment"&&H===hr.pending&&!N?R.start():R.stop()});function L(){r.closeModal(gr),o.push("/user/promotion")}function D(){R.stop(),O.value=!1,g.value=!1,v()}function I(){O.value=!0}function V(){R.stop(),O.value=!1,g.value=!1,v()}return gt(V),t({reset:V}),(Y,H)=>{const N=RU,J=fU,Q=Tj;return B(),oe("div",null,[C(i)==="form"?(B(),ge(J,{key:0,"input-amount":C(c),loading:C(l),"coupon-loading":C(s).isCouponLoading,"form-error":C(u),"amount-error":C(d),"onUpdate:inputAmount":C(p),onPreset:C(h),onSubmit:H[0]||(H[0]=X=>C(_)())},{coupon:q(()=>[x(N,{onRedirectToBonus:L})]),_:1},8,["input-amount","loading","coupon-loading","form-error","amount-error","onUpdate:inputAmount","onPreset"])):C(m)?(B(),ge(Q,{key:2,"deposit-data":C(m),loading:C(l),"show-countdown":E.value,"countdown-minutes":b.value,"expired-message":S.value,onRefresh:H[1]||(H[1]=X=>C(y)(C(f))),onNewDeposit:D,onExpired:I},null,8,["deposit-data","loading","show-countdown","countdown-minutes","expired-message"])):(B(),oe("div",{key:1,class:"flex justify-center py-10",role:"status","aria-label":C(T)("deposit.form.loading")},[x(Ja,{indeterminate:"",color:"primary"})],8,$U))])}}}),DU=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;function VU(){if(typeof navigator>"u")return;const e=navigator.userAgentData;if(!(!e||typeof e.mobile!="boolean"))return e.mobile}function MU(e){return DU.test(e)}function BU(e){const t=VU();if(t!==void 0)return t;const n=typeof navigator<"u"?navigator.userAgent:"";return n?MU(n):!1}function jc(){const e="".replace(/\/?$/,"/");function t(o,r=!0){if(!o)return!1;const s=o.replace(/-/g,""),a=s.length===32;return r?a&&!s.includes("."):a}function n(o,r,s,a=!0){if(!o)return r||"";if(o.startsWith("http://")||o.startsWith("https://")||o.startsWith("//"))return o;if(!t(o,a))return r||o||"";const l=s||(BU()?"mobile":"desktop");return`${e}${o}/${l}`}return{isCloudflareCode:t,getCloudflareImage:n}}const tg=/^https?:\/\//i;function Oa(e){if(!e?.length)return;const t=e.find(o=>o.status!==0)??e[0],n=t.src||t.image_url;if(n&&tg.test(n))return n;if(t.image_cf){const{getCloudflareImage:o}=jc(),r=o(t.image_cf,n,"bannerModal");if(r&&tg.test(r))return r}return n||void 0}const NU=448,FU=Ae({name:"WalletDeposit",__name:"Index",setup(e){const t=jt(),n=Ge(),o=Ze(),r=at(),s=U(null),a=A(()=>n.modals.find(u=>u.name===gr)),i=A(()=>a.value?.data?.transactionId),l=A(()=>Oa(o.modalBanners?.deposit));function c(){s.value?.reset()}return le(()=>!!a.value,(u,d)=>{d&&!u&&c()}),le(()=>r.hasUser,(u,d)=>{d&&!u&&n.closeModal(gr)}),ut(()=>{if(!o.business.deposit_enable_popup)return;const u=t.query.depositId;typeof u=="string"&&u&&n.setModal({name:gr,data:{transactionId:u}})}),(u,d)=>{const f=LU,m=Eo;return B(),ge(m,{name:C(gr),width:NU,"max-width":"calc(100vw - 1rem)",padding:"default","banner-url":l.value,onClose:c},{default:q(()=>[x(f,{ref_key:"viewRef",ref:s,"transaction-id":i.value},null,8,["transaction-id"])]),_:1},8,["name","banner-url"])}}});function jU(e,t,n){return km(e,t,n)||!0}function di(e){return e.replace(/\D/g,"").trim()}function UU(e){return di(e).slice(0,11).replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2")}function YC(){return e=>!!di(e)||T("userDocument.errors.required")}function JC(){const e=T("userDocument.label");return t=>{const n=di(t??"");return n?jU({amount:11,doc:!0},n,e):!0}}function zU(){return[YC(),JC()]}const HU=Ae({__name:"FormUpdate",props:{loading:{type:Boolean}},emits:["submit"],setup(e,{expose:t,emit:n}){const o=n,r=U(""),s=U(null),a=U(null),i=vt({}),l=zU();function c(v){r.value=UU(String(v??"")),i.document&&delete i.document}async function u(){return(await s.value?.validate())?.valid??!1}function d(){s.value?.resetValidation()}function f(){a.value?.focus()}function m(){return di(r.value)}function p(v){Object.keys(i).forEach(y=>delete i[y]),v&&Object.assign(i,v)}function h(){r.value="",d(),p()}return t({validate:u,resetValidation:d,focusDocument:f,getDocument:m,setFieldErrors:p,reset:h}),(v,y)=>{const k=Ly("maska");return B(),ge(ui,{ref_key:"formRef",ref:s,class:"document-form-update","validate-on":"submit",onSubmit:y[1]||(y[1]=sn(_=>o("submit"),["prevent"]))},{default:q(()=>[St(x($t,{ref_key:"documentFieldRef",ref:a,modelValue:r.value,"onUpdate:modelValue":[y[0]||(y[0]=_=>r.value=_),c],label:C(T)("userDocument.label"),placeholder:C(T)("userDocument.placeholder"),type:"tel",inputmode:"numeric",autocomplete:"off",density:"comfortable","hide-details":"auto",rules:C(l),"error-messages":i.document,disabled:e.loading,class:"auth-modal-field"},null,8,["modelValue","label","placeholder","rules","error-messages","disabled"]),[[k,"###.###.###-##"]]),x(He,{type:"submit",color:"primary",size:"large",variant:"flat",block:"",loading:e.loading},{default:q(()=>[ye(z(C(T)("userDocument.submit")),1)]),_:1},8,["loading"])]),_:1},512)}}}),KU=Qe(HU,[["__scopeId","data-v-3eacfc4a"]]),WU={class:"text-caption text-medium-emphasis mb-0"},qU=Ae({__name:"Index",setup(e){const t=Ge(),{modalPersistent:n,completePendingAction:o,cancelPendingAction:r}=Is(),s=U(null),a=U(!1);async function i(d){const f=di(d),m=YC()(d);if(m!==!0)return{ok:!1,error:m};const p=JC()(d);if(p!==!0)return{ok:!1,error:p};try{const{data:h}=await Ye.post("/api/validate/document",{document:f});if(h?.success===!1)return{ok:!1,error:h.errors||h.message||T("userDocument.errors.invalid")};if(h?.data?.errors)return{ok:!1,error:T("userDocument.errors.invalid")};if(h?.message&&!h?.name)return{ok:!1,error:h.message};const{data:v}=await Ye.post("/api/auth/document",{document:f});return v?.success?(await at().getUser(),{ok:!0}):{ok:!1,error:v?.message||T("userDocument.errors.saveFailed")}}catch{return{ok:!1,error:T("userDocument.errors.generic")}}}function l(){s.value?.reset(),Je(()=>s.value?.focusDocument())}function c(){s.value?.resetValidation(),s.value?.setFieldErrors(),s.value?.reset(),r()}async function u(){const d=s.value;if(!(!d||(d.setFieldErrors(),!await d.validate()))){a.value=!0;try{const m=await i(d.getDocument());if("error"in m){const{error:p}=m;d.setFieldErrors({document:p}),t.showAlert("error",p,{timeout:4200});return}t.showAlert("success",T("userDocument.success"),{timeout:4200}),t.closeModal("user-document"),await o()}finally{a.value=!1}}}return(d,f)=>{const m=KU;return B(),ge(Eo,{name:"user-document",title:C(T)("userDocument.title"),width:448,"max-width":"calc(100vw - 1rem)",padding:"default",closable:!C(n),persistent:C(n),onOpen:l,onClose:c},{default:q(()=>[w("p",WU,z(C(T)("userDocument.subtitle")),1),x(m,{ref_key:"formRef",ref:s,class:"mt-4",loading:a.value,onSubmit:u},null,8,["loading"])]),_:1},8,["title","closable","persistent"])}}}),GU=["src","alt"],YU=Ae({__name:"Index",setup(e){const t=Ze(),n=A(()=>t.business.general_logo),o=A(()=>t.business.general_site_title);return(r,s)=>{const a=Tn("router-link");return B(),ge(a,{to:"/",title:o.value,"aria-label":o.value,class:"site-logo-link brand-hover-link"},{default:q(()=>[w("img",{src:n.value,alt:o.value,class:"brand-hover-logo site-logo-image max-h-full max-w-full object-contain"},null,8,GU)]),_:1},8,["title","aria-label"])}}}),Rs=Qe(YU,[["__scopeId","data-v-dcf0c0b6"]]),Hu="code";function ng(){try{const e=us(Hu);return e||(typeof window<"u"?window.localStorage.getItem(Hu):null)}catch{return us(Hu)}}function XC(){const e=U(ng()),t=A(()=>!!e.value);function n(){e.value=ng()}return{couponCode:e,hasCoupon:t,refresh:n}}const JU={key:0,class:"inline-flex items-center gap-1.5 self-center rounded-full bg-green-500/10 px-4 py-1.5 text-sm text-green-500"},XU=Ae({__name:"CouponAppliedBadge",setup(e,{expose:t}){const{hasCoupon:n,refresh:o}=XC();return ut(o),t({refresh:o}),(r,s)=>C(n)?(B(),oe("p",JU,[x(_e,{icon:"fa6-solid:ticket",size:"x-small",class:"-rotate-45"}),w("span",null,z(C(T)("authModal.couponApplied")),1)])):he("",!0)}}),ZU="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";function QU(e){return!1}async function ez(){typeof window>"u"||await Fc({src:ZU,alreadyLoaded:()=>!!window.turnstile})}function tz(e={}){const t=U(null),n=U(null),o=A(()=>e.siteKey!==void 0?String(it(e.siteKey)||""):""),r=A(()=>e.enabled!==void 0?!!it(e.enabled):QU(o.value));async function s(){if(!(!r.value||!t.value||n.value))try{if(await ez(),!window.turnstile||!t.value)return;const l={sitekey:o.value,callback:c=>e.onSuccess?.(c),"error-callback":()=>e.onError?.(),"expired-callback":()=>e.onExpired?.()};e.theme&&(l.theme=e.theme),n.value=window.turnstile.render(t.value,l)}catch{e.onError?.()}}function a(){n.value&&window.turnstile?.reset?.(n.value)}function i(){n.value&&(window.turnstile?.remove?.(n.value),n.value=null)}return e.autoMount!==!1&&(ut(async()=>{await Je(),r.value&&await s()}),le(r,l=>{l?s():i()})),xo(i),{containerRef:t,widgetId:n,enabled:r,siteKey:o,render:s,reset:a,remove:i}}const nz={key:0,class:"register-captcha mt-2"},oz=Ae({__name:"RegisterCaptcha",props:{modelValue:{default:null},modelModifiers:{}},emits:["update:modelValue"],setup(e,{expose:t}){const n=GP(e,"modelValue"),{containerRef:o,enabled:r,reset:s}=tz({onSuccess:i=>{n.value=i},onError:()=>{n.value=null},onExpired:()=>{n.value=null}});function a(){n.value=null,s()}return t({reset:a,enabled:r}),(i,l)=>C(r)?(B(),oe("div",nz,[w("div",{ref_key:"containerRef",ref:o,class:"register-captcha__widget"},null,512)])):he("",!0)}}),rz=Qe(oz,[["__scopeId","data-v-39ecaec8"]]),sz=["aria-label"],az={class:"m-0 list-none p-0"},iz={class:"inline-flex size-3 shrink-0 items-center justify-center","aria-hidden":"true"},lz={class:"text-sm leading-5"},cz=Ae({__name:"RegisterPasswordRules",props:{show:{type:Boolean},password:{}},emits:["close"],setup(e,{emit:t}){const n=e,o=t,r=A(()=>tC(n.password));return(s,a)=>e.show?(B(),oe("div",{key:0,class:"bg-brand-card absolute left-0 right-0 top-[calc(100%+0.25rem)] z-50 rounded-md border border-white/10 px-3 pb-2 pt-1 backdrop-blur-sm",role:"dialog","aria-label":C(T)("authModal.password")},[w("ul",az,[(B(!0),oe(xe,null,Wt(r.value,i=>(B(),oe("li",{key:i.key,class:"mb-1 flex items-center gap-2 last:mb-0"},[w("span",iz,[x(_e,{icon:i.valid?"fa6-solid:check":"fa6-solid:circle-xmark",color:i.valid?"success":"error",size:"12"},null,8,["icon","color"])]),w("span",lz,z(i.message),1)]))),128))]),x(He,{type:"button",variant:"flat",color:"primary",size:"small",block:"",class:"mb-1 mt-2 font-semibold",onMousedown:a[0]||(a[0]=sn(()=>{},["prevent"])),onClick:a[1]||(a[1]=i=>o("close"))},{default:q(()=>[ye(z(C(T)("authModal.passwordRules.done")),1)]),_:1})],8,sz)):he("",!0)}});var uz=Object.defineProperty,dz=(e,t,n)=>t in e?uz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,da=(e,t,n)=>dz(e,typeof t!="symbol"?t+"":t,n);const og={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},rg=(e,t,n)=>e.replaceAll(t,"").replace(n,".").replace("..",".").replace(/[^.\d]/g,""),sg=(e,t,n)=>{var o;return new Intl.NumberFormat(((o=n.number)==null?void 0:o.locale)??"en",{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:"trunc"})},fz=(e,t=!0,n)=>{var o,r,s,a;const i=((o=n.number)==null?void 0:o.unsigned)!==!0&&e.startsWith("-")?"-":"",l=((r=n.number)==null?void 0:r.fraction)??0;let c=sg(0,l,n);const u=c.formatToParts(1000.12),d=((s=u.find(v=>v.type==="group"))==null?void 0:s.value)??" ",f=((a=u.find(v=>v.type==="decimal"))==null?void 0:a.value)??".",m=rg(e,d,f);if(Number.isNaN(parseFloat(m)))return i;const p=m.split(".");if(p[1]!=null&&p[1].length>=1){const v=p[1].length<=l?p[1].length:l;c=sg(v,l,n)}let h=c.format(parseFloat(m));return t?l>0&&m.endsWith(".")&&!m.slice(0,-1).includes(".")&&(h+=f):h=rg(h,d,f),i+h},ZC=e=>JSON.parse(e.replaceAll("'",'"')),mz=(e,t={})=>{const n={...t};e.dataset.maska!=null&&e.dataset.maska!==""&&(n.mask=pz(e.dataset.maska)),e.dataset.maskaEager!=null&&(n.eager=Ni(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(n.reversed=Ni(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(n.tokensReplace=Ni(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(n.tokens=vz(e.dataset.maskaTokens));const o={};return e.dataset.maskaNumberLocale!=null&&(o.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(o.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(o.unsigned=Ni(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(o).length>0)&&(n.number=o),n},Ni=e=>e!==""?!!JSON.parse(e):!0,pz=e=>e.startsWith("[")&&e.endsWith("]")?ZC(e):e,vz=e=>{if(e.startsWith("{")&&e.endsWith("}"))return ZC(e);const t={};return e.split("|").forEach(n=>{const o=n.split(":");t[o[0]]={pattern:QC()?new RegExp(o[1],"u"):new RegExp(o[1]),optional:o[2]==="optional",multiple:o[2]==="multiple",repeated:o[2]==="repeated"}}),t},QC=()=>{try{return new RegExp("\\p{L}","u"),!0}catch{return!1}};class eA{constructor(t={}){da(this,"opts",{}),da(this,"memo",new Map);const n={...t};if(n.tokens!=null){n.tokens=n.tokensReplace?{...n.tokens}:{...og,...n.tokens};for(const o of Object.values(n.tokens))typeof o.pattern=="string"&&(o.pattern=QC()?new RegExp(o.pattern,"u"):new RegExp(o.pattern))}else n.tokens=og;Array.isArray(n.mask)&&(n.mask.length>1?n.mask=[...n.mask].sort((o,r)=>o.length-r.length):n.mask=n.mask[0]??""),n.mask===""&&(n.mask=null),this.opts=n}masked(t){return this.process(String(t),this.findMask(String(t)))}unmasked(t){return this.process(String(t),this.findMask(String(t)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(t){const n=this.findMask(String(t));if(this.opts.mask==null||n==null)return!1;const o=this.process(String(t),n).length;return typeof this.opts.mask=="string"?o>=this.opts.mask.length:o>=n.length}findMask(t){const n=this.opts.mask;if(n==null)return null;if(typeof n=="string")return n;if(typeof n=="function")return n(t);const o=this.process(t,n.slice(-1).pop()??"",!1);return n.find(r=>this.process(t,r,!1).length>=o.length)??""}escapeMask(t){const n=[],o=[];return t.split("").forEach((r,s)=>{r==="!"&&t[s-1]!=="!"?o.push(s-o.length):n.push(r)}),{mask:n.join(""),escaped:o}}process(t,n,o=!0){if(this.opts.number!=null)return fz(t,o,this.opts);if(n==null)return t;const r=`v=${t},mr=${n},m=${o?1:0}`;if(this.memo.has(r))return this.memo.get(r);const{mask:s,escaped:a}=this.escapeMask(n),i=[],l=this.opts.tokens!=null?this.opts.tokens:{},c=this.isReversed()?-1:1,u=this.isReversed()?"unshift":"push",d=this.isReversed()?0:s.length-1,f=this.isReversed()?()=>v>-1&&y>-1:()=>v!this.isReversed()&&_<=d||this.isReversed()&&_>=d;let p,h=-1,v=this.isReversed()?s.length-1:0,y=this.isReversed()?t.length-1:0,k=!1;for(;f();){const _=s.charAt(v),g=l[_],b=g?.transform!=null?g.transform(t.charAt(y)):t.charAt(y);if(!a.includes(v)&&g!=null?(b.match(g.pattern)!=null?(i[u](b),g.repeated?(h===-1?h=v:v===d&&v!==h&&(v=h-c),d===h&&(v-=c)):g.multiple&&(k=!0,v-=c),v+=c):g.multiple?k&&(v+=c,y-=c,k=!1):b===p?p=void 0:g.optional&&(v+=c,y-=c),y+=c):(o&&!this.isEager()&&i[u](_),b===_&&!this.isEager()?y+=c:p=_,this.isEager()||(v+=c)),this.isEager())for(;m(v)&&(l[s.charAt(v)]==null||a.includes(v));){if(o){if(i[u](s.charAt(v)),t.charAt(y)===s.charAt(v)){v+=c,y+=c;continue}}else s.charAt(v)===t.charAt(y)&&(y+=c);v+=c}}return this.memo.set(r,i.join("")),this.memo.get(r)}}class tA{constructor(t,n={}){da(this,"items",new Map),da(this,"eventAbortController"),da(this,"onInput",o=>{if(o instanceof CustomEvent&&o.type==="input"&&!o.isTrusted&&!o.bubbles)return;const r=o.target,s=this.items.get(r);if(s===void 0)return;const a="inputType"in o&&o.inputType.startsWith("delete"),i=s.isEager(),l=a&&i&&s.unmasked(r.value)===""?"":r.value;this.fixCursor(r,a,()=>this.setValue(r,l))}),this.options=n,this.eventAbortController=new AbortController,this.init(this.getInputs(t))}update(t={}){this.options={...t},this.init(Array.from(this.items.keys()))}updateValue(t){var n;t.value!==""&&t.value!==((n=this.processInput(t))==null?void 0:n.masked)&&this.setValue(t,t.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(t){const n=this.getOptions(this.options);for(const o of t){if(!this.items.has(o)){const{signal:s}=this.eventAbortController;o.addEventListener("input",this.onInput,{capture:!0,signal:s})}const r=new eA(mz(o,n));this.items.set(o,r),queueMicrotask(()=>this.updateValue(o)),o.selectionStart===null&&r.isEager()&&console.warn("Maska: input of `%s` type is not supported",o.type)}}getInputs(t){return typeof t=="string"?Array.from(document.querySelectorAll(t)):"length"in t?Array.from(t):[t]}getOptions(t){const{onMaska:n,preProcess:o,postProcess:r,...s}=t;return s}fixCursor(t,n,o){var r,s;const a=t.selectionStart,i=t.value;if(o(),a===null||a===i.length&&!n)return;const l=t.value,c=i.slice(0,a),u=l.slice(0,a),d=(r=this.processInput(t,c))==null?void 0:r.unmasked,f=(s=this.processInput(t,u))==null?void 0:s.unmasked;if(d===void 0||f===void 0)return;let m=a;c!==u&&(m+=n?l.length-i.length:d.length-f.length),t.setSelectionRange(m,m)}setValue(t,n){const o=this.processInput(t,n);o!==void 0&&(t.value=o.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(r=>r(o)):this.options.onMaska(o)),t.dispatchEvent(new CustomEvent("maska",{detail:o})),t.dispatchEvent(new CustomEvent("input",{detail:o.masked})))}processInput(t,n){const o=this.items.get(t);if(o===void 0)return;let r=n??t.value;this.options.preProcess!=null&&(r=this.options.preProcess(r));let s=o.masked(r);return this.options.postProcess!=null&&(s=this.options.postProcess(s)),{masked:s,unmasked:o.unmasked(r),completed:o.completed(r)}}}const Ku=new WeakMap,hz=(e,t)=>{if(e.arg==null||e.instance==null)return;const n="setup"in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:n&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},gz=(e,t)=>{var n;const o=e instanceof HTMLInputElement?e:e.querySelector("input");if(o==null||o?.type==="file")return;let r={};if(t.value!=null&&(r=typeof t.value=="string"?{mask:t.value}:{...t.value}),t.arg!=null){const s=a=>{const i=t.modifiers.unmasked?a.unmasked:t.modifiers.completed?a.completed:a.masked;hz(t,i)};r.onMaska=r.onMaska==null?s:Array.isArray(r.onMaska)?[...r.onMaska,s]:[r.onMaska,s]}Ku.has(o)?(n=Ku.get(o))==null||n.update(r):Ku.set(o,new tA(o,r))},bz="###.###.###-##",nA={mask:bz,eager:!0};let Wu;function yz(){return Wu||(Wu=new eA(nA)),Wu}function _z(e){return yz().masked(e)}function wz(e){const t=yo(e).slice(0,11);return t.length<=2?t?`(${t}`:"":t.length<=6?`(${t.slice(0,2)}) ${t.slice(2)}`:t.length<=10?`(${t.slice(0,2)}) ${t.slice(2,6)}-${t.slice(6)}`:`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7)}`}const Sz=/^Request failed with status code \d{3}$/i,xz=[Sz,/^network error$/i,/^timeout of \d+ms exceeded$/i,/^timeout exceeded$/i,/^econnaborted$/i,/^err_network$/i];function oA(e){if(!e?.trim())return!0;const t=e.trim();return xz.some(n=>n.test(t))}function kz(e){const t=e;if(t.code==="ECONNABORTED"||t.code==="ETIMEDOUT")return!0;const n=t.message??(e instanceof Error?e.message:"");return oA(n)&&/timeout/i.test(n)}function ag(...e){for(const t of e)if(t&&!oA(t))return t}function Ez(e){if(!e||typeof e!="object")return;const t={};for(const[n,o]of Object.entries(e))Array.isArray(o)&&o[0]?t[n]=String(o[0]):typeof o=="string"&&o&&(t[n]=o);return Object.keys(t).length?t:void 0}function qu(e,t,n){const o=ag(e?.message,e?.error);if(o)return o;if(t instanceof Error){const r=ag(t.message);if(r)return r}return n}function Hl(e,t,n){const o=e,r=o.response?.status,s=o.response?.data,a=Ez(s?.errors);return n?.timeoutFallback&&kz(e)?{message:n.timeoutFallback,fieldErrors:a}:r===429?{message:qu(s,e,t),rateLimited:!0}:r===403&&s?.impeded?{message:qu(s,e,t),impeded:!0}:{message:qu(s,e,t),fieldErrors:a,impeded:s?.impeded}}function Cz(e,t){const n=Hl(e,t.fallback,{timeoutFallback:t.timeoutFallback});return n.fieldErrors?.document??n.message}function Az(e,t){let n;async function o(){n?.destroy(),n=void 0,await Je();const r=e.value?.$el?.querySelector("input");r&&(n=new tA(r,t))}return ut(()=>{o()}),xo(()=>{n?.destroy()}),{bindMask:o}}const Tz={class:"flex w-full flex-col items-center gap-y-6"},Pz={class:"flex justify-center py-1"},Iz={class:"flex w-full flex-col gap-y-3"},Rz={class:"flex w-full items-stretch gap-3"},Oz={class:"relative w-24 max-w-24 shrink-0 cursor-not-allowed"},$z={class:"relative"},Lz={class:"flex flex-col items-center gap-1"},Dz={class:"inline-flex max-w-full cursor-pointer select-none items-center gap-2"},Vz={class:"text-left text-xs leading-snug"},Mz={key:0,class:"text-error m-0 text-center text-[0.625rem] leading-tight"},Bz={class:"auth-modal-footer-text text-medium-emphasis text-center text-xs"},Nz=Ae({__name:"RegisterForm",props:{loading:{type:Boolean}},emits:["submit","open-login"],setup(e,{expose:t,emit:n}){const o=n,r=pt(),s=U(""),a=U(""),i=U(""),l=U(""),c=U(""),u=U(""),d=U(!1),f=U(!1),m=U(null),p=U(!1),h=U(!1),v=U(!1),y=U(null),k=U(null),_=U(null),g=U(null),b=vt({});Az(k,nA);const S=A(()=>r.documentValidating),E=Mc(),O=[E,Ah()],R=[E,P2()],L=[E,I2()],D=R2(),I=O2(),V=A(()=>tC(u.value)),Y=A(()=>V.value.every(Be=>Be.valid)),H=A(()=>!1),N=A(()=>{if(!f.value)return"";const Be=I(d.value);return Be===!0?"":Be}),J=A(()=>!!(!v.value||!d.value||!Y.value||H.value&&!m.value));le(s,Be=>{yo(Be).length<11&&(v.value=!1,a.value="",i.value="")});function Q(Be){s.value=_z(Be)}function X(Be){c.value=wz(Be)}function F(){h.value=!1}function j(){window.setTimeout(()=>{h.value=!1},150)}async function W(){if(delete b.document,yo(s.value).length!==11)return;const P=Ah()(s.value);if(P!==!0){b.document=P;return}try{const $=await r.validateDocument(s.value);a.value=$.name,i.value=$.birthday,v.value=!0}catch($){v.value=!1,a.value="",i.value="",b.document=Cz($,{fallback:T("authModal.errors.documentValidateFailed"),timeoutFallback:T("authModal.errors.documentValidateTimeout")})}}function fe(){s.value="",a.value="",i.value="",v.value=!1,delete b.document,y.value?.resetValidation()}function Me(){return!!yo(s.value)||!!l.value.trim()||!!yo(c.value)||!!u.value||d.value||v.value}async function Ke(){return v.value?(f.value=!0,d.value?(await y.value?.validate())?.valid??!1:!1):(b.document=T("authModal.errors.documentNotValidated"),!1)}function Oe(){y.value?.resetValidation()}function ne(){return{document:s.value,name:a.value,email:l.value.trim(),phone:c.value,password:u.value,birthday:i.value,termsAccepted:d.value,token:m.value}}function be(Be){Object.keys(b).forEach(Pe=>delete b[Pe]),Be&&Object.assign(b,Be)}function ae(){g.value?.reset(),m.value=null}function Se(){s.value="",a.value="",i.value="",l.value="",c.value="",u.value="",d.value=!1,f.value=!1,v.value=!1,h.value=!1,be(),Oe(),ae(),_.value?.refresh()}return t({validate:Ke,resetValidation:Oe,getPayload:ne,setFieldErrors:be,isDirty:Me,resetForm:Se,resetCaptcha:ae}),(Be,Pe)=>{const P=Tn("router-link");return B(),oe("div",Tz,[w("div",Pz,[x(Rs,{class:"[&_.site-logo-image]:h-auto [&_.site-logo-image]:max-h-none [&_.site-logo-image]:w-auto [&_.site-logo-image]:max-w-24"})]),x(XU,{ref_key:"couponBadgeRef",ref:_},null,512),x(ui,{ref_key:"formRef",ref:y,class:"flex w-full flex-col gap-y-4","validate-on":"blur",onSubmit:Pe[12]||(Pe[12]=sn($=>o("submit"),["prevent"]))},{default:q(()=>[w("div",Iz,[x($t,{ref_key:"documentFieldRef",ref:k,"model-value":s.value,label:C(T)("authModal.document"),type:"text",inputmode:"numeric",autocomplete:"off",density:"comfortable","hide-details":"auto",readonly:v.value||S.value,class:te(["auth-modal-field auth-modal-field--cpf",{"auth-modal-field--cpf-readonly":v.value}]),rules:O,"error-messages":b.document,"onUpdate:modelValue":Q},{"append-inner":q(()=>[v.value?(B(),ge(He,{key:1,icon:"",variant:"flat",color:"primary",class:"!size-8 !min-w-8 !rounded-lg [&_.v-icon]:!text-sm",onClick:sn(fe,["stop"])},{default:q(()=>[x(_e,{icon:"fa6-solid:trash",size:"small"})]),_:1})):(B(),ge(He,{key:0,icon:"",variant:"flat",color:"primary",class:"!size-8 !min-w-8 !rounded-lg [&_.v-icon]:!text-sm",loading:S.value,disabled:S.value,onClick:sn(W,["stop"])},{default:q(()=>[x(_e,{icon:"fa6-solid:magnifying-glass",size:"small"})]),_:1},8,["loading","disabled"]))]),_:1},8,["model-value","label","readonly","class","error-messages"]),v.value&&a.value?(B(),ge($t,{key:0,modelValue:a.value,"onUpdate:modelValue":Pe[0]||(Pe[0]=$=>a.value=$),label:C(T)("authModal.name"),type:"text",density:"comfortable","hide-details":"auto",readonly:"",class:"auth-modal-field"},null,8,["modelValue","label"])):he("",!0),x($t,{modelValue:l.value,"onUpdate:modelValue":Pe[1]||(Pe[1]=$=>l.value=$),label:C(T)("authModal.email"),type:"email",autocomplete:"email",density:"comfortable","hide-details":"auto",rules:R,"error-messages":b.email,class:"auth-modal-field"},null,8,["modelValue","label","error-messages"]),w("div",Rz,[w("div",Oz,[x($t,{"model-value":"+55",label:C(T)("authModal.phoneDialCode"),type:"text",density:"comfortable","hide-details":"auto",disabled:"",tabindex:"-1",class:"auth-modal-field auth-modal-phone-code"},null,8,["label"]),Pe[13]||(Pe[13]=w("div",{class:"pointer-events-none absolute bottom-[0.4375rem] left-3 z-[2] flex size-4 items-center justify-center overflow-hidden rounded-full","aria-hidden":"true"},[w("img",{src:DC,alt:"",class:"size-full object-cover opacity-55",width:"16",height:"16"})],-1))]),x($t,{"model-value":c.value,label:C(T)("authModal.phone"),type:"tel",autocomplete:"tel",density:"comfortable","hide-details":"auto",rules:L,"error-messages":b.phone,class:"auth-modal-field min-w-0 flex-1","onUpdate:modelValue":X},null,8,["model-value","label","error-messages"])]),w("div",$z,[x($t,{modelValue:u.value,"onUpdate:modelValue":Pe[2]||(Pe[2]=$=>u.value=$),label:C(T)("authModal.password"),type:p.value?"text":"password",autocomplete:"new-password",density:"comfortable","hide-details":"auto",rules:C(D),"error-messages":b.password,class:"auth-modal-field","append-inner-icon":p.value?"fa6-solid:eye":"fa6-solid:eye-slash",onFocus:Pe[3]||(Pe[3]=$=>h.value=!0),onBlur:j,"onClick:appendInner":Pe[4]||(Pe[4]=$=>p.value=!p.value)},null,8,["modelValue","label","type","rules","error-messages","append-inner-icon"]),x(cz,{show:h.value,password:u.value,onClose:F},null,8,["show","password"])])]),w("div",Lz,[w("label",Dz,[St(w("input",{"onUpdate:modelValue":Pe[5]||(Pe[5]=$=>d.value=$),type:"checkbox",class:"sr-only",onChange:Pe[6]||(Pe[6]=$=>f.value=!0)},null,544),[[NI,d.value]]),w("span",{class:te(["flex size-5 shrink-0 items-center justify-center rounded-md border transition-colors",d.value?"border-brand-primary bg-brand-primary":"border-brand-primary/10 bg-white/10"]),"aria-hidden":"true"},[d.value?(B(),ge(_e,{key:0,icon:"fa6-solid:check",size:"12",class:"text-on-primary"})):he("",!0)],2),w("span",Vz,[ye(z(C(T)("authModal.termsPrefix"))+" ",1),x(P,{to:"/terms-and-conditions",target:"_blank",class:"text-brand-primary font-semibold no-underline hover:brightness-110",onClick:Pe[7]||(Pe[7]=sn(()=>{},["stop"]))},{default:q(()=>[ye(z(C(T)("authModal.termsLink")),1)]),_:1})])]),N.value?(B(),oe("p",Mz,z(N.value),1)):he("",!0)]),x(rz,{ref_key:"captchaRef",ref:g,modelValue:m.value,"onUpdate:modelValue":Pe[8]||(Pe[8]=$=>m.value=$)},null,8,["modelValue"]),x(He,{type:"submit",color:"primary",size:"large",variant:"flat",block:"",loading:e.loading,disabled:J.value},{default:q(()=>[ye(z(C(T)("authModal.submitRegister")),1)]),_:1},8,["loading","disabled"]),w("p",Bz,[ye(z(C(T)("authModal.hasAccount"))+" ",1),w("span",{role:"button",tabindex:"0",onMousedown:Pe[9]||(Pe[9]=sn(()=>{},["prevent"])),onClick:Pe[10]||(Pe[10]=$=>o("open-login")),onKeyup:Pe[11]||(Pe[11]=pc($=>o("open-login"),["enter"]))},z(C(T)("authModal.loginNow")),33)])]),_:1},512)])}}}),Fz=Qe(Nz,[["__scopeId","data-v-3002d696"]]),jz={class:"flex w-full flex-col items-center gap-y-6"},Uz={class:"flex justify-center py-1"},zz={class:"text-body-1 font-weight-bold mb-2 text-center"},Hz={class:"text-body-2 text-medium-emphasis mb-6 text-center"},Kz=Ae({__name:"RegisterCancelConfirm",props:{couponCode:{}},emits:["continue","cancel"],setup(e,{emit:t}){const n=t,o=e,r=A(()=>o.couponCode?T("authModal.couponApplied"):T("authModal.cancelBonusDefault"));return(s,a)=>(B(),oe("div",jz,[w("div",Uz,[x(Rs,{class:"[&_.site-logo-image]:h-auto [&_.site-logo-image]:max-h-none [&_.site-logo-image]:w-auto [&_.site-logo-image]:max-w-24"})]),w("p",zz,z(C(T)("authModal.cancelTitle")),1),w("p",Hz,z(r.value),1),x(He,{color:"primary",variant:"flat",block:"",class:"mb-3",onClick:a[0]||(a[0]=i=>n("continue"))},{default:q(()=>[ye(z(C(T)("authModal.cancelContinue")),1)]),_:1}),w("button",{type:"button",class:"text-medium-emphasis hover:text-brand-primary mx-auto border-0 bg-transparent text-xs transition-colors",onClick:a[1]||(a[1]=i=>n("cancel"))},z(C(T)("authModal.cancelConfirm")),1)]))}}),Wz=448,qz="calc(100vw - 1rem)",Gz=Ae({__name:"Index",setup(e){const t=pt(),n=Ge(),o=Ze(),r=Kn(),s=U("form"),a=U(null),{couponCode:i}=XC(),l=A(()=>{const v=o.modalBanners;if(v)return s.value==="cancel"?Oa(v.register_cancel):Oa(v.register)});function c(v,y="error"){n.showAlert(y,v,{timeout:4200})}function u(){s.value="form",o.fetchModalBanners(!0)}function d(){if(s.value==="cancel"){s.value="form",n.setModal({name:"register"});return}if(a.value?.isDirty()){s.value="cancel",n.setModal({name:"register"});return}f()}function f(){a.value?.resetForm(),s.value="form"}function m(){f(),n.closeModal("register"),r.push("/")}function p(){a.value?.resetForm(),s.value="form",n.closeModal("register"),n.setModal({name:"login"})}async function h(){const v=a.value;if(!(!v||(v.setFieldErrors(),!await v.validate())))try{await t.register(v.getPayload()),n.closeModal("register"),v.resetForm(),c(T("authModal.registerSuccess"),"success")}catch(k){if(B2(k)){n.closeModal("register"),v.resetForm(),c(T("authModal.errors.registerAutoLoginFailed"),"warning"),n.setModal({name:"login"});return}const _=k.fieldErrors;_&&v.setFieldErrors(_),v.resetCaptcha();const g=Hl(k,T("authModal.errors.registerFailed"));c(g.message)}}return(v,y)=>(B(),oe("div",{class:te({"auth-modal-host--banner":!!l.value})},[x(Eo,{name:"register",width:Wz,"max-width":qz,"banner-url":l.value,padding:"default",onOpen:u,onClose:d},{default:q(()=>[s.value==="form"?(B(),ge(Fz,{key:0,ref_key:"registerFormRef",ref:a,loading:C(t).registerLoading,onSubmit:h,onOpenLogin:p},null,8,["loading"])):(B(),ge(Kz,{key:1,"coupon-code":C(i),onContinue:y[0]||(y[0]=k=>s.value="form"),onCancel:m},null,8,["coupon-code"]))]),_:1},8,["banner-url"])],2))}}),Yz=Qe(Gz,[["__scopeId","data-v-ad9a17b1"]]);function Uc(){const e=Ze();return{registrationEnabled:A(()=>{const n=e.getBusinessValue("general_register");return n==null?!0:typeof n=="boolean"?n:typeof n=="string"?n!=="0"&&n.toLowerCase()!=="false":!!n})}}const Jz={class:"flex w-full flex-col items-center gap-y-6"},Xz={class:"flex justify-center py-1"},Zz={key:0,class:"auth-modal-footer-text text-medium-emphasis text-center text-xs"},Qz={class:"mt-2 flex justify-center"},e4=Ae({__name:"RecoverForm",props:{loading:{type:Boolean}},emits:["submit","back","open-register"],setup(e,{expose:t,emit:n}){const{registrationEnabled:o}=Uc(),r=n,s=U(""),a=U(null),i=U(null),l=vt({}),c=Z1();async function u(){return(await a.value?.validate())?.valid??!1}function d(){a.value?.resetValidation()}function f(){i.value?.focus()}function m(){return s.value.trim()}function p(h){Object.keys(l).forEach(v=>delete l[v]),h&&Object.assign(l,h)}return t({validate:u,resetValidation:d,focusEmail:f,getEmail:m,setFieldErrors:p}),(h,v)=>(B(),oe("div",Jz,[w("div",Xz,[x(Rs,{class:"[&_.site-logo-image]:h-auto [&_.site-logo-image]:max-h-none [&_.site-logo-image]:w-auto [&_.site-logo-image]:max-w-24"})]),x(ui,{ref_key:"formRef",ref:a,class:"flex w-full flex-col gap-y-4","validate-on":"submit",onSubmit:v[6]||(v[6]=sn(y=>r("submit"),["prevent"]))},{default:q(()=>[x($t,{ref_key:"emailFieldRef",ref:i,modelValue:s.value,"onUpdate:modelValue":v[0]||(v[0]=y=>s.value=y),label:C(T)("authModal.emailOrCpf"),type:"text",density:"comfortable","hide-details":"auto",rules:C(c),"error-messages":l.email,class:"auth-modal-field"},null,8,["modelValue","label","rules","error-messages"]),x(He,{type:"submit",color:"primary",size:"large",variant:"flat",block:"",loading:e.loading},{default:q(()=>[ye(z(C(T)("authModal.submitRecover")),1)]),_:1},8,["loading"]),C(o)?(B(),oe("p",Zz,[ye(z(C(T)("authModal.noAccount"))+" ",1),w("span",{role:"button",tabindex:"0",onMousedown:v[1]||(v[1]=sn(()=>{},["prevent"])),onClick:v[2]||(v[2]=y=>r("open-register")),onKeyup:v[3]||(v[3]=pc(y=>r("open-register"),["enter"]))},z(C(T)("authModal.createNow")),33)])):he("",!0),w("div",Qz,[w("button",{type:"button",class:"hover:text-brand-700 border-0 bg-transparent text-xs text-gray-500 transition-colors",onMousedown:v[4]||(v[4]=sn(()=>{},["prevent"])),onClick:v[5]||(v[5]=y=>r("back"))},z(C(T)("authModal.backToLogin")),33)])]),_:1},512)]))}}),t4=Qe(e4,[["__scopeId","data-v-a2b0e722"]]),n4={class:"flex w-full flex-col items-center gap-y-6"},o4={class:"flex justify-center py-1"},r4={key:0,class:"auth-modal-footer-text text-medium-emphasis text-center text-xs"},s4=Ae({__name:"LoginForm",props:{loading:{type:Boolean}},emits:["submit","forgot-password","open-register"],setup(e,{expose:t,emit:n}){const{registrationEnabled:o}=Uc(),r=n,s=U(""),a=U(""),i=U(!1),l=U(null),c=U(null),u=vt({}),d=_=>(_?.length??0)>=6||T("authModal.errors.passwordMin"),f=Z1(),m=[Mc(),d];async function p(){return(await l.value?.validate())?.valid??!1}function h(){l.value?.resetValidation()}function v(){c.value?.focus()}function y(){return{email:s.value.trim(),password:a.value}}function k(_){Object.keys(u).forEach(g=>delete u[g]),_&&Object.assign(u,_)}return t({validate:p,resetValidation:h,focusEmail:v,getCredentials:y,setFieldErrors:k}),(_,g)=>(B(),oe("div",n4,[w("div",o4,[x(Rs,{class:"[&_.site-logo-image]:h-auto [&_.site-logo-image]:max-h-none [&_.site-logo-image]:w-auto [&_.site-logo-image]:max-w-24"})]),x(ui,{ref_key:"formRef",ref:l,class:"flex w-full flex-col gap-y-4","validate-on":"submit",onSubmit:g[8]||(g[8]=sn(b=>r("submit"),["prevent"]))},{default:q(()=>[x($t,{ref_key:"emailFieldRef",ref:c,modelValue:s.value,"onUpdate:modelValue":g[0]||(g[0]=b=>s.value=b),label:C(T)("authModal.emailOrCpf"),type:"text",autocomplete:"username",density:"comfortable","hide-details":"auto",rules:C(f),"error-messages":u.email,class:"auth-modal-field"},null,8,["modelValue","label","rules","error-messages"]),x($t,{modelValue:a.value,"onUpdate:modelValue":g[1]||(g[1]=b=>a.value=b),label:C(T)("authModal.password"),type:i.value?"text":"password",autocomplete:"current-password",density:"comfortable","hide-details":"auto",rules:m,"error-messages":u.password,class:"auth-modal-field","append-inner-icon":i.value?"fa6-solid:eye":"fa6-solid:eye-slash","onClick:appendInner":g[2]||(g[2]=b=>i.value=!i.value)},null,8,["modelValue","label","type","error-messages","append-inner-icon"]),w("button",{type:"button",class:"text-medium-emphasis hover:text-brand-primary self-start border-0 bg-transparent text-left text-xs transition-colors",onMousedown:g[3]||(g[3]=sn(()=>{},["prevent"])),onClick:g[4]||(g[4]=b=>r("forgot-password"))},z(C(T)("authModal.forgotPassword")),33),x(He,{type:"submit",color:"primary",size:"large",variant:"flat",block:"",loading:e.loading},{default:q(()=>[ye(z(C(T)("authModal.submitLogin")),1)]),_:1},8,["loading"]),C(o)?(B(),oe("p",r4,[ye(z(C(T)("authModal.noAccount"))+" ",1),w("span",{role:"button",tabindex:"0",onMousedown:g[5]||(g[5]=sn(()=>{},["prevent"])),onClick:g[6]||(g[6]=b=>r("open-register")),onKeyup:g[7]||(g[7]=pc(b=>r("open-register"),["enter"]))},z(C(T)("authModal.createNow")),33)])):he("",!0)]),_:1},512)]))}}),a4=Qe(s4,[["__scopeId","data-v-63186c0f"]]);function Lm(){const{registrationEnabled:e}=Uc();e.value&&Ge().setModal({name:"register"})}const i4=448,l4=Ae({__name:"Index",setup(e){const t=pt(),n=Ge(),o=Ze(),r=U("login");function s(b){r.value=b}function a(){r.value="login"}const i=U(null),l=U(null),c=A(()=>t.sessionExpired),u=A(()=>{const b=o.modalBanners;if(b)return r.value==="recover"?Oa(b.password_recovery):Oa(b.login)});le(()=>r.value,()=>{o.fetchModalBanners()});function d(b,S="error"){n.showAlert(S,b,{timeout:4200})}function f(){a(),o.fetchModalBanners(!0),Je(()=>i.value?.focusEmail())}function m(){t.clearSessionExpired(),i.value?.resetValidation(),i.value?.setFieldErrors(),l.value?.resetValidation(),l.value?.setFieldErrors()}function p(){i.value?.resetValidation(),s("recover")}function h(){l.value?.resetValidation(),s("login")}function v(){i.value?.resetValidation(),k()}function y(){l.value?.resetValidation(),k()}function k(){t.clearSessionExpired(),a(),n.closeModal("login"),Lm()}async function _(){const b=i.value;if(!b||(b.setFieldErrors(),!await b.validate()))return;const{email:E,password:O}=b.getCredentials();try{await t.login(E,O),n.closeModal("login"),t.clearSessionExpired()}catch(R){const L=Hl(R,T("authModal.errors.loginFailed"));L.fieldErrors&&b.setFieldErrors(L.fieldErrors),d(L.message)}}async function g(){const b=l.value;if(!(!b||(b.setFieldErrors(),!await b.validate())))try{const O=(await t.requestPasswordReset(b.getEmail()))?.message||T("authModal.recoverSuccess");d(O,"success")}catch(E){const O=Hl(E,T("authModal.errors.generic"));O.fieldErrors&&b.setFieldErrors(O.fieldErrors);const R=O.rateLimited?T("authModal.errors.rateLimit"):O.message;d(R,O.rateLimited?"warning":"error")}}return(b,S)=>{const E=a4,O=t4,R=Eo;return B(),oe("div",{class:te({"auth-modal-host--banner":!!u.value})},[x(R,{name:"login",width:i4,"banner-url":u.value,padding:"default",onOpen:f,onClose:m},{default:q(()=>[c.value?(B(),ge(VC,{key:0,type:"warning",variant:"tonal",density:"compact",class:"text-caption mb-3"},{default:q(()=>[ye(z(C(T)("authModal.sessionExpired")),1)]),_:1})):he("",!0),r.value==="login"?(B(),ge(E,{key:1,ref_key:"loginFormRef",ref:i,loading:C(t).loginLoading,onSubmit:_,onForgotPassword:p,onOpenRegister:v},null,8,["loading"])):(B(),ge(O,{key:2,ref_key:"recoverFormRef",ref:l,loading:C(t).recoverLoading,onSubmit:g,onBack:h,onOpenRegister:y},null,8,["loading"]))]),_:1},8,["banner-url"])],2)}}}),c4=Qe(l4,[["__scopeId","data-v-03d0cc70"]]),u4={class:"session-expired-modal flex flex-col items-center justify-center space-y-3 py-1"},d4={class:"flex h-14 w-14 items-center justify-center rounded-full bg-red-200","aria-hidden":"true"},f4={class:"text-center"},m4={class:"mb-4 text-lg font-semibold text-white"},p4={class:"text-sm text-gray-300"},Nr="session-expired",v4=Ae({__name:"Index",setup(e){const t=pt(),n=Ge(),o=Kn();function r(){n.modals.some(a=>a.name===Nr)||n.setModal({name:Nr})}function s(){t.clearSessionExpired(),n.closeModal(Nr),o.push("/"),n.setModal({name:"login"})}return le(()=>t.sessionExpired,a=>{a?r():n.closeModal(Nr)},{immediate:!0}),gt(()=>{n.closeModal(Nr)}),(a,i)=>{const l=Eo;return B(),ge(l,{name:Nr,width:420,closable:!1,persistent:!0},{default:q(()=>[w("div",u4,[w("div",d4,[x(_e,{icon:"fa6-solid:clock",class:"text-red-500",size:"36"})]),w("div",f4,[w("h3",m4,z(C(T)("auth.session-expired.subtitle")),1),w("p",p4,z(C(T)("auth.session-expired.description")),1)]),x(He,{type:"button",color:"primary",variant:"flat",block:"",class:"mt-4",title:C(T)("auth.session-expired.login"),onClick:s},{default:q(()=>[ye(z(C(T)("auth.session-expired.login")),1)]),_:1},8,["title"])])]),_:1})}}}),h4=["/play","/sports","/casino","/user/wallet/deposit","/user/account","/user/password","/user/withdraw"],g4="PENDENTE_REGULATORIO_SIGAP",Xs="regulation-impeded";function rA(e,t){return e.startsWith("/user/wallet/withdraw")?t===g4:h4.some(n=>e===n||e.startsWith(`${n}/`))}const b4=e=>{const t=at();return t.profile?.status!=="Impedido"||!rA(e.path,t.profile.status_observation)?!0:(Ge().setModal({name:Xs}),{path:"/",replace:!0})},y4={class:"regulation-impeded-modal flex flex-col items-center gap-4 text-center"},_4={class:"text-[var(--color-content-primary)]"},w4={class:"flex justify-center p-4"},S4=Ae({__name:"Index",setup(e){const t=Kn(),n=jt(),o=pt(),r=Ge(),s=at(),a=A(()=>s.profile?.status==="Impedido"||!!o.impedimentError),i=A(()=>s.profile?.impediment_status_message??o.impedimentError??T("regulation-impeded-modal.message"));le(a,c=>{c?(r.setModal({name:Xs}),s.profile?.status==="Impedido"&&rA(n.path,s.profile.status_observation)&&t.replace("/")):r.closeModal(Xs)},{immediate:!0});function l(){o.clearImpedimentError(),r.closeModal(Xs)}return(c,u)=>{const d=Eo;return B(),ge(d,{name:C(Xs),closable:!1,persistent:!0,width:480,title:C(T)("regulation-impeded-modal.title")},{footer:q(()=>[w("div",w4,[x(He,{variant:"flat",color:"primary",class:"w-full",onClick:l},{default:q(()=>[ye(z(C(T)("regulation-impeded-modal.confirm")),1)]),_:1})])]),default:q(()=>[w("div",y4,[x(_e,{icon:"fa6-solid:ban",class:"text-4xl text-[rgb(var(--v-theme-error))]"}),w("p",_4,z(i.value),1)])]),_:1},8,["name","title"])}}}),x4=["daily","weekly","monthly","annually"],ig={daily:"1",weekly:"7",monthly:"30",annually:"365"},lg={1:"daily",7:"weekly",30:"monthly",365:"annually"},Dm={daily:24,weekly:168,monthly:720,annually:8760},cg=99999999999,k4=24*3600;function ug(e,t){const n=Dm[t],o=Number(e);return isNaN(o)||o<=n?e:String(n)}function E4(e,t,n){const o=Number(String(e).replace(/[^\d]/g,"")),r=Number(t),s=Dm[n];return o>0&&!isNaN(r)&&r>0&&r<=s}function C4(e,t){return!e&&t==="custom"}function sA(e){return Number(String(e).replace(/[^\d]/g,""))||0}const A4={loss:"loss",time:"time"};function Fi(e,t,n){return{name:`${A4[e]}_${t}`,value:sA(n)}}function T4(e){return Math.round(Number(e)*3600)||0}const sf=U(null);async function P4(){try{const t=(await Ye.get("/api/user-limits")).data??[],n=t.some(r=>r.type==="loss"),o=t.some(r=>r.type==="time");return n&&o?"done":"needed"}catch{return"needed"}}function I4(e){sf.value=e,Ge().setModal({name:"prudential-limits"})}function R4(){const e=sf.value;return sf.value=null,e}const aA=Symbol.for("vuetify:selection-control-group"),iA=de({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:qe,trueIcon:qe,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:En},...Ne(),...Pn(),...mt()},"SelectionControlGroup"),O4=de({...iA({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),$X=Ce()({name:"VSelectionControlGroup",props:O4(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const n=ht(e,"modelValue"),o=Un(),r=K(()=>e.id||`v-selection-control-group-${o}`),s=K(()=>e.name||r.value),a=new Set;return yt(aA,{modelValue:n,forceUpdate:()=>{a.forEach(i=>i())},onForceUpdate:i=>{a.add(i),Ct(()=>{a.delete(i)})}}),so({[e.defaultsTarget]:{color:K(()=>e.color),disabled:K(()=>e.disabled),density:K(()=>e.density),error:K(()=>e.error),inline:K(()=>e.inline),modelValue:n,multiple:K(()=>!!e.multiple||e.multiple==null&&Array.isArray(n.value)),name:s,falseIcon:K(()=>e.falseIcon),trueIcon:K(()=>e.trueIcon),readonly:K(()=>e.readonly),ripple:K(()=>e.ripple),type:K(()=>e.type),valueComparator:K(()=>e.valueComparator)}}),De(()=>w("div",{class:te(["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class]),style:Ee(e.style),role:e.type==="radio"?"radiogroup":void 0},[t.default?.()])),{}}}),lA=de({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...Ne(),...iA()},"VSelectionControl");function $4(e){const t=Ue(aA,void 0),{densityClasses:n}=Gn(e),o=ht(e,"modelValue"),r=A(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),s=A(()=>e.falseValue!==void 0?e.falseValue:!1),a=A(()=>!!e.multiple||e.multiple==null&&Array.isArray(o.value)),i=A({get(){const m=t?t.modelValue.value:o.value;return a.value?Cn(m).some(p=>e.valueComparator(p,r.value)):e.valueComparator(m,r.value)},set(m){if(e.readonly)return;const p=m?r.value:s.value;let h=p;a.value&&(h=m?[...Cn(o.value),p]:Cn(o.value).filter(v=>!e.valueComparator(v,r.value))),t?t.modelValue.value=h:o.value=h}}),{textColorClasses:l,textColorStyles:c}=jn(()=>{if(!(e.error||e.disabled))return i.value?e.color:e.baseColor}),{backgroundColorClasses:u,backgroundColorStyles:d}=Dt(()=>i.value&&!e.error&&!e.disabled?e.color:e.baseColor),f=A(()=>i.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:r,falseValue:s,model:i,textColorClasses:l,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:d,icon:f}}const dg=Ce()({name:"VSelectionControl",directives:{vRipple:oo},inheritAttrs:!1,props:lA(),emits:{"update:modelValue":e=>!0},setup(e,{attrs:t,slots:n}){const{group:o,densityClasses:r,icon:s,model:a,textColorClasses:i,textColorStyles:l,backgroundColorClasses:c,backgroundColorStyles:u,trueValue:d}=$4(e),f=Un(),m=pe(!1),p=pe(!1),h=U(),v=K(()=>e.id||`input-${f}`),y=K(()=>!e.disabled&&!e.readonly);o?.onForceUpdate(()=>{h.value&&(h.value.checked=a.value)});function k(S){y.value&&(m.value=!0,Tl(S.target,":focus-visible")!==!1&&(p.value=!0))}function _(){m.value=!1,p.value=!1}function g(S){S.stopPropagation()}function b(S){if(!y.value){h.value&&(h.value.checked=a.value);return}e.readonly&&o&&Je(()=>o.forceUpdate()),a.value=S.target.checked}return De(()=>{const S=n.label?n.label({label:e.label,props:{for:v.value}}):e.label,[E,O]=Zf(t),R=w("input",ke({ref:h,checked:a.value,disabled:!!e.disabled,id:v.value,onBlur:_,onFocus:k,onInput:b,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:d.value,name:e.name,"aria-checked":e.type==="checkbox"?a.value:void 0},O),null);return w("div",ke({class:["v-selection-control",{"v-selection-control--dirty":a.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":m.value,"v-selection-control--focus-visible":p.value,"v-selection-control--inline":e.inline},r.value,e.class]},E,{style:e.style}),[w("div",{class:te(["v-selection-control__wrapper",i.value]),style:Ee(l.value)},[n.default?.({backgroundColorClasses:c,backgroundColorStyles:u}),St(w("div",{class:te(["v-selection-control__input"])},[n.input?.({model:a,textColorClasses:i,textColorStyles:l,backgroundColorClasses:c,backgroundColorStyles:u,inputNode:R,icon:s.value,props:{onFocus:k,onBlur:_,id:v.value}})??w(xe,null,[s.value&&x(_e,{key:"icon",icon:s.value},null),R])]),[[oo,!e.disabled&&!e.readonly&&e.ripple,null,{center:!0,circle:!0}]])]),S&&x(NC,{for:v.value,onClick:g},{default:()=>[S]})])}),{isFocused:m,input:h}}}),L4=de({indeterminate:Boolean,indeterminateIcon:{type:qe,default:"$checkboxIndeterminate"},...lA({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),D4=Ce()({name:"VCheckboxBtn",props:L4(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,{slots:t}){const n=ht(e,"indeterminate"),o=ht(e,"modelValue");function r(i){n.value&&(n.value=!1)}const s=K(()=>n.value?e.indeterminateIcon:e.falseIcon),a=K(()=>n.value?e.indeterminateIcon:e.trueIcon);return De(()=>{const i=pn(dg.filterProps(e),["modelValue"]);return x(dg,ke(i,{modelValue:o.value,"onUpdate:modelValue":[l=>o.value=l,r],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:s.value,trueIcon:a.value,"aria-checked":n.value?"mixed":void 0}),t)}),{}}}),V4=["dotted","dashed","solid","double"],M4=de({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:"solid",validator:e=>V4.includes(e)},...Ne(),...mt()},"VDivider"),Vm=Ce()({name:"VDivider",props:M4(),setup(e,{attrs:t,slots:n}){const{themeClasses:o}=Tt(e),{textColorClasses:r,textColorStyles:s}=jn(()=>e.color),a=A(()=>{const l={};return e.length&&(l[e.vertical?"height":"width"]=Te(e.length)),e.thickness&&(l[e.vertical?"borderRightWidth":"borderTopWidth"]=Te(e.thickness)),l}),i=K(()=>{const l=Array.isArray(e.contentOffset)?e.contentOffset[0]:e.contentOffset,c=Array.isArray(e.contentOffset)?e.contentOffset[1]:0;return{marginBlock:e.vertical&&l?Te(l):void 0,marginInline:!e.vertical&&l?Te(l):void 0,transform:c?`translate${e.vertical?"X":"Y"}(${Te(c)})`:void 0}});return De(()=>{const l=w("hr",{class:te([{"v-divider":!0,"v-divider--gradient":e.gradient&&!n.default,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},o.value,r.value,e.class]),style:Ee([a.value,s.value,{"--v-border-opacity":e.opacity},{"border-style":e.variant},e.style]),"aria-orientation":!t.role||t.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${t.role||"separator"}`},null);return n.default?w("div",{class:te(["v-divider__wrapper",{"v-divider__wrapper--gradient":e.gradient,"v-divider__wrapper--inset":e.inset,"v-divider__wrapper--vertical":e.vertical}])},[l,w("div",{class:"v-divider__content",style:Ee(i.value)},[n.default()]),l]):l}),{}}}),af=Symbol.for("vuetify:list");function cA(e={filterable:!1}){const t=Ue(af,{filterable:!1,hasPrepend:pe(!1),updateHasPrepend:()=>null,trackingIndex:pe(-1),navigationStrategy:pe("focus"),uid:""}),{filterable:n,trackingIndex:o=t.trackingIndex,navigationStrategy:r=t.navigationStrategy,uid:s=t.uid||Un()}=e,a={filterable:t.filterable||n,hasPrepend:pe(!1),updateHasPrepend:i=>{i&&(a.hasPrepend.value=i)},trackingIndex:o,navigationStrategy:r,uid:s};return yt(af,a),t}function uA(){return Ue(af,null)}const Mm=e=>{const t={activate:({id:n,value:o,activated:r})=>(n=Ve(n),e&&!o&&r.size===1&&r.has(n)||(o?r.add(n):r.delete(n)),r),in:(n,o,r)=>{let s=new Set;if(n!=null)for(const a of Cn(n))s=t.activate({id:a,value:!0,activated:new Set(s),children:o,parents:r});return s},out:n=>Array.from(n)};return t},dA=e=>{const t=Mm(e);return{activate:({activated:o,id:r,...s})=>{r=Ve(r);const a=o.has(r)?new Set([r]):new Set;return t.activate({...s,id:r,activated:a})},in:(o,r,s)=>{let a=new Set;if(o!=null){const i=Cn(o);i.length&&(a=t.in(i.slice(0,1),r,s))}return a},out:(o,r,s)=>t.out(o,r,s)}},B4=e=>{const t=Mm(e);return{activate:({id:o,activated:r,children:s,...a})=>(o=Ve(o),s.has(o)?r:t.activate({id:o,activated:r,children:s,...a})),in:t.in,out:t.out}},N4=e=>{const t=dA(e);return{activate:({id:o,activated:r,children:s,...a})=>(o=Ve(o),s.has(o)?r:t.activate({id:o,activated:r,children:s,...a})),in:t.in,out:t.out}},F4={open:({id:e,value:t,opened:n,parents:o})=>{if(t){const r=new Set;r.add(e);let s=o.get(e);for(;s!=null;)r.add(s),s=o.get(s);return r}else return n.delete(e),n},select:()=>null},fA={open:({id:e,value:t,opened:n,parents:o})=>{if(t){let r=o.get(e);for(n.add(e);r!=null&&r!==e;)n.add(r),r=o.get(r);return n}else n.delete(e);return n},select:()=>null},j4={open:fA.open,select:({id:e,value:t,opened:n,parents:o})=>{if(!t)return n;const r=[];let s=o.get(e);for(;s!=null;)r.push(s),s=o.get(s);return new Set(r)}},Bm=e=>{const t={select:({id:n,value:o,selected:r})=>{if(n=Ve(n),e&&!o){const s=Array.from(r.entries()).reduce((a,[i,l])=>(l==="on"&&a.push(i),a),[]);if(s.length===1&&s[0]===n)return r}return r.set(n,o?"on":"off"),r},in:(n,o,r,s)=>{const a=new Map;for(const i of n||[])t.select({id:i,value:!0,selected:a,children:o,parents:r,disabled:s});return a},out:n=>{const o=[];for(const[r,s]of n.entries())s==="on"&&o.push(r);return o}};return t},mA=e=>{const t=Bm(e);return{select:({selected:o,id:r,...s})=>{r=Ve(r);const a=o.has(r)?new Map([[r,o.get(r)]]):new Map;return t.select({...s,id:r,selected:a})},in:(o,r,s,a)=>o?.length?t.in(o.slice(0,1),r,s,a):new Map,out:(o,r,s)=>t.out(o,r,s)}},U4=e=>{const t=Bm(e);return{select:({id:o,selected:r,children:s,...a})=>(o=Ve(o),s.has(o)?r:t.select({id:o,selected:r,children:s,...a})),in:t.in,out:t.out}},z4=e=>{const t=mA(e);return{select:({id:o,selected:r,children:s,...a})=>(o=Ve(o),s.has(o)?r:t.select({id:o,selected:r,children:s,...a})),in:t.in,out:t.out}},Nm=e=>{const t={select:({id:n,value:o,selected:r,children:s,parents:a,disabled:i})=>{n=Ve(n);const l=new Map(r),c=[n];for(;c.length;){const d=c.shift();i.has(d)||r.set(Ve(d),o?"on":"off"),s.has(d)&&c.push(...s.get(d))}let u=Ve(a.get(n));for(;u;){let d=!0,f=!0;for(const m of s.get(u)){const p=Ve(m);if(!i.has(p)&&(r.get(p)!=="on"&&(d=!1),r.has(p)&&r.get(p)!=="off"&&(f=!1),!d&&!f))break}r.set(u,d?"on":f?"off":"indeterminate"),u=Ve(a.get(u))}return e&&!o&&Array.from(r.entries()).reduce((f,[m,p])=>(p==="on"&&f.push(m),f),[]).length===0?l:r},in:(n,o,r)=>{let s=new Map;for(const a of n||[])s=t.select({id:a,value:!0,selected:s,children:o,parents:r,disabled:new Set});return s},out:(n,o)=>{const r=[];for(const[s,a]of n.entries())a==="on"&&!o.has(s)&&r.push(s);return r}};return t},H4=e=>{const t=Nm(e);return{select:t.select,in:t.in,out:(o,r,s)=>{const a=[];for(const[i,l]of o.entries())if(l==="on"){if(s.has(i)){const c=s.get(i);if(o.get(c)==="on")continue}a.push(i)}return a}}},K4=e=>{const n={select:Nm(e).select,in:(o,r,s,a)=>{let i=new Map;for(const l of o||[])r.has(l)||(i=n.select({id:l,value:!0,selected:i,children:r,parents:s,disabled:a}));return i},out:o=>{const r=[];for(const[s,a]of o.entries())(a==="on"||a==="indeterminate")&&r.push(s);return r}};return n},gs=Symbol.for("vuetify:nested"),pA={id:pe(),root:{itemsRegistration:U("render"),register:()=>null,unregister:()=>null,updateDisabled:()=>null,children:U(new Map),parents:U(new Map),disabled:U(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:U(!1),scrollToActive:U(!1),selectable:U(!1),opened:U(new Set),activated:U(new Set),selected:U(new Map),selectedValues:U([]),getPath:()=>[]}},W4=de({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean,itemsRegistration:{type:String,default:"render"}},"nested"),q4=(e,{items:t,returnObject:n,scrollToActive:o})=>{let r=!1;const s=pe(new Map),a=pe(new Map),i=pe(new Set),l=ht(e,"opened",e.opened,g=>new Set(Array.isArray(g)?g.map(b=>Ve(b)):g),g=>[...g.values()]),c=A(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return B4(e.mandatory);case"single-leaf":return N4(e.mandatory);case"independent":return Mm(e.mandatory);case"single-independent":default:return dA(e.mandatory)}}),u=A(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return z4(e.mandatory);case"leaf":return U4(e.mandatory);case"independent":return Bm(e.mandatory);case"single-independent":return mA(e.mandatory);case"trunk":return H4(e.mandatory);case"branch":return K4(e.mandatory);case"classic":default:return Nm(e.mandatory)}}),d=A(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return j4;case"single":return F4;case"multiple":default:return fA}}),f=ht(e,"activated",e.activated,g=>c.value.in(g,s.value,a.value),g=>c.value.out(g,s.value,a.value)),m=ht(e,"selected",e.selected,g=>u.value.in(g,s.value,a.value,i.value),g=>u.value.out(g,s.value,a.value));gt(()=>{r=!0});function p(g){const b=[];let S=Ve(g);for(;S!==void 0;)b.unshift(S),S=a.value.get(S);return b}const h=At("nested"),v=new Set,y=uL(()=>{Je(()=>{s.value=new Map(s.value),a.value=new Map(a.value)})},100);le(()=>[t.value,it(n)],()=>{e.itemsRegistration==="props"&&k()},{immediate:!0});function k(){const g=new Map,b=new Map,S=new Set,E=it(n)?L=>Ve(L.raw):L=>L.value,O=[...t.value];let R=0;for(;Re.activatable),scrollToActive:K(()=>it(o)),selectable:K(()=>e.selectable),activated:f,selected:m,selectedValues:A(()=>{const g=[];for(const[b,S]of m.value.entries())S==="on"&&g.push(b);return g}),itemsRegistration:K(()=>e.itemsRegistration),register:(g,b,S,E)=>{if(v.has(g)){p(g).map(String).join(" -> "),p(b).concat(g).map(String).join(" -> ");return}else v.add(g);b&&g!==b&&a.value.set(g,b),S&&i.value.add(g),E&&s.value.set(g,[]),b!=null&&s.value.set(b,[...s.value.get(b)||[],g]),y()},unregister:g=>{if(r)return;v.delete(g),s.value.delete(g),i.value.delete(g);const b=a.value.get(g);if(b){const S=s.value.get(b)??[];s.value.set(b,S.filter(E=>E!==g))}a.value.delete(g),y()},updateDisabled:(g,b)=>{b?i.value.add(g):i.value.delete(g)},open:(g,b,S)=>{h.emit("click:open",{id:g,value:b,path:p(g),event:S});const E=d.value.open({id:g,value:b,opened:new Set(l.value),children:s.value,parents:a.value,event:S});E&&(l.value=E)},openOnSelect:(g,b,S)=>{const E=d.value.select({id:g,value:b,selected:new Map(m.value),opened:new Set(l.value),children:s.value,parents:a.value,event:S});E&&(l.value=E)},select:(g,b,S)=>{h.emit("click:select",{id:g,value:b,path:p(g),event:S});const E=u.value.select({id:g,value:b,selected:new Map(m.value),children:s.value,parents:a.value,disabled:i.value,event:S});E&&(m.value=E),_.root.openOnSelect(g,b,S)},activate:(g,b,S)=>{if(!e.activatable)return _.root.select(g,!0,S);h.emit("click:activate",{id:g,value:b,path:p(g),event:S});const E=c.value.activate({id:g,value:b,activated:new Set(f.value),children:s.value,parents:a.value,event:S});if(E.size!==f.value.size)f.value=E;else{for(const O of E)if(!f.value.has(O)){f.value=E;return}for(const O of f.value)if(!E.has(O)){f.value=E;return}}},children:s,parents:a,disabled:i,getPath:p}};return yt(gs,_),_.root},vA=(e,t,n)=>{const o=Ue(gs,pA),r=Symbol("nested item"),s=A(()=>{const i=Ve(it(e));return i!==void 0?i:r}),a={...o,id:s,open:(i,l)=>o.root.open(s.value,i,l),openOnSelect:(i,l)=>o.root.openOnSelect(s.value,i,l),isOpen:A(()=>o.root.opened.value.has(s.value)),parent:A(()=>o.root.parents.value.get(s.value)),activate:(i,l)=>o.root.activate(s.value,i,l),isActivated:A(()=>o.root.activated.value.has(s.value)),scrollToActive:o.root.scrollToActive,select:(i,l)=>o.root.select(s.value,i,l),isSelected:A(()=>o.root.selected.value.get(s.value)==="on"),isIndeterminate:A(()=>o.root.selected.value.get(s.value)==="indeterminate"),isLeaf:A(()=>!o.root.children.value.get(s.value)),isGroupActivator:o.isGroupActivator};return za(()=>{o.isGroupActivator||o.root.itemsRegistration.value==="props"||Je(()=>{o.root.register(s.value,o.id.value,it(t),n)})}),gt(()=>{o.isGroupActivator||o.root.itemsRegistration.value==="props"||o.root.unregister(s.value)}),le(s,(i,l)=>{o.isGroupActivator||o.root.itemsRegistration.value==="props"||(o.root.unregister(l),Je(()=>{o.root.register(i,o.id.value,it(t),n)}))}),le(()=>it(t),i=>{o.root.updateDisabled(s.value,i)}),n&&yt(gs,a),a},G4=()=>{const e=Ue(gs,pA);yt(gs,{...e,isGroupActivator:!0})};function fi(){const e=pe(!1);return ut(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:K(()=>e.value?void 0:{transition:"none !important"}),isBooted:So(e)}}const Y4=Ss({name:"VListGroupActivator",setup(e,{slots:t}){return G4(),()=>t.default?.()}}),J4=de({activeColor:String,baseColor:String,color:String,collapseIcon:{type:qe,default:"$collapse"},disabled:Boolean,expandIcon:{type:qe,default:"$expand"},rawId:[String,Number],prependIcon:qe,appendIcon:qe,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Ne(),...et()},"VListGroup"),Kl=Ce()({name:"VListGroup",props:J4(),setup(e,{slots:t}){const{isOpen:n,open:o,id:r}=vA(()=>e.value,()=>e.disabled,!0),s=A(()=>`v-list-group--id-${String(e.rawId??r.value)}`),a=uA(),{isBooted:i}=fi(),l=Ue(gs),c=K(()=>l?.root?.itemsRegistration.value==="render");function u(p){["INPUT","TEXTAREA"].includes(p.target?.tagName)||o(!n.value,p)}const d=A(()=>({onClick:u,class:"v-list-group__header",id:s.value})),f=A(()=>n.value?e.collapseIcon:e.expandIcon),m=A(()=>({VListItem:{activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}));return De(()=>x(e.tag,{class:te(["v-list-group",{"v-list-group--prepend":a?.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":n.value},e.class]),style:Ee(e.style)},{default:()=>[t.activator&&x(lt,{defaults:m.value},{default:()=>[x(Y4,null,{default:()=>[t.activator({props:d.value,isOpen:n.value})]})]}),x(Vo,{transition:{component:kc},disabled:!i.value},{default:()=>[c.value?St(w("div",{class:"v-list-group__items",role:"group","aria-labelledby":s.value},[t.default?.()]),[[ro,n.value]]):n.value&&w("div",{class:"v-list-group__items",role:"group","aria-labelledby":s.value},[t.default?.()])]})]})),{isOpen:n}}}),X4=de({opacity:[Number,String],...Ne(),...et()},"VListItemSubtitle"),Z4=Ce()({name:"VListItemSubtitle",props:X4(),setup(e,{slots:t}){return De(()=>x(e.tag,{class:te(["v-list-item-subtitle",e.class]),style:Ee([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},t)),{}}}),Q4=yc("v-list-item-title"),e3=de({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:qe,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:qe,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,prependGap:[Number,String],subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,index:Number,tabindex:[Number,String],onClick:an(),onClickOnce:an(),...Wn(),...Ne(),...Pn(),...vn(),...In(),...Rt(),...Qa(),...et(),...mt(),...Ko({variant:"text"})},"VListItem"),_t=Ce()({name:"VListItem",directives:{vRipple:oo},props:e3(),emits:{click:e=>!0},setup(e,{attrs:t,slots:n,emit:o}){const r=Za(e,t),s=U(),a=A(()=>e.value===void 0?r.href.value:e.value),{activate:i,isActivated:l,select:c,isOpen:u,isSelected:d,isIndeterminate:f,isGroupActivator:m,root:p,parent:h,openOnSelect:v,scrollToActive:y,id:k}=vA(a,()=>e.disabled,!1),_=uA(),g=A(()=>e.active!==!1&&(e.active||r.isActive?.value||(p.activatable.value?l.value:d.value))),b=K(()=>e.link!==!1&&r.isLink.value),S=A(()=>!!_&&(p.selectable.value||p.activatable.value||e.value!=null)),E=A(()=>!e.disabled&&e.link!==!1&&(e.link||r.isClickable.value||S.value)),O=A(()=>_&&_.navigationStrategy.value==="track"&&e.index!==void 0&&_.trackingIndex.value===e.index),R=A(()=>_?b.value?"link":S.value?"option":"listitem":void 0),L=A(()=>{if(S.value)return p.activatable.value?l.value:p.selectable.value?d.value:g.value}),D=K(()=>e.rounded||e.nav),I=K(()=>e.color??e.activeColor),V=K(()=>({color:g.value?I.value??e.baseColor:e.baseColor,variant:e.variant}));le(()=>r.isActive?.value,ae=>{ae&&Y()}),le(l,ae=>{!ae||!y||s.value?.scrollIntoView({block:"nearest",behavior:"instant"})}),le(O,ae=>{ae&&s.value?.scrollIntoView({block:"nearest",behavior:"instant"})}),za(()=>{r.isActive?.value&&Je(()=>Y())});function Y(){h.value!=null&&p.open(h.value,!0),v(!0)}const{themeClasses:H}=Tt(e),{borderClasses:N}=qn(e),{colorClasses:J,colorStyles:Q,variantClasses:X}=ks(V),{densityClasses:F}=Gn(e),{dimensionStyles:j}=hn(e),{elevationClasses:W}=Rn(e),{roundedClasses:fe}=Ot(D),Me=K(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),Ke=K(()=>e.ripple!==void 0&&e.ripple&&_?.filterable?{keys:["Enter"]}:e.ripple),Oe=A(()=>({isActive:g.value,select:c,isOpen:u.value,isSelected:d.value,isIndeterminate:f.value,isDisabled:e.disabled}));function ne(ae){o("click",ae),!["INPUT","TEXTAREA"].includes(ae.target?.tagName)&&E.value&&(r.navigate.value?.(ae),!m&&(p.activatable.value?i(!l.value,ae):(p.selectable.value||e.value!=null&&!b.value)&&c(!d.value,ae)))}function be(ae){const Se=ae.target;["INPUT","TEXTAREA"].includes(Se.tagName)||(ae.key==="Enter"||ae.key===" "&&!_?.filterable)&&(ae.preventDefault(),ae.stopPropagation(),ae.target.dispatchEvent(new MouseEvent("click",ae)))}return De(()=>{const ae=b.value?"a":e.tag,Se=n.title||e.title!=null,Be=n.subtitle||e.subtitle!=null,P=!!(!!(e.appendAvatar||e.appendIcon)||n.append),G=!!(!!(e.prependAvatar||e.prependIcon)||n.prepend);return _?.updateHasPrepend(G),e.activeColor&&I$("active-color",["color","base-color"]),St(x(ae,ke(r.linkProps,{ref:s,id:e.index!==void 0&&_?`v-list-item-${_.uid}-${e.index}`:void 0,class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":E.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!G&&_?.hasPrepend.value,"v-list-item--slim":e.slim,"v-list-item--focus-visible":O.value,[`${e.activeClass}`]:e.activeClass&&g.value},H.value,N.value,J.value,F.value,W.value,Me.value,fe.value,X.value,e.class],style:[{"--v-list-prepend-gap":Te(e.prependGap)},Q.value,j.value,e.style],tabindex:e.tabindex??(E.value?_?-2:0:void 0),"aria-selected":L.value,role:R.value,onClick:ne,onKeydown:E.value&&!b.value&&be}),{default:()=>[xs(E.value||g.value,"v-list-item"),G&&w("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?x(lt,{key:"prepend-defaults",defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0},VCheckboxBtn:{density:e.density}}},{default:()=>[n.prepend?.(Oe.value)]}):w(xe,null,[e.prependAvatar&&x(Ar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&x(_e,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),w("div",{class:"v-list-item__spacer"},null)]),w("div",{class:"v-list-item__content","data-no-activator":""},[Se&&x(Q4,{key:"title"},{default:()=>[n.title?.({title:e.title})??z(e.title)]}),Be&&x(Z4,{key:"subtitle"},{default:()=>[n.subtitle?.({subtitle:e.subtitle})??z(e.subtitle)]}),n.default?.(Oe.value)]),P&&w("div",{key:"append",class:"v-list-item__append"},[n.append?x(lt,{key:"append-defaults",defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0},VCheckboxBtn:{density:e.density}}},{default:()=>[n.append?.(Oe.value)]}):w(xe,null,[e.appendIcon&&x(_e,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&x(Ar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),w("div",{class:"v-list-item__spacer"},null)])]}),[[oo,E.value&&Ke.value]])}),{activate:i,isActivated:l,isGroupActivator:m,isSelected:d,list:_,select:c,root:p,id:k,link:r}}}),t3=de({color:String,inset:Boolean,sticky:Boolean,title:String,...Ne(),...et()},"VListSubheader"),Fm=Ce()({name:"VListSubheader",props:t3(),setup(e,{slots:t}){const{textColorClasses:n,textColorStyles:o}=jn(()=>e.color);return De(()=>{const r=!!(t.default||e.title);return x(e.tag,{class:te(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},n.value,e.class]),style:Ee([{textColorStyles:o},e.style])},{default:()=>[r&&w("div",{class:"v-list-subheader__text"},[t.default?.()??e.title])]})}),{}}}),n3=de({items:Array,returnObject:Boolean},"VListChildren"),hA=Ce()({name:"VListChildren",props:n3(),setup(e,{slots:t}){return cA(),()=>t.default?.()??e.items?.map(({children:n,props:o,type:r,raw:s},a)=>{if(r==="divider")return t.divider?.({props:o})??x(Vm,o,null);if(r==="subheader")return t.subheader?.({props:o})??x(Fm,o,null);const i={subtitle:t.subtitle?c=>t.subtitle?.({...c,item:s}):void 0,prepend:t.prepend?c=>t.prepend?.({...c,item:s}):void 0,append:t.append?c=>t.append?.({...c,item:s}):void 0,title:t.title?c=>t.title?.({...c,item:s}):void 0},l=Kl.filterProps(o);return n?x(Kl,ke(l,{value:e.returnObject?s:o?.value,rawId:o?.value}),{activator:({props:c})=>{const u=ke(o,c,{value:e.returnObject?s:o.value});return t.header?t.header({props:u}):x(_t,ke(u,{index:a}),i)},default:()=>x(hA,{items:n,returnObject:e.returnObject},t)}):t.item?t.item({props:{...o,index:a}}):x(_t,ke(o,{index:a,value:e.returnObject?s:o.value}),i)})}}),gA=de({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),o3=new Set(["item","divider","subheader"]);function rs(e,t){const n=Mn(t,e.itemTitle,t),o=Mn(t,e.itemValue,n),r=Mn(t,e.itemChildren),s=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?pn(t,["children"]):t:void 0:Mn(t,e.itemProps);let a=Mn(t,e.itemType,"item");o3.has(a)||(a="item");const i={title:n,value:o,...s};return{type:a,title:String(i.title??""),value:i.value,props:i,children:a==="item"&&Array.isArray(r)?bA(e,r):void 0,raw:t}}rs.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function bA(e,t){const n=ws(e,rs.neededProps),o=[];for(const r of t)o.push(rs(n,r));return o}function r3(e){const t=A(()=>bA(e,e.items)),n=A(()=>t.value.some(i=>i.value===null)),o=pe(new Map),r=pe([]);xt(()=>{const i=t.value,l=new Map,c=[];for(let u=0;ul):i.map(({value:l})=>l)}return{items:t,transformIn:s,transformOut:a}}const s3=new Set(["item","divider","subheader"]);function a3(e,t){const n=Cr(t)?t:Mn(t,e.itemTitle),o=Cr(t)?t:Mn(t,e.itemValue,void 0),r=Mn(t,e.itemChildren),s=e.itemProps===!0?pn(t,["children"]):Mn(t,e.itemProps);let a=Mn(t,e.itemType,"item");s3.has(a)||(a="item");const i={title:n,value:o,...s};return{type:a,title:i.title,value:i.value,props:i,children:a==="item"&&r?yA(e,r):void 0,raw:t}}function yA(e,t){const n=[];for(const o of t)n.push(a3(e,o));return n}function i3(e){return{items:A(()=>yA(e,e.items))}}const l3=de({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:qe,collapseIcon:qe,lines:{type:[Boolean,String],default:"one"},slim:Boolean,prependGap:[Number,String],indent:[Number,String],nav:Boolean,navigationStrategy:{type:String,default:"focus"},navigationIndex:Number,"onClick:open":an(),"onClick:select":an(),"onUpdate:opened":an(),...W4({selectStrategy:"single-leaf",openStrategy:"list"}),...Wn(),...Ne(),...Pn(),...vn(),...In(),...gA(),...Rt(),...et(),...mt(),...Ko({variant:"text"})},"VList"),Wl=Ce()({name:"VList",props:l3(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"update:navigationIndex":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,{attrs:t,slots:n,emit:o}){const{items:r}=i3(e),{themeClasses:s}=Tt(e),{backgroundColorClasses:a,backgroundColorStyles:i}=Dt(()=>e.bgColor),{borderClasses:l}=qn(e),{densityClasses:c}=Gn(e),{dimensionStyles:u}=hn(e),{elevationClasses:d}=Rn(e),{roundedClasses:f}=Ot(e),{children:m,open:p,parents:h,select:v,getPath:y}=q4(e,{items:r,returnObject:K(()=>e.returnObject),scrollToActive:K(()=>e.navigationStrategy==="track")}),k=K(()=>e.lines?`v-list--${e.lines}-line`:void 0),_=K(()=>e.activeColor),g=K(()=>e.baseColor),b=K(()=>e.color),S=K(()=>e.selectable||e.activatable),E=ht(e,"navigationIndex",-1,F=>F??-1),O=Un();cA({filterable:e.filterable,trackingIndex:E,navigationStrategy:K(()=>e.navigationStrategy),uid:O}),le(r,()=>{e.navigationStrategy==="track"&&(E.value=-1)}),so({VListGroup:{activeColor:_,baseColor:g,color:b,expandIcon:K(()=>e.expandIcon),collapseIcon:K(()=>e.collapseIcon)},VListItem:{activeClass:K(()=>e.activeClass),activeColor:_,baseColor:g,color:b,density:K(()=>e.density),disabled:K(()=>e.disabled),lines:K(()=>e.lines),nav:K(()=>e.nav),slim:K(()=>e.slim),variant:K(()=>e.variant),tabindex:K(()=>e.navigationStrategy==="track"?-1:void 0)}});const R=pe(!1),L=U();function D(F){R.value=!0}function I(F){R.value=!1}function V(F){e.navigationStrategy==="track"?~E.value||(E.value=N("first")):!R.value&&!(F.relatedTarget&&L.value?.contains(F.relatedTarget))&&X()}function Y(){e.navigationStrategy==="track"&&(E.value=-1)}function H(F){switch(F){case"ArrowDown":return"next";case"ArrowUp":return"prev";case"Home":return"first";case"End":return"last";default:return null}}function N(F){const j=r.value.length;if(j===0)return-1;let W;F==="first"?W=0:F==="last"?W=j-1:(W=E.value+(F==="next"?1:-1),W<0&&(W=j-1),W>=j&&(W=0));const fe=W;let Me=0;for(;Me=j&&(W=0),W===fe)return-1;Me++}return-1}function J(F){const j=F.target;if(!L.value||j.tagName==="INPUT"&&["Home","End"].includes(F.key)||j.tagName==="TEXTAREA")return;const W=H(F.key);if(W!==null)if(F.preventDefault(),e.navigationStrategy==="track"){const fe=N(W);fe!==-1&&(E.value=fe)}else X(W)}function Q(F){R.value=!0}function X(F){if(L.value)return la(L.value,F)}return De(()=>{const F=e.indent??(e.prependGap?Number(e.prependGap)+24:void 0),j=S.value?t.ariaMultiselectable??!String(e.selectStrategy).startsWith("single-"):void 0;return x(e.tag,{ref:L,class:te(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},s.value,a.value,l.value,c.value,d.value,k.value,f.value,e.class]),style:Ee([{"--v-list-indent":Te(F),"--v-list-group-prepend":F?"0px":void 0,"--v-list-prepend-gap":Te(e.prependGap)},i.value,u.value,e.style]),tabindex:e.disabled?-1:0,role:S.value?"listbox":"list","aria-activedescendant":e.navigationStrategy==="track"&&E.value>=0?`v-list-item-${O}-${E.value}`:void 0,"aria-multiselectable":j,onFocusin:D,onFocusout:I,onFocus:V,onBlur:Y,onKeydown:J,onMousedown:Q},{default:()=>[x(hA,{items:r.value,returnObject:e.returnObject},n)]})}),{open:p,select:v,focus:X,children:m,parents:h,getPath:y,navigationIndex:E}}}),c3=de({id:String,submenu:Boolean,...pn(mm({captureFocus:!0,closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:dm}}),["absolute"])},"VMenu"),jm=Ce()({name:"VMenu",props:c3(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const n=ht(e,"modelValue"),{scopeId:o}=Ec(),{isRtl:r}=ao(),s=Un(),a=K(()=>e.id||`v-menu-${s}`),i=U(),l=Ue(zd,null),c=pe(new Set);yt(zd,{register(){c.value.add(s)},unregister(){c.value.delete(s)},closeParents(p){setTimeout(()=>{!c.value.size&&!e.persistent&&(p==null||i.value?.contentEl&&!M$(p,i.value.contentEl))&&(n.value=!1,l?.closeParents())},40)}}),gt(()=>l?.unregister()),cc(()=>n.value=!1),le(n,p=>{p?l?.register():l?.unregister()},{immediate:!0});function u(p){l?.closeParents(p)}function d(p){if(!e.disabled)if(p.key==="Tab"||p.key==="Enter"&&!e.closeOnContentClick){if(p.key==="Enter"&&(p.target instanceof HTMLTextAreaElement||p.target instanceof HTMLInputElement&&p.target.closest("form")))return;p.key==="Enter"&&p.preventDefault(),!hE(tr(i.value?.contentEl,!1),p.shiftKey?"prev":"next",v=>v.tabIndex>=0)&&!e.retainFocus&&(n.value=!1,i.value?.activatorEl?.focus())}else e.submenu&&p.key===(r.value?"ArrowRight":"ArrowLeft")&&(n.value=!1,i.value?.activatorEl?.focus())}function f(p){if(e.disabled)return;const h=i.value?.contentEl;h&&n.value?p.key==="ArrowDown"?(p.preventDefault(),p.stopImmediatePropagation(),la(h,"next")):p.key==="ArrowUp"?(p.preventDefault(),p.stopImmediatePropagation(),la(h,"prev")):e.submenu&&(p.key===(r.value?"ArrowRight":"ArrowLeft")?n.value=!1:p.key===(r.value?"ArrowLeft":"ArrowRight")&&(p.preventDefault(),la(h,"first"))):(e.submenu?p.key===(r.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(p.key))&&(n.value=!0,p.preventDefault(),setTimeout(()=>setTimeout(()=>f(p))))}const m=A(()=>ke({"aria-haspopup":"menu","aria-expanded":String(n.value),"aria-controls":a.value,"aria-owns":a.value,onKeydown:f},e.activatorProps));return De(()=>{const p=Ml.filterProps(e);return x(Ml,ke({ref:i,id:a.value,class:["v-menu",e.class],style:e.style},p,{modelValue:n.value,"onUpdate:modelValue":h=>n.value=h,absolute:!0,activatorProps:m.value,location:e.location??(e.submenu?"end":"bottom"),"onClick:outside":u,onKeydown:d},o),{activator:t.activator,default:(...h)=>x(lt,{root:"VMenu"},{default:()=>[t.default?.(...h)]})})}),ei({id:a,ΨopenChildren:c},i)}}),u3=de({color:String,...Wn(),...Ne(),...vn(),...In(),...Rr(),...wc(),...Rt(),...et(),...mt()},"VSheet"),d3=Ce()({name:"VSheet",props:u3(),setup(e,{slots:t}){const{themeClasses:n}=Tt(e),{backgroundColorClasses:o,backgroundColorStyles:r}=Dt(()=>e.color),{borderClasses:s}=qn(e),{dimensionStyles:a}=hn(e),{elevationClasses:i}=Rn(e),{locationStyles:l}=Or(e),{positionClasses:c}=Sc(e),{roundedClasses:u}=Ot(e);return De(()=>x(e.tag,{class:te(["v-sheet",n.value,o.value,s.value,i.value,c.value,u.value,e.class]),style:Ee([r.value,a.value,l.value,e.style])},t)),{}}}),f3=de({renderless:Boolean,...Ne()},"VVirtualScrollItem"),m3=Ce()({name:"VVirtualScrollItem",inheritAttrs:!1,props:f3(),emits:{"update:height":e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const{resizeRef:r,contentRect:s}=rr(void 0,"border");le(()=>s.value?.height,a=>{a!=null&&n("update:height",a)}),De(()=>e.renderless?w(xe,null,[o.default?.({itemRef:r})]):w("div",ke({ref:r,class:["v-virtual-scroll__item",e.class],style:e.style},t),[o.default?.()]))}}),p3=-1,v3=1,Gu=100,h3=de({itemHeight:{type:[Number,String],default:null},itemKey:{type:[String,Array,Function],default:null},height:[Number,String]},"virtual");function g3(e,t){const n=Cs(),o=pe(0);xt(()=>{o.value=parseFloat(e.itemHeight||0)});const r=pe(0),s=pe(Math.ceil((parseInt(e.height)||n.height.value)/(o.value||16))||1),a=pe(0),i=pe(0),l=U(),c=U();let u=0;const{resizeRef:d,contentRect:f}=rr();xt(()=>{d.value=l.value});const m=A(()=>l.value===document.documentElement?n.height.value:f.value?.height||parseInt(e.height)||0),p=A(()=>!!(l.value&&c.value&&m.value&&o.value));let h=Array.from({length:t.value.length}),v=Array.from({length:t.value.length});const y=pe(0);let k=-1;function _(F){return h[F]||o.value}const g=L$(()=>{const F=performance.now();v[0]=0;const j=t.value.length;for(let W=1;W<=j;W++)v[W]=(v[W-1]||0)+_(W-1);y.value=Math.max(y.value,performance.now()-F)},y),b=le(p,F=>{F&&(b(),u=c.value.offsetTop,g.immediate(),N(),~k&&Je(()=>{Vt&&window.requestAnimationFrame(()=>{Q(k),k=-1})}))});Ct(()=>{g.clear()});function S(F,j){const W=h[F],fe=o.value;o.value=fe?Math.min(o.value,j):j,(W!==j||fe!==o.value)&&(h[F]=j,g())}function E(F){F=An(F,0,t.value.length);const j=Math.floor(F),W=F%1,fe=j+1,Me=v[j]||0,Ke=v[fe]||Me;return Me+(Ke-Me)*W}function O(F){return b3(v,F)}let R=0,L=0,D=0;le(m,(F,j)=>{N(),F{L=0,N()})});let I=-1;function V(){if(!l.value||!c.value)return;const F=l.value.scrollTop,j=performance.now();j-D>500?(L=Math.sign(F-R),u=c.value.offsetTop):L=F-R,R=F,D=j,window.clearTimeout(I),I=window.setTimeout(Y,500),N()}function Y(){!l.value||!c.value||(L=0,D=0,window.clearTimeout(I),N())}let H=-1;function N(){cancelAnimationFrame(H),H=requestAnimationFrame(J)}function J(){if(!l.value||!m.value||!o.value)return;const F=R-u,j=Math.sign(L),W=Math.max(0,F-Gu),fe=An(O(W),0,t.value.length),Me=F+m.value+Gu,Ke=An(O(Me)+1,fe+1,t.value.length);if((j!==p3||fes.value)){const Oe=E(r.value)-E(fe),ne=E(Ke)-E(s.value);Math.max(Oe,ne)>Gu?(r.value=fe,s.value=Ke):(fe<=0&&(r.value=fe),Ke>=t.value.length&&(s.value=Ke))}a.value=E(r.value),i.value=E(t.value.length)-E(s.value)}function Q(F){const j=E(F);!l.value||F&&!j?k=F:l.value.scrollTop=j}const X=A(()=>t.value.slice(r.value,s.value).map((F,j)=>{const W=j+r.value;return{raw:F,index:W,key:Mn(F,e.itemKey,W)}}));return le(t,()=>{h=Array.from({length:t.value.length}),v=Array.from({length:t.value.length}),g.immediate(),N()},{deep:1}),{calculateVisibleItems:N,containerRef:l,markerRef:c,computedItems:X,paddingTop:a,paddingBottom:i,scrollToIndex:Q,handleScroll:V,handleScrollend:Y,handleItemResize:S}}function b3(e,t){let n=e.length-1,o=0,r=0,s=null,a=-1;if(e[n]>1,s=e[r],s>t)n=r-1;else if(s[]},renderless:Boolean,...h3(),...Ne(),...vn()},"VVirtualScroll"),_3=Ce()({name:"VVirtualScroll",props:y3(),setup(e,{slots:t}){const n=At("VVirtualScroll"),{dimensionStyles:o}=hn(e),{calculateVisibleItems:r,containerRef:s,markerRef:a,handleScroll:i,handleScrollend:l,handleItemResize:c,scrollToIndex:u,paddingTop:d,paddingBottom:f,computedItems:m}=g3(e,K(()=>e.items));return ln(()=>e.renderless,()=>{function p(h=!1){const v=h?"addEventListener":"removeEventListener";s.value===document.documentElement?(document[v]("scroll",i,{passive:!0}),document[v]("scrollend",l)):(s.value?.[v]("scroll",i,{passive:!0}),s.value?.[v]("scrollend",l))}ut(()=>{s.value=SE(n.vnode.el,!0),p(!0)}),Ct(p)}),De(()=>{const p=m.value.map(h=>x(m3,{key:h.key,renderless:e.renderless,"onUpdate:height":v=>c(h.index,v)},{default:v=>t.default?.({item:h.raw,index:h.index,...v})}));return e.renderless?w(xe,null,[w("div",{ref:a,class:"v-virtual-scroll__spacer",style:{paddingTop:Te(d.value)}},null),p,w("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Te(f.value)}},null)]):w("div",{ref:s,class:te(["v-virtual-scroll",e.class]),onScrollPassive:i,onScrollend:l,style:Ee([o.value,e.style])},[w("div",{ref:a,class:"v-virtual-scroll__container",style:{paddingTop:Te(d.value),paddingBottom:Te(f.value)}},[p])])}),{calculateVisibleItems:r,scrollToIndex:u}}});function w3(e,t){const n=pe(!1);let o;function r(i){cancelAnimationFrame(o),n.value=!0,o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{n.value=!1})})}async function s(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(n.value){const l=le(n,()=>{l(),i()})}else i()})}async function a(i){if(i.key==="Tab"&&t.value?.focus(),!["PageDown","PageUp","Home","End"].includes(i.key))return;const l=e.value?.$el;if(!l)return;(i.key==="Home"||i.key==="End")&&l.scrollTo({top:i.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await s();const c=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(i.key==="PageDown"||i.key==="Home"){const u=l.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=u){d.focus();break}}else{const u=l.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=u){d.focus();break}}}return{onScrollPassive:r,onKeydown:a}}function S3({groups:e,onLeave:t}){function n(a){return a.type==="list"?a.contentRef.value?.$el:a.contentRef.value}function o(a){const i=n(a);return i?tr(i):[]}function r(a){const i=a.target,l=a.shiftKey?"backward":"forward",c=e.map(o),u=e.map(f=>f.type==="list"?f.contentRef.value?.$el:f.contentRef.value).findIndex(f=>f?.contains(i)),d=s(c,u,l,i);if(d===null){const f=e[u],m=c[u];(f.type==="list"||(l==="forward"?m.at(-1)===a.target:m.at(0)===a.target))&&t()}else{a.preventDefault(),a.stopImmediatePropagation();const f=e[d];if(f.type==="list"&&it(f.displayItemsCount)>0)f.contentRef.value?.focus(0);else{const m=l==="forward";c[d].at(m?0:-1).focus()}}}function s(a,i,l,c){const u=e[i],d=a[i];if(u.type!=="list"&&!(l==="forward"?d.at(-1)===c:d.at(0)===c))return null;const f=l==="forward"?1:-1;for(let m=i+f;m>=0&&m0||p.type==="list"&&it(p.displayItemsCount)>0)return m}return null}return{onTabKeydown:r}}const x3=(e,t,n)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const o=[];let r=e.indexOf(t);for(;~r;)o.push([r,r+t.length]),r=e.indexOf(t,r+t.length);return o.length?o:-1};function Yu(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const k3=de({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function E3(e,t,n){const o=[],r=n?.default??x3,s=n?.filterKeys?Cn(n.filterKeys):!1,a=Object.keys(n?.customKeyFilter??{}).length;if(!e?.length)return o;let i=[];e:for(let l=0;l0)&&!n?.noFilter){let p=!1;if(typeof c=="object"){if(c.type==="divider"||c.type==="subheader"){(i.at(-1)?.type!=="divider"||c.type!=="subheader")&&(i=[]),i.push({index:l,matches:{},type:c.type});continue}const y=s||Object.keys(u);p=y.length===a;for(const k of y){const _=Mn(u,k),g=n?.customKeyFilter?.[k];if(m=g?g(_,t,c):r(_,t,c),m!==-1&&m!==!1)g?d[k]=Yu(m,t):f[k]=Yu(m,t);else if(n?.filterMode==="every")continue e}}else m=r(c,t,c),m!==-1&&m!==!1&&(f.title=Yu(m,t));const h=Object.keys(f).length,v=Object.keys(d).length;if(!h&&!v||n?.filterMode==="union"&&v!==a&&!h||n?.filterMode==="intersection"&&(v!==a||!h&&a>0&&!p))continue}i.length&&(o.push(...i),i=[]),o.push({index:l,matches:{...f,...d}})}return o}function C3(e,t,n,o){const r=pe([]),s=pe(new Map),a=A(()=>C(t));xt(()=>{const l=typeof n=="function"?n():C(n),c=typeof l!="string"&&typeof l!="number"?"":String(l),u=E3(a.value,c,{customKeyFilter:{...e.customKeyFilter,...C(o?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=C(t),f=[],m=new Map;u.forEach(({index:p,matches:h})=>{const v=d[p];f.push(v),m.set(v.value,h)}),r.value=f,s.value=m});function i(l){return s.value.get(l.value)}return{filteredItems:r,filteredMatches:s,getMatches:i}}function A3(e,t,n){return n==null||!n.length?t:n.map((o,r)=>{const s=r===0?0:n[r-1][1],a=[w("span",{class:te(`${e}__unmask`)},[t.slice(s,o[0])]),w("span",{class:te(`${e}__mask`)},[t.slice(o[0],o[1])])];return r===n.length-1&&a.push(w("span",{class:te(`${e}__unmask`)},[t.slice(o[1])])),w(xe,null,[a])})}const T3=de({closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"}},"autocomplete");function P3(e,t){const n=Un(),o=A(()=>`menu-${n}`),r=K(()=>it(t)),s=K(()=>o.value);return{menuId:o,ariaExpanded:r,ariaControls:s}}const I3=de({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuElevation:[Number,String],menuIcon:{type:qe,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,noAutoScroll:Boolean,...T3(),...gA({itemChildren:!1})},"Select"),R3=de({search:String,...k3({filterKeys:["title"]}),...I3(),...pn(KC({modelValue:null,role:"combobox"}),["validationValue","dirty"]),...Es({transition:{component:dm}})},"VSelect"),lf=Ce()({name:"VSelect",props:R3(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0,"update:search":e=>!0},setup(e,{slots:t}){const{t:n}=Xa(),o=U(),r=U(),s=U(),a=U(),i=U(),{items:l,transformIn:c,transformOut:u}=r3(e),d=ht(e,"search",""),{filteredItems:f,getMatches:m}=C3(e,l,()=>d.value),p=ht(e,"modelValue",[],P=>c(P===null?[null]:Cn(P)),P=>{const $=u(P);return e.multiple?$:$[0]??null}),h=A(()=>typeof e.counterValue=="function"?e.counterValue(p.value):typeof e.counterValue=="number"?e.counterValue:p.value.length),v=BC(e),y=HC(e),k=A(()=>p.value.map(P=>P.value)),_=pe(!1),g=K(()=>e.closableChips&&!v.isReadonly.value&&!v.isDisabled.value),{InputIcon:b}=$m(e);let S="",E=0,O;const R=A(()=>{const P=d.value?f.value:l.value;return e.hideSelected?P.filter($=>!p.value.some(G=>(e.valueComparator||En)(G,$))):P}),L=A(()=>e.hideNoData&&!R.value.length||v.isReadonly.value||v.isDisabled.value),D=ht(e,"menu"),I=A({get:()=>D.value,set:P=>{D.value&&!P&&r.value?.ΨopenChildren.size||P&&L.value||(D.value=P)}}),{menuId:V,ariaExpanded:Y,ariaControls:H}=P3(e,I),N=A(()=>({...e.menuProps,activatorProps:{...e.menuProps?.activatorProps||{},"aria-haspopup":"listbox"}})),J=U(),Q=w3(J,o),{onTabKeydown:X}=S3({groups:[{type:"element",contentRef:s},{type:"list",contentRef:J,displayItemsCount:()=>R.value.length},{type:"element",contentRef:a}],onLeave:()=>{I.value=!1,o.value?.focus()}});function F(P){e.openOnClear&&(I.value=!0)}function j(){L.value||(I.value=!I.value)}function W(P){P.key==="Tab"&&X(P),J.value?.$el.contains(P.target)&&mv(P)&&fe(P)}function fe(P){if(!P.key||v.isReadonly.value)return;if(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(P.key)&&P.preventDefault(),["Enter","ArrowDown"," "].includes(P.key)&&(I.value=!0),["Escape","Tab"].includes(P.key)&&(I.value=!1),e.clearable&&P.key==="Backspace"){P.preventDefault(),p.value=[],F();return}P.key==="Home"?J.value?.focus("first"):P.key==="End"&&J.value?.focus("last");const $=1e3;if(!mv(P))return;const G=performance.now();G-O>$&&(S="",E=0),S+=P.key.toLowerCase(),O=G;const ce=R.value;function re(){let ie=ue();return ie||S.at(-1)===S.at(-2)&&(S=S.slice(0,-1),E++,ie=ue(),ie)||(E=0,ie=ue(),ie)?ie:(S=P.key.toLowerCase(),ue())}function ue(){for(let ie=E;ie(e.valueComparator||En)(re.value,P.value)),ce=$??!~G;if(~G){const re=ce?[...p.value,P]:[...p.value];re.splice(G,1),p.value=re}else ce&&(p.value=[...p.value,P])}else{const G=$!==!1;p.value=G?[P]:[],Je(()=>{I.value=!1})}}function Ke(P){const $=P.target;o.value?.$el.contains($)||(I.value=!1)}function Oe(){return R.value.findIndex(P=>p.value.some($=>(e.valueComparator||En)($.value,P.value)))}function ne(){if(!p.value.length)return-1;const P=e.valueComparator||En;let $=0;for(const G of R.value){if(p.value.some(re=>P(re.value,G.value)))return G.props.disabled?-1:$;G.props.disabled||$++}return-1}function be(){if(e.eager&&i.value?.calculateVisibleItems(),J.value&&_.value){const P=ne();J.value.focus(P>=0?P:"first")}}function ae(){d.value="",_.value&&o.value?.focus()}function Se(P){_.value=!0}function Be(P){!o.value?.$el.contains(P.relatedTarget)&&!P.currentTarget.contains(P.relatedTarget)&&(_.value=!1)}function Pe(P){if(P==null)p.value=[];else if(Tl(o.value,":autofill")||Tl(o.value,":-webkit-autofill")){const $=l.value.find(G=>G.title===P);$&&Me($)}else o.value&&(o.value.value="")}return le(I,()=>{if(!e.hideSelected&&I.value&&p.value.length){const P=Oe();Vt&&!e.noAutoScroll&&window.requestAnimationFrame(()=>{P>=0&&i.value?.scrollToIndex(P)})}}),le(l,(P,$)=>{I.value||_.value&&e.hideNoData&&!$.length&&P.length&&(I.value=!0)}),De(()=>{const P=!!(e.chips||t.chip),$=!!(!e.hideNoData||R.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),G=p.value.length>0,ce=$t.filterProps(e),re=G||!_.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder,ue={search:d,filteredItems:f.value};return x($t,ke({ref:o},ce,{modelValue:p.value.map(ve=>ve.props.title).join(", "),name:void 0,"onUpdate:modelValue":Pe,focused:_.value,"onUpdate:focused":ve=>_.value=ve,validationValue:p.externalValue,counterValue:h.value,dirty:G,class:["v-select",{"v-select--active-menu":I.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},e.class],style:e.style,inputmode:"none",placeholder:re,"onClick:clear":F,"onMousedown:control":j,onBlur:Ke,onKeydown:fe,"aria-expanded":Y.value,"aria-controls":H.value}),{...t,default:({id:ve})=>w(xe,null,[w("select",{hidden:!0,multiple:e.multiple,name:y.fieldName.value},[l.value.map(se=>w("option",{key:se.value,value:se.value,selected:k.value.includes(se.value)},null))]),x(jm,ke({id:V.value,ref:r,modelValue:I.value,"onUpdate:modelValue":se=>I.value=se,activator:"parent",contentClass:"v-select__content",disabled:L.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:be,onAfterLeave:ae},N.value),{default:()=>[x(d3,{elevation:e.menuElevation,onFocusin:Se,onFocusout:Be,onKeydown:W},{default:()=>[t["menu-header"]&&w("header",{ref:s},[t["menu-header"](ue)]),$&&x(Wl,ke({key:"select-list",ref:J,selected:k.value,selectStrategy:e.multiple?"independent":"single-independent",tabindex:"-1",selectable:!!R.value.length,"aria-live":"polite","aria-labelledby":`${ve.value}-label`,"aria-multiselectable":e.multiple,color:e.itemColor??e.color},Q,e.listProps),{default:()=>[t["prepend-item"]?.(),!R.value.length&&!e.hideNoData&&(t["no-data"]?.()??x(_t,{key:"no-data",title:n(e.noDataText)},null)),x(_3,{ref:i,renderless:!0,items:R.value,itemKey:"value"},{default:({item:se,index:me,itemRef:ie})=>{const Ie=B$(se.props),we=ke(se.props,{ref:ie,key:se.value,onClick:()=>Me(se,null),"aria-posinset":me+1,"aria-setsize":R.value.length});return se.type==="divider"?t.divider?.({props:se.raw,index:me})??x(Vm,ke(se.props,{key:`divider-${me}`}),null):se.type==="subheader"?t.subheader?.({props:se.raw,index:me})??x(Fm,ke(se.props,{key:`subheader-${me}`}),null):t.item?.({item:se.raw,internalItem:se,index:me,props:we})??x(_t,ke(we,{role:"option"}),{prepend:({isSelected:Re})=>w(xe,null,[e.multiple&&!e.hideSelected?x(D4,{key:se.value,modelValue:Re,ripple:!1,tabindex:"-1","aria-hidden":!0,onClick:$e=>$e.preventDefault()},null):void 0,Ie.prependAvatar&&x(Ar,{image:Ie.prependAvatar},null),Ie.prependIcon&&x(_e,{icon:Ie.prependIcon},null)]),title:()=>d.value?A3("v-select",se.title,m(se)?.title):se.title})}}),t["append-item"]?.()]}),t["menu-footer"]&&w("footer",{ref:a},[t["menu-footer"](ue)])]})]}),p.value.map((se,me)=>{function ie($e){$e.stopPropagation(),$e.preventDefault(),Me(se,!1)}const Ie=ke(os.filterProps(se.props),{"onClick:close":ie,onKeydown($e){$e.key!=="Enter"&&$e.key!==" "||($e.preventDefault(),$e.stopPropagation(),ie($e))},onMousedown($e){$e.preventDefault(),$e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0}),we=P?!!t.chip:!!t.selection,Re=we?gE(P?t.chip({item:se.raw,internalItem:se,index:me,props:Ie}):t.selection({item:se.raw,internalItem:se,index:me})):void 0;if(!(we&&!Re))return w("div",{key:se.value,class:"v-select__selection"},[P?t.chip?x(lt,{key:"chip-defaults",defaults:{VChip:{closable:g.value,size:"small",text:se.title}}},{default:()=>[Re]}):x(os,ke({key:"chip",closable:g.value,size:"small",text:se.title,disabled:se.props.disabled},Ie),null):Re??w("span",{class:"v-select__selection-text"},[se.title,e.multiple&&mew(xe,null,[t["append-inner"]?.(...ve),e.menuIcon?x(_e,{class:"v-select__menu-icon",color:o.value?.fieldIconColor,icon:e.menuIcon,"aria-hidden":!0},null):void 0,e.appendInnerIcon&&x(b,{key:"append-icon",name:"appendInner",color:ve[0].iconColor.value},null)])})}),ei({isFocused:_,menu:I,search:d,filteredItems:f,select:Me},o)}}),O3=["aria-label"],$3={class:"mb-6 text-center text-sm text-gray-400"},L3={class:"space-y-6"},D3={"aria-labelledby":"prudential-loss-heading"},V3={id:"prudential-loss-heading",class:"mb-3 text-sm font-semibold text-white"},M3={class:"flex flex-col gap-3 sm:flex-row"},B3={class:"flex-1"},N3={class:"flex-1"},F3={"aria-labelledby":"prudential-time-heading"},j3={id:"prudential-time-heading",class:"mb-3 text-sm font-semibold text-white"},U3={class:"flex flex-col gap-3 sm:flex-row"},z3={class:"flex-1"},H3={class:"flex-1"},K3=["aria-label"],W3={for:"prudential-radio-keep",class:"flex cursor-pointer items-center gap-2 text-center text-xs text-white sm:text-sm"},q3=["checked"],G3={for:"prudential-radio-custom",class:"flex cursor-pointer items-center gap-2 text-center text-xs text-white sm:text-sm"},Y3=["checked"],J3={class:"flex flex-col gap-6 px-4 pb-6 pt-4"},ji="prudential-limits",X3=Ae({__name:"Index",setup(e){const t=Kn(),n=Ge(),{getCloudflareImage:o}=jc(),r=U(!1),s=U(!1),a=U(!0),i=U(""),l=U("daily"),c=U(""),u=U("daily"),d=U(""),f=U("keep"),m=A(()=>[...n.modals].reverse().find(I=>I.name===ji)),p=A(()=>m.value?.data),h=A(()=>x4.map(I=>({value:I,label:T(`prudential-limits.recurrence-${I}`)}))),v=A(()=>Dm[u.value]),y=A(()=>a.value?E4(c.value,d.value,u.value):!0);le(u,I=>{d.value=ug(d.value,I)});function k(I){return String(I??"").replace(/\D/g,"")}function _(I){const V=k(I);return V?new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(Number(V)/100):""}function g(I){return I==null?"":new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(I/100)}function b(I){c.value=_(I)}function S(I){d.value=ug(k(I),u.value)}async function E(){if(i.value="",p.value?.skipBannerFetch){i.value=p.value.bannerUrl??"";return}try{const V=(await Ye.get("/api/images/limits")).data,H=(Array.isArray(V)?V:Array.isArray(V?.limits)?V.limits:Object.values(V??{}).find(Array.isArray)??[])[0];H&&(i.value=o(H.image_cf,H.image_url??H.src,"bannerModal"))}catch{}}async function O(){try{const V=(await Ye.get("/api/user-limits")).data??[],Y=V.find(N=>N.type==="time");Y&&(d.value=String(Math.round(Y.limit/3600)),u.value=lg[String(Y.interval??"1")]??"daily");const H=V.find(N=>N.type==="loss");H&&(c.value=g(H.limit),l.value=lg[String(H.interval??"1")]??"daily")}catch{}}async function R(){r.value=!0,f.value="keep";try{const[I]=await Promise.all([Ye.get("/api/settings/use-default-limits").catch(()=>null),E(),O()]);a.value=I?.data?.data?.use_default_limits??!1}finally{r.value=!1}}async function L(){const I=!a.value&&f.value==="keep",V=I?[Fi("loss","daily",String(cg)),Fi("time","daily","24")]:[Fi("loss",l.value,c.value),Fi("time",u.value,d.value)],Y={type:"loss",interval:I?"1":ig[l.value],limit:I?cg:sA(c.value),expires_at:null},H={type:"time",interval:I?"1":ig[u.value],limit:I?k4:T4(d.value),expires_at:null};await Ye.post("/api/user-settings/update",V),await Promise.all([Ye.post("/api/user-limits",Y),Ye.post("/api/user-limits",H)]),n.showAlert("success",T("prudential-limits.save-success")),n.closeModal(ji);const N=R4();N&&await t.push(N)}async function D(){if(!(!y.value||s.value)){if(C4(a.value,f.value)){a.value=!0;return}s.value=!0;try{await L()}catch{n.showAlert("error",T("prudential-limits.save-error"))}finally{s.value=!1}}}return(I,V)=>{const Y=Tn("RouterLink"),H=Eo;return B(),ge(H,{name:ji,closable:!1,persistent:!0,"banner-url":i.value,title:C(T)("prudential-limits.title"),onOpen:R},{footer:q(()=>[w("div",J3,[x(He,{block:"",color:"primary",class:"prudential-limits-submit",disabled:!y.value||s.value,loading:s.value,onClick:D},{default:q(()=>[ye(z(C(T)("prudential-limits.cta")),1)]),_:1},8,["disabled","loading"]),x(Y,{class:"text-center text-sm font-bold text-white hover:underline",to:"/responsible-gaming",onClick:V[4]||(V[4]=N=>C(n).closeModal(ji))},{default:q(()=>[ye(z(C(T)("prudential-limits.responsible-gaming-link")),1)]),_:1})])]),default:q(()=>[r.value?(B(),oe("div",{key:0,class:"flex flex-col gap-4 py-2","aria-busy":"true","aria-label":C(T)("prudential-limits.title")},[...V[5]||(V[5]=[w("div",{class:"h-4 w-3/4 animate-pulse rounded bg-white/10"},null,-1),w("div",{class:"h-10 w-full animate-pulse rounded bg-white/10"},null,-1),w("div",{class:"h-10 w-full animate-pulse rounded bg-white/10"},null,-1)])],8,O3)):(B(),oe(xe,{key:1},[w("p",$3,z(C(T)("prudential-limits.intro")),1),w("div",L3,[a.value?(B(),oe(xe,{key:0},[w("section",D3,[w("h4",V3,z(C(T)("prudential-limits.loss-section")),1),w("div",M3,[w("div",B3,[x(lf,{modelValue:l.value,"onUpdate:modelValue":V[0]||(V[0]=N=>l.value=N),items:h.value,"item-title":"label","item-value":"value",placeholder:C(T)("prudential-limits.recurrence-placeholder"),class:"prudential-limits-field",variant:"plain",density:"default","hide-details":""},null,8,["modelValue","items","placeholder"])]),w("div",N3,[x($t,{"model-value":c.value,type:"tel",inputmode:"numeric",min:"0",placeholder:C(T)("prudential-limits.loss-placeholder"),class:"prudential-limits-field",variant:"plain",density:"default","hide-details":"","onUpdate:modelValue":b},null,8,["model-value","placeholder"])])])]),w("section",F3,[w("h4",j3,z(C(T)("prudential-limits.time-section")),1),w("div",U3,[w("div",z3,[x(lf,{modelValue:u.value,"onUpdate:modelValue":V[1]||(V[1]=N=>u.value=N),items:h.value,"item-title":"label","item-value":"value",placeholder:C(T)("prudential-limits.recurrence-placeholder"),class:"prudential-limits-field",variant:"plain",density:"default","hide-details":""},null,8,["modelValue","items","placeholder"])]),w("div",H3,[x($t,{"model-value":d.value,type:"tel",inputmode:"numeric",min:"0",max:v.value,placeholder:C(T)("prudential-limits.time-placeholder"),class:"prudential-limits-field",variant:"plain",density:"default","hide-details":"","onUpdate:modelValue":S},null,8,["model-value","max","placeholder"])])])])],64)):(B(),oe("section",{key:1,class:"flex flex-wrap justify-center gap-3 sm:gap-4","aria-label":C(T)("prudential-limits.radio-group-label")},[w("label",W3,[w("input",{id:"prudential-radio-keep",class:"sr-only",type:"radio",name:"prudential-limit-option",value:"keep",checked:f.value==="keep",onChange:V[2]||(V[2]=N=>f.value="keep")},null,40,q3),w("span",{class:te(["h-[22px] w-[22px] flex-shrink-0 rounded-full transition-[border]",f.value==="keep"?"border-brand-primary border-[4px]":"border border-white/10"]),"aria-hidden":"true"},null,2),ye(" "+z(C(T)("prudential-limits.radio-keep")),1)]),w("label",G3,[w("input",{id:"prudential-radio-custom",class:"sr-only",type:"radio",name:"prudential-limit-option",value:"custom",checked:f.value==="custom",onChange:V[3]||(V[3]=N=>f.value="custom")},null,40,Y3),w("span",{class:te(["h-[22px] w-[22px] flex-shrink-0 rounded-full transition-[border]",f.value==="custom"?"border-brand-primary border-[4px]":"border border-white/10"]),"aria-hidden":"true"},null,2),ye(" "+z(C(T)("prudential-limits.radio-custom")),1)])],8,K3))])],64))]),_:1},8,["banner-url","title"])}}}),Z3=Qe(X3,[["__scopeId","data-v-064c9b17"]]),Q3={id:"cookie-banner-title",class:"text-center text-sm leading-4"},eH={class:"flex gap-2"},fg="cookie-consent",tH=365*24*60*60,nH=Ae({__name:"Index",setup(e){const t=U(!1);function n(s){return s==="all"||s==="necessary"}function o(){const s=us(fg);return n(s)?s:null}async function r(s){hc(fg,s,{maxAge:tH,sameSite:"None",secure:!0}),t.value=!1,s==="all"&&await xC()}return ut(()=>t.value=o()===null),(s,a)=>{const i=Tn("router-link");return St((B(),oe("div",{role:"dialog","aria-labelledby":"cookie-banner-title","aria-hidden":"false",tabindex:"-1",class:te(["mx-full bg-brand-card fixed bottom-16 left-4 right-4 z-[10001] flex w-auto max-w-md flex-col gap-3.5 rounded-lg p-5 text-white shadow-xl transition-opacity duration-500 md:w-3/4 lg:bottom-5 lg:mx-0 lg:w-1/3",{"opacity-0":!t.value,"opacity-100":t.value}])},[w("div",null,[w("p",Q3,[ye(z(C(T)("cookie-consent.content"))+" ",1),x(i,{class:"underline transition hover:opacity-80",to:"/cookies-policy"},{default:q(()=>[ye(z(C(T)("cookie-consent.policy-link")),1)]),_:1})])]),w("div",eH,[x(He,{type:"button",variant:"outlined",class:"flex-1 !border-gray-500 !text-white",title:C(T)("cookie-consent.accept-necessary"),onClick:a[0]||(a[0]=l=>r("necessary"))},{default:q(()=>[ye(z(C(T)("cookie-consent.accept-necessary")),1)]),_:1},8,["title"]),x(He,{type:"button",variant:"flat",class:"flex-1",title:C(T)("cookie-consent.accept-all"),onClick:a[1]||(a[1]=l=>r("all"))},{default:q(()=>[ye(z(C(T)("cookie-consent.accept-all")),1)]),_:1},8,["title"])])],2)),[[ro,t.value]])}}}),oH={id:"age-verification"},rH={key:0,class:"bg-brand-background/65 fixed inset-0 z-[10000] h-screen w-screen"},sH={key:"question",class:"scrollbar-hide fixed inset-0 z-[10000] flex items-center justify-center"},aH={class:"bg-brand-background w-110 overflow-hidden rounded-md text-center shadow-lg"},iH={key:1,class:"from-brand-separator via-brand-separator/20 to-brand/1 w-full rounded-t-md bg-gradient-to-b"},lH={class:"mb-2 px-5 pt-2 text-xl font-medium text-white"},cH={class:"mb-10 px-8 text-[12px] leading-snug text-white/60"},uH={class:"mx-5 mb-6 mt-2 flex gap-2"},dH={key:"restriction",class:"scrollbar-hide fixed inset-0 z-[10000] flex items-center justify-center"},fH={class:"bg-brand-background w-96 overflow-hidden rounded-md pb-3 text-center shadow-lg"},mH={key:1,class:"from-brand-separator via-brand-separator/20 to-brand-separator/5 w-full rounded-t-md bg-gradient-to-b"},pH={class:"p-8 text-xl font-medium text-white"},Ju="age-verification",vH=365*24*60*60*1e3,hH=Ae({__name:"Index",setup(e){const t=pt(),{getCloudflareImage:n}=jc(),o=U(!0),r=U(!1),s=U(!1),a=U(null);function i(y){return y&&typeof y=="object"&&!Array.isArray(y)?y:null}function l(y){const k=i(y);let _=k;if(k&&!Array.isArray(k.majority)){const S=i(k.data);S&&(_=S)}if(!_)return null;const g=_.majority;if(!Array.isArray(g)||g.length===0)return null;const b=i(g[0]);return b?{image_cf:typeof b.image_cf=="string"?b.image_cf:null,image_url:typeof b.image_url=="string"?b.image_url:null,src:typeof b.src=="string"?b.src:null}:null}function c(){if(typeof window>"u")return!1;try{const y=localStorage.getItem(Ju);if(!y)return!1;const k=JSON.parse(y);return typeof k.expiration=="number"&&Date.now()>k.expiration?(localStorage.removeItem(Ju),!1):k.value===!0||k.value==="true"}catch{return!1}}function u(){try{localStorage.setItem(Ju,JSON.stringify({value:!0,timestamp:Date.now(),expiration:Date.now()+vH}))}catch{}}function d(y){return new Promise((k,_)=>{const g=new Image;g.onload=()=>k(),g.onerror=()=>_(new Error("Image prefetch failed")),g.src=y})}function f(y){const k=y.image_cf??y.image_url??y.src,_=y.image_url??y.src??null;return n(k,_,"bannerModal",!1).trim()||null}async function m(){try{const{data:y}=await Ye.get("/api/images/"),k=l(y);return k?f(k):null}catch(y){return ym(y)&&y.response?.status===404||console.error("/api/images/ request failed (age verification banner):",y),null}}async function p(){const y=await m();if(!y){a.value=null;return}try{await d(y),a.value=y}catch{a.value=null}}function h(){u(),r.value=!1}function v(){s.value=!0}return ut(async()=>{await p(),window.setTimeout(()=>{t.isAuthenticated?r.value=!1:r.value=!c(),o.value=!1},250)}),(y,k)=>{const _=Rs;return B(),oe("div",oH,[!o.value&&r.value?(B(),oe("div",rH,[w("div",{class:te(["fixed inset-0 transition-all duration-300",[s.value?"bg-brand-background/60 backdrop-blur-lg":"bg-brand-background/30 backdrop-blur-md"]])},null,2),x(to,{name:"age-verification-fade",mode:"out-in"},{default:q(()=>[s.value?(B(),oe("div",dH,[w("div",fH,[a.value?(B(),oe("div",{key:0,class:"bg-secondary after:to-brand-background relative aspect-[75/32] w-full bg-cover bg-center bg-no-repeat after:absolute after:bottom-0 after:z-10 after:flex after:h-1/2 after:w-full after:bg-gradient-to-b after:from-transparent after:content-['']",style:Ee({backgroundImage:`url(${a.value})`})},null,4)):(B(),oe("div",mH,[x(_,{class:"block px-6 py-6 sm:px-10 sm:py-7 md:px-14 md:py-8 lg:px-16"})])),w("p",pH,z(C(T)("age-verification.restriction")),1)])])):(B(),oe("div",sH,[w("div",aH,[a.value?(B(),oe("div",{key:0,class:"bg-secondary after:to-brand-background relative aspect-[75/32] w-full bg-cover bg-center bg-no-repeat after:absolute after:bottom-0 after:z-10 after:flex after:h-1/2 after:w-full after:bg-gradient-to-b after:from-transparent after:content-['']",style:Ee({backgroundImage:`url(${a.value})`})},null,4)):(B(),oe("div",iH,[x(_,{class:"max-w-70 mx-auto mb-3 block py-6"})])),w("p",lH,z(C(T)("age-verification.question")),1),w("p",cH,z(C(T)("age-verification.disclaimer")),1),w("div",uH,[x(He,{type:"button",variant:"outlined",size:"large",class:"flex-1 !border-gray-500 !text-lg !font-medium !text-white/40",title:C(T)("age-verification.no"),onClick:v},{default:q(()=>[ye(z(C(T)("age-verification.no")),1)]),_:1},8,["title"]),x(He,{type:"button",variant:"flat",size:"large",class:"flex-1 !text-lg !font-medium",title:C(T)("age-verification.yes"),onClick:h},{default:q(()=>[ye(z(C(T)("age-verification.yes")),1)]),_:1},8,["title"])])])]))]),_:1})])):he("",!0)])}}}),gH=Qe(hH,[["__scopeId","data-v-42ca5398"]]),bH={class:"flex h-14 shrink-0 items-center justify-center"},yH={class:"relative flex min-h-14 min-w-0 flex-1 items-center pe-2 ps-2"},_H={class:"min-w-0 flex-1 break-words py-2 pe-7 text-xs leading-snug"},wH={class:"absolute end-1 top-0 flex h-14 items-center justify-center"},SH=["aria-label","title"],xH=Ae({__name:"Index",setup(e){const t=Ge(),n=U(!1),o=U(null);let r=null,s=null;const a={error:"lucide:alert-octagon",success:"lucide:check-circle",info:"lucide:info",warning:"lucide:alert-triangle"},i={error:{root:"#dc2626",icon:"#b91c1c"},success:{root:"#16a34a",icon:"#15803d"},info:{root:"#2563eb",icon:"#1d4ed8"},warning:{root:"#f59e0b",icon:"#d97706"}},l=A(()=>o.value?a[o.value.type]??a.error:a.error),c=A(()=>i[o.value?.type??"error"]),u=A(()=>({backgroundColor:o.value?c.value.root:void 0,fontFamily:"Montserrat, sans-serif"})),d=A(()=>({backgroundColor:o.value?c.value.icon:void 0}));function f(){r&&clearTimeout(r),s&&clearTimeout(s),r=null,s=null}function m(){if(o.value||t.alerts.length===0)return;const[h,...v]=t.alerts;o.value=h??null,t.setAlertQueue(v),n.value=!!h,h&&(r=setTimeout(()=>{p()},h.timeout+500))}function p(){f(),n.value=!1,s=setTimeout(()=>{o.value=null,m()},500)}return le(()=>t.alerts.length,()=>m(),{immediate:!0}),(h,v)=>(B(),oe("div",{class:te(["fixed top-20 z-[9999] flex min-h-14 w-[300px] items-stretch overflow-hidden rounded-md text-white shadow duration-500",{"bg-red-600":o.value?.type=="error","bg-green-600":o.value?.type=="success","bg-blue-600":o.value?.type=="info","bg-yellow-600":o.value?.type=="warning","right-2":n.value,"-right-full":!n.value}]),style:Ee(u.value)},[w("span",{class:te(["flex w-12 shrink-0 flex-col self-stretch rounded-s-md",{"bg-red-700":o.value?.type=="error","bg-green-700":o.value?.type=="success","bg-blue-700":o.value?.type=="info","bg-yellow-700":o.value?.type=="warning"}]),style:Ee(d.value)},[w("span",bH,[x(_e,{icon:l.value,size:"21"},null,8,["icon"])])],6),w("div",yH,[w("p",_H,z(o.value?.text),1),w("div",wH,[w("button",{type:"button",class:"-translate-y-0.5 rounded-sm p-1 text-white/45 transition-colors hover:bg-white/10 hover:text-white/75","aria-label":C(T)("common.close"),title:C(T)("common.close"),onClick:p},[x(_e,{icon:"lucide:x",size:"16"})],8,SH)])])],6))}}),ar=Hn("sidebar",{state:()=>({isCollapsedBase:!1,isMobileDrawerOpen:!1,isHovering:!1,isMobileViewport:!1}),getters:{isCollapsed:e=>e.isCollapsedBase&&!e.isHovering&&!e.isMobileViewport},actions:{setIsCollapsed(e){this.isCollapsedBase=e},setMobileDrawerOpen(e){this.isMobileDrawerOpen=e},toggleMobileDrawer(){this.isMobileDrawerOpen=!this.isMobileDrawerOpen},setIsHovering(e){this.isHovering=e},setIsMobileViewport(e){this.isMobileViewport=e}}}),ql=Symbol.for("vuetify:layout"),_A=Symbol.for("vuetify:layout-item"),mg=1e3,kH=de({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),zc=de({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function EH(){const e=Ue(ql);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Hc(e){const t=Ue(ql);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Un()}`,o=At("useLayoutItem");yt(_A,{id:n});const r=pe(!1);cc(()=>r.value=!0),Df(()=>r.value=!1);const{layoutItemStyles:s,layoutItemScrimStyles:a}=t.register(o,{...e,active:A(()=>r.value?!1:e.active.value),id:n});return gt(()=>t.unregister(n)),{layoutItemStyles:s,layoutRect:t.layoutRect,layoutItemScrimStyles:a}}const CH=(e,t,n,o)=>{let r={top:0,left:0,right:0,bottom:0};const s=[{id:"",layer:{...r}}];for(const a of e){const i=t.get(a),l=n.get(a),c=o.get(a);if(!i||!l||!c)continue;const u={...r,[i.value]:parseInt(r[i.value],10)+(c.value?parseInt(l.value,10):0)};s.push({id:a,layer:u}),r=u}return s};function AH(e){const t=Ue(ql,null),n=A(()=>t?t.rootZIndex.value-100:mg),o=U([]),r=vt(new Map),s=vt(new Map),a=vt(new Map),i=vt(new Map),l=vt(new Map),{resizeRef:c,contentRect:u}=rr(),d=A(()=>{const S=new Map,E=e.overlaps??[];for(const O of E.filter(R=>R.includes(":"))){const[R,L]=O.split(":");if(!o.value.includes(R)||!o.value.includes(L))continue;const D=r.get(R),I=r.get(L),V=s.get(R),Y=s.get(L);!D||!I||!V||!Y||(S.set(L,{position:D.value,amount:parseInt(V.value,10)}),S.set(R,{position:I.value,amount:-parseInt(Y.value,10)}))}return S}),f=A(()=>{const S=[...new Set([...a.values()].map(O=>O.value))].sort((O,R)=>O-R),E=[];for(const O of S){const R=o.value.filter(L=>a.get(L)?.value===O);E.push(...R)}return CH(E,r,s,i)}),m=A(()=>!Array.from(l.values()).some(S=>S.value)),p=A(()=>f.value[f.value.length-1].layer),h=K(()=>({"--v-layout-left":Te(p.value.left),"--v-layout-right":Te(p.value.right),"--v-layout-top":Te(p.value.top),"--v-layout-bottom":Te(p.value.bottom),...m.value?void 0:{transition:"none"}})),v=A(()=>f.value.slice(1).map(({id:S},E)=>{const{layer:O}=f.value[E],R=s.get(S),L=r.get(S);return{id:S,...O,size:Number(R.value),position:L.value}})),y=S=>v.value.find(E=>E.id===S),k=At("createLayout"),_=pe(!1);ut(()=>{_.value=!0}),yt(ql,{register:(S,{id:E,order:O,position:R,layoutSize:L,elementSize:D,active:I,disableTransitions:V,absolute:Y})=>{a.set(E,O),r.set(E,R),s.set(E,L),i.set(E,I),V&&l.set(E,V);const N=Yr(_A,k?.vnode).indexOf(S);N>-1?o.value.splice(N,0,E):o.value.push(E);const J=A(()=>v.value.findIndex(j=>j.id===E)),Q=A(()=>n.value+f.value.length*2-J.value*2),X=A(()=>{const j=R.value==="left"||R.value==="right",W=R.value==="right",fe=R.value==="bottom",Me=Number(D.value??L.value),Ke=`translate${j?"X":"Y"}`,Oe=I.value?0:(Me===0?100:Me+1)*(W||fe?1:-1),ne=Me===0?"%":"px",be={[R.value]:0,zIndex:Q.value,transform:`${Ke}(${Oe}${ne})`,position:Y.value||n.value!==mg?"absolute":"fixed",...m.value?void 0:{transition:"none"}};if(!_.value)return be;const ae=v.value[J.value],Se=d.value.get(E);return Se&&(ae[Se.position]+=Se.amount),{...be,height:j?`calc(100% - ${ae.top}px - ${ae.bottom}px)`:D.value?`${D.value}px`:void 0,left:W?void 0:`${ae.left}px`,right:W?`${ae.right}px`:void 0,top:R.value!=="bottom"?`${ae.top}px`:void 0,bottom:R.value!=="top"?`${ae.bottom}px`:void 0,width:j?D.value?`${D.value}px`:void 0:`calc(100% - ${ae.left}px - ${ae.right}px)`}}),F=A(()=>({zIndex:Q.value-1}));return{layoutItemStyles:X,layoutItemScrimStyles:F,zIndex:Q}},unregister:S=>{a.delete(S),r.delete(S),s.delete(S),i.delete(S),l.delete(S),o.value=o.value.filter(E=>E!==S)},mainRect:p,mainStyles:h,getLayoutItem:y,items:v,layoutRect:u,rootZIndex:n});const g=K(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),b=K(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:g,layoutStyles:b,getLayoutItem:y,items:v,layoutRect:u,layoutRef:c}}const TH=de({baseColor:String,bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Wn(),...Ne(),...Pn(),...In(),...Rt(),...zc({name:"bottom-navigation"}),...et({tag:"header"}),...Wa({selectedClass:"v-btn--selected"}),...mt()},"VBottomNavigation"),PH=Ce()({name:"VBottomNavigation",props:TH(),emits:{"update:active":e=>!0,"update:modelValue":e=>!0},setup(e,{slots:t}){const{themeClasses:n}=om(),{borderClasses:o}=qn(e),{backgroundColorClasses:r,backgroundColorStyles:s}=Dt(()=>e.bgColor),{densityClasses:a}=Gn(e),{elevationClasses:i}=Rn(e),{roundedClasses:l}=Ot(e),{ssrBootStyles:c}=fi(),u=A(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),d=ht(e,"active",e.active),{layoutItemStyles:f}=Hc({id:e.name,order:A(()=>parseInt(e.order,10)),position:K(()=>"bottom"),layoutSize:K(()=>d.value?u.value:0),elementSize:u,active:d,absolute:K(()=>e.absolute)});return qa(e,am),so({VBtn:{baseColor:K(()=>e.baseColor),color:K(()=>e.color),density:K(()=>e.density),stacked:K(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),De(()=>x(e.tag,{class:te(["v-bottom-navigation",{"v-bottom-navigation--active":d.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},n.value,r.value,o.value,a.value,i.value,l.value,e.class]),style:Ee([s.value,f.value,{height:Te(u.value)},c.value,e.style])},{default:()=>[t.default&&w("div",{class:"v-bottom-navigation__content"},[t.default()])]})),{}}}),IH={class:"app-bottom-navigation__label"},RH=["innerHTML"],OH={class:"app-bottom-navigation__label"},pg=56,$H=6,LH=Ae({__name:"Index",setup(e){const t=sr(),n=U(0),o=ar(),r=Ze(),s=jt(),a=Kn(),i=A(()=>o.isMobileDrawerOpen?T("common.close"):T("common.menu-open")),l=A(()=>o.isMobileDrawerOpen?"fa6-solid:xmark":"fa6-solid:bars"),c=A(()=>r.business.general_menu_mobile??[]),u=A(()=>c.value.filter(v=>typeof v.link=="string"&&v.link.length>0)),d=A(()=>u.value.find(v=>v.link===s.path)?.link),f=A(()=>t?pg+$H+n.value:pg);function m(){if(!t||typeof window>"u")return;const v=document.querySelector(".app-container--native"),y=getComputedStyle(v||document.documentElement),k=parseFloat(y.getPropertyValue("--app-safe-area-bottom"));!Number.isNaN(k)&&k>=0&&(n.value=k)}ut(()=>{t&&(m(),typeof requestAnimationFrame=="function"&&requestAnimationFrame(m))});function p(v){return typeof v=="string"&&v.includes("<")&&v.includes(">")}async function h(v){if(/^https?:\/\//i.test(v)){await Rm(v);return}if(/^[a-z][a-z\d+\-.]*:/i.test(v)){window.location.assign(v);return}await a.push(v)}return(v,y)=>C(o).isMobileViewport?(B(),ge(PH,{key:0,"model-value":d.value,grow:"",height:f.value,class:te(["app-bottom-navigation",{"app-bottom-navigation--native":C(t)}]),"aria-label":"Mobile navigation"},{default:q(()=>[x(He,{value:"menu-toggle","aria-label":i.value,"aria-expanded":!!C(o).isMobileDrawerOpen,"aria-controls":"app-sidebar-drawer",title:i.value,class:"app-bottom-navigation__toggle",onClick:y[0]||(y[0]=k=>C(o).toggleMobileDrawer())},{default:q(()=>[x(_e,{icon:l.value,size:"20"},null,8,["icon"]),w("span",IH,z(i.value),1)]),_:1},8,["aria-label","aria-expanded","title"]),(B(!0),oe(xe,null,Wt(u.value,k=>(B(),ge(He,{key:k.link,value:k.link,"aria-current":k.link===d.value?"page":void 0,title:k.title,onClick:_=>h(k.link)},{default:q(()=>[p(k.icon)?(B(),oe("span",{key:0,class:"app-bottom-navigation__icon","aria-hidden":"true",innerHTML:k.icon},null,8,RH)):k.icon?(B(),ge(_e,{key:1,icon:k.icon,size:"20"},null,8,["icon"])):he("",!0),w("span",OH,z(k.title),1)]),_:2},1032,["value","aria-current","title","onClick"]))),128))]),_:1},8,["model-value","height","class"])):he("",!0)}}),DH=Qe(LH,[["__scopeId","data-v-cf56a874"]]),VH=Ae({__name:"Index",props:{tag:{default:"div"},railWidth:{default:3},railInset:{default:6},hideDelay:{default:900},minThumbPercent:{default:6},alwaysVisible:{type:Boolean,default:!1}},setup(e,{expose:t}){const n=e,o=U(null),r=U(null),s=U(!1),a=U(!1),i=U(!1),l=U(0),c=U(0);let u=null,d=null;const f=A(()=>({"--app-scrollbar-width":`${n.railWidth}px`,"--app-scrollbar-inset":`${n.railInset}px`})),m=A(()=>({top:`${l.value}%`,height:`${c.value}%`})),p=A(()=>n.alwaysVisible||i.value&&a.value);function h(){const g=o.value;if(!g){s.value=!1;return}const{scrollTop:b,scrollHeight:S,clientHeight:E}=g,O=S-E;if(s.value=O>1,!s.value){l.value=0,c.value=0,a.value=!1;return}const R=E/S*100,L=Math.min(100,Math.max(n.minThumbPercent,R)),D=100-L;c.value=L,l.value=D>0?b/O*D:0}function v(){!n.alwaysVisible&&!i.value||n.alwaysVisible||(a.value=!0,u&&clearTimeout(u),u=setTimeout(()=>{a.value=!1,u=null},n.hideDelay))}function y(){h(),v()}function k(){const g=o.value,b=r.value;g&&(d=new ResizeObserver(()=>h()),d.observe(g),b&&d.observe(b))}function _(){u&&clearTimeout(u),u=null,d?.disconnect(),d=null}return le(()=>[n.railWidth,n.railInset,n.minThumbPercent,n.alwaysVisible],()=>Je(h)),ut(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.value=!0})}),Je(()=>{h(),k()})}),gt(_),t({refresh:h,scrollEl:o}),(g,b)=>(B(),ge(ya(e.tag),{class:"custom-scrollbar",style:Ee(f.value)},{default:q(()=>[w("div",{ref_key:"viewportRef",ref:o,class:"custom-scrollbar__viewport",onScroll:y},[w("div",{ref_key:"contentRef",ref:r,class:"custom-scrollbar__content"},[Nn(g.$slots,"default",{},void 0,!0)],512)],544),St(w("div",{class:te(["custom-scrollbar__rail",{"custom-scrollbar__rail--visible":p.value}]),"aria-hidden":"true"},[w("div",{class:"custom-scrollbar__thumb",style:Ee(m.value)},null,4)],2),[[ro,s.value]])]),_:3},8,["style"]))}}),wA=Qe(VH,[["__scopeId","data-v-b845ae19"]]),MH="/footer/pix.png",BH="/footer/reclameaqui.png",NH="/footer/begambleaware.png",FH="/footer/gamblingtherapy.png",jH="/footer/ibia.png",Xu="",UH="index,follow";function vg(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function zH(e){return e.replace(/<[^>]*>/g," ")}function mo(e,t=300){if(typeof e!="string")return"";const n=zH(e).replace(/\s+/g," ").trim();return n?n.slice(0,t):""}function hg(e){return typeof e!="string"?"":e.trim()}function Zu(e){if(typeof e!="string")return null;const t=e.trim();return!t||/^javascript:/i.test(t)?null:t}function _n(e,t){for(const n of t){const o=e[n];if(typeof o=="string"&&o.trim())return o.trim()}return""}function HH(e){if(!vg(e))return{};const t=e.data;return vg(t)?t:e}function KH(e){const t=e.id;return typeof t=="number"?Number.isFinite(t):typeof t=="string"?t.trim().length>0:!1}function SA(){return{title:Xu,description:"",content:"",html:"",robots:UH,ogTitle:Xu,ogDescription:"",ogType:"website",ogImage:null,twitterCard:"summary_large_image",twitterTitle:Xu,twitterDescription:"",twitterImage:null,canonicalUrl:null,matched:!1}}function Ui(e,t){const n=t??{pathname:e,sectionName:e==="/"?"home_page":"fallback",sourceId:null,cacheKey:`fallback::${e}`};return{seoValues:SA(),seoTarget:n,seoSource:"fallback",seoFetchedAt:new Date().toISOString()}}function gg(e,t,n="remote"){const o=HH(e),r=SA(),s=hg(o.content),a=hg(_n(o,["html","content_html"])),i=mo(_n(o,["title","meta_title","seo_title"]),120)||r.title,l=mo(_n(o,["description","meta_description","seo_description"]),320)||mo(s,320),c=mo(_n(o,["robots","meta_robots"]),80)||r.robots,u=mo(_n(o,["og_title"]),120)||i,d=mo(_n(o,["og_description"]),320)||l,f=mo(_n(o,["twitter_title"]),120)||i,m=mo(_n(o,["twitter_description"]),320)||l;return{seoValues:{title:i,description:l,content:s,html:a,robots:c,ogTitle:u,ogDescription:d,ogType:mo(_n(o,["og_type"]),30)||r.ogType,ogImage:Zu(_n(o,["og_image","image","share_image"])),twitterCard:mo(_n(o,["twitter_card"]),30)||r.twitterCard,twitterTitle:f,twitterDescription:m,twitterImage:Zu(_n(o,["twitter_image","image","share_image"])),canonicalUrl:Zu(_n(o,["canonical_url","canonical","url"])),matched:KH(o)},seoTarget:t,seoSource:n,seoFetchedAt:new Date().toISOString()}}const WH={index:{sectionName:"home_page",sourceId:null},sports:{sectionName:"sports",sourceId:null},"casino-live":{sectionName:"casino_categories",sourceId:"2"},"casino-slots":{sectionName:"casino_categories",sourceId:"1"}};function qH(e){const t=e.trim();return t?t==="/"?t:t.replace(/\/+$/,""):"/"}function Io(e){if(typeof e!="string"&&typeof e!="number")return null;const t=String(e).trim();return t?t.replace(/[^\w/-]/g,""):null}function GH(e){return typeof e=="string"?e.trim().toLowerCase():""}function YH(e){if(!e)return null;const t=Object.values(e)[0];return Array.isArray(t)?Io(t[0]):Io(t)}function JH(e){return e.replace(/[^a-z0-9_/-]/g,"").replace(/[-/]/g,"_")}function XH(e){return e==="/"?"home_page":(e.replace(/^\//,"").split("/")[0]||"home_page").replace(/[^a-z0-9_-]/g,"").replace(/-/g,"_")}function Mt(e,t,n){return{pathname:e,sectionName:t,sourceId:n,cacheKey:`${t}:${n??""}:${e}`}}function ZH(e){const t=qH(e.pathname),n=GH(e.routeName),o=YH(e.routeParams);if(t==="/")return Mt(t,"home_page",null);if(t==="/sports")return Mt(t,"sports",null);if(t==="/casino")return Mt(t,"/casino",null);if(t==="/casino/favorites")return Mt(t,"/casino/favorites",null);if(t==="/casino/live")return Mt(t,"casino_categories","2");if(t==="/casino/slots")return Mt(t,"casino_categories","1");if(t==="/providers")return Mt(t,"casino_providers",null);const r=t.match(/^\/play\/([^/]+)\/([^/]+)$/);if(r){const l=Io(r[1]),c=Io(r[2]);if(l&&c)return Mt(t,"casino_games",`${l}/${c}`)}const s=t.match(/^\/play\/([^/]+)$/);if(s){const l=Io(s[1])??o;return Mt(t,"casino_games",l)}const a=t.match(/^\/casino\/([^/]+)$/);if(a){const l=Io(a[1]);return l==="favorites"?Mt(t,"/casino/favorites",null):Mt(t,"casino_categories",l)}const i=t.match(/^\/providers\/([^/]+)$/);if(i){const l=Io(i[1]);return Mt(t,"casino_providers",l)}if(n==="play-provider-name"){const l=Io(e.routeParams?.provider),c=Io(e.routeParams?.name);if(l&&c)return Mt(t,"casino_games",`${l}/${c}`)}if(n==="play-id")return Mt(t,"casino_games",o);if(n){const l=WH[n];return l?Mt(t,l.sectionName,l.sourceId):Mt(t,JH(n),o)}return Mt(t,XH(t),o)}const xA=Hn("seo",{state:()=>({...Ui("/"),casinoGameContext:null}),getters:{hasRemoteSeo:e=>e.seoSource==="remote"||e.seoSource==="cache",hasMatchedSeo:e=>e.seoValues.matched},actions:{setCasinoGameContext(e){this.casinoGameContext=e},clearCasinoGameContext(){this.casinoGameContext=null},setProjection(e){this.seoValues=e.seoValues,this.seoTarget=e.seoTarget,this.seoSource=e.seoSource,this.seoFetchedAt=e.seoFetchedAt},clearProjection(e="/"){Object.assign(this,Ui(e))},async fetchForRoute(e){const t=ZH(e),n=new URLSearchParams({section_name:t.sectionName});t.sourceId&&n.set("source_id",t.sourceId);try{const o=await fetch(`/api/seo?${n.toString()}`,{method:"GET",credentials:"include",headers:{accept:"application/json"}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const r=await o.json();this.setProjection(gg(r,t,"remote"))}catch{this.setProjection(Ui(t.pathname,t))}},async fetchCasinoGameSeo(e,t){const n=String(e).trim();if(!n)return;const o={pathname:t,sectionName:"casino_games",sourceId:n,cacheKey:`casino_games:${n}:${t}`},r=new URLSearchParams({section_name:o.sectionName,source_id:n});try{const s=await fetch(`/api/seo?${r.toString()}`,{method:"GET",credentials:"include",headers:{accept:"application/json"}});if(!s.ok)throw new Error(`HTTP ${s.status}`);this.setProjection(gg(await s.json(),o,"remote"))}catch{this.setProjection(Ui(t,o))}}}}),QH=de({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Wn(),...Ne(),...In(),...zc(),...Rt(),...et({tag:"footer"}),...mt()},"VFooter"),e5=Ce()({name:"VFooter",props:QH(),setup(e,{slots:t}){const n=U(),{themeClasses:o}=Tt(e),{backgroundColorClasses:r,backgroundColorStyles:s}=Dt(()=>e.color),{borderClasses:a}=qn(e),{elevationClasses:i}=Rn(e),{roundedClasses:l}=Ot(e),c=pe(32),{resizeRef:u}=rr(f=>{f.length&&(c.value=f[0].target.clientHeight)}),d=A(()=>e.height==="auto"?c.value:parseInt(e.height,10));return ln(()=>e.app,()=>{const f=Hc({id:e.name,order:A(()=>parseInt(e.order,10)),position:K(()=>"bottom"),layoutSize:d,elementSize:A(()=>e.height==="auto"?void 0:d.value),active:K(()=>e.app),absolute:K(()=>e.absolute)});xt(()=>{n.value=f.layoutItemStyles.value})}),De(()=>x(e.tag,{ref:u,class:te(["v-footer",o.value,r.value,a.value,i.value,l.value,e.class]),style:Ee([s.value,e.app?n.value:{height:Te(e.height)},e.style])},t)),{}}}),il=Ss({name:"VNoSsr",setup(e,{slots:t}){const n=QE();return()=>n.value&&t.default?.()}}),t5={class:"flex w-full min-w-0 flex-col"},n5={key:0,class:"app-footer__user-bar w-full"},o5={class:"flex w-full min-w-0 flex-col items-stretch gap-2 px-5 py-4 text-center min-[1025px]:flex-row min-[1025px]:flex-nowrap min-[1025px]:items-center min-[1025px]:justify-between min-[1025px]:text-left xl:px-10"},r5={key:0,class:"m-0 w-full text-gray-400 min-[1025px]:w-auto min-[1025px]:min-w-0 min-[1025px]:max-w-full min-[1025px]:flex-none min-[1025px]:text-left"},s5={class:"text-white"},a5={key:1,class:"m-0 w-full text-gray-400 min-[1025px]:ml-auto min-[1025px]:w-auto min-[1025px]:shrink-0 min-[1025px]:text-right"},i5={class:"inline-block min-w-[115px] text-left"},l5={key:1,class:"inline-block pl-2 pr-4"},c5={class:"flex flex-col px-5 py-6 xl:flex-row xl:gap-16 xl:px-10 xl:py-6"},u5={class:"flex flex-col items-center max-xl:order-2 xl:order-1 xl:mb-0 xl:w-72"},d5=["src","alt"],f5={class:"flex w-full items-center justify-center pt-2 text-white"},m5={class:"flex gap-2"},p5=["href","aria-label","title"],v5={class:"grid min-w-0 flex-1 grid-cols-2 gap-8 text-gray-200 max-xl:order-1 lg:grid-cols-4 xl:order-3 xl:grid-cols-4 xl:gap-12"},h5={class:"space-y-3 max-lg:text-right lg:text-left"},g5={class:"text-base font-semibold text-white"},b5={class:"space-y-1 text-sm"},y5={class:"hover:text-brand-primary"},_5={class:"hover:text-brand-primary"},w5={class:"hover:text-brand-primary"},S5={class:"hover:text-brand-primary"},x5={class:"space-y-3"},k5={class:"text-base font-semibold text-white"},E5={class:"space-y-1 text-sm"},C5={class:"hover:text-brand-primary"},A5={key:0,class:"hover:text-brand-primary"},T5={class:"hover:text-brand-primary"},P5={class:"hover:text-brand-primary"},I5={class:"hover:text-brand-primary"},R5={class:"hover:text-brand-primary hidden"},O5={class:"hover:text-brand-primary"},$5=["href","title"],L5={class:"space-y-3 max-lg:text-right lg:text-left"},D5={class:"text-base font-semibold text-white"},V5={class:"space-y-1 text-sm"},M5={class:"hover:text-brand-primary"},B5={class:"hover:text-brand-primary"},N5={class:"hover:text-brand-primary"},F5={class:"hover:text-brand-primary"},j5={class:"hover:text-brand-primary"},U5={class:"hover:text-brand-primary"},z5={class:"hover:text-brand-primary"},H5={class:"hover:text-brand-primary"},K5={class:"hover:text-brand-primary"},W5=["title"],q5={class:"space-y-4"},G5={class:"text-base font-semibold text-white"},Y5={class:"bg-brand-input hover:bg-brand-primary/30 flex w-fit items-center justify-center gap-2 rounded-md px-4 py-2 transition-all duration-300"},J5={class:"group-hover:text-brand-primary! text-sm text-white transition-colors duration-300"},X5={class:"space-y-3"},Z5={class:"text-base font-semibold text-white"},Q5={class:"space-y-3"},e6={class:"text-sm font-semibold text-gray-300"},t6={class:"relative max-w-[11rem]"},n6=["src","alt"],o6=["src","alt"],r6={class:"truncate"},s6={class:"flex flex-col gap-6 md:flex-row md:items-stretch md:justify-center md:gap-0"},a6={class:"font-bold uppercase"},i6={class:"mb-2 text-xs uppercase text-gray-400"},l6=["aria-label"],c6=["src","alt","title"],u6={class:"mx-5 mt-2 flex w-full flex-col items-center"},d6={class:"relative w-full"},f6=["innerHTML"],m6={key:0,class:"from-brand-footer pointer-events-none absolute inset-x-0 bottom-0 h-8 bg-gradient-to-t to-transparent","aria-hidden":"true"},p6={class:"mx-5 flex flex-col-reverse items-center justify-center gap-6 md:flex-row"},v6=["innerHTML"],h6=["src","alt"],g6={class:"flex w-full list-none flex-wrap items-center justify-center gap-6 px-4 py-6 sm:px-6 lg:px-10","aria-label":"Selos e responsabilidade"},b6={class:"flex shrink-0 items-center"},y6={href:"https://www.gambleaware.org/",target:"_blank",rel:"noopener noreferrer",class:"transition duration-200 hover:opacity-75",title:"Verificado por Reclame Aqui"},_6=["alt"],w6={class:"flex max-w-full shrink-0 items-center"},S6={class:"max-w-[8rem] text-left text-[12px] uppercase text-white sm:max-w-none sm:text-sm"},x6={class:"footer-institutional-links text-brand-primary my-5 mb-20 flex list-none flex-wrap items-center justify-center gap-2 text-sm font-semibold xl:mb-10","aria-label":"Links institucionais"},k6=["href","title"],E6=["href","title"],Qu="casino:login-session-start-at",C6=Ae({__name:"Index",setup(e){const{getCloudflareImage:t}=jc(),n=Ze(),o=at(),r=jt(),s=U(Date.now()),a=U(null);let i=null;const l=U(!1);function c(X){if(typeof X!="string"||X.trim().length===0)return null;const F=new Date(X);return Number.isNaN(F.getTime())?null:F}function u(X){const F=c(X);return F?F.toLocaleDateString("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}):""}function d(){if(!Nt)return null;try{const X=window.sessionStorage.getItem(Qu),F=Number(X);return!Number.isFinite(F)||F<=0?null:F}catch{return null}}function f(X){if(Nt)try{window.sessionStorage.setItem(Qu,String(X))}catch{}}function m(){if(Nt)try{window.sessionStorage.removeItem(Qu)}catch{}}function p(){const X=d(),F=Date.now(),j=X&&X<=F?X:F;s.value=F,a.value=j,f(j)}function h(X){return String(X).padStart(2,"0")}function v(X,F){if(!X)return"";const j=F-X;if(!Number.isFinite(j))return"";const W=Math.max(0,j),fe=Math.floor(W/1e3),Me=Math.floor(fe/3600),Ke=Math.floor(fe%3600/60),Oe=fe%60;return`${h(Me)}h ${h(Ke)}m ${h(Oe)}s`}const y=A(()=>o.hasUser),k=A(()=>typeof o.profile?.name=="string"?o.profile.name.trim():""),_=A(()=>o.profile?.last_real_login_at||o.profile?.last_login_at||""),g=A(()=>u(_.value)),b=A(()=>v(a.value,s.value));ut(()=>{Nt&&(l.value=!0,y.value&&p(),i=setInterval(()=>{s.value=Date.now()},1e3))}),gt(()=>{i&&clearInterval(i),i=null}),le(()=>y.value,X=>{if(Nt){if(X){p();return}a.value=null,m()}});const S=A(()=>!!n.business.features_comprovabet),E=A(()=>[{key:"general_social_telegram",icon:"fa6-brands:telegram",label:"Telegram"},{key:"general_social_youtube",icon:"fa6-brands:youtube",label:"YouTube"},{key:"general_social_instagram",icon:"fa6-brands:instagram",label:"Instagram"},{key:"general_social_facebook",icon:"fa6-brands:square-facebook",label:"Facebook"},{key:"general_social_twitter",icon:"fa6-brands:x-twitter",label:"X (Twitter)"},{key:"general_social_tiktok",icon:"fa6-brands:tiktok",label:"TikTok"}].map(F=>{const j=n.business[F.key];return{url:typeof j=="string"?j:null,icon:F.icon,label:F.label}}).filter(F=>F.url!==null&&F.url!=="#"&&F.url.toLowerCase()!=="null"));function O(X){if(X==null||X==="")return wn;if(typeof X=="string"){const F=ps(X);return Wr[F]?F:wn}if(typeof X=="object"&&X!==null&&"code"in X){const F=X.code;if(typeof F=="string"&&F.length>0){const j=ps(F);return Wr[j]?j:wn}}return wn}const R=A({get:()=>Ka(),set:X=>{w$(O(X))}}),L=A(()=>{const X=Wr[wn],F=n.business.house_languages,j=Array.isArray(F)?F.filter(W=>typeof W=="string").filter(W=>W!==wn).map(W=>Wr[W]).filter(W=>W!==void 0):[];return X===void 0?j:[X,...j]}),D=A(()=>{const X=O(R.value);return L.value.find(F=>F.code===X)??Wr[X]}),I=xA(),V=A(()=>{const X=I.seoValues.html;return typeof X!="string"?"":X.trim()}),Y=U(!1);le(()=>V.value,()=>{Y.value=!1});const H=U([]),N=A(()=>H.value.length>0);Nt&&Ye.get("/api/stamps").then(X=>H.value=X.data);const J=A(()=>r.path==="/"),Q=A(()=>{const X=n.business.footer_disclaimer_content??"",F=X?.replace(/<[^>]*>/g,"").replace(/ /g,"").trim()||"",j=n.business.footer_disclaimer_image,W=(typeof j=="string"?j.trim().toLowerCase():"")||"";return{content:X,hasContent:F.length>0,image:W==="loterj"?"/footer/loterj.png":"/footer/autorizado.png",imageAlt:W==="loterj"?"LOTERJ":`${T("footer.stamps.authorized-by")} Ministério da Fazenda`,class:W&&W!=="none"?"text-start":"text-center"}});return(X,F)=>{const j=Tn("router-link");return B(),ge(e5,{class:"app-footer !bg-brand-footer !border-brand-separator w-full min-w-0 select-none border-t border-solid !p-0"},{default:q(()=>[w("div",t5,[x(il,null,{default:q(()=>[y.value||k.value||g.value?(B(),oe("div",n5,[w("div",o5,[k.value?(B(),oe("p",r5,[ye(z(C(T)("common.hello"))+", ",1),w("b",s5,z(k.value),1)])):he("",!0),g.value||l.value&&b.value?(B(),oe("p",a5,[b.value?(B(),oe(xe,{key:0},[ye(z(C(T)("footer.user.logged-time"))+": ",1),w("b",i5,z(b.value),1)],64)):he("",!0),b.value&&g.value?(B(),oe("span",l5,"|")):he("",!0),g.value?(B(),oe(xe,{key:2},[ye(z(C(T)("footer.user.last-login"))+": ",1),w("b",null,z(g.value),1)],64)):he("",!0)])):he("",!0)])])):he("",!0)]),_:1}),w("div",c5,[w("div",u5,[w("img",{src:C(n).business.general_logo,alt:C(n).business.general_site_title,class:"mb-4 w-44"},null,8,d5),w("div",f5,[w("div",m5,[(B(!0),oe(xe,null,Wt(E.value,W=>(B(),oe("a",{key:W.label,href:W.url,target:"_blank","aria-label":`${C(T)("common.access")} ${W.label}`,title:`${C(T)("common.access")} ${W.label}`,class:"bg-brand-background hover:bg-brand-primary/30 flex cursor-pointer items-center rounded-md p-2 transition-all"},[x(_e,{icon:W.icon,color:"white",size:"x-small"},null,8,["icon"])],8,p5))),128))])])]),F[3]||(F[3]=w("hr",{class:"border-brand-background my-3 hidden xl:order-2 xl:hidden"},null,-1)),w("div",v5,[w("div",h5,[w("h2",g5,z(C(T)("footer.menu.betting.title")),1),w("ul",b5,[w("li",y5,[x(j,{to:"/sports",title:C(T)("footer.menu.betting.sports-betting")},{default:q(()=>[ye(z(C(T)("footer.menu.betting.sports-betting")),1)]),_:1},8,["title"])]),w("li",_5,[x(j,{to:"/sports/live",title:C(T)("footer.menu.betting.live-sports")},{default:q(()=>[ye(z(C(T)("footer.menu.betting.live-sports")),1)]),_:1},8,["title"])]),w("li",w5,[x(j,{to:"/casino/slots",title:C(T)("footer.menu.betting.slots")},{default:q(()=>[ye(z(C(T)("footer.menu.betting.slots")),1)]),_:1},8,["title"])]),w("li",S5,[x(j,{to:"/casino/live",title:C(T)("footer.menu.betting.live-casino")},{default:q(()=>[ye(z(C(T)("footer.menu.betting.live-casino")),1)]),_:1},8,["title"])])])]),w("div",x5,[w("h2",k5,z(C(T)("footer.menu.community.title")),1),w("ul",E5,[w("li",C5,[x(j,{to:"/promotions",title:C(T)("footer.menu.community.promotions")},{default:q(()=>[ye(z(C(T)("footer.menu.community.promotions")),1)]),_:1},8,["title"])]),S.value?(B(),oe("li",A5,[x(j,{to:"/annual-statement",title:C(T)("footer.menu.community.annual-statement")},{default:q(()=>[ye(z(C(T)("footer.menu.community.annual-statement")),1)]),_:1},8,["title"])])):he("",!0),w("li",T5,[x(j,{to:"/",title:C(T)("footer.menu.community.blog")},{default:q(()=>[ye(z(C(T)("footer.menu.community.blog")),1)]),_:1},8,["title"])]),w("li",P5,[x(j,{to:"/suport",title:C(T)("footer.menu.community.help-center")},{default:q(()=>[ye(z(C(T)("footer.menu.community.help-center")),1)]),_:1},8,["title"])]),w("li",I5,[x(j,{to:"/suport",title:C(T)("footer.menu.community.support-channels")},{default:q(()=>[ye(z(C(T)("footer.menu.community.support-channels")),1)]),_:1},8,["title"])]),w("li",R5,[x(j,{to:"/",title:C(T)("footer.menu.community.mobile-app")},{default:q(()=>[ye(z(C(T)("footer.menu.community.mobile-app")),1)]),_:1},8,["title"])]),w("li",O5,[w("a",{href:C(n).business.general_social_telegram,target:"_blank",rel:"noopener noreferrer",title:C(T)("footer.menu.community.telegram")},z(C(T)("footer.menu.community.telegram")),9,$5)])])]),w("div",L5,[w("h2",D5,z(C(T)("footer.menu.rules.title")),1),w("ul",V5,[w("li",M5,[x(j,{to:"/betting-terms"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.betting-terms")),1)]),_:1})]),w("li",B5,[x(j,{to:"/rules-betting"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.rules-betting")),1)]),_:1})]),w("li",N5,[x(j,{to:"/terms-and-conditions"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.terms-and-conditions")),1)]),_:1})]),w("li",F5,[x(j,{to:"/privacy-policy"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.privacy-policy")),1)]),_:1})]),w("li",j5,[x(j,{to:"/cookies-policy"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.cookies-policy")),1)]),_:1})]),w("li",U5,[x(j,{to:"/pld-ft-policy"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.pld-ft-policy")),1)]),_:1})]),w("li",z5,[x(j,{to:"/funds-and-transactions-policy"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.funds-and-transactions-policy")),1)]),_:1})]),w("li",H5,[x(j,{to:"/responsible-gaming"},{default:q(()=>[ye(z(C(T)("footer.menu.rules.responsible-gaming")),1)]),_:1})]),w("li",K5,[w("a",{to:"https://gov.br/autoexclusaoapostas",target:"_blank",rel:"noopener noreferrer",title:C(T)("footer.menu.rules.autoexclusao-centralizada")},z(C(T)("footer.menu.rules.autoexclusao-centralizada")),9,W5)])])]),w("div",q5,[w("div",null,[w("h2",G5,z(C(T)("footer.menu.useful-links.title")),1),x(j,{to:"/suport",title:"Contate-nos",class:"group mt-3 inline-flex w-fit no-underline"},{default:q(()=>[w("div",Y5,[x(_e,{icon:"material-symbols:android-messages",class:"text-brand-primary",size:"x-small"}),w("p",J5,z(C(T)("footer.menu.useful-links.contact-us")),1)])]),_:1})]),w("div",X5,[w("h2",Z5,z(C(T)("footer.menu.useful-links.payment")),1),F[2]||(F[2]=w("img",{src:MH,class:"w-20",alt:"Pix",title:"Pix"},null,-1))]),w("div",Q5,[w("h2",e6,z(C(T)("footer.menu.useful-links.language")),1),x(il,null,{default:q(()=>[w("div",t6,[x(lf,{modelValue:R.value,"onUpdate:modelValue":F[0]||(F[0]=W=>R.value=W),class:"app-footer__locale-select",items:L.value,"item-title":"name","item-value":"code",density:"compact","hide-details":"","menu-props":{contentClass:"app-footer__locale-menu"},"list-props":{density:"compact",class:"app-footer__locale-list"}},{item:q(({props:W,item:fe})=>[fe?(B(),ge(_t,ke({key:0},W,{class:"app-footer__locale-option"}),{prepend:q(()=>[w("img",{src:fe.flag,alt:fe.name,class:"me-2 size-3.5 shrink-0 rounded-sm object-cover",width:"14",height:"14",loading:"lazy"},null,8,n6)]),_:2},1040)):he("",!0)]),selection:q(()=>[D.value?(B(),oe("span",{key:D.value.code,class:"flex min-w-0 items-center gap-1.5"},[w("img",{src:D.value.flag,alt:D.value.name,class:"size-3.5 shrink-0 rounded-sm object-cover",width:"14",height:"14"},null,8,o6),w("span",r6,z(D.value.name),1)])):he("",!0)]),_:1},8,["modelValue","items"])])]),_:1})])])])]),x(il,null,{default:q(()=>[N.value?(B(),oe(xe,{key:0},[F[4]||(F[4]=w("hr",{class:"border-brand-background mx-10 my-4 xl:mx-44"},null,-1)),w("div",s6,[(B(!0),oe(xe,null,Wt(H.value,W=>(B(),oe("div",{key:W.id,class:"md:border-brand-background flex min-w-0 flex-col px-16 text-center md:border-r md:px-6 md:first:pl-0 md:last:border-r-0 md:last:pr-0"},[w("h3",a6,z(W.title),1),w("p",i6,z(W.subtitle),1),w("ul",{class:"flex flex-wrap justify-center gap-4 py-2 xl:flex-nowrap","aria-label":C(T)("footer.stamps.title")},[(B(!0),oe(xe,null,Wt(W.stamps,fe=>(B(),oe("li",{key:fe.id},[w("img",{src:C(t)(fe.image_cf),alt:`${C(T)("footer.stamps.stamp")} ${W.title||W.subtitle||C(T)("footer.stamps.institutional")}`,title:`${C(T)("footer.stamps.stamp")} ${W.title||W.subtitle||C(T)("footer.stamps.institutional")}`,class:"max-h-24 max-w-24 transition-all duration-300 hover:opacity-70"},null,8,c6)]))),128))],8,l6)]))),128))])],64)):he("",!0)]),_:1}),J.value&&V.value?(B(),oe(xe,{key:0},[F[5]||(F[5]=w("hr",{class:"border-brand-background mx-10 my-4 xl:mx-44"},null,-1)),w("div",u6,[w("div",d6,[w("article",{class:te(["w-full overflow-hidden text-center text-xs text-gray-500 transition-all",Y.value?"max-h-[28rem]":"max-h-16"]),innerHTML:V.value},null,10,f6),Y.value?he("",!0):(B(),oe("div",m6))]),w("button",{type:"button",class:"mt-2 !text-xs text-white/80",onClick:F[1]||(F[1]=W=>Y.value=!Y.value)},z(Y.value?C(T)("buttons.see-less"):C(T)("buttons.see-more")),1)])],64)):he("",!0),Q.value.hasContent?(B(),oe(xe,{key:1},[F[6]||(F[6]=w("hr",{class:"border-brand-background mx-10 my-4 xl:mx-44"},null,-1)),w("div",p6,[w("div",{class:"text-xs font-medium text-gray-500",innerHTML:Q.value.content},null,8,v6),w("img",{src:Q.value.image,alt:Q.value.imageAlt,class:"max-h-[80px] w-auto object-contain"},null,8,h6)])],64)):he("",!0),F[11]||(F[11]=w("hr",{class:"border-brand-background mx-10 my-4 xl:mx-44"},null,-1)),w("ul",g6,[w("li",b6,[w("a",y6,[w("img",{src:BH,alt:`${C(T)("footer.stamps.verified-by")} Reclame Aqui`,class:"h-10 max-w-full"},null,8,_6)])]),F[8]||(F[8]=w("li",{class:"flex shrink-0 items-center"},[w("a",{href:"#",target:"_blank",rel:"noopener noreferrer",class:"transition duration-200 hover:opacity-75",title:"BeGambleAware"},[w("img",{src:NH,alt:"BeGambleAware",class:"h-10 max-w-full"})])],-1)),F[9]||(F[9]=w("li",{class:"flex shrink-0 items-center"},[w("a",{href:"https://www.gamblingtherapy.org/pt-br/",target:"_blank",rel:"noopener noreferrer",class:"transition duration-200 hover:opacity-75",title:"Gambling Therapy"},[w("img",{src:FH,alt:"Gambling Therapy",class:"h-10 max-w-[4rem]"})])],-1)),w("li",w6,[x(j,{to:"/responsible",class:"flex max-w-full items-center gap-2 transition duration-200 hover:opacity-75 sm:gap-3",title:"Jogue com responsabilidade"},{default:q(()=>[F[7]||(F[7]=w("span",{class:"border-brand-primary flex h-14 w-14 shrink-0 items-center justify-center rounded-full border-4 bg-black text-xs text-white sm:text-sm"},"18+",-1)),w("span",S6,z(C(T)("footer.stamps.play-responsibly")),1)]),_:1})]),F[10]||(F[10]=w("li",{class:"flex shrink-0 items-center"},[w("a",{href:"https://ibia.bet/who-we-are/",target:"_blank",rel:"noopener noreferrer",class:"transition duration-200 hover:opacity-75",title:"International Betting Integrity Association"},[w("img",{src:jH,alt:"International Betting Integrity Association",class:"max-h-24 max-w-24"})])],-1))]),w("ul",x6,[w("li",null,[w("a",{href:C(n).business.footer_link_ombudsman,target:"_blank",rel:"noopener noreferrer",class:"hover:underline",title:C(T)("footer.institutional-links.ombudsman")},z(C(T)("footer.institutional-links.ombudsman")),9,k6)]),w("li",null,[w("a",{href:C(n).business.footer_link_whistleblower,target:"_blank",rel:"noopener noreferrer",class:"hover:underline",title:C(T)("footer.institutional-links.whistleblower")},z(C(T)("footer.institutional-links.whistleblower")),9,E6)]),w("li",null,[x(j,{to:"/privacy-policy",class:"hover:underline",title:C(T)("footer.institutional-links.privacy")},{default:q(()=>[ye(z(C(T)("footer.institutional-links.privacy")),1)]),_:1},8,["title"])])])])]),_:1})}}}),A6=Qe(C6,[["__scopeId","data-v-e0a4d1e5"]]);function T6(e,t){return t.isActive?t.isActive(e):t.to?e===t.to:!1}const Um=Hn("userAreaMenu",{state:()=>({menuUser:!1}),actions:{userOpen(){this.menuUser=!0},userClose(){this.menuUser=!1},reset(){this.menuUser=!1}}}),P6={class:"flex items-center gap-3"},I6=["href","aria-label"],R6={class:"flex items-center gap-3"},O6=["aria-label"],$6={class:"flex items-center gap-3"},L6=Ae({name:"UserAreaSideMenuItem",__name:"Item",props:{item:{}},setup(e){const t=e,n=jt(),o=Um(),r=A(()=>!!(t.item.external||t.item.to&&/^https?:\/\//.test(t.item.to))),s=A(()=>!!(t.item.to&&!r.value)),a=A(()=>!r.value&&T6(n.path,t.item)),i=A(()=>t.item.variant??"default"),l=A(()=>T("userArea.sideMenu.item.aria").replace("{label}",T(t.item.labelKey))),c=A(()=>["flex h-20 cursor-pointer items-center justify-between rounded-md px-4 text-sm font-medium transition-all",d(i.value,a.value)]);function u(){t.item.opensContentOnMobile&&o.userOpen(),t.item.action?.()}function d(f,m){return f==="attention"?m?"bg-red-500 text-white hover:bg-red-500/90":"bg-red-500/20 text-red-100 hover:bg-red-500/30":m?"bg-brand-primary text-on-primary hover:brightness-110":"bg-brand-card text-on-surface hover:brightness-110"}return(f,m)=>{const p=Tn("router-link");return s.value?(B(),ge(p,{key:0,to:e.item.to,class:te(c.value),"aria-label":l.value,"aria-current":a.value?"page":void 0,onClick:u},{default:q(()=>[w("div",P6,[x(_e,{icon:e.item.icon,size:"32"},null,8,["icon"]),w("span",null,z(C(T)(e.item.labelKey)),1)]),x(_e,{icon:"fa6-solid:chevron-right",size:"10"})]),_:1},8,["to","class","aria-label","aria-current"])):r.value?(B(),oe("a",{key:1,href:e.item.to,target:"_blank",rel:"noopener noreferrer",class:te(c.value),"aria-label":l.value,onClick:u},[w("div",R6,[x(_e,{icon:e.item.icon,size:"32"},null,8,["icon"]),w("span",null,z(C(T)(e.item.labelKey)),1)]),x(_e,{icon:"fa6-solid:chevron-right",size:"10"})],10,I6)):(B(),oe("button",{key:2,type:"button",class:te(c.value),"aria-label":l.value,onClick:u},[w("div",$6,[x(_e,{icon:e.item.icon,size:"32"},null,8,["icon"]),w("span",null,z(C(T)(e.item.labelKey)),1)]),x(_e,{icon:"fa6-solid:chevron-right",size:"10"})],10,O6))}}}),D6=["aria-label"],V6=Ae({__name:"Index",props:{items:{},baseRoute:{}},setup(e){const t=e,n=jt(),o=Um(),r=A(()=>t.baseRoute.startsWith("/user/gamification")),s=A(()=>t.baseRoute.startsWith("/user/protection")),a=A(()=>n.path===t.baseRoute),i=A(()=>r.value||s.value||o.menuUser?!1:a.value),l=A(()=>r.value||s.value?"hidden md:flex":i.value?"flex":"hidden md:flex");return(c,u)=>{const d=L6;return B(),oe("nav",{"aria-label":C(T)("userArea.sideMenu.aria"),class:te(["flex w-full flex-col gap-2 sm:gap-3 md:sticky md:top-4 md:min-w-72 md:max-w-72",l.value])},[(B(!0),oe(xe,null,Wt(e.items,f=>(B(),ge(d,{key:f.id,item:f,class:"transition-all"},null,8,["item"]))),128))],10,D6)}}});function M6(e){return 1-(1-e)**4}function bg(e){return Math.max(0,e.scrollWidth-e.clientWidth)}function yg(e,t){return e<=0?0:t*(1-Math.exp(-e/(t*.45)))}function B6(e,t={}){const{multiplier:n=1,threshold:o=3,onScroll:r,momentum:s=!0,rubberBandLimit:a=72}=t,i=U(!1),l=U(!1),c=U(!1);let u=0,d=0,f=0,m=null,p=null,h=0,v=0,y=0;function k(){p!==null&&(cancelAnimationFrame(p),p=null),l.value=!1}function _(H,N){if(Math.abs(N)<.5){H.style.transform="";return}H.style.transform=`translateX(${N}px)`}function g(H){f=0,H.style.transform=""}function b(H,N,J,Q,X){if(k(),Math.abs(N-H)<.5){Q(N),X?.();return}const F=performance.now();l.value=!0;function j(W){if(!e.value){k();return}const Me=Math.min(1,(W-F)/J);if(Q(H+(N-H)*M6(Me)),r?.(),Me<1){p=requestAnimationFrame(j);return}p=null,l.value=!1,X?.()}p=requestAnimationFrame(j)}function S(H){const N=e.value;if(!N||!s)return;g(N);const J=bg(N),Q=H*480,X=N.scrollLeft;let F=X+Q;if(F=Math.max(0,Math.min(J,F)),Math.abs(F-X)<1)return;const j=Math.min(1800,Math.max(680,Math.abs(Q)*1.6));b(X,F,j,W=>{N.scrollLeft=W},()=>{N.scrollLeft=Math.max(0,Math.min(J,N.scrollLeft)),r?.()})}function E(){const H=e.value;if(!H)return;const N=f;if(Math.abs(N)<.5){g(H);return}const J=Math.min(950,Math.max(560,Math.abs(N)*8));b(N,0,J,Q=>{f=Q,_(H,Q)},()=>{g(H),r?.()})}function O(H,N){const J=bg(H);if(N<0){H.scrollLeft=0,f=yg(-N,a),_(H,f);return}if(N>J){H.scrollLeft=J,f=-yg(N-J,a),_(H,f);return}H.scrollLeft=N,g(H)}function R(H){const N=e.value;if(!i.value||!N)return;const J=performance.now(),Q=J-v;Q>0&&Q<100&&(y=(h-H.pageX)/Q*n),h=H.pageX,v=J;const X=(u-H.pageX)*n;Math.abs(X)>o&&(c.value||(c.value=!0,H.preventDefault())),O(N,d+X),r?.()}function L(){const H=e.value;if(i.value){if(c.value&&H){const N=J=>{J.preventDefault(),J.stopImmediatePropagation(),H.removeEventListener("click",N,!0)};H.addEventListener("click",N,!0),Math.abs(f)>.5?E():s&&Math.abs(y)>.05&&S(y)}i.value=!1,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L)}}function D(H){const N=e.value;!N||H.button!==0||(k(),g(N),i.value=!0,c.value=!1,y=0,u=H.pageX,d=N.scrollLeft,h=H.pageX,v=performance.now(),document.addEventListener("mousemove",R),document.addEventListener("mouseup",L))}function I(H){H.preventDefault()}function V(){Y();const H=e.value;H&&(m=H,H.addEventListener("mousedown",D),H.addEventListener("dragstart",I))}function Y(){k(),m&&g(m),m?.removeEventListener("mousedown",D),m?.removeEventListener("dragstart",I),m=null,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L),i.value=!1}return gt(Y),{isDragging:i,isAnimating:l,didDrag:c,bind:V,unbind:Y}}function fa(e,t="px"){if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function _g(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function ed(e,t){return t.every(n=>e.hasOwnProperty(n))}function N6(e,t){const n={};for(const o of t)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function wg(e,t,n="0"){return e+n.repeat(Math.max(0,t-e.length))}function F6(e,t=1){const n=[];let o=0;for(;ot.type===xe?EA(t.children):t).flat()}function ss(e=""){if(ss.cache.has(e))return ss.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ss.cache.set(e,t),t}ss.cache=new Map;function CA(e){const t=vt({});xt(()=>{const o=e();for(const r in o)t[r]=o[r]},{flush:"sync"});const n={};for(const o in t)n[o]=K(()=>t[o]);return n}function j6(e,t){return e.includes(t)}const Fr=2.4,Sg=.2126729,xg=.7151522,kg=.072175,U6=.55,z6=.58,H6=.57,K6=.62,zi=.03,Eg=1.45,W6=5e-4,q6=1.25,G6=1.25,Cg=.078,Ag=12.82051282051282,Hi=.06,Tg=.001;function Pg(e,t){const n=(e.r/255)**Fr,o=(e.g/255)**Fr,r=(e.b/255)**Fr,s=(t.r/255)**Fr,a=(t.g/255)**Fr,i=(t.b/255)**Fr;let l=n*Sg+o*xg+r*kg,c=s*Sg+a*xg+i*kg;if(l<=zi&&(l+=(zi-l)**Eg),c<=zi&&(c+=(zi-c)**Eg),Math.abs(c-l)l){const d=(c**U6-l**z6)*q6;u=d-Tg?0:d>-Cg?d-d*Ag*Hi:d+Hi}return u*100}function cf(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function Y6(e){return cf(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Ig=/^(?(?:rgb|hsl)a?)\((?.+)\)/,J6={rgb:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),rgba:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),hsl:(e,t,n,o)=>Rg({h:e,s:t,l:n,a:o}),hsla:(e,t,n,o)=>Rg({h:e,s:t,l:n,a:o}),hsv:(e,t,n,o)=>$a({h:e,s:t,v:n,a:o}),hsva:(e,t,n,o)=>$a({h:e,s:t,v:n,a:o})};function Zs(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Ig.test(e)){const{groups:t}=e.match(Ig),{fn:n,values:o}=t,r=o.split(/,\s*|\s*\/\s*|\s+/).map((s,a)=>s.endsWith("%")||a>0&&a<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return J6[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),X6(t)}else if(typeof e=="object"){if(ed(e,["r","g","b"]))return e;if(ed(e,["h","s","l"]))return $a(AA(e));if(ed(e,["h","s","v"]))return $a(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function $a(e){const{h:t,s:n,v:o,a:r}=e,s=i=>{const l=(i+t/60)%6;return o-o*n*Math.max(Math.min(l,4-l,1),0)},a=[s(5),s(3),s(1)].map(i=>Math.round(i*255));return{r:a[0],g:a[1],b:a[2],a:r}}function Rg(e){return $a(AA(e))}function AA(e){const{h:t,s:n,l:o,a:r}=e,s=o+n*Math.min(o,1-o),a=s===0?0:2-2*o/s;return{h:t,s:a,v:s,a:r}}function X6(e){e=Z6(e);let[t,n,o,r]=F6(e,2).map(s=>parseInt(s,16));return r=r===void 0?r:r/255,{r:t,g:n,b:o,a:r}}function Z6(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=wg(wg(e,6),8,"F")),e}function Q6(e){const t=Math.abs(Pg(Zs(0),Zs(e)));return Math.abs(Pg(Zs(16777215),Zs(e)))>Math.min(t,50)}function $r(e,t){return n=>Object.keys(e).reduce((o,r)=>{const a=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?o[r]={...a,default:n[r]}:o[r]=a,t&&!o[r].source&&(o[r].source=t),o},{})}const e8=$r({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function mi(e,t){const n=zn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function t8(e="composables"){const t=mi(e).type;return ss(t?.aliasName||t?.name)}function n8(e,t=mi("injectSelf")){const{provides:n}=t;if(n&&e in n)return n[e]}const uf=Symbol.for("vuetify:defaults");function TA(){const e=Ue(uf);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function o8(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[ss(t)]<"u")}function r8(e={},t,n=TA()){const o=mi("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=A(()=>n.value?.[e._as??t]),s=new Proxy(e,{get(l,c){const u=Reflect.get(l,c);if(c==="class"||c==="style")return[r.value?.[c],u].filter(m=>m!=null);if(o8(o.vnode,c))return u;const d=r.value?.[c];if(d!==void 0)return d;const f=n.value?.global?.[c];return f!==void 0?f:u}}),a=pe();xt(()=>{if(r.value){const l=Object.entries(r.value).filter(([c])=>c.startsWith(c[0].toUpperCase()));a.value=l.length?Object.fromEntries(l):void 0}else a.value=void 0});function i(){const l=n8(uf,o);yt(uf,A(()=>a.value?kA(l?.value??{},a.value):l?.value))}return{props:s,provideSubDefaults:i}}function Kc(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=$r(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return N6(o,t)},e.props._as=String,e.setup=function(o,r){const s=TA();if(!s.value)return e._setup(o,r);const{props:a,provideSubDefaults:i}=r8(o,o._as??e.name,s),l=e._setup(a,r);return i(),l}}return e}function PA(e=!0){return t=>(e?Kc:Ae)(t)}function s8(e){const t=mi("useRender");t.render=e}function a8(e){return CA(()=>{const{class:t,style:n}=c8(e);return{colorClasses:t,colorStyles:n}})}function i8(e){const{colorClasses:t,colorStyles:n}=a8(()=>({text:it(e)}));return{textColorClasses:t,textColorStyles:n}}function l8(e){return{text:typeof e.text=="string"?e.text.replace(/^text-/,""):e.text,background:typeof e.background=="string"?e.background.replace(/^bg-/,""):e.background}}function c8(e){const t=l8(it(e)),n=[],o={};if(t.background)if(cf(t.background)){if(o.backgroundColor=t.background,!t.text&&Y6(t.background)){const r=Zs(t.background);(r.a==null||r.a===1)&&n.push(Q6(r)?"v-theme-on-dark":"v-theme-on-light")}}else n.push(`bg-${t.background}`);return t.text&&(cf(t.text)?(o.color=t.text,o.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:o}}const IA=[String,Function,Object,Array],u8=Symbol.for("vuetify:icons"),Wc=$r({icon:{type:IA},tag:{type:[String,Object,Function],required:!0}},"icon"),Og=PA()({name:"VComponentIcon",props:Wc(),setup(e,{slots:t}){return()=>{const n=e.icon;return x(e.tag,null,{default:()=>[e.icon?x(n,null,null):t.default?.()]})}}}),d8=Kc({name:"VSvgIcon",inheritAttrs:!1,props:Wc(),setup(e,{attrs:t}){return()=>x(e.tag,ke(t,{style:null}),{default:()=>[w("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?w("path",{d:n[0],"fill-opacity":n[1]},null):w("path",{d:n},null)):w("path",{d:e.icon},null)])]})}});Kc({name:"VLigatureIcon",props:Wc(),setup(e){return()=>x(e.tag,null,{default:()=>[e.icon]})}});Kc({name:"VClassIcon",props:Wc(),setup(e){return()=>x(e.tag,{class:te(e.icon)},null)}});const f8=e=>{const t=Ue(u8);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:A(()=>{const o=it(e);if(!o)return{component:Og};let r=o;if(typeof r=="string"&&(r=r.trim(),r.startsWith("$")&&(r=t.aliases?.[r.slice(1)])),Array.isArray(r))return{component:d8,icon:r};if(typeof r!="string")return{component:Og,icon:r};const s=Object.keys(t.sets).find(l=>typeof r=="string"&&r.startsWith(`${l}:`)),a=s?r.slice(s.length+1):r;return{component:t.sets[s??t.defaultSet].component,icon:a}})}},m8=["x-small","small","default","large","x-large"],p8=$r({size:{type:[String,Number],default:"default"}},"size");function v8(e,t=t8()){return CA(()=>{const n=e.size;let o,r;return j6(m8,n)?o=`${t}--size-${n}`:n&&(r={width:fa(n),height:fa(n)}),{sizeClasses:o,sizeStyles:r}})}const h8=$r({tag:{type:[String,Object,Function],default:"div"}},"tag"),g8=Symbol.for("vuetify:theme"),b8=$r({theme:String},"theme");function y8(){mi("useTheme");const e=Ue(g8,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}const _8=$r({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:IA,opacity:[String,Number],...e8(),...p8(),...h8({tag:"i"}),...b8()},"VIcon"),Us=PA()({name:"VIcon",props:_8(),setup(e,{attrs:t,slots:n}){const o=pe(),{themeClasses:r}=y8(),{iconData:s}=f8(()=>o.value||e.icon),{sizeClasses:a}=v8(e),{textColorClasses:i,textColorStyles:l}=i8(()=>e.color);return s8(()=>{const c=n.default?.();c&&(o.value=EA(c).filter(d=>d.type===Bo&&d.children&&typeof d.children=="string")[0]?.children);const u=!!(t.onClick||t.onClickOnce);return x(s.value.component,{tag:e.tag,icon:s.value.icon,class:te(["v-icon","notranslate",r.value,a.value,i.value,{"v-icon--clickable":u,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:Ee([{"--v-icon-opacity":e.opacity},a.value?void 0:{fontSize:fa(e.size),height:fa(e.size),width:fa(e.size)},l.value,e.style]),role:u?"button":void 0,"aria-hidden":!u,tabindex:u?e.disabled?-1:0:void 0},{default:()=>[c]})}),{}}}),w8=["aria-label"],S8={key:0,class:"app-carousel__header flex min-h-6 items-center justify-between gap-5"},x8={class:"flex items-center gap-4"},k8={key:0,class:"min-h-4 text-sm font-semibold text-white"},E8={key:1,class:"bg-brand-card h-4 w-44 animate-pulse rounded","aria-hidden":"true"},C8={key:2,class:"hidden items-end gap-1 sm:flex"},A8=["disabled","aria-label","title"],T8=["disabled","aria-label","title"],P8=["disabled","aria-label","title"],I8={key:0,class:"sr-only"},R8=["disabled","aria-label","title"],O8=Ae({__name:"Index",props:{items:{default:()=>[]},ariaLabel:{},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},showArrows:{type:Boolean,default:!0},itemKey:{type:[String,Function],default:"id"},class:{},contentClass:{},itemClass:{},isEmpty:{type:Boolean,default:!1},title:{},buttonLabel:{},buttonLink:{},buttonAriaLabel:{},buttonTitle:{},defaultLoadingCount:{default:6},emptyAriaLabel:{},fallbackAriaLabel:{},prevArrowLabel:{},nextArrowLabel:{},overlayArrows:{type:Boolean},scrollStep:{default:400},hideScrollbar:{type:Boolean,default:!0},dragScroll:{type:Boolean,default:!0},edgeFadeTo:{default:"to-brand-background"},edgeFadeColor:{},snap:{default:"none"}},setup(e,{expose:t}){const n=e,o=A(()=>n.snap!=="none"),r=A(()=>n.snap==="center"?"snap-center":n.snap==="start"?"snap-start":""),s=Vy(),a=U(null),i=U(!1),l=U(!1),c=A(()=>n.dragScroll&&!n.disabled&&!n.loading),u=A(()=>i.value||l.value),{isDragging:d,isAnimating:f,bind:m,unbind:p}=B6(a,{onScroll:H}),h=A(()=>s.item!==void 0||(n.items?.length??0)>0),v=A(()=>n.loading?!0:h.value?(n.items?.length??0)>0:!!s.default),y=A(()=>!!(n.title||n.buttonLabel||n.loading)),k=A(()=>n.loading||!n.buttonLink?.trim()||!n.buttonLabel?.trim()?!1:h.value?(n.items?.length??0)>0:!!s.default),_=A(()=>!!(n.showArrows&&n.overlayArrows&&!n.disabled&&v.value&&!n.loading)),g=A(()=>n.ariaLabel?.trim()||n.title?.trim()||n.fallbackAriaLabel?.trim()||void 0),b=A(()=>n.prevArrowLabel?.trim()||""),S=A(()=>n.nextArrowLabel?.trim()||""),E=A(()=>n.buttonAriaLabel?.trim()||n.buttonLabel?.trim()||""),O=A(()=>n.buttonTitle?.trim()||n.buttonLabel?.trim()||""),R=A(()=>!!n.edgeFadeColor?.trim()),L=A(()=>R.value?"app-carousel__edge-fade app-carousel__edge-fade--left":["bg-gradient-to-l",n.edgeFadeTo]),D=A(()=>R.value?"app-carousel__edge-fade app-carousel__edge-fade--right":["bg-gradient-to-r",n.edgeFadeTo]),I=A(()=>R.value?{"--app-carousel-edge-fade-color":n.edgeFadeColor.trim()}:void 0),V=A(()=>I.value);function Y(F,j){if(typeof n.itemKey=="function")return n.itemKey(F,j);if(F&&typeof F=="object"&&n.itemKey in F){const W=F[n.itemKey];if(typeof W=="string"||typeof W=="number")return W}return j}function H(){const F=a.value;if(!F){i.value=!1,l.value=!1;return}const{scrollLeft:j,scrollWidth:W,clientWidth:fe}=F;i.value=j>1,l.value=j+feH()),J.observe(F)))}function X(){a.value?.removeEventListener("scroll",H),p(),J?.disconnect(),J=null}return ut(()=>{Je(Q),window.addEventListener("resize",H)}),gt(()=>{X(),window.removeEventListener("resize",H)}),le(()=>[n.items?.length,n.loading,n.disabled,n.dragScroll],()=>{Je(()=>{p(),c.value&&m(),H()})}),t({scroll:N,canScrollPrev:i,canScrollNext:l}),(F,j)=>{const W=Tn("router-link");return e.isEmpty?he("",!0):(B(),oe("section",{key:0,class:te(["app-carousel group",n.class]),role:"region","aria-roledescription":"carousel","aria-label":g.value},[y.value?(B(),oe("div",S8,[w("div",x8,[e.title?(B(),oe("h2",k8,z(e.title),1)):e.loading?(B(),oe("span",E8)):he("",!0),e.showArrows&&!e.disabled?(B(),oe("div",C8,[w("button",{type:"button",class:"app-carousel__arrow enabled:hover:text-brand-primary inline-flex h-6 w-6 items-center justify-center rounded-full text-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/85 disabled:cursor-not-allowed disabled:opacity-40",disabled:!i.value,"aria-label":b.value,title:i.value?b.value:void 0,onClick:j[0]||(j[0]=fe=>N("left"))},[x(Us,{icon:"fa6-solid:chevron-left",size:"x-small","aria-hidden":"true"})],8,A8),w("button",{type:"button",class:"app-carousel__arrow enabled:hover:text-brand-primary inline-flex h-6 w-6 items-center justify-center rounded-full text-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/85 disabled:cursor-not-allowed disabled:opacity-40",disabled:!l.value,"aria-label":S.value,title:l.value?S.value:void 0,onClick:j[1]||(j[1]=fe=>N("right"))},[x(Us,{icon:"fa6-solid:chevron-right",size:"x-small","aria-hidden":"true"})],8,T8)])):he("",!0)]),k.value?(B(),ge(W,{key:0,to:e.buttonLink,class:"hover:text-brand-primary inline-flex items-center gap-1 text-xs font-semibold text-gray-400 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/85","aria-label":E.value,title:O.value},{default:q(()=>[ye(z(e.buttonLabel)+" ",1),x(Us,{icon:"fa6-solid:angle-right",size:"x-small","aria-hidden":"true"})]),_:1},8,["to","aria-label","title"])):he("",!0)])):he("",!0),w("div",{class:te(["app-carousel__track relative -ml-4 w-[calc(100%+2rem)] overflow-hidden sm:-ml-6 md:-ml-6 lg:ml-0 lg:w-full",_.value?"lg:flex lg:items-center lg:gap-1":""])},[_.value?(B(),oe("button",{key:0,type:"button",class:"app-carousel__arrow app-carousel__arrow--overlay hidden h-3 w-3 shrink-0 items-center justify-center lg:flex",disabled:!i.value,"aria-label":b.value,title:i.value?b.value:void 0,onClick:j[2]||(j[2]=fe=>N("left"))},[x(Us,{icon:"fa6-solid:chevron-left",size:"x-small",class:"text-inherit","aria-hidden":"true"})],8,P8)):he("",!0),w("div",{class:te(["relative w-full min-w-0 overflow-hidden",_.value?"lg:flex-1":""])},[w("div",{class:te(["pointer-events-none absolute bottom-0 left-0 top-0 z-10 w-10 from-transparent transition-opacity duration-200",[L.value,i.value?"opacity-100":"opacity-0"]]),style:Ee(I.value),"aria-hidden":"true"},null,6),w("div",{class:te(["pointer-events-none absolute bottom-0 right-0 top-0 z-10 w-10 from-transparent transition-opacity duration-200",[D.value,l.value?"opacity-100":"opacity-0"]]),style:Ee(V.value),"aria-hidden":"true"},null,6),w("div",{ref_key:"trackRef",ref:a,class:te(["app-carousel__content flex max-w-screen-xl gap-4 overflow-x-auto overflow-y-hidden pt-3 before:flex before:h-4 before:w-px before:content-[''] after:flex after:h-4 after:w-4 after:content-[''] md:gap-5 before:lg:hidden after:lg:hidden",o.value?"snap-x snap-mandatory scroll-smooth before:snap-none after:snap-none":"",e.hideScrollbar?"app-carousel__content--hide-scrollbar":"",c.value&&u.value?"app-carousel__content--draggable cursor-grab":"",c.value&&(C(d)||C(f))?"cursor-grabbing select-none":"",e.contentClass])},[e.loading?Nn(F.$slots,"loading",{key:0},()=>[(B(!0),oe(xe,null,Wt(e.defaultLoadingCount,fe=>(B(),oe("div",{key:`loading-${fe}`,class:"bg-brand-card h-24 w-32 shrink-0 animate-pulse rounded-md",role:"status","aria-hidden":"true"}))),128))],!0):v.value?h.value?(B(!0),oe(xe,{key:2},Wt(e.items,(fe,Me)=>(B(),oe("div",{key:Y(fe,Me),class:te(["shrink-0",r.value,e.itemClass])},[Nn(F.$slots,"item",{item:fe,index:Me},void 0,!0)],2))),128)):Nn(F.$slots,"default",{key:3,isLoading:e.loading},void 0,!0):Nn(F.$slots,"empty",{key:1},()=>[e.emptyAriaLabel?(B(),oe("span",I8,z(e.emptyAriaLabel),1)):he("",!0)],!0)],2)],2),_.value?(B(),oe("button",{key:1,type:"button",class:"app-carousel__arrow app-carousel__arrow--overlay hidden h-3 w-3 shrink-0 items-center justify-center lg:flex",disabled:!l.value,"aria-label":S.value,title:l.value?S.value:void 0,onClick:j[3]||(j[3]=fe=>N("right"))},[x(Us,{icon:"fa6-solid:chevron-right",size:"x-small",class:"text-inherit","aria-hidden":"true"})],8,R8)):he("",!0)],2)],10,w8))}}}),$8=Qe(O8,[["__scopeId","data-v-a1c136e2"]]);function L8(e){return 1-(1-e)**4}function D8(e){let t=e.parentElement;for(;t;){const{overflowX:n}=getComputedStyle(t);if((n==="auto"||n==="scroll"||n==="overlay")&&t.scrollWidth>t.clientWidth)return t;t=t.parentElement}return null}function V8(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=o.left+o.width/2,s=n.left+n.width/2,a=r-s,i=Math.max(0,e.scrollWidth-e.clientWidth);return Math.max(0,Math.min(i,e.scrollLeft+a))}function M8(e,t={}){const n=D8(e);if(!n)return()=>{};const o=t.duration??1200,r=n.scrollLeft,s=V8(n,e);if(Math.abs(s-r)<1)return()=>{};let a=null,i=!1;const l=performance.now();function c(u){if(i)return;const d=Math.min(1,(u-l)/o);n.scrollLeft=r+(s-r)*L8(d),d<1&&(a=requestAnimationFrame(c))}return a=requestAnimationFrame(c),()=>{i=!0,a!==null&&cancelAnimationFrame(a)}}function qr(e){return e.filter(t=>t.visible!==!1)}const td="",RA="",B8="",$g=!1,N8=15e3;function nd(){const e=typeof window<"u"?window._smartico:void 0;if(!e)return null;if(e.api){const n=e.api;return typeof n.dp!="function"&&typeof e.dp=="function"&&(n.dp=e.dp.bind(e)),n}if(at().hasUser||typeof window<"u"&&window._smartico_user_id!=null)return null;if(typeof e.dp=="function"||typeof e.vapi=="function"||typeof e.showVisitorGame=="function"){const n=e.dp;return{...e,dp:typeof n=="function"?n.bind(e):()=>{}}}return null}const Lg=()=>!!RA;function cr(e){const t=Ze().business;return t.features_enable_smatico===!0&&t[e]===!0}const Co=Hn("smartico",{state:()=>({initialized:!1,readyPromise:null,visitorCache:{}}),getters:{isEnabled(){return Ze().business.features_enable_smatico===!0},isGamificationEnabled:()=>cr("smartico_enable_gamification"),isMissionEnabled:()=>cr("smartico_enable_missions"),isTournamentEnabled:()=>cr("smartico_enable_tournaments"),isMinigameEnabled:()=>cr("smartico_enable_minigames"),isLevelEnabled:()=>cr("smartico_enable_levels"),isStoreEnabled:()=>cr("smartico_enable_shop"),isNotificationsEnabled:()=>cr("smartico_enable_notifications"),isBadgeEnabled(){const e=Ze().business;return this.isEnabled&&e.smartico_enable_badges===!0},isVisitorAccessEnabled(){return this.isEnabled&&Ze().business.smartico_enable_visitors===!0},shouldShowGamificationMenu(){if(!this.isEnabled)return!1;const e=Ze().business;return e.smartico_enable_gamification===!0||e.smartico_enable_missions===!0||e.smartico_enable_tournaments===!0||e.smartico_enable_minigames===!0||e.smartico_enable_levels===!0||e.smartico_enable_shop===!0||e.smartico_enable_notifications===!0||e.smartico_enable_badges===!0}},actions:{setup(){if(!this.initialized&&!(typeof window>"u")&&Lg())if(this.initialized=!0,le(()=>at().profile?.id??null,e=>{window._smartico_user_id=e!=null?String(e):null,window._smartico_language="pt-br"},{immediate:!0}),this.isEnabled||$g)this.ready();else{const e=le(()=>this.isEnabled,t=>{t&&(e(),this.ready())})}},ready(){if(this.readyPromise)return this.readyPromise;if(typeof window>"u"||!Lg()){const e=new Error("Smartico: cannot load SDK (missing window or env)");return this.readyPromise=Promise.reject(e),this.readyPromise}return this.readyPromise=new Promise((e,t)=>{const n=document.querySelector(`script[src="${td}"]`),o=nd();if(n&&o){e(o);return}const r=n??document.createElement("script");r.async=!0,r.src=td,r.addEventListener("load",()=>{const s=window._smartico;if(!s){t(new Error("Smartico: SDK not attached to window after script load"));return}try{s.init(RA,{brand_key:B8})}catch(u){t(u instanceof Error?u:new Error(String(u)));return}const a=nd();if(a){e(a);return}let i=0;const l=50,c=setInterval(()=>{const u=nd();if(u){clearInterval(c),e(u);return}i+=l,i>=N8&&(clearInterval(c),t(new Error("Smartico: SDK init timed out (no usable api/dp/vapi surface)")))},l)},{once:!0}),r.addEventListener("error",()=>{t(new Error(`Smartico: failed to load script ${td}`))},{once:!0}),n||document.head.appendChild(r)}),this.readyPromise},async visitor(e="pt-BR"){await this.ready();const t=this.visitorCache[e];if(t)return t;const n=window._smartico?.vapi?.(e);if(!n)throw new Error("Smartico: Visitor API not available");return this.visitorCache[e]=n,n},async showVisitorGame(e){if(await this.ready(),typeof window._smartico?.showVisitorGame!="function")throw new Error("Smartico: showVisitorGame is not available");window._smartico.showVisitorGame(e)},async openDeepLink(e){if(!this.isEnabled&&!$g)return!1;if(!at().hasUser)return Ge().setModal({name:"login"}),!1;try{return(await this.ready()).dp(e.replace(/^\/+/,"")),!0}catch{return!1}}}});function F8(){const e=Co();return{items:A(()=>{const n=[{id:"profile",labelKey:"userArea.top.profile",icon:"mdi:user",to:"/user/account"},{id:"wallet",labelKey:"userArea.top.wallet",icon:"mingcute:wallet-4-fill",to:"/user/wallet"},{id:"promotions",labelKey:"userArea.top.promotions",icon:"mdi:gift",to:"/user/promotion"},...e.shouldShowGamificationMenu?[{id:"gamification",labelKey:"userArea.top.gamification",icon:"bxs:joystick",to:"/user/gamification"}]:[],{id:"protection",labelKey:"userArea.top.protection",icon:"fa6-solid:shield-heart",to:"/user/protection"}];return qr(n)})}}const j8={class:"leading-tight"},U8=Ae({__name:"Index",setup(e){const t=jt(),{items:n}=F8(),o=A(()=>t.path.startsWith("/user/")),r=new Map;let s=null;function a(u,d){const f=d instanceof Element?d:d?.$el;if(f instanceof HTMLElement){r.set(u,f);return}r.delete(u)}function i(u){return u.filter(f=>f.to&&t.path.startsWith(f.to)).sort((f,m)=>(m.to?.length??0)-(f.to?.length??0))[0]}function l(u){return!u.to||!t.path.startsWith(u.to)?!1:i(n.value)?.id===u.id}async function c(){await Je();const u=i(n.value);if(!u)return;const d=r.get(u.id);d&&(s?.(),s=M8(d,{duration:1200}))}return gt(()=>{s?.()}),ut(()=>{c()}),le(()=>t.path,()=>{c()}),le(()=>n.value.map(u=>u.id).join(","),()=>{c()}),(u,d)=>{const f=Tn("router-link"),m=$8;return o.value?(B(),ge(m,{key:0,class:"relative mx-auto mt-5 w-full max-w-6xl","aria-label":C(T)("userArea.top.carousel-aria"),"fallback-aria-label":C(T)("userArea.top.carousel-aria"),"prev-arrow-label":C(T)("userArea.top.carousel-prev"),"next-arrow-label":C(T)("userArea.top.carousel-next"),items:C(n),"item-key":"id","item-class":"basis-[39%] xs:basis-[43.5%] md:basis-[21.5%] lg:basis-[25%]","show-arrows":"","overlay-arrows":"","content-class":"!pt-0 !gap-3.5 md:!gap-4 lg:px-1"},{item:q(({item:p})=>[w("div",{ref:h=>a(p.id,h),class:"h-full w-full"},[x(f,{to:p.to,draggable:"false",class:te(["flex w-full items-center justify-center gap-2 rounded-md border px-2 py-3.5 text-xs transition-colors duration-200 focus-visible:outline-none lg:text-base",l(p)?"!border-brand-primary bg-brand-card text-brand-primary hover:!border-brand-primary":"bg-brand-background hover:!border-brand-primary hover:bg-brand-card hover:text-brand-primary border-white/10 text-white"]),"aria-current":l(p)?"page":void 0},{default:q(()=>[x(_e,{icon:p.icon,size:"20"},null,8,["icon"]),w("span",j8,z(C(T)(p.labelKey)),1)]),_:2},1032,["to","aria-current","class"])],512)]),_:1},8,["aria-label","fallback-aria-label","prev-arrow-label","next-arrow-label","items"])):he("",!0)}}});function z8(){return[{id:"my-data",labelKey:"userArea.account.myData",icon:"fa6-solid:user",to:"/user/account",opensContentOnMobile:!0},{id:"documents",labelKey:"userArea.account.documents",icon:"fa6-solid:address-card",to:"/user/account/document"},{id:"password",labelKey:"userArea.account.password",icon:"fluent:key-reset-24-filled",to:"/user/account/password"}]}function H8({featuresComprovaBet:e}){return[{id:"transactions",labelKey:"userArea.wallet.transactions",icon:"tdesign:chart-analytics",to:"/user/wallet",opensContentOnMobile:!0},{id:"deposit",labelKey:"userArea.wallet.deposit",icon:"fa6-solid:arrows-down-to-line",to:"/user/wallet/deposit"},{id:"withdraw",labelKey:"userArea.wallet.withdraw",icon:"fa6-solid:arrows-up-to-line",to:"/user/wallet/withdraw"},{id:"comprova-bet",labelKey:"userArea.wallet.comprovaBet",icon:"fa6-solid:file-invoice-dollar",to:"/user/wallet/annual-statement",visible:e}]}function K8(){return[{id:"bonus",labelKey:"userArea.promotion.bonus",icon:"mdi:gift",to:"/user/promotion",opensContentOnMobile:!0},{id:"coupons",labelKey:"userArea.promotion.coupons",icon:"icon-park-solid:ticket",to:"/user/promotion/coupon"},{id:"rewards",labelKey:"userArea.promotion.rewards",icon:"mdi:trophy",to:"/user/promotion/rewards"}]}function W8(){return[{id:"controls",labelKey:"userArea.protection.controls",icon:"subway:equalizer-1",to:"/user/protection",opensContentOnMobile:!0}]}function q8(e){return[{id:"general",labelKey:"userArea.gamification.general",icon:"mdi:view-dashboard",to:"/user/gamification",opensContentOnMobile:!0,visible:e.shouldShowGamificationMenu},{id:"missions",labelKey:"userArea.gamification.missions",icon:"ic:sharp-history-edu",to:"/user/gamification/missions",visible:e.isMissionEnabled},{id:"tournaments",labelKey:"userArea.gamification.tournaments",icon:"material-symbols:trophy-outline-rounded",to:"/user/gamification/tournaments",visible:e.isTournamentEnabled},{id:"mini-games",labelKey:"userArea.gamification.miniGames",icon:"mdi:gamepad-variant",to:"/user/gamification/mini-games",visible:e.isMinigameEnabled},{id:"levels",labelKey:"userArea.gamification.levels",icon:"mingcute:target-line",to:"/user/gamification/niveis",visible:e.isLevelEnabled},{id:"badges",labelKey:"userArea.gamification.badges",icon:"mdi:shield-account",to:"/user/gamification/badges",visible:e.isBadgeEnabled&&e.isAuthenticated},{id:"shop",labelKey:"userArea.gamification.shop",icon:"mdi:store",to:"/user/gamification/shop",visible:e.isStoreEnabled}]}function G8(){const e=jt(),t=Ze(),n=Co(),o=pt(),r=A(()=>qr(z8())),s=A(()=>qr(H8({featuresComprovaBet:!!t.business.features_comprovabet}))),a=A(()=>qr(K8())),i=A(()=>qr(W8())),l=A(()=>qr(q8({shouldShowGamificationMenu:n.shouldShowGamificationMenu,isMissionEnabled:n.isMissionEnabled,isTournamentEnabled:n.isTournamentEnabled,isMinigameEnabled:n.isMinigameEnabled,isLevelEnabled:n.isLevelEnabled,isBadgeEnabled:n.isBadgeEnabled,isStoreEnabled:n.isStoreEnabled,isAuthenticated:o.isAuthenticated}))),c=A(()=>{const u=e.path;return/^\/user\/account(\/.*)?$/.test(u)?{items:r.value,baseRoute:"/user/account"}:/^\/user\/wallet(\/.*)?$/.test(u)?{items:s.value,baseRoute:"/user/wallet"}:/^\/user\/promotion(\/.*)?$/.test(u)?{items:a.value,baseRoute:"/user/promotion"}:/^\/user\/protection(\/.*)?$/.test(u)?{items:i.value,baseRoute:"/user/protection"}:n.shouldShowGamificationMenu&&/^\/user\/gamification(\/.*)?$/.test(u)?{items:l.value,baseRoute:"/user/gamification"}:{items:[],baseRoute:"/user/account"}});return{items:A(()=>c.value.items),baseRoute:A(()=>c.value.baseRoute)}}const Y8=768;function J8(e){return et.meta.userAreaSideMenu!==!1),c=A(()=>i.value.startsWith("/user/gamification")),u=A(()=>t.path==="/user/protection"),d=A(()=>J8(o.value)),f=A(()=>X8(t.path,i.value)),m=A(()=>!l.value||!d.value||c.value||u.value?!1:f.value?!0:t.path===i.value&&s.value),p=A(()=>!l.value||!d.value||c.value||u.value?"":t.path===i.value&&!s.value?"hidden":"");function h(){r.userClose(),t.path!==i.value&&n.push(i.value)}return le(i,(v,y)=>{v!==y&&r.reset()}),(v,y)=>{const k=U8,_=V6;return B(),oe("section",Z8,[x(k),m.value?(B(),oe("button",{key:0,type:"button",class:"flex items-center gap-2 self-start font-bold md:hidden",onClick:h},[x(_e,{icon:"material-symbols:chevron-left",size:"20"}),ye(" "+z(C(T)("userArea.back")),1)])):he("",!0),w("div",Q8,[l.value?(B(),ge(_,{key:0,items:C(a),"base-route":C(i)},null,8,["items","base-route"])):he("",!0),w("div",{class:te(["min-w-0 flex-1",p.value])},[Nn(v.$slots,"default")],2)])])}}}),tK=de({...Ne(),...pn(kH(),["fullHeight"]),...mt()},"VApp"),nK=Ce()({name:"VApp",props:tK(),setup(e,{slots:t}){const n=Tt(e),{layoutClasses:o,getLayoutItem:r,items:s,layoutRef:a}=AH({...e,fullHeight:!0}),{rtlClasses:i}=ao();return De(()=>w("div",{ref:a,class:te(["v-application",n.themeClasses.value,o.value,i.value,e.class]),style:Ee([e.style])},[w("div",{class:"v-application__wrap"},[t.default?.()])])),{getLayoutItem:r,items:s,theme:n}}}),oK=de({text:String,...Ne(),...et()},"VToolbarTitle"),rK=Ce()({name:"VToolbarTitle",props:oK(),setup(e,{slots:t}){return De(()=>{const n=!!(t.default||t.text||e.text);return x(e.tag,{class:te(["v-toolbar-title",e.class]),style:Ee(e.style)},{default:()=>[n&&w("div",{class:"v-toolbar-title__placeholder"},[t.text?t.text():e.text,t.default?.()])]})}),{}}}),sK=[null,"prominent","default","comfortable","compact"],OA=de({absolute:Boolean,collapse:Boolean,collapsePosition:{type:String,default:"start"},color:String,density:{type:String,default:"default",validator:e=>sK.includes(e)},extended:{type:Boolean,default:null},extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Wn(),...Ne(),...In(),...Rr(),...Rt(),...et({tag:"header"}),...mt()},"VToolbar"),Dg=Ce()({name:"VToolbar",props:OA(),setup(e,{slots:t}){const{backgroundColorClasses:n,backgroundColorStyles:o}=Dt(()=>e.color),{borderClasses:r}=qn(e),{elevationClasses:s}=Rn(e),{locationStyles:a}=Or(e),{roundedClasses:i}=Ot(e),{themeClasses:l}=Tt(e),{rtlClasses:c}=ao(),u=pe(e.extended===null?!!t.extension?.():e.extended),d=A(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=A(()=>u.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return so({VBtn:{variant:"text"}}),De(()=>{const m=!!(e.title||t.title),p=!!(t.image||e.image),h=t.extension?.();return u.value=e.extended===null?!!h:e.extended,x(e.tag,{class:te(["v-toolbar",`v-toolbar--collapse-${e.collapsePosition}`,{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},n.value,r.value,s.value,i.value,l.value,c.value,e.class]),style:Ee([o.value,a.value,e.style])},{default:()=>[p&&w("div",{key:"image",class:"v-toolbar__image"},[t.image?x(lt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):x(xc,{key:"image-img",cover:!0,src:e.image},null)]),x(lt,{defaults:{VTabs:{height:Te(d.value)}}},{default:()=>[w("div",{class:"v-toolbar__content",style:{height:Te(d.value)}},[t.prepend&&w("div",{class:"v-toolbar__prepend"},[t.prepend?.()]),m&&x(rK,{key:"title",text:e.title},{text:t.title}),t.default?.(),t.append&&w("div",{class:"v-toolbar__append"},[t.append?.()])])]}),x(lt,{defaults:{VTabs:{height:Te(f.value)}}},{default:()=>[x(kc,null,{default:()=>[u.value&&w("div",{class:"v-toolbar__extension",style:{height:Te(f.value)}},[h])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),aK=de({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function iK(e,t={}){const{canScroll:n,layoutSize:o}=t;let r=0,s=0;const a=U(null),i=pe(0),l=pe(0),c=pe(0),u=pe(!1),d=pe(!1),f=pe(!1),m=pe(!1),p=pe(!0),h=A(()=>Number(e.scrollThreshold)),v=A(()=>An((h.value-i.value)/h.value||0));function y(b){const S="window"in b?window.innerHeight:b.clientHeight,E="window"in b?document.documentElement.scrollHeight:b.scrollHeight;return{clientHeight:S,scrollHeight:E}}function k(){const b=a.value;if(!b)return;const{clientHeight:S,scrollHeight:E}=y(b),O=E-S,R=o?.value||0,L=h.value+R;p.value=O>L}function _(){k()}function g(){const b=a.value;if(!b||n&&!n.value)return;r=i.value,i.value="window"in b?b.pageYOffset:b.scrollTop;const S=b instanceof Window?document.documentElement.scrollHeight:b.scrollHeight;s!==S&&(S>s&&k(),s=S),d.value=i.value=O-5;!d.value&&R&&i.value>=h.value&&p.value&&(m.value=!0);const L=Math.abs(i.value-r)>100,D=i.value<=5;(d.value&&r-i.value>1&&!R||L&&i.value{l.value=l.value||i.value}),le(u,()=>{l.value=0}),ut(()=>{le(()=>e.scrollTarget,b=>{const S=b?document.querySelector(b):window;S&&S!==a.value&&(a.value?.removeEventListener("scroll",g),a.value=S,a.value.addEventListener("scroll",g,{passive:!0}),Promise.resolve().then(()=>{k()}))},{immediate:!0}),window.addEventListener("resize",_,{passive:!0})}),gt(()=>{a.value?.removeEventListener("scroll",g),window.removeEventListener("resize",_)}),n&&le(n,g,{immediate:!0}),{scrollThreshold:h,currentScroll:i,currentThreshold:c,isScrollActive:u,scrollRatio:v,isScrollingUp:d,savedScroll:l,isAtBottom:f,reachedBottomWhileScrollingDown:m,hasEnoughScrollableSpace:p}}const lK=de({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...pn(OA(),["location"]),...zc(),...aK(),height:{type:[Number,String],default:64}},"VAppBar"),cK=Ce()({name:"VAppBar",props:lK(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){const n=U(),o=ht(e,"modelValue"),r=A(()=>{const b=new Set(e.scrollBehavior?.split(" ")??[]);return{hide:b.has("hide"),fullyHide:b.has("fully-hide"),inverted:b.has("inverted"),collapse:b.has("collapse"),elevate:b.has("elevate"),fadeImage:b.has("fade-image")}}),s=A(()=>{const b=r.value;return b.hide||b.fullyHide||b.inverted||b.collapse||b.elevate||b.fadeImage||!o.value}),a=A(()=>{const b=n.value?.contentHeight??0,S=n.value?.extensionHeight??0;return b+S}),{currentScroll:i,scrollThreshold:l,isScrollingUp:c,scrollRatio:u,isAtBottom:d,reachedBottomWhileScrollingDown:f,hasEnoughScrollableSpace:m}=iK(e,{canScroll:s,layoutSize:a}),p=K(()=>r.value.hide||r.value.fullyHide),h=A(()=>e.collapse||r.value.collapse&&(r.value.inverted?u.value>0:u.value===0)),v=A(()=>e.flat||r.value.fullyHide&&!o.value||r.value.elevate&&(r.value.inverted?i.value>0:i.value===0)),y=A(()=>r.value.fadeImage?r.value.inverted?1-u.value:u.value:void 0),k=A(()=>{if(r.value.hide&&r.value.inverted)return 0;const b=n.value?.contentHeight??0,S=n.value?.extensionHeight??0;return p.value?i.value!!e.scrollBehavior,()=>{xt(()=>{if(!p.value){o.value=!0;return}if(r.value.inverted){o.value=i.value>l.value;return}if(!m.value){o.value=!0;return}if(f.value){o.value=!1;return}o.value=c.value&&!d.value||i.valueparseInt(e.order,10)),position:K(()=>e.location),layoutSize:k,elementSize:pe(void 0),active:o,absolute:K(()=>e.absolute)});return De(()=>{const b=pn(Dg.filterProps(e),["location"]);return x(Dg,ke({ref:n,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...g.value,"--v-toolbar-image-opacity":y.value,height:void 0,..._.value},e.style]},b,{collapse:h.value,flat:v.value}),t)}),{}}}),uK=de({divider:[Number,String],...Ne()},"VBreadcrumbsDivider"),dK=Ce()({name:"VBreadcrumbsDivider",props:uK(),setup(e,{slots:t}){return De(()=>w("li",{"aria-hidden":"true",class:te(["v-breadcrumbs-divider",e.class]),style:Ee(e.style)},[t?.default?.()??e.divider])),{}}}),fK=de({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Ne(),...ws(vn(),["width","maxWidth"]),...Qa(),...et({tag:"li"})},"VBreadcrumbsItem"),$A=Ce()({name:"VBreadcrumbsItem",props:fK(),setup(e,{slots:t,attrs:n}){const o=Za(e,n),r=A(()=>e.active||o.isActive?.value),{dimensionStyles:s}=hn(e),{textColorClasses:a,textColorStyles:i}=jn(()=>r.value?e.activeColor:e.color);return De(()=>x(e.tag,{class:te(["v-breadcrumbs-item",{"v-breadcrumbs-item--active":r.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:r.value&&e.activeClass},a.value,e.class]),style:Ee([i.value,s.value,e.style]),"aria-current":r.value?"page":void 0},{default:()=>[o.isLink.value?w("a",ke({class:"v-breadcrumbs-item--link",onClick:o.navigate.value},o.linkProps),[t.default?.()??e.title]):t.default?.()??e.title]})),{}}}),mK=de({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:qe,items:{type:Array,default:()=>[]},...Ne(),...Pn(),...Rt(),...et({tag:"ul"})},"VBreadcrumbs"),pK=Ce()({name:"VBreadcrumbs",props:mK(),setup(e,{slots:t}){const{backgroundColorClasses:n,backgroundColorStyles:o}=Dt(()=>e.bgColor),{densityClasses:r}=Gn(e),{roundedClasses:s}=Ot(e);so({VBreadcrumbsDivider:{divider:K(()=>e.divider)},VBreadcrumbsItem:{activeClass:K(()=>e.activeClass),activeColor:K(()=>e.activeColor),color:K(()=>e.color),disabled:K(()=>e.disabled)}});const a=A(()=>e.items.map(i=>typeof i=="string"?{item:{title:i},raw:i}:{item:i,raw:i}));return De(()=>{const i=!!(t.prepend||e.icon);return x(e.tag,{class:te(["v-breadcrumbs",n.value,r.value,s.value,e.class]),style:Ee([o.value,e.style])},{default:()=>[i&&w("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[t.prepend?x(lt,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},t.prepend):x(_e,{key:"prepend-icon",start:!0,icon:e.icon},null)]),a.value.map(({item:l,raw:c},u,d)=>w(xe,null,[t.item?.({item:l,index:u})??x($A,ke({key:u,disabled:u>=d.length-1},typeof l=="string"?{title:l}:l),{default:t.title?()=>t.title?.({item:l,index:u}):void 0}),ut.divider?.({item:c,index:u}):void 0})])),t.default?.()]})}),{}}}),vK=de({scrollable:Boolean,...Ne(),...vn(),...et({tag:"main"})},"VMain"),hK=Ce()({name:"VMain",props:vK(),setup(e,{slots:t}){const{dimensionStyles:n}=hn(e),{mainStyles:o}=EH(),{ssrBootStyles:r}=fi();return De(()=>x(e.tag,{class:te(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:Ee([o.value,r.value,n.value,e.style])},{default:()=>[e.scrollable?w("div",{class:"v-main__scroller"},[t.default?.()]):t.default?.()]})),{}}});function gK({rootEl:e,isSticky:t,layoutItemStyles:n}){const o=pe(!1),r=pe(0),s=A(()=>{const l=typeof o.value=="boolean"?"top":o.value;return[t.value?{top:"auto",bottom:"auto",height:void 0}:void 0,o.value?{[l]:Te(r.value)}:{top:n.value.top}]});ut(()=>{le(t,l=>{l?window.addEventListener("scroll",i,{passive:!0}):window.removeEventListener("scroll",i)},{immediate:!0})}),gt(()=>{window.removeEventListener("scroll",i)});let a=0;function i(){const l=a>window.scrollY?"up":"down",c=e.value.getBoundingClientRect(),u=parseFloat(n.value.top??0),d=window.scrollY-Math.max(0,r.value-u),f=c.height+Math.max(r.value,u)-window.scrollY-window.innerHeight,m=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;c.height0;n--){if(e[n].t===e[n-1].t)continue;const o=Vg(t),r=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(r-o)*Math.abs(r),n===e.length-1&&(t*=.5)}return Vg(t)*1e3}function _K(){const e={};function t(r){Array.from(r.changedTouches).forEach(s=>{(e[s.identifier]??(e[s.identifier]=new mE(yK))).push([r.timeStamp,s])})}function n(r){Array.from(r.changedTouches).forEach(s=>{delete e[s.identifier]})}function o(r){const s=e[r]?.values().reverse();if(!s)throw new Error(`No samples for touch id ${r}`);const a=s[0],i=[],l=[];for(const c of s){if(a[0]-c[0]>bK)break;i.push({t:c[0],d:c[1].clientX}),l.push({t:c[0],d:c[1].clientY})}return{x:Mg(i),y:Mg(l),get direction(){const{x:c,y:u}=this,[d,f]=[Math.abs(c),Math.abs(u)];return d>f&&c>=0?"right":d>f&&c<=0?"left":f>d&&u>=0?"down":f>d&&u<=0?"up":wK()}}}return{addMovement:t,endTouch:n,getVelocity:o}}function wK(){throw new Error}function SK({el:e,isActive:t,isTemporary:n,width:o,touchless:r,position:s}){ut(()=>{window.addEventListener("touchstart",y,{passive:!0}),window.addEventListener("touchmove",k,{passive:!1}),window.addEventListener("touchend",_,{passive:!0})}),gt(()=>{window.removeEventListener("touchstart",y),window.removeEventListener("touchmove",k),window.removeEventListener("touchend",_)});const a=A(()=>["left","right"].includes(s.value)),{addMovement:i,endTouch:l,getVelocity:c}=_K();let u=!1;const d=pe(!1),f=pe(0),m=pe(0);let p;function h(b,S){return(s.value==="left"?b:s.value==="right"?document.documentElement.clientWidth-b:s.value==="top"?b:s.value==="bottom"?document.documentElement.clientHeight-b:jr())-(S?o.value:0)}function v(b,S=!0){const E=s.value==="left"?(b-m.value)/o.value:s.value==="right"?(document.documentElement.clientWidth-b-m.value)/o.value:s.value==="top"?(b-m.value)/o.value:s.value==="bottom"?(document.documentElement.clientHeight-b-m.value)/o.value:jr();return S?An(E):E}function y(b){if(r.value)return;const S=b.changedTouches[0].clientX,E=b.changedTouches[0].clientY,O=25,R=s.value==="left"?Sdocument.documentElement.clientWidth-O:s.value==="top"?Edocument.documentElement.clientHeight-O:jr(),L=t.value&&(s.value==="left"?Sdocument.documentElement.clientWidth-o.value:s.value==="top"?Edocument.documentElement.clientHeight-o.value:jr());(R||L||t.value&&n.value)&&(p=[S,E],m.value=h(a.value?S:E,t.value),f.value=v(a.value?S:E),u=m.value>-20&&m.value<80,l(b),i(b))}function k(b){const S=b.changedTouches[0].clientX,E=b.changedTouches[0].clientY;if(u){if(!b.cancelable){u=!1;return}const R=Math.abs(S-p[0]),L=Math.abs(E-p[1]);(a.value?R>L&&R>3:L>R&&L>3)?(d.value=!0,u=!1):(a.value?L:R)>3&&(u=!1)}if(!d.value)return;b.preventDefault(),i(b);const O=v(a.value?S:E,!1);f.value=Math.max(0,Math.min(1,O)),O>1?m.value=h(a.value?S:E,!0):O<0&&(m.value=h(a.value?S:E,!1))}function _(b){if(u=!1,!d.value)return;i(b),d.value=!1;const S=c(b.changedTouches[0].identifier),E=Math.abs(S.x),O=Math.abs(S.y);(a.value?E>O&&E>400:O>E&&O>3)?t.value=S.direction===({left:"right",right:"left",top:"down",bottom:"up"}[s.value]||jr()):t.value=f.value>.5}const g=A(()=>d.value?{transform:s.value==="left"?`translateX(calc(-100% + ${f.value*o.value}px))`:s.value==="right"?`translateX(calc(100% - ${f.value*o.value}px))`:s.value==="top"?`translateY(calc(-100% + ${f.value*o.value}px))`:s.value==="bottom"?`translateY(calc(100% - ${f.value*o.value}px))`:jr(),transition:"none"}:void 0);return ln(d,()=>{const b=e.value?.style.transform??null,S=e.value?.style.transition??null;xt(()=>{e.value?.style.setProperty("transform",g.value?.transform||"none"),e.value?.style.setProperty("transition",g.value?.transition||null)}),Ct(()=>{e.value?.style.setProperty("transform",b),e.value?.style.setProperty("transition",S)})}),{isDragging:d,dragProgress:f,dragStyles:g}}function jr(){throw new Error}const xK=["start","end","left","right","top","bottom"],kK=de({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>xK.includes(e)},sticky:Boolean,...Wn(),...Ne(),...qE(),...ZE({mobile:null}),...In(),...zc(),...Rt(),...pn(JE(),["disableInitialFocus"]),...et({tag:"nav"}),...mt()},"VNavigationDrawer"),EK=Ce()({name:"VNavigationDrawer",props:kK(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,{attrs:t,emit:n,slots:o}){const{isRtl:r}=ao(),{themeClasses:s}=Tt(e),{borderClasses:a}=qn(e),{backgroundColorClasses:i,backgroundColorStyles:l}=Dt(()=>e.color),{elevationClasses:c}=Rn(e),{displayClasses:u,mobile:d}=Cs(e),{roundedClasses:f}=Ot(e),m=PE(),p=ht(e,"modelValue",null,X=>!!X),{ssrBootStyles:h}=fi(),{scopeId:v}=Ec(),y=U(),k=pe(!1),{runOpenDelay:_,runCloseDelay:g}=GE(e,X=>{k.value=X}),b=A(()=>e.rail&&e.expandOnHover&&k.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),S=A(()=>Dd(e.location,r.value)),E=K(()=>e.persistent),O=A(()=>!e.permanent&&(d.value||e.temporary)),R=A(()=>e.sticky&&!O.value&&S.value!=="bottom");XE(e,{isActive:p,localTop:O,contentEl:y}),ln(()=>e.expandOnHover&&e.rail!=null,()=>{le(k,X=>n("update:rail",!X))}),ln(()=>!e.disableResizeWatcher,()=>{le(O,X=>!e.permanent&&Je(()=>p.value=!X))}),ln(()=>!e.disableRouteWatcher&&!!m,()=>{le(m.currentRoute,()=>O.value&&(p.value=!1))}),le(()=>e.permanent,X=>{X&&(p.value=!0)}),e.modelValue==null&&!O.value&&(p.value=e.permanent||!d.value);const{isDragging:L,dragProgress:D}=SK({el:y,isActive:p,isTemporary:O,width:b,touchless:K(()=>e.touchless),position:S}),I=A(()=>{const X=O.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):b.value;return L.value?X*D.value:X}),{layoutItemStyles:V,layoutItemScrimStyles:Y}=Hc({id:e.name,order:A(()=>parseInt(e.order,10)),position:S,layoutSize:I,elementSize:b,active:So(p),disableTransitions:K(()=>L.value),absolute:A(()=>e.absolute||R.value&&typeof H.value!="string")}),{isStuck:H,stickyStyles:N}=gK({rootEl:y,isSticky:R,layoutItemStyles:V}),J=Dt(()=>typeof e.scrim=="string"?e.scrim:null),Q=A(()=>({...L.value?{opacity:D.value*.2,transition:"none"}:void 0,...Y.value}));return so({VList:{bgColor:"transparent"}}),De(()=>{const X=o.image||e.image;return w(xe,null,[x(e.tag,ke({ref:y,onMouseenter:_,onMouseleave:g,class:["v-navigation-drawer",`v-navigation-drawer--${S.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":k.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":O.value,"v-navigation-drawer--persistent":E.value,"v-navigation-drawer--active":p.value,"v-navigation-drawer--sticky":R.value},s.value,i.value,a.value,u.value,c.value,f.value,e.class],style:[l.value,V.value,h.value,N.value,e.style],inert:!p.value},v,t),{default:()=>[X&&w("div",{key:"image",class:"v-navigation-drawer__img"},[o.image?x(lt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},o.image):x(xc,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),o.prepend&&w("div",{class:"v-navigation-drawer__prepend"},[o.prepend?.()]),w("div",{class:"v-navigation-drawer__content"},[o.default?.()]),o.append&&w("div",{class:"v-navigation-drawer__append"},[o.append?.()])]}),x(to,{name:"fade-transition"},{default:()=>[O.value&&(L.value||p.value)&&!!e.scrim&&w("div",ke({class:["v-navigation-drawer__scrim",J.backgroundColorClasses.value],style:[Q.value,J.backgroundColorStyles.value],onClick:()=>{E.value||(p.value=!1)}},v),null)]})])}),{isStuck:H}}}),CK={key:0,class:"app-breadcrumb [&_.v-breadcrumbs-divider+_.v-breadcrumbs-item]:mx-[0.05rem] [&_.v-breadcrumbs-divider]:pt-0.5 [&_.v-breadcrumbs-divider]:text-sm [&_.v-breadcrumbs-divider]:font-extralight [&_.v-breadcrumbs-divider]:text-white/70 [&_.v-breadcrumbs-divider]:opacity-90 [&_.v-breadcrumbs-divider]:max-md:text-[0.8125rem] [&_.v-breadcrumbs-item+_.v-breadcrumbs-divider]:mx-[0.05rem]","data-testid":"app-breadcrumb"},AK=Ae({__name:"Index",setup(e){const t=Ge();function n(s){const a=s.trim();return!a||!new RegExp("\\p{L}","u").test(a)?s:new RegExp("\\p{Ll}","u").test(a)?a:a.replace(/\s+/g," ").split(" ").filter(Boolean).map(i=>i.charAt(0).toLocaleUpperCase()+i.slice(1).toLocaleLowerCase()).join(" ")}function o(s){return typeof s.text=="string"&&s.text.trim()!==""?n(s.text):s.textKey?T(s.textKey):s.text??""}const r=A(()=>{const s=(t.breadcrumb??[]).map((a,i,l)=>{const c=typeof a.link=="string"&&a.link.length>0,u=i===l.length-1;return{title:o(a),...c?{to:a.link}:{},disabled:!c||u}});return s.length&&!s[s.length-1].title.trim()?s.slice(0,-1):s});return(s,a)=>r.value.length?(B(),oe("div",CK,[x(C(pK),{class:"inline-flex",items:r.value,divider:">"},{item:q(({item:i})=>[x(C($A),{to:i.to,disabled:i.disabled,title:i.title,"aria-label":i.title,class:te(["!p-0 text-[0.95rem] font-medium tracking-[0.01em] !opacity-100 transition-[color,font-size] duration-300 ease-out max-md:text-[0.8125rem]",i.disabled?"pointer-events-none font-semibold !text-[rgb(var(--v-theme-primary))]":"text-white/[0.72] hover:!text-[rgb(var(--v-theme-primary))]"])},{default:q(()=>[ye(z(i.title),1)]),_:2},1032,["to","disabled","title","aria-label","class"])]),_:1},8,["items"])])):he("",!0)}}),TK=Qe(AK,[["__scopeId","data-v-57e6a18c"]]),PK={class:"text-uppercase ml-4 text-xs"},IK=["title"],RK={class:"text-uppercase ml-4 text-xs"},OK={class:"text-uppercase ml-4 text-xs"},$K=Ae({__name:"StaticButtons",setup(e){const t=ar(),n=A(()=>t.isCollapsed);return(o,r)=>{const s=Tn("router-link");return B(),oe("div",{class:te(["flex flex-col content-between gap-y-4 px-6 pb-6 opacity-90",{"app-sidebar__collapsed-buttons":n.value}])},[x(s,{to:"/suport",class:"hover:text-brand-primary py-1 transition-colors duration-300",title:C(T)("sidebar.support")},{default:q(()=>[x(_e,{icon:"ph:chats-fill",size:"small"}),w("span",PK,z(C(T)("sidebar.support")),1)]),_:1},8,["title"]),w("a",{href:"#",class:"hover:text-brand-primary py-1 transition-colors duration-300",title:C(T)("sidebar.blog")},[x(_e,{icon:"fa6-solid:earth-americas",size:"small"}),w("span",RK,z(C(T)("sidebar.blog")),1)],8,IK),x(s,{to:"/promotions",class:"hover:text-brand-primary py-1 transition-colors duration-300",title:C(T)("sidebar.promotions")},{default:q(()=>[x(_e,{icon:"ph:megaphone-simple-fill",size:"small"}),w("span",OK,z(C(T)("sidebar.promotions")),1)]),_:1},8,["title"])],2)}}}),LK=Qe($K,[["__scopeId","data-v-3b50e0b0"]]),DK={class:"pl-3 text-sm font-bold"},VK={class:"text-sm font-semibold"},MK={class:"text-sm font-semibold"},BK=["innerHTML"],NK={class:"pl-3 text-sm font-bold"},FK=Ae({__name:"CommonButtons",setup(e){const t=Ze(),n=ar(),o=jt(),r=A(()=>n.isCollapsed),s=A(()=>{const p=t.business.general_menu_site;return Array.isArray(p)&&p.length>0?p:[]}),a=A(()=>s.value.length===0&&!t.hasRemoteSettings),i=A(()=>a.value?pN({sportsEnabled:t.business.sport_enabled!==!1}).map(p=>({...p,name:p.key==="sports"?T("sidebar.sports"):T("sidebar.casino")})):[]),l=U([]);function c(p){return`site-menu-section-${p}`}function u(p){return p%3===0?"w-28":p%3===1?"w-24":"w-20"}function d(p){return typeof p=="string"&&p.includes("<")&&p.includes(">")}function f(p){if(!p)return p;const h=p.match(/^(\/sports(?:\/esports)?)#(.+)$/);return h?`${h[1]}/${h[2]}`:p}function m(p){const h=f(p);if(h==="/sports")return o.path==="/sports";if(h==="/sports/esports")return o.path==="/sports/esports"}return le([s,a,i],()=>{const p=s.value.length||i.value.length;l.value=Array.from({length:p},(h,v)=>c(v))},{immediate:!0,deep:!0}),(p,h)=>s.value.length||a.value?(B(),ge(Wl,{key:0,opened:l.value,"onUpdate:opened":h[0]||(h[0]=v=>l.value=v),density:"comfortable",class:te(["!bg-transparent",{"app-sidebar__collapsed-buttons":r.value}])},{default:q(()=>[s.value.length?(B(!0),oe(xe,{key:0},Wt(s.value,(v,y)=>(B(),ge(Kl,{key:`section-${y}`,value:c(y),"expand-icon":"fa6-solid:chevron-down","collapse-icon":"fa6-solid:chevron-up"},{activator:q(({props:k})=>[x(_t,ke({ref_for:!0},k,{class:"app-sidebar-section-activator"}),{title:q(()=>[w("span",DK,z(v.name.toUpperCase()),1)]),_:2},1040)]),default:q(()=>[(B(!0),oe(xe,null,Wt(v.menus,(k,_)=>(B(),oe(xe,{key:`group-${y}-${_}`},[k.title?(B(),ge(Fm,{key:0,class:"sidebar-menu-subheader min-h-0 py-2 pl-6 text-xs font-bold uppercase tracking-wide opacity-90"},{default:q(()=>[x(_e,{icon:"fa6-solid:ellipsis",size:"small"}),h[1]||(h[1]=ye()),w("span",VK,z(k.title),1)]),_:2},1024)):he("",!0),(B(!0),oe(xe,null,Wt(k.items,(g,b)=>(B(),ge(_t,{key:`item-${y}-${_}-${b}-${g.link??""}`,link:!!g.link,to:f(g.link),active:m(g.link)},{title:q(()=>[w("span",MK,z(g.name),1)]),prepend:q(()=>[d(g.icon)?(B(),oe("span",{key:0,class:"sidebar-menu-icon","aria-hidden":"true",innerHTML:g.icon},null,8,BK)):(B(),ge(_e,{key:1,class:"sidebar-menu-icon",icon:g.icon,size:"18"},null,8,["icon"]))]),_:2},1032,["link","to","active"]))),128))],64))),128))]),_:2},1032,["value"]))),128)):(B(!0),oe(xe,{key:1},Wt(i.value,(v,y)=>(B(),ge(Kl,{key:`skeleton-section-${y}`,value:c(y),"expand-icon":"fa6-solid:chevron-down","collapse-icon":"fa6-solid:chevron-up"},{activator:q(({props:k})=>[x(_t,ke({ref_for:!0},k,{class:"app-sidebar-section-activator"}),{title:q(()=>[w("span",NK,z(v.name.toUpperCase()),1)]),_:2},1040)]),default:q(()=>[(B(!0),oe(xe,null,Wt(v.itemCount,k=>(B(),ge(_t,{key:`skeleton-item-${y}-${k}`,class:"sidebar-menu-skeleton-item pointer-events-none","aria-hidden":!0},{prepend:q(()=>[...h[2]||(h[2]=[w("div",{class:"bg-brand-card sidebar-menu-skeleton-icon animate-pulse rounded"},null,-1)])]),title:q(()=>[w("div",{class:te(["bg-brand-card h-3 animate-pulse rounded",u(k)])},null,2)]),_:2},1024))),128))]),_:2},1032,["value"]))),128))]),_:1},8,["opened","class"])):he("",!0)}}),jK=Qe(FK,[["__scopeId","data-v-7a47457c"]]),UK=Ae({__name:"PromotionButtons",setup(e){const t=Ze(),n=ar(),o=at(),r=A(()=>o.hasUser),s=A(()=>n.isCollapsed);return(a,i)=>r.value&&C(t).business.refer_enabled?(B(),oe("div",{key:0,class:te(["border-brand-separator transition-padding flex w-full items-center justify-center border-y duration-200 ease-in-out",s.value?"px-4 py-6":"p-6"])},[x(He,{color:"primary",size:"small",block:"",class:"promotion-btn--shine !min-h-10"},{default:q(()=>[i[0]||(i[0]=ye("💵 ",-1)),s.value?he("",!0):(B(),oe(xe,{key:0},[ye(z(C(T)("sidebar.earn"))+" "+z(C(wt)(C(t).business.refer_referrer_amount/100))+" "+z(C(T)("sidebar.free")),1)],64))]),_:1})],2)):he("",!0)}}),Bn="/sports",Bg=e=>e==="/sports"||e.startsWith("/sports/")||e==="/sport"||e.startsWith("/sport/"),df=e=>{const t=String(e||"").trim();if(!t||t==="#")return"/";if(/^[a-z][a-z0-9+.-]*:/i.test(t))return t;const[n,o=""]=t.split("#"),[r,s=""]=n.split("?"),a=`${s?`?${s}`:""}${o?`#${o}`:""}`;return r===Bn||r===`${Bn}/`?`/${a}`.replace(/^\/\?/,"/?")||"/":r.startsWith(`${Bn}/`)?`${r.slice(Bn.length)||"/"}${a}`:r==="/sport"?`/${a}`.replace(/^\/\?/,"/?")||"/":r.startsWith("/sport/")?`${r.replace(/^\/sport/,"")}${a}`:r.startsWith("/")?`${r}${a}`:`/${r}${a}`},LA=()=>{if(typeof window>"u")return"/";const{pathname:e,search:t}=window.location;return`${e.startsWith(Bn)?e.slice(Bn.length)||"/":e}${t}`||"/"},zK=e=>{const[t]=String(e||"").trim().split("#");return t.split("?")[0]||"/"},HK=(e,t,n)=>n&&Bg(e)&&Bg(t),KK=e=>df(e)===LA();function Ng(e){const t=(e??"").replace(/^\/+/,"");return t?{page:t,params:{urlTail:t}}:{page:"home"}}function WK(e){return e.params?.urlTail??(e.page==="home"?"":e.page)}function qK(e){if(typeof e!="string"||!e)return"";try{const t=new URL(e,typeof window<"u"?window.location.origin:"http://localhost");return`${t.pathname}${t.search}`}catch{return""}}function DA(e){return String(e||"").trim().toLowerCase()==="betby"}function VA(e,t){const n=String(e||"").trim(),[o,r=""]=n.split("#"),[s,a=""]=o.split("?"),i=`${a?`?${a}`:""}${r?`#${r}`:""}`;return s==="/live"||s==="live"?`/sports/live${i}`:["/esports","esports","/e-sports","e-sports"].includes(s)?DA(t)?"/sports/e_sport":`/sports/esports${i}`:s==="/sport"||s==="/"||s==="/home"?`${Bn}${i}`:s.startsWith("/sport/")?`${s.replace(/^\/sport\//,"/sports/")}${i}`:n}function GK(e,t,n){const o=VA(t,n);return!/^[a-z][a-z0-9+.-]*:/i.test(o)&&HK(e,zK(o),DA(n))&&KK(o)}function YK(e,t="smooth"){if(typeof window>"u")return;document.querySelector("[data-content-scroll]")?.scrollTo({top:0,behavior:t});let r=document.getElementById("betby")?.parentElement;for(;r;){const{overflowY:s}=getComputedStyle(r);if(["auto","scroll","overlay"].includes(s)&&r.scrollTop>0){r.scrollTo({top:0,behavior:t});break}r=r.parentElement}}const JK=["onClick"],XK=["innerHTML"],ZK=["innerHTML"],QK={key:0,class:"app-dynamic-button__shimmer","aria-hidden":"true"},eW={key:1,class:"app-dynamic-button__border-fun","aria-hidden":"true"},tW=Ae({__name:"DynamicButtons",props:{groupSlug:{default:"lateral_buttons"},context:{default:"sidebar"}},setup(e){const t=e,n=Ze(),o=ar(),r=Kn(),s=jt(),a=Co(),i=A(()=>t.context==="menu"?!1:o.isCollapsed),l=A(()=>t.context==="menu"),c=A(()=>Array.isArray(n.business.general_dynamic_buttons)?n.business.general_dynamic_buttons:[]),u=["solid","gradient","shimmer","border","border-animate","border-fun"],d={wiggle:"animate-wiggle",shake:"animate-shake",jump:"animate-jump"},f=A(()=>{const D=c.value.find(V=>!V||typeof V!="object"?!1:V.slug===t.groupSlug);if(!D)return[];const I=D;return Array.isArray(I.items)?I.items:Array.isArray(I.menus)?I.menus.flatMap(V=>V.items??[]):[]});function m(D){const V=(Array.isArray(D.variant)?D.variant:[D.variant??"solid"]).filter(Y=>typeof Y=="string"&&u.includes(Y));return V.length>0?V:["solid"]}function p(D){const I=D.color??"#ff4c3e",V=m(D),Y={"--dynamic-color":I,"--gradient-start":D.gradientColor??I,"--gradient-end":D.color??I};return(V.includes("border")||V.includes("border-animate"))&&(Y["--border-color"]=D.borderColor??I),V.includes("solid")&&(Y["--border-color"]=D.borderColor??I),V.includes("border-fun")&&(Y["--border-fun-color"]=D.borderFunColor??I),Y}function h(D){return m(D).reduce((I,V)=>(I[`dynamic-${V}`]=!0,I),{})}function v(D){const I=D.iconPosition??"left";return!!(D.icon&&(I==="left"||I==="both"))}function y(D){const I=D.iconPosition??"left";return!!(k(D)&&(I==="right"||I==="both"))}function k(D){return D.iconRight||D.icon||""}function _(D,I){return m(D).includes(I)}function g(D){const I=D.iconPosition??"left";return I==="both"?"text-center":I==="left"?"text-end":I==="right"?"text-start":"text-center"}function b(D){return v(D)?"text-justify-center":"text-justify-between"}function S(D){return typeof D=="string"&&D.includes("<")&&D.includes(">")}function E(D){return D?d[D]??"":""}function O(D){return/^https?:\/\//i.test(D)}function R(D){return/^[a-z][a-z\d+\-.]*:/i.test(D)&&!O(D)}async function L(D){if(D)try{if(O(D)){await Rm(D);return}if(D.startsWith("dp:")){a.openDeepLink(D);return}if(R(D)){window.location.assign(D);return}const I=n.business.sport_sportbook_type,V=VA(D,I);if(GK(s.path,V,I))return;await r.push(V),YK(V)}catch(I){console.error("Could not navigate dynamic sidebar button:",I)}}return(D,I)=>f.value.length?(B(),oe("div",{key:0,class:te(["app-dynamic-buttons",{"app-dynamic-buttons--menu":l.value}])},[(B(!0),oe(xe,null,Wt(f.value,(V,Y)=>(B(),oe("button",{key:`dynamic-button-${Y}-${V.name}`,type:"button",class:te(["app-dynamic-button",[h(V),{"app-dynamic-button--collapsed":i.value}]]),style:Ee(p(V)),onClick:H=>L(V.link)},[w("span",{class:te(["app-dynamic-button__content",b(V)])},[v(V)?(B(),oe("span",{key:0,class:te(["app-dynamic-button__icon",E(V.iconAnimation)])},[S(V.icon)?(B(),oe("span",{key:0,class:"sidebar-menu-icon","aria-hidden":"true",innerHTML:V.icon},null,8,XK)):(B(),ge(_e,{key:1,icon:String(V.icon),size:"18"},null,8,["icon"]))],2)):he("",!0),i.value?he("",!0):(B(),oe("span",{key:1,class:te(["app-dynamic-button__label",g(V)])},z(V.name),3)),y(V)?(B(),oe("span",{key:2,class:te(["app-dynamic-button__icon",E(V.iconAnimation)])},[S(k(V))?(B(),oe("span",{key:0,class:"sidebar-menu-icon","aria-hidden":"true",innerHTML:k(V)},null,8,ZK)):(B(),ge(_e,{key:1,icon:k(V),size:"18"},null,8,["icon"]))],2)):he("",!0)],2),_(V,"shimmer")?(B(),oe("span",QK)):he("",!0),_(V,"border-fun")?(B(),oe("span",eW,[...I[0]||(I[0]=[w("span",null,null,-1),w("span",null,null,-1),w("span",null,null,-1),w("span",null,null,-1)])])):he("",!0)],14,JK))),128))],2)):he("",!0)}}),MA=Qe(tW,[["__scopeId","data-v-e89babbb"]]),nW={class:"app-sidebar-tabs"},oW={class:"app-sidebar-tabs__inner"},rW={class:"app-sidebar-tabs__label"},sW={class:"app-sidebar-tabs__label"},aW=Ae({__name:"TabsButtons",setup(e){const t=Ze(),n=jt(),o=A(()=>n.path==="/sports"||n.path.startsWith("/sports/"));return(r,s)=>{const a=Tn("router-link");return B(),oe("div",nW,[w("div",oW,[x(a,{to:"/","active-class":"app-sidebar-tabs__tab--active","aria-label":"Ir para Cassino",title:"Ir para Cassino",class:te(["app-sidebar-tabs__tab",{"app-sidebar-tabs__tab--inactive":o.value}])},{default:q(()=>[x(_e,{icon:"fa6-solid:dice",size:"small"}),w("span",rW,z(C(T)("sidebar.casino")),1),w("span",{class:te(["app-sidebar-tabs__underline",{"app-sidebar-tabs__underline--visible":!o.value}])},null,2)]),_:1},8,["class"]),C(t).business.sport_enabled?(B(),ge(a,{key:0,to:"/sports","active-class":"app-sidebar-tabs__tab--active","aria-label":"Ir para Esportes",title:"Ir para Esportes",class:te(["app-sidebar-tabs__tab",{"app-sidebar-tabs__tab--inactive":!o.value}])},{default:q(()=>[x(_e,{icon:"fa6-solid:futbol",size:"small"}),w("span",sW,z(C(T)("sidebar.sports")),1),w("span",{class:te(["app-sidebar-tabs__underline",{"app-sidebar-tabs__underline--visible":o.value}])},null,2)]),_:1},8,["class"])):he("",!0)])])}}}),iW=Qe(aW,[["__scopeId","data-v-81f09f26"]]),lW=Ae({__name:"Index",setup(e){const t=jt(),n=ar(),{mobile:o,width:r}=Cs(),s=A(()=>o.value&&!n.isMobileDrawerOpen),a=A({get:()=>o.value?n.isMobileDrawerOpen:!0,set:c=>{o.value&&n.setMobileDrawerOpen(c===!0)}}),i=A(()=>!o.value&&n.isCollapsedBase),l=A(()=>!o.value||n.isMobileDrawerOpen&&r.value>=640?256:r.value);return le(()=>t.path,c=>{const u=c==="/sports"||c.startsWith("/sports/");n.setIsCollapsed(u),n.setMobileDrawerOpen(!1)},{immediate:!0}),le(o,c=>{n.setIsMobileViewport(c),c||n.setMobileDrawerOpen(!1)},{immediate:!0}),(c,u)=>{const d=iW,f=MA,m=UK,p=jK,h=LK,v=wA;return B(),ge(EK,{id:"app-sidebar-drawer",modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=y=>a.value=y),"aria-label":"Sidebar",location:"left",mobile:!1,width:l.value,"rail-width":80,rail:i.value,"expand-on-hover":i.value,elevation:0,class:te(["app-sidebar",{"app-sidebar--overlay-shut":s.value}]),onMouseenter:u[1]||(u[1]=y=>C(n).setIsHovering(!0)),onMouseleave:u[2]||(u[2]=y=>C(n).setIsHovering(!1))},{default:q(()=>[x(d),x(f),x(v,{class:"app-sidebar__scroll","hide-delay":600},{default:q(()=>[x(m),x(p),x(h)]),_:1})]),_:1},8,["modelValue","width","rail","expand-on-hover","class"])}}}),cW=Qe(lW,[["__scopeId","data-v-f8e942db"]]),uW=Ae({__name:"Index",props:{fullWidth:{type:Boolean}},setup(e){const t=e;return(n,o)=>(B(),oe("div",{class:te(["mx-auto w-full max-w-6xl flex-1 p-4 sm:p-6",{"max-w-full !p-0":t.fullWidth}])},[Nn(n.$slots,"default")],2))}}),dW=Ae({__name:"Index",setup(e){const{registrationEnabled:t}=Uc();function n(o){pt().clearSessionExpired(),Ge().setModal({name:o})}return(o,r)=>(B(),oe(xe,null,[x(He,{variant:"text",class:"max-md:h-8! max-md:min-h-8! max-md:px-2! max-md:text-xs!","aria-label":C(T)("navbar.login"),title:C(T)("navbar.login"),onClick:r[0]||(r[0]=s=>n("login"))},{default:q(()=>[ye(z(C(T)("navbar.login")),1)]),_:1},8,["aria-label","title"]),C(t)?(B(),ge(He,{key:0,color:"primary",variant:"flat",class:"max-md:h-8! max-md:min-h-8! max-md:px-2! max-md:text-xs!","aria-label":C(T)("navbar.register"),title:C(T)("navbar.register"),onClick:r[1]||(r[1]=s=>C(Lm)())},{default:q(()=>[ye(z(C(T)("navbar.register")),1)]),_:1},8,["aria-label","title"])):he("",!0)],64))}}),zs=Object.freeze({all:"all",favorites:"favorites"}),BA=20,od=()=>({from:0,to:BA-1});function fW(e){return e?Array.isArray(e)?e:Array.isArray(e.items)?e.items:[]:[]}function Fg(e){if(!e)return null;const t=e;return typeof t.getInboxMessages!="function"||typeof t.getInboxMessageBody!="function"||typeof t.markAllInboxMessagesAsRead!="function"?null:t}const pi=Hn("inbox",{state:()=>({loading:!1,initialized:!1,messages:[],activeTab:zs.all,isOpen:!1,showUnreadOnly:!1,range:od(),allLoaded:!1,sdkListenersAttached:!1}),getters:{unreadCount:e=>e.messages.filter(t=>!t.read).length,filteredMessages:e=>e.showUnreadOnly?e.messages.filter(t=>!t.read):e.activeTab===zs.favorites?e.messages.filter(t=>t.favorite):e.messages,isEmpty(){return this.filteredMessages.length===0}},actions:{togglePanel(){this.isOpen=!this.isOpen},setPanelOpen(e){this.isOpen=e},selectTab(e){this.activeTab=e,e===zs.favorites&&(this.showUnreadOnly=!1)},toggleUnreadOnly(){this.showUnreadOnly=!this.showUnreadOnly,this.activeTab=zs.all},setFavorite(e,t){const n=this.messages.find(o=>o.message_guid===e);n&&(n.favorite=t)},removeMessage(e){this.messages=this.messages.filter(t=>t.message_guid!==e)},markAsRead(e){const t=this.messages.find(n=>n.message_guid===e);t&&(t.read=!0)},async fetchMessages(){if(this.loading)return;const e=Fg(await this.resolveApi());if(e){this.loading=!0;try{const t=await e.getInboxMessages({from:this.range.from,to:this.range.to}),n=fW(t),o=await Promise.all(n.map(async s=>{try{const a=await e.getInboxMessageBody(s.message_guid);return{...s,...a}}catch{return s}}));if(this.range.from===0)this.messages=o;else{const s=new Set(this.messages.map(i=>i.message_guid)),a=o.filter(i=>!s.has(i.message_guid));this.messages=[...this.messages,...a]}const r=this.range.to-this.range.from+1;o.length({...t,read:!0}))}catch(t){console.error("[inbox] failed to mark all messages as read:",t)}},async resolveApi(){const e=Co();if(!e.isEnabled)return null;try{return await e.ready()}catch{return null}},async setup(){if(this.sdkListenersAttached||typeof window>"u"||!await this.resolveApi())return;this.sdkListenersAttached=!0,await this.refresh();const t=window._smartico;t?.tracker&&typeof t.tracker.on=="function"&&t.tracker.on("inbox:new_message",()=>void this.refresh()),typeof t?.on=="function"&&t.on("props_change",()=>void this.refresh())},reset(){this.messages=[],this.range=od(),this.allLoaded=!1,this.initialized=!1,this.activeTab=zs.all,this.showUnreadOnly=!1,this.isOpen=!1}}}),mW=Ae({__name:"UserMenu",setup(e){const t=Kn(),n=pt(),o=pi(),r=Ze(),s=Co(),{runWithUserDocument:a}=Is(),i=U(!1);async function l(){s.openDeepLink("dp:inbox")}function c(){r.business.deposit_enable_popup?Ge().setModal({name:"deposit"}):t.push("/user/wallet/deposit")}function u(){i.value=!1,a(c,{persistent:!0})}const d=r.business.live_chat_whatsapp,f=r.business.general_live_chat,m=typeof window<"u"?window.zE:void 0,p=A(()=>f!=="123456"&&typeof m=="function"),h=A(()=>d||p);function v(){if(d)window.open(String(d),"_blank","noopener,noreferrer");else if(p.value)m("messenger","open");else return!1}function y(){n.logout(t)}return(k,_)=>{const g=MA;return B(),ge(jm,{modelValue:i.value,"onUpdate:modelValue":_[0]||(_[0]=b=>i.value=b),location:"bottom end","close-on-content-click":!0},{activator:q(({props:b})=>[x(He,ke(b,{variant:"text",class:"border-gray-700! max-md:h-8! max-md:min-h-8! max-md:min-w-8! max-md:px-2! md:h-9! md:min-h-9! md:min-w-9! md:px-3!","aria-label":C(T)("navbar.userMenu.openMenu")}),{default:q(()=>[x(_e,{icon:"ic:baseline-person",size:"small"})]),_:1},16,["aria-label"])]),default:q(()=>[x(jE,{class:"bg-brand-background border border-gray-700 text-white shadow-lg","max-width":"280",rounded:"md"},{default:q(()=>[x(g,{"group-slug":"user_menu_buttons",context:"menu"}),x(Wl,{density:"compact",class:"py-1"},{default:q(()=>[x(_t,{to:"/user/account",title:C(T)("navbar.userMenu.account"),"aria-label":C(T)("navbar.userMenu.account")},{prepend:q(()=>[x(_e,{icon:"ic:baseline-person",size:"x-small"})]),_:1},8,["title","aria-label"]),C(s).shouldShowGamificationMenu?(B(),ge(_t,{key:0,to:"/user/gamification",title:C(T)("navbar.userMenu.gamification"),"aria-label":C(T)("navbar.userMenu.gamification")},{prepend:q(()=>[x(_e,{icon:"bxs:joystick",size:"x-small"})]),_:1},8,["title","aria-label"])):he("",!0),C(s).isNotificationsEnabled?(B(),ge(_t,{key:1,title:C(T)("navbar.userMenu.notifications"),"aria-label":C(T)("navbar.userMenu.notifications"),onClick:l},{prepend:q(()=>[x(_e,{icon:"material-symbols:notifications",size:"small",class:te({"text-brand-primary animate-wiggle":C(o).unreadCount>0})},null,8,["class"])]),_:1},8,["title","aria-label"])):he("",!0),C(r).business.refer_enabled?(B(),ge(_t,{key:2,to:"/user/indications",title:C(T)("navbar.userMenu.referrals"),"aria-label":C(T)("navbar.userMenu.referrals")},{prepend:q(()=>[x(_e,{icon:"gridicons:multiple-users",size:"x-small"})]),_:1},8,["title","aria-label"])):he("",!0),x(_t,{title:C(T)("navbar.deposit"),"aria-label":C(T)("navbar.deposit"),onClick:u},{prepend:q(()=>[x(_e,{icon:"fa6-solid:arrows-down-to-line",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/wallet/withdraw",title:C(T)("navbar.userMenu.withdraw"),"aria-label":C(T)("navbar.userMenu.withdraw")},{prepend:q(()=>[x(_e,{icon:"fa6-solid:arrows-up-to-line",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/wallet",title:C(T)("navbar.userMenu.transactions"),"aria-label":C(T)("navbar.userMenu.transactions")},{prepend:q(()=>[x(_e,{icon:"tdesign:chart-analytics",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/promotion/coupon",title:C(T)("navbar.userMenu.coupons"),"aria-label":C(T)("navbar.userMenu.coupons")},{prepend:q(()=>[x(_e,{icon:"icon-park-solid:ticket",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/promotion",title:C(T)("navbar.userMenu.bonus"),"aria-label":C(T)("navbar.userMenu.bonus")},{prepend:q(()=>[x(_e,{icon:"fa6-solid:gift",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/account/password",title:C(T)("navbar.userMenu.password"),"aria-label":C(T)("navbar.userMenu.password")},{prepend:q(()=>[x(_e,{icon:"fluent:key-reset-24-filled",size:"x-small"})]),_:1},8,["title","aria-label"]),x(_t,{to:"/user/protection",title:C(T)("navbar.userMenu.playerProtection"),"aria-label":C(T)("navbar.userMenu.playerProtection")},{prepend:q(()=>[x(_e,{icon:"fa6-solid:shield-heart",size:"x-small"})]),_:1},8,["title","aria-label"]),C(r).business.general_show_chat_user_menu&&h.value?(B(),ge(_t,{key:3,title:C(T)("navbar.userMenu.liveSupport"),"aria-label":C(T)("navbar.userMenu.liveSupport"),onClick:v},{prepend:q(()=>[x(_e,{icon:"tdesign:service-filled",size:"x-small"})]),_:1},8,["title","aria-label"])):he("",!0)]),_:1}),x(Vm,{class:"user-menu-divider border-gray-700 opacity-100"}),x(Wl,{density:"compact",class:"py-1"},{default:q(()=>[x(_t,{class:"user-logout cursor-pointer",title:C(T)("navbar.userMenu.logout"),"aria-label":C(T)("navbar.userMenu.logout"),onClick:y},{prepend:q(()=>[x(_e,{icon:"streamline:emergency-exit-solid",size:"x-small"})]),_:1},8,["title","aria-label"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}}}),pW=Qe(mW,[["__scopeId","data-v-e65ae9ee"]]),vW=["aria-label"],hW={class:"bg-brand-primary/90 absolute inset-0 flex items-center justify-center rounded-full text-[10px] font-bold leading-none text-white shadow-lg","aria-hidden":"true"},gW=Ae({__name:"MessageCount",setup(e){const{unreadCount:t}=Hf(pi());return(n,o)=>C(t)>0?(B(),oe("div",{key:0,class:"pointer-events-none absolute -right-1 -top-1 h-4 w-4",role:"status","aria-label":C(t)<=99?String(C(t)):"99+"},[o[0]||(o[0]=w("span",{class:"bg-brand-primary/90 absolute inset-0 animate-ping rounded-full","aria-hidden":"true"},null,-1)),w("span",hW,z(C(t)<=99?C(t):"+99"),1)],8,vW)):he("",!0)}}),bW={class:"flex flex-nowrap items-baseline justify-between gap-x-3 text-xs"},yW={key:0,class:"min-w-0 flex-1 truncate text-gray-500"},_W={key:1,class:"text-brand-primary min-w-0 flex-1 truncate"},wW={class:"text-brand-primary shrink-0 whitespace-nowrap font-bold tabular-nums"},SW=Ae({__name:"BonusProgress",props:{actualAmount:{},maxAmount:{}},setup(e){const t=e,n=A(()=>Math.max(0,t.maxAmount-t.actualAmount)),o=A(()=>t.maxAmount<=0?0:Math.min(100,Math.max(0,t.actualAmount/t.maxAmount*100))),r=A(()=>o.value.toFixed(2)),s=A(()=>o.value>=100?T("navbar.rollover.complete"):`${r.value}%`);return(a,i)=>(B(),oe("div",null,[w("div",bW,[o.value<100?(B(),oe("span",yW,[ye(z(C(T)("navbar.rollover.missing-prefix")),1),w("b",null,z(C(wt)(n.value)),1),ye(z(C(T)("navbar.rollover.missing-suffix")),1)])):(B(),oe("span",_W,z(C(T)("navbar.rollover.complete")),1)),w("span",wW,z(r.value)+"%",1)]),x(AE,{class:"bonus-progress__bar mt-2","model-value":o.value,color:"primary","bg-color":"#4b5563",height:"8",rounded:"","rounded-bar":"",role:"progressbar","aria-valuenow":o.value,"aria-valuemin":"0","aria-valuemax":"100","aria-label":s.value},null,8,["model-value","aria-valuenow","aria-label"])]))}}),xW=Qe(SW,[["__scopeId","data-v-8e310303"]]);function kW(e){return e<.5?4*e*e*e:1-(-2*e+2)**3/2}function ll(e,t={}){const n=t.duration??1500,o=t.easing??kW,r=t.snapFromZero??!1,s=U(e.value);let a=0,i=e.value,l=0;return le(e,c=>{if(cancelAnimationFrame(a),i=s.value,r&&i===0&&c!==0){s.value=c;return}l=performance.now();const u=d=>{const f=Math.min(1,(d-l)/n),m=o(f);s.value=i+(c-i)*m,f<1&&(a=requestAnimationFrame(u))};a=requestAnimationFrame(u)},{flush:"sync"}),s}const EW={class:"flex flex-1 flex-col space-y-4 text-white"},CW={class:"flex flex-1 justify-between"},AW={class:"flex items-center gap-2 text-xs"},TW={class:"leading-none"},PW={class:"text-base font-semibold"},IW={class:"space-y-2"},RW={class:"flex items-baseline justify-between gap-x-3 text-xs"},OW={class:"min-w-0 shrink"},$W={class:"shrink-0 text-right tabular-nums text-gray-500"},LW={class:"flex items-baseline justify-between gap-x-3 text-xs"},DW={class:"min-w-0 shrink"},VW={class:"shrink-0 text-right tabular-nums text-gray-500"},MW={class:"flex items-baseline justify-between gap-x-3 text-xs"},BW={class:"min-w-0 shrink"},NW={class:"shrink-0 text-right tabular-nums text-gray-500"},FW=Ae({__name:"BalanceRolloverPanel",setup(e){const t=at(),n={duration:1500,snapFromZero:!0},o=ll(A(()=>t.balanceAmount??0),n),r=ll(A(()=>t.balance.base??0),n),s=ll(A(()=>(t.balance.bonus??0)/100),n),a=A(()=>t.profile?.user_rollover),i=A(()=>(a.value?.rollover?.max_amount??0)/100),l=A(()=>(a.value?.amount_rollover_total??0)/100),c=A(()=>(a.value?.amount_rollover??0)/100);return(u,d)=>(B(),oe("div",EW,[w("div",CW,[w("div",AW,[d[0]||(d[0]=w("span",{class:"flex h-5 w-5 items-center justify-center rounded-full bg-green-900 p-2 text-[8px] text-white/90"},"R$",-1)),w("b",TW,z(C(T)("navbar.rollover.brl")),1)]),w("div",PW,z(C(wt)(C(o))),1)]),w("div",IW,[w("div",RW,[w("span",OW,z(C(T)("navbar.rollover.account-balance")),1),w("span",$W,z(C(wt)(C(r))),1)]),w("div",LW,[w("span",DW,z(C(T)("navbar.rollover.bonus-money")),1),w("span",VW,z(C(wt)(C(s))),1)]),w("div",MW,[w("span",BW,z(C(T)("navbar.rollover.max-win")),1),w("span",NW,z(C(wt)(i.value)),1)])]),l.value>0?(B(),ge(xW,{key:0,"max-amount":l.value,"actual-amount":c.value},null,8,["max-amount","actual-amount"])):he("",!0)]))}}),jW={class:"balance-rollover-popover w-screen flex-1 px-4 py-3 md:max-w-[380px]"},UW={class:"balance-rollover-popover__card bg-brand-card flex translate-x-4 flex-col space-y-6 rounded-md border border-gray-700 p-4 text-white"},zW=Ae({__name:"BalanceRollover",props:{balanceLoading:{type:Boolean},balanceAmount:{}},setup(e){const t=e,n=U(!1);return(o,r)=>{const s=FW;return B(),ge(jm,{modelValue:n.value,"onUpdate:modelValue":r[1]||(r[1]=a=>n.value=a),location:"bottom end","close-on-content-click":!1},{activator:q(({props:a})=>[x(He,ke(a,{variant:"text",class:"border-gray-700! max-md:h-8! max-md:min-h-8! max-md:px-2! max-md:text-xs! md:h-9! md:min-h-9! md:px-3! md:text-sm!","aria-label":C(T)("navbar.balance"),title:C(T)("navbar.balance")}),{default:q(()=>[t.balanceLoading?(B(),ge(Ja,{key:0,color:"primary",indeterminate:"",size:"x-small",width:"1"})):(B(),oe(xe,{key:1},[ye(z(C(wt)(t.balanceAmount))+" ",1),x(_e,{icon:"fa6-solid:circle-info",size:"x-small",class:"ml-1 text-white/50"})],64))]),_:1},16,["aria-label","title"])]),default:q(()=>[w("div",jW,[w("div",UW,[x(s),x(He,{block:"",class:"balance-rollover-popover__action text-none",color:"secondary",variant:"flat",to:"/user/promotion",onClick:r[0]||(r[0]=a=>n.value=!1)},{default:q(()=>[ye(z(C(T)("navbar.rollover.see-bonus")),1)]),_:1})])])]),_:1},8,["modelValue"])}}}),HW=Qe(zW,[["__scopeId","data-v-0b2bebec"]]),KW={class:"min-w-0 max-w-0 overflow-hidden whitespace-nowrap text-left text-xs text-white transition-[max-width] duration-300 ease-out group-focus-within:max-w-[min(17rem,calc(100vw-11rem))] group-hover:max-w-[min(17rem,calc(100vw-11rem))]","aria-hidden":"true"},WW=Ae({__name:"VerificationButton",setup(e){const t=at(),{openUserDocumentModal:n}=Is(),o=Pt(),r=U(!1),s=A(()=>!o.isApproved&&!!o.providerId),a=A(()=>o.isPendingFaceId?T("navbar.verification.face-required"):T("navbar.verification.required"));async function i(){if(r.value)return;if(!t.hasDocument){n();return}const l=Im(Pm(o.providerId));r.value=!0;try{await l.start({isPendingFaceId:o.isPendingFaceId})}finally{r.value=!1}}return(l,c)=>s.value?(B(),ge(He,{key:0,variant:"text",class:"flex! min-w-8! items-center! border-gray-700! px-2! max-md:h-8! max-md:min-h-8! max-md:px-2! group relative shrink-0 flex-row overflow-hidden","aria-label":a.value,title:a.value,loading:r.value,disabled:r.value,onClick:i},{default:q(()=>[c[0]||(c[0]=w("span",{class:"relative mx-1 flex h-4 w-4 shrink-0 items-center justify-center","aria-hidden":"true"},[w("span",{class:"absolute inset-0 animate-ping rounded-full bg-red-800/90","aria-hidden":"true"}),w("span",{class:"relative z-10 h-3 w-3 rounded-full bg-red-800/90 shadow-md","aria-hidden":"true"})],-1)),w("span",KW,z(a.value),1)]),_:1},8,["aria-label","title","loading","disabled"])):he("",!0)}}),qW={key:1},GW={key:2,class:"relative"},YW=Ae({__name:"Index",setup(e){const t=Kn(),n=pt(),o=Ze(),r=at(),s=pi(),a=Co(),{runWithUserDocument:i}=Is();async function l(){a.openDeepLink("dp:inbox")}function c(){o.business.deposit_enable_popup?Ge().setModal({name:"deposit"}):t.push("/user/wallet/deposit")}function u(){i(c,{persistent:!0})}const d=A(()=>!n.initialized||n.loading),f=ll(A(()=>r.balanceAmount??0),{duration:1500,snapFromZero:!0});return(m,p)=>{const h=WW,v=HW,y=gW,k=pW;return B(),oe(xe,null,[x(h),C(r).profile?.user_rollover?.active?(B(),ge(v,{key:0,"balance-loading":d.value,"balance-amount":C(f)},null,8,["balance-loading","balance-amount"])):(B(),ge(He,{key:1,variant:"text",class:"border-gray-700! max-md:h-8! max-md:min-h-8! max-md:px-2! max-md:text-xs! cursor-default","aria-label":C(T)("navbar.balance"),title:C(T)("navbar.balance")},{default:q(()=>[d.value?(B(),ge(Ja,{key:0,color:"primary",indeterminate:"",size:"x-small",width:"1"})):(B(),oe("span",qW,z(C(wt)(C(f))),1))]),_:1},8,["aria-label","title"])),x(He,{color:"primary",variant:"flat",class:"max-md:h-8! max-md:min-h-8! max-md:px-2! max-md:text-xs!","aria-label":C(T)("navbar.deposit"),title:C(T)("navbar.deposit"),onClick:u},{default:q(()=>[ye(z(C(T)("navbar.deposit")),1)]),_:1},8,["aria-label","title"]),C(a).isNotificationsEnabled&&C(s).unreadCount>0?(B(),oe("div",GW,[x(He,{variant:"text",class:"border-gray-700! max-md:h-8! max-md:min-h-8! max-md:min-w-8! max-md:px-2! md:h-9! md:min-h-9! md:min-w-9! md:px-3!","aria-label":C(T)("navbar.notifications"),title:C(T)("navbar.notifications"),onClick:l},{default:q(()=>[x(_e,{icon:"material-symbols:notifications",size:"small",class:te(C(s).unreadCount>0?"text-brand-primary animate-wiggle":"text-white/90")},null,8,["class"])]),_:1},8,["aria-label","title"]),x(y)])):he("",!0),x(k)],64)}}});function ff(){return{list:[],meta:null,links:null,source:"fallback",fetchedAt:""}}function JW(e){return e&&(e.startsWith("http")?e:`/storage${e}`)}function XW(e){return e.map(t=>{const n=t;return{...n,image:JW(n.image)}})}function ZW(e){if(Array.isArray(e))return{list:e,meta:null,links:null};if(e&&typeof e=="object"&&"data"in e){const t=e,n=Array.isArray(t.data)?t.data:[],o=t.meta&&typeof t.meta=="object"&&!Array.isArray(t.meta)?t.meta:null,r=t.links&&typeof t.links=="object"&&!Array.isArray(t.links)?t.links:null;return{list:n,meta:o,links:r}}return{list:[],meta:null,links:null}}function QW(e,t="remote"){const{list:n,meta:o,links:r}=ZW(e);return{list:XW(n),meta:o,links:r,source:t,fetchedAt:new Date().toISOString()}}function eq(){return{...ff(),fetchedAt:new Date().toISOString()}}let Gr=null;async function tq(e){e.isLoading=!0;try{const{data:t}=await Ye.get("/api/promotions"),n=QW(t,"remote");e.setProjection(n),n.list.length>0&&mC(Ul.promotions,n)}catch(t){console.error("/api/promotions an error has occurred:",t);const n=fC(Ul.promotions);if(n?.list?.length){e.setProjection({...n,source:"cache"});return}e.setProjection(eq())}finally{e.isLoading=!1,Gr=null}}const nq=Hn("promotion",{state:()=>({...ff(),isLoading:!1}),getters:{hasList:e=>e.list.length>0,hasRemotePromotions:e=>e.source==="remote"||e.source==="cache"},actions:{setProjection(e){this.list=e.list,this.meta=e.meta,this.links=e.links,this.source=e.source,this.fetchedAt=e.fetchedAt},clearProjection(){const e=ff();this.list=e.list,this.meta=e.meta,this.links=e.links,this.source=e.source,this.fetchedAt=e.fetchedAt},async fetchPromotions(e=!1){if(!(this.hasRemotePromotions&&!e)){if(e&&(Gr=null),Gr){await Gr;return}Gr=tq(this),await Gr}},retryFetch(){return this.fetchPromotions(!0)}}}),oq={class:"flex items-center gap-3"},rq=Ae({__name:"BrandLogo",setup(e){const t=jt(),n=nq(),o=Co(),r=pi(),s=A(()=>t.name!=="promotions"&&n.hasList);return(a,i)=>{const l=Rs,c=Tn("router-link");return B(),oe("div",oq,[x(l,{class:"flex h-7 items-center"}),s.value?(B(),ge(c,{key:0,to:"/promotions","aria-label":C(T)("sidebar.promotions"),title:C(T)("sidebar.promotions"),class:te(["promo-gift-bounce-tilt animate-ease-out shadow-brand-primary items-center justify-center drop-shadow-lg filter transition-opacity",C(o).isNotificationsEnabled&&C(r).unreadCount>0?"hidden md:flex":"flex"])},{default:q(()=>[x(_e,{icon:"fa6-solid:gift",class:"text-brand-primary",size:"small"})]),_:1},8,["aria-label","title","class"])):he("",!0)])}}}),sq=Qe(rq,[["__scopeId","data-v-cb9c770e"]]),aq={class:"app-navbar-tabs__inner"},iq={class:"app-navbar-tabs__label"},lq={class:"app-navbar-tabs__label"},cq=Ae({__name:"TabsButtons",setup(e){const t=ar(),n=Ze(),o=jt(),r=A(()=>o.path==="/sports"||o.path.startsWith("/sports/"));return(s,a)=>{const i=Tn("router-link");return B(),oe("div",{class:te(["app-navbar-tabs",{"app-navbar-tabs--sm-visible":C(t).isMobileDrawerOpen}])},[w("div",aq,[x(i,{to:"/","active-class":"app-navbar-tabs__tab--active","aria-label":"Ir para Cassino",title:"Ir para Cassino",class:te(["app-navbar-tabs__tab",{"app-navbar-tabs__tab--inactive":r.value}]),onClick:a[0]||(a[0]=l=>C(t).setMobileDrawerOpen(!1))},{default:q(()=>[x(_e,{icon:"fa6-solid:dice",size:"small"}),w("span",iq,z(C(T)("sidebar.casino")),1),w("span",{class:te(["app-navbar-tabs__underline",{"app-navbar-tabs__underline--visible":!r.value}])},null,2)]),_:1},8,["class"]),C(n).business.sport_enabled?(B(),ge(i,{key:0,to:"/sports","active-class":"app-navbar-tabs__tab--active","aria-label":"Ir para Esportes",title:"Ir para Esportes",class:te(["app-navbar-tabs__tab",{"app-navbar-tabs__tab--inactive":!r.value}]),onClick:a[1]||(a[1]=l=>C(t).setMobileDrawerOpen(!1))},{default:q(()=>[x(_e,{icon:"fa6-solid:futbol",size:"small"}),w("span",lq,z(C(T)("sidebar.sports")),1),w("span",{class:te(["app-navbar-tabs__underline",{"app-navbar-tabs__underline--visible":r.value}])},null,2)]),_:1},8,["class"])):he("",!0)])],2)}}}),uq=Qe(cq,[["__scopeId","data-v-4a794996"]]),dq={class:"app-navbar__brand"},fq={class:"app-navbar__auth"},mq=Ae({__name:"Index",setup(e){const t=pt();return(n,o)=>{const r=uq,s=sq,a=YW,i=dW,l=uW;return B(),ge(cK,{class:"app-navbar","aria-label":"Site header",elevation:0,height:65},{default:q(()=>[x(r),w("div",dq,[x(l,{class:"app-navbar__container"},{default:q(()=>[x(s),w("div",fq,[C(t).isAuthenticated?(B(),ge(a,{key:0})):(B(),ge(i,{key:1}))])]),_:1})])]),_:1})}}}),pq=Qe(mq,[["__scopeId","data-v-230dc831"]]),vq=["aria-label"],hq={class:"app-referral-topbar__content"},gq={class:"app-referral-topbar__message font-normal tracking-normal"},bq={class:"app-referral-topbar__amount"},yq="--app-referral-topbar-height",_q=Ae({__name:"Index",setup(e){const t=Ze(),n=pt(),o=Kn(),r=U(null),s=U(!1);let a=null;const i=A(()=>t.business.refer_enabled===!0&&!s.value),l=A(()=>wt(t.business.refer_referrer_amount/100)),c=A(()=>`${T("referralTopbar.lead")} ${l.value} ${T("referralTopbar.suffix")}`),u=A(()=>T("referralTopbar.cta"));function d(k){typeof document>"u"||document.documentElement.style.setProperty(yq,`${k}px`)}function f(){if(!i.value||!r.value){d(0);return}const k=r.value;d(Math.ceil(Math.max(k.offsetHeight,k.scrollHeight)))}async function m(){if(!(typeof window>"u")){if(await Je(),typeof requestAnimationFrame=="function"){requestAnimationFrame(()=>f());return}f()}}function p(){a?.disconnect(),a=null}function h(){if(!(typeof window>"u"||typeof ResizeObserver>"u")){if(p(),!r.value){d(0);return}a=new ResizeObserver(()=>f()),a.observe(r.value),f()}}le(i,async k=>{if(!k){p(),d(0);return}await m(),h()},{flush:"post",immediate:!0}),typeof document<"u"&&document.fonts?.ready.then(()=>{i.value&&m()}),xo(()=>{p(),d(0)});function v(){if(n.isAuthenticated){o.push("/user/indications");return}Lm()}function y(){s.value=!0}return(k,_)=>i.value?(B(),oe("div",{key:0,ref_key:"barRef",ref:r,class:"app-referral-topbar",role:"region","aria-label":c.value},[w("div",hq,[w("p",gq,[ye(z(C(T)("referralTopbar.lead"))+" ",1),w("span",bq,z(l.value),1),ye(" "+z(C(T)("referralTopbar.suffix")),1)]),x(He,{class:"app-referral-topbar__cta !h-auto !min-h-0 !px-2 !py-1 font-medium",variant:"flat","aria-label":u.value,title:u.value,onClick:v},{default:q(()=>[ye(z(u.value),1)]),_:1},8,["aria-label","title"])]),x(He,{class:"app-referral-topbar__close",icon:"",variant:"text",size:"x-small","aria-label":C(T)("common.close"),title:C(T)("common.close"),onClick:y},{default:q(()=>[x(_e,{icon:"fa6-solid:xmark",size:"0.875rem"})]),_:1},8,["aria-label","title"])],8,vq)):he("",!0)}}),wq=Qe(_q,[["__scopeId","data-v-6d2f2d32"]]);function mf(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(s=>mf(s,t));if(r?.constructor===Object){const s={};for(const a of Object.keys(r))s[a]=mf(r[a],t,a);return s}return r}const Sq=(e,t)=>ct(t)?it(t):t,xq="usehead";function kq(){if(Fy()){const e=Ue(xq);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Eq(e,t={}){const n=t.head||kq();return n.ssr?n.push(e||{},t):Cq(n,e,t)}function Cq(e,t,n={}){const o=U(!1);let r;return xt(()=>{const a=o.value?{}:mf(t,Sq);r?r.patch(a):r=e.push(a,n)}),zn()&&(gt(()=>{r.dispose()}),cc(()=>{o.value=!0}),Df(()=>{o.value=!1})),r}const Aq="/site.webmanifest";function Tq(e){return typeof e!="string"?"":e.trim()}function Pq(e){return Tq(e.general_site_favicon)||null}function Iq(e){switch(e.split("?")[0]?.split(".").pop()?.toLowerCase()){case"png":return"image/png";case"svg":return"image/svg+xml";case"webp":return"image/webp";case"gif":return"image/gif";case"jpg":case"jpeg":return"image/jpeg";default:return"image/x-icon"}}function Rq(e){return e?[{rel:"icon",type:Iq(e),href:e},{rel:"apple-touch-icon",href:e}]:[{rel:"apple-touch-icon",href:"/favicon/apple-touch-icon.png",sizes:"180x180"},{rel:"icon",href:"/favicon/favicon-32x32.png",sizes:"32x32",type:"image/png"},{rel:"icon",href:"/favicon/favicon-16x16.png",sizes:"16x16",type:"image/png"}]}function bo(e){return typeof e!="string"?"":e.trim()}function cl(e,t=320){const n=bo(e),o=n.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim();return!n||!o?"":o.slice(0,t)}function Oq(e,t){return e&&t?`${e} | ${t}`:e||t}function $q(e){return bo(e.general_site_title)}function Lq(e,t){const n=bo(e);return n||bo(t)||null}function Dq(e,t,n){const o=bo(e.seoValues.canonicalUrl);return o||(n?`${n}${t}`:null)}function Vq(e,t){return cl(e.footer_disclaimer_content,320)||t}function Mq(e){const t=$q(e.settingsBusiness),n=cl(e.seoProjection.seoValues.title,120),o=e.seoProjection.seoValues.matched&&n?n:e.fallbackTitleDescription,r=Oq(o,t),s=Vq(e.settingsBusiness,e.fallbackTitleDescription),a=cl(e.fallbackMetaDescription,320),i=cl(e.seoProjection.seoValues.description||e.seoProjection.seoValues.content,320),l=e.seoProjection.seoValues.matched?i||s:a||s,c=Pq(e.settingsBusiness),u=Lq(e.runtimeOrigin,e.siteUrl),d=Dq(e.seoProjection,e.routePath,u),f=bo(e.seoProjection.seoValues.ogImage)||bo(e.seoProjection.seoValues.twitterImage)||c||"",m=bo(e.seoProjection.seoValues.robots)||"index,follow",p=bo(e.seoProjection.seoValues.ogType)||"website",h=bo(e.seoProjection.seoValues.twitterCard)||"summary_large_image",v=e.includeManifest??!0;return{title:r,meta:[{charset:"utf-8"},{"http-equiv":"X-UA-Compatible",content:"IE=Edge"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{name:"theme-color",content:"#212121"},{name:"msapplication-TileColor",content:"#212121"},{name:"description",content:l},{name:"robots",content:m},{property:"og:title",content:r},{property:"og:site_name",content:t},{property:"og:type",content:p},{property:"og:description",content:l},{property:"og:url",content:d??""},{property:"og:image",content:f},{name:"twitter:card",content:h},{name:"twitter:title",content:r},{name:"twitter:description",content:l},{name:"twitter:image",content:f}].filter(k=>"content"in k?k.content.trim().length>0:!0),link:[...Rq(c),...v?[{rel:"manifest",href:Aq}]:[],...d?[{rel:"canonical",href:d}]:[]]}}function Bq(e){const t=e.trim().replace(/\/+$/,"")||"/";return t==="/casino"?"index":t==="/casino/slots"?"slots":t==="/casino/live"?"live":t==="/casino/favorites"?"favorites":null}const Nq={index:{titlePrefixKey:"casino.seo-categories-label",descriptionCategoryKey:"casino.seo-categories-label"},slots:{titlePrefixKey:"breadcrumb.slots",descriptionCategoryKey:"breadcrumb.slots"},live:{titlePrefixKey:"breadcrumb.casino-live",descriptionCategoryKey:"breadcrumb.casino-live"},favorites:{titlePrefixKey:"breadcrumb.favorites",descriptionCategoryKey:"breadcrumb.favorites"}};function Fq(e,t,n,o){const{titlePrefixKey:r,descriptionCategoryKey:s}=Nq[e],a=o(r),i=o(s);return{title:t.titleTemplate.replace("{name}",a),description:t.descriptionTemplate.replace("{category}",i).replace("{siteTitle}",n)}}const jq={key:0,class:"app-native-offline-banner bg-warning text-on-warning fixed inset-x-0 z-[3000] px-4 py-2 text-center text-sm font-medium",role:"status"},Uq={class:"app-container__scroll-content"},zq={class:"app-container__main",role:"main"},Hq=["aria-hidden","tabindex","aria-label","title"],Kq=Ae({__name:"App",setup(e){const t=xA(),n=Ze(),o=ar(),r=Ge(),s=sr(),a=jt(),i=pt(),l=Pt(),c=U(null),u=U(!1),d=A(()=>a.path.startsWith("/sports")),f=A(()=>a.path.startsWith("/user/"));function m(L="smooth"){C(c.value?.scrollEl)?.scrollTo({top:0,behavior:L})}const p=()=>m("smooth");let h,v;xo(()=>{h?.()});const y=L=>L==="/sports"||L.startsWith("/sports/"),k=A(()=>y(a.path??"")?o.isCollapsed:!1),_=A(()=>({"--app-sidebar-width":k.value?"5rem":"16rem"})),g=A(()=>a.path??t.seoTarget.pathname??"/"),b=A(()=>{const L=Bq(g.value);return L?Fq(L,{titleTemplate:T("casino.seo-title-template"),descriptionTemplate:T("casino.seo-description-template")},n.business.general_site_title||"",T):null}),S=A(()=>{if(!g.value.startsWith("/play/"))return null;const L=t.casinoGameContext;if(!L)return null;const D=n.business.general_site_title||T("common.online-betting");return{title:T("play.seo-title-template").replace("{game}",L.gameName).replace("{provider}",L.providerName).replace("{siteTitle}",D),description:T("play.seo-description-template").replace("{game}",L.gameName).replace("{provider}",L.providerName).replace("{siteTitle}",D)}}),E=A(()=>S.value?.title??b.value?.title??T("common.online-betting")),O=A(()=>S.value?.description??b.value?.description),R=A(()=>{const L=Nt&&typeof window<"u"?window.location.origin:null;return Mq({seoProjection:t.$state,settingsBusiness:n.business,routePath:g.value,fallbackTitleDescription:E.value,fallbackMetaDescription:O.value,siteUrl:null,runtimeOrigin:L,includeManifest:!sr()})});return Eq(()=>R.value),Nt&&(le(()=>c.value?C(c.value.scrollEl):null,function(){h?.(),h=void 0;const D=c.value?C(c.value.scrollEl):null;if(!D)return;const I=()=>{const Y=D.scrollTop,H=D.scrollHeight;let N=D.clientHeight;N>16||(N=D.getBoundingClientRect().height||0);const J=H>N+1;u.value=!!(J&&N>16&&Y>N)};I(),v=I,D.addEventListener("scroll",I,{passive:!0});const V=new ResizeObserver(I);V.observe(D),h=()=>{D.removeEventListener("scroll",I),V.disconnect(),v=void 0}},{flush:"post",immediate:!0}),le(()=>a.fullPath,()=>void Je(()=>{m(),v?.()})),le(()=>a.fullPath??g.value,()=>{a.path.startsWith("/play/")||t.fetchForRoute({pathname:a.path??g.value,routeName:typeof a.name=="string"?a.name:null,routeParams:a.params??{}})},{immediate:t.seoSource==="fallback"}),le(()=>a.fullPath,()=>{i.isAuthenticated&&l.scheduleDebouncedRefresh()})),(L,D)=>{const I=wq,V=pq,Y=cW,H=TK,N=eK,J=Tn("router-view"),Q=A6,X=wA,F=DH,j=xH,W=gH,fe=nH,Me=Z3,Ke=S4,Oe=v4,ne=c4,be=Yz,ae=qU,Se=FU,Be=IF,Pe=SF;return B(),oe(xe,null,[x(nK,{class:te(["app-vuetify app-container",{"app-container--native":C(s)}]),style:Ee(_.value)},{default:q(()=>[C(s)&&!C(r).networkOnline?(B(),oe("div",jq,z(C(T)("common.network-offline")),1)):he("",!0),x(I),x(V),x(Y),x(hK,{class:"app-container__body"},{default:q(()=>[x(X,{ref_key:"appMainScroll",ref:c,class:"app-container__scroll"},{default:q(()=>[w("div",Uq,[w("div",{class:te(["mx-auto","w-full","flex-1",!d.value&&"max-w-6xl",!d.value&&"p-4",!d.value&&"sm:p-6"])},[x(H),w("main",zq,[x(J,null,{default:q(({Component:P})=>[f.value?(B(),ge(N,{key:0},{default:q(()=>[x(to,{name:"fade-up",mode:"out-in"},{default:q(()=>[(B(),oe("div",{key:C(a).fullPath,class:"app-route-transition-root"},[(B(),ge(ya(P)))]))]),_:2},1024)]),_:2},1024)):(B(),ge(to,{key:1,name:"fade-up",mode:"out-in"},{default:q(()=>[(B(),oe("div",{key:C(a).fullPath,class:"app-route-transition-root"},[(B(),ge(ya(P)))]))]),_:2},1024))]),_:1})])],2),x(Q)])]),_:1},512)]),_:1}),x(F,{class:"z-2000!"})]),_:1},8,["class","style"]),x(il,null,{default:q(()=>[x(j),x(W),x(fe),x(Me),x(Ke),x(Oe),x(ne),x(be),x(ae),x(Se),x(Be),x(Pe),w("button",{type:"button",class:te(["backdrop-blur-2 duration-400 text-xs! fixed bottom-14 left-1/2 z-20 flex -translate-x-1/2 translate-y-full select-none items-center gap-2 rounded-full bg-black/75 px-3 py-1 leading-snug text-white transition-all lg:left-[calc(50vw+var(--app-sidebar-width)/2)]",u.value?"pointer-events-auto !-translate-y-[350%] opacity-100 lg:!-translate-y-full":"pointer-events-none !translate-y-[120%] opacity-0"]),style:Ee(_.value),"aria-hidden":u.value?void 0:"true",tabindex:u.value?void 0:-1,"aria-label":C(T)("common.back-to-top"),title:C(T)("common.back-to-top"),onClick:p},[x(_e,{icon:"fa6-solid:arrow-up",size:"0.75em"}),ye(" "+z(C(T)("common.back-to-top")),1)],14,Hq)]),_:1})],64)}}}),Wq=Qe(Kq,[["__scopeId","data-v-14d4bb5c"]]),qq=new Set(["link","style","script","noscript"]),Gq=new Set(["title","titleTemplate","script","style","noscript"]),jg=new Set(["base","meta","link","style","script","noscript"]),Yq=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Jq=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Xq=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Zq=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Qq=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),eG=["name","property","http-equiv"],tG=new Set(["viewport","description","keywords","robots"]);function NA(e){const t=e.split(":");return t.length?Qq.has(t[1]):!1}function pf(e){const{props:t,tag:n}=e;if(Jq.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const o of eG)if(t[o]!==void 0){const r=t[o],s=r.includes(":"),a=tG.has(r),l=!(s||a)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Gq.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function Ug(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,r])=>`${o}:${String(r)}`).join(",")}`}function vf(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(s=>vf(s,t));if(r?.constructor===Object){const s={};for(const a of Object.keys(r))s[a]=vf(r[a],t,a);return s}return r}function nG(e,t){const n=e==="style"?new Map:new Set;function o(r){const s=r.trim();if(s)if(e==="style"){const[a,...i]=s.split(":").map(l=>l.trim());a&&i.length&&n.set(a,i.join(":"))}else s.split(" ").filter(Boolean).forEach(a=>n.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(r=>o(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,s])=>{s&&s!=="false"&&(e==="style"?n.set(r.trim(),s):o(r))}),n}function FA(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(o===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=nG(n,o);return}if(Xq.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(o)}else e[n]=o;return}const r=String(o),s=n.startsWith("data-");r==="true"||r===""?e.props[n]=s?r:!0:!o&&s&&r==="false"?e.props[n]="false":o!==void 0&&(e.props[n]=o)}),e):e}function oG(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=FA({tag:e,props:{}},n);return o.key&&qq.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(r=>({...o,props:{...o.props,content:r}})):o}function rG(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,s)=>{for(let a=0;a{if(s!==void 0)for(const a of Array.isArray(s)?s:[s])o.push(oG(r,a))}),o.flat()}const zg=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Hg={base:-10,title:10},sG={critical:-8,high:-1,low:2},Kg={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}},aG=/@import/,Hs=e=>e===""||e===!0;function iG(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=sG[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Kg;if(t.tag in Hg)n=Hg[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=Kg.meta[s])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Hs(t.props.async)?n=r.script.async:t.props.src&&!Hs(t.props.defer)&&!Hs(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Hs(t.props.defer)&&t.props.src&&!Hs(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&aG.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+o}function Wg(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function lG(e={}){const t=eR();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,r=new Map,s=new Set,a={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:i=>Wg(a,i),push(i,l){const c={...l||{}};delete c.head;const u=c._index??a._entryCount++,d={_i:u,input:i,options:c},f={_poll(m=!1){a.dirty=!0,!m&&s.add(u),t.callHook("entries:updated",a)},dispose(){o.delete(u)&&a.invalidate()},patch(m){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=m,o.set(u,d),f._poll())}};return f.patch(i),f},async resolveTags(){const i={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",i);s.size;){const f=s.values().next().value;s.delete(f);const m=o.get(f);if(m){const p={tags:rG(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",p),m._tags=p.tags.map((h,v)=>(h._w=iG(a,h),h._p=(m._i<<10)+v,h._d=pf(h),h))}}let l=!1;i.entries.flatMap(f=>(f._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(zg).reduce((f,m)=>{const p=String(m._d||m._p);if(!f.has(p))return f.set(p,m);const h=f.get(p);if((m?.tagDuplicateStrategy||(Zq.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(m.props).forEach(([k,_])=>y[k]=k==="style"?new Map([...h.props.style||new Map,..._]):k==="class"?new Set([...h.props.class||new Set,..._]):_),f.set(p,{...m,props:y})}else m._p>>10===h._p>>10&&m.tag==="meta"&&NA(p)?(f.set(p,Object.assign([...Array.isArray(h)?h:[h],m],m)),l=!0):(m._w===h._w?m._p>h._p:m?._wWg(a,i)),a.hooks.callHook("init",a),e.init?.forEach(i=>i&&a.push(i)),a}async function jA(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const s=new Map,a=new Promise(m=>{e.resolveTags().then(p=>{m(p.map(h=>{const v=s.get(h._d)||0,y={tag:h,id:(v?`${h._d}:${v}`:h._d)||Ug(h),shouldRender:!0};return h._d&&NA(h._d)&&s.set(h._d,v+1),y}))})});let i=e._dom;if(!i){i={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const m of["body","head"]){const p=n[m]?.children;for(const h of p){const v=h.tagName.toLowerCase();if(!jg.has(v))continue;const y=FA({tag:v,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((k,_)=>(k[_]=h.getAttribute(_),k),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=pf(y)||Ug(y),i.elMap.has(y._d)){let k=1,_=y._d;for(;i.elMap.has(_);)_=`${y._d}:${k++}`;i.elMap.set(_,h)}else i.elMap.set(y._d,h)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(m,p,h){const v=`${m}:${p}`;i.sideEffects[v]=h,delete i.pendingSideEffects[v]}function c({id:m,$el:p,tag:h}){const v=h.tag.endsWith("Attrs");i.elMap.set(m,p),v||(h.textContent&&h.textContent!==p.textContent&&(p.textContent=h.textContent),h.innerHTML&&h.innerHTML!==p.innerHTML&&(p.innerHTML=h.innerHTML),l(m,"el",()=>{p?.remove(),i.elMap.delete(m)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const k=h.props[y];if(y.startsWith("on")&&typeof k=="function"){const g=p?.dataset;if(g&&g[`${y}fired`]){const b=y.slice(0,-5);k.call(p,new Event(b.substring(2)))}p.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:p).addEventListener(y.substring(2),k.bind(p)),p.setAttribute(`data-${y}`,""));continue}const _=`attr:${y}`;if(y==="class"){if(!k)continue;for(const g of k)v&&l(m,`${_}:${g}`,()=>p.classList.remove(g)),!p.classList.contains(g)&&p.classList.add(g)}else if(y==="style"){if(!k)continue;for(const[g,b]of k)l(m,`${_}:${g}`,()=>{p.style.removeProperty(g)}),p.style.setProperty(g,b)}else k!==!1&&k!==null&&(p.getAttribute(y)!==k&&p.setAttribute(y,k===!0?"":String(k)),v&&l(m,_,()=>p.removeAttribute(y)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await a;for(const m of f){const{tag:p,shouldRender:h,id:v}=m;if(h){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=i.title);continue}m.$el=m.$el||i.elMap.get(v),m.$el?c(m):jg.has(p.tag)&&u.push(m)}}for(const m of u){const p=m.tag.tagPosition||"head";m.$el=n.createElement(m.tag.tag),c(m),d[p]=d[p]||n.createDocumentFragment(),d[p].appendChild(m.$el)}for(const m of f)await e.hooks.callHook("dom:renderTag",m,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const m in i.pendingSideEffects)i.pendingSideEffects[m]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:f}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function cG(e={}){const t=e.domOptions?.render||jA;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return lG({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function uG(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}const dG="usehead";function fG(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(dG,e)}}.install}function mG(e={}){const t=cG({domOptions:{render:uG(()=>jA(t),n=>setTimeout(n,0))},...e});return t.install=fG(t),t}function pG(e){const t=[...e,{path:"/sport",redirect:"/sports"},{path:"/sport/:pathMatch(.*)*",redirect:n=>{const o=n.params.pathMatch;return{path:`/sports/${Array.isArray(o)?o.join("/"):String(o??"")}`.replace(/\/$/,"")||"/sports"}}},{path:"/user/coupon",redirect:"/user/promotion/coupon"},{path:"/user/bonus",redirect:"/user/promotion"},{path:"/:pathMatch(.*)*",redirect:"/"}];return o$({history:OO(),routes:t,strict:!0,scrollBehavior(n,o,r){return Object.entries(n.query).length===0?r||{top:0,behavior:"smooth"}:r||null}})}const vG=e=>{const t=e.split("/pages")[1].replace(/Index$/,"").replace(/([a-zA-Z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z])/g,"$1-$2").toLowerCase().replace(/\/\[\.\.\.([^\]/]+)\]/g,"/:$1*").replace(/\/\[([^\]/]+)\]/g,"/:$1");return t==="/"?t:t.replace(/\/+$/,"")},Ki=new Map,as=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),hG=e=>!as(e)||e.param!==void 0&&typeof e.param!="string"||!Array.isArray(e.allowed)?!1:e.allowed.every(t=>typeof t=="string"),gG=e=>{const n=(as(e?.meta)?e?.meta:e)??{};if(!as(n))return{auth:!1,crumb:[]};const o=n.auth===!0,r=Array.isArray(n.crumb)?n.crumb:[],s={...n,auth:o,crumb:r};return as(e)&&hG(e.restrictedSlug)&&(s.restrictedSlug=e.restrictedSlug),s},bG=e=>{if(!as(e)||!as(e.meta))return{};const t={...e};return delete t.meta,t},qg=e=>/\/\[[^\]]+\]$/.test(e);function yG(e,t,n={}){const o=Ki.has(e)?Ki.get(e):JSON.parse(e);return Ki.has(e)||Ki.set(e,o),[...o].sort((s,a)=>{const i=qg(s),l=qg(a);return i!==l?i?1:-1:s.localeCompare(a)}).map(s=>{const a=s.substring(1),i=a+".vue",l=t[i],c=n[i];return{...bG(c),path:vG(a),name:a,component:l,meta:gG(c),props:u=>u.query}})}const _G=async e=>{if(e.meta.auth!==!0)return!0;const t=pt();return t.initialized||await t.checkAuth(),t.isAuthenticated?!0:(Ge().setModal({name:"login"}),"/")},UA=e=>{if(typeof e!="object"||e===null||Array.isArray(e))return!1;const t=e;return t.param!==void 0&&typeof t.param!="string"||!Array.isArray(t.allowed)?!1:t.allowed.every(n=>typeof n=="string")};function wG(e){const t=[],n=/\/:([\w-]+)(?:\([^)]*\))?(\?|[+*])?/g;let o;for(;(o=n.exec(e))!==null;)t.push(o[1]);return t}function zA(e,t){if(typeof t.param=="string"&&t.param.length>0)return t.param;const n=e.matched[e.matched.length-1];if(!n?.path)return;const o=wG(n.path);if(o.length===1)return o[0]}function SG(e){const t=e.meta.restrictedSlug;if(!UA(t))return;const n=zA(e,t);if(!n)return;const o=e.params[n],r=Array.isArray(o)?o[0]:o;return typeof r=="string"&&r.length>0?r:void 0}const xG=e=>{const t=e.meta.restrictedSlug;if(!UA(t))return!0;const n=zA(e,t);if(!n)return!0;const o=e.params[n];if(o===void 0)return!0;const r=Array.isArray(o)?o[0]:o,s=new Set(t.allowed);return!r||!s.has(String(r))?{path:"/",query:e.query}:!0},kG=e=>Array.isArray(e)?e.filter(t=>{if(!t||typeof t!="object")return!1;const n=t;return typeof n.text=="string"||typeof n.textKey=="string"}).map(t=>({text:typeof t.text=="string"?t.text:"",...typeof t.textKey=="string"?{textKey:t.textKey}:{},...typeof t.link=="string"?{link:t.link}:{}})):[];function EG(e){if(e.path.startsWith("/sports"))return;let t=kG(e.meta.crumb);if(e.meta.crumbSlugSegment===!0){const n=SG(e);n&&(t=[...t,{text:"",textKey:`breadcrumb.${n}`,link:e.path}])}Ge().setBreadcrumb(t)}const CG=/^\/user\/gamification(\/|$)/,AG="/user/gamification/missions",TG="/user/gamification/shop",Gg="/user/gamification",PG=async e=>{if(!CG.test(e.path))return!0;const t=Co();if(!t.shouldShowGamificationMenu)return"/";if(e.path===AG&&!t.isMissionEnabled||e.path===TG&&!t.isStoreEnabled)return Gg;const n=pt();return n.initialized||await n.checkAuth(),n.isAuthenticated||t.isVisitorAccessEnabled?!0:(Ge().setModal({name:"login"}),"/")},IG=["/play","/sports","/casino","/user/withdraw","/user/wallet/withdraw","/user/wallet/deposit","/user/password","/user/account/password","/promotions"];function HA(e){return IG.some(t=>e===t||e.startsWith(`${t}/`))}const RG=["/user/wallet/deposit"];function OG(e){return RG.some(t=>e===t||e.startsWith(`${t}/`))}const $G=async(e,t)=>{if(!HA(e.path)||!Nt||!pt().isAuthenticated)return!0;const n=Pt();return await n.refreshStatus({force:!0})||OG(e.path)&&!Ze().business.features_active_for_deposit?!0:n.isVPNDetected?{path:"/",replace:!0}:(Ge().setModal({name:"kyc-verification"}),t.matched.length===0?{path:"/",replace:!0}:!1)},Yg="referrer_id",LG=3600*24*7;function DG(){const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"}function VG(e){if(typeof window>"u")return;const t=e.trim();if(!t)return;try{window.localStorage.setItem(Yg,t)}catch{}const n=DG();hc(Yg,t,{maxAge:LG,sameSite:n?"Lax":"None",secure:!n})}const MG="register";function BG(e){const t=Array.isArray(e)?e[0]:e;return typeof t=="string"&&t.length>0?t:void 0}const NG=async e=>{if(e.meta.referralEntry!==!0||!Nt)return!0;const t=BG(e.params.id);t&&VG(t);const n=pt();return n.initialized||await n.checkAuth(),n.isAuthenticated||Ge().setModal({name:MG}),{path:"/",replace:!0}},FG=async e=>!HA(e.path)||!Nt||!pt().isAuthenticated||await P4()==="done"?!0:(I4(e.fullPath),"/"),jG=e=>(e.meta.refreshIp!==!0||!Nt||pt().refreshUserIp(),!0),UG=e=>e.meta.requireVerification!==!0||!Nt||!pt().isAuthenticated||at().hasDocument?!0:(Is().openUserDocumentModal({persistent:!0}),{path:"/",replace:!0});function zm(){const e=new Map;function t(r,s){let a=e.get(r);a||(a=new Set,e.set(r,a));const i=s;return a.add(i),()=>{a.delete(i)}}function n(r,s){const a=e.get(r);if(a)for(const i of a)try{i(s)}catch{We.error("[sportsbook] handler error",{tag:"SPORTSBOOK"})}}function o(){e.clear()}return{on:t,emit:n,clear:o}}class zG extends Error{url;constructor(t){super(`Failed to load script: ${t}`),this.name="SportsbookScriptLoadError",this.url=t}}function hf(e){return Fc({src:e,errorFactory:t=>new zG(t)})}function HG(e){const t=(e??"").replace(/^\/+/,"");if(!t)return{page:"home"};const n=t.split("/").filter(Boolean),o=n[0];if(o==="overview")return{page:"home"};if(o==="live")return{page:"live"};if(o==="betHistory")return{page:"bet-history"};const r=n[n.length-1];return r.startsWith("e-")?{page:"event",params:{eventId:r.slice(2)}}:r.startsWith("le-")?{page:"liveEvent",params:{eventId:r.slice(3)}}:r.startsWith("c-")?{page:"championship",params:{championshipId:r.slice(2)}}:r.startsWith("s-")?{page:"sport",params:{sportId:r.slice(2)}}:n.length>=2?{page:"category"}:{page:"sport"}}function KG(e){return e.params?.urlTail??""}const WG=new Set(["brasil","brazil","argentina","frança","france","alemanha","germany","italia","italy","espanha","spain","portugal","inglaterra","england","holanda","netherlands","austria","áustria","belgica","bélgica","turquia","turkey","mexico","méxico","usa","estados unidos"]),qG=new Set(["competição","categoria","esporte","esportes","evento esportivo"]),GG=/(liga|league|ligue|bundes|serie|série|copa|cup|champ|premier|division|super|ta[cç]a|uefa|sul-americana|libertadores|brasileir[aã]o)/i,Jg="sports:championship-seo:",YG=["[data-testid*='breadcrumb']","[class*='breadcrumb']",'[class*="BreadCrumb"]','[class*="breadcrumbs"]',"h1","h2","[role='heading']","[class*='title']","[class*='Title']","[class*='header']"];class JG{championshipSeoNameCache=new Map;sportsTitleObserver=null;normalizeSeoText(t){return String(t||"").trim()}isCountryName(t){return WG.has(this.normalizeSeoText(t).toLowerCase())}isGenericSportsSeoName(t){return qG.has(this.normalizeSeoText(t).toLowerCase())}getCachedChampionshipSeoName(t){const n=String(t);if(this.championshipSeoNameCache.has(n))return this.championshipSeoNameCache.get(n)||"";if(typeof window<"u"&&window.sessionStorage){const o=window.sessionStorage.getItem(`${Jg}${n}`);if(o){const r=this.normalizeSeoText(o);if(r)return this.championshipSeoNameCache.set(n,r),r}}return""}cacheChampionshipSeoName(t,n){const o=String(t),r=this.normalizeSeoText(n);r&&(this.championshipSeoNameCache.set(o,r),typeof window<"u"&&window.sessionStorage&&window.sessionStorage.setItem(`${Jg}${o}`,r))}getRenderedSportsTitle(t,n=""){const o=new Set,r=[],s=this.normalizeSeoText(n).toLowerCase(),a=l=>{const c=this.normalizeSeoText(l),u=c.toLowerCase();!c||o.has(u)||this.isCountryName(c)||this.isGenericSportsSeoName(c)||(o.add(u),r.push(c))};for(const l of YG)try{t.querySelectorAll(l).forEach(c=>a(c.textContent))}catch{}if(t.innerText?.split(/\n|›|>|\/|\\/g).forEach(a),!r.length)return"";const i=l=>{let c=l.length;return GG.test(l)&&(c+=60),l.split(/\s+/).length>1&&(c+=18),/[A-ZÀ-ÖØ-Ý]/.test(l)&&(c+=8),/\d/.test(l)&&(c+=10),s&&l.toLowerCase()===s&&(c+=40),c};return r.sort((l,c)=>i(c)-i(l))[0]||""}startTitleObserver(t,n){!t||typeof MutationObserver>"u"||(this.sportsTitleObserver?.disconnect?.(),this.sportsTitleObserver=new MutationObserver(()=>{const o=this.getRenderedSportsTitle(t);o&&n&&n(o)}),this.sportsTitleObserver.observe(t,{childList:!0,subtree:!0,characterData:!0}))}destroy(){this.sportsTitleObserver?.disconnect?.(),this.sportsTitleObserver=null,this.championshipSeoNameCache.clear()}}const XG={volleyball:"sports.seo.categories.volleyball",voleibol:"sports.seo.categories.volleyball",volei:"sports.seo.categories.volleyball",tennis:"sports.seo.categories.tennis",tenis:"sports.seo.categories.tennis",basketball:"sports.seo.categories.basketball",basquete:"sports.seo.categories.basketball",football:"sports.seo.categories.football",soccer:"sports.seo.categories.football",futebol:"sports.seo.categories.football"},Zt=vt({viewType:"",eventName:"",categoryName:"",updatedAt:0,lockUntil:0});So(Zt);function rd(e){let t=String(e||"").trim();try{t=decodeURIComponent(t)}catch{t=String(e||"").trim()}return t?t.replace(/[-_]+/g," ").replace(/\s+/g," ").split(" ").map(n=>n?n[0].toUpperCase()+n.slice(1).toLowerCase():"").join(" ").trim():""}function ZG(e){const t=e.trim().toLowerCase();return T("sports.seo.generic-names").split(",").some(n=>n.trim()===t)}function QG(e){const t=e.trim();if(!t)return"";const n=t.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase(),o=XG[n];return o?T(o):t}function LX(e){const t=e.categoryName!=null?QG(e.categoryName):Zt.categoryName,n=Zt.lockUntil>Date.now();n&&e.viewType==="event"&&!String(e.eventName??"").trim()||n&&e.viewType!=="event"&&(!t||ZG(t))||(Zt.viewType=e.viewType??Zt.viewType,Zt.eventName=e.eventName!=null?String(e.eventName).trim():Zt.eventName,Zt.categoryName=t,Zt.updatedAt=Date.now(),Zt.lockUntil=e.lockMs?Date.now()+e.lockMs:Zt.lockUntil,Zt.viewType==="event"&&(Zt.categoryName=""),Zt.viewType==="category"&&(Zt.eventName=""))}const e9="altenar",t9={bg:"bg-BG",cs:"cs-CZ",da:"da-DK",de:"de-DE",el:"el-GR",es:"es-ES",et:"et-EE",fi:"fi-FI",fr:"fr-FR",hu:"hu-HU",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lt:"lt-LT",lv:"lv-LV",nb:"nb-NO",nl:"nl-NL",pl:"pl-PL",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",sv:"sv-SE",tr:"tr-TR",uk:"uk-UA",zh:"zh-CN"};function n9(e){return/^[a-z]{2}-[A-Z]{2}$/.test(e)?e:t9[e]??"en-GB"}function sd(e){return e.toString().normalize("NFD").replace(/[̀-ͯ]/g,"").replace(/ç/g,"c").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-")}function o9(e,t){if(e==="event"||e==="liveEvent"){const n=t.findIndex(o=>/^l?e-\d+$/.test(o));return n>0?rd(t[n-1]):""}if(e==="championship"){const n=t.findIndex(o=>/^c-\d+$/.test(o));return n>0?rd(t[n-1]):""}if(e==="category"||e==="sport"){const n=t.filter(o=>!/^(overview|live|bethistory)$/i.test(o)).at(-1)??"";return n?rd(n):""}return""}function r9(e){const t=zm();let n=null,o=null,r=null,s=null,a="overview";function i(m){if(!(typeof document>"u")){if(!m){o?.remove(),o=null;return}o||(o=document.createElement("link"),o.rel="stylesheet",o.dataset.sportsbook=e9,document.head.appendChild(o)),o.href=m}}function l(m){const p=typeof m.page=="string"?m.page:"overview",h=typeof m.sport=="object"&&m.sport?m.sport:null,v=typeof m.event=="object"&&m.event?m.event:null,y=Array.isArray(m.categories)?m.categories:[],k=Array.isArray(m.championshipIds)?m.championshipIds:null,_=sd(String(h?.name||"esportes")),g=sd(String(y[0]?.name||h?.name||"categoria")),b=sd(String(v?.name||"jogo")),S=v?.id!=null?Number(v.id):null,E=k?.[0]!=null?Number(k[0]):null,O=h?.id!=null?Number(h.id):null;let R;switch(p){case"overview":R="overview";break;case"category":R=`${_}/${g}`;break;case"championship":R=E!=null?`${_}/${g}/c-${E}`:`${_}/${g}`;break;case"event":R=S!=null?`${_}/${g}/${b}/e-${S}`:`${_}/${g}`;break;case"liveEvent":R=S!=null?`${_}/${g}/${b}/le-${S}`:`${_}/${g}`;break;case"live":R="live";break;case"sport":R=O!=null?`${_}/s-${O}`:_;break;case"betHistory":R="betHistory";break;default:R="overview"}return{page:p,params:{urlTail:R}}}async function c(m=20){let p=0;for(;!window.altenarWSDK&&psetTimeout(h,1e3)),p++;return!!window.altenarWSDK}function u(m){switch(m){case"home":return"overview";case"live":return"live";case"event":return"event";case"liveEvent":return"liveEvent";case"sport":return"sport";case"bet-history":return"betHistory";default:return"overview"}}async function d(m,p){if(!await c()){t.emit("error",{code:"altenar/sdk-missing",message:"altenarWSDK not available after 20s"});return}const v=window.altenarWSDK;if(!v){t.emit("error",{code:"altenar/sdk-missing",message:"altenarWSDK not present after script load"});return}if(!m.mountEl){t.emit("error",{code:"altenar/no-mount",message:"Mount element required for Altenar"});return}try{const y=n9(m.language),k={integration:e.skin,culture:y,oddsFormat:0};m.initialToken&&(k.token=m.initialToken),v.init&&await v.init(k);const _=u(m.initialRoute.page),g=m.initialRoute.params||{},b=g.sportId?Number(g.sportId):null,S=g.eventId?Number(g.eventId):null,E=g.championshipId?[Number(g.championshipId)]:null,O=[];if(g.oddIds&&(Array.isArray(g.oddIds)?O.push(...g.oddIds.map(String)):typeof g.oddIds=="string"&&O.push(g.oddIds)),v.addSportsBook){const R={page:_,shareCode:m.shareCode??"",banners:[],routerType:"memory",onSignInButtonClick:()=>t.emit("sign-in-requested",void 0),onRouterLoad:async()=>{if(a=m.initialRoute.page,n){s=new JG;const L=(m.initialPathTail??"").split("/").filter(Boolean),D=o9(m.initialRoute.page,L);if(D){const I=m.initialRoute.page==="event"||m.initialRoute.page==="liveEvent";t.emit("seo-context",{page:m.initialRoute.page,eventName:I?D:"",sportName:I?"":D,championshipId:void 0,championshipName:""})}s.startTitleObserver(n,I=>{const V=a==="event"||a==="liveEvent";t.emit("seo-context",{page:a,eventName:V?I:"",sportName:V?"":I,championshipId:void 0,championshipName:""})})}p()},onRouteChangeDetailed:L=>{t.emit("route-change",l(L));const D=typeof L.sport=="object"&&L.sport?L.sport:null,I=typeof L.event=="object"&&L.event?L.event:null,V=typeof L.championship=="object"&&L.championship?L.championship:null,Y=Array.isArray(L.championshipIds)?L.championshipIds:null,H=Y?.[0]!=null?Number(Y[0]):null;a=String(L.page||"overview");const N=String(V?.name||"");s&&H!==null&&N&&s.cacheChampionshipSeoName(H,N);const J=N||(s&&H!==null?s.getCachedChampionshipSeoName(H):"");t.emit("seo-context",{page:a,sportName:String(D?.name||""),eventName:String(I?.name||""),championshipId:Y?.[0],championshipName:J})}};b!==null&&(R.sportId=b),S!==null&&(R.eventId=S),E!==null&&(R.championshipIds=E),r=await v.addSportsBook({props:R,container:m.mountEl}),v.set({culture:y}),O.length>0&&v.set({oddIds:O,betSlipCustomMessage:"Bilhete copiado de últimas apostas!",clearBetslip:!0})}}catch(y){t.emit("error",{code:"altenar/init-failed",message:y.message})}}return{id:"altenar",async init(m){n=m.mountEl,i(m.customCssUrl),await hf(e.sdkUrl),await new Promise(p=>{d(m,()=>{t.emit("ready",void 0),p()}).catch(h=>{t.emit("error",{code:"altenar/config-failed",message:h.message}),p()})})},destroy(){s?.destroy(),s=null,r?.remove(),r=null,o?.remove(),o=null,n&&(n.replaceChildren(),n=null),t.clear()},setToken(m){window.altenarWSDK?.set({token:m??void 0})},setCustomCss(m){i(m)},urlToProviderState:HG,providerStateToUrl:KG,navigate(){},on(m,p){return t.on(m,p)}}}const KA="pt-br",s9={pt:"pt-br",pt_br:"pt-br","pt-br":"pt-br",br:"pt-br",en:"en-us","en-us":"en-us","en-gb":"en-us",es:"es-es","es-es":"es-es",it:"it-it","it-it":"it-it"},a9=e=>String(e||KA).toLowerCase().replace(/_/g,"-"),La=e=>{const t=a9(e);return s9[t]??t},i9=e=>{if(!e)return null;try{const t=e.split(".")[1];if(!t)return null;const n=t.replace(/-/g,"+").replace(/_/g,"/"),o=JSON.parse(atob(n)),r=o?.lang??o?.language??null;return r?La(r):null}catch{return null}},l9=e=>{const t=La(e.requestedLang),n=e.apiLang?La(e.apiLang):null;return i9(e.token)??n??t},Xg="betby-renderer-script",Zg=0,c9=56,u9=1024,d9=250,f9=40;function m9(e){const t=zm();let n=null,o=null,r=null,s=KA,a=null,i=null,l=0;function c(){return typeof window>"u"?0:window.innerWidthsetTimeout(O,d9)),E++;return!!window.BTRenderer}async function d(){return window.BTRenderer?!0:typeof document>"u"?!1:document.getElementById(Xg)?u():await new Promise(E=>{const O=document.createElement("script");O.id=Xg,O.src=e.scriptUrl,O.async=!0,O.defer=!0,O.onload=()=>void u().then(E),O.onerror=()=>E(!1),document.body.appendChild(O)})}async function f(S){const E=La(S);try{const{data:O}=await Ye.get("/api/generate-token/betby",{params:{lang:E}}),R=O?.token??null,L=l9({requestedLang:E,apiLang:O?.lang,token:R});return{token:R,lang:L}}catch(O){return We.error(`Betby token fetch failed: ${O.message}`,{tag:"SPORTSBOOK"}),{token:null,lang:E}}}function m(){o?.kill?.(),o=null,n?.replaceChildren()}function p(){a&&(window.removeEventListener("routeCaptured",a),a=null),i&&(window.removeEventListener("popstate",i),i=null)}function h(S){if(!S.startsWith(Bn))return;const E=S.slice(Bn.length)||"/",O=E.startsWith("/")?E.slice(1):E;t.emit("route-change",Ng(O.split("?")[0]))}function v(){p(),a=S=>{const E=S.detail,O=qK(E?.url);O&&h(O)},i=()=>{const S=`${window.location.pathname}${window.location.search}`;h(S)},window.addEventListener("routeCaptured",a),window.addEventListener("popstate",i)}async function y(){o?.updateOptions&&await o.updateOptions({betSlipOffsetBottom:c()})}let k=null;function _(){typeof window>"u"||(g(),k=()=>void y(),window.addEventListener("resize",k))}function g(){k&&(window.removeEventListener("resize",k),k=null)}async function b(S){const E=++l;r=S,n=S.mountEl,n.id="betby";const O=await d();if(E!==l)return;if(!O)throw t.emit("error",{code:"betby/script",message:"BTRenderer script failed to load"}),new Error("BTRenderer script failed to load");const R=window.BTRenderer;if(!R)throw t.emit("error",{code:"betby/renderer",message:"BTRenderer is not available"}),new Error("BTRenderer is not available");const L=La(S.language),{token:D,lang:I}=await f(L);if(E!==l)return;s=I,m();const V=S.initialPathTail?df(`${Bn}/${S.initialPathTail.replace(/^\/+/,"")}`):LA();o=new R().initialize({brand_id:e.brandId,token:D,onTokenExpired:async()=>{const Y=await f(s);return s=Y.lang,Y.token},themeName:e.themeName,lang:I,target:n,basename:Bn,url:V.startsWith(Bn)?df(V):V,betSlipOffsetTop:Zg,betSlipOffsetBottom:c(),betslipZIndex:999,stickyTop:Zg,onLogin:()=>t.emit("sign-in-requested",void 0),onRegister:()=>t.emit("register-requested",void 0),onSessionRefresh:async()=>{const Y=await f(s);s=Y.lang,await o?.updateOptions?.({token:Y.token})},onRecharge:()=>t.emit("deposit-requested",void 0),onBetSlipStateChange:Y=>{We.info(`Betby bet slip state: ${Y}`,{tag:"SPORTSBOOK"})}}),v(),_(),t.emit("ready",void 0)}return{id:"betby",async init(S){await b(S)},destroy(){l++,p(),g(),m(),n=null,r=null,t.clear()},async setToken(S){if(!r)return;const E={...r,initialToken:S};await b(E)},urlToProviderState:Ng,providerStateToUrl:WK,navigate(){},setCustomCss(){},on(S,E){return t.on(S,E)}}}function Qg(e){const t=(e??"").replace(/^\/+/,"");if(!t)return{page:"home"};const[n,...o]=t.split("/");switch(n){case"Home":return o[0]?{page:"home",params:{sportId:o[0]}}:{page:"home"};case"Upcoming":return o[0]?{page:"upcoming",params:{champId:o[0]}}:{page:"upcoming"};case"UpcomingDetails":return o[0]?{page:"event",params:{eventId:o[0]}}:{page:"home"};case"EventView":return o[0]?{page:"event",params:{eventId:o[0]}}:{page:"home"};case"Live":case"Overview":return{page:"live"};default:return{page:"home"}}}function p9(e){switch(e.page){case"home":return e.params?.sportId?`Home/${e.params.sportId}`:"";case"upcoming":return e.params?.champId?`Upcoming/${e.params.champId}`:"Upcoming";case"live":return"Live";case"event":return e.params?.eventId?`EventView/${e.params.eventId}`:"";default:return""}}const v9="js/partner/IntegrationLoader.min.js",h9="js/partner/bootstrapper.min.js";function g9(e){const t=zm();let n=null,o=null,r=null,s=null;const a=e.serverUrl.replace(/\/$/,""),i={"pt-BR":"br","pt-PT":"pt","en-US":"en","en-GB":"en",nb:"no",pt:"br"};function l(v){return i[v]??v}function c(){return-Math.round(new Date().getTimezoneOffset()/60)}function u(v){const y=window;return new Promise(k=>{y.onDigitainContentLoaded=()=>{v&&e.isMobile&&y.setMobileCustomCss?.(),t.emit("ready",void 0),k()}})}function d(v){const y=window;if(!y.SportFrame)throw new Error("Digitain SDK loaded but SportFrame global not found");const _={home:"Home",live:"Overview",upcoming:"Upcoming",event:"EventView"}[v.initialRoute.page]??"Home",g=v.initialRoute.params??{},b=[["server",a],["sportPartner",e.partnerId],["token",v.initialToken??""],["language",l(v.language)],["currentPage",_],["device","d"],["fixedHeight",!0],["timeZone",c().toString()],["userId",typeof localStorage<"u"&&localStorage.getItem("user_id")||"0"],["balanceChangeCallback",()=>{}],["onContentLoaded","onDigitainContentLoaded"],["unHideOverflow",!0],["customCssUrl",encodeURIComponent(v.customCssUrl??"")],["login",()=>t.emit("sign-in-requested",void 0)],["registration",()=>t.emit("sign-in-requested",void 0)],["onNavigateCallback",S=>{if(S.pageName){const E=S.targetId?`/${String(S.targetId)}`:"";t.emit("route-change",Qg(`${String(S.pageName)}${E}`))}}],["eventsHandler",S=>{S.eventType==="navigateToSport"&&typeof S.data=="object"&&S.data!==null&&"id"in S.data&&t.emit("route-change",{page:"home",params:{sportId:String(S.data.id)}})}]];_==="EventView"&&g.eventId?b.push(["eventId",g.eventId]):_==="Upcoming"&&g.champId&&b.push(["champId",g.champId]),g.isSuperTip&&b.push(["isSuperTip",g.isSuperTip]),y.SportFrame.frame(b)}async function f(v){const y=window;if(!y.Bootstrapper)throw new Error("Digitain SDK loaded but Bootstrapper global not found");const k={server:a,containerId:n?.id||"sport_div_iframe",token:v.initialToken??"",defaultLanguage:l(v.language),timeZone:c(),hashRouterDisabled:!0,unHideOverflow:!0,bottomNavBar:!1,theme:"dark",sportPartner:e.partnerId,externalLinksOpenInside:!0,oddsFormatList:[0,1,2],oddsFormat:0,loginTrigger:()=>{t.emit("sign-in-requested",void 0)},onBalanceChange:()=>{},onUniqueIdChange:()=>{},events:{onAppMount:()=>{y.onDigitainContentLoaded?.()}}},_=e.vertical==="esports"?"ESport":"Mobile";return await y.Bootstrapper.boot(k,{name:_})}function m(v){const y=window;if(!y.Bootstrapper)throw new Error("Digitain SDK loaded but Bootstrapper global not found");const k={server:a,containerId:n?.id||"sport_div_iframe",token:v.initialToken??"",defaultLanguage:l(v.language),loginTrigger:()=>{t.emit("sign-in-requested",void 0)},onUniqueIdChange:()=>{y.onDigitainContentLoaded?.()},events:{onAppMount:()=>{y.onDigitainContentLoaded?.()}},hashRouterDisabled:!1,theme:"dark",oddsFormatList:[0,1,2],oddsFormat:0,sportPartner:e.partnerId};y.Bootstrapper.bootIframe(k,{name:"ESport"})}async function p(v){n=v.mountEl,n.id||(n.id="sport_div_iframe");const y=u(v.customCssUrl),k=`${a}/${h9}`;if(await hf(k),e.vertical==="esports")m(v),t.emit("ready",void 0);else if(e.isMobile){const _=await f(v);if(_&&typeof _=="object"){const g=_;if(typeof g.addEventListener=="function"){const b=g.addEventListener;b("onNavigate",function(S){if(S.data&&typeof S.data=="object"){const E=S.data;E.location&&t.emit("route-change",{page:String(E.location),params:{}})}}),b("navigateToEventPage",function(S){if(S.data&&typeof S.data=="object"){const E=S.data;E.targetId&&t.emit("route-change",{page:"event",params:{eventId:String(E.targetId)}})}})}if(typeof _.to=="function"){const S=_.to;v.initialRoute&&v.initialRoute.page&&S(v.initialRoute.page,{subRoute:v.initialRoute.params?.subRoute||void 0,query:v.initialRoute.params?.query||void 0})}}await Promise.race([y,new Promise((g,b)=>setTimeout(()=>b(new Error("Digitain SDK ready timeout after 30 s")),3e4))])}else{const _=`${a}/${v9}`;await hf(_),d(v),await Promise.race([y,new Promise((g,b)=>setTimeout(()=>b(new Error("Digitain SDK ready timeout after 30 s")),3e4))])}if(!e.isMobile&&e.vertical!=="esports"&&v.initialRoute.page==="home"&&v.initialRoute.params?.sportId){const _=window,g=parseInt(v.initialRoute.params.sportId,10);isNaN(g)||(o=setTimeout(()=>{o=null,_.SportFrame?.openEvent?.({sportId:g,eventStatus:"prematch"})},1e3))}}return{id:"digitain",async init(v){r=v,s=v.initialToken??null,await p(v)},destroy(){o!==null&&(clearTimeout(o),o=null);const v=window;delete v.onDigitainContentLoaded,n&&(n.replaceChildren(),n=null),t.clear()},setToken(v){const y=v??null;y!==s&&(s=y,r&&(o!==null&&(clearTimeout(o),o=null),n&&n.replaceChildren(),p({...r,initialToken:y}).catch(k=>{t.emit("error",{code:"digitain/reboot-failed",message:k.message})})))},setCustomCss(){},urlToProviderState:Qg,providerStateToUrl:p9,navigate(){},on(v,y){return t.on(v,y)}}}const b9={digitain:{supportedModes:["sports","esports"]},altenar:{supportedModes:["sports"]},betby:{supportedModes:["sports"]}};function y9(e,t){return b9[e]?.supportedModes.includes(t)??!1}class _9 extends Error{providerId;constructor(t){super(`Unknown sportsbook provider: "${t}"`),this.name="SportsbookUnknownProviderError",this.providerId=t}}const w9={digitain:g9,altenar:r9,betby:m9};function DX(e,t){const n=w9[e];if(!n)throw new _9(e);return n(t)}const S9=e=>{if(!e.path.startsWith("/sports"))return!0;const t=Ze().business;if(!t.sport_enabled)return"/";if(e.path.startsWith("/sports/esports")){const n=t.sport_sportbook_type;if(!n||!y9(n,"esports"))return"/sports"}return!0};function x9(e){e.beforeEach(S9),e.beforeEach(NG),e.beforeEach(xG),e.beforeEach(_G),e.beforeEach(PG),e.beforeEach(jG),e.beforeEach(UG),e.beforeEach($G),e.beforeEach(FG),e.beforeEach(b4),e.afterEach(t=>EG(t))}const k9={"/src/pages/AlertTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"Alert Test"}]},"/src/pages/AnnualStatement/Index.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.annual-statement"}]},"/src/pages/Casino/Favorites.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{textKey:"breadcrumb.favorites",link:"/casino/favorites"}]},"/src/pages/Casino/Index.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"}]},"/src/pages/Casino/[Slug].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{text:"",link:""}]},"/src/pages/FavoritesTest.vue":{},"/src/pages/Index.vue":{auth:!1},"/src/pages/IpBlockedVpnTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"IP Blocked / VPN Test"}]},"/src/pages/ModalTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"Modal Test"}]},"/src/pages/Promotions/Index.vue":{path:"/promotions",meta:{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.promotions",link:"/promotions"}]}},"/src/pages/Promotions/[Slug].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.promotions",link:"/promotions"},{text:"",link:""}]},"/src/pages/Providers/Index.vue":{path:"/providers",meta:{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{textKey:"breadcrumb.providers",link:"/providers"}]}},"/src/pages/Providers/[Slug].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{textKey:"breadcrumb.providers",link:"/providers"},{text:"",link:""}]},"/src/pages/PrudentialLimitsTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"Prudential Limits Test"}]},"/src/pages/Recover.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"breadcrumb.recoverPassword"}]},"/src/pages/Ref/[Id].vue":{auth:!1,referralEntry:!0},"/src/pages/RulesBetting.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.rules-betting",link:"/rules-betting"}]},"/src/pages/SessionExpiredTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"Session Expired Test"}]},"/src/pages/SlugTest/[Slug].vue":{auth:!1,restrictedSlug:{allowed:["terms","privacy"]}},"/src/pages/Sports/Esports/[...page].vue":{auth:!1},"/src/pages/Sports/[...page].vue":{auth:!1},"/src/pages/User/Account/Document.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.account",link:"/user/account"},{textKey:"userArea.breadcrumb.document",link:"/user/account/document"}]},"/src/pages/User/Account/Index.vue":{auth:!0,refreshIp:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.account",link:"/user/account"}]},"/src/pages/User/Account/Password.vue":{auth:!0,requireVerification:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.account",link:"/user/account"},{textKey:"userArea.breadcrumb.password",link:"/user/account/password"}]},"/src/pages/User/Gamification/Badges.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.badges",link:"/user/gamification/badges"}]},"/src/pages/User/Gamification/Index.vue":{crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"}]},"/src/pages/User/Gamification/MiniGames.vue":{crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.miniGames",link:"/user/gamification/mini-games"}]},"/src/pages/User/Gamification/Missions.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.missions",link:"/user/gamification/missions"}]},"/src/pages/User/Gamification/Niveis.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.levels",link:"/user/gamification/niveis"}]},"/src/pages/User/Gamification/Shop.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.shop",link:"/user/gamification/shop"}]},"/src/pages/User/Gamification/Tournaments.vue":{crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.gamification",link:"/user/gamification"},{textKey:"userArea.breadcrumb.tournaments",link:"/user/gamification/tournaments"}]},"/src/pages/User/Indications/Index.vue":{auth:!0,userAreaSideMenu:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.indications",link:"/user/indications"}]},"/src/pages/User/Promotion/Coupon.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.promotion",link:"/user/promotion"},{textKey:"userArea.breadcrumb.coupon",link:"/user/promotion/coupon"}]},"/src/pages/User/Promotion/Index.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.promotion",link:"/user/promotion"}]},"/src/pages/User/Promotion/Rewards.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.promotion",link:"/user/promotion"},{textKey:"userArea.breadcrumb.rewards",link:"/user/promotion/rewards"}]},"/src/pages/User/Protection/Centralized.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.protection",link:"/user/protection"},{textKey:"userArea.breadcrumb.centralizedSelfExclusion",link:"/user/protection/centralized"}]},"/src/pages/User/Protection/Exclusion.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.protection",link:"/user/protection"},{textKey:"userArea.breadcrumb.exclusion",link:"/user/protection/exclusion"}]},"/src/pages/User/Protection/Index.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.protection",link:"/user/protection"}]},"/src/pages/User/Protection/Suspension.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.protection",link:"/user/protection"},{textKey:"userArea.breadcrumb.suspension",link:"/user/protection/suspension"}]},"/src/pages/User/Wallet/AnnualStatement.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.wallet",link:"/user/wallet"},{textKey:"userArea.breadcrumb.annualStatement",link:"/user/wallet/annual-statement"}]},"/src/pages/User/Wallet/Deposit/Index.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.deposit",link:"/user/wallet/deposit"}]},"/src/pages/User/Wallet/Index.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.wallet",link:"/user/wallet"}]},"/src/pages/User/Wallet/Withdraw/Index.vue":{auth:!0,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"userArea.breadcrumb.wallet",link:"/user/wallet"},{textKey:"userArea.breadcrumb.withdraw",link:"/user/wallet/withdraw"}]},"/src/pages/VuetifyTest.vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{text:"Vuetify Test"}]},"/src/pages/[Regulations].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"}],crumbSlugSegment:!0,restrictedSlug:{allowed:["about","affiliates","aml","betting-terms","cookies-policy","faq","funds","funds-and-transactions-policy","pld-ft-policy","privacy-policy","responsible-gaming","rules","suport","terms-and-conditions"]}},"/src/pages/play/[Id].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{text:""}]},"/src/pages/play/[Provider]/[Name].vue":{auth:!1,crumb:[{textKey:"breadcrumb.home",link:"/"},{textKey:"breadcrumb.casino",link:"/casino"},{text:""}]}};function E9(){const n={...Object.assign({"/src/pages/AlertTest.vue":()=>M(()=>import("./AlertTest-DuoUAhwb.js"),__vite__mapDeps([12,13,14])),"/src/pages/AnnualStatement/Index.vue":()=>M(()=>import("./Index-Cpx3y69Z.js"),__vite__mapDeps([15,16,17,18])),"/src/pages/Casino/Favorites.vue":()=>M(()=>import("./Favorites-CWRHXNSk.js"),__vite__mapDeps([19,20,21,22,23,24,25])),"/src/pages/Casino/Index.vue":()=>M(()=>import("./Index-CKzxztFX.js"),__vite__mapDeps([26,23,21,22,27,28,29,30,31,32,24,25,33])),"/src/pages/Casino/[Slug].vue":()=>M(()=>import("./_Slug_-BvX_w7tb.js"),__vite__mapDeps([34,23,21,22,27,28,29,30,31,32,24,25,33,35,36])),"/src/pages/FavoritesTest.vue":()=>M(()=>import("./FavoritesTest-BeEMbwq1.js"),__vite__mapDeps([37,21,22])),"/src/pages/Index.vue":()=>M(()=>import("./Index-D7HOUml7.js"),__vite__mapDeps([38,29,39,20,21,22,35,23,24,25,40])),"/src/pages/IpBlockedVpnTest.vue":()=>M(()=>import("./IpBlockedVpnTest-DQs3NvDu.js"),__vite__mapDeps([41,13,14])),"/src/pages/ModalTest.vue":()=>M(()=>import("./ModalTest-BtRD-vc1.js"),__vite__mapDeps([42,43,44,30,31,45,46,47,13,14,48,49,50,51,52])),"/src/pages/Promotions/Index.vue":()=>M(()=>import("./Index-B6xUJD03.js"),__vite__mapDeps([53,54])),"/src/pages/Promotions/[Slug].vue":()=>M(()=>import("./_Slug_-rc-4k_4Y.js"),__vite__mapDeps([55,36,56])),"/src/pages/Providers/Index.vue":()=>M(()=>import("./Index-CJgF8Nnt.js"),__vite__mapDeps([57,29,39,24,25])),"/src/pages/Providers/[Slug].vue":()=>M(()=>import("./_Slug_-BnLTgEIK.js"),__vite__mapDeps([58,23,21,22,27,28,29,30,31,32,24,25,39,36])),"/src/pages/PrudentialLimitsTest.vue":()=>M(()=>import("./PrudentialLimitsTest-C5TuXyQN.js"),__vite__mapDeps([59,13,14])),"/src/pages/Recover.vue":()=>M(()=>import("./Recover-DwScfjb6.js"),__vite__mapDeps([60,13,14,45,46,61])),"/src/pages/Ref/[Id].vue":()=>M(()=>import("./_Id_-CTddzIDP.js"),[]),"/src/pages/RulesBetting.vue":()=>M(()=>import("./RulesBetting-DSNd4osG.js"),__vite__mapDeps([62,63])),"/src/pages/SessionExpiredTest.vue":()=>M(()=>import("./SessionExpiredTest-D7Pymou_.js"),__vite__mapDeps([64,13,14])),"/src/pages/SlugTest/[Slug].vue":()=>M(()=>import("./_Slug_-HmIAt_Ey.js"),[]),"/src/pages/Sports/Esports/[...page].vue":()=>M(()=>import("./_...page_-DH2suXBr.js"),__vite__mapDeps([65,66,67])),"/src/pages/Sports/[...page].vue":()=>M(()=>import("./_...page_-D4otOO6A.js"),__vite__mapDeps([68,66,67])),"/src/pages/User/Account/Document.vue":()=>M(()=>import("./Document-DfIBm18t.js"),__vite__mapDeps([69,70])),"/src/pages/User/Account/Index.vue":()=>M(()=>import("./Index-BZfloqFM.js"),__vite__mapDeps([71,72,73,74,75,76,77,78])),"/src/pages/User/Account/Password.vue":()=>M(()=>import("./Password-DSXYEkMi.js"),__vite__mapDeps([79,80])),"/src/pages/User/Gamification/Badges.vue":()=>M(()=>import("./Badges-COghWK59.js"),[]),"/src/pages/User/Gamification/Index.vue":()=>M(()=>import("./Index-BIqOl9yf.js"),__vite__mapDeps([81,82,83,84,85,76,77,86,87,88,89])),"/src/pages/User/Gamification/MiniGames.vue":()=>M(()=>import("./MiniGames-CLejIti4.js"),__vite__mapDeps([90,88,87,83,73])),"/src/pages/User/Gamification/Missions.vue":()=>M(()=>import("./Missions-5RBrgusK.js"),__vite__mapDeps([91,82,83,92])),"/src/pages/User/Gamification/Niveis.vue":()=>M(()=>import("./Niveis-CCdK3OI3.js"),__vite__mapDeps([93,87,83,86,94])),"/src/pages/User/Gamification/Shop.vue":()=>M(()=>import("./Shop-D9kIgi9I.js"),__vite__mapDeps([95,84,83,96,97])),"/src/pages/User/Gamification/Tournaments.vue":()=>M(()=>import("./Tournaments-DzSP2DFn.js"),__vite__mapDeps([98,85,83,99])),"/src/pages/User/Indications/Index.vue":()=>M(()=>import("./Index-6wm-VJV3.js"),__vite__mapDeps([100,20,21,22,101])),"/src/pages/User/Promotion/Coupon.vue":()=>M(()=>import("./Coupon-BVRrXK-P.js"),__vite__mapDeps([102,103])),"/src/pages/User/Promotion/Index.vue":()=>M(()=>import("./Index-_dDu1EOs.js"),__vite__mapDeps([104,96,105])),"/src/pages/User/Promotion/Rewards.vue":()=>M(()=>import("./Rewards-BJOPPvoH.js"),__vite__mapDeps([106,107])),"/src/pages/User/Protection/Centralized.vue":()=>M(()=>import("./Centralized-_Hoksob3.js"),__vite__mapDeps([108,109,110])),"/src/pages/User/Protection/Exclusion.vue":()=>M(()=>import("./Exclusion-mR2gp9Jd.js"),__vite__mapDeps([111,112,110,113])),"/src/pages/User/Protection/Index.vue":()=>M(()=>import("./Index-0cGQoxfE.js"),__vite__mapDeps([114,109,110,112,113,115,116,50,51,117])),"/src/pages/User/Protection/Suspension.vue":()=>M(()=>import("./Suspension-CHd5JbtO.js"),__vite__mapDeps([118,115,110,116])),"/src/pages/User/Wallet/AnnualStatement.vue":()=>M(()=>import("./AnnualStatement-B6SXl_B6.js"),__vite__mapDeps([119,16])),"/src/pages/User/Wallet/Deposit/Index.vue":()=>M(()=>import("./Index-DD2R_xOx.js"),__vite__mapDeps([120,76,77])),"/src/pages/User/Wallet/Index.vue":()=>M(()=>import("./Index-DMONz3vV.js"),__vite__mapDeps([121,17,50,51,122])),"/src/pages/User/Wallet/Withdraw/Index.vue":()=>M(()=>import("./Index-Cj0aHgcy.js"),__vite__mapDeps([123,73,72,76,77,124])),"/src/pages/VuetifyTest.vue":()=>M(()=>import("./VuetifyTest-bdT6aafE.js"),__vite__mapDeps([125,13,14,48,49,30,31,74,75,50,51,45,46,126])),"/src/pages/[Regulations].vue":()=>M(()=>import("./_Regulations_-Bk1Z6WUz.js"),__vite__mapDeps([127,44])),"/src/pages/play/[Id].vue":()=>M(()=>import("./_Id_-BXLEe7W8.js"),__vite__mapDeps([128,129,21,22,43,44,30,31,45,46,47,20,33,23,28,130])),"/src/pages/play/[Provider]/[Name].vue":()=>M(()=>import("./_Name_-gZHW8gwX.js"),__vite__mapDeps([131,129,21,22,43,44,30,31,45,46,47,20,33,23,28,130]))}),...Object.assign({})},o=[...yG('["./src/pages/AlertTest","./src/pages/AnnualStatement/AnnualStatement.spec.ts","./src/pages/AnnualStatement/Index","./src/pages/Casino/Favorites.spec.ts","./src/pages/Casino/Favorites","./src/pages/Casino/Index.spec.ts","./src/pages/Casino/Index","./src/pages/Casino/[Slug].spec.ts","./src/pages/Casino/[Slug]","./src/pages/FavoritesTest","./src/pages/Index","./src/pages/IpBlockedVpnTest","./src/pages/ModalTest","./src/pages/Promotions/Index","./src/pages/Promotions/PromotionsPages.spec.ts","./src/pages/Promotions/[Slug]","./src/pages/Providers/Index","./src/pages/Providers/ProvidersPages.spec.ts","./src/pages/Providers/[Slug]","./src/pages/PrudentialLimitsTest","./src/pages/Recover","./src/pages/Ref/[Id]","./src/pages/RulesBetting.spec.ts","./src/pages/RulesBetting","./src/pages/SessionExpiredTest","./src/pages/SlugTest/[Slug]","./src/pages/Sports/Esports/[...page]","./src/pages/Sports/[...page]","./src/pages/User/Account/Account.spec.ts","./src/pages/User/Account/Document.spec.ts","./src/pages/User/Account/Document","./src/pages/User/Account/Index","./src/pages/User/Account/Password","./src/pages/User/Gamification/Badges","./src/pages/User/Gamification/Index.spec.ts","./src/pages/User/Gamification/Index","./src/pages/User/Gamification/MiniGames.spec.ts","./src/pages/User/Gamification/MiniGames","./src/pages/User/Gamification/Missions","./src/pages/User/Gamification/Niveis.spec.ts","./src/pages/User/Gamification/Niveis","./src/pages/User/Gamification/Shop","./src/pages/User/Gamification/Tournaments.spec.ts","./src/pages/User/Gamification/Tournaments","./src/pages/User/Indications/Index.spec.ts","./src/pages/User/Indications/Index","./src/pages/User/Indications/referral.ts","./src/pages/User/Promotion/Coupon.spec.ts","./src/pages/User/Promotion/Coupon","./src/pages/User/Promotion/Index","./src/pages/User/Promotion/Promotion.spec.ts","./src/pages/User/Promotion/Rewards.spec.ts","./src/pages/User/Promotion/Rewards","./src/pages/User/Protection/Centralized","./src/pages/User/Protection/Exclusion","./src/pages/User/Protection/Index","./src/pages/User/Protection/Suspension","./src/pages/User/Wallet/AnnualStatement.spec.ts","./src/pages/User/Wallet/AnnualStatement","./src/pages/User/Wallet/Deposit/Deposit.spec.ts","./src/pages/User/Wallet/Deposit/Index","./src/pages/User/Wallet/Index.spec.ts","./src/pages/User/Wallet/Index","./src/pages/User/Wallet/Withdraw/Index","./src/pages/User/Wallet/Withdraw/Withdraw.spec.ts","./src/pages/VuetifyTest","./src/pages/[Regulations]","./src/pages/play/[Id]","./src/pages/play/[Provider]/[Name]"]',n,k9)],r=pG(o);return x9(r),r}function C9(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Zn=typeof window<"u",A9=Zn&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),T9=Zn&&"matchMedia"in window&&typeof window.matchMedia=="function";function P9(e,t,n){const o=t.length-1;if(o<0)return e===void 0?n:e;for(let r=0;rt+o)}function tb(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function ad(e,t){return t.every(n=>e.hasOwnProperty(n))}function I9(e,t){const n={};for(const o of t)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function R9(e,t=0,n=1){return Math.max(t,Math.min(n,e))}function nb(e,t,n="0"){return e+n.repeat(Math.max(0,t-e.length))}function ob(e,t,n="0"){return n.repeat(Math.max(0,t-e.length))+e}function O9(e,t=1){const n=[];let o=0;for(;ol){const d=(c**$9-l**L9)*B9;u=d-ub?0:d>-lb?d-d*cb*qi:d+qi}return u*100}const Gl=.20689655172413793,F9=e=>e>Gl**3?Math.cbrt(e):e/(3*Gl**2)+4/29,j9=e=>e>Gl?e**3:3*Gl**2*(e-4/29);function qA(e){const t=F9,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function GA(e){const t=j9,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const U9=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],z9=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,H9=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],K9=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function YA(e){const t=Array(3),n=z9,o=U9;for(let r=0;r<3;++r)t[r]=Math.round(R9(n(o[r][0]*e[0]+o[r][1]*e[1]+o[r][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Hm({r:e,g:t,b:n}){const o=[0,0,0],r=K9,s=H9;e=r(e/255),t=r(t/255),n=r(n/255);for(let a=0;a<3;++a)o[a]=s[a][0]*e+s[a][1]*t+s[a][2]*n;return o}const fb=/^(?(?:rgb|hsl)a?)\((?.+)\)/,W9={rgb:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),rgba:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),hsl:(e,t,n,o)=>mb({h:e,s:t,l:n,a:o}),hsla:(e,t,n,o)=>mb({h:e,s:t,l:n,a:o}),hsv:(e,t,n,o)=>Da({h:e,s:t,v:n,a:o}),hsva:(e,t,n,o)=>Da({h:e,s:t,v:n,a:o})};function Mo(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&fb.test(e)){const{groups:t}=e.match(fb),{fn:n,values:o}=t,r=o.split(/,\s*|\s*\/\s*|\s+/).map((s,a)=>s.endsWith("%")||a>0&&a<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return W9[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),G9(t)}else if(typeof e=="object"){if(ad(e,["r","g","b"]))return e;if(ad(e,["h","s","l"]))return Da(JA(e));if(ad(e,["h","s","v"]))return Da(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Da(e){const{h:t,s:n,v:o,a:r}=e,s=i=>{const l=(i+t/60)%6;return o-o*n*Math.max(Math.min(l,4-l,1),0)},a=[s(5),s(3),s(1)].map(i=>Math.round(i*255));return{r:a[0],g:a[1],b:a[2],a:r}}function mb(e){return Da(JA(e))}function JA(e){const{h:t,s:n,l:o,a:r}=e,s=o+n*Math.min(o,1-o),a=s===0?0:2-2*o/s;return{h:t,s:a,v:s,a:r}}function Gi(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function q9({r:e,g:t,b:n,a:o}){return`#${[Gi(e),Gi(t),Gi(n),o!==void 0?Gi(Math.round(o*255)):""].join("")}`}function G9(e){e=Y9(e);let[t,n,o,r]=O9(e,2).map(s=>parseInt(s,16));return r=r===void 0?r:r/255,{r:t,g:n,b:o,a:r}}function Y9(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=nb(nb(e,6),8,"F")),e}function J9(e,t){const n=qA(Hm(e));return n[0]=n[0]+t*10,YA(GA(n))}function X9(e,t){const n=qA(Hm(e));return n[0]=n[0]-t*10,YA(GA(n))}function Z9(e){const t=Mo(e);return Hm(t)[1]}function Q9(e){const t=Math.abs(db(Mo(0),Mo(e)));return Math.abs(db(Mo(16777215),Mo(e)))>Math.min(t,50)}function XA(e,t){return n=>Object.keys(e).reduce((o,r)=>{const a=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?o[r]={...a,default:n[r]}:o[r]=a,t&&!o[r].source&&(o[r].source=t),o},{})}function Km(e,t){const n=zn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function e7(e,t=Km("injectSelf")){const{provides:n}=t;if(n&&e in n)return n[e]}const Va=Symbol.for("vuetify:defaults");function t7(e){return U(e)}function ZA(){const e=Ue(Va);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function n7(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[is(t)]<"u")}function o7(e={},t,n=ZA()){const o=Km("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=A(()=>n.value?.[e._as??t]),s=new Proxy(e,{get(l,c){const u=Reflect.get(l,c);if(c==="class"||c==="style")return[r.value?.[c],u].filter(m=>m!=null);if(n7(o.vnode,c))return u;const d=r.value?.[c];if(d!==void 0)return d;const f=n.value?.global?.[c];return f!==void 0?f:u}}),a=pe();xt(()=>{if(r.value){const l=Object.entries(r.value).filter(([c])=>c.startsWith(c[0].toUpperCase()));a.value=l.length?Object.fromEntries(l):void 0}else a.value=void 0});function i(){const l=e7(Va,o);yt(Va,A(()=>a.value?Wo(l?.value??{},a.value):l?.value))}return{props:s,provideSubDefaults:i}}function vi(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=XA(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return I9(o,t)},e.props._as=String,e.setup=function(o,r){const s=ZA();if(!s.value)return e._setup(o,r);const{props:a,provideSubDefaults:i}=o7(o,o._as??e.name,s),l=e._setup(a,r);return i(),l}}return e}function r7(e=!0){return t=>(e?vi:Ae)(t)}const s7={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1},a7=[String,Function,Object,Array],pb=Symbol.for("vuetify:icons"),qc=XA({icon:{type:a7},tag:{type:[String,Object,Function],required:!0}},"icon");r7()({name:"VComponentIcon",props:qc(),setup(e,{slots:t}){return()=>{const n=e.icon;return x(e.tag,null,{default:()=>[e.icon?x(n,null,null):t.default?.()]})}}});const i7=vi({name:"VSvgIcon",inheritAttrs:!1,props:qc(),setup(e,{attrs:t}){return()=>x(e.tag,ke(t,{style:null}),{default:()=>[w("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?w("path",{d:n[0],"fill-opacity":n[1]},null):w("path",{d:n},null)):w("path",{d:e.icon},null)])]})}});vi({name:"VLigatureIcon",props:qc(),setup(e){return()=>x(e.tag,null,{default:()=>[e.icon]})}});const Wm=vi({name:"VClassIcon",props:qc(),setup(e){return()=>x(e.tag,{class:te(e.icon)},null)}}),l7={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off",search:"mdi-magnify"},c7={component:e=>mn(Wm,{...e,class:"mdi"})};function u7(){return{svg:{component:i7},class:{component:Wm}}}function d7(e){const t=u7(),n=e?.defaultSet??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=c7),Wo({defaultSet:n,sets:t,aliases:{...l7,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}function f7(e,t){let n;function o(){n=nr(),n.run(()=>t.length?t(()=>{n?.stop(),o()}):t())}le(e,r=>{r&&!n?o():r||(n?.stop(),n=void 0)},{immediate:!0}),Ct(()=>{n?.stop()})}function m7(e,t,n,o=s=>s,r=s=>s){const s=Km("useProxiedModel"),a=U(e[t]!==void 0?e[t]:n),i=is(t),c=A(i!==t?()=>(e[t],!!((s.vnode.props?.hasOwnProperty(t)||s.vnode.props?.hasOwnProperty(i))&&(s.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||s.vnode.props?.hasOwnProperty(`onUpdate:${i}`)))):()=>(e[t],!!(s.vnode.props?.hasOwnProperty(t)&&s.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));f7(()=>!c.value,()=>{le(()=>e[t],d=>{a.value=d})});const u=A({get(){const d=e[t];return o(c.value?d:a.value)},set(d){const f=r(d),m=Ve(c.value?e[t]:a.value);m===f||o(m)===d||(a.value=f,s?.emit(`update:${t}`,f))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:a.value}),u}const p7={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second",notAllowed:"Value is not allowed"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},command:{search:"Type a command or search..."},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},vb="$vuetify.",hb=(e,t)=>e.replace(/\{(\d+)\}/g,(n,o)=>String(t[Number(o)])),QA=(e,t,n)=>(o,...r)=>{if(!o.startsWith(vb))return hb(o,r);const s=o.replace(vb,""),a=e.value&&n.value[e.value],i=t.value&&n.value[t.value];let l=eb(a,s,null);return l||(`${o}${e.value}`,l=eb(i,s,null)),l||(l=o),typeof l!="string"&&(l=o),hb(l,r)};function qm(e,t){return(n,o)=>new Intl.NumberFormat([e.value,t.value],o).format(n)}function eT(e,t){return qm(e,t)(.1).includes(",")?",":"."}function id(e,t,n){const o=m7(e,t,e[t]??n.value);return o.value=e[t]??n.value,le(n,r=>{e[t]==null&&(o.value=n.value)}),o}function tT(e){return t=>{const n=id(t,"locale",e.current),o=id(t,"fallback",e.fallback),r=id(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:o,messages:r,decimalSeparator:K(()=>eT(n,o)),t:QA(n,o,r),n:qm(n,o),provide:tT({current:n,fallback:o,messages:r})}}}function v7(e){const t=pe(e?.locale??"en"),n=pe(e?.fallback??"en"),o=U({en:p7,...e?.messages});return{name:"vuetify",current:t,fallback:n,messages:o,decimalSeparator:K(()=>e?.decimalSeparator??eT(t,n)),t:QA(t,n,o),n:qm(t,n),provide:tT({current:t,fallback:n,messages:o})}}const gb=Symbol.for("vuetify:locale");function h7(e){return e.name!=null}function g7(e){const t=e?.adapter&&h7(e?.adapter)?e?.adapter:v7(e),n=y7(t,e);return{...t,...n}}function b7(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function y7(e,t){const n=U(t?.rtl??b7()),o=A(()=>n.value[e.current.value]??!1);return{isRtl:o,rtl:n,rtlClasses:K(()=>`v-locale--is-${o.value?"rtl":"ltr"}`)}}function hi(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function _7(e,t,n){const o=[];let r=[];const s=nT(e),a=oT(e),i=n??hi(t)?.firstDay??0,l=(s.getDay()-i+7)%7,c=(a.getDay()-i+7)%7;for(let u=0;u0&&o.push(r),o}function ma(e,t,n){let o=(n??hi(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(o)||(o=0);const r=new Date(e);for(;r.getDay()!==o;)r.setDate(r.getDate()-1);return r}function w7(e,t){const n=new Date(e),o=((hi(t)?.firstDay??0)+6)%7;for(;n.getDay()!==o;)n.setDate(n.getDate()+1);return n}function nT(e){return new Date(e.getFullYear(),e.getMonth(),1)}function oT(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function S7(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const x7=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function rT(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(x7.test(e))return S7(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const bb=new Date(2e3,0,2);function k7(e,t,n){const o=t??hi(e)?.firstDay??0;return WA(7).map(r=>{const s=new Date(bb);return s.setDate(bb.getDate()+o+r),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(s)})}function E7(e,t,n,o){const r=rT(e)??new Date,s=o?.[t];if(typeof s=="function")return s(r,t,n);let a={};switch(t){case"fullDate":a={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":a={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const i=r.getDate(),l=new Intl.DateTimeFormat(n,{month:"long"}).format(r);return`${i} ${l}`;case"normalDateWithWeekday":a={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":a={month:"short",day:"numeric"};break;case"year":a={year:"numeric"};break;case"month":a={month:"long"};break;case"monthShort":a={month:"short"};break;case"monthAndYear":a={month:"long",year:"numeric"};break;case"monthAndDate":a={month:"long",day:"numeric"};break;case"weekday":a={weekday:"long"};break;case"weekdayShort":a={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(r.getDate());case"hours12h":a={hour:"numeric",hour12:!0};break;case"hours24h":a={hour:"numeric",hour12:!1};break;case"minutes":a={minute:"numeric"};break;case"seconds":a={second:"numeric"};break;case"fullTime":a={hour:"numeric",minute:"numeric"};break;case"fullTime12h":a={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":a={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":a={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":a={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":a={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":a={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(n,a).format(r).replace(/, /g," ");case"keyboardDateTime12h":return a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(n,a).format(r).replace(/, /g," ");case"keyboardDateTime24h":return a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(n,a).format(r).replace(/, /g," ");default:a=s??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,a).format(r)}function C7(e,t){const n=e.toJsDate(t),o=n.getFullYear(),r=ob(String(n.getMonth()+1),2,"0"),s=ob(String(n.getDate()),2,"0");return`${o}-${r}-${s}`}function A7(e){const[t,n,o]=e.split("-").map(Number);return new Date(t,n-1,o)}function T7(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function P7(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function kr(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function I7(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function R7(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function Ma(e){return e.getFullYear()}function O7(e){return e.getMonth()}function $7(e,t,n,o){const r=hi(t),s=n??r?.firstDay??0,a=r?.firstWeekSize??1;return o!==void 0?L7(e,t,s,o):D7(e,t,s,a)}function L7(e,t,n,o){const r=(7+o-n)%7,s=ma(e,t,n),a=kr(s,6);function i(f){return(7+new Date(f,0,1).getDay()-n)%7}let l=Ma(s);l=o&&i++;const l=new Date(i,0,1),c=a(i),u=c>=o?kr(l,c-7):kr(l,c);return 1+Xl(Gm(r),Ba(u),"weeks")}function V7(e){return e.getDate()}function M7(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function B7(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function N7(e){return e.getHours()}function F7(e){return e.getMinutes()}function j7(e){return new Date(e.getFullYear(),0,1)}function U7(e){return new Date(e.getFullYear(),11,31)}function z7(e,t){return Jl(e,t[0])||Jl(e,t[1])||Yl(e,t[0])&&W7(e,t[1])}function H7(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Yl(e,t){return e.getTime()>t.getTime()}function K7(e,t){return Yl(Ba(e),Ba(t))}function W7(e,t){return e.getTime(){n.locale=e.locale[o]??o??n.locale}),n}const _b=Symbol.for("vuetify:display"),wb={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:840,lg:1145,xl:1545,xxl:2138}},sY=(e=wb)=>Wo(wb,e);function Sb(e){return Zn&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function xb(e){return Zn&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function kb(e){const t=Zn&&!e?window.navigator.userAgent:"ssr";function n(p){return!!t.match(p)}const o=n(/android/i),r=n(/iphone|ipad|ipod/i),s=n(/cordova/i),a=n(/electron/i),i=n(/chrome/i),l=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),d=n(/win/i),f=n(/mac/i),m=n(/linux/i);return{android:o,ios:r,cordova:s,electron:a,chrome:i,edge:l,firefox:c,opera:u,win:d,mac:f,linux:m,touch:A9,ssr:t==="ssr"}}function aY(e,t){const{thresholds:n,mobileBreakpoint:o}=sY(e),r=pe(xb(t)),s=pe(kb(t)),a=vt({}),i=pe(Sb(t));function l(){r.value=xb(),i.value=Sb()}function c(){l(),s.value=kb()}return xt(()=>{const u=i.value=n.xxl,v=u?"xs":d?"sm":f?"md":m?"lg":p?"xl":"xxl",y=typeof o=="number"?o:n[o],k=i.value{window.removeEventListener("resize",l)},!0)),{...Of(a),update:c,ssr:!!t}}const iY=Symbol.for("vuetify:goto");function lY(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:s7}}function cY(e,t){return{rtl:t.isRtl,options:Wo(lY(),e)}}const Eb=Symbol.for("vuetify:theme");function Cb(){return{defaultTheme:"system",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"black","elevation-overlay-opacity-step":"2%"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"white","elevation-overlay-opacity-step":"2%"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,utilities:!0}}function uY(e=Cb()){const t=Cb();return e?Wo(t,e):{...t,isDisabled:!0}}function ur(e,t,n,o){e.push(`${pY(t,o)} { `,...n.map(r=>` ${r}; `),`} `)}function Ab(e,t){const n=e.dark?2:1,o=e.dark?1:2,r=[];for(const[s,a]of Object.entries(e.colors)){const i=Mo(a);r.push(`--${t}theme-${s}: ${i.r},${i.g},${i.b}`+(i.a==null?"":`,${i.a}`)),s.startsWith("on-")||r.push(`--${t}theme-${s}-overlay-multiplier: ${Z9(a)>.18?n:o}`)}for(const[s,a]of Object.entries(e.variables)){const i=typeof a=="string"&&a.startsWith("#")?Mo(a):void 0,l=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--${t}${s}: ${l??a}`)}return r}function dY(e,t,n){const o={};if(n)for(const r of["lighten","darken"]){const s=r==="lighten"?J9:X9;for(const a of WA(n[r],1))o[`${e}-${r}-${a}`]=q9(s(Mo(t),a))}return o}function fY(e,t){if(!t)return{};let n={};for(const o of t.colors){const r=e[o];r&&(n={...n,...dY(o,r,t)})}return n}function mY(e,t){const n={};for(const o of Object.keys(e)){if(o.startsWith("on-")||e[`on-${o}`])continue;const r=`on-${o}`,s=Mo(e[o]);n[r]=Q9(s)?t["theme-on-dark"]:t["theme-on-light"]}return n}function pY(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function vY(e,t,n){const o=hY(e,t);o&&(o.innerHTML=n)}function hY(e,t){if(!Zn)return null;let n=document.getElementById(e);return n||(n=document.createElement("style"),n.id=e,n.type="text/css",t&&n.setAttribute("nonce",t),document.head.appendChild(n)),n}function gY(e){const t=uY(e),n=pe(t.defaultTheme),o=U(t.themes),r=pe("light"),s=A({get(){return n.value==="system"?r.value:n.value},set(y){n.value=y}}),a=A(()=>{const y={};for(const[k,_]of Object.entries(o.value)){const g=_.dark||k==="dark"?o.value.dark:o.value.light,b=Wo(g,_),S={...b.colors,...fY(b.colors,t.variations)};y[k]={...b,colors:{...S,...mY(S,b.variables)}}}return y}),i=K(()=>a.value[s.value]),l=K(()=>n.value==="system"),c=A(()=>{const y=[],k=t.scoped?t.prefix:"";y.push(`@layer theme-base { `),i.value?.dark&&ur(y,":root",["color-scheme: dark"],t.scope),ur(y,":root",Ab(i.value,t.prefix),t.scope);for(const[_,g]of Object.entries(a.value))ur(y,`.${t.prefix}theme--${_}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...Ab(g,t.prefix)],t.scope);if(y.push(`} `),t.utilities){const _=[],g=[],b=new Set(Object.values(a.value).flatMap(S=>Object.keys(S.colors)));for(const S of b)S.startsWith("on-")?ur(g,`.${S}`,[`color: rgb(var(--${t.prefix}theme-${S}))`],t.scope):(ur(_,`.${k}bg-${S}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${S}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${S}))`,`color: rgb(var(--${t.prefix}theme-on-${S}))`],t.scope),ur(g,`.${k}text-${S}`,[`color: rgb(var(--${t.prefix}theme-${S}))`],t.scope),ur(g,`.${k}border-${S}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${S})`],t.scope));y.push(`@layer theme-background { `,..._.map(S=>` ${S}`),`} `,`@layer theme-foreground { `,...g.map(S=>` ${S}`),`} `)}return`@layer vuetify-utilities { `+y.map(_=>` ${_}`).join("")+` }`}),u=K(()=>t.isDisabled?void 0:`${t.prefix}theme--${s.value}`),d=K(()=>Object.keys(a.value));if(T9){let k=function(){r.value=y.matches?"dark":"light"};const y=window.matchMedia("(prefers-color-scheme: dark)");k(),y.addEventListener("change",k,{passive:!0}),oc()&&Ct(()=>{y.removeEventListener("change",k)})}function f(y){if(t.isDisabled)return;const k=y._context.provides.usehead;if(k){let _=function(){return{style:[{textContent:c.value,id:t.stylesheetId,nonce:t.cspNonce||!1,tagPosition:"bodyOpen"}]}};if(k.push){const g=k.push(_);Zn&&le(c,()=>{g.patch(_)})}else Zn?(k.addHeadObjs(K(_)),xt(()=>k.updateDOM())):k.addHeadObjs(_())}else{let _=function(){vY(t.stylesheetId,t.cspNonce,c.value)};Zn?le(c,_,{immediate:!0}):_()}}function m(y){y!=="system"&&!d.value.includes(y)||(s.value=y)}function p(y=d.value){const k=y.indexOf(s.value),_=k===-1?0:(k+1)%y.length;m(y[_])}function h(y=["light","dark"]){p(y)}const v=new Proxy(s,{get(y,k){return Reflect.get(y,k)},set(y,k,_){return k==="value"&&C9(`theme.global.name.value = ${_}`,`theme.change('${_}')`),Reflect.set(y,k,_)}});return{install:f,change:m,cycle:p,toggle:h,isDisabled:t.isDisabled,isSystem:l,name:s,themes:o,current:i,computedThemes:a,prefix:t.prefix,themeClasses:u,styles:c,global:{name:v,current:i}}}function sT(e={}){const{blueprint:t,...n}=e,o=Wo(t,n),{aliases:r={},components:s={},directives:a={}}=o,i=nr();return i.run(()=>{const l=t7(o.defaults),c=aY(o.display,o.ssr),u=gY(o.theme),d=d7(o.icons),f=g7(o.locale),m=oY(o.date,f),p=cY(o.goTo,f);function h(y){for(const _ in a)y.directive(_,a[_]);for(const _ in s)y.component(_,s[_]);for(const _ in r)y.component(_,vi({...r[_],name:_,aliasName:r[_].name}));const k=nr();if(k.run(()=>{u.install(y)}),y.onUnmount(()=>k.stop()),y.provide(Va,l),y.provide(_b,c),y.provide(Eb,u),y.provide(pb,d),y.provide(gb,f),y.provide(nY,m.options),y.provide(yb,m.instance),y.provide(iY,p),Zn&&o.ssr)if(y.$nuxt)y.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:_}=y;y.mount=(...g)=>{const b=_(...g);return Je(()=>c.update()),y.mount=_,b}}y.mixin({computed:{$vuetify(){return vt({defaults:zr.call(this,Va),display:zr.call(this,_b),theme:zr.call(this,Eb),icons:zr.call(this,pb),locale:zr.call(this,gb),date:zr.call(this,yb)})}}})}function v(){i.stop()}return{install:h,unmount:v,defaults:l,display:c,theme:u,icons:d,locale:f,date:m,goTo:p}})}const bY="4.0.3";sT.version=bY;function zr(e){const t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}const aT=/^[a-z0-9]+(-[a-z0-9]+)*$/,Gc=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const i=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:i};return t&&!ul(c)?null:c}const s=r[0],a=s.split("-");if(a.length>1){const i={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!ul(i)?null:i}if(n&&o===""){const i={provider:o,prefix:"",name:s};return t&&!ul(i,n)?null:i}return null},ul=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,iT=Object.freeze({left:0,top:0,width:16,height:16}),Zl=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Yc=Object.freeze({...iT,...Zl}),gf=Object.freeze({...Yc,body:"",hidden:!1});function yY(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Tb(e,t){const n=yY(e,t);for(const o in gf)o in Zl?o in e&&!(o in n)&&(n[o]=Zl[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _Y(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function s(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const i=o[a]&&o[a].parent,l=i&&s(i);l&&(r[a]=[i].concat(l))}return r[a]}return Object.keys(n).concat(Object.keys(o)).forEach(s),r}function wY(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let s={};function a(i){s=Tb(o[i]||r[i],s)}return a(t),n.forEach(a),Tb(e,s)}function lT(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=_Y(e);for(const r in o){const s=o[r];s&&(t(r,wY(e,r,s)),n.push(r))}return n}const SY={provider:"",aliases:{},not_found:{},...iT};function ld(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function cT(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ld(e,SY))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r||typeof s.body!="string"||!ld(s,gf))return null}const o=t.aliases||Object.create(null);for(const r in o){const s=o[r],a=s.parent;if(!r||typeof a!="string"||!n[a]&&!o[a]||!ld(s,gf))return null}return t}const Pb=Object.create(null);function xY(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function bs(e,t){const n=Pb[e]||(Pb[e]=Object.create(null));return n[t]||(n[t]=xY(e,t))}function uT(e,t){return cT(t)?lT(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function kY(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Na=!1;function dT(e){return typeof e=="boolean"&&(Na=e),Na}function EY(e){const t=typeof e=="string"?Gc(e,!0,Na):e;if(t){const n=bs(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function CY(e,t){const n=Gc(e,!0,Na);if(!n)return!1;const o=bs(n.provider,n.prefix);return t?kY(o,n.name,t):(o.missing.add(n.name),!0)}function AY(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Na&&!t&&!e.prefix){let r=!1;return cT(e)&&(e.prefix="",lT(e,(s,a)=>{CY(s,a)&&(r=!0)})),r}const n=e.prefix;if(!ul({prefix:n,name:"a"}))return!1;const o=bs(t,n);return!!uT(o,e)}const fT=Object.freeze({width:null,height:null}),mT=Object.freeze({...fT,...Zl}),TY=/(-?[0-9.]*[0-9]+[0-9.]*)/g,PY=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ib(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(TY);if(o===null||!o.length)return e;const r=[];let s=o.shift(),a=PY.test(s);for(;;){if(a){const i=parseFloat(s);isNaN(i)?r.push(s):r.push(Math.ceil(i*t*n)/n)}else r.push(s);if(s=o.shift(),s===void 0)return r.join("");a=!a}}function IY(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),s=e.indexOf("",s);if(a===-1)break;n+=e.slice(r+1,s).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function RY(e,t){return e?""+e+""+t:t}function OY(e,t,n){const o=IY(e);return RY(o.defs,t+o.content+n)}const $Y=e=>e==="unset"||e==="undefined"||e==="none";function LY(e,t){const n={...Yc,...e},o={...mT,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(h=>{const v=[],y=h.hFlip,k=h.vFlip;let _=h.rotate;y?k?_+=2:(v.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),v.push("scale(-1 1)"),r.top=r.left=0):k&&(v.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),v.push("scale(1 -1)"),r.top=r.left=0);let g;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:g=r.height/2+r.top,v.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:v.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:g=r.width/2+r.left,v.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}_%2===1&&(r.left!==r.top&&(g=r.left,r.left=r.top,r.top=g),r.width!==r.height&&(g=r.width,r.width=r.height,r.height=g)),v.length&&(s=OY(s,'',""))});const a=o.width,i=o.height,l=r.width,c=r.height;let u,d;a===null?(d=i===null?"1em":i==="auto"?c:i,u=Ib(d,l/c)):(u=a==="auto"?l:a,d=i===null?Ib(u,c/l):i==="auto"?c:i);const f={},m=(h,v)=>{$Y(v)||(f[h]=v.toString())};m("width",u),m("height",d);const p=[r.left,r.top,l,c];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:s}}const DY=/\sid="(\S+)"/g,VY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let MY=0;function BY(e,t=VY){const n=[];let o;for(;o=DY.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const a=typeof t=="function"?t(s):t+(MY++).toString(),i=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const bf=Object.create(null);function NY(e,t){bf[e]=t}function yf(e){return bf[e]||bf[""]}function Ym(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Jm=Object.create(null),Ks=["https://api.simplesvg.com","https://api.unisvg.com"],dl=[];for(;Ks.length>0;)Ks.length===1||Math.random()>.5?dl.push(Ks.shift()):dl.push(Ks.pop());Jm[""]=Ym({resources:["https://api.iconify.design"].concat(dl)});function FY(e,t){const n=Ym(t);return n===null?!1:(Jm[e]=n,!0)}function Xm(e){return Jm[e]}const jY=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Rb=jY();function UY(e,t){const n=Xm(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const s=t+".json?icons=";o=n.maxURL-r-n.path.length-s.length}return o}function zY(e){return e===404}const HY=(e,t,n)=>{const o=[],r=UY(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},i=0;return n.forEach((l,c)=>{i+=l.length+1,i>=r&&c>0&&(o.push(a),a={type:s,provider:e,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),o.push(a),o};function KY(e){if(typeof e=="string"){const t=Xm(e);if(t)return t.path}return"/"}const WY=(e,t,n)=>{if(!Rb){n("abort",424);return}let o=KY(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});o+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;o+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;Rb(e+o).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(zY(a)?"abort":"next",a)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})},qY={prepare:HY,send:WY};function GY(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const s=r.provider,a=r.prefix,i=r.name,l=n[s]||(n[s]=Object.create(null)),c=l[a]||(l[a]=bs(s,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const d={provider:s,prefix:a,name:i};u.push(d)}),t}function pT(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function YY(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(s=>{const a=s.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==i&&(n||pT([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let JY=0;function XY(e,t,n){const o=JY++,r=pT.bind(null,n,o);if(!t.pending.length)return r;const s={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),r}function ZY(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const s=typeof r=="string"?Gc(r,t,n):r;s&&o.push(s)}),o}var QY={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function eJ(e,t,n,o){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let S=e.resources.slice(0);for(a=[];S.length>1;){const E=Math.floor(Math.random()*S.length);a.push(S[E]),S=S.slice(0,E).concat(S.slice(E+1))}a=a.concat(S)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const i=Date.now();let l="pending",c=0,u,d=null,f=[],m=[];typeof o=="function"&&m.push(o);function p(){d&&(clearTimeout(d),d=null)}function h(){l==="pending"&&(l="aborted"),p(),f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function v(S,E){E&&(m=[]),typeof S=="function"&&m.push(S)}function y(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:v,abort:h}}function k(){l="failed",m.forEach(S=>{S(void 0,u)})}function _(){f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function g(S,E,O){const R=E!=="success";switch(f=f.filter(L=>L!==S),l){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=O,k();return}if(R){u=O,f.length||(a.length?b():k());return}if(p(),_(),!e.random){const L=e.resources.indexOf(S.resource);L!==-1&&L!==e.index&&(e.index=L)}l="completed",m.forEach(L=>{L(O)})}function b(){if(l!=="pending")return;p();const S=a.shift();if(S===void 0){if(f.length){d=setTimeout(()=>{p(),l==="pending"&&(_(),k())},e.timeout);return}k();return}const E={status:"pending",resource:S,callback:(O,R)=>{g(E,O,R)}};f.push(E),c++,d=setTimeout(b,e.rotate),n(S,t,E.callback)}return setTimeout(b),y}function vT(e){const t={...QY,...e};let n=[];function o(){n=n.filter(i=>i().status==="pending")}function r(i,l,c){const u=eJ(t,i,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function s(i){return n.find(l=>i(l))||null}return{query:r,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:o}}function Ob(){}const cd=Object.create(null);function tJ(e){if(!cd[e]){const t=Xm(e);if(!t)return;const n=vT(t),o={config:t,redundancy:n};cd[e]=o}return cd[e]}function nJ(e,t,n){let o,r;if(typeof e=="string"){const s=yf(e);if(!s)return n(void 0,424),Ob;r=s.send;const a=tJ(e);a&&(o=a.redundancy)}else{const s=Ym(e);if(s){o=vT(s);const a=e.resources?e.resources[0]:"",i=yf(a);i&&(r=i.send)}}return!o||!r?(n(void 0,424),Ob):o.query(t,r,n)().abort}function $b(){}function oJ(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,YY(e)}))}function rJ(e){const t=[],n=[];return e.forEach(o=>{(o.match(aT)?t:n).push(o)}),{valid:t,invalid:n}}function Ws(e,t,n){function o(){const r=e.pendingIcons;t.forEach(s=>{r&&r.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!uT(e,n).length){o();return}}catch(r){console.error(r)}o(),oJ(e)}function Lb(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function sJ(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const s=e.loadIcon;if(e.loadIcons&&(r.length>1||!s)){Lb(e.loadIcons(r,o,n),u=>{Ws(e,r,u)});return}if(s){r.forEach(u=>{const d=s(u,o,n);Lb(d,f=>{const m=f?{prefix:o,icons:{[u]:f}}:null;Ws(e,[u],m)})});return}const{valid:a,invalid:i}=rJ(r);if(i.length&&Ws(e,i,null),!a.length)return;const l=o.match(aT)?yf(n):null;if(!l){Ws(e,a,null);return}l.prepare(n,o,a).forEach(u=>{nJ(n,u,d=>{Ws(e,u.icons,d)})})}))}const aJ=(e,t)=>{const n=ZY(e,!0,dT()),o=GY(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,$b)}),()=>{l=!1}}const r=Object.create(null),s=[];let a,i;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,s.push(bs(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=bs(c,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),r[c][u].push(d))}),s.forEach(l=>{const c=r[l.provider][l.prefix];c.length&&sJ(l,c)}),t?XY(t,o,s):$b};function iJ(e,t){const n={...e};for(const o in t){const r=t[o],s=typeof r;o in fT?(r===null||r&&(s==="string"||s==="number"))&&(n[o]=r):s===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const lJ=/[\s,]+/;function cJ(e,t){t.split(lJ).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function uJ(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?o(s):0)}}return t}function dJ(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function fJ(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function mJ(e){return"data:image/svg+xml,"+fJ(e)}function pJ(e){return'url("'+mJ(e)+'")'}const Db={...mT,inline:!1},vJ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},hJ={display:"inline-block"},_f={backgroundColor:"currentColor"},hT={backgroundColor:"transparent"},Vb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Mb={webkitMask:_f,mask:_f,background:hT};for(const e in Mb){const t=Mb[e];for(const n in Vb)t[e+n]=Vb[n]}const fl={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";fl[e+"-flip"]=t,fl[e.slice(0,1)+"-flip"]=t,fl[e+"Flip"]=t});function Bb(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Nb=(e,t)=>{const n=iJ(Db,t),o={...vJ},r=t.mode||"svg",s={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let h in t){const v=t[h];if(v!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[h]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&cJ(n,v);break;case"color":s.color=v;break;case"rotate":typeof v=="string"?n[h]=uJ(v):typeof v=="number"&&(n[h]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete o["aria-hidden"];break;default:{const y=fl[h];y?(v===!0||v==="true"||v===1)&&(n[y]=!0):Db[h]===void 0&&(o[h]=v)}}}const l=LY(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),r==="svg"){o.style={...s,...i},Object.assign(o,c);let h=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),o.innerHTML=BY(l.body,v?()=>v+"ID"+h++:"iconifyVue"),mn("svg",o)}const{body:u,width:d,height:f}=e,m=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=dJ(u,{...c,width:d+"",height:f+""});return o.style={...s,"--svg":pJ(p),width:Bb(c.width),height:Bb(c.height),...hJ,...m?_f:hT,...i},mn("span",o)};dT(!0);NY("",qY);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!AY(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;FY(n,r)||console.error(o)}catch{console.error(o)}}}}const gJ={...Yc,body:""},gT=Ae((e,{emit:t})=>{const n=U(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const r=U(!!e.ssr),s=U(""),a=pe(null);function i(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=Gc(c,!1,!0))===null)return null;let d=EY(u);if(!d){const p=n.value;return(!p||p.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:aJ([u],l)}),null}o(),s.value!==c&&(s.value=c,Je(()=>{t("load",c)}));const f=e.customise;if(f){d=Object.assign({},d);const p=f(d.body,u.name,u.prefix,u.provider);typeof p=="string"&&(d.body=p)}const m=["iconify"];return u.prefix!==""&&m.push("iconify--"+u.prefix),u.provider!==""&&m.push("iconify--"+u.provider),{data:d,classes:m}}function l(){const c=i();c?c.data!==a.value?.data&&(a.value=c):a.value=null}return r.value?l():ut(()=>{r.value=!0,l()}),le(()=>e.icon,l),xo(o),()=>{const c=a.value;if(!c)return Nb(gJ,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),Nb({...Yc,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function bT(e,t){return n=>Object.keys(e).reduce((o,r)=>{const a=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?o[r]={...a,default:n[r]}:o[r]=a,t&&!o[r].source&&(o[r].source=t),o},{})}function Fb(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function bJ(e,t){const n={};for(const o of t)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function yT(e={},t={},n,o){const r={};for(const s in e)r[s]=e[s];for(const s in t){const a=t[s],i=e[s];if(Fb(i)&&Fb(a)){r[s]=yT(i,a);continue}r[s]=a}return r}function pa(e=""){if(pa.cache.has(e))return pa.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return pa.cache.set(e,t),t}pa.cache=new Map;function _T(e,t){const n=zn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function yJ(e,t=_T("injectSelf")){const{provides:n}=t;if(n&&e in n)return n[e]}const wf=Symbol.for("vuetify:defaults");function wT(){const e=Ue(wf);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function _J(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[pa(t)]<"u")}function wJ(e={},t,n=wT()){const o=_T("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=A(()=>n.value?.[e._as??t]),s=new Proxy(e,{get(l,c){const u=Reflect.get(l,c);if(c==="class"||c==="style")return[r.value?.[c],u].filter(m=>m!=null);if(_J(o.vnode,c))return u;const d=r.value?.[c];if(d!==void 0)return d;const f=n.value?.global?.[c];return f!==void 0?f:u}}),a=pe();xt(()=>{if(r.value){const l=Object.entries(r.value).filter(([c])=>c.startsWith(c[0].toUpperCase()));a.value=l.length?Object.fromEntries(l):void 0}else a.value=void 0});function i(){const l=yJ(wf,o);yt(wf,A(()=>a.value?yT(l?.value??{},a.value):l?.value))}return{props:s,provideSubDefaults:i}}function Jc(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=bT(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return bJ(o,t)},e.props._as=String,e.setup=function(o,r){const s=wT();if(!s.value)return e._setup(o,r);const{props:a,provideSubDefaults:i}=wJ(o,o._as??e.name,s),l=e._setup(a,r);return i(),l}}return e}function SJ(e=!0){return t=>(e?Jc:Ae)(t)}const xJ=[String,Function,Object,Array],Xc=bT({icon:{type:xJ},tag:{type:[String,Object,Function],required:!0}},"icon");SJ()({name:"VComponentIcon",props:Xc(),setup(e,{slots:t}){return()=>{const n=e.icon;return x(e.tag,null,{default:()=>[e.icon?x(n,null,null):t.default?.()]})}}});Jc({name:"VSvgIcon",inheritAttrs:!1,props:Xc(),setup(e,{attrs:t}){return()=>x(e.tag,ke(t,{style:null}),{default:()=>[w("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?w("path",{d:n[0],"fill-opacity":n[1]},null):w("path",{d:n},null)):w("path",{d:e.icon},null)])]})}});Jc({name:"VLigatureIcon",props:Xc(),setup(e){return()=>x(e.tag,null,{default:()=>[e.icon]})}});const kJ=Jc({name:"VClassIcon",props:Xc(),setup(e){return()=>x(e.tag,{class:te(e.icon)},null)}});function EJ(e){if(!e.includes(":")||/\s/.test(e))return!1;const t=e.indexOf(":");if(t<=0||t===e.length-1)return!1;const n=e.slice(0,t),o=e.slice(t+1);return!n||!o?!1:/^[a-z0-9][a-z0-9_-]*$/i.test(n)&&/^[\w.-]+$/i.test(o)}const CJ=e=>{const{tag:t,icon:n,...o}=e;return mn(t,o,typeof n=="string"?mn(gT,{icon:n,inline:!0,width:"1em",height:"1em"}):void 0)},AJ={component:CJ},TJ=e=>{if(typeof e.icon=="string"&&EJ(e.icon)){const{tag:t,icon:n,...o}=e;return mn(t,o,typeof n=="string"?mn(gT,{icon:n,inline:!0,width:"1em",height:"1em"}):void 0)}return x(kJ,{...e})},PJ={component:TJ},IJ={collapse:"fas fa-chevron-up",complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sortAsc:"fas fa-arrow-up",sortDesc:"fas fa-arrow-down",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus",calendar:"fas fa-calendar",treeviewCollapse:"fas fa-caret-down",treeviewExpand:"fas fa-caret-right",tableGroupExpand:"fas fa-chevron-right",tableGroupCollapse:"fas fa-chevron-down",eyeDropper:"fas fa-eye-dropper",upload:"fas fa-cloud-upload-alt",color:"fas fa-palette",command:"fas fa-keyboard",ctrl:"fas fa-keyboard",shift:"fas fa-arrow-up",alt:"fas fa-keyboard",space:"fas fa-square",enter:"fas fa-reply",arrowup:"fas fa-arrow-up",arrowdown:"fas fa-arrow-down",arrowleft:"fas fa-arrow-left",arrowright:"fas fa-arrow-right",backspace:"fas fa-backspace",play:"fas fa-play",pause:"fas fa-pause",fullscreen:"fas fa-fullscreen",fullscreenExit:"fas fa-compress",volumeHigh:"fas fa-volume-high",volumeMedium:"fas fa-volume-low",volumeLow:"fas fa-volume-off",volumeOff:"fas fa-volume-off",search:"fas fa-magnifying-glass"},RJ={component:Wm},jb=sT({theme:{defaultTheme:"dark",themes:{dark:{dark:!0,colors:{}},light:{dark:!1,colors:{}}}},ssr:{clientWidth:1280,clientHeight:800},display:{mobileBreakpoint:1024},icons:{defaultSet:"hybrid",aliases:IJ,sets:{hybrid:PJ,fa:RJ,iconify:AJ}},defaults:{VMenu:{offset:8},VSkeletonLoader:{color:"surface-variant"},VOtpInput:{variant:"outlined"},VSelect:{transition:!1},VCombobox:{transition:!1},VAutocomplete:{transition:!1}}}),OJ=()=>{const e=WI(Wq),t=E9(),n=tR(),o=mG();return e.use(t).use(n).use(o).use(jb),e.directive("maska",gz),{app:e,router:t,store:n,head:o,vuetify:jb}},$J="native/bootstrap";async function Ub(e,t){const n=ZF(t);if(n){if(n.kind==="smartico"){await Co().openDeepLink(n.link);return}await e.push({path:n.path,query:n.query})}}async function LJ(e){try{await Ye.post("/api/device/push-token",e)}catch(t){const n=t instanceof Error?t.message:String(t);We.warning(`Push token registration failed: ${n}`,{tag:$J})}}async function DJ(e){if(!sr())return()=>{};const t=[];return t.push(await HF()),t.push(jF()),t.push(await KF(n=>{Ge().setNetworkOnline(n),n||Ge().showAlert("warning",T("common.network-offline"))})),t.push(await QF({onForeground:async()=>{const n=pt();await n.checkAuth({force:!0}),n.isAuthenticated&&await Pt().refreshStatus({force:!0})},onBackButton:async()=>window.history.length>1?(await e.back(),!0):!1,onDeepLink:n=>Ub(e,n)})),JF(LJ).then(n=>{t.push(n)}),XF(n=>{Ub(e,n)}).then(n=>{t.push(n)}),t.push(await YF(({depositId:n})=>{n&&e.push({path:"/user/wallet/deposit",query:{depositId:n}})})),FF(),NF(),()=>{for(const n of t)n()}}async function VJ(e){try{await DJ(e)}catch(n){const o=n instanceof Error?n.message:String(n);We.warning(`Native bootstrap failed: ${o}`,{tag:"capacitor/bootstrap"})}try{await Ze().fetchProjection(),Ze().reapplyTheme()}catch(n){const o=n instanceof Error?n.message:String(n);We.warning(`Settings fetch failed: ${o}`,{tag:"capacitor/bootstrap"})}const t=pt();try{await t.checkAuth({force:!0}),t.isAuthenticated&&!Pt().snapshot&&await Pt().refreshStatus({force:!0})}catch(n){const o=n instanceof Error?n.message:String(n);We.warning(`Auth bootstrap failed: ${o}`,{tag:"capacitor/bootstrap"})}}async function MJ(){const{app:e,router:t,store:n}=OJ(),o=sr();o&&(delete window.__INITIAL_PINIA_STATE__,delete window.__INITIAL_PAGE_CONTENT__);const r=!o&&typeof window<"u"?window.__INITIAL_PINIA_STATE__:void 0;if(r&&typeof r=="object"&&(n.state.value=r,delete window.__INITIAL_PINIA_STATE__),await _$(typeof document<"u"?document.cookie:void 0),!o){u$(typeof window<"u"?window.__INITIAL_PAGE_CONTENT__:void 0),typeof window<"u"&&delete window.__INITIAL_PAGE_CONTENT__;const i=Ze();i.hasRemoteSettings||i.restoreFromSessionCache()}fN(),await t.isReady();const s=pt();if(s.setupClientSessionSync(),o){try{await ej()}catch(l){const c=l instanceof Error?l.message:String(l);We.warning(`Native chrome setup failed: ${c}`,{tag:"capacitor/bootstrap"})}const i=document.getElementById("app");i&&(i.innerHTML="")}if(e.mount("#app"),o&&VJ(t),o||s.checkAuth({force:!0}).then(()=>{s.isAuthenticated&&!Pt().snapshot&&Pt().refreshStatus({force:!0})}),Ze().fetchModalBanners(),!o){const i=Ze();i.hasRemoteSettings||i.fetchProjection()}J2(),xC();const a=()=>{const i=Co();i.setup(),(async()=>{try{await i.ready()}catch{return}if(!(!s.isAuthenticated||!i.isNotificationsEnabled))try{await pi().setup()}catch{}})()};typeof window.requestIdleCallback=="function"?window.requestIdleCallback(a):setTimeout(a,0)}MJ().catch(e=>{const t=e instanceof Error?e.message:String(e);We.error(`Client bootstrap failed: ${t}`,{tag:"entry-client"})});export{pe as $,et as A,vn as B,Ne as C,Ee as D,te as E,xe as F,Ue as G,Xa as H,vt as I,le as J,yc as K,Dt as L,d3 as M,ke as N,u3 as O,lt as P,A as Q,kD as R,qe as S,Te as T,Vo as U,BE as V,an as W,ht as X,Cn as Y,U as Z,M as _,NF as a,xo as a$,K as a0,pn as a1,KL as a2,HJ as a3,xt as a4,Dl as a5,$d as a6,St as a7,Mv as a8,T as a9,to as aA,mC as aB,Ul as aC,fC as aD,Lm as aE,FJ as aF,GP as aG,wA as aH,Wl as aI,_t as aJ,jE as aK,jC as aL,Un as aM,Zf as aN,Xh as aO,D4 as aP,ei as aQ,L4 as aR,zC as aS,jt as aT,JW as aU,nq as aV,RX as aW,BJ as aX,nI as aY,UJ as aZ,VC as a_,tz as aa,C as ab,Kn as ac,sn as ad,$t as ae,jm as af,he as ag,_e as ah,Ye as ai,Qe as aj,Nn as ak,Ze as al,ut as am,$8 as an,gt as ao,Je as ap,Hn as aq,pt as ar,it as as,jc as at,Tn as au,Co as av,Rm as aw,VA as ax,GK as ay,YK as az,w as b,UU as b$,ro as b0,jh as b1,Cs as b2,HC as b3,Jh as b4,UC as b5,Zj as b6,An as b7,Uj as b8,Qj as b9,Ml as bA,Ko as bB,Rt as bC,wc as bD,Rr as bE,mm as bF,Ct as bG,ql as bH,EH as bI,xs as bJ,AE as bK,Ar as bL,jJ as bM,Hl as bN,zJ as bO,a$ as bP,il as bQ,hU as bR,mU as bS,Qh as bT,rf as bU,Rs as bV,y9 as bW,DX as bX,_9 as bY,LX as bZ,Ka as b_,vE as ba,JL as bb,ME as bc,os as bd,Eo as be,ui as bf,at as bg,Nt as bh,Ja as bi,FE as bj,KJ as bk,mn as bl,qJ as bm,ys as bn,I$ as bo,Pn as bp,Tt as bq,Gn as br,mt as bs,rr as bt,Sc as bu,Ec as bv,ks as bw,Ot as bx,ln as by,cE as bz,ge as c,iA as c$,NJ as c0,Is as c1,Im as c2,qa as c3,Vt as c4,SE as c5,vs as c6,yt as c7,Ol as c8,fi as c9,tC as cA,Tm as cB,cF as cC,ct as cD,zf as cE,wt as cF,gr as cG,zl as cH,Zh as cI,xW as cJ,Dm as cK,sA as cL,lg as cM,ug as cN,cg as cO,k4 as cP,ig as cQ,T4 as cR,LU as cS,kt as cT,Ir as cU,OX as cV,DC as cW,Yh as cX,Ly as cY,dg as cZ,lA as c_,t1 as ca,e1 as cb,sm as cc,oo as cd,Of as ce,Mn as cf,so as cg,ws as ch,Wa as ci,ZE as cj,yo as ck,Az as cl,oc as cm,ym as cn,T2 as co,pc as cp,_z as cq,wz as cr,lf as cs,km as ct,Rn as cu,In as cv,FC as cw,nr as cx,EE as cy,la as cz,Ae as d,NC as d0,$X as d1,xD as d2,lm as d3,R$ as d4,WJ as d5,TE as d6,Uc as d7,xA as d8,P4 as d9,I4 as da,FF as e,x as f,hF as g,ye as h,zL as i,Vm as j,Pt as k,We as l,oe as m,Wt as n,B as o,He as p,Ge as q,Pm as r,Ce as s,z as t,Eq as u,de as v,q as w,ao as x,hn as y,De as z};