From 9cb3f66ead56d8940b28221d1110a26f3c68a0eb Mon Sep 17 00:00:00 2001 From: Adem <37814393+floki1250@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:05:46 +0100 Subject: [PATCH] Fix --- components/NfcTest.vue | 26 ++++++++++--------- mobile/config.xml | 5 ++++ mobile/package-lock.json | 21 +++++++++++++++ mobile/package.json | 4 ++- mobile/www/200.html | 10 +++---- mobile/www/404.html | 10 +++---- mobile/www/Receive/index.html | 10 +++---- mobile/www/Send/index.html | 10 +++---- mobile/www/index.html | 10 +++---- mobile/www/web/{BQ7GF8iI.js => 87nbnUGJ.js} | 2 +- mobile/www/web/B-qhYrdC.js | 1 + mobile/www/web/B1YLQI0P.js | 1 - mobile/www/web/{B1llnzT6.js => B6ZPosoZ.js} | 8 +++--- mobile/www/web/{DIStlTXO.js => Bzjt4AqH.js} | 2 +- mobile/www/web/{C8hkhog1.js => CKN7IfQw.js} | 2 +- mobile/www/web/{Bb5McYLg.js => DKoc5Esw.js} | 2 +- mobile/www/web/{lQ4nfYQb.js => DMXJlFpQ.js} | 2 +- mobile/www/web/{CMBsRUCY.js => DcR8A0nI.js} | 2 +- mobile/www/web/{BJGGf2hQ.js => DoGjOHiu.js} | 2 +- mobile/www/web/builds/latest.json | 2 +- .../6cb437d9-620f-460e-ab83-4e7487e59016.json | 1 - .../dcc434cb-be7f-48aa-8f7b-22b638a79b9a.json | 1 + mobile/www/web/{BpyJzbHH.js => oXyxjP8b.js} | 2 +- 23 files changed, 83 insertions(+), 53 deletions(-) rename mobile/www/web/{BQ7GF8iI.js => 87nbnUGJ.js} (99%) create mode 100644 mobile/www/web/B-qhYrdC.js delete mode 100644 mobile/www/web/B1YLQI0P.js rename mobile/www/web/{B1llnzT6.js => B6ZPosoZ.js} (99%) rename mobile/www/web/{DIStlTXO.js => Bzjt4AqH.js} (69%) rename mobile/www/web/{C8hkhog1.js => CKN7IfQw.js} (99%) rename mobile/www/web/{Bb5McYLg.js => DKoc5Esw.js} (93%) rename mobile/www/web/{lQ4nfYQb.js => DMXJlFpQ.js} (98%) rename mobile/www/web/{CMBsRUCY.js => DcR8A0nI.js} (96%) rename mobile/www/web/{BJGGf2hQ.js => DoGjOHiu.js} (99%) delete mode 100644 mobile/www/web/builds/meta/6cb437d9-620f-460e-ab83-4e7487e59016.json create mode 100644 mobile/www/web/builds/meta/dcc434cb-be7f-48aa-8f7b-22b638a79b9a.json rename mobile/www/web/{BpyJzbHH.js => oXyxjP8b.js} (97%) diff --git a/components/NfcTest.vue b/components/NfcTest.vue index f0ea840..dc6bbfb 100644 --- a/components/NfcTest.vue +++ b/components/NfcTest.vue @@ -7,26 +7,28 @@ + +
\ No newline at end of file diff --git a/mobile/www/404.html b/mobile/www/404.html index 7df0b5a..8a7851a 100644 --- a/mobile/www/404.html +++ b/mobile/www/404.html @@ -2,13 +2,13 @@ MagicPing V2.0 - - + + - + - - + +
\ No newline at end of file diff --git a/mobile/www/Receive/index.html b/mobile/www/Receive/index.html index 7df0b5a..8a7851a 100644 --- a/mobile/www/Receive/index.html +++ b/mobile/www/Receive/index.html @@ -2,13 +2,13 @@ MagicPing V2.0 - - + + - + - - + +
\ No newline at end of file diff --git a/mobile/www/Send/index.html b/mobile/www/Send/index.html index 7df0b5a..8a7851a 100644 --- a/mobile/www/Send/index.html +++ b/mobile/www/Send/index.html @@ -2,13 +2,13 @@ MagicPing V2.0 - - + + - + - - + +
\ No newline at end of file diff --git a/mobile/www/index.html b/mobile/www/index.html index 7df0b5a..8a7851a 100644 --- a/mobile/www/index.html +++ b/mobile/www/index.html @@ -2,13 +2,13 @@ MagicPing V2.0 - - + + - + - - + +
\ No newline at end of file diff --git a/mobile/www/web/BQ7GF8iI.js b/mobile/www/web/87nbnUGJ.js similarity index 99% rename from mobile/www/web/BQ7GF8iI.js rename to mobile/www/web/87nbnUGJ.js index 150cb01..459d0e6 100644 --- a/mobile/www/web/BQ7GF8iI.js +++ b/mobile/www/web/87nbnUGJ.js @@ -1,4 +1,4 @@ -import{n as Ht,$ as $t,l as Kt,y as jt,_ as Jt,a as Ot,b as Yt,c as Gt,d as Qt,e as qt}from"./C8hkhog1.js";import{l as Wt,r as R,m as Zt,q as Xt,s as te,h as ee,c as z,a as v,b as N,w as U,t as ot,j as rt,n as ne,v as Et,F as oe,x as re,o as V,d as _t,k as ie,i as se}from"./B1llnzT6.js";var Y={},ae=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},At={},I={};let mt;const le=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];I.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};I.getSymbolTotalCodewords=function(t){return le[t]};I.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};I.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');mt=t};I.isKanjiModeEnabled=function(){return typeof mt<"u"};I.toSJIS=function(t){return mt(t)};var X={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(X);function Tt(){this.buffer=[],this.length=0}Tt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var ue=Tt;function G(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}G.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};G.prototype.get=function(e,t){return this.data[e*this.size+t]};G.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};G.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ce=G,Nt={};(function(e){const t=I.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,l=[n-7];for(let a=1;a=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,l=0,a=0,d=null,c=null;for(let _=0;_=5&&(s+=t.N1+(l-5)),d=g,l=1),g=o.get(m,_),g===c?a++:(a>=5&&(s+=t.N1+(a-5)),c=g,a=1)}l>=5&&(s+=t.N1+(l-5)),a>=5&&(s+=t.N1+(a-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let l=0;l=10&&(l===1488||l===93)&&s++,a=a<<1&2047|o.get(c,d),c>=10&&(a===1488||a===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let a=0;a=0;){const s=n[0];for(let a=0;a0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var fe=wt,Rt={},D={},yt={};yt.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var k={};const kt="[0-9]+",ge="[A-Z $%*+\\-./:]+";let O="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";O=O.replace(/u/g,"\\u");const he="(?:(?![A-Z0-9 $%*+\\-./:]|"+O+`)(?:.|[\r +import{n as Ht,$ as $t,l as Kt,y as jt,_ as Jt,a as Ot,b as Yt,c as Gt,d as Qt,e as qt}from"./CKN7IfQw.js";import{l as Wt,r as R,m as Zt,q as Xt,s as te,h as ee,c as z,a as v,b as N,w as U,t as ot,j as rt,n as ne,v as Et,F as oe,x as re,o as V,d as _t,k as ie,i as se}from"./B6ZPosoZ.js";var Y={},ae=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},At={},I={};let mt;const le=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];I.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};I.getSymbolTotalCodewords=function(t){return le[t]};I.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};I.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');mt=t};I.isKanjiModeEnabled=function(){return typeof mt<"u"};I.toSJIS=function(t){return mt(t)};var X={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(X);function Tt(){this.buffer=[],this.length=0}Tt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var ue=Tt;function G(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}G.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};G.prototype.get=function(e,t){return this.data[e*this.size+t]};G.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};G.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ce=G,Nt={};(function(e){const t=I.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,l=[n-7];for(let a=1;a=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,l=0,a=0,d=null,c=null;for(let _=0;_=5&&(s+=t.N1+(l-5)),d=g,l=1),g=o.get(m,_),g===c?a++:(a>=5&&(s+=t.N1+(a-5)),c=g,a=1)}l>=5&&(s+=t.N1+(l-5)),a>=5&&(s+=t.N1+(a-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let l=0;l=10&&(l===1488||l===93)&&s++,a=a<<1&2047|o.get(c,d),c>=10&&(a===1488||a===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let a=0;a=0;){const s=n[0];for(let a=0;a0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var fe=wt,Rt={},D={},yt={};yt.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var k={};const kt="[0-9]+",ge="[A-Z $%*+\\-./:]+";let O="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";O=O.replace(/u/g,"\\u");const he="(?:(?![A-Z0-9 $%*+\\-./:]|"+O+`)(?:.|[\r ]))+`;k.KANJI=new RegExp(O,"g");k.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");k.BYTE=new RegExp(he,"g");k.NUMERIC=new RegExp(kt,"g");k.ALPHANUMERIC=new RegExp(ge,"g");const me=new RegExp("^"+O+"$"),we=new RegExp("^"+kt+"$"),ye=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");k.testKanji=function(t){return me.test(t)};k.testNumeric=function(t){return we.test(t)};k.testAlphanumeric=function(t){return ye.test(t)};(function(e){const t=yt,i=k;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(n,s){if(e.isValid(n))return n;try{return r(n)}catch{return s}}})(D);(function(e){const t=I,i=tt,r=X,o=D,n=yt,s=7973,l=t.getBCHDigit(s);function a(m,g,y){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,y,m))return C}function d(m,g){return o.getCharCountIndicator(m,g)+4}function c(m,g){let y=0;return m.forEach(function(C){const b=d(C.mode,g);y+=b+C.getBitsLength()}),y}function _(m,g){for(let y=1;y<=40;y++)if(c(m,y)<=e.getCapacity(y,g,o.MIXED))return y}e.from=function(g,y){return n.isValid(g)?parseInt(g,10):y},e.getCapacity=function(g,y,C){if(!n.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=o.BYTE);const b=t.getSymbolTotalCodewords(g),w=i.getTotalCodewordsCount(g,y),p=(b-w)*8;if(C===o.MIXED)return p;const h=p-d(C,g);switch(C){case o.NUMERIC:return Math.floor(h/10*3);case o.ALPHANUMERIC:return Math.floor(h/11*2);case o.KANJI:return Math.floor(h/13);case o.BYTE:default:return Math.floor(h/8)}},e.getBestVersionForData=function(g,y){let C;const b=r.from(y,r.M);if(Array.isArray(g)){if(g.length>1)return _(g,b);if(g.length===0)return 1;C=g[0]}else C=g;return a(C.mode,C.getLength(),b)},e.getEncodedBits=function(g){if(!n.isValid(g)||g<7)throw new Error("Invalid QR Code version");let y=g<<12;for(;t.getBCHDigit(y)-l>=0;)y^=s<=0;)o^=Ut<0&&(r=this.data.substr(i),o=parseInt(r,10),t.put(o,n*3+1))};var Ee=x;const _e=D,it=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function H(e){this.mode=_e.ALPHANUMERIC,this.data=e}H.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};H.prototype.getLength=function(){return this.data.length};H.prototype.getBitsLength=function(){return H.getBitsLength(this.data.length)};H.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=it.indexOf(this.data[i])*45;r+=it.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put(it.indexOf(this.data[i]),6)};var Be=H,be=function(t){for(var i=[],r=t.length,o=0;o=55296&&n<=56319&&r>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const ve=be,Ae=D;function $(e){this.mode=Ae.BYTE,typeof e=="string"&&(e=ve(e)),this.data=new Uint8Array(e)}$.getBitsLength=function(t){return t*8};$.prototype.getLength=function(){return this.data.length};$.prototype.getBitsLength=function(){return $.getBitsLength(this.data.length)};$.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var Me=K,Dt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var l=t.PriorityQueue.make();l.push(r,0);for(var a,d,c,_,m,g,y,C,b;!l.empty();){a=l.pop(),d=a.value,_=a.cost,m=i[d]||{};for(c in m)m.hasOwnProperty(c)&&(g=m[c],y=_+g,C=s[c],b=typeof s[c]>"u",(b||C>y)&&(s[c]=y,l.push(c,y),n[c]=d))}if(typeof o<"u"&&typeof s[o]>"u"){var w=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(w)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=t.single_source_shortest_paths(i,r,o);return t.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Dt);var Se=Dt.exports;(function(e){const t=D,i=Ee,r=Be,o=Te,n=Me,s=k,l=I,a=Se;function d(w){return unescape(encodeURIComponent(w)).length}function c(w,p,h){const u=[];let f;for(;(f=w.exec(h))!==null;)u.push({data:f[0],index:f.index,mode:p,length:f[0].length});return u}function _(w){const p=c(s.NUMERIC,t.NUMERIC,w),h=c(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let u,f;return l.isKanjiModeEnabled()?(u=c(s.BYTE,t.BYTE,w),f=c(s.KANJI,t.KANJI,w)):(u=c(s.BYTE_KANJI,t.BYTE,w),f=[]),p.concat(h,u,f).sort(function(B,A){return B.index-A.index}).map(function(B){return{data:B.data,mode:B.mode,length:B.length}})}function m(w,p){switch(p){case t.NUMERIC:return i.getBitsLength(w);case t.ALPHANUMERIC:return r.getBitsLength(w);case t.KANJI:return n.getBitsLength(w);case t.BYTE:return o.getBitsLength(w)}}function g(w){return w.reduce(function(p,h){const u=p.length-1>=0?p[p.length-1]:null;return u&&u.mode===h.mode?(p[p.length-1].data+=h.data,p):(p.push(h),p)},[])}function y(w){const p=[];for(let h=0;h=0&&l<=6&&(a===0||a===6)||a>=0&&a<=6&&(l===0||l===6)||l>=2&&l<=4&&a>=2&&a<=4?e.set(n+l,s+a,!0,!0):e.set(n+l,s+a,!1,!0))}}function Ve(e){const t=e.size;for(let i=8;i>l&1)===1,e.set(o,n,s,!0),e.set(n,o,s,!0)}function lt(e,t,i){const r=e.size,o=Fe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(r-15+n,8,s,!0),n<8?e.set(8,r-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(r-8,8,1,!0)}function $e(e,t){const i=e.size;let r=-1,o=i-1,n=7,s=0;for(let l=i-1;l>0;l-=2)for(l===6&&l--;;){for(let a=0;a<2;a++)if(!e.isReserved(o,l-a)){let d=!1;s>>n&1)===1),e.set(o,l-a,d),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ke(e,t,i){const r=new Pe;i.forEach(function(a){r.put(a.mode.bit,4),r.put(a.getLength(),De.getCharCountIndicator(a.mode,e)),a.write(r)});const o=nt.getSymbolTotalCodewords(e),n=gt.getTotalCodewordsCount(e,t),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const l=(s-r.getLengthInBits())/8;for(let a=0;a{document.addEventListener("deviceready",r,!1)});function r(){const e=cordova.plugins.permissions;console.log(device.cordova),console.log(e),e.checkPermission(e.NFC,s=>{alert("NFC permission not granted. Requesting permission..."),e.requestPermission(e.NFC,t=>{alert("NFC permission granted"),l()},t=>{alert("NFC permission denied")})},s=>{alert("permission denied")})}function l(){nfc.enabled(()=>{alert("NFC is enabled"),console.log("NFC is enabled")},e=>{alert("NFC is not enabled: "+e),console.log("NFC error: "+e)}),nfc.addNdefListener(u,()=>{alert("Listening for NFC tags"),console.log("Listening for NFC messages")},e=>{alert("Error adding NFC listener: "+e),console.log("Error adding NFC listener: "+e)})}function u(e){var s=e.tag,t=s.ndefMessage;if(t){var f=nfc.bytesToString(t[0].payload);alert("NFC message: "+f),console.log("Read NFC message:",f)}else alert("No NDEF message found")}const o=()=>{var e=[ndef.textRecord("Hello, world"),ndef.uriRecord("http://github.com/chariotsolutions/phonegap-nfc")];nfc.write(e,()=>{alert("Successfully wrote to NFC tag"),console.log("Wrote data to NFC tag")},s=>{alert("Write failed: "+s),console.log("Write failed: "+s)})},i=()=>{nfc.showSettings(()=>{alert("NFC settings opened")},e=>{alert("Failed to open settings: "+e),console.log("Failed to open settings: "+e)})};return(e,s)=>{const t=h;return p(),_("div",k,[a(t,{onClick:o,icon:"i-solar-share-bold-duotone",variant:"soft"},{default:g(()=>[m("Share Message")]),_:1}),a(t,{onClick:i,icon:"i-solar-settings-bold-duotone",variant:"soft"},{default:g(()=>[m("Settings")]),_:1})])}}},F={class:"p-4 transition duration-300"},y={class:"flex w-full mb-2 flex-col lg:flex-row justify-center content-center"},R={__name:"index",setup(b){const r=v(!1),l=v(!1);return(u,o)=>{const i=N,e=w,s=C;return p(),_("main",F,[n("div",y,[n("div",{onMouseenter:o[0]||(o[0]=t=>r.value=!0),onMouseleave:o[1]||(o[1]=t=>r.value=!1),class:"mb-2 w-full lg:w-1/2 h-60 lg:mr-1 hover:w-11/12 text-center flex justify-center items-center dark:bg-black/70 dark:text-white bg-white/50 text-black/70 rounded-lg backdrop-blur-lg transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 awesome-shadow dark:shadow-lg"},[a(e,{to:"/Send",class:"w-full h-full flex justify-center items-center"},{default:g(()=>[n("div",{class:d(["flex",c(l)?"rotate-90 w-fit ":"rotate-0"])},[a(i,{name:"i-line-md-uploading-loop",class:"w-10 h-10 mr-2"}),n("h1",{class:d([c(l)?"text-2xl":"text-3xl","text-bold reem-kufi"])}," Sender ",2)],2)]),_:1})],32),n("div",{onMouseenter:o[2]||(o[2]=t=>l.value=!0),onMouseleave:o[3]||(o[3]=t=>l.value=!1),class:"w-full lg:w-1/2 h-60 rounded-lg lg:ml-1 hover:w-11/12 dark:bg-black/70 dark:text-white bg-white/50 text-black/70 backdrop-blur-lg transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 awesome-shadow dark:shadow-lg"},[a(e,{to:"/Receive",class:"w-full h-full flex justify-center items-center"},{default:g(()=>[n("div",{class:d(["flex",c(r)?"rotate-90 w-fit ":"rotate-0"])},[a(i,{name:"i-line-md-downloading-loop",class:"w-10 h-10 mr-2"}),n("h1",{class:d([c(r)?"text-2xl":"text-3xl","text-bold reem-kufi"])}," Receiver ",2)],2)]),_:1})],32)]),a(s,{class:"w-full"})])}}};export{R as default}; diff --git a/mobile/www/web/B1YLQI0P.js b/mobile/www/web/B1YLQI0P.js deleted file mode 100644 index 80a764f..0000000 --- a/mobile/www/web/B1YLQI0P.js +++ /dev/null @@ -1 +0,0 @@ -import{h,o as v,c as b,b as a,w as u,d as _,i as w,r as p,a as n,e as N,n as c,j as g,k}from"./B1llnzT6.js";const C={class:"grid grid-cols-4 gap-4"},F={__name:"NfcTest",setup(x){const s=cordova.plugins.permissions;h(()=>{document.addEventListener("deviceready",r,!1)});function r(){s.hasPermission(s.NFC,e=>{e.hasPermission?f():(alert("NFC permission not granted. Requesting permission..."),s.requestPermission(s.NFC,t=>{alert("NFC permission granted"),f()},t=>{alert("NFC permission denied")}))})}function f(){nfc.enabled(()=>{alert("NFC is enabled"),console.log("NFC is enabled")},e=>{alert("NFC is not enabled: "+e),console.log("NFC error: "+e)}),nfc.addNdefListener(o,()=>{alert("Listening for NFC tags"),console.log("Listening for NFC messages")},e=>{alert("Error adding NFC listener: "+e),console.log("Error adding NFC listener: "+e)})}function o(e){var t=e.tag,l=t.ndefMessage;if(l){var m=nfc.bytesToString(l[0].payload);alert("NFC message: "+m),console.log("Read NFC message:",m)}else alert("No NDEF message found")}const i=()=>{var e=[ndef.textRecord("Hello, world"),ndef.uriRecord("http://github.com/chariotsolutions/phonegap-nfc")];nfc.write(e,()=>{alert("Successfully wrote to NFC tag"),console.log("Wrote data to NFC tag")},t=>{alert("Write failed: "+t),console.log("Write failed: "+t)})},d=()=>{nfc.showSettings(()=>{alert("NFC settings opened")},e=>{alert("Failed to open settings: "+e),console.log("Failed to open settings: "+e)})};return(e,t)=>{const l=w;return v(),b("div",C,[a(l,{onClick:i,icon:"i-solar-share-bold-duotone",variant:"soft"},{default:u(()=>[_("Share Message")]),_:1}),a(l,{onClick:d,icon:"i-solar-settings-bold-duotone",variant:"soft"},{default:u(()=>[_("Settings")]),_:1})])}}},y={class:"p-4 transition duration-300"},M={class:"flex w-full mb-2 flex-col lg:flex-row justify-center content-center"},S={__name:"index",setup(x){const s=p(!1),r=p(!1);return(f,o)=>{const i=k,d=N,e=F;return v(),b("main",y,[n("div",M,[n("div",{onMouseenter:o[0]||(o[0]=t=>s.value=!0),onMouseleave:o[1]||(o[1]=t=>s.value=!1),class:"mb-2 w-full lg:w-1/2 h-60 lg:mr-1 hover:w-11/12 text-center flex justify-center items-center dark:bg-black/70 dark:text-white bg-white/50 text-black/70 rounded-lg backdrop-blur-lg transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 awesome-shadow dark:shadow-lg"},[a(d,{to:"/Send",class:"w-full h-full flex justify-center items-center"},{default:u(()=>[n("div",{class:c(["flex",g(r)?"rotate-90 w-fit ":"rotate-0"])},[a(i,{name:"i-line-md-uploading-loop",class:"w-10 h-10 mr-2"}),n("h1",{class:c([g(r)?"text-2xl":"text-3xl","text-bold reem-kufi"])}," Sender ",2)],2)]),_:1})],32),n("div",{onMouseenter:o[2]||(o[2]=t=>r.value=!0),onMouseleave:o[3]||(o[3]=t=>r.value=!1),class:"w-full lg:w-1/2 h-60 rounded-lg lg:ml-1 hover:w-11/12 dark:bg-black/70 dark:text-white bg-white/50 text-black/70 backdrop-blur-lg transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 awesome-shadow dark:shadow-lg"},[a(d,{to:"/Receive",class:"w-full h-full flex justify-center items-center"},{default:u(()=>[n("div",{class:c(["flex",g(s)?"rotate-90 w-fit ":"rotate-0"])},[a(i,{name:"i-line-md-downloading-loop",class:"w-10 h-10 mr-2"}),n("h1",{class:c([g(s)?"text-2xl":"text-3xl","text-bold reem-kufi"])}," Receiver ",2)],2)]),_:1})],32)]),a(e,{class:"w-full"})])}}};export{S as default}; diff --git a/mobile/www/web/B1llnzT6.js b/mobile/www/web/B6ZPosoZ.js similarity index 99% rename from mobile/www/web/B1llnzT6.js rename to mobile/www/web/B6ZPosoZ.js index 747571d..b20c1ff 100644 --- a/mobile/www/web/B1llnzT6.js +++ b/mobile/www/web/B6ZPosoZ.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./BQ7GF8iI.js","./C8hkhog1.js","./BJGGf2hQ.js","./Bb5McYLg.js","./IconCSS.Cr0pywZ1.css","./BpyJzbHH.js","./error-404.BiiGkIq1.css","./CMBsRUCY.js","./error-500.CoUYIs1G.css"] + __vite__mapDeps.viteFileDeps = ["./87nbnUGJ.js","./CKN7IfQw.js","./DoGjOHiu.js","./DKoc5Esw.js","./IconCSS.Cr0pywZ1.css","./oXyxjP8b.js","./error-404.BiiGkIq1.css","./DcR8A0nI.js","./error-500.CoUYIs1G.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,11 +22,11 @@ function __vite__mapDeps(indexes) { * @license MIT **/const Pp="http://www.w3.org/2000/svg",Ip="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,Oa=Mt&&Mt.createElement("template"),Op={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Mt.createElementNS(Pp,e):t==="mathml"?Mt.createElementNS(Ip,e):Mt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Oa.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Oa.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Et="transition",Fn="animation",fr=Symbol("_vtc"),Cr=(e,{slots:t})=>Re(Bd,$p(e),t);Cr.displayName="Transition";const au={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};Cr.props=Te({},$c,au);const Vt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},$a=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function $p(e){const t={};for(const R in e)R in au||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=Mp(o),b=y&&y[0],x=y&&y[1],{onBeforeEnter:k,onEnter:v,onEnterCancelled:g,onLeave:_,onLeaveCancelled:C,onBeforeAppear:w=k,onAppear:A=v,onAppearCancelled:I=g}=t,M=(R,G,se)=>{Wt(R,G?c:a),Wt(R,G?u:i),se&&se()},$=(R,G)=>{R._isLeaving=!1,Wt(R,f),Wt(R,p),Wt(R,d),G&&G()},V=R=>(G,se)=>{const ae=R?A:v,B=()=>M(G,R,se);Vt(ae,[G,B]),Ma(()=>{Wt(G,R?l:s),Tt(G,R?c:a),$a(ae)||La(G,r,b,B)})};return Te(t,{onBeforeEnter(R){Vt(k,[R]),Tt(R,s),Tt(R,i)},onBeforeAppear(R){Vt(w,[R]),Tt(R,l),Tt(R,u)},onEnter:V(!1),onAppear:V(!0),onLeave(R,G){R._isLeaving=!0;const se=()=>$(R,G);Tt(R,f),Np(),Tt(R,d),Ma(()=>{R._isLeaving&&(Wt(R,f),Tt(R,p),$a(_)||La(R,r,x,se))}),Vt(_,[R,se])},onEnterCancelled(R){M(R,!1),Vt(g,[R])},onAppearCancelled(R){M(R,!0),Vt(I,[R])},onLeaveCancelled(R){$(R),Vt(C,[R])}})}function Mp(e){if(e==null)return null;if(he(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return tc(e)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fr]||(e[fr]=new Set)).add(t)}function Wt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[fr];n&&(n.delete(t),n.size||(e[fr]=void 0))}function Ma(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lp=0;function La(e,t,n,r){const o=e._endId=++Lp,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=jp(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[y]||"").split(", "),o=r(`${Et}Delay`),s=r(`${Et}Duration`),i=ja(o,s),a=r(`${Fn}Delay`),l=r(`${Fn}Duration`),u=ja(a,l);let c=null,f=0,d=0;t===Et?i>0&&(c=Et,f=i,d=s.length):t===Fn?u>0&&(c=Fn,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?Et:Fn:null,d=c?c===Et?s.length:l.length:0);const p=c===Et&&/\b(transform|all)(,|$)/.test(r(`${Et}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function ja(e,t){for(;e.lengthNa(n)+Na(e[r])))}function Na(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Np(){return document.body.offsetHeight}function Hp(e,t,n){const r=e[fr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const uo=Symbol("_vod"),lu=Symbol("_vsh"),jw={beforeMount(e,{value:t},{transition:n}){e[uo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Bn(e,!0),r.enter(e)):r.leave(e,()=>{Bn(e,!1)}):Bn(e,t))},beforeUnmount(e,{value:t}){Bn(e,t)}};function Bn(e,t){e.style.display=t?e[uo]:"none",e[lu]=!t}const cu=Symbol("");function Nw(e){const t=xt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Ls(s,o))},r=()=>{const o=e(t.proxy);Ms(t.subTree,o),n(o)};jd(r),un(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),xr(()=>o.disconnect())})}function Ms(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ms(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ls(e.el,t);else if(e.type===Se)e.children.forEach(n=>Ms(n,t));else if(e.type===Yn){let{el:n,anchor:r}=e;for(;n&&(Ls(n,t),n!==r);)n=n.nextSibling}}function Ls(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[cu]=r}}const Fp=/(^|;)\s*display\s*:/;function Bp(e,t,n){const r=e.style,o=_e(n);let s=!1;if(n&&!o){if(t)if(_e(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&qr(r,a,"")}else for(const i in t)n[i]==null&&qr(r,i,"");for(const i in n)i==="display"&&(s=!0),qr(r,i,n[i])}else if(o){if(t!==n){const i=r[cu];i&&(n+=";"+i),r.cssText=n,s=Fp.test(n)}}else t&&e.removeAttribute("style");uo in e&&(e[uo]=s?r.display:"",e[lu]&&(r.display="none"))}const Ha=/\s*!important$/;function qr(e,t,n){if(Q(n))n.forEach(r=>qr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Up(e,t);Ha.test(n)?e.setProperty(In(r),n.replace(Ha,""),"important"):e[r]=n}}const Fa=["Webkit","Moz","ms"],ts={};function Up(e,t){const n=ts[t];if(n)return n;let r=dt(t);if(r!=="filter"&&r in e)return ts[t]=r;r=_o(r);for(let o=0;ons||(Gp.then(()=>ns=0),ns=Date.now());function Qp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;et(Xp(r,n.value),t,5,[r])};return n.value=e,n.attached=Jp(),n}function Xp(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yp=(e,t,n,r,o,s,i,a,l)=>{const u=o==="svg";t==="class"?Hp(e,r,u):t==="style"?Bp(e,n,r):yr(t)?hi(t)||Wp(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zp(e,t,r,u))?Dp(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zp(e,t,r,u))};function Zp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Da(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Da(t)&&_e(n)?!1:t in e}const eh=["ctrl","shift","alt","meta"],th={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)=>eh.some(n=>e[`${n}Key`]&&!t.includes(n))},rs=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i{const t=nh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=du(r);if(!o)return;const s=t._component;!X(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,fu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},sh=(...e)=>{const t=rh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=du(r);if(o)return n(o,!0,fu(o))},t};function fu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function du(e){return _e(e)?document.querySelector(e):e}const ih=/#/g,ah=/&/g,lh=/\//g,ch=/=/g,Ni=/\+/g,uh=/%5e/gi,fh=/%60/gi,dh=/%7c/gi,ph=/%20/gi;function hh(e){return encodeURI(""+e).replace(dh,"|")}function js(e){return hh(typeof e=="string"?e:JSON.stringify(e)).replace(Ni,"%2B").replace(ph,"+").replace(ih,"%23").replace(ah,"%26").replace(fh,"`").replace(uh,"^").replace(lh,"%2F")}function os(e){return js(e).replace(ch,"%3D")}function fo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function gh(e){return fo(e.replace(Ni," "))}function mh(e){return fo(e.replace(Ni," "))}function pu(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=gh(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=mh(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function yh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${os(e)}=${js(n)}`).join("&"):`${os(e)}=${js(t)}`:os(e)}function bh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>yh(t,e[t])).filter(Boolean).join("&")}const vh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,wh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_h=/^([/\\]\s*){2,}[^/\\]/,xh=/^[\s\0]*(blob|data|javascript|vbscript):$/i,kh=/\/$|\/\?|\/#/,Ch=/^\.?\//;function kt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?vh.test(e):wh.test(e)||(t.acceptRelative?_h.test(e):!1)}function Sh(e){return!!e&&xh.test(e)}function Ns(e="",t){return t?kh.test(e):e.endsWith("/")}function Io(e="",t){if(!t)return(Ns(e)?e.slice(0,-1):e)||"/";if(!Ns(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function po(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ns(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Eh(e=""){return e.startsWith("/")}function Va(e=""){return Eh(e)?e:"/"+e}function Th(e,t){if(gu(t)||kt(e))return e;const n=Io(t);return e.startsWith(n)?e:Oo(n,e)}function Wa(e,t){if(gu(t))return e;const n=Io(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function hu(e,t){const n=Sr(e),r={...pu(n.search),...t};return n.search=bh(r),Ph(n)}function gu(e){return!e||e==="/"}function Ah(e){return e&&e!=="/"}function Oo(e,...t){let n=e||"";for(const r of t.filter(o=>Ah(o)))if(n){const o=r.replace(Ch,"");n=po(n)+o}else n=r;return n}function mu(...e){var i,a,l;const t=new RegExp("(?=0?(i=n[0])!=null&&i.startsWith("/")&&!s.startsWith("/")?s="/"+s:(a=n[0])!=null&&a.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,(l=n[n.length-1])!=null&&l.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Rh(e,t,n={}){return n.trailingSlash||(e=po(e),t=po(t)),n.leadingSlash||(e=Va(e),t=Va(t)),n.encoding||(e=fo(e),t=fo(t)),e===t}const yu=Symbol.for("ufo:protocolRelative");function Sr(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!kt(e,{acceptRelative:!0}))return t?Sr(t+e):Ka(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:u,hash:c}=Ka(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:u,hash:c,[yu]:!r}}function Ka(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Ph(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[yu]?(e.protocol||"")+"//":"")+o+s+t+n+r}const Ih=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ho=Ih().app,Oh=()=>ho.baseURL,$h=()=>ho.buildAssetsDir,Hi=(...e)=>mu(bu(),$h(),...e),bu=(...e)=>{const t=ho.cdnURL||ho.baseURL;return e.length?mu(t,...e):t};globalThis.__buildAssetsURL=Hi,globalThis.__publicAssetsURL=bu;const Mh=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Lh=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,jh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Nh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Hh(e);return}return t}function Hh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function go(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!jh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Mh.test(e)||Lh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Nh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Fh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Bh(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${o}: ${s}${t?` ${t}`:""}`,a=new Fh(i,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[y]}});return a}const Uh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ga(e="GET"){return Uh.has(e.toUpperCase())}function zh(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Dh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),qh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Vh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return qh.test(t)?"json":Dh.has(t)||t.startsWith("text/")?"text":"blob"}function Wh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const Kh=new Set([408,409,425,429,500,502,503,504]),Gh=new Set([101,204,205,304]);function vu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Ga(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Kh.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),s(a.request,{...a.options,retry:c-1,timeout:a.options.timeout})}}const u=Bh(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(l,u={}){var d;const c={request:l,options:Wh(u,e.defaults,n),response:void 0,error:void 0};if(c.options.method=(d=c.options.method)==null?void 0:d.toUpperCase(),c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Th(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=hu(c.request,{...c.options.params,...c.options.query}))),c.options.body&&Ga(c.options.method)&&(zh(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"))),!c.options.signal&&c.options.timeout){const p=new r;setTimeout(()=>p.abort(),c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await c.options.onRequestError(c),await o(c)}if(c.response.body&&!Gh.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||Vh(c.response.headers.get("content-type")||"");switch(p){case"json":{const y=await c.response.text(),b=c.options.parseResponse||go;c.response._data=b(y);break}case"stream":{c.response._data=c.response.body;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await o(c)):c.response},i=async function(l,u){return(await s(l,u))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>vu({...e,defaults:{...e.defaults,...a}}),i}const Fi=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Jh=Fi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Qh=Fi.Headers,Xh=Fi.AbortController,Yh=vu({fetch:Jh,Headers:Qh,AbortController:Xh}),Zh=Yh;globalThis.$fetch||(globalThis.$fetch=Zh.create({baseURL:Oh()}));function Hs(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Hs(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const eg={run:e=>e()},tg=()=>eg,wu=typeof console.createTask<"u"?console.createTask:tg;function ng(e,t){const n=t.shift(),r=wu(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function rg(e,t){const n=t.shift(),r=wu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ss(e,t){for(const n of[...e])n(t)}class og{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Hs(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Hs(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ng,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(rg,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ss(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&ss(this._after,o)}):(this._after&&o&&ss(this._after,o),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 _u(){return new og}function sg(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;Fs.add(u);try{const c=o?o.run(i,a):a();return n||(t=void 0),await c}finally{Fs.delete(u)}}}}function ig(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=sg({...e,...r})),t[n],t[n]}}}const mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ja="__unctx__",ag=mo[Ja]||(mo[Ja]=ig()),lg=(e,t={})=>ag.get(e,t),Qa="__unctx_async_handlers__",Fs=mo[Qa]||(mo[Qa]=new Set);function dr(e){const t=[];for(const o of Fs){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const xu=lg("nuxt-app",{asyncContext:!1}),cg="__nuxt_plugin";function ug(e){let t=0;const n={_scope:zf(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:pt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>pg(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=_u(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;Hr(n,i,s),Hr(n.vueApp.config.globalProperties,i,s)},Hr(n.vueApp,"$nuxt",n),Hr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||ce;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=pt(n.payload.config);return n.provide("config",r),n}async function fg(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function dg(e,t){const n=[],r=[],o=[],s=[];let i=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=fg(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(p)))})))});l.parallel?o.push(f.catch(d=>s.push(d))):await f}}for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l{}),e,{[cg]:!0,_name:t})}function pg(e,t,n){const r=()=>n?t(...n):t();return xu.set(e),e.vueApp.runWithContext(r)}function hg(){var t;let e;return qc()&&(e=(t=xt())==null?void 0:t.appContext.app.$nuxt),e=e||xu.tryUse(),e||null}function ce(){const e=hg();if(!e)throw new Error("[nuxt] instance unavailable");return e}function $o(e){return ce().$config}function Hr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Xa=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function Ya(e,t){t?t={...Xa,...t}:t=Xa;const n=ku(t);return n.dispatch(e),n.toString()}const gg=Object.freeze(["prototype","__proto__","constructor"]);function ku(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let u=Object.keys(o);e.unorderedObjects&&(u=u.sort());let c=[];e.respectType!==!1&&!Za(o)&&(c=gg),e.excludeKeys&&(u=u.filter(d=>!e.excludeKeys(d)),c=c.filter(d=>!e.excludeKeys(d))),r("object:"+(u.length+c.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of u)f(d);for(const d of c)f(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const u=ku(e);u.dispatch(l);for(const[c,f]of u.getContext())i.set(c,f);return u.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),Za(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Cu="[native code] }",mg=Cu.length;function Za(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-mg)===Cu}function yg(e,t,n={}){return e===t||Ya(e,n)===Ya(t,n)}function bg(e,t){return{ctx:{table:e},matchAll:n=>Eu(n,e,t)}}function Su(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Su(o)])):new Map(Object.entries(e[n]));return t}function vg(e){return bg(Su(e))}function Eu(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of el(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of el(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...Eu(a,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function el(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function is(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bs(e,t,n=".",r){if(!is(t))return Bs(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:is(i)&&is(o[s])?o[s]=Bs(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Bi(e){return(...t)=>t.reduce((n,r)=>Bs(n,r,"",e),{})}const Ui=Bi(),wg=Bi((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function _g(e,t){try{return t in e}catch{return!1}}var xg=Object.defineProperty,kg=(e,t,n)=>t in e?xg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gt=(e,t,n)=>(kg(e,typeof t!="symbol"?t+"":t,n),n);class Us extends Error{constructor(t,n={}){super(t,n),Gt(this,"statusCode",500),Gt(this,"fatal",!1),Gt(this,"unhandled",!1),Gt(this,"statusMessage"),Gt(this,"data"),Gt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ds(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Tu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Gt(Us,"__h3_error__",!0);function zs(e){if(typeof e=="string")return new Us(e);if(Cg(e))return e;const t=new Us(e.message??e.statusMessage??"",{cause:e.cause||e});if(_g(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ds(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ds(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Tu(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Cg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Sg=/[^\u0009\u0020-\u007E]/g;function Tu(e=""){return e.replace(Sg,"")}function Ds(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Au=Symbol("layout-meta"),Mn=Symbol("route"),Ge=()=>{var e;return(e=ce())==null?void 0:e.$router},zi=()=>qc()?Me(Mn,ce()._route):ce()._route;const Eg=()=>{try{if(ce()._processingMiddleware)return!0}catch{return!0}return!1},Tg=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:hu(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,u=Object.entries(l).filter(([c,f])=>f!==void 0).map(([c,f])=>`${c.toLowerCase()}=${f}`).join(", ");open(n,a,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||kt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Sr(n).protocol;if(a&&Sh(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Eg();if(!r&&o)return e;const s=Ge(),i=ce();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},Ru="__nuxt_error",Mo=()=>cn(ce().payload,"error"),gn=e=>{const t=Lo(e);try{const n=ce(),r=Mo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ag=async(e={})=>{const t=ce(),n=Mo();t.callHook("app:error:cleared",e),e.redirect&&await Ge().replace(e.redirect),n.value=null},Rg=e=>!!e&&typeof e=="object"&&Ru in e,Lo=e=>{const t=zs(e);return Object.defineProperty(t,Ru,{value:!0,configurable:!1,writable:!1}),t},Pg="modulepreload",Ig=function(e,t){return e[0]==="."?new URL(e,t).href:e},tl={},Og=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=Ig(l,r),l in tl)return;tl[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const y=s[p];if(y.href===l&&(!u||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Pg,u||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},bt=(...e)=>Og(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),$g=-1,Mg=-2,Lg=-3,jg=-4,Ng=-5,Hg=-6;function Fg(e,t){return Bg(JSON.parse(e),t)}function Bg(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===$g)return;if(s===Lg)return NaN;if(s===jg)return 1/0;if(s===Ng)return-1/0;if(s===Hg)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[s]=u(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function nl(e){return e._h||Di(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Iu(e,t){const{props:n,tag:r}=e;if(qg.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function rl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Wg(e,t,n){const r={tag:e,props:await Ou(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Pu.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||zg.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Kg(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function Ou(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Kg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Pu.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Gg=10;async function Jg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dg.includes(n)).forEach(([n,r])=>{const o=Ug(r);t.push(...o.map(s=>Wg(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<l&&l[u]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,u)=>`${a}${u}`).trim())}),e.includes(At)&&(e.endsWith(At)&&(e=e.slice(0,-At.length).trim()),e.startsWith(At)&&(e=e.slice(At.length).trim()),e=e.replace(new RegExp(`\\${At}\\s*\\${At}`,"g"),At),e=Wr(e,{separator:n},n)),e}async function $u(e,t={}){var c;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Vr.includes(f.tag)?nl(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(c=n[f])==null?void 0:c.children,p=[];for(const y of[...d].filter(b=>Vr.includes(b.tagName.toLowerCase()))){const b={tag:y.tagName.toLowerCase(),props:await Ou(y.getAttributeNames().reduce((v,g)=>({...v,[g]:y.getAttribute(g)}),{})),innerHTML:y.innerHTML};let x=1,k=Iu(b);for(;k&&p.find(v=>v._d===k);)k=`${k}:${x++}`;b._d=k||void 0,p.push(b),s.elMap[y.getAttribute("data-hid")||nl(b)]=y}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const y=`${f}:${d}`;s.sideEffects[y]=p,delete s.pendingSideEffects[y]}function a({id:f,$el:d,tag:p}){const y=p.tag.endsWith("Attrs");s.elMap[f]=d,y||(["textContent","innerHTML"].forEach(b=>{p[b]&&p[b]!==d[b]&&(d[b]=p[b])}),i(f,"el",()=>{var b;(b=s.elMap[f])==null||b.remove(),delete s.elMap[f]}));for(const[b,x]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${b}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(b.replace("on",""),x.bind(d)),d.setAttribute(`data-${b}`,""));Object.entries(p.props).forEach(([b,x])=>{const k=`attr:${b}`;if(b==="class")for(const v of(x||"").split(" ").filter(Boolean))y&&i(f,`${k}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(b==="style")for(const v of(x||"").split(";").filter(Boolean)){const[g,..._]=v.split(":").map(C=>C.trim());i(f,`${k}:${v}:${g}`,()=>{d.style.removeProperty(g)}),d.style.setProperty(g,_.join(":"))}else d.getAttribute(b)!==x&&d.setAttribute(b,x===!0?"":String(x)),y&&i(f,k,()=>d.removeAttribute(b))})}const l=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:y}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[y],f.$el?a(f):Vr.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Xg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await $u(e,t),delete e._domUpdatePromise,r()}))}function Yg(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){Xg(s,e)}}}}}const Zg=["templateParams","htmlAttrs","bodyAttrs"],em={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Iu(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Zg.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(u=>{l[u]&&(r.props[u]?(u==="style"&&!l[u].endsWith(";")&&(l[u]+=";"),r.props[u]=`${l[u]} ${r.props[u]}`):r.props[u]=l[u])}),t[o].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(yo(r)>yo(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Vr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},tm={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},nm=["script","link","bodyAttrs"],rm=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>nm.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&as.includes(r)?(n.props[r]=`this.dataset.${r} = true`,n.props["data-unhead-events"]=""):delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Di(n.props.src||n.props.href))},"dom:renderTag":function(t){const n=t.$el;if(!(n!=null&&n.dataset)||!("unheadEvents"in n.dataset))return;delete n.dataset.unheadEvents;const r=o=>{var s,i;return(i=(s=t.tag._eventHandlers)==null?void 0:s[o])==null?void 0:i.call(t.$el,new Event(o.replace("on","")))};for(const o of Object.keys(n.dataset).filter(s=>as.includes(s)))r(o);typeof MutationObserver<"u"&&new MutationObserver(s=>{s.filter(i=>i.attributeName&&as.includes(i.attributeName.replace("data-",""))).map(i=>i.attributeName.replace("data-","")).map(r)}).observe(t.$el,{attributes:!0})}}}),om=["link","style","script","noscript"],sm={hooks:{"tag:normalise":({tag:e})=>{e.key&&om.includes(e.tag)&&(e.props["data-hid"]=e._h=Di(e.key))}}},im={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Qg)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>yo(n)-yo(r))}}},am={meta:"content",link:"href",htmlAttrs:"lang"},lm=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=Wr(s.pageTitle||r||"",s,i);for(const l of n.filter(u=>u.processTemplateParams!==!1)){const u=am[l.tag];u&&typeof l.props[u]=="string"?l.props[u]=Wr(l.props[u],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(c=>{typeof l[c]=="string"&&(l[c]=Wr(l[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),cm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=rl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=rl(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},um={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const u=typeof l=="function"?l(a):l;(!u.key||!i.some(c=>c.key===u.key))&&(i.push(u),il(u.mode,n)&&t.addHooks(u.hooks||{}))},push(l,u){u==null||delete u.head;const c={_i:o++,input:l,...u};return il(c.mode,n)&&(s.push(c),r()),{dispose(){s=s.filter(f=>f._i!==c._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===c._i&&(d.input=c.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const u of l.entries){const c=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(c):c),u.resolvedInput)for(const f of await Jg(u)){const d={tag:f,entry:u,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[em,tm,rm,sm,im,lm,cm,um,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function pm(){return Mu}const hm=iu.startsWith("3");function gm(e){return typeof e=="function"?e():fe(e)}function bo(e,t=""){if(e instanceof Promise)return e;const n=gm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>bo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,fe(o)]:[r,bo(o,r)])):n}const mm={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=bo(t.input)}}},Lu="usehead";function ym(e){return{install(n){hm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Lu,e))}}.install}function bm(e={}){e.domDelayFn=e.domDelayFn||(n=>$n(()=>setTimeout(()=>n(),0)));const t=fm(e);return t.use(mm),t.install=ym(t),t}const qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vs="__unhead_injection_handler__";function vm(e){qs[Vs]=e}function wm(){if(Vs in qs)return qs[Vs]();const e=Me(Lu);return e||pm()}function _m(e,t={}){const n=t.head||wm();if(n)return n.ssr?n.push(e,t):xm(n,e,t)}function xm(e,t,n={}){const r=we(!1),o=we({});Ic(()=>{o.value=r.value?{}:bo(t)});const s=e.push(o.value,n);return Ke(o,a=>{s.patch(a)}),xt()&&(_r(()=>{s.dispose()}),Nc(()=>{r.value=!0}),jc(()=>{r.value=!1})),s}const km={ui:{primary:"teal",gray:"neutral",notifications:{position:"top-0 bottom-auto"}}},Cm={nuxt:{buildId:"6cb437d9-620f-460e-ab83-4e7487e59016"},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","downy","primary"],strategy:"merge"}},tt=wg(km,Cm);function Ln(){const e=ce();return e._appConfig||(e._appConfig=pt(tt)),e._appConfig}const Sm=!1,Ws=!1,Em=!1,Tm={componentName:"NuxtLink"},Am="#__nuxt";let Kr,ju;function Rm(){var t;const e=(t=Ln().nuxt)==null?void 0:t.buildId;return Kr=$fetch(Hi(`builds/meta/${e}.json`)),Kr.then(n=>{ju=vg(n.matcher)}),Kr}function jo(){return Kr||Rm()}async function qi(e){return await jo(),Ui({},...ju.matchAll(e).reverse())}function al(e,t={}){const n=Im(e,t),r=ce(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Om(e).then(s=>s?Nu(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Pm="_payload.json";function Im(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||kt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Ln().nuxt)==null?void 0:o.buildId);return Oo($o().app.baseURL,n.pathname,Pm+(r?`?${r}`:""))}async function Nu(e){const t=fetch(e).then(n=>n.text().then(Hu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Om(e=zi().path){if(e=Io(e),(await jo()).prerendered.includes(e))return!0;const n=await qi(e);return!!n.prerender&&!n.redirect}let Fr=null;async function $m(){if(Fr)return Fr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Hu(e.textContent||""),n=e.dataset.src?await Nu(e.dataset.src):void 0;return Fr={...t,...n,...window.__NUXT__},Fr}async function Hu(e){return await Fg(e,ce()._payloadRevivers)}function Mm(e,t){ce()._payloadRevivers[e]=t}const ll={NuxtError:e=>Lo(e),EmptyShallowRef:e=>kn(e==="_"?void 0:e==="0n"?BigInt(0):go(e)),EmptyRef:e=>we(e==="_"?void 0:e==="0n"?BigInt(0):go(e)),ShallowRef:e=>kn(e),ShallowReactive:e=>vr(e),Ref:e=>we(e),Reactive:e=>pt(e)},Lm=at({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in ll)Mm(r,ll[r]);Object.assign(e.payload,([t,n]=dr(()=>e.runWithContext($m)),t=await t,n(),t)),window.__NUXT__=e.payload}}),jm=[],Nm=at({name:"nuxt:head",enforce:"pre",setup(e){const t=bm({plugins:jm});vm(()=>ce().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await $u(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Cu="[native code] }",mg=Cu.length;function Za(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-mg)===Cu}function yg(e,t,n={}){return e===t||Ya(e,n)===Ya(t,n)}function bg(e,t){return{ctx:{table:e},matchAll:n=>Eu(n,e,t)}}function Su(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Su(o)])):new Map(Object.entries(e[n]));return t}function vg(e){return bg(Su(e))}function Eu(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of el(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of el(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...Eu(a,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function el(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function is(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bs(e,t,n=".",r){if(!is(t))return Bs(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:is(i)&&is(o[s])?o[s]=Bs(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Bi(e){return(...t)=>t.reduce((n,r)=>Bs(n,r,"",e),{})}const Ui=Bi(),wg=Bi((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function _g(e,t){try{return t in e}catch{return!1}}var xg=Object.defineProperty,kg=(e,t,n)=>t in e?xg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gt=(e,t,n)=>(kg(e,typeof t!="symbol"?t+"":t,n),n);class Us extends Error{constructor(t,n={}){super(t,n),Gt(this,"statusCode",500),Gt(this,"fatal",!1),Gt(this,"unhandled",!1),Gt(this,"statusMessage"),Gt(this,"data"),Gt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ds(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Tu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Gt(Us,"__h3_error__",!0);function zs(e){if(typeof e=="string")return new Us(e);if(Cg(e))return e;const t=new Us(e.message??e.statusMessage??"",{cause:e.cause||e});if(_g(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ds(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ds(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Tu(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Cg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Sg=/[^\u0009\u0020-\u007E]/g;function Tu(e=""){return e.replace(Sg,"")}function Ds(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Au=Symbol("layout-meta"),Mn=Symbol("route"),Ge=()=>{var e;return(e=ce())==null?void 0:e.$router},zi=()=>qc()?Me(Mn,ce()._route):ce()._route;const Eg=()=>{try{if(ce()._processingMiddleware)return!0}catch{return!0}return!1},Tg=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:hu(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,u=Object.entries(l).filter(([c,f])=>f!==void 0).map(([c,f])=>`${c.toLowerCase()}=${f}`).join(", ");open(n,a,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||kt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Sr(n).protocol;if(a&&Sh(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Eg();if(!r&&o)return e;const s=Ge(),i=ce();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},Ru="__nuxt_error",Mo=()=>cn(ce().payload,"error"),gn=e=>{const t=Lo(e);try{const n=ce(),r=Mo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ag=async(e={})=>{const t=ce(),n=Mo();t.callHook("app:error:cleared",e),e.redirect&&await Ge().replace(e.redirect),n.value=null},Rg=e=>!!e&&typeof e=="object"&&Ru in e,Lo=e=>{const t=zs(e);return Object.defineProperty(t,Ru,{value:!0,configurable:!1,writable:!1}),t},Pg="modulepreload",Ig=function(e,t){return e[0]==="."?new URL(e,t).href:e},tl={},Og=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=Ig(l,r),l in tl)return;tl[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const y=s[p];if(y.href===l&&(!u||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Pg,u||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},bt=(...e)=>Og(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),$g=-1,Mg=-2,Lg=-3,jg=-4,Ng=-5,Hg=-6;function Fg(e,t){return Bg(JSON.parse(e),t)}function Bg(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===$g)return;if(s===Lg)return NaN;if(s===jg)return 1/0;if(s===Ng)return-1/0;if(s===Hg)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[s]=u(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function nl(e){return e._h||Di(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Iu(e,t){const{props:n,tag:r}=e;if(qg.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function rl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Wg(e,t,n){const r={tag:e,props:await Ou(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Pu.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||zg.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Kg(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function Ou(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Kg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Pu.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Gg=10;async function Jg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dg.includes(n)).forEach(([n,r])=>{const o=Ug(r);t.push(...o.map(s=>Wg(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<l&&l[u]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,u)=>`${a}${u}`).trim())}),e.includes(At)&&(e.endsWith(At)&&(e=e.slice(0,-At.length).trim()),e.startsWith(At)&&(e=e.slice(At.length).trim()),e=e.replace(new RegExp(`\\${At}\\s*\\${At}`,"g"),At),e=Wr(e,{separator:n},n)),e}async function $u(e,t={}){var c;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Vr.includes(f.tag)?nl(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(c=n[f])==null?void 0:c.children,p=[];for(const y of[...d].filter(b=>Vr.includes(b.tagName.toLowerCase()))){const b={tag:y.tagName.toLowerCase(),props:await Ou(y.getAttributeNames().reduce((v,g)=>({...v,[g]:y.getAttribute(g)}),{})),innerHTML:y.innerHTML};let x=1,k=Iu(b);for(;k&&p.find(v=>v._d===k);)k=`${k}:${x++}`;b._d=k||void 0,p.push(b),s.elMap[y.getAttribute("data-hid")||nl(b)]=y}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const y=`${f}:${d}`;s.sideEffects[y]=p,delete s.pendingSideEffects[y]}function a({id:f,$el:d,tag:p}){const y=p.tag.endsWith("Attrs");s.elMap[f]=d,y||(["textContent","innerHTML"].forEach(b=>{p[b]&&p[b]!==d[b]&&(d[b]=p[b])}),i(f,"el",()=>{var b;(b=s.elMap[f])==null||b.remove(),delete s.elMap[f]}));for(const[b,x]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${b}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(b.replace("on",""),x.bind(d)),d.setAttribute(`data-${b}`,""));Object.entries(p.props).forEach(([b,x])=>{const k=`attr:${b}`;if(b==="class")for(const v of(x||"").split(" ").filter(Boolean))y&&i(f,`${k}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(b==="style")for(const v of(x||"").split(";").filter(Boolean)){const[g,..._]=v.split(":").map(C=>C.trim());i(f,`${k}:${v}:${g}`,()=>{d.style.removeProperty(g)}),d.style.setProperty(g,_.join(":"))}else d.getAttribute(b)!==x&&d.setAttribute(b,x===!0?"":String(x)),y&&i(f,k,()=>d.removeAttribute(b))})}const l=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:y}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[y],f.$el?a(f):Vr.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Xg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await $u(e,t),delete e._domUpdatePromise,r()}))}function Yg(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){Xg(s,e)}}}}}const Zg=["templateParams","htmlAttrs","bodyAttrs"],em={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Iu(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Zg.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(u=>{l[u]&&(r.props[u]?(u==="style"&&!l[u].endsWith(";")&&(l[u]+=";"),r.props[u]=`${l[u]} ${r.props[u]}`):r.props[u]=l[u])}),t[o].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(yo(r)>yo(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Vr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},tm={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},nm=["script","link","bodyAttrs"],rm=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>nm.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&as.includes(r)?(n.props[r]=`this.dataset.${r} = true`,n.props["data-unhead-events"]=""):delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Di(n.props.src||n.props.href))},"dom:renderTag":function(t){const n=t.$el;if(!(n!=null&&n.dataset)||!("unheadEvents"in n.dataset))return;delete n.dataset.unheadEvents;const r=o=>{var s,i;return(i=(s=t.tag._eventHandlers)==null?void 0:s[o])==null?void 0:i.call(t.$el,new Event(o.replace("on","")))};for(const o of Object.keys(n.dataset).filter(s=>as.includes(s)))r(o);typeof MutationObserver<"u"&&new MutationObserver(s=>{s.filter(i=>i.attributeName&&as.includes(i.attributeName.replace("data-",""))).map(i=>i.attributeName.replace("data-","")).map(r)}).observe(t.$el,{attributes:!0})}}}),om=["link","style","script","noscript"],sm={hooks:{"tag:normalise":({tag:e})=>{e.key&&om.includes(e.tag)&&(e.props["data-hid"]=e._h=Di(e.key))}}},im={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Qg)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>yo(n)-yo(r))}}},am={meta:"content",link:"href",htmlAttrs:"lang"},lm=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=Wr(s.pageTitle||r||"",s,i);for(const l of n.filter(u=>u.processTemplateParams!==!1)){const u=am[l.tag];u&&typeof l.props[u]=="string"?l.props[u]=Wr(l.props[u],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(c=>{typeof l[c]=="string"&&(l[c]=Wr(l[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),cm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=rl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=rl(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},um={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const u=typeof l=="function"?l(a):l;(!u.key||!i.some(c=>c.key===u.key))&&(i.push(u),il(u.mode,n)&&t.addHooks(u.hooks||{}))},push(l,u){u==null||delete u.head;const c={_i:o++,input:l,...u};return il(c.mode,n)&&(s.push(c),r()),{dispose(){s=s.filter(f=>f._i!==c._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===c._i&&(d.input=c.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const u of l.entries){const c=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(c):c),u.resolvedInput)for(const f of await Jg(u)){const d={tag:f,entry:u,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[em,tm,rm,sm,im,lm,cm,um,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function pm(){return Mu}const hm=iu.startsWith("3");function gm(e){return typeof e=="function"?e():fe(e)}function bo(e,t=""){if(e instanceof Promise)return e;const n=gm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>bo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,fe(o)]:[r,bo(o,r)])):n}const mm={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=bo(t.input)}}},Lu="usehead";function ym(e){return{install(n){hm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Lu,e))}}.install}function bm(e={}){e.domDelayFn=e.domDelayFn||(n=>$n(()=>setTimeout(()=>n(),0)));const t=fm(e);return t.use(mm),t.install=ym(t),t}const qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vs="__unhead_injection_handler__";function vm(e){qs[Vs]=e}function wm(){if(Vs in qs)return qs[Vs]();const e=Me(Lu);return e||pm()}function _m(e,t={}){const n=t.head||wm();if(n)return n.ssr?n.push(e,t):xm(n,e,t)}function xm(e,t,n={}){const r=we(!1),o=we({});Ic(()=>{o.value=r.value?{}:bo(t)});const s=e.push(o.value,n);return Ke(o,a=>{s.patch(a)}),xt()&&(_r(()=>{s.dispose()}),Nc(()=>{r.value=!0}),jc(()=>{r.value=!1})),s}const km={ui:{primary:"teal",gray:"neutral",notifications:{position:"top-0 bottom-auto"}}},Cm={nuxt:{buildId:"dcc434cb-be7f-48aa-8f7b-22b638a79b9a"},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","downy","primary"],strategy:"merge"}},tt=wg(km,Cm);function Ln(){const e=ce();return e._appConfig||(e._appConfig=pt(tt)),e._appConfig}const Sm=!1,Ws=!1,Em=!1,Tm={componentName:"NuxtLink"},Am="#__nuxt";let Kr,ju;function Rm(){var t;const e=(t=Ln().nuxt)==null?void 0:t.buildId;return Kr=$fetch(Hi(`builds/meta/${e}.json`)),Kr.then(n=>{ju=vg(n.matcher)}),Kr}function jo(){return Kr||Rm()}async function qi(e){return await jo(),Ui({},...ju.matchAll(e).reverse())}function al(e,t={}){const n=Im(e,t),r=ce(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Om(e).then(s=>s?Nu(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Pm="_payload.json";function Im(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||kt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Ln().nuxt)==null?void 0:o.buildId);return Oo($o().app.baseURL,n.pathname,Pm+(r?`?${r}`:""))}async function Nu(e){const t=fetch(e).then(n=>n.text().then(Hu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Om(e=zi().path){if(e=Io(e),(await jo()).prerendered.includes(e))return!0;const n=await qi(e);return!!n.prerender&&!n.redirect}let Fr=null;async function $m(){if(Fr)return Fr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Hu(e.textContent||""),n=e.dataset.src?await Nu(e.dataset.src):void 0;return Fr={...t,...n,...window.__NUXT__},Fr}async function Hu(e){return await Fg(e,ce()._payloadRevivers)}function Mm(e,t){ce()._payloadRevivers[e]=t}const ll={NuxtError:e=>Lo(e),EmptyShallowRef:e=>kn(e==="_"?void 0:e==="0n"?BigInt(0):go(e)),EmptyRef:e=>we(e==="_"?void 0:e==="0n"?BigInt(0):go(e)),ShallowRef:e=>kn(e),ShallowReactive:e=>vr(e),Ref:e=>we(e),Reactive:e=>pt(e)},Lm=at({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in ll)Mm(r,ll[r]);Object.assign(e.payload,([t,n]=dr(()=>e.runWithContext($m)),t=await t,n(),t)),window.__NUXT__=e.payload}}),jm=[],Nm=at({name:"nuxt:head",enforce:"pre",setup(e){const t=bm({plugins:jm});vm(()=>ce().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await $u(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const hn=typeof document<"u";function Hm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const le=Object.assign;function ls(e,t){const n={};for(const r in t){const o=t[r];n[r]=it(o)?o.map(e):e(o)}return n}const tr=()=>{},it=Array.isArray,Fu=/#/g,Fm=/&/g,Bm=/\//g,Um=/=/g,zm=/\?/g,Bu=/\+/g,Dm=/%5B/g,qm=/%5D/g,Uu=/%5E/g,Vm=/%60/g,zu=/%7B/g,Wm=/%7C/g,Du=/%7D/g,Km=/%20/g;function Vi(e){return encodeURI(""+e).replace(Wm,"|").replace(Dm,"[").replace(qm,"]")}function Gm(e){return Vi(e).replace(zu,"{").replace(Du,"}").replace(Uu,"^")}function Ks(e){return Vi(e).replace(Bu,"%2B").replace(Km,"+").replace(Fu,"%23").replace(Fm,"%26").replace(Vm,"`").replace(zu,"{").replace(Du,"}").replace(Uu,"^")}function Jm(e){return Ks(e).replace(Um,"%3D")}function Qm(e){return Vi(e).replace(Fu,"%23").replace(zm,"%3F")}function Xm(e){return e==null?"":Qm(e).replace(Bm,"%2F")}function pr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ym=/\/$/,Zm=e=>e.replace(Ym,"");function cs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=r0(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:pr(i)}}function e0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function t0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Tn(t.matched[r],n.matched[o])&&qu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!n0(e[n],t[n]))return!1;return!0}function n0(e,t){return it(e)?ul(e,t):it(t)?ul(t,e):e===t}function ul(e,t){return it(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function r0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var hr;(function(e){e.pop="pop",e.push="push"})(hr||(hr={}));var nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nr||(nr={}));function o0(e){if(!e)if(hn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zm(e)}const s0=/^[^#]+#/;function i0(e,t){return e.replace(s0,"#")+t}function a0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const No=()=>({left:window.scrollX,top:window.scrollY});function l0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=a0(o,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 fl(e,t){return(history.state?history.state.position-t:-1)+e}const Gs=new Map;function c0(e,t){Gs.set(e,t)}function u0(e){const t=Gs.get(e);return Gs.delete(e),t}let f0=()=>location.protocol+"//"+location.host;function Vu(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),cl(l,"")}return cl(n,e)+r+o}function d0(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Vu(e,location),y=n.value,b=t.value;let x=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}x=b?d.position-b.position:0}else r(p);o.forEach(k=>{k(n.value,y,{delta:x,type:hr.pop,direction:x?x>0?nr.forward:nr.back:nr.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(le({},d.state,{scroll:No()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function dl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?No():null}}function p0(e){const{history:t,location:n}=window,r={value:Vu(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:f0()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=le({},t.state,dl(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=le({},o.value,t.state,{forward:l,scroll:No()});s(c.current,c,!0);const f=le({},dl(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Wu(e){e=o0(e);const t=p0(e),n=d0(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=le({location:"",base:e,go:r,createHref:i0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function h0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wu(e)}function g0(e){return typeof e=="string"||e&&typeof e=="object"}function Ku(e){return typeof e=="string"||typeof e=="symbol"}const ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gu=Symbol("");var pl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pl||(pl={}));function An(e,t){return le(new Error,{type:e,[Gu]:!0},t)}function ht(e,t){return e instanceof Error&&Gu in e&&(t==null||!!(e.type&t))}const hl="[^/]+?",m0={sensitive:!1,strict:!1,start:!0,end:!0},y0=/[.+*?^${}()[\]/\\]/g;function b0(e,t){const n=le({},m0,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function w0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const _0={type:0,value:""},x0=/[a-zA-Z0-9_]/;function k0(e){if(!e)return[[]];if(e==="/")return[[_0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(v)}:tr}function i(c){if(Ku(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Ju(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!yl(c)&&r.set(c.record.name,c)}function u(c,f){let d,p={},y,b;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw An(1,{location:c});b=d.record.name,p=le(ml(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),c.params&&ml(c.params,d.keys.map(v=>v.name))),y=d.stringify(p)}else if(c.path!=null)y=c.path,d=n.find(v=>v.re.test(y)),d&&(p=d.parse(y),b=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw An(1,{location:c,currentLocation:f});b=d.record.name,p=le({},f.params,c.params),y=d.stringify(p)}const x=[];let k=d;for(;k;)x.unshift(k.record),k=k.parent;return{name:b,path:y,params:p,matched:x,meta:A0(x)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function ml(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function E0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:T0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function T0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A0(e){return e.reduce((t,n)=>le(t,n.meta),{})}function bl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ju(e,t){return t.children.some(n=>n===e||Ju(e,n))}function R0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Ks(s)):[r&&Ks(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function P0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=it(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const I0=Symbol(""),wl=Symbol(""),Ho=Symbol(""),Wi=Symbol(""),Js=Symbol("");function Un(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lt(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(An(4,{from:n,to:t})):d instanceof Error?l(d):g0(d)?l(An(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function us(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(O0(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Lt(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Hm(c)?c.default:c;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Lt(p,n,r,i,a,o)()}))}}return s}function O0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _l(e){const t=Me(Ho),n=Me(Wi),r=K(()=>t.resolve(fe(e.to))),o=K(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Tn.bind(null,c));if(d>-1)return d;const p=xl(l[u-2]);return u>1&&xl(c)===p&&f[f.length-1].path!==p?f.findIndex(Tn.bind(null,l[u-2])):d}),s=K(()=>o.value>-1&&j0(n.params,r.value.params)),i=K(()=>o.value>-1&&o.value===n.matched.length-1&&qu(n.params,r.value.params));function a(l={}){return L0(l)?t[fe(e.replace)?"replace":"push"](fe(e.to)).catch(tr):Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const $0=Ie({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_l,setup(e,{slots:t}){const n=pt(_l(e)),{options:r}=Me(Ho),o=K(()=>({[kl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[kl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Re("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),M0=$0;function L0(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 j0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!it(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function xl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kl=(e,t,n)=>e??t??n,N0=Ie({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Me(Js),o=K(()=>e.route||r.value),s=Me(wl,0),i=K(()=>{let u=fe(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=K(()=>o.value.matched[i.value]);Bt(wl,K(()=>i.value+1)),Bt(I0,a),Bt(Js,o);const l=we();return Ke(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Tn(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(b=>b(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Cl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,x=Re(d,le({},y,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Cl(n.default,{Component:x,route:u})||x}}});function Cl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qu=N0;function H0(e){const t=S0(e.routes,e),n=e.parseQuery||R0,r=e.stringifyQuery||vl,o=e.history,s=Un(),i=Un(),a=Un(),l=kn(ot);let u=ot;hn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ls.bind(null,T=>""+T),f=ls.bind(null,Xm),d=ls.bind(null,pr);function p(T,U){let H,q;return Ku(T)?(H=t.getRecordMatcher(T),q=U):q=T,t.addRoute(q,H)}function y(T){const U=t.getRecordMatcher(T);U&&t.removeRoute(U)}function b(){return t.getRoutes().map(T=>T.record)}function x(T){return!!t.getRecordMatcher(T)}function k(T,U){if(U=le({},U||l.value),typeof T=="string"){const m=cs(n,T,U.path),S=t.resolve({path:m.path},U),P=o.createHref(m.fullPath);return le(m,S,{params:d(S.params),hash:pr(m.hash),redirectedFrom:void 0,href:P})}let H;if(T.path!=null)H=le({},T,{path:cs(n,T.path,U.path).path});else{const m=le({},T.params);for(const S in m)m[S]==null&&delete m[S];H=le({},T,{params:f(m)}),U.params=f(U.params)}const q=t.resolve(H,U),ie=T.hash||"";q.params=c(d(q.params));const ye=e0(r,le({},T,{hash:Gm(ie),path:q.path})),h=o.createHref(ye);return le({fullPath:ye,hash:ie,query:r===vl?P0(T.query):T.query||{}},q,{redirectedFrom:void 0,href:h})}function v(T){return typeof T=="string"?cs(n,T,l.value.path):le({},T)}function g(T,U){if(u!==T)return An(8,{from:U,to:T})}function _(T){return A(T)}function C(T){return _(le(v(T),{replace:!0}))}function w(T){const U=T.matched[T.matched.length-1];if(U&&U.redirect){const{redirect:H}=U;let q=typeof H=="function"?H(T):H;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=v(q):{path:q},q.params={}),le({query:T.query,hash:T.hash,params:q.path!=null?{}:T.params},q)}}function A(T,U){const H=u=k(T),q=l.value,ie=T.state,ye=T.force,h=T.replace===!0,m=w(H);if(m)return A(le(v(m),{state:typeof m=="object"?le({},ie,m.state):ie,force:ye,replace:h}),U||H);const S=H;S.redirectedFrom=U;let P;return!ye&&t0(r,q,H)&&(P=An(16,{to:S,from:q}),Le(q,q,!0,!1)),(P?Promise.resolve(P):$(S,q)).catch(E=>ht(E)?ht(E,2)?E:nt(E):D(E,S,q)).then(E=>{if(E){if(ht(E,2))return A(le({replace:h},v(E.to),{state:typeof E.to=="object"?le({},ie,E.to.state):ie,force:ye}),U||S)}else E=R(S,q,!0,h,ie);return V(S,q,E),E})}function I(T,U){const H=g(T,U);return H?Promise.reject(H):Promise.resolve()}function M(T){const U=dn.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(T):T()}function $(T,U){let H;const[q,ie,ye]=F0(T,U);H=us(q.reverse(),"beforeRouteLeave",T,U);for(const m of q)m.leaveGuards.forEach(S=>{H.push(Lt(S,T,U))});const h=I.bind(null,T,U);return H.push(h),je(H).then(()=>{H=[];for(const m of s.list())H.push(Lt(m,T,U));return H.push(h),je(H)}).then(()=>{H=us(ie,"beforeRouteUpdate",T,U);for(const m of ie)m.updateGuards.forEach(S=>{H.push(Lt(S,T,U))});return H.push(h),je(H)}).then(()=>{H=[];for(const m of ye)if(m.beforeEnter)if(it(m.beforeEnter))for(const S of m.beforeEnter)H.push(Lt(S,T,U));else H.push(Lt(m.beforeEnter,T,U));return H.push(h),je(H)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),H=us(ye,"beforeRouteEnter",T,U,M),H.push(h),je(H))).then(()=>{H=[];for(const m of i.list())H.push(Lt(m,T,U));return H.push(h),je(H)}).catch(m=>ht(m,8)?m:Promise.reject(m))}function V(T,U,H){a.list().forEach(q=>M(()=>q(T,U,H)))}function R(T,U,H,q,ie){const ye=g(T,U);if(ye)return ye;const h=U===ot,m=hn?history.state:{};H&&(q||h?o.replace(T.fullPath,le({scroll:h&&m&&m.scroll},ie)):o.push(T.fullPath,ie)),l.value=T,Le(T,U,H,h),nt()}let G;function se(){G||(G=o.listen((T,U,H)=>{if(!Tr.listening)return;const q=k(T),ie=w(q);if(ie){A(le(ie,{replace:!0}),q).catch(tr);return}u=q;const ye=l.value;hn&&c0(fl(ye.fullPath,H.delta),No()),$(q,ye).catch(h=>ht(h,12)?h:ht(h,2)?(A(h.to,q).then(m=>{ht(m,20)&&!H.delta&&H.type===hr.pop&&o.go(-1,!1)}).catch(tr),Promise.reject()):(H.delta&&o.go(-H.delta,!1),D(h,q,ye))).then(h=>{h=h||R(q,ye,!1),h&&(H.delta&&!ht(h,8)?o.go(-H.delta,!1):H.type===hr.pop&&ht(h,20)&&o.go(-1,!1)),V(q,ye,h)}).catch(tr)}))}let ae=Un(),B=Un(),Y;function D(T,U,H){nt(T);const q=B.list();return q.length?q.forEach(ie=>ie(T,U,H)):console.error(T),Promise.reject(T)}function Oe(){return Y&&l.value!==ot?Promise.resolve():new Promise((T,U)=>{ae.add([T,U])})}function nt(T){return Y||(Y=!T,se(),ae.list().forEach(([U,H])=>T?H(T):U()),ae.reset()),T}function Le(T,U,H,q){const{scrollBehavior:ie}=e;if(!hn||!ie)return Promise.resolve();const ye=!H&&u0(fl(T.fullPath,0))||(q||!H)&&history.state&&history.state.scroll||null;return $n().then(()=>ie(T,U,ye)).then(h=>h&&l0(h)).catch(h=>D(h,T,U))}const Ce=T=>o.go(T);let fn;const dn=new Set,Tr={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,hasRoute:x,getRoutes:b,resolve:k,options:e,push:_,replace:C,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:Oe,install(T){const U=this;T.component("RouterLink",M0),T.component("RouterView",Qu),T.config.globalProperties.$router=U,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>fe(l)}),hn&&!fn&&l.value===ot&&(fn=!0,_(o.location).catch(ie=>{}));const H={};for(const ie in ot)Object.defineProperty(H,ie,{get:()=>l.value[ie],enumerable:!0});T.provide(Ho,U),T.provide(Wi,vr(H)),T.provide(Js,l);const q=T.unmount;dn.add(T),T.unmount=function(){dn.delete(T),dn.size<1&&(u=ot,G&&G(),G=null,l.value=ot,fn=!1,Y=!1),q()}}};function je(T){return T.reduce((U,H)=>U.then(()=>M(H)),Promise.resolve())}return Tr}function F0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;iTn(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Tn(u,l))||o.push(l))}return[n,r,o]}function Hw(){return Me(Ho)}function B0(){return Me(Wi)}const U0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Qs=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&U0(e.route,n));return typeof r=="function"?r(e.route):r},z0=(e,t)=>({default:()=>e?Re(zd,e===!0?{}:e,t):t});function Ki(e){return Array.isArray(e)?e:[e]}const fs=null,ds=null,ps=null,hs=null,Sl=[{name:"catchall",path:"/:catchall(.*)*",meta:{},alias:[],redirect:fs==null?void 0:fs.redirect,component:()=>bt(()=>import("./DIStlTXO.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:ds==null?void 0:ds.redirect,component:()=>bt(()=>import("./B1YLQI0P.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:"Receive",path:"/Receive",meta:{},alias:[],redirect:ps==null?void 0:ps.redirect,component:()=>bt(()=>import("./BQ7GF8iI.js"),__vite__mapDeps([0,1]),import.meta.url).then(e=>e.default||e)},{name:"Send",path:"/Send",meta:{},alias:[],redirect:hs==null?void 0:hs.redirect,component:()=>bt(()=>import("./BJGGf2hQ.js"),__vite__mapDeps([2,1]),import.meta.url).then(e=>e.default||e)}],Xu=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Re(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function El(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function D0(e,t){return e===t||t===ot?!1:El(e)!==El(t)?!0:!e.matched.every((r,o)=>{var s,i;return r.components&&r.components.default===((i=(s=t.matched[o])==null?void 0:s.components)==null?void 0:i.default)})}const q0={scrollBehavior(e,t,n){var u;const r=ce(),o=((u=Ge().options)==null?void 0:u.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&D0(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Tl(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Ws),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(s={el:e.hash,top:Tl(e.hash),behavior:o}),c(s)})})}};function Tl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const V0={hashMode:!1,scrollBehaviorType:"auto"},Ve={...V0,...q0},W0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=ce(),o=Ge();if(([t,n]=dr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Lo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(u=>{if(a(),u===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>gn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},K0=async e=>{let t,n;const r=([t,n]=dr(()=>qi(e.path)),t=await t,n(),t);if(r.redirect)return kt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},G0=[W0,K0],rr={};function J0(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const u=s.includes(e.slice(i))?e.slice(i).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),Wa(c,"")}const a=Wa(r,e),l=!n||Rh(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const Q0=at({name:"nuxt:router",enforce:"pre",async setup(e){var b,x;let t,n,r=$o().app.baseURL;Ve.hashMode&&!r.includes("#")&&(r+="#");const o=((b=Ve.history)==null?void 0:b.call(Ve,r))??(Ve.hashMode?h0(r):Wu(r)),s=((x=Ve.routes)==null?void 0:x.call(Ve,Sl))??Sl;let i;const a=J0(r,window.location,e.payload.path),l=H0({...Ve,scrollBehavior:(k,v,g)=>{if(v===ot){i=g;return}if(Ve.scrollBehavior){if(l.options.scrollBehavior=Ve.scrollBehavior,"scrollRestoration"in window.history){const _=l.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return Ve.scrollBehavior(k,ot,i||g)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const u=kn(l.currentRoute.value);l.afterEach((k,v)=>{u.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const c=kn(l.resolve(a)),f=()=>{c.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((k,v)=>{var g,_,C,w;((_=(g=k.matched[0])==null?void 0:g.components)==null?void 0:_.default)===((w=(C=v.matched[0])==null?void 0:C.components)==null?void 0:w.default)&&f()});const d={};for(const k in c.value)Object.defineProperty(d,k,{get:()=>c.value[k]});e._route=vr(d),e._middleware=e._middleware||{global:[],named:{}};const p=Mo();try{[t,n]=dr(()=>l.isReady()),await t,n()}catch(k){[t,n]=dr(()=>e.runWithContext(()=>gn(k))),await t,n()}const y=e.payload.state._layout;return l.beforeEach(async(k,v)=>{var g;await e.callHook("page:loading:start"),k.meta=pt(k.meta),e.isHydrating&&y&&!rn(k.meta.layout)&&(k.meta.layout=y),e._processingMiddleware=!0;{const _=new Set([...G0,...e._middleware.global]);for(const C of k.matched){const w=C.meta.middleware;if(w)for(const A of Ki(w))_.add(A)}{const C=await e.runWithContext(()=>qi(k.path));if(C.appMiddleware)for(const w in C.appMiddleware)C.appMiddleware[w]?_.add(w):_.delete(w)}for(const C of _){const w=typeof C=="string"?e._middleware.named[C]||await((g=rr[C])==null?void 0:g.call(rr).then(I=>I.default||I)):C;if(!w)throw new Error(`Unknown route middleware: '${C}'.`);const A=await e.runWithContext(()=>w(k,v));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const I=A||zs({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>gn(I)),!1}if(A!==!0&&(A||A===!1))return A}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(k,v,g)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ag),g&&await e.callHook("page:loading:end"),k.matched.length===0&&await e.runWithContext(()=>gn(zs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${k.fullPath}`,data:{path:k.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const k=l.resolve(a);"name"in k&&(k.name=void 0),await l.replace({...k,force:!0}),l.options.scrollBehavior=Ve.scrollBehavior}catch(k){await e.runWithContext(()=>gn(k))}}),{provide:{router:l}}}}),Xs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),X0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Gi=e=>{const t=ce();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Xs(e)}):Xs(e)},Y0=at({name:"nuxt:payload",setup(e){Ge().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await al(t.path);r&&Object.assign(e.static.data,r.data)}),Gi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Sr(n).protocol||await al(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jo,1e3)})}}),Z0=at(e=>{let t;async function n(){const r=await jo();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Hi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Gi(()=>{t=setTimeout(n,1e3*60*60)})}),ey=so(()=>bt(()=>Promise.resolve().then(()=>ew),void 0,import.meta.url).then(e=>e.default)),ty=so(()=>bt(()=>import("./Bb5McYLg.js"),__vite__mapDeps([3,4]),import.meta.url).then(e=>e.default)),ny=[["Icon",ey],["IconCSS",ty]],ry=at({name:"nuxt:global-components",setup(e){for(const[t,n]of ny)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Nt={default:()=>bt(()=>import("./lQ4nfYQb.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},oy=at({name:"nuxt:prefetch",setup(e){const t=Ge();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Nt[r]=="function"&&await Nt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(kt(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Ki(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof rr[i]=="function"&&rr[i]();o&&typeof Nt[o]=="function"&&Nt[o]()})}});function Ys(e){return bi()?(ic(e),!0):!1}function Zs(e){return typeof e=="function"?e():fe(e)}const ei=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Al=()=>+Date.now(),ti=()=>{};function sy(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}function iy(e,t={}){let n,r,o=ti;const s=a=>{clearTimeout(a),o(),o=ti};return a=>{const l=Zs(e),u=Zs(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function Fw(...e){if(e.length!==1)return cn(...e);const t=e[0];return typeof t=="function"?ko(hd(()=>({get:t,set:ti}))):we(t)}function Bw(e,t=200,n={}){return sy(iy(t,n),e)}function ay(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=we(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function u(){const c=Zs(t);c<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,c))}if(r&&ei&&u(),Pe(t)||typeof t=="function"){const c=Ke(t,()=>{i.value&&ei&&u()});Ys(c)}return Ys(l),{isActive:i,pause:l,resume:u}}const ly=ei?window:void 0;function cy(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=ly}=t,s=we(!1),i=r?1e3/r:null;let a=0,l=null;function u(d){if(!s.value||!o)return;a||(a=d);const p=d-a;if(i&&pi.value=Al()+n,l=s?()=>{a(),s(i.value)}:a,u=o==="requestAnimationFrame"?cy(l,{immediate:r}):ay(l,o,{immediate:r});return t?{timestamp:i,...u}:i}const fy=Symbol("nuxt-ui.modal"),dy=at(e=>{const t=kn({component:"div",props:{}});e.vueApp.provide(fy,t)}),Ji="-";function py(e){const t=gy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(Ji);return a[0]===""&&a.length!==1&&a.shift(),Yu(a,t)||hy(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Yu(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Yu(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Ji);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const Rl=/^\[(.+)\]$/;function hy(e){if(Rl.test(e)){const t=Rl.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function gy(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return yy(Object.entries(e.classGroups),n).forEach(([s,i])=>{ni(i,r,s,t)}),r}function ni(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Pl(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(my(o)){ni(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{ni(i,Pl(t,s),n,r)})})}function Pl(e,t){let n=e;return t.split(Ji).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function my(e){return e.isThemeGetter}function yy(e,t){return t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e}function by(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(s,i){n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}}const Zu="!";function vy(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,u=0,c;for(let b=0;bu?c-u:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:y}}}function wy(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function _y(e){return{cache:by(e.cacheSize),splitModifiers:vy(e),...py(e)}}const xy=/\s+/;function ky(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(xy).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(i);let f=r(c?u.substring(0,c):u),d=!!c;if(!f){if(!c)return{isTailwindClass:!1,originalClassName:i};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=wy(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Zu:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=i,c=a+l;return s.has(c)?!1:(s.add(c),o(l,u).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function Ze(){let e=0,t,n,r="";for(;ef(c),e());return n=_y(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=ky(l,n);return o(l,c),c}return function(){return s(Ze.apply(null,arguments))}}function ge(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cy=/^\d+\/\d+$/,Sy=new Set(["px","full","screen"]),Ey=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ty=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ay=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ry=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Py=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function gt(e){return Xt(e)||Sy.has(e)||Cy.test(e)}function Rt(e){return jn(e,"length",Hy)}function Xt(e){return!!e&&!Number.isNaN(Number(e))}function Br(e){return jn(e,"number",Xt)}function zn(e){return!!e&&Number.isInteger(Number(e))}function Iy(e){return e.endsWith("%")&&Xt(e.slice(0,-1))}function te(e){return tf.test(e)}function Pt(e){return Ey.test(e)}const Oy=new Set(["length","size","percentage"]);function $y(e){return jn(e,Oy,nf)}function My(e){return jn(e,"position",nf)}const Ly=new Set(["image","url"]);function jy(e){return jn(e,Ly,By)}function Ny(e){return jn(e,"",Fy)}function Dn(){return!0}function jn(e,t,n){const r=tf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Hy(e){return Ty.test(e)&&!Ay.test(e)}function nf(){return!1}function Fy(e){return Ry.test(e)}function By(e){return Py.test(e)}function oi(){const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),o=ge("borderColor"),s=ge("borderRadius"),i=ge("borderSpacing"),a=ge("borderWidth"),l=ge("contrast"),u=ge("grayscale"),c=ge("hueRotate"),f=ge("invert"),d=ge("gap"),p=ge("gradientColorStops"),y=ge("gradientColorStopPositions"),b=ge("inset"),x=ge("margin"),k=ge("opacity"),v=ge("padding"),g=ge("saturate"),_=ge("scale"),C=ge("sepia"),w=ge("skew"),A=ge("space"),I=ge("translate"),M=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",te,t],R=()=>[te,t],G=()=>["",gt,Rt],se=()=>["auto",Xt,te],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],D=()=>["start","end","center","between","around","evenly","stretch"],Oe=()=>["","0",te],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Le=()=>[Xt,Br],Ce=()=>[Xt,te];return{cacheSize:500,separator:":",theme:{colors:[Dn],spacing:[gt,Rt],blur:["none","",Pt,te],brightness:Le(),borderColor:[e],borderRadius:["none","","full",Pt,te],borderSpacing:R(),borderWidth:G(),contrast:Le(),grayscale:Oe(),hueRotate:Ce(),invert:Oe(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Iy,Rt],inset:V(),margin:V(),opacity:Le(),padding:R(),saturate:Le(),scale:Le(),sepia:Oe(),skew:Ce(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[Pt]}],"break-after":[{"break-after":nt()}],"break-before":[{"break-before":nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ae(),te]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",zn,te]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:Oe()}],shrink:[{shrink:Oe()}],order:[{order:["first","last","none",zn,te]}],"grid-cols":[{"grid-cols":[Dn]}],"col-start-end":[{col:["auto",{span:["full",zn,te]},te]}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":[Dn]}],"row-start-end":[{row:["auto",{span:[zn,te]},te]}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...D()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...D(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...D(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[Pt]},Pt]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pt,Rt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Br]}],"font-family":[{font:[Dn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",te]}],"line-clamp":[{"line-clamp":["none",Xt,Br]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gt,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gt,Rt]}],"underline-offset":[{"underline-offset":["auto",gt,te]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),My]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$y]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jy]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[gt,te]}],"outline-w":[{outline:[gt,Rt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[gt,Rt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pt,Ny]}],"shadow-color":[{shadow:[Dn]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":Y()}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pt,te]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[g]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:Ce()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:Ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[zn,te]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gt,Rt,Br]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Uy(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Gr(e,"cacheSize",t),Gr(e,"prefix",n),Gr(e,"separator",r);for(const i in s)zy(e[i],s[i]);for(const i in o)Dy(e[i],o[i]);return e}function Gr(e,t,n){n!==void 0&&(e[t]=n)}function zy(e,t){if(t)for(const n in t)Gr(e,n,t[n])}function Dy(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function qy(e,...t){return typeof e=="function"?ri(oi,e,...t):ri(()=>Uy(oi(),e),...t)}const Rn=ri(oi);function Vy(e,t){const n={...e};for(const r of t)delete n[r];return n}function Wy(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const s=Number(o);return isNaN(s)?o:s}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}const Fo={to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1}},Ky={as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},Gy=e=>Object.keys(Fo).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Uw=e=>[...Object.keys(Fo),...Object.keys(Ky)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Jy=qy({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),Qy=Bi((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=Jy(e[t],n),!0});function Er(e,...t){return e==="override"?Ui({},...t):Qy({},...t)}function Il(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,o,s,i){return o+o+s+s+i+i});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}function zw(e){var n;let t=(n=e.default)==null?void 0:n.call(e);return t!=null&&t.length&&(t=t.flatMap(r=>{var o,s;return typeof r.type=="symbol"?typeof r.children=="string"?void 0:r.children:r.type.name==="ContentSlot"?(s=(o=r.ctx.slots).default)==null?void 0:s.call(o):r}).filter(Boolean)),t||[]}function Dw(e){const t=parseFloat(e);return isNaN(t)?e:t}const Xy="inherit",Yy="currentColor",Zy="transparent",eb="#000",tb="#fff",nb={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},rb={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},ob={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},sb={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},ib={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},ab={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},lb={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},cb={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},ub={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},fb={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},db={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},pb={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},hb={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},gb={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},mb={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},yb={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},bb={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},vb={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},wb={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},_b={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},xb={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},kb={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},Cb={50:"#f1fcfa",100:"#d1f6f2",200:"#a4ebe5",300:"#5fd6d0",400:"#40c1bf",500:"#27a5a4",600:"#1d8284",700:"#1b686a",800:"#1a5355",900:"#1a4547",950:"#09272a"},Sb={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},Eb={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},Ur={inherit:Xy,current:Yy,transparent:Zy,black:eb,white:tb,slate:nb,gray:rb,zinc:ob,neutral:sb,stone:ib,red:ab,orange:lb,amber:cb,yellow:ub,lime:fb,green:db,emerald:pb,teal:hb,cyan:gb,sky:mb,blue:yb,indigo:bb,violet:vb,purple:wb,fuchsia:_b,pink:xb,rose:kb,downy:Cb,primary:Sb,cool:Eb},Tb=at(()=>{const e=Ln(),t=ce(),n=K(()=>{const o=Ur[e.ui.primary],s=Ur[e.ui.gray];return o||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),s||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { + */const hn=typeof document<"u";function Hm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const le=Object.assign;function ls(e,t){const n={};for(const r in t){const o=t[r];n[r]=it(o)?o.map(e):e(o)}return n}const tr=()=>{},it=Array.isArray,Fu=/#/g,Fm=/&/g,Bm=/\//g,Um=/=/g,zm=/\?/g,Bu=/\+/g,Dm=/%5B/g,qm=/%5D/g,Uu=/%5E/g,Vm=/%60/g,zu=/%7B/g,Wm=/%7C/g,Du=/%7D/g,Km=/%20/g;function Vi(e){return encodeURI(""+e).replace(Wm,"|").replace(Dm,"[").replace(qm,"]")}function Gm(e){return Vi(e).replace(zu,"{").replace(Du,"}").replace(Uu,"^")}function Ks(e){return Vi(e).replace(Bu,"%2B").replace(Km,"+").replace(Fu,"%23").replace(Fm,"%26").replace(Vm,"`").replace(zu,"{").replace(Du,"}").replace(Uu,"^")}function Jm(e){return Ks(e).replace(Um,"%3D")}function Qm(e){return Vi(e).replace(Fu,"%23").replace(zm,"%3F")}function Xm(e){return e==null?"":Qm(e).replace(Bm,"%2F")}function pr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ym=/\/$/,Zm=e=>e.replace(Ym,"");function cs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=r0(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:pr(i)}}function e0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function t0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Tn(t.matched[r],n.matched[o])&&qu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!n0(e[n],t[n]))return!1;return!0}function n0(e,t){return it(e)?ul(e,t):it(t)?ul(t,e):e===t}function ul(e,t){return it(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function r0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var hr;(function(e){e.pop="pop",e.push="push"})(hr||(hr={}));var nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nr||(nr={}));function o0(e){if(!e)if(hn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zm(e)}const s0=/^[^#]+#/;function i0(e,t){return e.replace(s0,"#")+t}function a0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const No=()=>({left:window.scrollX,top:window.scrollY});function l0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=a0(o,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 fl(e,t){return(history.state?history.state.position-t:-1)+e}const Gs=new Map;function c0(e,t){Gs.set(e,t)}function u0(e){const t=Gs.get(e);return Gs.delete(e),t}let f0=()=>location.protocol+"//"+location.host;function Vu(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),cl(l,"")}return cl(n,e)+r+o}function d0(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Vu(e,location),y=n.value,b=t.value;let x=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}x=b?d.position-b.position:0}else r(p);o.forEach(k=>{k(n.value,y,{delta:x,type:hr.pop,direction:x?x>0?nr.forward:nr.back:nr.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(le({},d.state,{scroll:No()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function dl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?No():null}}function p0(e){const{history:t,location:n}=window,r={value:Vu(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:f0()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=le({},t.state,dl(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=le({},o.value,t.state,{forward:l,scroll:No()});s(c.current,c,!0);const f=le({},dl(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Wu(e){e=o0(e);const t=p0(e),n=d0(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=le({location:"",base:e,go:r,createHref:i0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function h0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wu(e)}function g0(e){return typeof e=="string"||e&&typeof e=="object"}function Ku(e){return typeof e=="string"||typeof e=="symbol"}const ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gu=Symbol("");var pl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pl||(pl={}));function An(e,t){return le(new Error,{type:e,[Gu]:!0},t)}function ht(e,t){return e instanceof Error&&Gu in e&&(t==null||!!(e.type&t))}const hl="[^/]+?",m0={sensitive:!1,strict:!1,start:!0,end:!0},y0=/[.+*?^${}()[\]/\\]/g;function b0(e,t){const n=le({},m0,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function w0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const _0={type:0,value:""},x0=/[a-zA-Z0-9_]/;function k0(e){if(!e)return[[]];if(e==="/")return[[_0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(v)}:tr}function i(c){if(Ku(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Ju(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!yl(c)&&r.set(c.record.name,c)}function u(c,f){let d,p={},y,b;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw An(1,{location:c});b=d.record.name,p=le(ml(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),c.params&&ml(c.params,d.keys.map(v=>v.name))),y=d.stringify(p)}else if(c.path!=null)y=c.path,d=n.find(v=>v.re.test(y)),d&&(p=d.parse(y),b=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw An(1,{location:c,currentLocation:f});b=d.record.name,p=le({},f.params,c.params),y=d.stringify(p)}const x=[];let k=d;for(;k;)x.unshift(k.record),k=k.parent;return{name:b,path:y,params:p,matched:x,meta:A0(x)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function ml(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function E0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:T0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function T0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A0(e){return e.reduce((t,n)=>le(t,n.meta),{})}function bl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ju(e,t){return t.children.some(n=>n===e||Ju(e,n))}function R0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Ks(s)):[r&&Ks(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function P0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=it(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const I0=Symbol(""),wl=Symbol(""),Ho=Symbol(""),Wi=Symbol(""),Js=Symbol("");function Un(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lt(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(An(4,{from:n,to:t})):d instanceof Error?l(d):g0(d)?l(An(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function us(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(O0(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Lt(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Hm(c)?c.default:c;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Lt(p,n,r,i,a,o)()}))}}return s}function O0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _l(e){const t=Me(Ho),n=Me(Wi),r=K(()=>t.resolve(fe(e.to))),o=K(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Tn.bind(null,c));if(d>-1)return d;const p=xl(l[u-2]);return u>1&&xl(c)===p&&f[f.length-1].path!==p?f.findIndex(Tn.bind(null,l[u-2])):d}),s=K(()=>o.value>-1&&j0(n.params,r.value.params)),i=K(()=>o.value>-1&&o.value===n.matched.length-1&&qu(n.params,r.value.params));function a(l={}){return L0(l)?t[fe(e.replace)?"replace":"push"](fe(e.to)).catch(tr):Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const $0=Ie({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_l,setup(e,{slots:t}){const n=pt(_l(e)),{options:r}=Me(Ho),o=K(()=>({[kl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[kl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Re("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),M0=$0;function L0(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 j0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!it(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function xl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kl=(e,t,n)=>e??t??n,N0=Ie({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Me(Js),o=K(()=>e.route||r.value),s=Me(wl,0),i=K(()=>{let u=fe(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=K(()=>o.value.matched[i.value]);Bt(wl,K(()=>i.value+1)),Bt(I0,a),Bt(Js,o);const l=we();return Ke(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Tn(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(b=>b(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Cl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,x=Re(d,le({},y,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Cl(n.default,{Component:x,route:u})||x}}});function Cl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qu=N0;function H0(e){const t=S0(e.routes,e),n=e.parseQuery||R0,r=e.stringifyQuery||vl,o=e.history,s=Un(),i=Un(),a=Un(),l=kn(ot);let u=ot;hn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ls.bind(null,T=>""+T),f=ls.bind(null,Xm),d=ls.bind(null,pr);function p(T,U){let H,q;return Ku(T)?(H=t.getRecordMatcher(T),q=U):q=T,t.addRoute(q,H)}function y(T){const U=t.getRecordMatcher(T);U&&t.removeRoute(U)}function b(){return t.getRoutes().map(T=>T.record)}function x(T){return!!t.getRecordMatcher(T)}function k(T,U){if(U=le({},U||l.value),typeof T=="string"){const m=cs(n,T,U.path),S=t.resolve({path:m.path},U),P=o.createHref(m.fullPath);return le(m,S,{params:d(S.params),hash:pr(m.hash),redirectedFrom:void 0,href:P})}let H;if(T.path!=null)H=le({},T,{path:cs(n,T.path,U.path).path});else{const m=le({},T.params);for(const S in m)m[S]==null&&delete m[S];H=le({},T,{params:f(m)}),U.params=f(U.params)}const q=t.resolve(H,U),ie=T.hash||"";q.params=c(d(q.params));const ye=e0(r,le({},T,{hash:Gm(ie),path:q.path})),h=o.createHref(ye);return le({fullPath:ye,hash:ie,query:r===vl?P0(T.query):T.query||{}},q,{redirectedFrom:void 0,href:h})}function v(T){return typeof T=="string"?cs(n,T,l.value.path):le({},T)}function g(T,U){if(u!==T)return An(8,{from:U,to:T})}function _(T){return A(T)}function C(T){return _(le(v(T),{replace:!0}))}function w(T){const U=T.matched[T.matched.length-1];if(U&&U.redirect){const{redirect:H}=U;let q=typeof H=="function"?H(T):H;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=v(q):{path:q},q.params={}),le({query:T.query,hash:T.hash,params:q.path!=null?{}:T.params},q)}}function A(T,U){const H=u=k(T),q=l.value,ie=T.state,ye=T.force,h=T.replace===!0,m=w(H);if(m)return A(le(v(m),{state:typeof m=="object"?le({},ie,m.state):ie,force:ye,replace:h}),U||H);const S=H;S.redirectedFrom=U;let P;return!ye&&t0(r,q,H)&&(P=An(16,{to:S,from:q}),Le(q,q,!0,!1)),(P?Promise.resolve(P):$(S,q)).catch(E=>ht(E)?ht(E,2)?E:nt(E):D(E,S,q)).then(E=>{if(E){if(ht(E,2))return A(le({replace:h},v(E.to),{state:typeof E.to=="object"?le({},ie,E.to.state):ie,force:ye}),U||S)}else E=R(S,q,!0,h,ie);return V(S,q,E),E})}function I(T,U){const H=g(T,U);return H?Promise.reject(H):Promise.resolve()}function M(T){const U=dn.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(T):T()}function $(T,U){let H;const[q,ie,ye]=F0(T,U);H=us(q.reverse(),"beforeRouteLeave",T,U);for(const m of q)m.leaveGuards.forEach(S=>{H.push(Lt(S,T,U))});const h=I.bind(null,T,U);return H.push(h),je(H).then(()=>{H=[];for(const m of s.list())H.push(Lt(m,T,U));return H.push(h),je(H)}).then(()=>{H=us(ie,"beforeRouteUpdate",T,U);for(const m of ie)m.updateGuards.forEach(S=>{H.push(Lt(S,T,U))});return H.push(h),je(H)}).then(()=>{H=[];for(const m of ye)if(m.beforeEnter)if(it(m.beforeEnter))for(const S of m.beforeEnter)H.push(Lt(S,T,U));else H.push(Lt(m.beforeEnter,T,U));return H.push(h),je(H)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),H=us(ye,"beforeRouteEnter",T,U,M),H.push(h),je(H))).then(()=>{H=[];for(const m of i.list())H.push(Lt(m,T,U));return H.push(h),je(H)}).catch(m=>ht(m,8)?m:Promise.reject(m))}function V(T,U,H){a.list().forEach(q=>M(()=>q(T,U,H)))}function R(T,U,H,q,ie){const ye=g(T,U);if(ye)return ye;const h=U===ot,m=hn?history.state:{};H&&(q||h?o.replace(T.fullPath,le({scroll:h&&m&&m.scroll},ie)):o.push(T.fullPath,ie)),l.value=T,Le(T,U,H,h),nt()}let G;function se(){G||(G=o.listen((T,U,H)=>{if(!Tr.listening)return;const q=k(T),ie=w(q);if(ie){A(le(ie,{replace:!0}),q).catch(tr);return}u=q;const ye=l.value;hn&&c0(fl(ye.fullPath,H.delta),No()),$(q,ye).catch(h=>ht(h,12)?h:ht(h,2)?(A(h.to,q).then(m=>{ht(m,20)&&!H.delta&&H.type===hr.pop&&o.go(-1,!1)}).catch(tr),Promise.reject()):(H.delta&&o.go(-H.delta,!1),D(h,q,ye))).then(h=>{h=h||R(q,ye,!1),h&&(H.delta&&!ht(h,8)?o.go(-H.delta,!1):H.type===hr.pop&&ht(h,20)&&o.go(-1,!1)),V(q,ye,h)}).catch(tr)}))}let ae=Un(),B=Un(),Y;function D(T,U,H){nt(T);const q=B.list();return q.length?q.forEach(ie=>ie(T,U,H)):console.error(T),Promise.reject(T)}function Oe(){return Y&&l.value!==ot?Promise.resolve():new Promise((T,U)=>{ae.add([T,U])})}function nt(T){return Y||(Y=!T,se(),ae.list().forEach(([U,H])=>T?H(T):U()),ae.reset()),T}function Le(T,U,H,q){const{scrollBehavior:ie}=e;if(!hn||!ie)return Promise.resolve();const ye=!H&&u0(fl(T.fullPath,0))||(q||!H)&&history.state&&history.state.scroll||null;return $n().then(()=>ie(T,U,ye)).then(h=>h&&l0(h)).catch(h=>D(h,T,U))}const Ce=T=>o.go(T);let fn;const dn=new Set,Tr={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,hasRoute:x,getRoutes:b,resolve:k,options:e,push:_,replace:C,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:Oe,install(T){const U=this;T.component("RouterLink",M0),T.component("RouterView",Qu),T.config.globalProperties.$router=U,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>fe(l)}),hn&&!fn&&l.value===ot&&(fn=!0,_(o.location).catch(ie=>{}));const H={};for(const ie in ot)Object.defineProperty(H,ie,{get:()=>l.value[ie],enumerable:!0});T.provide(Ho,U),T.provide(Wi,vr(H)),T.provide(Js,l);const q=T.unmount;dn.add(T),T.unmount=function(){dn.delete(T),dn.size<1&&(u=ot,G&&G(),G=null,l.value=ot,fn=!1,Y=!1),q()}}};function je(T){return T.reduce((U,H)=>U.then(()=>M(H)),Promise.resolve())}return Tr}function F0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;iTn(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Tn(u,l))||o.push(l))}return[n,r,o]}function Hw(){return Me(Ho)}function B0(){return Me(Wi)}const U0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Qs=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&U0(e.route,n));return typeof r=="function"?r(e.route):r},z0=(e,t)=>({default:()=>e?Re(zd,e===!0?{}:e,t):t});function Ki(e){return Array.isArray(e)?e:[e]}const fs=null,ds=null,ps=null,hs=null,Sl=[{name:"catchall",path:"/:catchall(.*)*",meta:{},alias:[],redirect:fs==null?void 0:fs.redirect,component:()=>bt(()=>import("./Bzjt4AqH.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:ds==null?void 0:ds.redirect,component:()=>bt(()=>import("./B-qhYrdC.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:"Receive",path:"/Receive",meta:{},alias:[],redirect:ps==null?void 0:ps.redirect,component:()=>bt(()=>import("./87nbnUGJ.js"),__vite__mapDeps([0,1]),import.meta.url).then(e=>e.default||e)},{name:"Send",path:"/Send",meta:{},alias:[],redirect:hs==null?void 0:hs.redirect,component:()=>bt(()=>import("./DoGjOHiu.js"),__vite__mapDeps([2,1]),import.meta.url).then(e=>e.default||e)}],Xu=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Re(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function El(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function D0(e,t){return e===t||t===ot?!1:El(e)!==El(t)?!0:!e.matched.every((r,o)=>{var s,i;return r.components&&r.components.default===((i=(s=t.matched[o])==null?void 0:s.components)==null?void 0:i.default)})}const q0={scrollBehavior(e,t,n){var u;const r=ce(),o=((u=Ge().options)==null?void 0:u.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&D0(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Tl(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Ws),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(s={el:e.hash,top:Tl(e.hash),behavior:o}),c(s)})})}};function Tl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const V0={hashMode:!1,scrollBehaviorType:"auto"},Ve={...V0,...q0},W0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=ce(),o=Ge();if(([t,n]=dr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Lo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(u=>{if(a(),u===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>gn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},K0=async e=>{let t,n;const r=([t,n]=dr(()=>qi(e.path)),t=await t,n(),t);if(r.redirect)return kt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},G0=[W0,K0],rr={};function J0(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const u=s.includes(e.slice(i))?e.slice(i).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),Wa(c,"")}const a=Wa(r,e),l=!n||Rh(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const Q0=at({name:"nuxt:router",enforce:"pre",async setup(e){var b,x;let t,n,r=$o().app.baseURL;Ve.hashMode&&!r.includes("#")&&(r+="#");const o=((b=Ve.history)==null?void 0:b.call(Ve,r))??(Ve.hashMode?h0(r):Wu(r)),s=((x=Ve.routes)==null?void 0:x.call(Ve,Sl))??Sl;let i;const a=J0(r,window.location,e.payload.path),l=H0({...Ve,scrollBehavior:(k,v,g)=>{if(v===ot){i=g;return}if(Ve.scrollBehavior){if(l.options.scrollBehavior=Ve.scrollBehavior,"scrollRestoration"in window.history){const _=l.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return Ve.scrollBehavior(k,ot,i||g)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const u=kn(l.currentRoute.value);l.afterEach((k,v)=>{u.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const c=kn(l.resolve(a)),f=()=>{c.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((k,v)=>{var g,_,C,w;((_=(g=k.matched[0])==null?void 0:g.components)==null?void 0:_.default)===((w=(C=v.matched[0])==null?void 0:C.components)==null?void 0:w.default)&&f()});const d={};for(const k in c.value)Object.defineProperty(d,k,{get:()=>c.value[k]});e._route=vr(d),e._middleware=e._middleware||{global:[],named:{}};const p=Mo();try{[t,n]=dr(()=>l.isReady()),await t,n()}catch(k){[t,n]=dr(()=>e.runWithContext(()=>gn(k))),await t,n()}const y=e.payload.state._layout;return l.beforeEach(async(k,v)=>{var g;await e.callHook("page:loading:start"),k.meta=pt(k.meta),e.isHydrating&&y&&!rn(k.meta.layout)&&(k.meta.layout=y),e._processingMiddleware=!0;{const _=new Set([...G0,...e._middleware.global]);for(const C of k.matched){const w=C.meta.middleware;if(w)for(const A of Ki(w))_.add(A)}{const C=await e.runWithContext(()=>qi(k.path));if(C.appMiddleware)for(const w in C.appMiddleware)C.appMiddleware[w]?_.add(w):_.delete(w)}for(const C of _){const w=typeof C=="string"?e._middleware.named[C]||await((g=rr[C])==null?void 0:g.call(rr).then(I=>I.default||I)):C;if(!w)throw new Error(`Unknown route middleware: '${C}'.`);const A=await e.runWithContext(()=>w(k,v));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const I=A||zs({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>gn(I)),!1}if(A!==!0&&(A||A===!1))return A}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(k,v,g)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ag),g&&await e.callHook("page:loading:end"),k.matched.length===0&&await e.runWithContext(()=>gn(zs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${k.fullPath}`,data:{path:k.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const k=l.resolve(a);"name"in k&&(k.name=void 0),await l.replace({...k,force:!0}),l.options.scrollBehavior=Ve.scrollBehavior}catch(k){await e.runWithContext(()=>gn(k))}}),{provide:{router:l}}}}),Xs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),X0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Gi=e=>{const t=ce();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Xs(e)}):Xs(e)},Y0=at({name:"nuxt:payload",setup(e){Ge().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await al(t.path);r&&Object.assign(e.static.data,r.data)}),Gi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Sr(n).protocol||await al(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jo,1e3)})}}),Z0=at(e=>{let t;async function n(){const r=await jo();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Hi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Gi(()=>{t=setTimeout(n,1e3*60*60)})}),ey=so(()=>bt(()=>Promise.resolve().then(()=>ew),void 0,import.meta.url).then(e=>e.default)),ty=so(()=>bt(()=>import("./DKoc5Esw.js"),__vite__mapDeps([3,4]),import.meta.url).then(e=>e.default)),ny=[["Icon",ey],["IconCSS",ty]],ry=at({name:"nuxt:global-components",setup(e){for(const[t,n]of ny)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Nt={default:()=>bt(()=>import("./DMXJlFpQ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},oy=at({name:"nuxt:prefetch",setup(e){const t=Ge();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Nt[r]=="function"&&await Nt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(kt(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Ki(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof rr[i]=="function"&&rr[i]();o&&typeof Nt[o]=="function"&&Nt[o]()})}});function Ys(e){return bi()?(ic(e),!0):!1}function Zs(e){return typeof e=="function"?e():fe(e)}const ei=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Al=()=>+Date.now(),ti=()=>{};function sy(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}function iy(e,t={}){let n,r,o=ti;const s=a=>{clearTimeout(a),o(),o=ti};return a=>{const l=Zs(e),u=Zs(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function Fw(...e){if(e.length!==1)return cn(...e);const t=e[0];return typeof t=="function"?ko(hd(()=>({get:t,set:ti}))):we(t)}function Bw(e,t=200,n={}){return sy(iy(t,n),e)}function ay(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=we(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function u(){const c=Zs(t);c<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,c))}if(r&&ei&&u(),Pe(t)||typeof t=="function"){const c=Ke(t,()=>{i.value&&ei&&u()});Ys(c)}return Ys(l),{isActive:i,pause:l,resume:u}}const ly=ei?window:void 0;function cy(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=ly}=t,s=we(!1),i=r?1e3/r:null;let a=0,l=null;function u(d){if(!s.value||!o)return;a||(a=d);const p=d-a;if(i&&pi.value=Al()+n,l=s?()=>{a(),s(i.value)}:a,u=o==="requestAnimationFrame"?cy(l,{immediate:r}):ay(l,o,{immediate:r});return t?{timestamp:i,...u}:i}const fy=Symbol("nuxt-ui.modal"),dy=at(e=>{const t=kn({component:"div",props:{}});e.vueApp.provide(fy,t)}),Ji="-";function py(e){const t=gy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(Ji);return a[0]===""&&a.length!==1&&a.shift(),Yu(a,t)||hy(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Yu(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Yu(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Ji);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const Rl=/^\[(.+)\]$/;function hy(e){if(Rl.test(e)){const t=Rl.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function gy(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return yy(Object.entries(e.classGroups),n).forEach(([s,i])=>{ni(i,r,s,t)}),r}function ni(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Pl(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(my(o)){ni(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{ni(i,Pl(t,s),n,r)})})}function Pl(e,t){let n=e;return t.split(Ji).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function my(e){return e.isThemeGetter}function yy(e,t){return t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e}function by(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(s,i){n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}}const Zu="!";function vy(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,u=0,c;for(let b=0;bu?c-u:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:y}}}function wy(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function _y(e){return{cache:by(e.cacheSize),splitModifiers:vy(e),...py(e)}}const xy=/\s+/;function ky(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(xy).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(i);let f=r(c?u.substring(0,c):u),d=!!c;if(!f){if(!c)return{isTailwindClass:!1,originalClassName:i};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=wy(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Zu:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=i,c=a+l;return s.has(c)?!1:(s.add(c),o(l,u).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function Ze(){let e=0,t,n,r="";for(;ef(c),e());return n=_y(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=ky(l,n);return o(l,c),c}return function(){return s(Ze.apply(null,arguments))}}function ge(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cy=/^\d+\/\d+$/,Sy=new Set(["px","full","screen"]),Ey=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ty=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ay=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ry=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Py=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function gt(e){return Xt(e)||Sy.has(e)||Cy.test(e)}function Rt(e){return jn(e,"length",Hy)}function Xt(e){return!!e&&!Number.isNaN(Number(e))}function Br(e){return jn(e,"number",Xt)}function zn(e){return!!e&&Number.isInteger(Number(e))}function Iy(e){return e.endsWith("%")&&Xt(e.slice(0,-1))}function te(e){return tf.test(e)}function Pt(e){return Ey.test(e)}const Oy=new Set(["length","size","percentage"]);function $y(e){return jn(e,Oy,nf)}function My(e){return jn(e,"position",nf)}const Ly=new Set(["image","url"]);function jy(e){return jn(e,Ly,By)}function Ny(e){return jn(e,"",Fy)}function Dn(){return!0}function jn(e,t,n){const r=tf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Hy(e){return Ty.test(e)&&!Ay.test(e)}function nf(){return!1}function Fy(e){return Ry.test(e)}function By(e){return Py.test(e)}function oi(){const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),o=ge("borderColor"),s=ge("borderRadius"),i=ge("borderSpacing"),a=ge("borderWidth"),l=ge("contrast"),u=ge("grayscale"),c=ge("hueRotate"),f=ge("invert"),d=ge("gap"),p=ge("gradientColorStops"),y=ge("gradientColorStopPositions"),b=ge("inset"),x=ge("margin"),k=ge("opacity"),v=ge("padding"),g=ge("saturate"),_=ge("scale"),C=ge("sepia"),w=ge("skew"),A=ge("space"),I=ge("translate"),M=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",te,t],R=()=>[te,t],G=()=>["",gt,Rt],se=()=>["auto",Xt,te],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],D=()=>["start","end","center","between","around","evenly","stretch"],Oe=()=>["","0",te],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Le=()=>[Xt,Br],Ce=()=>[Xt,te];return{cacheSize:500,separator:":",theme:{colors:[Dn],spacing:[gt,Rt],blur:["none","",Pt,te],brightness:Le(),borderColor:[e],borderRadius:["none","","full",Pt,te],borderSpacing:R(),borderWidth:G(),contrast:Le(),grayscale:Oe(),hueRotate:Ce(),invert:Oe(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Iy,Rt],inset:V(),margin:V(),opacity:Le(),padding:R(),saturate:Le(),scale:Le(),sepia:Oe(),skew:Ce(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[Pt]}],"break-after":[{"break-after":nt()}],"break-before":[{"break-before":nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ae(),te]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",zn,te]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:Oe()}],shrink:[{shrink:Oe()}],order:[{order:["first","last","none",zn,te]}],"grid-cols":[{"grid-cols":[Dn]}],"col-start-end":[{col:["auto",{span:["full",zn,te]},te]}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":[Dn]}],"row-start-end":[{row:["auto",{span:[zn,te]},te]}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...D()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...D(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...D(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[Pt]},Pt]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pt,Rt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Br]}],"font-family":[{font:[Dn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",te]}],"line-clamp":[{"line-clamp":["none",Xt,Br]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gt,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gt,Rt]}],"underline-offset":[{"underline-offset":["auto",gt,te]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),My]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$y]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jy]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[gt,te]}],"outline-w":[{outline:[gt,Rt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[gt,Rt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pt,Ny]}],"shadow-color":[{shadow:[Dn]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":Y()}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pt,te]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[g]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:Ce()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:Ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[zn,te]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gt,Rt,Br]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Uy(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Gr(e,"cacheSize",t),Gr(e,"prefix",n),Gr(e,"separator",r);for(const i in s)zy(e[i],s[i]);for(const i in o)Dy(e[i],o[i]);return e}function Gr(e,t,n){n!==void 0&&(e[t]=n)}function zy(e,t){if(t)for(const n in t)Gr(e,n,t[n])}function Dy(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function qy(e,...t){return typeof e=="function"?ri(oi,e,...t):ri(()=>Uy(oi(),e),...t)}const Rn=ri(oi);function Vy(e,t){const n={...e};for(const r of t)delete n[r];return n}function Wy(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const s=Number(o);return isNaN(s)?o:s}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}const Fo={to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1}},Ky={as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},Gy=e=>Object.keys(Fo).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Uw=e=>[...Object.keys(Fo),...Object.keys(Ky)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Jy=qy({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),Qy=Bi((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=Jy(e[t],n),!0});function Er(e,...t){return e==="override"?Ui({},...t):Qy({},...t)}function Il(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,o,s,i){return o+o+s+s+i+i});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}function zw(e){var n;let t=(n=e.default)==null?void 0:n.call(e);return t!=null&&t.length&&(t=t.flatMap(r=>{var o,s;return typeof r.type=="symbol"?typeof r.children=="string"?void 0:r.children:r.type.name==="ContentSlot"?(s=(o=r.ctx.slots).default)==null?void 0:s.call(o):r}).filter(Boolean)),t||[]}function Dw(e){const t=parseFloat(e);return isNaN(t)?e:t}const Xy="inherit",Yy="currentColor",Zy="transparent",eb="#000",tb="#fff",nb={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},rb={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},ob={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},sb={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},ib={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},ab={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},lb={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},cb={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},ub={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},fb={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},db={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},pb={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},hb={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},gb={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},mb={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},yb={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},bb={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},vb={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},wb={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},_b={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},xb={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},kb={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},Cb={50:"#f1fcfa",100:"#d1f6f2",200:"#a4ebe5",300:"#5fd6d0",400:"#40c1bf",500:"#27a5a4",600:"#1d8284",700:"#1b686a",800:"#1a5355",900:"#1a4547",950:"#09272a"},Sb={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},Eb={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},Ur={inherit:Xy,current:Yy,transparent:Zy,black:eb,white:tb,slate:nb,gray:rb,zinc:ob,neutral:sb,stone:ib,red:ab,orange:lb,amber:cb,yellow:ub,lime:fb,green:db,emerald:pb,teal:hb,cyan:gb,sky:mb,blue:yb,indigo:bb,violet:vb,purple:wb,fuchsia:_b,pink:xb,rose:kb,downy:Cb,primary:Sb,cool:Eb},Tb=at(()=>{const e=Ln(),t=ce(),n=K(()=>{const o=Ur[e.ui.primary],s=Ur[e.ui.gray];return o||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),s||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { ${Object.entries(o||Ur.green).map(([i,a])=>`--color-primary-${i}: ${Il(a)};`).join(` `)} --color-primary-DEFAULT: var(--color-primary-500); @@ -40,4 +40,4 @@ ${Object.entries(s||Ur.cool).map(([i,a])=>`--color-gray-${i}: ${Il(a)};`).join(` } `}),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const o=document.createElement("style");o.innerHTML=n.value,o.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(o),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}_m(r)}),Ab="$s";function Bo(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Ab+n,s=ce(),i=cn(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(Pe(a))return s.payload.state[o]=a,a;i.value=a}return i}const Rb="__NUXT_COLOR_MODE__",Pb="nuxt-color-mode",mt=window[Rb]||{},Ib=at(e=>{const t=Bo("color-mode",()=>pt({preference:mt.preference,value:mt.value,unknown:!1,forced:!1})).value;Ge().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?mt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=mt.getColorScheme())}))}Ke(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=mt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(Pb,o))},{immediate:!0}),Ke(()=>t.value,(o,s)=>{mt.removeColorScheme(s),mt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=mt.preference,t.value=mt.value,t.unknown=!1)}),e.provide("colorMode",t)});function Ob(e={}){const t=e.path||window.location.pathname;let n={};try{n=go(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:Oo(n.app.baseURL,s.fullPath);Ob({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),Mb=[Lm,Nm,Q0,Y0,Z0,ry,oy,dy,Tb,Ib,$b];function Lb(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function jb(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,s=e.estimatedProgress||Lb,i=ce(),a=we(0),l=we(!1);let u=!1,c,f,d,p;const y=()=>b(0);function b(w=0){if(!i.isHydrating){if(w>=100)return k();g(),a.value=w<0?0:w,n?f=setTimeout(()=>{l.value=!0,_()},n):(l.value=!0,_())}}function x(){d=setTimeout(()=>{l.value=!1,p=setTimeout(()=>{a.value=0},o)},r)}function k(w={}){a.value=100,u=!0,g(),v(),w.force?(a.value=0,l.value=!1):x()}function v(){clearTimeout(d),clearTimeout(p)}function g(){clearTimeout(f),cancelAnimationFrame(c)}function _(){u=!1;let w;function A(I){if(u)return;w??(w=I);const M=I-w;a.value=Math.max(0,Math.min(100,s(t,M))),c=requestAnimationFrame(A)}c=requestAnimationFrame(A)}let C=()=>{};{const w=i.hook("page:loading:start",()=>{y()}),A=i.hook("page:loading:end",()=>{k()}),I=i.hook("vue:error",()=>k());C=()=>{I(),w(),A(),g()}}return{_cleanup:C,progress:K(()=>a.value),isLoading:K(()=>l.value),start:y,set:b,finish:k,clear:g}}function Nb(e={}){const t=ce(),n=t._loadingIndicator=t._loadingIndicator||jb(e);return bi()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,ic(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const Hb=Ie({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:o,start:s,finish:i,clear:a}=Nb({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:o,start:s,finish:i,clear:a}),()=>Re("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:o.value?1:0,background:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),Fb=Ie({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return Bt(Mn,vr(r)),()=>Re(e.vnode,{ref:e.vnodeRef})}}),Bb=Ie({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=ce(),o=we(),s=Me(Mn,null);let i;n({pageRef:o});const a=Me(Au,null);let l;const u=r.deferHydration();if(r.isHydrating){const c=r.hooks.hookOnce("app:error",u);Ge().beforeEach(c)}return e.pageKey&&Ke(()=>e.pageKey,(c,f)=>{c!==f&&r.callHook("page:loading:start")}),()=>Re(Qu,{name:e.name,route:e.route,...t},{default:c=>{const f=zb(s,c.route,c.Component),d=s&&s.matched.length===c.route.matched.length;if(!c.Component){if(l&&!d)return l;u();return}if(l&&a&&!a.isCurrent(c.route))return l;if(f&&s&&(!a||a!=null&&a.isCurrent(s)))return d?l:null;const p=Qs(c,e.pageKey);!r.isHydrating&&!Db(s,c.route,c.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const y=!!(e.transition??c.route.meta.pageTransition??Ws),b=y&&Ub([e.transition,c.route.meta.pageTransition,Ws,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean)),x=e.keepalive??c.route.meta.keepalive??Em;return l=Xu(Cr,y&&b,z0(x,Re(Ii,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{$n(()=>r.callHook("page:finish",c.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const k=Re(Fb,{key:p||void 0,vnode:c.Component,route:c.route,renderKey:p||void 0,trackRootNodes:y,vnodeRef:o});return x&&(k.type.name=c.Component.type.name||c.Component.type.__name||"RouteProvider"),k}}))).default(),l}})}});function Ub(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Ki(n.onAfterLeave):void 0}));return Ui(...t)}function zb(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Qs({route:t,Component:n})!==Qs({route:e,Component:n})}function Db(e,t,n){return e?t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>Re(n,e.layoutProps,t.slots)}}),Vb=Ie({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ce(),r=Me(Mn),o=r===zi()?B0():r,s=K(()=>{let l=fe(e.name)??o.meta.layout??"default";return l&&!(l in Nt)&&e.fallback&&(l=fe(e.fallback)),l}),i=we();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Ge().beforeEach(l)}return()=>{const l=s.value&&s.value in Nt,u=o.meta.layoutTransition??Sm;return Xu(Cr,l&&u,{default:()=>Re(Ii,{suspensible:!0,onResolve:()=>{$n(a)}},{default:()=>Re(Wb,{layoutProps:Be(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),Wb=Ie({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Bt(Au,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in Nt)?(o=(r=t.slots).default)==null?void 0:o.call(r):Re(qb,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),rf=Object.freeze({left:0,top:0,width:16,height:16}),of=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Qi=Object.freeze({...rf,...of});Object.freeze({...Qi,body:"",hidden:!1});({...rf});const sf=Object.freeze({width:null,height:null}),af=Object.freeze({...sf,...of});function Kb(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in sf?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Gb=/[\s,]+/;function Jb(e,t){t.split(Gb).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Qb(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Xb=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Yb=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ol(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 r=e.split(Xb);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Yb.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const Zb=e=>e==="unset"||e==="undefined"||e==="none";function ev(e,t){const n={...Qi,...e},r={...af,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(y=>{const b=[],x=y.hFlip,k=y.vFlip;let v=y.rotate;x?k?v+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):k&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}v%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=''+s+"")});const i=r.width,a=r.height,l=o.width,u=o.height;let c,f;i===null?(f=a===null?"1em":a==="auto"?u:a,c=Ol(f,l/u)):(c=i==="auto"?l:i,f=a===null?Ol(c,u/l):a==="auto"?u:a);const d={},p=(y,b)=>{Zb(b)||(d[y]=b.toString())};return p("width",c),p("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:d,body:s}}const tv=/\sid="(\S+)"/g,nv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let rv=0;function ov(e,t=nv){const n=[];let r;for(;r=tv.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(rv++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function sv(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function iv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function av(e){return"data:image/svg+xml,"+iv(e)}function lv(e){return'url("'+av(e)+'")'}const $l={...af,inline:!1},cv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},uv={display:"inline-block"},si={backgroundColor:"currentColor"},lf={backgroundColor:"transparent"},Ml={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ll={webkitMask:si,mask:si,background:lf};for(const e in Ll){const t=Ll[e];for(const n in Ml)t[e+n]=Ml[n]}const Jr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Jr[e+"-flip"]=t,Jr[e.slice(0,1)+"-flip"]=t,Jr[e+"Flip"]=t});function jl(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const fv=(e,t)=>{const n=Kb($l,t),r={...cv},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let b in t){const x=t[b];if(x!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[b]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&Jb(n,x);break;case"color":s.color=x;break;case"rotate":typeof x=="string"?n[b]=Qb(x):typeof x=="number"&&(n[b]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete r["aria-hidden"];break;default:{const k=Jr[b];k?(x===!0||x==="true"||x===1)&&(n[k]=!0):$l[b]===void 0&&(r[b]=x)}}}const l=ev(e,n),u=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,u);let b=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),r.innerHTML=ov(l.body,x?()=>x+"ID"+b++:"iconifyVue"),Re("svg",r)}const{body:c,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),y=sv(c,{...u,width:f+"",height:d+""});return r.style={...s,"--svg":lv(y),width:jl(u.width),height:jl(u.height),...uv,...p?si:lf,...a},Re("span",r)},dv=Object.create(null),pv=Ie({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?dv[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:fv({...Qi,...n},e)}}),or=/^[a-z0-9]+(-[a-z0-9]+)*$/,Uo=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),u={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Qr(u)?null:u}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qr(a,n)?null:a}return null},Qr=(e,t)=>e?!!((e.provider===""||e.provider.match(or))&&(t&&e.prefix===""||e.prefix.match(or))&&e.name.match(or)):!1,cf=Object.freeze({left:0,top:0,width:16,height:16}),vo=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Xi=Object.freeze({...cf,...vo}),ii=Object.freeze({...Xi,body:"",hidden:!1});function hv(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Nl(e,t){const n=hv(e,t);for(const r in ii)r in vo?r in e&&!(r in n)&&(n[r]=vo[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function gv(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function mv(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Nl(r[a]||o[a],s)}return i(t),n.forEach(i),Nl(e,s)}function uf(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=gv(e);for(const o in r){const s=r[o];s&&(t(o,mv(e,o,s)),n.push(o))}return n}const yv={provider:"",aliases:{},not_found:{},...cf};function gs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ff(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!gs(e,yv))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(or)||typeof s.body!="string"||!gs(s,ii))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(or)||typeof i!="string"||!n[i]&&!r[i]||!gs(s,ii))return null}return t}const Hl=Object.create(null);function bv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function sn(e,t){const n=Hl[e]||(Hl[e]=Object.create(null));return n[t]||(n[t]=bv(e,t))}function Yi(e,t){return ff(t)?uf(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function vv(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let gr=!1;function df(e){return typeof e=="boolean"&&(gr=e),gr}function wv(e){const t=typeof e=="string"?Uo(e,!0,gr):e;if(t){const n=sn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _v(e,t){const n=Uo(e,!0,gr);if(!n)return!1;const r=sn(n.provider,n.prefix);return vv(r,n.name,t)}function xv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),gr&&!t&&!e.prefix){let o=!1;return ff(e)&&(e.prefix="",uf(e,(s,i)=>{i&&_v(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Qr({provider:t,prefix:n,name:"a"}))return!1;const r=sn(t,n);return!!Yi(r,e)}const kv=Object.freeze({width:null,height:null}),Cv=Object.freeze({...kv,...vo});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const ai=Object.create(null);function Sv(e,t){ai[e]=t}function li(e){return ai[e]||ai[""]}function Zi(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 ea=Object.create(null),qn=["https://api.simplesvg.com","https://api.unisvg.com"],Xr=[];for(;qn.length>0;)qn.length===1||Math.random()>.5?Xr.push(qn.shift()):Xr.push(qn.pop());ea[""]=Zi({resources:["https://api.iconify.design"].concat(Xr)});function ci(e,t){const n=Zi(t);return n===null?!1:(ea[e]=n,!0)}function ta(e){return ea[e]}const Ev=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Fl=Ev();function Tv(e,t){const n=ta(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Av(e){return e===404}const Rv=(e,t,n)=>{const r=[],o=Tv(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=o&&u>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function Pv(e){if(typeof e=="string"){const t=ta(e);if(t)return t.path}return"/"}const Iv=(e,t,n)=>{if(!Fl){n("abort",424);return}let r=Pv(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Fl(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Av(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},Ov={prepare:Rv,send:Iv};function $v(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),u=l[i]||(l[i]=sn(s,i));let c;a in u.icons?c=t.loaded:i===""||u.missing.has(a)?c=t.missing:c=t.pending;const f={provider:s,prefix:i,name:a};c.push(f)}),t}function pf(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Mv(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 r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||pf([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Lv=0;function jv(e,t,n){const r=Lv++,o=pf.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function Nv(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Uo(o,t,n):o;s&&r.push(s)}),r}var Hv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Fv(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let w=e.resources.slice(0);for(i=[];w.length>1;){const A=Math.floor(Math.random()*w.length);i.push(w[A]),w=w.slice(0,A).concat(w.slice(A+1))}i=i.concat(w)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",u=0,c,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function y(){f&&(clearTimeout(f),f=null)}function b(){l==="pending"&&(l="aborted"),y(),d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function x(w,A){A&&(p=[]),typeof w=="function"&&p.push(w)}function k(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:x,abort:b}}function v(){l="failed",p.forEach(w=>{w(void 0,c)})}function g(){d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function _(w,A,I){const M=A!=="success";switch(d=d.filter($=>$!==w),l){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){c=I,v();return}if(M){c=I,d.length||(i.length?C():v());return}if(y(),g(),!e.random){const $=e.resources.indexOf(w.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(I)})}function C(){if(l!=="pending")return;y();const w=i.shift();if(w===void 0){if(d.length){f=setTimeout(()=>{y(),l==="pending"&&(g(),v())},e.timeout);return}v();return}const A={status:"pending",resource:w,callback:(I,M)=>{_(A,I,M)}};d.push(A),u++,f=setTimeout(C,e.rotate),n(w,t,A.callback)}return setTimeout(C),k}function hf(e){const t={...Hv,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,u){const c=Fv(t,a,l,(f,d)=>{r(),u&&u(f,d)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Bl(){}const ms=Object.create(null);function Bv(e){if(!ms[e]){const t=ta(e);if(!t)return;const n=hf(t),r={config:t,redundancy:n};ms[e]=r}return ms[e]}function Uv(e,t,n){let r,o;if(typeof e=="string"){const s=li(e);if(!s)return n(void 0,424),Bl;o=s.send;const i=Bv(e);i&&(r=i.redundancy)}else{const s=Zi(e);if(s){r=hf(s);const i=e.resources?e.resources[0]:"",a=li(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Bl):r.query(t,o,n)().abort}const Ul="iconify2",mr="iconify",gf=mr+"-count",zl=mr+"-version",mf=36e5,zv=168;function ui(e,t){try{return e.getItem(t)}catch{}}function na(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Dl(e,t){try{e.removeItem(t)}catch{}}function fi(e,t){return na(e,gf,t.toString())}function di(e){return parseInt(ui(e,gf))||0}const zo={local:!0,session:!0},yf={local:new Set,session:new Set};let ra=!1;function Dv(e){ra=e}let zr=typeof window>"u"?{}:window;function bf(e){const t=e+"Storage";try{if(zr&&zr[t]&&typeof zr[t].length=="number")return zr[t]}catch{}zo[e]=!1}function vf(e,t){const n=bf(e);if(!n)return;const r=ui(n,zl);if(r!==Ul){if(r){const a=di(n);for(let l=0;l{const l=mr+a.toString(),u=ui(n,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>o&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,a))return!0}catch{}Dl(n,l)}};let i=di(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,fi(n,i)):yf[e].add(a))}function wf(){if(!ra){Dv(!0);for(const e in zo)vf(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=sn(r,o);if(!Yi(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function qv(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zo)vf(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Vv(e,t){ra||wf();function n(r){let o;if(!zo[r]||!(o=bf(r)))return;const s=yf[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=di(o),!fi(o,i+1))return;const a={cached:Math.floor(Date.now()/mf),provider:e.provider,data:t};return na(o,mr+i.toString(),JSON.stringify(a))}t.lastModified&&!qv(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function ql(){}function Wv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Mv(e)}))}function Kv(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:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=li(n)))return;s.prepare(n,r,o).forEach(a=>{Uv(n,a,l=>{if(typeof l!="object")a.icons.forEach(u=>{e.missing.add(u)});else try{const u=Yi(e,l);if(!u.length)return;const c=e.pendingIcons;c&&u.forEach(f=>{c.delete(f)}),Vv(e,l)}catch(u){console.error(u)}Wv(e)})})}))}const Gv=(e,t)=>{const n=Nv(e,!0,df()),r=$v(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,ql)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===i)return;i=u,a=c,s.push(sn(u,c));const f=o[u]||(o[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,d=sn(u,c),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),o[u][c].push(f))}),s.forEach(l=>{const{provider:u,prefix:c}=l;o[u][c].length&&Kv(l,o[u][c])}),t?jv(t,r,s):ql},Jv=e=>new Promise((t,n)=>{const r=typeof e=="string"?Uo(e,!0):e;if(!r){n(e);return}Gv([r||e],o=>{if(o.length&&r){const s=wv(r);if(s){t({...Xi,...s});return}}n(e)})});({...Cv});const Vl={backgroundColor:"currentColor"},Qv={backgroundColor:"transparent"},Wl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Kl={webkitMask:Vl,mask:Vl,background:Qv};for(const e in Kl){const t=Kl[e];for(const n in Wl)t[e+n]=Wl[n]}const ys={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ys[e+"-flip"]=t,ys[e.slice(0,1)+"-flip"]=t,ys[e+"Flip"]=t});df(!0);Sv("",Ov);if(typeof document<"u"&&typeof window<"u"){wf();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(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!xv(r))&&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 r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;ci(n,o)||console.error(r)}catch{console.error(r)}}}}({...Xi});const Xv=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","bitcoin-icons","devicon-plain","entypo-social","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","gravity-ui","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","flowbite","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","covid","maki","gala","mage","ooui","noto","unjs","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","oui","bxl","cib","cbi","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","f7","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function Yv(e=""){let t,n="";if(e[0]==="@"&&e.includes(":")&&(n=e.split(":")[0].slice(1),e=e.split(":").slice(1).join(":")),e.startsWith("i-")){e=e.replace(/^i-/,"");for(const r of Xv)if(e.startsWith(r)){t=r,e=e.slice(r.length+1);break}}else if(e.includes(":")){const[r,o]=e.split(":");t=r,e=o}return{provider:n,prefix:t||"",name:e||""}}const Zv=Ie({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=ce(),o=Ln(),s=e;Ke(()=>{var x;return(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions},()=>{var x,k,v,g,_,C;if((k=(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions)!=null&&k.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((g=(v=o.nuxtIcon)==null?void 0:v.iconifyApiOptions)!=null&&g.publicApiFallback){ci("custom",{resources:[(_=o.nuxtIcon)==null?void 0:_.iconifyApiOptions.url],index:0});return}ci("",{resources:[(C=o.nuxtIcon)==null?void 0:C.iconifyApiOptions.url]})}},{immediate:!0});const i=Bo("icons",()=>({})),a=we(!1),l=K(()=>{var x,k;return(k=(x=o.nuxtIcon)==null?void 0:x.aliases)!=null&&k[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),u=K(()=>Yv(l.value)),c=K(()=>[u.value.provider,u.value.prefix,u.value.name].filter(Boolean).join(":")),f=K(()=>{var x;return(x=i.value)==null?void 0:x[c.value]}),d=K(()=>r.vueApp.component(l.value)),p=K(()=>{var k,v,g;if(!s.size&&typeof((k=o.nuxtIcon)==null?void 0:k.size)=="boolean"&&!((v=o.nuxtIcon)!=null&&v.size))return;const x=s.size||((g=o.nuxtIcon)==null?void 0:g.size)||"1em";return String(Number(x))===x?`${x}px`:x}),y=K(()=>{var x;return((x=o==null?void 0:o.nuxtIcon)==null?void 0:x.class)??"icon"});async function b(){var x;d.value||(x=i.value)!=null&&x[c.value]||(a.value=!0,i.value[c.value]=await Jv(u.value).catch(()=>{}),a.value=!1)}return Ke(l,b),!d.value&&([t,n]=Zd(()=>b()),t=await t,n()),(x,k)=>a.value?(Z(),xe("span",{key:0,class:de(y.value),style:nn({width:p.value,height:p.value})},null,6)):f.value?(Z(),ve(fe(pv),{key:1,icon:f.value,class:de(y.value),width:p.value,height:p.value},null,8,["icon","class","width","height"])):d.value?(Z(),ve(Pi(d.value),{key:2,class:de(y.value),width:p.value,height:p.value},null,8,["class","width","height"])):(Z(),xe("span",{key:3,class:de(y.value),style:nn({fontSize:p.value,lineHeight:p.value,width:p.value,height:p.value})},[ft(x.$slots,"default",{},()=>[ur(Yt(e.name),1)],!0)],6))}}),Dt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},_f=Dt(Zv,[["__scopeId","data-v-1a3b013c"]]),ew=Object.freeze(Object.defineProperty({__proto__:null,default:_f},Symbol.toStringTag,{value:"Module"})),tw=Ie({props:{name:{type:String,required:!0},dynamic:{type:Boolean,default:!1}},setup(e){const t=Ln();return{dynamic:K(()=>{var r,o;return e.dynamic||((o=(r=t.ui)==null?void 0:r.icons)==null?void 0:o.dynamic)})}}});function nw(e,t,n,r,o,s){const i=_f;return e.dynamic?(Z(),ve(i,{key:0,name:e.name},null,8,["name"])):(Z(),xe("span",{key:1,class:de(e.name)},null,2))}const Nn=Dt(tw,[["render",nw]]),Do=(e,t,n,r,o=!1)=>{const s=Xd(),i=Ln(),a=K(()=>{var d;const u=Wo(t),c=Wo(n),f=Wo(r);return Er((u==null?void 0:u.strategy)||((d=i.ui)==null?void 0:d.strategy),f?{wrapper:f}:{},u||{},o?Wy(i.ui,e,{}):{},c||{})}),l=K(()=>Vy(s,["class"]));return{ui:a,attrs:l}},rw={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",background:"bg-gray-100 dark:bg-gray-800",rounded:"rounded-full",text:"font-medium leading-none text-gray-900 dark:text-white truncate",placeholder:"font-medium leading-none text-gray-500 dark:text-gray-400 truncate",size:{"3xs":"h-4 w-4 text-[8px]","2xs":"h-5 w-5 text-[10px]",xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-14 w-14 text-xl","2xl":"h-16 w-16 text-2xl","3xl":"h-20 w-20 text-3xl"},chip:{base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"}},icon:{base:"text-gray-500 dark:text-gray-400 flex-shrink-0",size:{"3xs":"h-2 w-2","2xs":"h-2.5 w-2.5",xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7","2xl":"h-8 w-8","3xl":"h-10 w-10"}},default:{size:"sm",icon:null,chipColor:null,chipPosition:"top-right"}},ow={base:"focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",font:"font-medium",rounded:"rounded-md",truncate:"text-left break-all line-clamp-1",block:"w-full flex justify-center items-center",inline:"inline-flex items-center",size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},square:{"2xs":"p-1",xs:"p-1.5",sm:"p-1.5",md:"p-2",lg:"p-2.5",xl:"p-2.5"},color:{white:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},gray:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},black:{solid:"shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}},variant:{solid:"shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",outline:"ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",soft:"text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",ghost:"text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",link:"text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"},icon:{base:"flex-shrink-0",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"}},default:{size:"sm",variant:"solid",color:"primary",loadingIcon:"i-heroicons-arrow-path-20-solid"}},xf={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"},kf={wrapper:"relative",base:"relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",form:"form-input",rounded:"rounded-md",placeholder:"placeholder-gray-400 dark:placeholder-gray-500",file:{base:"file:cursor-pointer file:rounded-l-md file:absolute file:left-0 file:inset-y-0 file:font-medium file:m-0 file:border-0 file:ring-1 file:ring-gray-300 dark:file:ring-gray-700 file:text-gray-900 dark:file:text-white file:bg-gray-50 hover:file:bg-gray-100 dark:file:bg-gray-800 dark:hover:file:bg-gray-700/50",padding:{"2xs":"ps-[85px]",xs:"ps-[87px]",sm:"ps-[96px]",md:"ps-[98px]",lg:"ps-[100px]",xl:"ps-[109px]"}},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},leading:{padding:{"2xs":"ps-7",xs:"ps-8",sm:"ps-9",md:"ps-10",lg:"ps-11",xl:"ps-12"}},trailing:{padding:{"2xs":"pe-7",xs:"pe-8",sm:"pe-9",md:"pe-10",lg:"pe-11",xl:"pe-12"}},color:{white:{outline:"shadow-sm bg-white dark:bg-gray-900 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"},gray:{outline:"shadow-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"}},variant:{outline:"shadow-sm bg-transparent text-gray-900 dark:text-white ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 focus:ring-2 focus:ring-{color}-500 dark:focus:ring-{color}-400",none:"bg-transparent focus:ring-0 focus:shadow-none"},icon:{base:"flex-shrink-0 text-gray-400 dark:text-gray-500",color:"text-{color}-500 dark:text-{color}-400",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"},leading:{wrapper:"absolute inset-y-0 start-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}},trailing:{wrapper:"absolute inset-y-0 end-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}}},default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid"}},Gl={container:"z-20 group",trigger:"inline-flex w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-5 w-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"},arrow:{...xf,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}};({...kf});({...kf});({...Gl,option:{...Gl.option},arrow:{...xf}});const sw={wrapper:"w-full pointer-events-auto",container:"relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium text-gray-900 dark:text-white",description:"mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",actions:"flex items-center gap-2 mt-3 flex-shrink-0",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",ring:"ring-1 ring-gray-200 dark:ring-gray-800",icon:{base:"flex-shrink-0 w-5 h-5",color:"text-{color}-500 dark:text-{color}-400"},avatar:{base:"flex-shrink-0 self-center",size:"md"},progress:{base:"absolute bottom-0 end-0 start-0 h-1",background:"bg-{color}-500 dark:bg-{color}-400"},transition:{enterActiveClass:"transform ease-out duration-300 transition",enterFromClass:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterToClass:"translate-y-0 opacity-100 sm:translate-x-0",leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},default:{color:"primary",icon:null,timeout:5e3,closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"link",padded:!1},actionButton:{size:"xs",color:"white"}}},iw={wrapper:"fixed flex flex-col justify-end z-[55]",position:"bottom-0 end-0",width:"w-full sm:w-96",container:"px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"},Kt=Er(tt.ui.strategy,tt.ui.avatar,rw),aw=Ie({components:{UIcon:Nn},inheritAttrs:!1,props:{src:{type:[String,Boolean],default:null},alt:{type:String,default:null},text:{type:String,default:null},icon:{type:String,default:()=>Kt.default.icon},size:{type:String,default:()=>Kt.default.size,validator(e){return Object.keys(Kt.size).includes(e)}},chipColor:{type:String,default:()=>Kt.default.chipColor,validator(e){return["gray",...tt.ui.colors].includes(e)}},chipPosition:{type:String,default:()=>Kt.default.chipPosition,validator(e){return Object.keys(Kt.chip.position).includes(e)}},chipText:{type:[String,Number],default:null},imgClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Do("avatar",cn(e,"ui"),Kt),r=K(()=>typeof e.src=="boolean"?null:e.src),o=K(()=>(e.alt||"").split(" ").map(f=>f.charAt(0)).join("").substring(0,2)),s=K(()=>Rn(Ze(t.value.wrapper,(u.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),i=K(()=>Rn(Ze(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=K(()=>Ze(t.value.icon.base,t.value.icon.size[e.size])),l=K(()=>Ze(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),u=we(!1);Ke(()=>e.src,()=>{u.value&&(u.value=!1)});function c(){u.value=!0}return{ui:t,attrs:n,wrapperClass:s,imgClass:i,iconClass:a,chipClass:l,url:r,placeholder:o,error:u,onError:c}}}),lw=["alt","src"];function cw(e,t,n,r,o,s){const i=Nn;return Z(),xe("span",{class:de(e.wrapperClass)},[e.url&&!e.error?(Z(),xe("img",Be({key:0,class:e.imgClass,alt:e.alt,src:e.url},e.attrs,{onError:t[0]||(t[0]=(...a)=>e.onError&&e.onError(...a))}),null,16,lw)):e.text?(Z(),xe("span",{key:1,class:de(e.ui.text)},Yt(e.text),3)):e.icon?(Z(),ve(i,{key:2,name:e.icon,class:de(e.iconClass)},null,8,["name","class"])):e.placeholder?(Z(),xe("span",{key:3,class:de(e.ui.placeholder)},Yt(e.placeholder),3)):Fe("",!0),e.chipColor?(Z(),xe("span",{key:4,class:de(e.chipClass)},Yt(e.chipText),3)):Fe("",!0),ft(e.$slots,"default")],2)}const Cf=Dt(aw,[["render",cw]]);async function Sf(e,t=Ge()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Sf(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const uw=(...e)=>e.find(t=>t!==void 0);function fw(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Jl(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Jl(s,e.trailingSlash)}}return Ie({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=Ge(),i=$o(),a=K(()=>{const y=r.to||r.href||"";return n(y,s.resolve)}),l=K(()=>typeof a.value=="string"&&kt(a.value,{acceptRelative:!0})),u=K(()=>r.target&&r.target!=="_self"),c=K(()=>r.external||u.value?!0:typeof a.value=="object"?!1:a.value===""||l.value),f=we(!1),d=we(null),p=y=>{var b;d.value=r.custom?(b=y==null?void 0:y.$el)==null?void 0:b.nextElementSibling:y==null?void 0:y.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!hw()){const b=ce();let x,k=null;un(()=>{const v=pw();Gi(()=>{x=Xs(()=>{var g;(g=d==null?void 0:d.value)!=null&&g.tagName&&(k=v.observe(d.value,async()=>{k==null||k(),k=null;const _=typeof a.value=="string"?a.value:s.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",_).catch(()=>{}),!c.value&&Sf(a.value,s).catch(()=>{})]),f.value=!0}))})})}),_r(()=>{x&&X0(x),k==null||k(),k=null})}return()=>{var k,v;if(!c.value){const g={ref:p,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(g.class=r.prefetchedClass||e.prefetchedClass),g.rel=r.rel||void 0),Re(Td("RouterLink"),g,o.default)}const y=typeof a.value=="object"?((k=s.resolve(a.value))==null?void 0:k.href)??null:a.value&&!r.external&&!l.value?n(Oo(i.app.baseURL,a.value),s.resolve):a.value||null,b=r.target||null,x=uw(r.noRel?"":r.rel,e.externalRelAttribute,l.value||u.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const g=()=>Tg(y,{replace:r.replace,external:r.external});return o.default({href:y,navigate:g,get route(){if(!y)return;const _=Sr(y);return{path:_.pathname,fullPath:_.pathname,get query(){return pu(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:y}},rel:x,target:b,isExternal:c.value,isActive:!1,isExactActive:!1})}return Re("a",{ref:d,href:y,rel:x,target:b},(v=o.default)==null?void 0:v.call(o))}}})}const dw=fw(Tm);function Jl(e,t){const n=t==="append"?po:Io;return kt(e)&&!e.startsWith("http")?e:n(e,!0)}function pw(){const e=ce();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function hw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const gw=Ie({inheritAttrs:!1,props:{...Fo,as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},setup(e){function t(n,r,{isActive:o,isExactActive:s}){return e.exactQuery&&!yg(n.query,r.query)||e.exactHash&&n.hash!==r.hash?e.inactiveClass:e.exact&&s||!e.exact&&o?e.activeClass:e.inactiveClass}return{resolveLinkClass:t}}}),mw=["href","aria-disabled","role","rel","target","onClick"];function yw(e,t,n,r,o,s){const i=dw;return e.to?(Z(),ve(i,Be({key:1},e.$props,{custom:""}),{default:zt(({route:a,href:l,target:u,rel:c,navigate:f,isActive:d,isExactActive:p,isExternal:y})=>[jt("a",Be(e.$attrs,{href:e.disabled?void 0:l,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,rel:c,target:u,class:e.active!==void 0?e.active?e.activeClass:e.inactiveClass:e.resolveLinkClass(a,e._.provides[Mn]||e.$route,{isActive:d,isExactActive:p}),onClick:b=>!y&&!e.disabled&&f(b)}),[ft(e.$slots,"default",Zr(cr({isActive:e.active!==void 0?e.active:e.exact?p:d})))],16,mw)]),_:3},16)):(Z(),ve(Pi(e.as),Be({key:0,type:e.type,disabled:e.disabled},e.$attrs,{class:e.active?e.activeClass:e.inactiveClass}),{default:zt(()=>[ft(e.$slots,"default",Zr(cr({isActive:e.active})))]),_:3},16,["type","disabled","class"]))}const Ef=Dt(gw,[["render",yw]]);function qw(e){const n=`group-${xt().uid}`,r=we({children:[],register(o){this.children.push(o)},unregister(o){const s=this.children.indexOf(o);s>-1&&this.children.splice(s,1)},...e});Bt(n,r)}function bw({ui:e,props:t}){const n=xt();let r=n.parent,o;for(;r&&!o;){if(r.type.name==="ButtonGroup"){o=Me(`group-${r.uid}`);break}r=r.parent}const s=K(()=>o==null?void 0:o.value.children.indexOf(n));return un(()=>{o==null||o.value.register(n)}),xr(()=>{o==null||o.value.unregister(n)}),{size:K(()=>(o==null?void 0:o.value.size)||t.size),rounded:K(()=>!o||s.value===-1?e.value.rounded:o.value.children.length===1?o.value.ui.rounded:s.value===0?o.value.rounded.start:s.value===o.value.children.length-1?o.value.rounded.end:"rounded-none")}}const yt=Er(tt.ui.strategy,tt.ui.button,ow),vw=Ie({components:{UIcon:Nn,ULink:Ef},inheritAttrs:!1,props:{...Fo,type:{type:String,default:"button"},block:{type:Boolean,default:!1},label:{type:String,default:null},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:()=>yt.default.size,validator(e){return Object.keys(yt.size).includes(e)}},color:{type:String,default:()=>yt.default.color,validator(e){return[...tt.ui.colors,...Object.keys(yt.color)].includes(e)}},variant:{type:String,default:()=>yt.default.variant,validator(e){return[...Object.keys(yt.variant),...Object.values(yt.color).flatMap(t=>Object.keys(t))].includes(e)}},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>yt.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},square:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e,{slots:t}){const{ui:n,attrs:r}=Do("button",cn(e,"ui"),yt),{size:o,rounded:s}=bw({ui:n,props:e}),i=K(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),a=K(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),l=K(()=>e.square||!t.default&&!e.label),u=K(()=>{var x,k;const b=((k=(x=n.value.color)==null?void 0:x[e.color])==null?void 0:k[e.variant])||n.value.variant[e.variant];return Rn(Ze(n.value.base,n.value.font,s.value,n.value.size[o.value],n.value.gap[o.value],e.padded&&n.value[l.value?"square":"padding"][o.value],b==null?void 0:b.replaceAll("{color}",e.color),e.block?n.value.block:n.value.inline),e.class)}),c=K(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),f=K(()=>e.loading&&!i.value?e.loadingIcon:e.trailingIcon||e.icon),d=K(()=>Ze(n.value.icon.base,n.value.icon.size[o.value],e.loading&&n.value.icon.loading)),p=K(()=>Ze(n.value.icon.base,n.value.icon.size[o.value],e.loading&&!i.value&&n.value.icon.loading)),y=K(()=>Gy(e));return{ui:n,attrs:r,isLeading:i,isTrailing:a,isSquare:l,buttonClass:u,leadingIconName:c,trailingIconName:f,leadingIconClass:d,trailingIconClass:p,linkProps:y}}});function ww(e,t,n,r,o,s){const i=Nn,a=Ef;return Z(),ve(a,Be({type:e.type,disabled:e.disabled||e.loading,class:e.buttonClass},{...e.linkProps,...e.attrs}),{default:zt(()=>[ft(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[e.isLeading&&e.leadingIconName?(Z(),ve(i,{key:0,name:e.leadingIconName,class:de(e.leadingIconClass),"aria-hidden":"true"},null,8,["name","class"])):Fe("",!0)]),ft(e.$slots,"default",{},()=>[e.label?(Z(),xe("span",{key:0,class:de([e.truncate?e.ui.truncate:""])},Yt(e.label),3)):Fe("",!0)]),ft(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[e.isTrailing&&e.trailingIconName?(Z(),ve(i,{key:0,name:e.trailingIconName,class:de(e.trailingIconClass),"aria-hidden":"true"},null,8,["name","class"])):Fe("",!0)])]),_:3},16,["type","disabled","class"])}const Tf=Dt(vw,[["render",ww]]);function _w(e,t,n){let r=null;const{pause:o,resume:s,timestamp:i}=uy({...n||{},controls:!0}),a=we(null),l=K(()=>a.value?t-(i.value-a.value):0);function u(...b){r=setTimeout(()=>{r=null,a.value=null,e(...b)},l.value)}function c(){r&&(clearTimeout(r),r=null)}function f(){a.value=Date.now(),u()}function d(){c(),o()}function p(){c(),o()}function y(){u(),s(),a.value=(a.value||0)+(Date.now()-i.value)}return f(),{start:f,stop:d,pause:p,resume:y,remaining:l}}const Vn=Er(tt.ui.strategy,tt.ui.notification,sw),xw=Ie({components:{UIcon:Nn,UAvatar:Cf,UButton:Tf},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>Vn.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>Vn.default.closeButton},timeout:{type:Number,default:()=>Vn.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>Vn.default.color,validator(e){return["gray",...tt.ui.colors].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){const{ui:n,attrs:r}=Do("notification",cn(e,"ui"),Vn);let o=null;const s=we(e.timeout),i=K(()=>{var y;return Rn(Ze(n.value.wrapper,(y=n.value.background)==null?void 0:y.replaceAll("{color}",e.color),n.value.rounded,n.value.shadow),e.class)}),a=K(()=>{var y;return Ze(n.value.progress.base,(y=n.value.progress.background)==null?void 0:y.replaceAll("{color}",e.color))}),l=K(()=>({width:`${s.value/e.timeout*100||0}%`})),u=K(()=>{var y;return Ze(n.value.icon.base,(y=n.value.icon.color)==null?void 0:y.replaceAll("{color}",e.color))});function c(){o&&o.pause()}function f(){o&&o.resume()}function d(){o&&o.stop(),e.callback&&e.callback(),t("close")}function p(y){o&&o.stop(),y.click&&y.click(),t("close")}return un(()=>{e.timeout&&(o=_w(()=>{d()},e.timeout),Ic(()=>{s.value=o.remaining.value}))}),xr(()=>{o&&o.stop()}),{ui:n,attrs:r,wrapperClass:i,progressClass:a,progressStyle:l,iconClass:u,onMouseover:c,onMouseleave:f,onClose:d,onAction:p,twMerge:Rn}}});function kw(e,t,n,r,o,s){const i=Nn,a=Cf,l=Tf;return Z(),ve(Cr,Be({appear:""},e.ui.transition),{default:zt(()=>[jt("div",Be({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...u)=>e.onMouseover&&e.onMouseover(...u)),onMouseleave:t[1]||(t[1]=(...u)=>e.onMouseleave&&e.onMouseleave(...u))}),[jt("div",{class:de([e.ui.container,e.ui.rounded,e.ui.ring])},[jt("div",{class:de(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(Z(),ve(i,{key:0,name:e.icon,class:de(e.iconClass)},null,8,["name","class"])):Fe("",!0),e.avatar?(Z(),ve(a,Be({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):Fe("",!0),jt("div",{class:de(e.ui.inner)},[e.title||e.$slots.title?(Z(),xe("p",{key:0,class:de(e.ui.title)},[ft(e.$slots,"title",{title:e.title},()=>[ur(Yt(e.title),1)])],2)):Fe("",!0),e.description||e.$slots.description?(Z(),xe("p",{key:1,class:de(e.twMerge(e.ui.description,!(e.title&&e.$slots.title)&&"mt-0 leading-5"))},[ft(e.$slots,"description",{description:e.description},()=>[ur(Yt(e.description),1)])],2)):Fe("",!0),(e.description||e.$slots.description)&&e.actions.length?(Z(),xe("div",{key:2,class:de(e.ui.actions)},[(Z(!0),xe(Se,null,io(e.actions,(u,c)=>(Z(),ve(l,Be({key:c},{...e.ui.default.actionButton||{},...u},{onClick:rs(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128))],2)):Fe("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(Z(),xe("div",{key:2,class:de(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(Z(!0),xe(Se,{key:0},io(e.actions,(u,c)=>(Z(),ve(l,Be({key:c},{...e.ui.default.actionButton||{},...u},{onClick:rs(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128)):Fe("",!0),e.closeButton?(Z(),ve(l,Be({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:rs(e.onClose,["stop"])}),null,16,["onClick"])):Fe("",!0)],2)):Fe("",!0)],2),e.timeout?(Z(),xe("div",{key:0,class:de(e.progressClass),style:nn(e.progressStyle)},null,6)):Fe("",!0)],2)],16)]),_:3},16)}const Af=Dt(xw,[["render",kw]]);function Cw(){const e=Bo("notifications",()=>[]);function t(r){const o={id:new Date().getTime().toString(),...r};return e.value.findIndex(i=>i.id===o.id)===-1&&e.value.push(o),o}function n(r){e.value=e.value.filter(o=>o.id!==r)}return{add:t,remove:n}}const Sw=Er(tt.ui.strategy,tt.ui.notifications,iw),Ew=Ie({components:{UNotification:Af},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Do("notifications",cn(e,"ui"),Sw),r=Cw(),o=Bo("notifications",()=>[]),s=K(()=>Rn(Ze(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:o,wrapperClass:s}}});function Tw(e,t,n,r,o,s){const i=Af;return Z(),ve(_p,{to:"body"},[jt("div",Be({class:e.wrapperClass,role:"region"},e.attrs),[e.notifications.length?(Z(),xe("div",{key:0,class:de(e.ui.container)},[(Z(!0),xe(Se,null,io(e.notifications,a=>(Z(),xe("div",{key:a.id},[pe(i,Be(a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),Jd({_:2},[io(e.$slots,(l,u)=>({name:u,fn:zt(c=>[ft(e.$slots,u,Zr(cr(c)))])}))]),1040,["class","onClick","onClose"])]))),128))],2)):Fe("",!0)],16)])}const Aw=Dt(Ew,[["render",Tw]]),Rw={};function Pw(e,t){const n=Hb,r=Bb,o=Vb,s=Aw;return Z(),xe(Se,null,[pe(n),pe(o,null,{default:zt(()=>[pe(r)]),_:1}),pe(s)],64)}const Iw=Dt(Rw,[["render",Pw]]),Ow={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` -`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=o?so(()=>bt(()=>import("./BpyJzbHH.js"),__vite__mapDeps([5,6]),import.meta.url).then(f=>f.default||f)):so(()=>bt(()=>import("./CMBsRUCY.js"),__vite__mapDeps([7,8]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Z(),ve(fe(c),Zr(cr({statusCode:fe(r),statusMessage:fe(s),description:fe(i),stack:fe(a)})),null,16))}},Ql={__name:"nuxt-root",setup(e){const t=()=>null,n=ce(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ge().beforeEach(a)}const o=!1;Bt(Mn,zi()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=Mo();Bc((a,l,u)=>{if(n.hooks.callHook("vue:error",a,l,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Rg(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>gn(a)),!1});const i=!1;return(a,l)=>(Z(),ve(Ii,{onResolve:fe(r)},{default:zt(()=>[fe(s)?(Z(),ve(fe(Ow),{key:0,error:fe(s)},null,8,["error"])):fe(i)?(Z(),ve(fe(t),{key:1,context:fe(i)},null,8,["context"])):fe(o)?(Z(),ve(Pi(fe(o)),{key:2})):(Z(),ve(fe(Iw),{key:3}))]),_:1},8,["onResolve"]))}};let Xl;{let e;Xl=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?sh(Ql):oh(Ql),o=ug({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Lo(l)}r.config.errorHandler=s;try{await dg(o,Mb)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Am),await o.hooks.callHook("app:mounted",r),await $n()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Xl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Re as $,jw as A,ay as B,Er as C,tt as D,Ie as E,Se as F,Ef as G,Do as H,cn as I,Uw as J,Rn as K,Ze as L,ft as M,ve as N,Be as O,Cf as P,K as Q,Me as R,Bw as S,kf as T,bw as U,Ui as V,Dw as W,ow as X,zw as Y,qw as Z,Dt as _,jt as a,Pi as a0,ce as a1,xt as a2,Bt as a3,Ic as a4,wt as a5,xr as a6,kn as a7,_p as a8,pt as a9,$n as aa,Td as ab,Nw as ac,Ln as ad,Yv as ae,nn as af,Bo as ag,pe as b,xe as c,ur as d,dw as e,Mw as f,Hw as g,un as h,Tf as i,fe as j,Nn as k,Fw as l,Ke as m,de as n,Z as o,$w as p,ei as q,we as r,Cw as s,Yt as t,_m as u,Fe as v,zt as w,io as x,bt as y,Lw as z}; +`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=o?so(()=>bt(()=>import("./oXyxjP8b.js"),__vite__mapDeps([5,6]),import.meta.url).then(f=>f.default||f)):so(()=>bt(()=>import("./DcR8A0nI.js"),__vite__mapDeps([7,8]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Z(),ve(fe(c),Zr(cr({statusCode:fe(r),statusMessage:fe(s),description:fe(i),stack:fe(a)})),null,16))}},Ql={__name:"nuxt-root",setup(e){const t=()=>null,n=ce(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ge().beforeEach(a)}const o=!1;Bt(Mn,zi()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=Mo();Bc((a,l,u)=>{if(n.hooks.callHook("vue:error",a,l,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Rg(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>gn(a)),!1});const i=!1;return(a,l)=>(Z(),ve(Ii,{onResolve:fe(r)},{default:zt(()=>[fe(s)?(Z(),ve(fe(Ow),{key:0,error:fe(s)},null,8,["error"])):fe(i)?(Z(),ve(fe(t),{key:1,context:fe(i)},null,8,["context"])):fe(o)?(Z(),ve(Pi(fe(o)),{key:2})):(Z(),ve(fe(Iw),{key:3}))]),_:1},8,["onResolve"]))}};let Xl;{let e;Xl=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?sh(Ql):oh(Ql),o=ug({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Lo(l)}r.config.errorHandler=s;try{await dg(o,Mb)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Am),await o.hooks.callHook("app:mounted",r),await $n()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Xl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Re as $,jw as A,ay as B,Er as C,tt as D,Ie as E,Se as F,Ef as G,Do as H,cn as I,Uw as J,Rn as K,Ze as L,ft as M,ve as N,Be as O,Cf as P,K as Q,Me as R,Bw as S,kf as T,bw as U,Ui as V,Dw as W,ow as X,zw as Y,qw as Z,Dt as _,jt as a,Pi as a0,ce as a1,xt as a2,Bt as a3,Ic as a4,wt as a5,xr as a6,kn as a7,_p as a8,pt as a9,$n as aa,Td as ab,Nw as ac,Ln as ad,Yv as ae,nn as af,Bo as ag,pe as b,xe as c,ur as d,dw as e,Mw as f,Hw as g,un as h,Tf as i,fe as j,Nn as k,Fw as l,Ke as m,de as n,Z as o,$w as p,ei as q,we as r,Cw as s,Yt as t,_m as u,Fe as v,zt as w,io as x,bt as y,Lw as z}; diff --git a/mobile/www/web/DIStlTXO.js b/mobile/www/web/Bzjt4AqH.js similarity index 69% rename from mobile/www/web/DIStlTXO.js rename to mobile/www/web/Bzjt4AqH.js index 4e5d6b0..c461c18 100644 --- a/mobile/www/web/DIStlTXO.js +++ b/mobile/www/web/Bzjt4AqH.js @@ -1 +1 @@ -import{g as t,c as o,o as a}from"./B1llnzT6.js";const l={__name:"[...catchall]",setup(c){const e=t();return window.location.pathname==="/index.html"&&e.push("/"),(n,r)=>(a(),o("div"))}};export{l as default}; +import{g as t,c as o,o as a}from"./B6ZPosoZ.js";const l={__name:"[...catchall]",setup(c){const e=t();return window.location.pathname==="/index.html"&&e.push("/"),(n,r)=>(a(),o("div"))}};export{l as default}; diff --git a/mobile/www/web/C8hkhog1.js b/mobile/www/web/CKN7IfQw.js similarity index 99% rename from mobile/www/web/C8hkhog1.js rename to mobile/www/web/CKN7IfQw.js index f965e93..56083b2 100644 --- a/mobile/www/web/C8hkhog1.js +++ b/mobile/www/web/CKN7IfQw.js @@ -1,4 +1,4 @@ -var dt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)};import{C as Xe,D as X,_ as Et,E as te,k as ot,G as Er,H as lt,I as be,J as Gi,K as Rt,L as ye,o as U,c as ie,a as Ue,F as bt,x as Ki,n as B,b as it,w as Ve,M as Ce,N as qe,v as ge,t as hn,O as we,P as Rr,Q as P,R as Z,r as L,S as Wi,T as qi,U as Yi,V as Xi,h as de,W as Qi,X as Zi,Y as es,Z as ts,$ as Q,a0 as ns,a1 as rs,a2 as Pr,a3 as xe,a4 as Se,a5 as is,a6 as Ae,m as ct,a7 as ss,a8 as as,a9 as os,aa as ls,ab as wt}from"./B1llnzT6.js";function cs(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const us={wrapper:{horizontal:"inline-flex -space-x-px",vertical:"inline-flex flex-col -space-y-px"},rounded:"rounded-md",shadow:"shadow-sm",orientation:{"rounded-none":{horizontal:{start:"rounded-s-none",end:"rounded-e-none"},vertical:{start:"rounded-t-none",end:"rounded-b-none"}},"rounded-sm":{horizontal:{start:"rounded-s-sm",end:"rounded-e-sm"},vertical:{start:"rounded-t-sm",end:"rounded-b-sm"}},rounded:{horizontal:{start:"rounded-s",end:"rounded-e"},vertical:{start:"rounded-t",end:"rounded-b"}},"rounded-md":{horizontal:{start:"rounded-s-md",end:"rounded-e-md"},vertical:{start:"rounded-t-md",end:"rounded-b-md"}},"rounded-lg":{horizontal:{start:"rounded-s-lg",end:"rounded-e-lg"},vertical:{start:"rounded-t-lg",end:"rounded-b-lg"}},"rounded-xl":{horizontal:{start:"rounded-s-xl",end:"rounded-e-xl"},vertical:{start:"rounded-t-xl",end:"rounded-b-xl"}},"rounded-2xl":{horizontal:{start:"rounded-s-2xl",end:"rounded-e-2xl"},vertical:{start:"rounded-t-2xl",end:"rounded-b-2xl"}},"rounded-3xl":{horizontal:{start:"rounded-s-3xl",end:"rounded-e-3xl"},vertical:{start:"rounded-t-3xl",end:"rounded-b-3xl"}},"rounded-full":{horizontal:{start:"rounded-s-full",end:"rounded-e-full"},vertical:{start:"rounded-t-full",end:"rounded-b-full"}}}},ds={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},fs={wrapper:{base:"flex items-center align-center text-center w-full",horizontal:"flex-row",vertical:"flex-col"},container:{base:"font-medium text-gray-700 dark:text-gray-200 flex",horizontal:"mx-3 whitespace-nowrap",vertical:"my-2"},border:{base:"flex border-gray-200 dark:border-gray-800",horizontal:"w-full",vertical:"h-full",size:{horizontal:{"2xs":"border-t",xs:"border-t-[2px]",sm:"border-t-[3px]",md:"border-t-[4px]",lg:"border-t-[5px]",xl:"border-t-[6px]"},vertical:{"2xs":"border-s",xs:"border-s-[2px]",sm:"border-s-[3px]",md:"border-s-[4px]",lg:"border-s-[5px]",xl:"border-s-[6px]"}},type:{solid:"border-solid",dotted:"border-dotted",dashed:"border-dashed"}},icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0",size:"2xs"},label:"text-sm",default:{size:"2xs"}},ps={wrapper:"relative",ol:"flex items-center gap-x-1.5",li:"flex items-center gap-x-1.5 text-gray-500 dark:text-gray-400 text-sm leading-6 min-w-0",base:"flex items-center gap-x-1.5 group font-semibold min-w-0",label:"block truncate",icon:{base:"flex-shrink-0 w-5 h-5",active:"",inactive:""},divider:{base:"flex-shrink-0 w-5 h-5"},active:"text-primary-500 dark:text-primary-400",inactive:" hover:text-gray-700 dark:hover:text-gray-200",default:{divider:"i-heroicons-chevron-right-20-solid rtl:i-heroicons-chevron-left-20-solid"}},hs={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},Qn=Xe(X.ui.strategy,X.ui.breadcrumb,ps),ms=te({components:{UIcon:ot,ULink:Er},inheritAttrs:!1,props:{links:{type:Array,default:()=>[]},divider:{type:String,default:()=>Qn.default.divider},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("breadcrumb",be(e,"ui"),Qn,be(e,"class"));return{ui:t,attrs:n,getULinkProps:Gi,twMerge:Rt,twJoin:ye}}}),gs={key:1,role:"presentation"};function ys(e,t,n,r,i,s){const a=ot,o=Er;return U(),ie("nav",we({"aria-label":"Breadcrumb",class:e.ui.wrapper},e.attrs),[Ue("ol",{class:B(e.ui.ol)},[(U(!0),ie(bt,null,Ki(e.links,(l,c)=>(U(),ie("li",{key:c,class:B(e.ui.li)},[it(o,we({as:"span",class:[e.ui.base,c===e.links.length-1?e.ui.active:l.to?e.ui.inactive:""]},e.getULinkProps(l),{"aria-current":c===e.links.length-1?"page":void 0}),{default:Ve(()=>[Ce(e.$slots,"icon",{link:l,index:c,isActive:c===e.links.length-1},()=>[l.icon?(U(),qe(a,{key:0,name:l.icon,class:B(e.twMerge(e.twJoin(e.ui.icon.base,c===e.links.length-1?e.ui.icon.active:l.to?e.ui.icon.inactive:""),l.iconClass))},null,8,["name","class"])):ge("",!0)]),Ce(e.$slots,"default",{link:l,index:c,isActive:c===e.links.length-1},()=>[l.label?(U(),ie("span",{key:0,class:B(e.twMerge(e.ui.label,l.labelClass))},hn(l.label),3)):ge("",!0)])]),_:2},1040,["class","aria-current"]),c[e.divider?(U(),ie(bt,{key:0},[e.divider.startsWith("i-")?(U(),qe(a,{key:0,name:e.divider,class:B(e.ui.divider.base),role:"presentation"},null,8,["name","class"])):(U(),ie("span",gs,hn(e.divider),1))],64)):ge("",!0)]):ge("",!0)],2))),128))],2)],16)}const Po=Et(ms,[["render",ys]]),At=Xe(X.ui.strategy,X.ui.divider,fs),vs=te({components:{UIcon:ot,UAvatar:Rr},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},size:{type:String,default:()=>At.default.size,validator(e){return Object.keys(At.border.size.horizontal).includes(e)||Object.keys(At.border.size.vertical).includes(e)}},orientation:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},type:{type:String,default:"solid",validator:e=>["solid","dotted","dashed"].includes(e)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("divider",be(e,"ui"),At),r=P(()=>Rt(ye(t.value.wrapper.base,t.value.wrapper[e.orientation]),e.class)),i=P(()=>ye(t.value.container.base,t.value.container[e.orientation])),s=P(()=>ye(t.value.border.base,t.value.border[e.orientation],t.value.border.size[e.orientation][e.size],t.value.border.type[e.type]));return{ui:t,attrs:n,wrapperClass:r,containerClass:i,borderClass:s}}});function bs(e,t,n,r,i,s){const a=ot,o=Rr;return U(),ie("div",we({class:e.wrapperClass},e.attrs),[Ue("div",{class:B(e.borderClass)},null,2),e.label||e.icon||e.avatar||e.$slots.default?(U(),ie(bt,{key:0},[Ue("div",{class:B(e.containerClass)},[Ce(e.$slots,"default",{},()=>[e.label?(U(),ie("span",{key:0,class:B(e.ui.label)},hn(e.label),3)):e.icon?(U(),qe(a,{key:1,name:e.icon,class:B(e.ui.icon.base)},null,8,["name","class"])):e.avatar?(U(),qe(o,we({key:2},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):ge("",!0)])],2),Ue("div",{class:B(e.borderClass)},null,2)],64)):ge("",!0)],16)}const Oo=Et(vs,[["render",bs]]),Cs=(e,t)=>{const n=Z("form-events",void 0),r=Z("form-group",void 0),i=Z("form-inputs",void 0);r&&(e!=null&&e.id&&(r.inputId.value=e==null?void 0:e.id),i&&(i.value[r.name.value]=r.inputId.value));const s=L(!1);function a(u,f){n&&n.emit({type:u,path:f})}function o(){a("blur",r==null?void 0:r.name.value),s.value=!0}function l(){a("change",r==null?void 0:r.name.value)}const c=Wi(()=>{(s.value||r!=null&&r.eagerValidation.value)&&a("input",r==null?void 0:r.name.value)},300);return{inputId:P(()=>(e==null?void 0:e.id)??(r==null?void 0:r.inputId.value)),name:P(()=>(e==null?void 0:e.name)??(r==null?void 0:r.name.value)),size:P(()=>{var f;const u=t.size[r==null?void 0:r.size.value]?r==null?void 0:r.size.value:null;return(e==null?void 0:e.size)??u??((f=t==null?void 0:t.default)==null?void 0:f.size)}),color:P(()=>{var u;return(u=r==null?void 0:r.error)!=null&&u.value?"red":e==null?void 0:e.color}),emitFormBlur:o,emitFormInput:c,emitFormChange:l}},De=Xe(X.ui.strategy,X.ui.input,qi),xs=te({components:{UIcon:ot},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},id:{type:String,default:null},name:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autofocusDelay:{type:Number,default:100},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>De.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:null,validator(e){return Object.keys(De.size).includes(e)}},color:{type:String,default:()=>De.default.color,validator(e){return[...X.ui.colors,...Object.keys(De.color)].includes(e)}},variant:{type:String,default:()=>De.default.variant,validator(e){return[...Object.keys(De.variant),...Object.values(De.color).flatMap(t=>Object.keys(t))].includes(e)}},inputClass:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},modelModifiers:{type:Object,default:()=>({})}},emits:["update:modelValue","blur"],setup(e,{emit:t,slots:n}){const{ui:r,attrs:i}=lt("input",be(e,"ui"),De,be(e,"class")),{size:s,rounded:a}=Yi({ui:r,props:e}),{emitFormBlur:o,emitFormInput:l,size:c,color:u,inputId:f,name:m}=Cs(e,De),b=P(()=>s.value||c.value),S=L(Xi({},e.modelModifiers,{trim:!1,lazy:!1,number:!1})),_=L(null),A=()=>{var x;e.autofocus&&((x=_.value)==null||x.focus())},Y=x=>{S.value.trim&&(x=x.trim()),(S.value.number||e.type==="number")&&(x=Qi(x)),t("update:modelValue",x),l()},N=x=>{S.value.lazy||Y(x.target.value)},D=x=>{const v=x.target.value;S.value.lazy&&Y(v),S.value.trim&&(x.target.value=v.trim())},_e=x=>{o(),t("blur",x)};de(()=>{setTimeout(()=>{A()},e.autofocusDelay)});const fe=P(()=>{var v,C;const x=((C=(v=r.value.color)==null?void 0:v[u.value])==null?void 0:C[e.variant])||r.value.variant[e.variant];return Rt(ye(r.value.base,r.value.form,a.value,r.value.placeholder,e.type==="file"&&[r.value.file.base,r.value.file.padding[b.value]],r.value.size[b.value],e.padded?r.value.padding[b.value]:"p-0",x==null?void 0:x.replaceAll("{color}",u.value),(J.value||n.leading)&&r.value.leading.padding[b.value],(ke.value||n.trailing)&&r.value.trailing.padding[b.value]),e.inputClass)}),J=P(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),ke=P(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),le=P(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),Ie=P(()=>e.loading&&!J.value?e.loadingIcon:e.trailingIcon||e.icon),pe=P(()=>ye(r.value.icon.leading.wrapper,r.value.icon.leading.pointer,r.value.icon.leading.padding[b.value])),$e=P(()=>ye(r.value.icon.base,u.value&&X.ui.colors.includes(u.value)&&r.value.icon.color.replaceAll("{color}",u.value),r.value.icon.size[b.value],e.loading&&r.value.icon.loading)),Le=P(()=>ye(r.value.icon.trailing.wrapper,r.value.icon.trailing.pointer,r.value.icon.trailing.padding[b.value])),p=P(()=>ye(r.value.icon.base,u.value&&X.ui.colors.includes(u.value)&&r.value.icon.color.replaceAll("{color}",u.value),r.value.icon.size[b.value],e.loading&&!J.value&&r.value.icon.loading));return{ui:r,attrs:i,name:m,inputId:f,input:_,isLeading:J,isTrailing:ke,inputClass:fe,leadingIconName:le,leadingIconClass:$e,leadingWrapperIconClass:pe,trailingIconName:Ie,trailingIconClass:p,trailingWrapperIconClass:Le,onInput:N,onChange:D,onBlur:_e}}}),Ss=["id","name","value","type","required","placeholder","disabled"];function _s(e,t,n,r,i,s){const a=ot;return U(),ie("div",{class:B(e.ui.wrapper)},[Ue("input",we({id:e.inputId,ref:"input",name:e.name,value:e.modelValue,type:e.type,required:e.required,placeholder:e.placeholder,disabled:e.disabled,class:e.inputClass},e.attrs,{onInput:t[0]||(t[0]=(...o)=>e.onInput&&e.onInput(...o)),onBlur:t[1]||(t[1]=(...o)=>e.onBlur&&e.onBlur(...o)),onChange:t[2]||(t[2]=(...o)=>e.onChange&&e.onChange(...o))}),null,16,Ss),Ce(e.$slots,"default"),e.isLeading&&e.leadingIconName||e.$slots.leading?(U(),ie("span",{key:0,class:B(e.leadingWrapperIconClass)},[Ce(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[it(a,{name:e.leadingIconName,class:B(e.leadingIconClass)},null,8,["name","class"])])],2)):ge("",!0),e.isTrailing&&e.trailingIconName||e.$slots.trailing?(U(),ie("span",{key:1,class:B(e.trailingWrapperIconClass)},[Ce(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[it(a,{name:e.trailingIconName,class:B(e.trailingIconClass)},null,8,["name","class"])])],2)):ge("",!0)],2)}const Io=Et(xs,[["render",_s]]),ks=Xe(X.ui.strategy,X.ui.button,Zi),Ts=Xe(X.ui.strategy,X.ui.buttonGroup,us),Do=te({name:"ButtonGroup",inheritAttrs:!1,props:{size:{type:String,default:null,validator(e){return Object.keys(ks.size).includes(e)}},orientation:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e,{slots:t}){const{ui:n,attrs:r}=lt("buttonGroup",be(e,"ui"),Ts),i=P(()=>es(t)),s=P(()=>Rt(ye(n.value.wrapper[e.orientation],n.value.rounded,n.value.shadow),e.class)),a=P(()=>n.value.orientation[n.value.rounded][e.orientation]);return ts({orientation:be(e,"orientation"),size:be(e,"size"),ui:n,rounded:a}),()=>Q("div",{class:s.value,...r.value},i.value)}}),Es=Xe(X.ui.strategy,X.ui.card,ds),Rs=te({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("card",be(e,"ui"),Es),r=P(()=>Rt(ye(t.value.base,t.value.rounded,t.value.divide,t.value.ring,t.value.shadow,t.value.background),e.class));return{ui:t,attrs:n,cardClass:r}}});function Ps(e,t,n,r,i,s){return U(),qe(ns(e.$attrs.onSubmit?"form":e.as),we({class:e.cardClass},e.attrs),{default:Ve(()=>[e.$slots.header?(U(),ie("div",{key:0,class:B([e.ui.header.base,e.ui.header.padding,e.ui.header.background])},[Ce(e.$slots,"header")],2)):ge("",!0),e.$slots.default?(U(),ie("div",{key:1,class:B([e.ui.body.base,e.ui.body.padding,e.ui.body.background])},[Ce(e.$slots,"default")],2)):ge("",!0),e.$slots.footer?(U(),ie("div",{key:2,class:B([e.ui.footer.base,e.ui.footer.padding,e.ui.footer.background])},[Ce(e.$slots,"footer")],2)):ge("",!0)]),_:3},16,["class"])}const wo=Et(Rs,[["render",Ps]]),Os=Symbol.for("nuxt:client-only"),Is="data-n-ids",Ds="-";function ws(e){var i,s,a,o,l,c;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=`n${e.slice(1)}`;const t=rs(),n=Pr();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(i=n._nuxtIdIndex)[e]||(i[e]=0);const r=e+Ds+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!Z(Os,!1)){const u=((s=n.vnode.el)==null?void 0:s.nodeType)===8&&((o=(a=n.vnode.el)==null?void 0:a.nextElementSibling)!=null&&o.getAttribute)?(l=n.vnode.el)==null?void 0:l.nextElementSibling:n.vnode.el,f=JSON.parse(((c=u==null?void 0:u.getAttribute)==null?void 0:c.call(u,Is))||"{}");if(f[r])return f[r]}return e+"_"+t._id++}let Or=Symbol("headlessui.useid"),As=0;function Fn(){return Z(Or,()=>`${++As}`)()}function Ms(e){xe(Or,e)}function V(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function Oe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Oe),r}var $s=Object.defineProperty,Ls=(e,t,n)=>t in e?$s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(Ls(e,typeof t!="symbol"?t+"":t,n),n);let js=class{constructor(){Zn(this,"current",this.detect()),Zn(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Pt=new js;function ut(e){if(Pt.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=V(e);if(t)return t.ownerDocument}return document}let mn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Be=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Be||{}),Ir=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ir||{}),Bs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Bs||{});function Fs(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(mn)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Dr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Dr||{});function Us(e,t=0){var n;return e===((n=ut(e))==null?void 0:n.body)?!1:Oe(t,{0(){return e.matches(mn)},1(){let r=e;for(;r!==null;){if(r.matches(mn))return!0;r=r.parentElement}return!1}})}var zs=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(zs||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ke(e){e==null||e.focus({preventScroll:!0})}let Ns=["textarea","input"].join(",");function Vs(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ns))!=null?n:!1}function Hs(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),s=t(r);if(i===null||s===null)return 0;let a=i.compareDocumentPosition(s);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ft(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var s;let a=(s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?s:document,o=Array.isArray(e)?n?Hs(e):e:Fs(e);i.length>0&&o.length>1&&(o=o.filter(S=>!i.includes(S))),r=r??a.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,m=o.length,b;do{if(f>=m||f+m<=0)return 0;let S=c+f;if(t&16)S=(S+m)%m;else{if(S<0)return 3;if(S>=m)return 1}b=o[S],b==null||b.focus(u),f+=l}while(b!==a.activeElement);return t&6&&Vs(b)&&b.select(),2}function wr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Js(){return/Android/gi.test(window.navigator.userAgent)}function Gs(){return wr()||Js()}function Mt(e,t,n){Pt.isServer||Se(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Ar(e,t,n){Pt.isServer||Se(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ks(e,t,n=P(()=>!0)){function r(s,a){if(!n.value||s.defaultPrevented)return;let o=a(s);if(o===null||!o.getRootNode().contains(o))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:V(c);if(u!=null&&u.contains(o)||s.composed&&s.composedPath().includes(u))return}return!Us(o,Dr.Loose)&&o.tabIndex!==-1&&s.preventDefault(),t(s,o)}let i=L(null);Mt("pointerdown",s=>{var a,o;n.value&&(i.value=((o=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:o[0])||s.target)},!0),Mt("mousedown",s=>{var a,o;n.value&&(i.value=((o=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:o[0])||s.target)},!0),Mt("click",s=>{Gs()||i.value&&(r(s,()=>i.value),i.value=null)},!0),Mt("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Ar("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var qt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qt||{}),Fe=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Fe||{});function Me({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var s;let a=$r(r,n),o=Object.assign(i,{props:a});if(e||t&2&&a.static)return sn(o);if(t&1){let l=(s=a.unmount)==null||s?0:1;return Oe(l,{0(){return null},1(){return sn({...i,props:{...a,hidden:!0,style:{display:"none"}}})}})}return sn(o)}function sn({props:e,attrs:t,slots:n,slot:r,name:i}){var s,a;let{as:o,...l}=Lr(e,["unmount","static"]),c=(s=n.default)==null?void 0:s.call(n,r),u={};if(r){let f=!1,m=[];for(let[b,S]of Object.entries(r))typeof S=="boolean"&&(f=!0),S===!0&&m.push(b);f&&(u["data-headlessui-state"]=m.join(" "))}if(o==="template"){if(c=Mr(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...m]=c??[];if(!Ws(f)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(_=>_.trim()).filter((_,A,Y)=>Y.indexOf(_)===A).sort((_,A)=>_.localeCompare(A)).map(_=>` - ${_}`).join(` +var dt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)};import{C as Xe,D as X,_ as Et,E as te,k as ot,G as Er,H as lt,I as be,J as Gi,K as Rt,L as ye,o as U,c as ie,a as Ue,F as bt,x as Ki,n as B,b as it,w as Ve,M as Ce,N as qe,v as ge,t as hn,O as we,P as Rr,Q as P,R as Z,r as L,S as Wi,T as qi,U as Yi,V as Xi,h as de,W as Qi,X as Zi,Y as es,Z as ts,$ as Q,a0 as ns,a1 as rs,a2 as Pr,a3 as xe,a4 as Se,a5 as is,a6 as Ae,m as ct,a7 as ss,a8 as as,a9 as os,aa as ls,ab as wt}from"./B6ZPosoZ.js";function cs(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const us={wrapper:{horizontal:"inline-flex -space-x-px",vertical:"inline-flex flex-col -space-y-px"},rounded:"rounded-md",shadow:"shadow-sm",orientation:{"rounded-none":{horizontal:{start:"rounded-s-none",end:"rounded-e-none"},vertical:{start:"rounded-t-none",end:"rounded-b-none"}},"rounded-sm":{horizontal:{start:"rounded-s-sm",end:"rounded-e-sm"},vertical:{start:"rounded-t-sm",end:"rounded-b-sm"}},rounded:{horizontal:{start:"rounded-s",end:"rounded-e"},vertical:{start:"rounded-t",end:"rounded-b"}},"rounded-md":{horizontal:{start:"rounded-s-md",end:"rounded-e-md"},vertical:{start:"rounded-t-md",end:"rounded-b-md"}},"rounded-lg":{horizontal:{start:"rounded-s-lg",end:"rounded-e-lg"},vertical:{start:"rounded-t-lg",end:"rounded-b-lg"}},"rounded-xl":{horizontal:{start:"rounded-s-xl",end:"rounded-e-xl"},vertical:{start:"rounded-t-xl",end:"rounded-b-xl"}},"rounded-2xl":{horizontal:{start:"rounded-s-2xl",end:"rounded-e-2xl"},vertical:{start:"rounded-t-2xl",end:"rounded-b-2xl"}},"rounded-3xl":{horizontal:{start:"rounded-s-3xl",end:"rounded-e-3xl"},vertical:{start:"rounded-t-3xl",end:"rounded-b-3xl"}},"rounded-full":{horizontal:{start:"rounded-s-full",end:"rounded-e-full"},vertical:{start:"rounded-t-full",end:"rounded-b-full"}}}},ds={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},fs={wrapper:{base:"flex items-center align-center text-center w-full",horizontal:"flex-row",vertical:"flex-col"},container:{base:"font-medium text-gray-700 dark:text-gray-200 flex",horizontal:"mx-3 whitespace-nowrap",vertical:"my-2"},border:{base:"flex border-gray-200 dark:border-gray-800",horizontal:"w-full",vertical:"h-full",size:{horizontal:{"2xs":"border-t",xs:"border-t-[2px]",sm:"border-t-[3px]",md:"border-t-[4px]",lg:"border-t-[5px]",xl:"border-t-[6px]"},vertical:{"2xs":"border-s",xs:"border-s-[2px]",sm:"border-s-[3px]",md:"border-s-[4px]",lg:"border-s-[5px]",xl:"border-s-[6px]"}},type:{solid:"border-solid",dotted:"border-dotted",dashed:"border-dashed"}},icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0",size:"2xs"},label:"text-sm",default:{size:"2xs"}},ps={wrapper:"relative",ol:"flex items-center gap-x-1.5",li:"flex items-center gap-x-1.5 text-gray-500 dark:text-gray-400 text-sm leading-6 min-w-0",base:"flex items-center gap-x-1.5 group font-semibold min-w-0",label:"block truncate",icon:{base:"flex-shrink-0 w-5 h-5",active:"",inactive:""},divider:{base:"flex-shrink-0 w-5 h-5"},active:"text-primary-500 dark:text-primary-400",inactive:" hover:text-gray-700 dark:hover:text-gray-200",default:{divider:"i-heroicons-chevron-right-20-solid rtl:i-heroicons-chevron-left-20-solid"}},hs={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},Qn=Xe(X.ui.strategy,X.ui.breadcrumb,ps),ms=te({components:{UIcon:ot,ULink:Er},inheritAttrs:!1,props:{links:{type:Array,default:()=>[]},divider:{type:String,default:()=>Qn.default.divider},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("breadcrumb",be(e,"ui"),Qn,be(e,"class"));return{ui:t,attrs:n,getULinkProps:Gi,twMerge:Rt,twJoin:ye}}}),gs={key:1,role:"presentation"};function ys(e,t,n,r,i,s){const a=ot,o=Er;return U(),ie("nav",we({"aria-label":"Breadcrumb",class:e.ui.wrapper},e.attrs),[Ue("ol",{class:B(e.ui.ol)},[(U(!0),ie(bt,null,Ki(e.links,(l,c)=>(U(),ie("li",{key:c,class:B(e.ui.li)},[it(o,we({as:"span",class:[e.ui.base,c===e.links.length-1?e.ui.active:l.to?e.ui.inactive:""]},e.getULinkProps(l),{"aria-current":c===e.links.length-1?"page":void 0}),{default:Ve(()=>[Ce(e.$slots,"icon",{link:l,index:c,isActive:c===e.links.length-1},()=>[l.icon?(U(),qe(a,{key:0,name:l.icon,class:B(e.twMerge(e.twJoin(e.ui.icon.base,c===e.links.length-1?e.ui.icon.active:l.to?e.ui.icon.inactive:""),l.iconClass))},null,8,["name","class"])):ge("",!0)]),Ce(e.$slots,"default",{link:l,index:c,isActive:c===e.links.length-1},()=>[l.label?(U(),ie("span",{key:0,class:B(e.twMerge(e.ui.label,l.labelClass))},hn(l.label),3)):ge("",!0)])]),_:2},1040,["class","aria-current"]),c[e.divider?(U(),ie(bt,{key:0},[e.divider.startsWith("i-")?(U(),qe(a,{key:0,name:e.divider,class:B(e.ui.divider.base),role:"presentation"},null,8,["name","class"])):(U(),ie("span",gs,hn(e.divider),1))],64)):ge("",!0)]):ge("",!0)],2))),128))],2)],16)}const Po=Et(ms,[["render",ys]]),At=Xe(X.ui.strategy,X.ui.divider,fs),vs=te({components:{UIcon:ot,UAvatar:Rr},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},size:{type:String,default:()=>At.default.size,validator(e){return Object.keys(At.border.size.horizontal).includes(e)||Object.keys(At.border.size.vertical).includes(e)}},orientation:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},type:{type:String,default:"solid",validator:e=>["solid","dotted","dashed"].includes(e)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("divider",be(e,"ui"),At),r=P(()=>Rt(ye(t.value.wrapper.base,t.value.wrapper[e.orientation]),e.class)),i=P(()=>ye(t.value.container.base,t.value.container[e.orientation])),s=P(()=>ye(t.value.border.base,t.value.border[e.orientation],t.value.border.size[e.orientation][e.size],t.value.border.type[e.type]));return{ui:t,attrs:n,wrapperClass:r,containerClass:i,borderClass:s}}});function bs(e,t,n,r,i,s){const a=ot,o=Rr;return U(),ie("div",we({class:e.wrapperClass},e.attrs),[Ue("div",{class:B(e.borderClass)},null,2),e.label||e.icon||e.avatar||e.$slots.default?(U(),ie(bt,{key:0},[Ue("div",{class:B(e.containerClass)},[Ce(e.$slots,"default",{},()=>[e.label?(U(),ie("span",{key:0,class:B(e.ui.label)},hn(e.label),3)):e.icon?(U(),qe(a,{key:1,name:e.icon,class:B(e.ui.icon.base)},null,8,["name","class"])):e.avatar?(U(),qe(o,we({key:2},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):ge("",!0)])],2),Ue("div",{class:B(e.borderClass)},null,2)],64)):ge("",!0)],16)}const Oo=Et(vs,[["render",bs]]),Cs=(e,t)=>{const n=Z("form-events",void 0),r=Z("form-group",void 0),i=Z("form-inputs",void 0);r&&(e!=null&&e.id&&(r.inputId.value=e==null?void 0:e.id),i&&(i.value[r.name.value]=r.inputId.value));const s=L(!1);function a(u,f){n&&n.emit({type:u,path:f})}function o(){a("blur",r==null?void 0:r.name.value),s.value=!0}function l(){a("change",r==null?void 0:r.name.value)}const c=Wi(()=>{(s.value||r!=null&&r.eagerValidation.value)&&a("input",r==null?void 0:r.name.value)},300);return{inputId:P(()=>(e==null?void 0:e.id)??(r==null?void 0:r.inputId.value)),name:P(()=>(e==null?void 0:e.name)??(r==null?void 0:r.name.value)),size:P(()=>{var f;const u=t.size[r==null?void 0:r.size.value]?r==null?void 0:r.size.value:null;return(e==null?void 0:e.size)??u??((f=t==null?void 0:t.default)==null?void 0:f.size)}),color:P(()=>{var u;return(u=r==null?void 0:r.error)!=null&&u.value?"red":e==null?void 0:e.color}),emitFormBlur:o,emitFormInput:c,emitFormChange:l}},De=Xe(X.ui.strategy,X.ui.input,qi),xs=te({components:{UIcon:ot},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},id:{type:String,default:null},name:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autofocusDelay:{type:Number,default:100},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>De.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:null,validator(e){return Object.keys(De.size).includes(e)}},color:{type:String,default:()=>De.default.color,validator(e){return[...X.ui.colors,...Object.keys(De.color)].includes(e)}},variant:{type:String,default:()=>De.default.variant,validator(e){return[...Object.keys(De.variant),...Object.values(De.color).flatMap(t=>Object.keys(t))].includes(e)}},inputClass:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},modelModifiers:{type:Object,default:()=>({})}},emits:["update:modelValue","blur"],setup(e,{emit:t,slots:n}){const{ui:r,attrs:i}=lt("input",be(e,"ui"),De,be(e,"class")),{size:s,rounded:a}=Yi({ui:r,props:e}),{emitFormBlur:o,emitFormInput:l,size:c,color:u,inputId:f,name:m}=Cs(e,De),b=P(()=>s.value||c.value),S=L(Xi({},e.modelModifiers,{trim:!1,lazy:!1,number:!1})),_=L(null),A=()=>{var x;e.autofocus&&((x=_.value)==null||x.focus())},Y=x=>{S.value.trim&&(x=x.trim()),(S.value.number||e.type==="number")&&(x=Qi(x)),t("update:modelValue",x),l()},N=x=>{S.value.lazy||Y(x.target.value)},D=x=>{const v=x.target.value;S.value.lazy&&Y(v),S.value.trim&&(x.target.value=v.trim())},_e=x=>{o(),t("blur",x)};de(()=>{setTimeout(()=>{A()},e.autofocusDelay)});const fe=P(()=>{var v,C;const x=((C=(v=r.value.color)==null?void 0:v[u.value])==null?void 0:C[e.variant])||r.value.variant[e.variant];return Rt(ye(r.value.base,r.value.form,a.value,r.value.placeholder,e.type==="file"&&[r.value.file.base,r.value.file.padding[b.value]],r.value.size[b.value],e.padded?r.value.padding[b.value]:"p-0",x==null?void 0:x.replaceAll("{color}",u.value),(J.value||n.leading)&&r.value.leading.padding[b.value],(ke.value||n.trailing)&&r.value.trailing.padding[b.value]),e.inputClass)}),J=P(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),ke=P(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),le=P(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),Ie=P(()=>e.loading&&!J.value?e.loadingIcon:e.trailingIcon||e.icon),pe=P(()=>ye(r.value.icon.leading.wrapper,r.value.icon.leading.pointer,r.value.icon.leading.padding[b.value])),$e=P(()=>ye(r.value.icon.base,u.value&&X.ui.colors.includes(u.value)&&r.value.icon.color.replaceAll("{color}",u.value),r.value.icon.size[b.value],e.loading&&r.value.icon.loading)),Le=P(()=>ye(r.value.icon.trailing.wrapper,r.value.icon.trailing.pointer,r.value.icon.trailing.padding[b.value])),p=P(()=>ye(r.value.icon.base,u.value&&X.ui.colors.includes(u.value)&&r.value.icon.color.replaceAll("{color}",u.value),r.value.icon.size[b.value],e.loading&&!J.value&&r.value.icon.loading));return{ui:r,attrs:i,name:m,inputId:f,input:_,isLeading:J,isTrailing:ke,inputClass:fe,leadingIconName:le,leadingIconClass:$e,leadingWrapperIconClass:pe,trailingIconName:Ie,trailingIconClass:p,trailingWrapperIconClass:Le,onInput:N,onChange:D,onBlur:_e}}}),Ss=["id","name","value","type","required","placeholder","disabled"];function _s(e,t,n,r,i,s){const a=ot;return U(),ie("div",{class:B(e.ui.wrapper)},[Ue("input",we({id:e.inputId,ref:"input",name:e.name,value:e.modelValue,type:e.type,required:e.required,placeholder:e.placeholder,disabled:e.disabled,class:e.inputClass},e.attrs,{onInput:t[0]||(t[0]=(...o)=>e.onInput&&e.onInput(...o)),onBlur:t[1]||(t[1]=(...o)=>e.onBlur&&e.onBlur(...o)),onChange:t[2]||(t[2]=(...o)=>e.onChange&&e.onChange(...o))}),null,16,Ss),Ce(e.$slots,"default"),e.isLeading&&e.leadingIconName||e.$slots.leading?(U(),ie("span",{key:0,class:B(e.leadingWrapperIconClass)},[Ce(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[it(a,{name:e.leadingIconName,class:B(e.leadingIconClass)},null,8,["name","class"])])],2)):ge("",!0),e.isTrailing&&e.trailingIconName||e.$slots.trailing?(U(),ie("span",{key:1,class:B(e.trailingWrapperIconClass)},[Ce(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[it(a,{name:e.trailingIconName,class:B(e.trailingIconClass)},null,8,["name","class"])])],2)):ge("",!0)],2)}const Io=Et(xs,[["render",_s]]),ks=Xe(X.ui.strategy,X.ui.button,Zi),Ts=Xe(X.ui.strategy,X.ui.buttonGroup,us),Do=te({name:"ButtonGroup",inheritAttrs:!1,props:{size:{type:String,default:null,validator(e){return Object.keys(ks.size).includes(e)}},orientation:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e,{slots:t}){const{ui:n,attrs:r}=lt("buttonGroup",be(e,"ui"),Ts),i=P(()=>es(t)),s=P(()=>Rt(ye(n.value.wrapper[e.orientation],n.value.rounded,n.value.shadow),e.class)),a=P(()=>n.value.orientation[n.value.rounded][e.orientation]);return ts({orientation:be(e,"orientation"),size:be(e,"size"),ui:n,rounded:a}),()=>Q("div",{class:s.value,...r.value},i.value)}}),Es=Xe(X.ui.strategy,X.ui.card,ds),Rs=te({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=lt("card",be(e,"ui"),Es),r=P(()=>Rt(ye(t.value.base,t.value.rounded,t.value.divide,t.value.ring,t.value.shadow,t.value.background),e.class));return{ui:t,attrs:n,cardClass:r}}});function Ps(e,t,n,r,i,s){return U(),qe(ns(e.$attrs.onSubmit?"form":e.as),we({class:e.cardClass},e.attrs),{default:Ve(()=>[e.$slots.header?(U(),ie("div",{key:0,class:B([e.ui.header.base,e.ui.header.padding,e.ui.header.background])},[Ce(e.$slots,"header")],2)):ge("",!0),e.$slots.default?(U(),ie("div",{key:1,class:B([e.ui.body.base,e.ui.body.padding,e.ui.body.background])},[Ce(e.$slots,"default")],2)):ge("",!0),e.$slots.footer?(U(),ie("div",{key:2,class:B([e.ui.footer.base,e.ui.footer.padding,e.ui.footer.background])},[Ce(e.$slots,"footer")],2)):ge("",!0)]),_:3},16,["class"])}const wo=Et(Rs,[["render",Ps]]),Os=Symbol.for("nuxt:client-only"),Is="data-n-ids",Ds="-";function ws(e){var i,s,a,o,l,c;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=`n${e.slice(1)}`;const t=rs(),n=Pr();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(i=n._nuxtIdIndex)[e]||(i[e]=0);const r=e+Ds+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!Z(Os,!1)){const u=((s=n.vnode.el)==null?void 0:s.nodeType)===8&&((o=(a=n.vnode.el)==null?void 0:a.nextElementSibling)!=null&&o.getAttribute)?(l=n.vnode.el)==null?void 0:l.nextElementSibling:n.vnode.el,f=JSON.parse(((c=u==null?void 0:u.getAttribute)==null?void 0:c.call(u,Is))||"{}");if(f[r])return f[r]}return e+"_"+t._id++}let Or=Symbol("headlessui.useid"),As=0;function Fn(){return Z(Or,()=>`${++As}`)()}function Ms(e){xe(Or,e)}function V(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function Oe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Oe),r}var $s=Object.defineProperty,Ls=(e,t,n)=>t in e?$s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(Ls(e,typeof t!="symbol"?t+"":t,n),n);let js=class{constructor(){Zn(this,"current",this.detect()),Zn(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Pt=new js;function ut(e){if(Pt.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=V(e);if(t)return t.ownerDocument}return document}let mn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Be=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Be||{}),Ir=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ir||{}),Bs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Bs||{});function Fs(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(mn)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Dr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Dr||{});function Us(e,t=0){var n;return e===((n=ut(e))==null?void 0:n.body)?!1:Oe(t,{0(){return e.matches(mn)},1(){let r=e;for(;r!==null;){if(r.matches(mn))return!0;r=r.parentElement}return!1}})}var zs=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(zs||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ke(e){e==null||e.focus({preventScroll:!0})}let Ns=["textarea","input"].join(",");function Vs(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ns))!=null?n:!1}function Hs(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),s=t(r);if(i===null||s===null)return 0;let a=i.compareDocumentPosition(s);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ft(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var s;let a=(s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?s:document,o=Array.isArray(e)?n?Hs(e):e:Fs(e);i.length>0&&o.length>1&&(o=o.filter(S=>!i.includes(S))),r=r??a.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,m=o.length,b;do{if(f>=m||f+m<=0)return 0;let S=c+f;if(t&16)S=(S+m)%m;else{if(S<0)return 3;if(S>=m)return 1}b=o[S],b==null||b.focus(u),f+=l}while(b!==a.activeElement);return t&6&&Vs(b)&&b.select(),2}function wr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Js(){return/Android/gi.test(window.navigator.userAgent)}function Gs(){return wr()||Js()}function Mt(e,t,n){Pt.isServer||Se(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Ar(e,t,n){Pt.isServer||Se(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ks(e,t,n=P(()=>!0)){function r(s,a){if(!n.value||s.defaultPrevented)return;let o=a(s);if(o===null||!o.getRootNode().contains(o))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:V(c);if(u!=null&&u.contains(o)||s.composed&&s.composedPath().includes(u))return}return!Us(o,Dr.Loose)&&o.tabIndex!==-1&&s.preventDefault(),t(s,o)}let i=L(null);Mt("pointerdown",s=>{var a,o;n.value&&(i.value=((o=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:o[0])||s.target)},!0),Mt("mousedown",s=>{var a,o;n.value&&(i.value=((o=(a=s.composedPath)==null?void 0:a.call(s))==null?void 0:o[0])||s.target)},!0),Mt("click",s=>{Gs()||i.value&&(r(s,()=>i.value),i.value=null)},!0),Mt("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Ar("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var qt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qt||{}),Fe=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Fe||{});function Me({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var s;let a=$r(r,n),o=Object.assign(i,{props:a});if(e||t&2&&a.static)return sn(o);if(t&1){let l=(s=a.unmount)==null||s?0:1;return Oe(l,{0(){return null},1(){return sn({...i,props:{...a,hidden:!0,style:{display:"none"}}})}})}return sn(o)}function sn({props:e,attrs:t,slots:n,slot:r,name:i}){var s,a;let{as:o,...l}=Lr(e,["unmount","static"]),c=(s=n.default)==null?void 0:s.call(n,r),u={};if(r){let f=!1,m=[];for(let[b,S]of Object.entries(r))typeof S=="boolean"&&(f=!0),S===!0&&m.push(b);f&&(u["data-headlessui-state"]=m.join(" "))}if(o==="template"){if(c=Mr(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...m]=c??[];if(!Ws(f)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(_=>_.trim()).filter((_,A,Y)=>Y.indexOf(_)===A).sort((_,A)=>_.localeCompare(A)).map(_=>` - ${_}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(_=>` - ${_}`).join(` `)].join(` `));let b=$r((a=f.props)!=null?a:{},l,u),S=is(f,b,!0);for(let _ in b)_.startsWith("on")&&(S.props||(S.props={}),S.props[_]=b[_]);return S}return Array.isArray(c)&&c.length===1?c[0]:c}return Q(o,Object.assign({},l,u),{default:()=>c})}function Mr(e){return e.flatMap(t=>t.type===bt?Mr(t.children):[t])}function $r(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...s){let a=n[r];for(let o of a){if(i instanceof Event&&i.defaultPrevented)return;o(i,...s)}}});return t}function Lr(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ws(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Yt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Yt||{});let gn=te({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:i,...s}=e,a={"aria-hidden":(i&2)===2?!0:(r=s["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return Me({ourProps:a,theirProps:s,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),jr=Symbol("Context");var ue=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ue||{});function qs(){return Un()!==null}function Un(){return Z(jr,null)}function Ys(e){xe(jr,e)}var Br=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Br||{});function Xs(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let He=[];Xs(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&He[0]!==t.target&&(He.unshift(t.target),He=He.filter(n=>n!=null&&n.isConnected),He.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function zn(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Ot(){let e=[],t={addEventListener(n,r,i,s){return n.addEventListener(r,i,s),t.add(()=>n.removeEventListener(r,i,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return zn(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=Ot();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Fr(e,t,n,r){Pt.isServer||Se(i=>{e=e??window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var mt=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(mt||{});function Qs(){let e=L(0);return Ar("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Ur(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=V(n);r instanceof HTMLElement&&t.add(r)}return t}var zr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(zr||{});let ft=Object.assign(te({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:L(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=L(null);r({el:i,$el:i});let s=P(()=>ut(i)),a=L(!1);de(()=>a.value=!0),Ae(()=>a.value=!1),ea({ownerDocument:s},P(()=>a.value&&!!(e.features&16)));let o=ta({ownerDocument:s,container:i,initialFocus:P(()=>e.initialFocus)},P(()=>a.value&&!!(e.features&2)));na({ownerDocument:s,container:i,containers:e.containers,previousActiveElement:o},P(()=>a.value&&!!(e.features&8)));let l=Qs();function c(b){let S=V(i);S&&(_=>_())(()=>{Oe(l.value,{[mt.Forwards]:()=>{Ft(S,Be.First,{skipElements:[b.relatedTarget]})},[mt.Backwards]:()=>{Ft(S,Be.Last,{skipElements:[b.relatedTarget]})}})})}let u=L(!1);function f(b){b.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function m(b){if(!a.value)return;let S=Ur(e.containers);V(i)instanceof HTMLElement&&S.add(V(i));let _=b.relatedTarget;_ instanceof HTMLElement&&_.dataset.headlessuiFocusGuard!=="true"&&(Nr(S,_)||(u.value?Ft(V(i),Oe(l.value,{[mt.Forwards]:()=>Be.Next,[mt.Backwards]:()=>Be.Previous})|Be.WrapAround,{relativeTo:b.target}):b.target instanceof HTMLElement&&Ke(b.target)))}return()=>{let b={},S={ref:i,onKeydown:f,onFocusout:m},{features:_,initialFocus:A,containers:Y,...N}=e;return Q(bt,[!!(_&4)&&Q(gn,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Yt.Focusable}),Me({ourProps:S,theirProps:{...t,...N},slot:b,attrs:t,slots:n,name:"FocusTrap"}),!!(_&4)&&Q(gn,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Yt.Focusable})])}}}),{features:zr});function Zs(e){let t=L(He.slice());return ct([e],([n],[r])=>{r===!0&&n===!1?zn(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=He.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function ea({ownerDocument:e},t){let n=Zs(t);de(()=>{Se(()=>{var r,i;t.value||((r=e.value)==null?void 0:r.activeElement)===((i=e.value)==null?void 0:i.body)&&Ke(n())},{flush:"post"})}),Ae(()=>{t.value&&Ke(n())})}function ta({ownerDocument:e,container:t,initialFocus:n},r){let i=L(null),s=L(!1);return de(()=>s.value=!0),Ae(()=>s.value=!1),de(()=>{ct([t,n,r],(a,o)=>{if(a.every((c,u)=>(o==null?void 0:o[u])===c)||!r.value)return;let l=V(t);l&&zn(()=>{var c,u;if(!s.value)return;let f=V(n),m=(c=e.value)==null?void 0:c.activeElement;if(f){if(f===m){i.value=m;return}}else if(l.contains(m)){i.value=m;return}f?Ke(f):Ft(l,Be.First|Be.NoScroll)===Ir.Error&&console.warn("There are no focusable elements inside the "),i.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),i}function na({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){var s;Fr((s=e.value)==null?void 0:s.defaultView,"focus",a=>{if(!i.value)return;let o=Ur(n);V(t)instanceof HTMLElement&&o.add(V(t));let l=r.value;if(!l)return;let c=a.target;c&&c instanceof HTMLElement?Nr(o,c)?(r.value=c,Ke(c)):(a.preventDefault(),a.stopPropagation(),Ke(l)):Ke(r.value)},!0)}function Nr(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function ra(e){let t=ss(e.getSnapshot());return Ae(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function ia(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...s){let a=t[i].call(n,...s);a&&(n=a,r.forEach(o=>o()))}}}function sa(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,s=e-i;n.style(r,"paddingRight",`${s}px`)}}}function aa(){return wr()?{before({doc:e,d:t,meta:n}){function r(i){return n.containers.flatMap(s=>s()).some(s=>s.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let o=Ot();o.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>o.dispose()))}let s=(i=window.scrollY)!=null?i:window.pageYOffset,a=null;t.addEventListener(e,"click",o=>{if(o.target instanceof HTMLElement)try{let l=o.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),u=e.querySelector(c);u&&!r(u)&&(a=u)}catch{}},!0),t.addEventListener(e,"touchstart",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let l=o.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(o.target,"touchAction","none")}),t.addEventListener(e,"touchmove",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let l=o.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()},{passive:!1}),t.add(()=>{var o;let l=(o=window.scrollY)!=null?o:window.pageYOffset;s!==l&&window.scrollTo(0,s),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function oa(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function la(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Ge=ia(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Ot(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:la(n)},i=[aa(),sa(),oa()];i.forEach(({before:s})=>s==null?void 0:s(r)),i.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Ge.subscribe(()=>{let e=Ge.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&Ge.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Ge.dispatch("TEARDOWN",n)}});function ca(e,t,n){let r=ra(Ge),i=P(()=>{let s=e.value?r.value.get(e.value):void 0;return s?s.count>0:!1});return ct([e,t],([s,a],[o],l)=>{if(!s||!a)return;Ge.dispatch("PUSH",s,n);let c=!1;l(()=>{c||(Ge.dispatch("POP",o??s,n),c=!0)})},{immediate:!0}),i}let an=new Map,pt=new Map;function er(e,t=L(!0)){Se(n=>{var r;if(!t.value)return;let i=V(e);if(!i)return;n(function(){var a;if(!i)return;let o=(a=pt.get(i))!=null?a:1;if(o===1?pt.delete(i):pt.set(i,o-1),o!==1)return;let l=an.get(i);l&&(l["aria-hidden"]===null?i.removeAttribute("aria-hidden"):i.setAttribute("aria-hidden",l["aria-hidden"]),i.inert=l.inert,an.delete(i))});let s=(r=pt.get(i))!=null?r:0;pt.set(i,s+1),s===0&&(an.set(i,{"aria-hidden":i.getAttribute("aria-hidden"),inert:i.inert}),i.setAttribute("aria-hidden","true"),i.inert=!0)})}function ua({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=L(null),i=ut(r);function s(){var a,o,l;let c=[];for(let u of e)u!==null&&(u instanceof HTMLElement?c.push(u):"value"in u&&u.value instanceof HTMLElement&&c.push(u.value));if(t!=null&&t.value)for(let u of t.value)c.push(u);for(let u of(a=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?a:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(V(r))||u.contains((l=(o=V(r))==null?void 0:o.getRootNode())==null?void 0:l.host)||c.some(f=>u.contains(f))||c.push(u));return c}return{resolveContainers:s,contains(a){return s().some(o=>o.contains(a))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:Q(gn,{features:Yt.Hidden,ref:r})}}}let Vr=Symbol("ForcePortalRootContext");function da(){return Z(Vr,!1)}let tr=te({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return xe(Vr,e.force),()=>{let{force:r,...i}=e;return Me({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),Hr=Symbol("StackContext");var yn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(yn||{});function fa(){return Z(Hr,()=>{})}function pa({type:e,enabled:t,element:n,onUpdate:r}){let i=fa();function s(...a){r==null||r(...a),i(...a)}de(()=>{ct(t,(a,o)=>{a?s(0,e,n):o===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Ae(()=>{t.value&&s(1,e,n)}),xe(Hr,s)}let ha=Symbol("DescriptionContext");function ma({slot:e=L({}),name:t="Description",props:n={}}={}){let r=L([]);function i(s){return r.value.push(s),()=>{let a=r.value.indexOf(s);a!==-1&&r.value.splice(a,1)}}return xe(ha,{register:i,slot:e,name:t,props:n}),P(()=>r.value.length>0?r.value.join(" "):void 0)}function ga(e){let t=ut(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let ya=te({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=L(null),i=P(()=>ut(r)),s=da(),a=Z(Jr,null),o=L(s===!0||a==null?ga(r.value):a.resolveTarget()),l=L(!1);de(()=>{l.value=!0}),Se(()=>{s||a!=null&&(o.value=a.resolveTarget())});let c=Z(vn,null),u=!1,f=Pr();return ct(r,()=>{if(u||!c)return;let m=V(r);m&&(Ae(c.register(m),f),u=!0)}),Ae(()=>{var m,b;let S=(m=i.value)==null?void 0:m.getElementById("headlessui-portal-root");S&&o.value===S&&o.value.children.length<=0&&((b=o.value.parentElement)==null||b.removeChild(o.value))}),()=>{if(!l.value||o.value===null)return null;let m={ref:r,"data-headlessui-portal":""};return Q(as,{to:o.value},Me({ourProps:m,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),vn=Symbol("PortalParentContext");function va(){let e=Z(vn,null),t=L([]);function n(s){return t.value.push(s),e&&e.register(s),()=>r(s)}function r(s){let a=t.value.indexOf(s);a!==-1&&t.value.splice(a,1),e&&e.unregister(s)}let i={register:n,unregister:r,portals:t};return[t,te({name:"PortalWrapper",setup(s,{slots:a}){return xe(vn,i),()=>{var o;return(o=a.default)==null?void 0:o.call(a)}}})]}let Jr=Symbol("PortalGroupContext"),ba=te({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=os({resolveTarget(){return e.target}});return xe(Jr,r),()=>{let{target:i,...s}=e;return Me({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var Ca=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ca||{});let bn=Symbol("DialogContext");function Gr(e){let t=Z(bn,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Gr),n}return t}let $t="DC8F892D-2EBD-447C-A4C8-A03058436FF4",xa=te({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:$t},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){var s,a;let o=(s=e.id)!=null?s:`headlessui-dialog-${Fn()}`,l=L(!1);de(()=>{l.value=!0});let c=!1,u=P(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),f=L(0),m=Un(),b=P(()=>e.open===$t&&m!==null?(m.value&ue.Open)===ue.Open:e.open),S=L(null),_=P(()=>ut(S));if(i({el:S,$el:S}),!(e.open!==$t||m!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof b.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${b.value===$t?void 0:e.open}`);let A=P(()=>l.value&&b.value?0:1),Y=P(()=>A.value===0),N=P(()=>f.value>1),D=Z(bn,null)!==null,[_e,fe]=va(),{resolveContainers:J,mainTreeNodeRef:ke,MainTreeNode:le}=ua({portals:_e,defaultContainers:[P(()=>{var k;return(k=y.panelRef.value)!=null?k:S.value})]}),Ie=P(()=>N.value?"parent":"leaf"),pe=P(()=>m!==null?(m.value&ue.Closing)===ue.Closing:!1),$e=P(()=>D||pe.value?!1:Y.value),Le=P(()=>{var k,R,ne;return(ne=Array.from((R=(k=_.value)==null?void 0:k.querySelectorAll("body > *"))!=null?R:[]).find(he=>he.id==="headlessui-portal-root"?!1:he.contains(V(ke))&&he instanceof HTMLElement))!=null?ne:null});er(Le,$e);let p=P(()=>N.value?!0:Y.value),x=P(()=>{var k,R,ne;return(ne=Array.from((R=(k=_.value)==null?void 0:k.querySelectorAll("[data-headlessui-portal]"))!=null?R:[]).find(he=>he.contains(V(ke))&&he instanceof HTMLElement))!=null?ne:null});er(x,p),pa({type:"Dialog",enabled:P(()=>A.value===0),element:S,onUpdate:(k,R)=>{if(R==="Dialog")return Oe(k,{[yn.Add]:()=>f.value+=1,[yn.Remove]:()=>f.value-=1})}});let v=ma({name:"DialogDescription",slot:P(()=>({open:b.value}))}),C=L(null),y={titleId:C,panelRef:L(null),dialogState:A,setTitleId(k){C.value!==k&&(C.value=k)},close(){t("close",!1)}};xe(bn,y);let O=P(()=>!(!Y.value||N.value));Ks(J,(k,R)=>{y.close(),ls(()=>R==null?void 0:R.focus())},O);let I=P(()=>!(N.value||A.value!==0));Fr((a=_.value)==null?void 0:a.defaultView,"keydown",k=>{I.value&&(k.defaultPrevented||k.key===Br.Escape&&(k.preventDefault(),k.stopPropagation(),y.close()))});let w=P(()=>!(pe.value||A.value!==0||D));return ca(_,w,k=>{var R;return{containers:[...(R=k.containers)!=null?R:[],J]}}),Se(k=>{if(A.value!==0)return;let R=V(S);if(!R)return;let ne=new ResizeObserver(he=>{for(let rn of he){let Dt=rn.target.getBoundingClientRect();Dt.x===0&&Dt.y===0&&Dt.width===0&&Dt.height===0&&y.close()}});ne.observe(R),k(()=>ne.disconnect())}),()=>{let{open:k,initialFocus:R,...ne}=e,he={...n,ref:S,id:o,role:u.value,"aria-modal":A.value===0?!0:void 0,"aria-labelledby":C.value,"aria-describedby":v.value},rn={open:A.value===0};return Q(tr,{force:!0},()=>[Q(ya,()=>Q(ba,{target:S.value},()=>Q(tr,{force:!1},()=>Q(ft,{initialFocus:R,containers:J,features:Y.value?Oe(Ie.value,{parent:ft.features.RestoreFocus,leaf:ft.features.All&~ft.features.FocusLock}):ft.features.None},()=>Q(fe,{},()=>Me({ourProps:he,theirProps:{...ne,...n},slot:rn,attrs:n,slots:r,visible:A.value===0,features:qt.RenderStrategy|qt.Static,name:"Dialog"})))))),Q(le)])}}}),Sa=te({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var i;let s=(i=e.id)!=null?i:`headlessui-dialog-panel-${Fn()}`,a=Gr("DialogPanel");r({el:a.panelRef,$el:a.panelRef});function o(l){l.stopPropagation()}return()=>{let{...l}=e,c={id:s,ref:a.panelRef,onClick:o};return Me({ourProps:c,theirProps:l,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});function _a(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function on(e,...t){e&&t.length>0&&e.classList.add(...t)}function Lt(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Cn=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Cn||{});function ka(e,t){let n=Ot();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[s,a]=[r,i].map(o=>{let[l=0]=o.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,u)=>u-c);return l});return s!==0?n.setTimeout(()=>t("finished"),s+a):t("finished"),n.add(()=>t("cancelled")),n.dispose}function nr(e,t,n,r,i,s){let a=Ot(),o=s!==void 0?_a(s):()=>{};return Lt(e,...i),on(e,...t,...n),a.nextFrame(()=>{Lt(e,...n),on(e,...r),a.add(ka(e,l=>(Lt(e,...r,...t),on(e,...i),o(l))))}),a.add(()=>Lt(e,...t,...n,...r,...i)),a.add(()=>o("cancelled")),a.dispose}function ze(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let Nn=Symbol("TransitionContext");var Ta=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Ta||{});function Ea(){return Z(Nn,null)!==null}function Ra(){let e=Z(Nn,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function Pa(){let e=Z(Vn,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let Vn=Symbol("NestingContext");function tn(e){return"children"in e?tn(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Kr(e){let t=L([]),n=L(!1);de(()=>n.value=!0),Ae(()=>n.value=!1);function r(s,a=Fe.Hidden){let o=t.value.findIndex(({id:l})=>l===s);o!==-1&&(Oe(a,{[Fe.Unmount](){t.value.splice(o,1)},[Fe.Hidden](){t.value[o].state="hidden"}}),!tn(t)&&n.value&&(e==null||e()))}function i(s){let a=t.value.find(({id:o})=>o===s);return a?a.state!=="visible"&&(a.state="visible"):t.value.push({id:s,state:"visible"}),()=>r(s,Fe.Unmount)}return{children:t,register:i,unregister:r}}let Wr=qt.RenderStrategy,qr=te({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let s=L(0);function a(){s.value|=ue.Opening,t("beforeEnter")}function o(){s.value&=~ue.Opening,t("afterEnter")}function l(){s.value|=ue.Closing,t("beforeLeave")}function c(){s.value&=~ue.Closing,t("afterLeave")}if(!Ea()&&qs())return()=>Q(Yr,{...e,onBeforeEnter:a,onAfterEnter:o,onBeforeLeave:l,onAfterLeave:c},r);let u=L(null),f=P(()=>e.unmount?Fe.Unmount:Fe.Hidden);i({el:u,$el:u});let{show:m,appear:b}=Ra(),{register:S,unregister:_}=Pa(),A=L(m.value?"visible":"hidden"),Y={value:!0},N=Fn(),D={value:!1},_e=Kr(()=>{!D.value&&A.value!=="hidden"&&(A.value="hidden",_(N),c())});de(()=>{let p=S(N);Ae(p)}),Se(()=>{if(f.value===Fe.Hidden&&N){if(m.value&&A.value!=="visible"){A.value="visible";return}Oe(A.value,{hidden:()=>_(N),visible:()=>S(N)})}});let fe=ze(e.enter),J=ze(e.enterFrom),ke=ze(e.enterTo),le=ze(e.entered),Ie=ze(e.leave),pe=ze(e.leaveFrom),$e=ze(e.leaveTo);de(()=>{Se(()=>{if(A.value==="visible"){let p=V(u);if(p instanceof Comment&&p.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function Le(p){let x=Y.value&&!b.value,v=V(u);!v||!(v instanceof HTMLElement)||x||(D.value=!0,m.value&&a(),m.value||l(),p(m.value?nr(v,fe,J,ke,le,C=>{D.value=!1,C===Cn.Finished&&o()}):nr(v,Ie,pe,$e,le,C=>{D.value=!1,C===Cn.Finished&&(tn(_e)||(A.value="hidden",_(N),c()))})))}return de(()=>{ct([m],(p,x,v)=>{Le(v),Y.value=!1},{immediate:!0})}),xe(Vn,_e),Ys(P(()=>Oe(A.value,{visible:ue.Open,hidden:ue.Closed})|s.value)),()=>{let{appear:p,show:x,enter:v,enterFrom:C,enterTo:y,entered:O,leave:I,leaveFrom:w,leaveTo:k,...R}=e,ne={ref:u},he={...R,...b.value&&m.value&&Pt.isServer?{class:B([n.class,R.class,...fe,...J])}:{}};return Me({theirProps:he,ourProps:ne,slot:{},slots:r,attrs:n,features:Wr,visible:A.value==="visible",name:"TransitionChild"})}}}),Oa=qr,Yr=te({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let i=Un(),s=P(()=>e.show===null&&i!==null?(i.value&ue.Open)===ue.Open:e.show);Se(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let a=L(s.value?"visible":"hidden"),o=Kr(()=>{a.value="hidden"}),l=L(!0),c={show:s,appear:P(()=>e.appear||!l.value)};return de(()=>{Se(()=>{l.value=!1,s.value?a.value="visible":tn(o)||(a.value="hidden")})}),xe(Vn,o),xe(Nn,c),()=>{let u=Lr(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return Me({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[Q(Oa,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...u},r.default)]},attrs:{},features:Wr,visible:a.value==="visible",name:"Transition"})}}});const Ia=Xe(X.ui.strategy,X.ui.modal,hs),Da=te({components:{HDialog:xa,HDialogPanel:Sa,TransitionRoot:Yr,TransitionChild:qr},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},preventClose:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close","close-prevented"],setup(e,{emit:t}){const{ui:n,attrs:r}=lt("modal",be(e,"ui"),Ia,be(e,"class")),i=P({get(){return e.modelValue},set(o){t("update:modelValue",o)}}),s=P(()=>e.transition?{...n.value.transition}:{});function a(o){if(e.preventClose){t("close-prevented");return}i.value=o,t("close")}return Ms(()=>ws("$zxKuG9gA7v")),{ui:n,attrs:r,isOpen:i,transitionClass:s,close:a}}});function wa(e,t,n,r,i,s){const a=wt("TransitionChild"),o=wt("HDialogPanel"),l=wt("HDialog"),c=wt("TransitionRoot");return U(),qe(c,{appear:e.appear,show:e.isOpen,as:"template"},{default:Ve(()=>[it(l,we({class:e.ui.wrapper},e.attrs,{onClose:e.close}),{default:Ve(()=>[e.overlay?(U(),qe(a,we({key:0,as:"template",appear:e.appear},e.ui.overlay.transition),{default:Ve(()=>[Ue("div",{class:B([e.ui.overlay.base,e.ui.overlay.background])},null,2)]),_:1},16,["appear"])):ge("",!0),Ue("div",{class:B(e.ui.inner)},[Ue("div",{class:B([e.ui.container,!e.fullscreen&&e.ui.padding])},[it(a,we({as:"template",appear:e.appear},e.transitionClass),{default:Ve(()=>[it(o,{class:B([e.ui.base,e.ui.background,e.ui.ring,e.ui.shadow,e.fullscreen?e.ui.fullscreen:[e.ui.width,e.ui.height,e.ui.rounded,e.ui.margin]])},{default:Ve(()=>[Ce(e.$slots,"default")]),_:3},8,["class"])]),_:3},16,["appear"])],2)],2)]),_:3},16,["class","onClose"])]),_:3},8,["appear","show"])}const Mo=Et(Da,[["render",wa]]);function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}class Ma{constructor(){this.encoder=new TextEncoder,this._pieces=[],this._parts=[]}append_buffer(t){this.flush(),this._parts.push(t)}append(t){this._pieces.push(t)}flush(){if(this._pieces.length>0){const t=new Uint8Array(this._pieces);this._parts.push(t),this._pieces=[]}}toArrayBuffer(){const t=[];for(const n of this._parts)t.push(n);return $a(t).buffer}}function $a(e){let t=0;for(const i of e)t+=i.byteLength;const n=new Uint8Array(t);let r=0;for(const i of e){const s=new Uint8Array(i.buffer,i.byteOffset,i.byteLength);n.set(s,r),r+=i.byteLength}return n}function Xr(e){return new La(e).unpack()}function Qr(e){const t=new ja,n=t.pack(e);return n instanceof Promise?n.then(()=>t.getBuffer()):t.getBuffer()}class La{constructor(t){this.index=0,this.dataBuffer=t,this.dataView=new Uint8Array(this.dataBuffer),this.length=this.dataBuffer.byteLength}unpack(){const t=this.unpack_uint8();if(t<128)return t;if((t^224)<32)return(t^224)-32;let n;if((n=t^160)<=15)return this.unpack_raw(n);if((n=t^176)<=15)return this.unpack_string(n);if((n=t^144)<=15)return this.unpack_array(n);if((n=t^128)<=15)return this.unpack_map(n);switch(t){case 192:return null;case 193:return;case 194:return!1;case 195:return!0;case 202:return this.unpack_float();case 203:return this.unpack_double();case 204:return this.unpack_uint8();case 205:return this.unpack_uint16();case 206:return this.unpack_uint32();case 207:return this.unpack_uint64();case 208:return this.unpack_int8();case 209:return this.unpack_int16();case 210:return this.unpack_int32();case 211:return this.unpack_int64();case 212:return;case 213:return;case 214:return;case 215:return;case 216:return n=this.unpack_uint16(),this.unpack_string(n);case 217:return n=this.unpack_uint32(),this.unpack_string(n);case 218:return n=this.unpack_uint16(),this.unpack_raw(n);case 219:return n=this.unpack_uint32(),this.unpack_raw(n);case 220:return n=this.unpack_uint16(),this.unpack_array(n);case 221:return n=this.unpack_uint32(),this.unpack_array(n);case 222:return n=this.unpack_uint16(),this.unpack_map(n);case 223:return n=this.unpack_uint32(),this.unpack_map(n)}}unpack_uint8(){const t=this.dataView[this.index]&255;return this.index++,t}unpack_uint16(){const t=this.read(2),n=(t[0]&255)*256+(t[1]&255);return this.index+=2,n}unpack_uint32(){const t=this.read(4),n=((t[0]*256+t[1])*256+t[2])*256+t[3];return this.index+=4,n}unpack_uint64(){const t=this.read(8),n=((((((t[0]*256+t[1])*256+t[2])*256+t[3])*256+t[4])*256+t[5])*256+t[6])*256+t[7];return this.index+=8,n}unpack_int8(){const t=this.unpack_uint8();return t<128?t:t-256}unpack_int16(){const t=this.unpack_uint16();return t<32768?t:t-65536}unpack_int32(){const t=this.unpack_uint32();return t<2**31?t:t-2**32}unpack_int64(){const t=this.unpack_uint64();return t<2**63?t:t-2**64}unpack_raw(t){if(this.length>31,r=(t>>23&255)-127,i=t&8388607|8388608;return(n===0?1:-1)*i*2**(r-23)}unpack_double(){const t=this.unpack_uint32(),n=this.unpack_uint32(),r=t>>31,i=(t>>20&2047)-1023,a=(t&1048575|1048576)*2**(i-20)+n*2**(i-52);return(r===0?1:-1)*a}read(t){const n=this.index;if(n+t<=this.length)return this.dataView.subarray(n,n+t);throw new Error("BinaryPackFailure: read index out of range")}}class ja{getBuffer(){return this._bufferBuilder.toArrayBuffer()}pack(t){if(typeof t=="string")this.pack_string(t);else if(typeof t=="number")Math.floor(t)===t?this.pack_integer(t):this.pack_double(t);else if(typeof t=="boolean")t===!0?this._bufferBuilder.append(195):t===!1&&this._bufferBuilder.append(194);else if(t===void 0)this._bufferBuilder.append(192);else if(typeof t=="object")if(t===null)this._bufferBuilder.append(192);else{const n=t.constructor;if(t instanceof Array){const r=this.pack_array(t);if(r instanceof Promise)return r.then(()=>this._bufferBuilder.flush())}else if(t instanceof ArrayBuffer)this.pack_bin(new Uint8Array(t));else if("BYTES_PER_ELEMENT"in t){const r=t;this.pack_bin(new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}else if(t instanceof Date)this.pack_string(t.toString());else{if(t instanceof Blob)return t.arrayBuffer().then(r=>{this.pack_bin(new Uint8Array(r)),this._bufferBuilder.flush()});if(n==Object||n.toString().startsWith("class")){const r=this.pack_object(t);if(r instanceof Promise)return r.then(()=>this._bufferBuilder.flush())}else throw new Error(`Type "${n.toString()}" not yet supported`)}}else throw new Error(`Type "${typeof t}" not yet supported`);this._bufferBuilder.flush()}pack_bin(t){const n=t.length;if(n<=15)this.pack_uint8(160+n);else if(n<=65535)this._bufferBuilder.append(218),this.pack_uint16(n);else if(n<=4294967295)this._bufferBuilder.append(219),this.pack_uint32(n);else throw new Error("Invalid length");this._bufferBuilder.append_buffer(t)}pack_string(t){const n=this._textEncoder.encode(t),r=n.length;if(r<=15)this.pack_uint8(176+r);else if(r<=65535)this._bufferBuilder.append(216),this.pack_uint16(r);else if(r<=4294967295)this._bufferBuilder.append(217),this.pack_uint32(r);else throw new Error("Invalid length");this._bufferBuilder.append_buffer(n)}pack_array(t){const n=t.length;if(n<=15)this.pack_uint8(144+n);else if(n<=65535)this._bufferBuilder.append(220),this.pack_uint16(n);else if(n<=4294967295)this._bufferBuilder.append(221),this.pack_uint32(n);else throw new Error("Invalid length");const r=i=>{if(ir(i+1)):r(i+1)}};return r(0)}pack_integer(t){if(t>=-32&&t<=127)this._bufferBuilder.append(t&255);else if(t>=0&&t<=255)this._bufferBuilder.append(204),this.pack_uint8(t);else if(t>=-128&&t<=127)this._bufferBuilder.append(208),this.pack_int8(t);else if(t>=0&&t<=65535)this._bufferBuilder.append(205),this.pack_uint16(t);else if(t>=-32768&&t<=32767)this._bufferBuilder.append(209),this.pack_int16(t);else if(t>=0&&t<=4294967295)this._bufferBuilder.append(206),this.pack_uint32(t);else if(t>=-2147483648&&t<=2147483647)this._bufferBuilder.append(210),this.pack_int32(t);else if(t>=-9223372036854776e3&&t<=9223372036854776e3)this._bufferBuilder.append(211),this.pack_int64(t);else if(t>=0&&t<=18446744073709552e3)this._bufferBuilder.append(207),this.pack_uint64(t);else throw new Error("Invalid integer")}pack_double(t){let n=0;t<0&&(n=1,t=-t);const r=Math.floor(Math.log(t)/Math.LN2),i=t/2**r-1,s=Math.floor(i*2**52),a=2**32,o=n<<31|r+1023<<20|s/a&1048575,l=s%a;this._bufferBuilder.append(203),this.pack_int32(o),this.pack_int32(l)}pack_object(t){const n=Object.keys(t),r=n.length;if(r<=15)this.pack_uint8(128+r);else if(r<=65535)this._bufferBuilder.append(222),this.pack_uint16(r);else if(r<=4294967295)this._bufferBuilder.append(223),this.pack_uint32(r);else throw new Error("Invalid length");const i=s=>{if(si(s+1))}return i(s+1)}};return i(0)}pack_uint8(t){this._bufferBuilder.append(t)}pack_uint16(t){this._bufferBuilder.append(t>>8),this._bufferBuilder.append(t&255)}pack_uint32(t){const n=t&4294967295;this._bufferBuilder.append((n&4278190080)>>>24),this._bufferBuilder.append((n&16711680)>>>16),this._bufferBuilder.append((n&65280)>>>8),this._bufferBuilder.append(n&255)}pack_uint64(t){const n=t/4294967296,r=t%2**32;this._bufferBuilder.append((n&4278190080)>>>24),this._bufferBuilder.append((n&16711680)>>>16),this._bufferBuilder.append((n&65280)>>>8),this._bufferBuilder.append(n&255),this._bufferBuilder.append((r&4278190080)>>>24),this._bufferBuilder.append((r&16711680)>>>16),this._bufferBuilder.append((r&65280)>>>8),this._bufferBuilder.append(r&255)}pack_int8(t){this._bufferBuilder.append(t&255)}pack_int16(t){this._bufferBuilder.append((t&65280)>>8),this._bufferBuilder.append(t&255)}pack_int32(t){this._bufferBuilder.append(t>>>24&255),this._bufferBuilder.append((t&16711680)>>>16),this._bufferBuilder.append((t&65280)>>>8),this._bufferBuilder.append(t&255)}pack_int64(t){const n=Math.floor(t/4294967296),r=t%2**32;this._bufferBuilder.append((n&4278190080)>>>24),this._bufferBuilder.append((n&16711680)>>>16),this._bufferBuilder.append((n&65280)>>>8),this._bufferBuilder.append(n&255),this._bufferBuilder.append((r&4278190080)>>>24),this._bufferBuilder.append((r&16711680)>>>16),this._bufferBuilder.append((r&65280)>>>8),this._bufferBuilder.append(r&255)}constructor(){this._bufferBuilder=new Ma,this._textEncoder=new TextEncoder}}let Zr=!0,ei=!0;function Ut(e,t,n){const r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function Qe(e,t,n){if(!e.RTCPeerConnection)return;const r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(a,o){if(a!==t)return i.apply(this,arguments);const l=c=>{const u=n(c);u&&(o.handleEvent?o.handleEvent(u):o(u))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(o,l),i.apply(this,[a,l])};const s=r.removeEventListener;r.removeEventListener=function(a,o){if(a!==t||!this._eventMap||!this._eventMap[t])return s.apply(this,arguments);if(!this._eventMap[t].has(o))return s.apply(this,arguments);const l=this._eventMap[t].get(o);return this._eventMap[t].delete(o),this._eventMap[t].size===0&&delete this._eventMap[t],Object.keys(this._eventMap).length===0&&delete this._eventMap,s.apply(this,[a,l])},Object.defineProperty(r,"on"+t,{get(){return this["_on"+t]},set(a){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),a&&this.addEventListener(t,this["_on"+t]=a)},enumerable:!0,configurable:!0})}function Ba(e){return typeof e!="boolean"?new Error("Argument type: "+typeof e+". Please use a boolean."):(Zr=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function Fa(e){return typeof e!="boolean"?new Error("Argument type: "+typeof e+". Please use a boolean."):(ei=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function ti(){if(typeof window=="object"){if(Zr)return;typeof console<"u"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function Hn(e,t){ei&&console.warn(e+" is deprecated, please use "+t+" instead.")}function Ua(e){const t={browser:null,version:null};if(typeof e>"u"||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;const{navigator:n}=e;if(n.mozGetUserMedia)t.browser="firefox",t.version=Ut(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||e.isSecureContext===!1&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=Ut(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(e.RTCPeerConnection&&n.userAgent.match(/AppleWebKit\/(\d+)\./))t.browser="safari",t.version=Ut(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype;else return t.browser="Not a supported browser.",t;return t}function rr(e){return Object.prototype.toString.call(e)==="[object Object]"}function ni(e){return rr(e)?Object.keys(e).reduce(function(t,n){const r=rr(e[n]),i=r?ni(e[n]):e[n],s=r&&!Object.keys(i).length;return i===void 0||s?t:Object.assign(t,{[n]:i})},{}):e}function xn(e,t,n){!t||n.has(t.id)||(n.set(t.id,t),Object.keys(t).forEach(r=>{r.endsWith("Id")?xn(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach(i=>{xn(e,e.get(i),n)})}))}function ir(e,t,n){const r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(t===null)return i;const s=[];return e.forEach(a=>{a.type==="track"&&a.trackIdentifier===t.id&&s.push(a)}),s.forEach(a=>{e.forEach(o=>{o.type===r&&o.trackId===a.id&&xn(e,o,i)})}),i}const sr=ti;function ri(e,t){const n=e&&e.navigator;if(!n.mediaDevices)return;const r=function(o){if(typeof o!="object"||o.mandatory||o.optional)return o;const l={};return Object.keys(o).forEach(c=>{if(c==="require"||c==="advanced"||c==="mediaSource")return;const u=typeof o[c]=="object"?o[c]:{ideal:o[c]};u.exact!==void 0&&typeof u.exact=="number"&&(u.min=u.max=u.exact);const f=function(m,b){return m?m+b.charAt(0).toUpperCase()+b.slice(1):b==="deviceId"?"sourceId":b};if(u.ideal!==void 0){l.optional=l.optional||[];let m={};typeof u.ideal=="number"?(m[f("min",c)]=u.ideal,l.optional.push(m),m={},m[f("max",c)]=u.ideal,l.optional.push(m)):(m[f("",c)]=u.ideal,l.optional.push(m))}u.exact!==void 0&&typeof u.exact!="number"?(l.mandatory=l.mandatory||{},l.mandatory[f("",c)]=u.exact):["min","max"].forEach(m=>{u[m]!==void 0&&(l.mandatory=l.mandatory||{},l.mandatory[f(m,c)]=u[m])})}),o.advanced&&(l.optional=(l.optional||[]).concat(o.advanced)),l},i=function(o,l){if(t.version>=61)return l(o);if(o=JSON.parse(JSON.stringify(o)),o&&typeof o.audio=="object"){const c=function(u,f,m){f in u&&!(m in u)&&(u[m]=u[f],delete u[f])};o=JSON.parse(JSON.stringify(o)),c(o.audio,"autoGainControl","googAutoGainControl"),c(o.audio,"noiseSuppression","googNoiseSuppression"),o.audio=r(o.audio)}if(o&&typeof o.video=="object"){let c=o.video.facingMode;c=c&&(typeof c=="object"?c:{ideal:c});const u=t.version<66;if(c&&(c.exact==="user"||c.exact==="environment"||c.ideal==="user"||c.ideal==="environment")&&!(n.mediaDevices.getSupportedConstraints&&n.mediaDevices.getSupportedConstraints().facingMode&&!u)){delete o.video.facingMode;let f;if(c.exact==="environment"||c.ideal==="environment"?f=["back","rear"]:(c.exact==="user"||c.ideal==="user")&&(f=["front"]),f)return n.mediaDevices.enumerateDevices().then(m=>{m=m.filter(S=>S.kind==="videoinput");let b=m.find(S=>f.some(_=>S.label.toLowerCase().includes(_)));return!b&&m.length&&f.includes("back")&&(b=m[m.length-1]),b&&(o.video.deviceId=c.exact?{exact:b.deviceId}:{ideal:b.deviceId}),o.video=r(o.video),sr("chrome: "+JSON.stringify(o)),l(o)})}o.video=r(o.video)}return sr("chrome: "+JSON.stringify(o)),l(o)},s=function(o){return t.version>=64?o:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[o.name]||o.name,message:o.message,constraint:o.constraint||o.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}},a=function(o,l,c){i(o,u=>{n.webkitGetUserMedia(u,l,f=>{c&&c(s(f))})})};if(n.getUserMedia=a.bind(n),n.mediaDevices.getUserMedia){const o=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(l){return i(l,c=>o(c).then(u=>{if(c.audio&&!u.getAudioTracks().length||c.video&&!u.getVideoTracks().length)throw u.getTracks().forEach(f=>{f.stop()}),new DOMException("","NotFoundError");return u},u=>Promise.reject(s(u))))}}}function za(e,t){if(!(e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices)&&e.navigator.mediaDevices){if(typeof t!="function"){console.error("shimGetDisplayMedia: getSourceId argument is not a function");return}e.navigator.mediaDevices.getDisplayMedia=function(r){return t(r).then(i=>{const s=r.video&&r.video.width,a=r.video&&r.video.height,o=r.video&&r.video.frameRate;return r.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:i,maxFrameRate:o||3}},s&&(r.video.mandatory.maxWidth=s),a&&(r.video.mandatory.maxHeight=a),e.navigator.mediaDevices.getUserMedia(r)})}}}function ii(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function si(e){if(typeof e=="object"&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(n){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=n)},enumerable:!0,configurable:!0});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=r=>{r.stream.addEventListener("addtrack",i=>{let s;e.RTCPeerConnection.prototype.getReceivers?s=this.getReceivers().find(o=>o.track&&o.track.id===i.track.id):s={track:i.track};const a=new Event("track");a.track=i.track,a.receiver=s,a.transceiver={receiver:s},a.streams=[r.stream],this.dispatchEvent(a)}),r.stream.getTracks().forEach(i=>{let s;e.RTCPeerConnection.prototype.getReceivers?s=this.getReceivers().find(o=>o.track&&o.track.id===i.id):s={track:i};const a=new Event("track");a.track=i,a.receiver=s,a.transceiver={receiver:s},a.streams=[r.stream],this.dispatchEvent(a)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else Qe(e,"track",t=>(t.transceiver||Object.defineProperty(t,"transceiver",{value:{receiver:t.receiver}}),t))}function ai(e){if(typeof e=="object"&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){const t=function(i,s){return{track:s,get dtmf(){return this._dtmf===void 0&&(s.kind==="audio"?this._dtmf=i.createDTMFSender(s):this._dtmf=null),this._dtmf},_pc:i}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const i=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(o,l){let c=i.apply(this,arguments);return c||(c=t(this,o),this._senders.push(c)),c};const s=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(o){s.apply(this,arguments);const l=this._senders.indexOf(o);l!==-1&&this._senders.splice(l,1)}}const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(s){this._senders=this._senders||[],n.apply(this,[s]),s.getTracks().forEach(a=>{this._senders.push(t(this,a))})};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(s){this._senders=this._senders||[],r.apply(this,[s]),s.getTracks().forEach(a=>{const o=this._senders.find(l=>l.track===a);o&&this._senders.splice(this._senders.indexOf(o),1)})}}else if(typeof e=="object"&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){const r=t.apply(this,[]);return r.forEach(i=>i._pc=this),r},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return this._dtmf===void 0&&(this.track.kind==="audio"?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function oi(e){if(!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[r,i,s]=arguments;if(arguments.length>0&&typeof r=="function")return t.apply(this,arguments);if(t.length===0&&(arguments.length===0||typeof r!="function"))return t.apply(this,[]);const a=function(l){const c={};return l.result().forEach(f=>{const m={id:f.id,timestamp:f.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[f.type]||f.type};f.names().forEach(b=>{m[b]=f.stat(b)}),c[m.id]=m}),c},o=function(l){return new Map(Object.keys(l).map(c=>[c,l[c]]))};if(arguments.length>=2){const l=function(c){i(o(a(c)))};return t.apply(this,[l,r])}return new Promise((l,c)=>{t.apply(this,[function(u){l(o(a(u)))},c])}).then(i,s)}}function li(e){if(!(typeof e=="object"&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){const n=e.RTCPeerConnection.prototype.getSenders;n&&(e.RTCPeerConnection.prototype.getSenders=function(){const s=n.apply(this,[]);return s.forEach(a=>a._pc=this),s});const r=e.RTCPeerConnection.prototype.addTrack;r&&(e.RTCPeerConnection.prototype.addTrack=function(){const s=r.apply(this,arguments);return s._pc=this,s}),e.RTCRtpSender.prototype.getStats=function(){const s=this;return this._pc.getStats().then(a=>ir(a,s.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){const n=e.RTCPeerConnection.prototype.getReceivers;n&&(e.RTCPeerConnection.prototype.getReceivers=function(){const i=n.apply(this,[]);return i.forEach(s=>s._pc=this),i}),Qe(e,"track",r=>(r.receiver._pc=r.srcElement,r)),e.RTCRtpReceiver.prototype.getStats=function(){const i=this;return this._pc.getStats().then(s=>ir(s,i.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype))return;const t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){const r=arguments[0];let i,s,a;return this.getSenders().forEach(o=>{o.track===r&&(i?a=!0:i=o)}),this.getReceivers().forEach(o=>(o.track===r&&(s?a=!0:s=o),o.track===r)),a||i&&s?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):i?i.getStats():s?s.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function ci(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(a=>this._shimmedLocalStreams[a][0])};const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(a,o){if(!o)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const l=t.apply(this,arguments);return this._shimmedLocalStreams[o.id]?this._shimmedLocalStreams[o.id].indexOf(l)===-1&&this._shimmedLocalStreams[o.id].push(l):this._shimmedLocalStreams[o.id]=[o,l],l};const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(a){this._shimmedLocalStreams=this._shimmedLocalStreams||{},a.getTracks().forEach(c=>{if(this.getSenders().find(f=>f.track===c))throw new DOMException("Track already exists.","InvalidAccessError")});const o=this.getSenders();n.apply(this,arguments);const l=this.getSenders().filter(c=>o.indexOf(c)===-1);this._shimmedLocalStreams[a.id]=[a].concat(l)};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(a){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[a.id],r.apply(this,arguments)};const i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(a){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},a&&Object.keys(this._shimmedLocalStreams).forEach(o=>{const l=this._shimmedLocalStreams[o].indexOf(a);l!==-1&&this._shimmedLocalStreams[o].splice(l,1),this._shimmedLocalStreams[o].length===1&&delete this._shimmedLocalStreams[o]}),i.apply(this,arguments)}}function ui(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return ci(e);const n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){const u=n.apply(this);return this._reverseStreams=this._reverseStreams||{},u.map(f=>this._reverseStreams[f.id])};const r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(u){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},u.getTracks().forEach(f=>{if(this.getSenders().find(b=>b.track===f))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[u.id]){const f=new e.MediaStream(u.getTracks());this._streams[u.id]=f,this._reverseStreams[f.id]=u,u=f}r.apply(this,[u])};const i=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(u){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[u.id]||u]),delete this._reverseStreams[this._streams[u.id]?this._streams[u.id].id:u.id],delete this._streams[u.id]},e.RTCPeerConnection.prototype.addTrack=function(u,f){if(this.signalingState==="closed")throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const m=[].slice.call(arguments,1);if(m.length!==1||!m[0].getTracks().find(_=>_===u))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(_=>_.track===u))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const S=this._streams[f.id];if(S)S.addTrack(u),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{const _=new e.MediaStream([u]);this._streams[f.id]=_,this._reverseStreams[_.id]=f,this.addStream(_)}return this.getSenders().find(_=>_.track===u)};function s(c,u){let f=u.sdp;return Object.keys(c._reverseStreams||[]).forEach(m=>{const b=c._reverseStreams[m],S=c._streams[b.id];f=f.replace(new RegExp(S.id,"g"),b.id)}),new RTCSessionDescription({type:u.type,sdp:f})}function a(c,u){let f=u.sdp;return Object.keys(c._reverseStreams||[]).forEach(m=>{const b=c._reverseStreams[m],S=c._streams[b.id];f=f.replace(new RegExp(b.id,"g"),S.id)}),new RTCSessionDescription({type:u.type,sdp:f})}["createOffer","createAnswer"].forEach(function(c){const u=e.RTCPeerConnection.prototype[c],f={[c](){const m=arguments;return arguments.length&&typeof arguments[0]=="function"?u.apply(this,[S=>{const _=s(this,S);m[0].apply(null,[_])},S=>{m[1]&&m[1].apply(null,S)},arguments[2]]):u.apply(this,arguments).then(S=>s(this,S))}};e.RTCPeerConnection.prototype[c]=f[c]});const o=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return!arguments.length||!arguments[0].type?o.apply(this,arguments):(arguments[0]=a(this,arguments[0]),o.apply(this,arguments))};const l=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){const c=l.get.apply(this);return c.type===""?c:s(this,c)}}),e.RTCPeerConnection.prototype.removeTrack=function(u){if(this.signalingState==="closed")throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!u._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(u._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{};let m;Object.keys(this._streams).forEach(b=>{this._streams[b].getTracks().find(_=>u.track===_)&&(m=this._streams[b])}),m&&(m.getTracks().length===1?this.removeStream(this._reverseStreams[m.id]):m.removeTrack(u.track),this.dispatchEvent(new Event("negotiationneeded")))}}function Sn(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(n){const r=e.RTCPeerConnection.prototype[n],i={[n](){return arguments[0]=new(n==="addIceCandidate"?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}};e.RTCPeerConnection.prototype[n]=i[n]})}function di(e,t){Qe(e,"negotiationneeded",n=>{const r=n.target;if(!((t.version<72||r.getConfiguration&&r.getConfiguration().sdpSemantics==="plan-b")&&r.signalingState!=="stable"))return n})}const ar=Object.freeze(Object.defineProperty({__proto__:null,fixNegotiationNeeded:di,shimAddTrackRemoveTrack:ui,shimAddTrackRemoveTrackWithNative:ci,shimGetDisplayMedia:za,shimGetSendersWithDtmf:ai,shimGetStats:oi,shimGetUserMedia:ri,shimMediaStream:ii,shimOnTrack:si,shimPeerConnection:Sn,shimSenderReceiverGetStats:li},Symbol.toStringTag,{value:"Module"}));function fi(e,t){const n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(i,s,a){Hn("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(i).then(s,a)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){const i=function(a,o,l){o in a&&!(l in a)&&(a[l]=a[o],delete a[o])},s=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(a){return typeof a=="object"&&typeof a.audio=="object"&&(a=JSON.parse(JSON.stringify(a)),i(a.audio,"autoGainControl","mozAutoGainControl"),i(a.audio,"noiseSuppression","mozNoiseSuppression")),s(a)},r&&r.prototype.getSettings){const a=r.prototype.getSettings;r.prototype.getSettings=function(){const o=a.apply(this,arguments);return i(o,"mozAutoGainControl","autoGainControl"),i(o,"mozNoiseSuppression","noiseSuppression"),o}}if(r&&r.prototype.applyConstraints){const a=r.prototype.applyConstraints;r.prototype.applyConstraints=function(o){return this.kind==="audio"&&typeof o=="object"&&(o=JSON.parse(JSON.stringify(o)),i(o,"autoGainControl","mozAutoGainControl"),i(o,"noiseSuppression","mozNoiseSuppression")),a.apply(this,[o])}}}}function Na(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(r){if(!(r&&r.video)){const i=new DOMException("getDisplayMedia without video constraints is undefined");return i.name="NotFoundError",i.code=8,Promise.reject(i)}return r.video===!0?r.video={mediaSource:t}:r.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(r)})}function pi(e){typeof e=="object"&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function _n(e,t){if(typeof e!="object"||!(e.RTCPeerConnection||e.mozRTCPeerConnection))return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(i){const s=e.RTCPeerConnection.prototype[i],a={[i](){return arguments[0]=new(i==="addIceCandidate"?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),s.apply(this,arguments)}};e.RTCPeerConnection.prototype[i]=a[i]});const n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[s,a,o]=arguments;return r.apply(this,[s||null]).then(l=>{if(t.version<53&&!a)try{l.forEach(c=>{c.type=n[c.type]||c.type})}catch(c){if(c.name!=="TypeError")throw c;l.forEach((u,f)=>{l.set(f,Object.assign({},u,{type:n[u.type]||u.type}))})}return l}).then(a,o)}}function hi(e){if(!(typeof e=="object"&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const i=t.apply(this,[]);return i.forEach(s=>s._pc=this),i});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const i=n.apply(this,arguments);return i._pc=this,i}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function mi(e){if(!(typeof e=="object"&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const r=t.apply(this,[]);return r.forEach(i=>i._pc=this),r}),Qe(e,"track",n=>(n.receiver._pc=n.srcElement,n)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function gi(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(n){Hn("removeStream","removeTrack"),this.getSenders().forEach(r=>{r.track&&n.getTracks().includes(r.track)&&this.removeTrack(r)})})}function yi(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function vi(e){if(!(typeof e=="object"&&e.RTCPeerConnection))return;const t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let r=arguments[1]&&arguments[1].sendEncodings;r===void 0&&(r=[]),r=[...r];const i=r.length>0;i&&r.forEach(a=>{if("rid"in a&&!/^[a-z0-9]{0,16}$/i.test(a.rid))throw new TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in a&&!(parseFloat(a.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in a&&!(parseFloat(a.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")});const s=t.apply(this,arguments);if(i){const{sender:a}=s,o=a.getParameters();(!("encodings"in o)||o.encodings.length===1&&Object.keys(o.encodings[0]).length===0)&&(o.encodings=r,a.sendEncodings=r,this.setParametersPromises.push(a.setParameters(o).then(()=>{delete a.sendEncodings}).catch(()=>{delete a.sendEncodings})))}return s})}function bi(e){if(!(typeof e=="object"&&e.RTCRtpSender))return;const t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){const r=t.apply(this,arguments);return"encodings"in r||(r.encodings=[].concat(this.sendEncodings||[{}])),r})}function Ci(e){if(!(typeof e=="object"&&e.RTCPeerConnection))return;const t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function xi(e){if(!(typeof e=="object"&&e.RTCPeerConnection))return;const t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}const or=Object.freeze(Object.defineProperty({__proto__:null,shimAddTransceiver:vi,shimCreateAnswer:xi,shimCreateOffer:Ci,shimGetDisplayMedia:Na,shimGetParameters:bi,shimGetUserMedia:fi,shimOnTrack:pi,shimPeerConnection:_n,shimRTCDataChannel:yi,shimReceiverGetStats:mi,shimRemoveStream:gi,shimSenderGetStats:hi},Symbol.toStringTag,{value:"Module"}));function Si(e){if(!(typeof e!="object"||!e.RTCPeerConnection)){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(r){this._localStreams||(this._localStreams=[]),this._localStreams.includes(r)||this._localStreams.push(r),r.getAudioTracks().forEach(i=>t.call(this,i,r)),r.getVideoTracks().forEach(i=>t.call(this,i,r))},e.RTCPeerConnection.prototype.addTrack=function(r,...i){return i&&i.forEach(s=>{this._localStreams?this._localStreams.includes(s)||this._localStreams.push(s):this._localStreams=[s]}),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(n){this._localStreams||(this._localStreams=[]);const r=this._localStreams.indexOf(n);if(r===-1)return;this._localStreams.splice(r,1);const i=n.getTracks();this.getSenders().forEach(s=>{i.includes(s.track)&&this.removeTrack(s)})})}}function _i(e){if(!(typeof e!="object"||!e.RTCPeerConnection)&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(n){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=n),this.addEventListener("track",this._onaddstreampoly=r=>{r.streams.forEach(i=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(i))return;this._remoteStreams.push(i);const s=new Event("addstream");s.stream=i,this.dispatchEvent(s)})})}});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){const r=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(i){i.streams.forEach(s=>{if(r._remoteStreams||(r._remoteStreams=[]),r._remoteStreams.indexOf(s)>=0)return;r._remoteStreams.push(s);const a=new Event("addstream");a.stream=s,r.dispatchEvent(a)})}),t.apply(r,arguments)}}}function ki(e){if(typeof e!="object"||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,i=t.setLocalDescription,s=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(c,u){const f=arguments.length>=2?arguments[2]:arguments[0],m=n.apply(this,[f]);return u?(m.then(c,u),Promise.resolve()):m},t.createAnswer=function(c,u){const f=arguments.length>=2?arguments[2]:arguments[0],m=r.apply(this,[f]);return u?(m.then(c,u),Promise.resolve()):m};let o=function(l,c,u){const f=i.apply(this,[l]);return u?(f.then(c,u),Promise.resolve()):f};t.setLocalDescription=o,o=function(l,c,u){const f=s.apply(this,[l]);return u?(f.then(c,u),Promise.resolve()):f},t.setRemoteDescription=o,o=function(l,c,u){const f=a.apply(this,[l]);return u?(f.then(c,u),Promise.resolve()):f},t.addIceCandidate=o}function Ti(e){const t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){const n=t.mediaDevices,r=n.getUserMedia.bind(n);t.mediaDevices.getUserMedia=i=>r(Ei(i))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=(function(r,i,s){t.mediaDevices.getUserMedia(r).then(i,s)}).bind(t))}function Ei(e){return e&&e.video!==void 0?Object.assign({},e,{video:ni(e.video)}):e}function Ri(e){if(!e.RTCPeerConnection)return;const t=e.RTCPeerConnection;e.RTCPeerConnection=function(r,i){if(r&&r.iceServers){const s=[];for(let a=0;aa.receiver.track.kind==="audio");r.offerToReceiveAudio===!1&&i?i.direction==="sendrecv"?i.setDirection?i.setDirection("sendonly"):i.direction="sendonly":i.direction==="recvonly"&&(i.setDirection?i.setDirection("inactive"):i.direction="inactive"):r.offerToReceiveAudio===!0&&!i&&this.addTransceiver("audio",{direction:"recvonly"}),typeof r.offerToReceiveVideo<"u"&&(r.offerToReceiveVideo=!!r.offerToReceiveVideo);const s=this.getTransceivers().find(a=>a.receiver.track.kind==="video");r.offerToReceiveVideo===!1&&s?s.direction==="sendrecv"?s.setDirection?s.setDirection("sendonly"):s.direction="sendonly":s.direction==="recvonly"&&(s.setDirection?s.setDirection("inactive"):s.direction="inactive"):r.offerToReceiveVideo===!0&&!s&&this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function Ii(e){typeof e!="object"||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}const lr=Object.freeze(Object.defineProperty({__proto__:null,shimAudioContext:Ii,shimCallbacksAPI:ki,shimConstraints:Ei,shimCreateOfferLegacy:Oi,shimGetUserMedia:Ti,shimLocalStreamsAPI:Si,shimRTCIceServerUrls:Ri,shimRemoteStreamsAPI:_i,shimTrackEventTransceiver:Pi},Symbol.toStringTag,{value:"Module"}));var Di={exports:{}};(function(e){const t={};t.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)},t.localCName=t.generateIdentifier(),t.splitLines=function(n){return n.trim().split(` diff --git a/mobile/www/web/Bb5McYLg.js b/mobile/www/web/DKoc5Esw.js similarity index 93% rename from mobile/www/web/Bb5McYLg.js rename to mobile/www/web/DKoc5Esw.js index 321b70e..10821f4 100644 --- a/mobile/www/web/Bb5McYLg.js +++ b/mobile/www/web/DKoc5Esw.js @@ -1 +1 @@ -import{E as f,ac as m,ad as I,Q as c,ae as d,o as x,c as v,af as _,_ as S}from"./B1llnzT6.js";const y=f({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){m(e=>({"0702258d":p.value}));const t=I(),s=u,l=c(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),r=c(()=>d(l.value)),p=c(()=>{var o,a;const e=(a=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${r.value.prefix}/${r.value.name}.svg')`}),i=c(()=>{var n,o,a;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(x(),v("span",{style:_({width:i.value,height:i.value})},null,4))}}),C=S(y,[["__scopeId","data-v-ccf7ae86"]]);export{C as default}; +import{E as f,ac as m,ad as I,Q as c,ae as d,o as x,c as v,af as _,_ as S}from"./B6ZPosoZ.js";const y=f({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){m(e=>({"0702258d":p.value}));const t=I(),s=u,l=c(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),r=c(()=>d(l.value)),p=c(()=>{var o,a;const e=(a=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${r.value.prefix}/${r.value.name}.svg')`}),i=c(()=>{var n,o,a;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(x(),v("span",{style:_({width:i.value,height:i.value})},null,4))}}),C=S(y,[["__scopeId","data-v-ccf7ae86"]]);export{C as default}; diff --git a/mobile/www/web/lQ4nfYQb.js b/mobile/www/web/DMXJlFpQ.js similarity index 98% rename from mobile/www/web/lQ4nfYQb.js rename to mobile/www/web/DMXJlFpQ.js index 31d18be..7a9c869 100644 --- a/mobile/www/web/lQ4nfYQb.js +++ b/mobile/www/web/DMXJlFpQ.js @@ -1 +1 @@ -import{C as _,D as i,_ as b,E as x,H as w,I as f,Q as y,L as k,o as d,c as h,M as u,n as j,d as v,t as S,v as B,O as $,K as M,N,w as l,a0 as O,ag as A,b as o,a,F as U,e as D,i as V,k as I}from"./B1llnzT6.js";const E={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium whitespace-nowrap",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},translate:{"top-right":"-translate-y-1/2 translate-x-1/2 transform","bottom-right":"translate-y-1/2 translate-x-1/2 transform","top-left":"-translate-y-1/2 -translate-x-1/2 transform","bottom-left":"translate-y-1/2 -translate-x-1/2 transform"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"},default:{size:"sm",color:"primary",position:"top-right",inset:!1}},F={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},n=_(i.ui.strategy,i.ui.chip,E),L=x({inheritAttrs:!1,props:{size:{type:String,default:()=>n.default.size,validator(t){return Object.keys(n.size).includes(t)}},color:{type:String,default:()=>n.default.color,validator(t){return["gray",...i.ui.colors].includes(t)}},position:{type:String,default:()=>n.default.position,validator(t){return Object.keys(n.position).includes(t)}},text:{type:[String,Number],default:null},inset:{type:Boolean,default:()=>n.default.inset},show:{type:Boolean,default:!0},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:e,attrs:r}=w("chip",f(t,"ui"),n,f(t,"class")),s=y(()=>k(e.value.base,e.value.size[t.size],e.value.position[t.position],t.inset?null:e.value.translate[t.position],e.value.background.replaceAll("{color}",t.color)));return{ui:e,attrs:r,chipClass:s}}});function P(t,e,r,s,g,p){return d(),h("div",$({class:t.ui.wrapper},t.attrs),[u(t.$slots,"default"),t.show?(d(),h("span",{key:0,class:j(t.chipClass)},[u(t.$slots,"content",{},()=>[v(S(t.text),1)])],2)):B("",!0)],16)}const H=b(L,[["render",P]]),J=_(i.ui.strategy,i.ui.container,F),K=x({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:e,attrs:r}=w("container",f(t,"ui"),J),s=y(()=>M(k(e.value.base,e.value.padding,e.value.constrained),t.class));return{ui:e,attrs:r,containerClass:s}}});function Q(t,e,r,s,g,p){return d(),N(O(t.as),$({class:t.containerClass},t.attrs),{default:l(()=>[u(t.$slots,"default")]),_:3},16,["class"])}const R=b(K,[["render",Q]]),T=()=>A("color-mode").value,q=a("div",{class:"relative lg:block"},[a("div",{class:"blur-blob absolute top-20 left-20 md:top-20 md:left-16 lg:top-20 lg:left-16 bg-teal-200 dark:bg-teal-500 w-60 h-60 md:w-40 md:h-40 sm:w-40 sm:h-40 lg:w-96 lg:h-96"}),a("div",{class:"blur-blob absolute top-96 left-16 md:top-20 md:left-2/3 lg:top-20 lg:left-2/3 bg-rose-200 dark:bg-rose-800 w-60 h-60 md:w-40 md:h-40 sm:w-40 sm:h-40 lg:w-96 lg:h-96"})],-1),G={class:"dark:bg-black/70 bg-white/50 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 transition ease-in-out duration-500 m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg h-fit"},W={class:"flex justify-between p-4"},X={class:"text-3xl font-bold"},Y={class:"righteous dark:text-white text-black/70 ml-2 mt-1"},Z={class:"text-3xl"},tt={class:"fixed bottom-0 w-fit m-1 z-10 dark:bg-black/70 bg-white/50 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 transition ease-in-out duration-500 rounded-full flex justify-center content-center p-1"},et={class:"w-full h-full pt-1"},at={__name:"default",setup(t){const e=T();function r(){e.preference=e.preference==="dark"?"light":"dark"}return(s,g)=>{const p=H,c=D,C=V,z=R,m=I;return d(),h(U,null,[o(z,{as:"div",class:"min-h-screen overflow-hidden"},{default:l(()=>[q,a("header",G,[a("div",W,[a("div",X,[o(c,{to:"/"},{default:l(()=>[a("h1",Y,[o(p,{text:"beta",size:"2xl"},{default:l(()=>[v("MagicPing")]),_:1})])]),_:1})]),a("div",Z,[o(C,{icon:s.$colorMode.value==="dark"?"i-heroicons-moon":"i-heroicons-sun",size:"xl",color:"white",variant:"link",onClick:r},null,8,["icon"])])])]),u(s.$slots,"default")]),_:3}),a("footer",tt,[a("div",et,[o(c,{to:"https://github.com/floki1250",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-github-loop",class:"w-5 h-5 m-1"})]),_:1}),o(c,{to:"https://twitter.com/Adem1250_Dr",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-twitter-x-alt",class:"w-5 h-5 m-1"})]),_:1}),o(c,{to:"https://adamdar.vercel.app/",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-star",class:"w-5 h-5 m-1"})]),_:1})])])],64)}}};export{at as default}; +import{C as _,D as i,_ as b,E as x,H as w,I as f,Q as y,L as k,o as d,c as h,M as u,n as j,d as v,t as S,v as B,O as $,K as M,N,w as l,a0 as O,ag as A,b as o,a,F as U,e as D,i as V,k as I}from"./B6ZPosoZ.js";const E={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium whitespace-nowrap",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},translate:{"top-right":"-translate-y-1/2 translate-x-1/2 transform","bottom-right":"translate-y-1/2 translate-x-1/2 transform","top-left":"-translate-y-1/2 -translate-x-1/2 transform","bottom-left":"translate-y-1/2 -translate-x-1/2 transform"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"},default:{size:"sm",color:"primary",position:"top-right",inset:!1}},F={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},n=_(i.ui.strategy,i.ui.chip,E),L=x({inheritAttrs:!1,props:{size:{type:String,default:()=>n.default.size,validator(t){return Object.keys(n.size).includes(t)}},color:{type:String,default:()=>n.default.color,validator(t){return["gray",...i.ui.colors].includes(t)}},position:{type:String,default:()=>n.default.position,validator(t){return Object.keys(n.position).includes(t)}},text:{type:[String,Number],default:null},inset:{type:Boolean,default:()=>n.default.inset},show:{type:Boolean,default:!0},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:e,attrs:r}=w("chip",f(t,"ui"),n,f(t,"class")),s=y(()=>k(e.value.base,e.value.size[t.size],e.value.position[t.position],t.inset?null:e.value.translate[t.position],e.value.background.replaceAll("{color}",t.color)));return{ui:e,attrs:r,chipClass:s}}});function P(t,e,r,s,g,p){return d(),h("div",$({class:t.ui.wrapper},t.attrs),[u(t.$slots,"default"),t.show?(d(),h("span",{key:0,class:j(t.chipClass)},[u(t.$slots,"content",{},()=>[v(S(t.text),1)])],2)):B("",!0)],16)}const H=b(L,[["render",P]]),J=_(i.ui.strategy,i.ui.container,F),K=x({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:e,attrs:r}=w("container",f(t,"ui"),J),s=y(()=>M(k(e.value.base,e.value.padding,e.value.constrained),t.class));return{ui:e,attrs:r,containerClass:s}}});function Q(t,e,r,s,g,p){return d(),N(O(t.as),$({class:t.containerClass},t.attrs),{default:l(()=>[u(t.$slots,"default")]),_:3},16,["class"])}const R=b(K,[["render",Q]]),T=()=>A("color-mode").value,q=a("div",{class:"relative lg:block"},[a("div",{class:"blur-blob absolute top-20 left-20 md:top-20 md:left-16 lg:top-20 lg:left-16 bg-teal-200 dark:bg-teal-500 w-60 h-60 md:w-40 md:h-40 sm:w-40 sm:h-40 lg:w-96 lg:h-96"}),a("div",{class:"blur-blob absolute top-96 left-16 md:top-20 md:left-2/3 lg:top-20 lg:left-2/3 bg-rose-200 dark:bg-rose-800 w-60 h-60 md:w-40 md:h-40 sm:w-40 sm:h-40 lg:w-96 lg:h-96"})],-1),G={class:"dark:bg-black/70 bg-white/50 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 transition ease-in-out duration-500 m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg h-fit"},W={class:"flex justify-between p-4"},X={class:"text-3xl font-bold"},Y={class:"righteous dark:text-white text-black/70 ml-2 mt-1"},Z={class:"text-3xl"},tt={class:"fixed bottom-0 w-fit m-1 z-10 dark:bg-black/70 bg-white/50 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 transition ease-in-out duration-500 rounded-full flex justify-center content-center p-1"},et={class:"w-full h-full pt-1"},at={__name:"default",setup(t){const e=T();function r(){e.preference=e.preference==="dark"?"light":"dark"}return(s,g)=>{const p=H,c=D,C=V,z=R,m=I;return d(),h(U,null,[o(z,{as:"div",class:"min-h-screen overflow-hidden"},{default:l(()=>[q,a("header",G,[a("div",W,[a("div",X,[o(c,{to:"/"},{default:l(()=>[a("h1",Y,[o(p,{text:"beta",size:"2xl"},{default:l(()=>[v("MagicPing")]),_:1})])]),_:1})]),a("div",Z,[o(C,{icon:s.$colorMode.value==="dark"?"i-heroicons-moon":"i-heroicons-sun",size:"xl",color:"white",variant:"link",onClick:r},null,8,["icon"])])])]),u(s.$slots,"default")]),_:3}),a("footer",tt,[a("div",et,[o(c,{to:"https://github.com/floki1250",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-github-loop",class:"w-5 h-5 m-1"})]),_:1}),o(c,{to:"https://twitter.com/Adem1250_Dr",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-twitter-x-alt",class:"w-5 h-5 m-1"})]),_:1}),o(c,{to:"https://adamdar.vercel.app/",target:"_blank"},{default:l(()=>[o(m,{name:"i-line-md-star",class:"w-5 h-5 m-1"})]),_:1})])])],64)}}};export{at as default}; diff --git a/mobile/www/web/CMBsRUCY.js b/mobile/www/web/DcR8A0nI.js similarity index 96% rename from mobile/www/web/CMBsRUCY.js rename to mobile/www/web/DcR8A0nI.js index b4079a2..92b5829 100644 --- a/mobile/www/web/CMBsRUCY.js +++ b/mobile/www/web/DcR8A0nI.js @@ -1 +1 @@ -import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./B1llnzT6.js";const c=t=>(l("data-v-b86faff8"),t=t(),d(),t),f={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],b={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",f,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},_=i(b,[["__scopeId","data-v-b86faff8"]]);export{_ as default}; +import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./B6ZPosoZ.js";const c=t=>(l("data-v-b86faff8"),t=t(),d(),t),f={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],b={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",f,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},_=i(b,[["__scopeId","data-v-b86faff8"]]);export{_ as default}; diff --git a/mobile/www/web/BJGGf2hQ.js b/mobile/www/web/DoGjOHiu.js similarity index 99% rename from mobile/www/web/BJGGf2hQ.js rename to mobile/www/web/DoGjOHiu.js index fdea1c5..3bd5d32 100644 --- a/mobile/www/web/BJGGf2hQ.js +++ b/mobile/www/web/DoGjOHiu.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{n as G,$ as K,l as X,y as Y,_ as Z,b as J,c as ee,d as te,a as ie,e as ae}from"./C8hkhog1.js";import{y as ne,s as oe,r as S,h as se,c as D,a as m,b as h,w as f,t as I,j as re,v as le,F as de,x as ce,o as M,d as F,z as he,A as ue,B as ve,i as me,k as ge}from"./B1llnzT6.js";class o{constructor(e,t,i,a,n){this._legacyCanvasSize=o.DEFAULT_CANVAS_SIZE,this._preferredCamera="environment",this._maxScansPerSecond=25,this._lastScanTimestamp=-1,this._destroyed=this._flashOn=this._paused=this._active=!1,this.$video=e,this.$canvas=document.createElement("canvas"),i&&typeof i=="object"?this._onDecode=t:(console.warn(i||a||n?"You're using a deprecated version of the QrScanner constructor which will be removed in the future":"Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),this._legacyOnDecode=t),t=typeof i=="object"?i:{},this._onDecodeError=t.onDecodeError||(typeof i=="function"?i:this._onDecodeError),this._calculateScanRegion=t.calculateScanRegion||(typeof a=="function"?a:this._calculateScanRegion),this._preferredCamera=t.preferredCamera||n||this._preferredCamera,this._legacyCanvasSize=typeof i=="number"?i:typeof a=="number"?a:this._legacyCanvasSize,this._maxScansPerSecond=t.maxScansPerSecond||this._maxScansPerSecond,this._onPlay=this._onPlay.bind(this),this._onLoadedMetaData=this._onLoadedMetaData.bind(this),this._onVisibilityChange=this._onVisibilityChange.bind(this),this._updateOverlay=this._updateOverlay.bind(this),e.disablePictureInPicture=!0,e.playsInline=!0,e.muted=!0;let d=!1;if(e.hidden&&(e.hidden=!1,d=!0),document.body.contains(e)||(document.body.appendChild(e),d=!0),i=e.parentElement,t.highlightScanRegion||t.highlightCodeOutline){if(a=!!t.overlay,this.$overlay=t.overlay||document.createElement("div"),n=this.$overlay.style,n.position="absolute",n.display="none",n.pointerEvents="none",this.$overlay.classList.add("scan-region-highlight"),!a&&t.highlightScanRegion){this.$overlay.innerHTML='';try{this.$overlay.firstElementChild.animate({transform:["scale(.98)","scale(1.01)"]},{duration:400,iterations:1/0,direction:"alternate",easing:"ease-in-out"})}catch{}i.insertBefore(this.$overlay,this.$video.nextSibling)}t.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML("beforeend",''),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=this._calculateScanRegion(e),requestAnimationFrame(()=>{let u=window.getComputedStyle(e);u.display==="none"&&(e.style.setProperty("display","block","important"),d=!0),u.visibility!=="visible"&&(e.style.setProperty("visibility","visible","important"),d=!0),d&&(console.warn("QrScanner has overwritten the video hiding style to avoid Safari stopping the playback."),e.style.opacity="0",e.style.width="0",e.style.height="0",this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),delete this.$overlay,delete this.$codeOutlineHighlight),this.$overlay&&this._updateOverlay()}),e.addEventListener("play",this._onPlay),e.addEventListener("loadedmetadata",this._onLoadedMetaData),document.addEventListener("visibilitychange",this._onVisibilityChange),window.addEventListener("resize",this._updateOverlay),this._qrEnginePromise=o.createQrEngine()}static set WORKER_PATH(e){console.warn("Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.")}static async hasCamera(){try{return!!(await o.listCameras(!1)).length}catch{return!1}}static async listCameras(e=!1){if(!navigator.mediaDevices)return[];let t=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(a=>a.kind==="videoinput"),i;try{e&&(await t()).every(a=>!a.label)&&(i=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch{}try{return(await t()).map((a,n)=>({id:a.deviceId,label:a.label||(n===0?"Default Camera":`Camera ${n+1}`)}))}finally{i&&(console.warn("Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream"),o._stopVideoStream(i))}}async hasFlash(){let e;try{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;e=this.$video.srcObject}else e=(await this._getCameraStream()).stream;return"torch"in e.getVideoTracks()[0].getSettings()}catch{return!1}finally{e&&e!==this.$video.srcObject&&(console.warn("Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream"),o._stopVideoStream(e))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if(!await this.hasFlash())throw"No flash available";await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(e){throw this._flashOn=!1,e}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener("loadedmetadata",this._onLoadedMetaData),this.$video.removeEventListener("play",this._onPlay),document.removeEventListener("visibilitychange",this._onVisibilityChange),window.removeEventListener("resize",this._updateOverlay),this._destroyed=!0,this._flashOn=!1,this.stop(),o._postWorkerMessage(this._qrEnginePromise,"close")}async start(){if(this._destroyed)throw Error("The QR scanner can not be started as it had been destroyed.");if((!this._active||this._paused)&&(window.location.protocol!=="https:"&&console.warn("The camera stream is only accessible if the page is transferred via https."),this._active=!0,!document.hidden))if(this._paused=!1,this.$video.srcObject)await this.$video.play();else try{let{stream:e,facingMode:t}=await this._getCameraStream();!this._active||this._paused?o._stopVideoStream(e):(this._setVideoMirror(t),this.$video.srcObject=e,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(e){if(!this._paused)throw this._active=!1,e}}stop(){this.pause(),this._active=!1}async pause(e=!1){if(this._paused=!0,!this._active)return!0;this.$video.pause(),this.$overlay&&(this.$overlay.style.display="none");let t=()=>{this.$video.srcObject instanceof MediaStream&&(o._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};return e?(t(),!0):(await new Promise(i=>setTimeout(i,300)),this._paused?(t(),!0):!1)}async setCamera(e){e!==this._preferredCamera&&(this._preferredCamera=e,await this._restartVideoStream())}static async scanImage(e,t,i,a,n=!1,d=!1){let u,g=!1;t&&("scanRegion"in t||"qrEngine"in t||"canvas"in t||"disallowCanvasResizing"in t||"alsoTryWithoutScanRegion"in t||"returnDetailedScanResult"in t)?(u=t.scanRegion,i=t.qrEngine,a=t.canvas,n=t.disallowCanvasResizing||!1,d=t.alsoTryWithoutScanRegion||!1,g=!0):console.warn(t||i||a||n||d?"You're using a deprecated api for scanImage which will be removed in the future.":"Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),t=!!i;try{let _,c;[i,_]=await Promise.all([i||o.createQrEngine(),o._loadImage(e)]),[a,c]=o._drawToCanvas(_,u,a,n);let p;if(i instanceof Worker){let s=i;t||o._postWorkerMessageSync(s,"inversionMode","both"),p=await new Promise((v,C)=>{let E,y,$,x=-1;y=k=>{k.data.id===x&&(s.removeEventListener("message",y),s.removeEventListener("error",$),clearTimeout(E),k.data.data!==null?v({data:k.data.data,cornerPoints:o._convertPoints(k.data.cornerPoints,u)}):C(o.NO_QR_CODE_FOUND))},$=k=>{s.removeEventListener("message",y),s.removeEventListener("error",$),clearTimeout(E),C("Scanner error: "+(k?k.message||k:"Unknown Error"))},s.addEventListener("message",y),s.addEventListener("error",$),E=setTimeout(()=>$("timeout"),1e4);let R=c.getImageData(0,0,a.width,a.height);x=o._postWorkerMessageSync(s,"decode",R,[R.data.buffer])})}else p=await Promise.race([new Promise((s,v)=>window.setTimeout(()=>v("Scanner error: timeout"),1e4)),(async()=>{try{var[s]=await i.detect(a);if(!s)throw o.NO_QR_CODE_FOUND;return{data:s.rawValue,cornerPoints:o._convertPoints(s.cornerPoints,u)}}catch(v){if(s=v.message||v,/not implemented|service unavailable/.test(s))return o._disableBarcodeDetector=!0,o.scanImage(e,{scanRegion:u,canvas:a,disallowCanvasResizing:n,alsoTryWithoutScanRegion:d});throw`Scanner error: ${s}`}})()]);return g?p:p.data}catch(_){if(!u||!d)throw _;let c=await o.scanImage(e,{qrEngine:i,canvas:a,disallowCanvasResizing:n});return g?c:c.data}finally{t||o._postWorkerMessage(i,"close")}}setGrayscaleWeights(e,t,i,a=!0){o._postWorkerMessage(this._qrEnginePromise,"grayscaleWeights",{red:e,green:t,blue:i,useIntegerApproximation:a})}setInversionMode(e){o._postWorkerMessage(this._qrEnginePromise,"inversionMode",e)}static async createQrEngine(e){if(e&&console.warn("Specifying a worker path is not required and not supported anymore."),e=()=>ne(()=>import("./D85Z9gVD.js"),__vite__mapDeps([]),import.meta.url).then(i=>i.createWorker()),!(!o._disableBarcodeDetector&&"BarcodeDetector"in window&&BarcodeDetector.getSupportedFormats&&(await BarcodeDetector.getSupportedFormats()).includes("qr_code")))return e();let t=navigator.userAgentData;return t&&t.brands.some(({brand:i})=>/Chromium/i.test(i))&&/mac ?OS/i.test(t.platform)&&await t.getHighEntropyValues(["architecture","platformVersion"]).then(({architecture:i,platformVersion:a})=>/arm/i.test(i||"arm")&&13<=parseInt(a||"13")).catch(()=>!0)?e():new BarcodeDetector({formats:["qr_code"]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay(),this.$overlay&&(this.$overlay.style.display=""),this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(e){let t=Math.round(.6666666666666666*Math.min(e.videoWidth,e.videoHeight));return{x:Math.round((e.videoWidth-t)/2),y:Math.round((e.videoHeight-t)/2),width:t,height:t,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var e=this.$video,t=e.videoWidth,i=e.videoHeight,a=e.offsetWidth,n=e.offsetHeight,d=e.offsetLeft,u=e.offsetTop,g=window.getComputedStyle(e),_=g.objectFit,c=t/i,p=a/n;switch(_){case"none":var s=t,v=i;break;case"fill":s=a,v=n;break;default:(_==="cover"?c>p:c{const R=parseFloat($);return $.endsWith("%")?(x?n-v:a-s)*R/100:R});g=this._scanRegion.width||t,p=this._scanRegion.height||i,_=this._scanRegion.x||0;var y=this._scanRegion.y||0;c=this.$overlay.style,c.width=`${g/t*s}px`,c.height=`${p/i*v}px`,c.top=`${u+E+y/i*v}px`,i=/scaleX\(-1\)/.test(e.style.transform),c.left=`${d+(i?a-C-s:C)+(i?t-_-g:_)/t*s}px`,c.transform=e.style.transform}})}static _convertPoints(e,t){if(!t)return e;let i=t.x||0,a=t.y||0,n=t.width&&t.downScaledWidth?t.width/t.downScaledWidth:1;t=t.height&&t.downScaledHeight?t.height/t.downScaledHeight:1;for(let d of e)d.x=d.x*n+i,d.y=d.y*t+a;return e}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||("requestVideoFrameCallback"in this.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>{if(!(1>=this.$video.readyState)){var e=Date.now()-this._lastScanTimestamp,t=1e3/this._maxScansPerSecond;esetTimeout(a,t-e)),this._lastScanTimestamp=Date.now();try{var i=await o.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(a){if(!this._active)return;this._onDecodeError(a)}!o._disableBarcodeDetector||await this._qrEnginePromise instanceof Worker||(this._qrEnginePromise=o.createQrEngine()),i?(this._onDecode?this._onDecode(i):this._legacyOnDecode&&this._legacyOnDecode(i.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute("viewBox",`${this._scanRegion.x||0} ${this._scanRegion.y||0} ${this._scanRegion.width||this.$video.videoWidth} ${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute("points",i.cornerPoints.map(({x:a,y:n})=>`${a},${n}`).join(" ")),this.$codeOutlineHighlight.style.display="")):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display="none",100))}this._scanFrame()})}_onDecodeError(e){e!==o.NO_QR_CODE_FOUND&&console.log(e)}async _getCameraStream(){if(!navigator.mediaDevices)throw"Camera not found.";let e=/^(environment|user)$/.test(this._preferredCamera)?"facingMode":"deviceId",t=[{width:{min:1024}},{width:{min:768}},{}],i=t.map(a=>Object.assign({},a,{[e]:{exact:this._preferredCamera}}));for(let a of[...i,...t])try{let n=await navigator.mediaDevices.getUserMedia({video:a,audio:!1}),d=this._getFacingMode(n)||(a.facingMode?this._preferredCamera:this._preferredCamera==="environment"?"user":"environment");return{stream:n,facingMode:d}}catch{}throw"Camera not found."}async _restartVideoStream(){let e=this._paused;await this.pause(!0)&&!e&&this._active&&await this.start()}static _stopVideoStream(e){for(let t of e.getTracks())t.stop(),e.removeTrack(t)}_setVideoMirror(e){this.$video.style.transform="scaleX("+(e==="user"?-1:1)+")"}_getFacingMode(e){return(e=e.getVideoTracks()[0])?/rear|back|environment/i.test(e.label)?"environment":/front|user|face/i.test(e.label)?"user":null:null}static _drawToCanvas(e,t,i,a=!1){i=i||document.createElement("canvas");let n=t&&t.x?t.x:0,d=t&&t.y?t.y:0,u=t&&t.width?t.width:e.videoWidth||e.width,g=t&&t.height?t.height:e.videoHeight||e.height;return a||(a=t&&t.downScaledWidth?t.downScaledWidth:u,t=t&&t.downScaledHeight?t.downScaledHeight:g,i.width!==a&&(i.width=a),i.height!==t&&(i.height=t)),t=i.getContext("2d",{alpha:!1}),t.imageSmoothingEnabled=!1,t.drawImage(e,n,d,u,g,0,0,i.width,i.height),[i,t]}static async _loadImage(e){if(e instanceof Image)return await o._awaitImageLoad(e),e;if(e instanceof HTMLVideoElement||e instanceof HTMLCanvasElement||e instanceof SVGImageElement||"OffscreenCanvas"in window&&e instanceof OffscreenCanvas||"ImageBitmap"in window&&e instanceof ImageBitmap)return e;if(e instanceof File||e instanceof Blob||e instanceof URL||typeof e=="string"){let t=new Image;t.src=e instanceof File||e instanceof Blob?URL.createObjectURL(e):e.toString();try{return await o._awaitImageLoad(t),t}finally{(e instanceof File||e instanceof Blob)&&URL.revokeObjectURL(t.src)}}else throw"Unsupported image type."}static async _awaitImageLoad(e){e.complete&&e.naturalWidth!==0||await new Promise((t,i)=>{let a=n=>{e.removeEventListener("load",a),e.removeEventListener("error",a),n instanceof ErrorEvent?i("Image load error"):t()};e.addEventListener("load",a),e.addEventListener("error",a)})}static async _postWorkerMessage(e,t,i,a){return o._postWorkerMessageSync(await e,t,i,a)}static _postWorkerMessageSync(e,t,i,a){if(!(e instanceof Worker))return-1;let n=o._workerMessageId++;return e.postMessage({id:n,type:t,data:i},a),n}}o.DEFAULT_CANVAS_SIZE=400;o.NO_QR_CODE_FOUND="No QR code found";o._disableBarcodeDetector=!1;o._workerMessageId=0;const _e={class:"dark:bg-black/70 bg-white/50 transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 h-full m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg p-4"},ye=m("span",{class:"w-8 h-1 rounded-full bg-gray-100 dark:bg-gray-700"},null,-1),fe=m("br",null,null,-1),pe=m("h1",{class:"text-3xl text-bold reem-kufi dark:text-white text-black/70"},"Sender",-1),we={class:"reem-kufi text-gray-500"},Se={class:"flex justify-between"},ke={class:"dark:bg-black/70 bg-white/50 transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 h-full m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg p-4"},Ce={key:0,class:"text-center h-60 flex justify-center items-center"},Ee={key:0,class:"flex justify-end"},$e={class:"bg-teal-400 text-white px-4 py-2 rounded-full rounded-br-none"},Oe={key:1,class:"flex justify-start"},xe={class:"bg-rose-400 text-white px-4 py-2 rounded-full rounded-bl-none"},be={class:"flex"},Re=m("div",{class:"flex items-center justify-between"},[m("h3",{class:"text-base font-semibold leading-6 text-gray-900 dark:text-white"}," File Transfer ")],-1),De={class:"flex justify-center flex-col"},Me={class:"p-2"},Te={class:"flex items-center justify-between"},Fe=m("h3",{class:"text-base font-semibold leading-6 text-gray-900 dark:text-white"}," Qr Scanner ",-1),H=16*1024,Ie={__name:"Send",setup(Le){const e=oe(),t=S(!1),i=S(null),a=S(null),n=G({dictionaries:[X,Y]}).replace(/\s/g,""),d=S(!1),u=S([]),g=S(""),_=S(null),c=S(""),p=new K(n,{});let s;const v=S(!1),C=S(!1),E=S(!1),y=S(null);S("Ready to write!");function $(){var r=[ndef.textRecord("hello, world")];nfc.share(r,[onSuccess],[onFailure])}const x=S(!1),R=r=>{y.value=r.target.files[0],console.log(y.value)},k=async()=>{if(x.value=!0,!y.value)return;const r=new FileReader;r.readAsArrayBuffer(y.value),r.onload=()=>{const l={name:y.value.name,type:y.value.type,size:y.value.size,chunks:[]};for(let O=0;O(c.value=r.data,W()),{onDecodeError:r=>console.log(r),returnDetailedScanResult:!0,highlightScanRegion:!0,highlightCodeOutline:!0}),await s.start()}catch(r){e.add({id:"errors",title:"Error",description:"Error: "+(r==null?void 0:r.message),icon:"i-heroicons-exclamation-circle",timeout:6e3,color:"rose"}),v.value=!1}}function W(){ve(()=>{s&&s.stop(),C.value=!1})}const z=()=>{t.value=!0;const r=p.connect(c.value);r.on("open",()=>{t.value=!1,d.value=!0,e.add({id:"Connected",title:"Connected",description:"Connected to peer successfully",icon:"i-heroicons-check-circle",timeout:6e3,color:"green"}),console.log("Connected to peer")}),r.on("error",()=>{d.value=!1,t.value=!1,e.add({id:"Error",title:"Error Connection",description:"Error connecting to peer",icon:"i-solar-close-circle-broken",timeout:6e3,color:"red"})})},A=()=>{const r=p.connect(c.value);r.on("open",async()=>{r.send({dt:{id:n,message:g.value}}),await u.value.push({id:Math.random(),sender:"me",content:g.value}),g.value="",L()})},q=r=>{console.log("Sending file",r);const l=p.connect(c.value);l.on("open",async()=>{l.send({dt:{id:n,message:r}}),await u.value.push({id:Math.random(),sender:"me",content:`📎 ${y.value.name} 📎`}),x.value=!1,L()})};function L(){a.value.scroll(0,a.value.scrollHeight+50)}se(()=>{p.on("connection",r=>{r.on("data",async l=>{console.log("Received data",typeof l.dt.message,l),c.value=l.dt.id,typeof l.dt.message=="string"?await u.value.push({id:Math.random(),sender:"other",content:l.dt.message}):(_.value=l.dt.message,await u.value.push({id:Math.random(),sender:"other",content:l.dt.message.name}),_.value.chunks.length===Math.ceil(_.value.size/H)&&N())})}),L()});async function N(){const r=new Blob(_.value.chunks,{type:_.value.type}),l=window.URL.createObjectURL(r),O=document.createElement("a");O.href=l,O.download=_.value.name,O.click(),window.URL.revokeObjectURL(l)}return(r,l)=>{const O=Z,V=te,P=ie,b=me,T=J,Q=ge,j=ae,U=ee;return M(),D("div",null,[m("div",_e,[h(O,{links:[{label:"Home",icon:"i-heroicons-home",to:"/"},{label:"Send",icon:"i-line-md-telegram"}]},{divider:f(()=>[ye]),_:1}),fe,pe,m("p",we,"I'm "+I(re(n)),1),h(V,{class:"my-4"}),m("div",Se,[h(T,{size:"sm",orientation:"horizontal",class:"pr-2"},{default:f(()=>[h(P,{color:"white",variant:"outline",type:"text",modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=w=>c.value=w),placeholder:"Enter receiver"},null,8,["modelValue"]),h(b,{icon:"i-solar-qr-code-bold-duotone",color:"primary",variant:"soft",onClick:l[1]||(l[1]=w=>C.value=!0)})]),_:1}),h(T,{size:"sm",orientation:"horizontal",class:"pr-2"},{default:f(()=>[h(b,{onClick:z,variant:"soft",icon:"i-solar-link-line-duotone",loading:t.value},{default:f(()=>[F(" Connect")]),_:1},8,["loading"]),h(b,{onClick:$,color:"orange",variant:"soft",icon:"i-solar-link-line-duotone"},{default:f(()=>[F(" TEST")]),_:1})]),_:1})])]),m("div",ke,[m("div",{ref_key:"chatContainer",ref:a,class:"flex flex-col min-h-80 overflow-y-scroll p-4"},[u.value.length===0?(M(),D("div",Ce,[h(Q,{name:"i-line-md-chat",class:"w-24 h-24 opacity-5"})])):le("",!0),(M(!0),D(de,null,ce(u.value,w=>(M(),D("div",{key:w.id,class:"m-1"},[w.sender==="me"?(M(),D("div",Ee,[m("div",$e,I(w.content),1)])):(M(),D("div",Oe,[m("div",xe,I(w.content),1)]))]))),128))],512),m("div",be,[h(U,{modelValue:E.value,"onUpdate:modelValue":l[2]||(l[2]=w=>E.value=w)},{default:f(()=>[h(j,{ui:{ring:"",divide:"divide-y divide-gray-100 dark:divide-gray-800"}},{header:f(()=>[Re]),default:f(()=>[m("div",De,[m("div",Me,[h(P,{type:"file",onChange:R,class:"transition-all ease-in-out duration-500"})]),m("div",null,[h(T,{size:"sm",orientation:"horizontal",class:"w-full p-2"},{default:f(()=>[h(b,{onClick:k,icon:"i-solar-paperclip-bold-duotone",color:"primary",variant:"solid",loading:x.value},{default:f(()=>[F("Send File via P2P")]),_:1},8,["loading"]),h(b,{onClick:k,icon:"i-solar-cloud-bold-duotone",color:"violet",variant:"solid",loading:x.value},{default:f(()=>[F("Send File Via Cloud")]),_:1},8,["loading"])]),_:1})])])]),_:1})]),_:1},8,["modelValue"]),h(T,{size:"sm",orientation:"horizontal",class:"w-full"},{default:f(()=>[h(b,{icon:"i-solar-paperclip-bold-duotone",color:"primary",variant:"soft",onClick:l[3]||(l[3]=w=>E.value=!E.value)}),h(P,{color:"white",variant:"outline",type:"text",modelValue:g.value,"onUpdate:modelValue":l[4]||(l[4]=w=>g.value=w),class:"flex-grow w-full",placeholder:"Type a message..."},null,8,["modelValue"]),h(b,{onClick:A,icon:"i-line-md-telegram",color:"primary",variant:"soft"})]),_:1})])]),h(U,{modelValue:C.value,"onUpdate:modelValue":l[5]||(l[5]=w=>C.value=w),fullscreen:""},{default:f(()=>[h(j,{class:"h-full",ui:{ring:"",divide:"divide-y divide-gray-100 dark:divide-gray-800"}},{header:f(()=>[m("div",Te,[Fe,h(b,{color:"gray",variant:"ghost",icon:"i-heroicons-x-mark-20-solid",class:"-my-1",onClick:W})])]),default:f(()=>[h(b,{icon:"i-solar-qr-code-bold-duotone",color:"primary",variant:"solid",onClick:B,label:"Scan"}),he(m("video",{ref_key:"videoElement",ref:i,class:"w-full rounded-lg"},null,512),[[ue,v.value]])]),_:1})]),_:1},8,["modelValue"])])}}};export{Ie as default}; +import{n as G,$ as K,l as X,y as Y,_ as Z,b as J,c as ee,d as te,a as ie,e as ae}from"./CKN7IfQw.js";import{y as ne,s as oe,r as S,h as se,c as D,a as m,b as h,w as f,t as I,j as re,v as le,F as de,x as ce,o as M,d as F,z as he,A as ue,B as ve,i as me,k as ge}from"./B6ZPosoZ.js";class o{constructor(e,t,i,a,n){this._legacyCanvasSize=o.DEFAULT_CANVAS_SIZE,this._preferredCamera="environment",this._maxScansPerSecond=25,this._lastScanTimestamp=-1,this._destroyed=this._flashOn=this._paused=this._active=!1,this.$video=e,this.$canvas=document.createElement("canvas"),i&&typeof i=="object"?this._onDecode=t:(console.warn(i||a||n?"You're using a deprecated version of the QrScanner constructor which will be removed in the future":"Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),this._legacyOnDecode=t),t=typeof i=="object"?i:{},this._onDecodeError=t.onDecodeError||(typeof i=="function"?i:this._onDecodeError),this._calculateScanRegion=t.calculateScanRegion||(typeof a=="function"?a:this._calculateScanRegion),this._preferredCamera=t.preferredCamera||n||this._preferredCamera,this._legacyCanvasSize=typeof i=="number"?i:typeof a=="number"?a:this._legacyCanvasSize,this._maxScansPerSecond=t.maxScansPerSecond||this._maxScansPerSecond,this._onPlay=this._onPlay.bind(this),this._onLoadedMetaData=this._onLoadedMetaData.bind(this),this._onVisibilityChange=this._onVisibilityChange.bind(this),this._updateOverlay=this._updateOverlay.bind(this),e.disablePictureInPicture=!0,e.playsInline=!0,e.muted=!0;let d=!1;if(e.hidden&&(e.hidden=!1,d=!0),document.body.contains(e)||(document.body.appendChild(e),d=!0),i=e.parentElement,t.highlightScanRegion||t.highlightCodeOutline){if(a=!!t.overlay,this.$overlay=t.overlay||document.createElement("div"),n=this.$overlay.style,n.position="absolute",n.display="none",n.pointerEvents="none",this.$overlay.classList.add("scan-region-highlight"),!a&&t.highlightScanRegion){this.$overlay.innerHTML='';try{this.$overlay.firstElementChild.animate({transform:["scale(.98)","scale(1.01)"]},{duration:400,iterations:1/0,direction:"alternate",easing:"ease-in-out"})}catch{}i.insertBefore(this.$overlay,this.$video.nextSibling)}t.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML("beforeend",''),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=this._calculateScanRegion(e),requestAnimationFrame(()=>{let u=window.getComputedStyle(e);u.display==="none"&&(e.style.setProperty("display","block","important"),d=!0),u.visibility!=="visible"&&(e.style.setProperty("visibility","visible","important"),d=!0),d&&(console.warn("QrScanner has overwritten the video hiding style to avoid Safari stopping the playback."),e.style.opacity="0",e.style.width="0",e.style.height="0",this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),delete this.$overlay,delete this.$codeOutlineHighlight),this.$overlay&&this._updateOverlay()}),e.addEventListener("play",this._onPlay),e.addEventListener("loadedmetadata",this._onLoadedMetaData),document.addEventListener("visibilitychange",this._onVisibilityChange),window.addEventListener("resize",this._updateOverlay),this._qrEnginePromise=o.createQrEngine()}static set WORKER_PATH(e){console.warn("Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.")}static async hasCamera(){try{return!!(await o.listCameras(!1)).length}catch{return!1}}static async listCameras(e=!1){if(!navigator.mediaDevices)return[];let t=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(a=>a.kind==="videoinput"),i;try{e&&(await t()).every(a=>!a.label)&&(i=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch{}try{return(await t()).map((a,n)=>({id:a.deviceId,label:a.label||(n===0?"Default Camera":`Camera ${n+1}`)}))}finally{i&&(console.warn("Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream"),o._stopVideoStream(i))}}async hasFlash(){let e;try{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;e=this.$video.srcObject}else e=(await this._getCameraStream()).stream;return"torch"in e.getVideoTracks()[0].getSettings()}catch{return!1}finally{e&&e!==this.$video.srcObject&&(console.warn("Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream"),o._stopVideoStream(e))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if(!await this.hasFlash())throw"No flash available";await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(e){throw this._flashOn=!1,e}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener("loadedmetadata",this._onLoadedMetaData),this.$video.removeEventListener("play",this._onPlay),document.removeEventListener("visibilitychange",this._onVisibilityChange),window.removeEventListener("resize",this._updateOverlay),this._destroyed=!0,this._flashOn=!1,this.stop(),o._postWorkerMessage(this._qrEnginePromise,"close")}async start(){if(this._destroyed)throw Error("The QR scanner can not be started as it had been destroyed.");if((!this._active||this._paused)&&(window.location.protocol!=="https:"&&console.warn("The camera stream is only accessible if the page is transferred via https."),this._active=!0,!document.hidden))if(this._paused=!1,this.$video.srcObject)await this.$video.play();else try{let{stream:e,facingMode:t}=await this._getCameraStream();!this._active||this._paused?o._stopVideoStream(e):(this._setVideoMirror(t),this.$video.srcObject=e,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(e){if(!this._paused)throw this._active=!1,e}}stop(){this.pause(),this._active=!1}async pause(e=!1){if(this._paused=!0,!this._active)return!0;this.$video.pause(),this.$overlay&&(this.$overlay.style.display="none");let t=()=>{this.$video.srcObject instanceof MediaStream&&(o._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};return e?(t(),!0):(await new Promise(i=>setTimeout(i,300)),this._paused?(t(),!0):!1)}async setCamera(e){e!==this._preferredCamera&&(this._preferredCamera=e,await this._restartVideoStream())}static async scanImage(e,t,i,a,n=!1,d=!1){let u,g=!1;t&&("scanRegion"in t||"qrEngine"in t||"canvas"in t||"disallowCanvasResizing"in t||"alsoTryWithoutScanRegion"in t||"returnDetailedScanResult"in t)?(u=t.scanRegion,i=t.qrEngine,a=t.canvas,n=t.disallowCanvasResizing||!1,d=t.alsoTryWithoutScanRegion||!1,g=!0):console.warn(t||i||a||n||d?"You're using a deprecated api for scanImage which will be removed in the future.":"Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),t=!!i;try{let _,c;[i,_]=await Promise.all([i||o.createQrEngine(),o._loadImage(e)]),[a,c]=o._drawToCanvas(_,u,a,n);let p;if(i instanceof Worker){let s=i;t||o._postWorkerMessageSync(s,"inversionMode","both"),p=await new Promise((v,C)=>{let E,y,$,x=-1;y=k=>{k.data.id===x&&(s.removeEventListener("message",y),s.removeEventListener("error",$),clearTimeout(E),k.data.data!==null?v({data:k.data.data,cornerPoints:o._convertPoints(k.data.cornerPoints,u)}):C(o.NO_QR_CODE_FOUND))},$=k=>{s.removeEventListener("message",y),s.removeEventListener("error",$),clearTimeout(E),C("Scanner error: "+(k?k.message||k:"Unknown Error"))},s.addEventListener("message",y),s.addEventListener("error",$),E=setTimeout(()=>$("timeout"),1e4);let R=c.getImageData(0,0,a.width,a.height);x=o._postWorkerMessageSync(s,"decode",R,[R.data.buffer])})}else p=await Promise.race([new Promise((s,v)=>window.setTimeout(()=>v("Scanner error: timeout"),1e4)),(async()=>{try{var[s]=await i.detect(a);if(!s)throw o.NO_QR_CODE_FOUND;return{data:s.rawValue,cornerPoints:o._convertPoints(s.cornerPoints,u)}}catch(v){if(s=v.message||v,/not implemented|service unavailable/.test(s))return o._disableBarcodeDetector=!0,o.scanImage(e,{scanRegion:u,canvas:a,disallowCanvasResizing:n,alsoTryWithoutScanRegion:d});throw`Scanner error: ${s}`}})()]);return g?p:p.data}catch(_){if(!u||!d)throw _;let c=await o.scanImage(e,{qrEngine:i,canvas:a,disallowCanvasResizing:n});return g?c:c.data}finally{t||o._postWorkerMessage(i,"close")}}setGrayscaleWeights(e,t,i,a=!0){o._postWorkerMessage(this._qrEnginePromise,"grayscaleWeights",{red:e,green:t,blue:i,useIntegerApproximation:a})}setInversionMode(e){o._postWorkerMessage(this._qrEnginePromise,"inversionMode",e)}static async createQrEngine(e){if(e&&console.warn("Specifying a worker path is not required and not supported anymore."),e=()=>ne(()=>import("./D85Z9gVD.js"),__vite__mapDeps([]),import.meta.url).then(i=>i.createWorker()),!(!o._disableBarcodeDetector&&"BarcodeDetector"in window&&BarcodeDetector.getSupportedFormats&&(await BarcodeDetector.getSupportedFormats()).includes("qr_code")))return e();let t=navigator.userAgentData;return t&&t.brands.some(({brand:i})=>/Chromium/i.test(i))&&/mac ?OS/i.test(t.platform)&&await t.getHighEntropyValues(["architecture","platformVersion"]).then(({architecture:i,platformVersion:a})=>/arm/i.test(i||"arm")&&13<=parseInt(a||"13")).catch(()=>!0)?e():new BarcodeDetector({formats:["qr_code"]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay(),this.$overlay&&(this.$overlay.style.display=""),this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(e){let t=Math.round(.6666666666666666*Math.min(e.videoWidth,e.videoHeight));return{x:Math.round((e.videoWidth-t)/2),y:Math.round((e.videoHeight-t)/2),width:t,height:t,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var e=this.$video,t=e.videoWidth,i=e.videoHeight,a=e.offsetWidth,n=e.offsetHeight,d=e.offsetLeft,u=e.offsetTop,g=window.getComputedStyle(e),_=g.objectFit,c=t/i,p=a/n;switch(_){case"none":var s=t,v=i;break;case"fill":s=a,v=n;break;default:(_==="cover"?c>p:c{const R=parseFloat($);return $.endsWith("%")?(x?n-v:a-s)*R/100:R});g=this._scanRegion.width||t,p=this._scanRegion.height||i,_=this._scanRegion.x||0;var y=this._scanRegion.y||0;c=this.$overlay.style,c.width=`${g/t*s}px`,c.height=`${p/i*v}px`,c.top=`${u+E+y/i*v}px`,i=/scaleX\(-1\)/.test(e.style.transform),c.left=`${d+(i?a-C-s:C)+(i?t-_-g:_)/t*s}px`,c.transform=e.style.transform}})}static _convertPoints(e,t){if(!t)return e;let i=t.x||0,a=t.y||0,n=t.width&&t.downScaledWidth?t.width/t.downScaledWidth:1;t=t.height&&t.downScaledHeight?t.height/t.downScaledHeight:1;for(let d of e)d.x=d.x*n+i,d.y=d.y*t+a;return e}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||("requestVideoFrameCallback"in this.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>{if(!(1>=this.$video.readyState)){var e=Date.now()-this._lastScanTimestamp,t=1e3/this._maxScansPerSecond;esetTimeout(a,t-e)),this._lastScanTimestamp=Date.now();try{var i=await o.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(a){if(!this._active)return;this._onDecodeError(a)}!o._disableBarcodeDetector||await this._qrEnginePromise instanceof Worker||(this._qrEnginePromise=o.createQrEngine()),i?(this._onDecode?this._onDecode(i):this._legacyOnDecode&&this._legacyOnDecode(i.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute("viewBox",`${this._scanRegion.x||0} ${this._scanRegion.y||0} ${this._scanRegion.width||this.$video.videoWidth} ${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute("points",i.cornerPoints.map(({x:a,y:n})=>`${a},${n}`).join(" ")),this.$codeOutlineHighlight.style.display="")):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display="none",100))}this._scanFrame()})}_onDecodeError(e){e!==o.NO_QR_CODE_FOUND&&console.log(e)}async _getCameraStream(){if(!navigator.mediaDevices)throw"Camera not found.";let e=/^(environment|user)$/.test(this._preferredCamera)?"facingMode":"deviceId",t=[{width:{min:1024}},{width:{min:768}},{}],i=t.map(a=>Object.assign({},a,{[e]:{exact:this._preferredCamera}}));for(let a of[...i,...t])try{let n=await navigator.mediaDevices.getUserMedia({video:a,audio:!1}),d=this._getFacingMode(n)||(a.facingMode?this._preferredCamera:this._preferredCamera==="environment"?"user":"environment");return{stream:n,facingMode:d}}catch{}throw"Camera not found."}async _restartVideoStream(){let e=this._paused;await this.pause(!0)&&!e&&this._active&&await this.start()}static _stopVideoStream(e){for(let t of e.getTracks())t.stop(),e.removeTrack(t)}_setVideoMirror(e){this.$video.style.transform="scaleX("+(e==="user"?-1:1)+")"}_getFacingMode(e){return(e=e.getVideoTracks()[0])?/rear|back|environment/i.test(e.label)?"environment":/front|user|face/i.test(e.label)?"user":null:null}static _drawToCanvas(e,t,i,a=!1){i=i||document.createElement("canvas");let n=t&&t.x?t.x:0,d=t&&t.y?t.y:0,u=t&&t.width?t.width:e.videoWidth||e.width,g=t&&t.height?t.height:e.videoHeight||e.height;return a||(a=t&&t.downScaledWidth?t.downScaledWidth:u,t=t&&t.downScaledHeight?t.downScaledHeight:g,i.width!==a&&(i.width=a),i.height!==t&&(i.height=t)),t=i.getContext("2d",{alpha:!1}),t.imageSmoothingEnabled=!1,t.drawImage(e,n,d,u,g,0,0,i.width,i.height),[i,t]}static async _loadImage(e){if(e instanceof Image)return await o._awaitImageLoad(e),e;if(e instanceof HTMLVideoElement||e instanceof HTMLCanvasElement||e instanceof SVGImageElement||"OffscreenCanvas"in window&&e instanceof OffscreenCanvas||"ImageBitmap"in window&&e instanceof ImageBitmap)return e;if(e instanceof File||e instanceof Blob||e instanceof URL||typeof e=="string"){let t=new Image;t.src=e instanceof File||e instanceof Blob?URL.createObjectURL(e):e.toString();try{return await o._awaitImageLoad(t),t}finally{(e instanceof File||e instanceof Blob)&&URL.revokeObjectURL(t.src)}}else throw"Unsupported image type."}static async _awaitImageLoad(e){e.complete&&e.naturalWidth!==0||await new Promise((t,i)=>{let a=n=>{e.removeEventListener("load",a),e.removeEventListener("error",a),n instanceof ErrorEvent?i("Image load error"):t()};e.addEventListener("load",a),e.addEventListener("error",a)})}static async _postWorkerMessage(e,t,i,a){return o._postWorkerMessageSync(await e,t,i,a)}static _postWorkerMessageSync(e,t,i,a){if(!(e instanceof Worker))return-1;let n=o._workerMessageId++;return e.postMessage({id:n,type:t,data:i},a),n}}o.DEFAULT_CANVAS_SIZE=400;o.NO_QR_CODE_FOUND="No QR code found";o._disableBarcodeDetector=!1;o._workerMessageId=0;const _e={class:"dark:bg-black/70 bg-white/50 transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 h-full m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg p-4"},ye=m("span",{class:"w-8 h-1 rounded-full bg-gray-100 dark:bg-gray-700"},null,-1),fe=m("br",null,null,-1),pe=m("h1",{class:"text-3xl text-bold reem-kufi dark:text-white text-black/70"},"Sender",-1),we={class:"reem-kufi text-gray-500"},Se={class:"flex justify-between"},ke={class:"dark:bg-black/70 bg-white/50 transition-all ease-in-out duration-500 border border-gray-100 dark:border-gray-900 hover:dark:border-gray-600 hover:border-gray-300 h-full m-4 rounded-lg backdrop-blur-lg awesome-shadow dark:shadow-lg p-4"},Ce={key:0,class:"text-center h-60 flex justify-center items-center"},Ee={key:0,class:"flex justify-end"},$e={class:"bg-teal-400 text-white px-4 py-2 rounded-full rounded-br-none"},Oe={key:1,class:"flex justify-start"},xe={class:"bg-rose-400 text-white px-4 py-2 rounded-full rounded-bl-none"},be={class:"flex"},Re=m("div",{class:"flex items-center justify-between"},[m("h3",{class:"text-base font-semibold leading-6 text-gray-900 dark:text-white"}," File Transfer ")],-1),De={class:"flex justify-center flex-col"},Me={class:"p-2"},Te={class:"flex items-center justify-between"},Fe=m("h3",{class:"text-base font-semibold leading-6 text-gray-900 dark:text-white"}," Qr Scanner ",-1),H=16*1024,Ie={__name:"Send",setup(Le){const e=oe(),t=S(!1),i=S(null),a=S(null),n=G({dictionaries:[X,Y]}).replace(/\s/g,""),d=S(!1),u=S([]),g=S(""),_=S(null),c=S(""),p=new K(n,{});let s;const v=S(!1),C=S(!1),E=S(!1),y=S(null);S("Ready to write!");function $(){var r=[ndef.textRecord("hello, world")];nfc.share(r,[onSuccess],[onFailure])}const x=S(!1),R=r=>{y.value=r.target.files[0],console.log(y.value)},k=async()=>{if(x.value=!0,!y.value)return;const r=new FileReader;r.readAsArrayBuffer(y.value),r.onload=()=>{const l={name:y.value.name,type:y.value.type,size:y.value.size,chunks:[]};for(let O=0;O(c.value=r.data,W()),{onDecodeError:r=>console.log(r),returnDetailedScanResult:!0,highlightScanRegion:!0,highlightCodeOutline:!0}),await s.start()}catch(r){e.add({id:"errors",title:"Error",description:"Error: "+(r==null?void 0:r.message),icon:"i-heroicons-exclamation-circle",timeout:6e3,color:"rose"}),v.value=!1}}function W(){ve(()=>{s&&s.stop(),C.value=!1})}const z=()=>{t.value=!0;const r=p.connect(c.value);r.on("open",()=>{t.value=!1,d.value=!0,e.add({id:"Connected",title:"Connected",description:"Connected to peer successfully",icon:"i-heroicons-check-circle",timeout:6e3,color:"green"}),console.log("Connected to peer")}),r.on("error",()=>{d.value=!1,t.value=!1,e.add({id:"Error",title:"Error Connection",description:"Error connecting to peer",icon:"i-solar-close-circle-broken",timeout:6e3,color:"red"})})},A=()=>{const r=p.connect(c.value);r.on("open",async()=>{r.send({dt:{id:n,message:g.value}}),await u.value.push({id:Math.random(),sender:"me",content:g.value}),g.value="",L()})},q=r=>{console.log("Sending file",r);const l=p.connect(c.value);l.on("open",async()=>{l.send({dt:{id:n,message:r}}),await u.value.push({id:Math.random(),sender:"me",content:`📎 ${y.value.name} 📎`}),x.value=!1,L()})};function L(){a.value.scroll(0,a.value.scrollHeight+50)}se(()=>{p.on("connection",r=>{r.on("data",async l=>{console.log("Received data",typeof l.dt.message,l),c.value=l.dt.id,typeof l.dt.message=="string"?await u.value.push({id:Math.random(),sender:"other",content:l.dt.message}):(_.value=l.dt.message,await u.value.push({id:Math.random(),sender:"other",content:l.dt.message.name}),_.value.chunks.length===Math.ceil(_.value.size/H)&&N())})}),L()});async function N(){const r=new Blob(_.value.chunks,{type:_.value.type}),l=window.URL.createObjectURL(r),O=document.createElement("a");O.href=l,O.download=_.value.name,O.click(),window.URL.revokeObjectURL(l)}return(r,l)=>{const O=Z,V=te,P=ie,b=me,T=J,Q=ge,j=ae,U=ee;return M(),D("div",null,[m("div",_e,[h(O,{links:[{label:"Home",icon:"i-heroicons-home",to:"/"},{label:"Send",icon:"i-line-md-telegram"}]},{divider:f(()=>[ye]),_:1}),fe,pe,m("p",we,"I'm "+I(re(n)),1),h(V,{class:"my-4"}),m("div",Se,[h(T,{size:"sm",orientation:"horizontal",class:"pr-2"},{default:f(()=>[h(P,{color:"white",variant:"outline",type:"text",modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=w=>c.value=w),placeholder:"Enter receiver"},null,8,["modelValue"]),h(b,{icon:"i-solar-qr-code-bold-duotone",color:"primary",variant:"soft",onClick:l[1]||(l[1]=w=>C.value=!0)})]),_:1}),h(T,{size:"sm",orientation:"horizontal",class:"pr-2"},{default:f(()=>[h(b,{onClick:z,variant:"soft",icon:"i-solar-link-line-duotone",loading:t.value},{default:f(()=>[F(" Connect")]),_:1},8,["loading"]),h(b,{onClick:$,color:"orange",variant:"soft",icon:"i-solar-link-line-duotone"},{default:f(()=>[F(" TEST")]),_:1})]),_:1})])]),m("div",ke,[m("div",{ref_key:"chatContainer",ref:a,class:"flex flex-col min-h-80 overflow-y-scroll p-4"},[u.value.length===0?(M(),D("div",Ce,[h(Q,{name:"i-line-md-chat",class:"w-24 h-24 opacity-5"})])):le("",!0),(M(!0),D(de,null,ce(u.value,w=>(M(),D("div",{key:w.id,class:"m-1"},[w.sender==="me"?(M(),D("div",Ee,[m("div",$e,I(w.content),1)])):(M(),D("div",Oe,[m("div",xe,I(w.content),1)]))]))),128))],512),m("div",be,[h(U,{modelValue:E.value,"onUpdate:modelValue":l[2]||(l[2]=w=>E.value=w)},{default:f(()=>[h(j,{ui:{ring:"",divide:"divide-y divide-gray-100 dark:divide-gray-800"}},{header:f(()=>[Re]),default:f(()=>[m("div",De,[m("div",Me,[h(P,{type:"file",onChange:R,class:"transition-all ease-in-out duration-500"})]),m("div",null,[h(T,{size:"sm",orientation:"horizontal",class:"w-full p-2"},{default:f(()=>[h(b,{onClick:k,icon:"i-solar-paperclip-bold-duotone",color:"primary",variant:"solid",loading:x.value},{default:f(()=>[F("Send File via P2P")]),_:1},8,["loading"]),h(b,{onClick:k,icon:"i-solar-cloud-bold-duotone",color:"violet",variant:"solid",loading:x.value},{default:f(()=>[F("Send File Via Cloud")]),_:1},8,["loading"])]),_:1})])])]),_:1})]),_:1},8,["modelValue"]),h(T,{size:"sm",orientation:"horizontal",class:"w-full"},{default:f(()=>[h(b,{icon:"i-solar-paperclip-bold-duotone",color:"primary",variant:"soft",onClick:l[3]||(l[3]=w=>E.value=!E.value)}),h(P,{color:"white",variant:"outline",type:"text",modelValue:g.value,"onUpdate:modelValue":l[4]||(l[4]=w=>g.value=w),class:"flex-grow w-full",placeholder:"Type a message..."},null,8,["modelValue"]),h(b,{onClick:A,icon:"i-line-md-telegram",color:"primary",variant:"soft"})]),_:1})])]),h(U,{modelValue:C.value,"onUpdate:modelValue":l[5]||(l[5]=w=>C.value=w),fullscreen:""},{default:f(()=>[h(j,{class:"h-full",ui:{ring:"",divide:"divide-y divide-gray-100 dark:divide-gray-800"}},{header:f(()=>[m("div",Te,[Fe,h(b,{color:"gray",variant:"ghost",icon:"i-heroicons-x-mark-20-solid",class:"-my-1",onClick:W})])]),default:f(()=>[h(b,{icon:"i-solar-qr-code-bold-duotone",color:"primary",variant:"solid",onClick:B,label:"Scan"}),he(m("video",{ref_key:"videoElement",ref:i,class:"w-full rounded-lg"},null,512),[[ue,v.value]])]),_:1})]),_:1},8,["modelValue"])])}}};export{Ie as default}; diff --git a/mobile/www/web/builds/latest.json b/mobile/www/web/builds/latest.json index 54ee62c..055aa93 100644 --- a/mobile/www/web/builds/latest.json +++ b/mobile/www/web/builds/latest.json @@ -1 +1 @@ -{"id":"6cb437d9-620f-460e-ab83-4e7487e59016","timestamp":1728290921065} \ No newline at end of file +{"id":"dcc434cb-be7f-48aa-8f7b-22b638a79b9a","timestamp":1728294851045} \ No newline at end of file diff --git a/mobile/www/web/builds/meta/6cb437d9-620f-460e-ab83-4e7487e59016.json b/mobile/www/web/builds/meta/6cb437d9-620f-460e-ab83-4e7487e59016.json deleted file mode 100644 index 3463d6e..0000000 --- a/mobile/www/web/builds/meta/6cb437d9-620f-460e-ab83-4e7487e59016.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"6cb437d9-620f-460e-ab83-4e7487e59016","timestamp":1728290921065,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/mobile/www/web/builds/meta/dcc434cb-be7f-48aa-8f7b-22b638a79b9a.json b/mobile/www/web/builds/meta/dcc434cb-be7f-48aa-8f7b-22b638a79b9a.json new file mode 100644 index 0000000..b51af4b --- /dev/null +++ b/mobile/www/web/builds/meta/dcc434cb-be7f-48aa-8f7b-22b638a79b9a.json @@ -0,0 +1 @@ +{"id":"dcc434cb-be7f-48aa-8f7b-22b638a79b9a","timestamp":1728294851045,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/mobile/www/web/BpyJzbHH.js b/mobile/www/web/oXyxjP8b.js similarity index 97% rename from mobile/www/web/BpyJzbHH.js rename to mobile/www/web/oXyxjP8b.js index 4cace25..13586fd 100644 --- a/mobile/www/web/BpyJzbHH.js +++ b/mobile/www/web/oXyxjP8b.js @@ -1 +1 @@ -import{_ as a,u as n,o as r,c as l,a as e,t as s,b as d,w as c,d as p,e as f,p as h,f as m}from"./B1llnzT6.js";const x=t=>(h("data-v-f5c0a1bb"),t=t(),m(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},b=x(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),g={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,N)=>{const i=f;return r(),l("div",u,[b,e("div",g,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[d(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-f5c0a1bb"]]);export{z as default}; +import{_ as a,u as n,o as r,c as l,a as e,t as s,b as d,w as c,d as p,e as f,p as h,f as m}from"./B6ZPosoZ.js";const x=t=>(h("data-v-f5c0a1bb"),t=t(),m(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},b=x(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),g={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,N)=>{const i=f;return r(),l("div",u,[b,e("div",g,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[d(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-f5c0a1bb"]]);export{z as default};