import{g as Ac,s as Sc}from"./index-EKlYWjzp.chunk.mjs";const Ls=globalThis||void 0||self;function ts(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},$n=[],pt=()=>{},lu=()=>!1,$r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ns=e=>e.startsWith("onUpdate:"),Ce=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cc=Object.prototype.hasOwnProperty,fe=(e,t)=>Cc.call(e,t),Q=Array.isArray,Mn=e=>Mr(e)==="[object Map]",cu=e=>Mr(e)==="[object Set]",ee=e=>typeof e=="function",we=e=>typeof e=="string",Ht=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",du=e=>(me(e)||ee(e))&&ee(e.then)&&ee(e.catch),pu=Object.prototype.toString,Mr=e=>pu.call(e),Tc=e=>Mr(e).slice(8,-1),fu=e=>Mr(e)==="[object Object]",Rr=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ao=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ir=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},kc=/-\w/g,tt=Ir(e=>e.replace(kc,t=>t.slice(1).toUpperCase())),Dc=/\B([A-Z])/g,Vt=Ir(e=>e.replace(Dc,"-$1").toLowerCase()),zr=Ir(e=>e.charAt(0).toUpperCase()+e.slice(1)),ai=Ir(e=>e?`on${zr(e)}`:""),Ze=(e,t)=>!Object.is(e,t),ui=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Nc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pc=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Bs;const cr=()=>Bs||(Bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Ls<"u"?Ls:{});function xn(e){if(Q(e)){const t={};for(let n=0;n{if(n){const o=n.split(Bc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Rt(e){let t="";if(we(e))t=e;else if(Q(e))for(let n=0;n!!(e&&e.__v_isRef===!0),jr=e=>we(e)?e:e==null?"":Q(e)||me(e)&&(e.toString===pu||!ee(e.toString))?mu(e)?jr(e.value):JSON.stringify(e,gu,2):String(e),gu=(e,t)=>mu(t)?gu(e,t.value):Mn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[li(o,i)+" =>"]=r,n),{})}:cu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>li(n))}:Ht(t)?li(t):me(t)&&!Q(t)&&!fu(t)?String(t):t,li=(e,t="")=>{var n;return Ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Rc(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Re;class Ic{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Re=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(lo){let t=lo;for(lo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;uo;){let t=uo;for(uo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function _u(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xu(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),ss(o),jc(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function Pi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Au(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Au(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Eo)||(e.globalVersion=Eo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Pi(e))))return;e.flags|=2;const t=e.dep,n=ge,o=ft;ge=e,ft=!0;try{_u(e);const r=e.fn(e._value);(t.version===0||Ze(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ge=n,ft=o,xu(e),e.flags&=-3}}function ss(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ss(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ft=!0;const Su=[];function It(){Su.push(ft),ft=!1}function zt(){const e=Su.pop();ft=e===void 0?!0:e}function Fs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let Eo=0;class Hc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ge||!ft||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new Hc(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,Cu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=o)}return n}trigger(t){this.version++,Eo++,this.notify(t)}notify(t){rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{is()}}}function Cu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Cu(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const dr=new WeakMap,An=Symbol(""),Li=Symbol(""),_o=Symbol("");function Ie(e,t,n){if(ft&&ge){let o=dr.get(e);o||dr.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new Hr),r.map=o,r.key=n),r.track()}}function Ft(e,t,n,o,r,i){const s=dr.get(e);if(!s){Eo++;return}const a=u=>{u&&u.trigger()};if(rs(),t==="clear")s.forEach(a);else{const u=Q(e),l=u&&Rr(n);if(u&&n==="length"){const c=Number(o);s.forEach((f,g)=>{(g==="length"||g===_o||!Ht(g)&&g>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),l&&a(s.get(_o)),t){case"add":u?l&&a(s.get("length")):(a(s.get(An)),Mn(e)&&a(s.get(Li)));break;case"delete":u||(a(s.get(An)),Mn(e)&&a(s.get(Li)));break;case"set":Mn(e)&&a(s.get(An));break}}is()}function Vc(e,t){const n=dr.get(e);return n&&n.get(t)}function Ln(e){const t=ce(e);return t===e?t:(Ie(t,"iterate",_o),et(e)?t:t.map(mt))}function Vr(e){return Ie(e=ce(e),"iterate",_o),e}function Yt(e,t){return jt(e)?Ao(Sn(e)?mt(t):t):mt(t)}const Uc={__proto__:null,[Symbol.iterator](){return di(this,Symbol.iterator,e=>Yt(this,e))},concat(...e){return Ln(this).concat(...e.map(t=>Q(t)?Ln(t):t))},entries(){return di(this,"entries",e=>(e[1]=Yt(this,e[1]),e))},every(e,t){return Nt(this,"every",e,t,void 0,arguments)},filter(e,t){return Nt(this,"filter",e,t,n=>n.map(o=>Yt(this,o)),arguments)},find(e,t){return Nt(this,"find",e,t,n=>Yt(this,n),arguments)},findIndex(e,t){return Nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nt(this,"findLast",e,t,n=>Yt(this,n),arguments)},findLastIndex(e,t){return Nt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nt(this,"forEach",e,t,void 0,arguments)},includes(...e){return pi(this,"includes",e)},indexOf(...e){return pi(this,"indexOf",e)},join(e){return Ln(this).join(e)},lastIndexOf(...e){return pi(this,"lastIndexOf",e)},map(e,t){return Nt(this,"map",e,t,void 0,arguments)},pop(){return qn(this,"pop")},push(...e){return qn(this,"push",e)},reduce(e,...t){return Os(this,"reduce",e,t)},reduceRight(e,...t){return Os(this,"reduceRight",e,t)},shift(){return qn(this,"shift")},some(e,t){return Nt(this,"some",e,t,void 0,arguments)},splice(...e){return qn(this,"splice",e)},toReversed(){return Ln(this).toReversed()},toSorted(e){return Ln(this).toSorted(e)},toSpliced(...e){return Ln(this).toSpliced(...e)},unshift(...e){return qn(this,"unshift",e)},values(){return di(this,"values",e=>Yt(this,e))}};function di(e,t,n){const o=Vr(e),r=o[t]();return o!==e&&!et(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Wc=Array.prototype;function Nt(e,t,n,o,r,i){const s=Vr(e),a=s!==e&&!et(e),u=s[t];if(u!==Wc[t]){const f=u.apply(e,i);return a?mt(f):f}let l=n;s!==e&&(a?l=function(f,g){return n.call(this,Yt(e,f),g,e)}:n.length>2&&(l=function(f,g){return n.call(this,f,g,e)}));const c=u.call(s,l,o);return a&&r?r(c):c}function Os(e,t,n,o){const r=Vr(e);let i=n;return r!==e&&(et(e)?n.length>3&&(i=function(s,a,u){return n.call(this,s,a,u,e)}):i=function(s,a,u){return n.call(this,s,Yt(e,a),u,e)}),r[t](i,...o)}function pi(e,t,n){const o=ce(e);Ie(o,"iterate",_o);const r=o[t](...n);return(r===-1||r===!1)&&Gr(n[0])?(n[0]=ce(n[0]),o[t](...n)):r}function qn(e,t,n=[]){It(),rs();const o=ce(e)[t].apply(e,n);return is(),zt(),o}const Gc=ts("__proto__,__v_isRef,__isVue"),Tu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht));function Kc(e){Ht(e)||(e=String(e));const t=ce(this);return Ie(t,"has",e),t.hasOwnProperty(e)}class ku{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?Fu:Bu:i?Lu:Pu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const s=Q(t);if(!r){let u;if(s&&(u=Uc[n]))return u;if(n==="hasOwnProperty")return Kc}const a=Reflect.get(t,n,Se(t)?t:o);if((Ht(n)?Tu.has(n):Gc(n))||(r||Ie(t,"get",n),i))return a;if(Se(a)){const u=s&&Rr(n)?a:a.value;return r&&me(u)?pr(u):u}return me(a)?r?pr(a):xo(a):a}}class Du extends ku{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];const s=Q(t)&&Rr(n);if(!this._isShallow){const l=jt(i);if(!et(o)&&!jt(o)&&(i=ce(i),o=ce(o)),!s&&Se(i)&&!Se(o))return l||(i.value=o),!0}const a=s?Number(n)e,Vo=e=>Reflect.getPrototypeOf(e);function Qc(e,t,n){return function(...o){const r=this.__v_raw,i=ce(r),s=Mn(i),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,l=r[e](...o),c=n?Bi:t?Ao:mt;return!t&&Ie(i,"iterate",u?Li:An),Ce(Object.create(l),{next(){const{value:f,done:g}=l.next();return g?{value:f,done:g}:{value:a?[c(f[0]),c(f[1])]:c(f),done:g}}})}}function Uo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xc(e,t){const n={get(o){const r=this.__v_raw,i=ce(r),s=ce(o);e||(Ze(o,s)&&Ie(i,"get",o),Ie(i,"get",s));const{has:a}=Vo(i),u=t?Bi:e?Ao:mt;if(a.call(i,o))return u(r.get(o));if(a.call(i,s))return u(r.get(s));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Ie(ce(o),"iterate",An),o.size},has(o){const r=this.__v_raw,i=ce(r),s=ce(o);return e||(Ze(o,s)&&Ie(i,"has",o),Ie(i,"has",s)),o===s?r.has(o):r.has(o)||r.has(s)},forEach(o,r){const i=this,s=i.__v_raw,a=ce(s),u=t?Bi:e?Ao:mt;return!e&&Ie(a,"iterate",An),s.forEach((l,c)=>o.call(r,u(l),u(c),i))}};return Ce(n,e?{add:Uo("add"),set:Uo("set"),delete:Uo("delete"),clear:Uo("clear")}:{add(o){!t&&!et(o)&&!jt(o)&&(o=ce(o));const r=ce(this);return Vo(r).has.call(r,o)||(r.add(o),Ft(r,"add",o,o)),this},set(o,r){!t&&!et(r)&&!jt(r)&&(r=ce(r));const i=ce(this),{has:s,get:a}=Vo(i);let u=s.call(i,o);u||(o=ce(o),u=s.call(i,o));const l=a.call(i,o);return i.set(o,r),u?Ze(r,l)&&Ft(i,"set",o,r):Ft(i,"add",o,r),this},delete(o){const r=ce(this),{has:i,get:s}=Vo(r);let a=i.call(r,o);a||(o=ce(o),a=i.call(r,o)),s&&s.call(r,o);const u=r.delete(o);return a&&Ft(r,"delete",o,void 0),u},clear(){const o=ce(this),r=o.size!==0,i=o.clear();return r&&Ft(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Qc(o,e,t)}),n}function Ur(e,t){const n=Xc(e,t);return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(fe(n,r)&&r in o?n:o,r,i)}const ed={get:Ur(!1,!1)},td={get:Ur(!1,!0)},nd={get:Ur(!0,!1)},od={get:Ur(!0,!0)},Pu=new WeakMap,Lu=new WeakMap,Bu=new WeakMap,Fu=new WeakMap;function rd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function id(e){return e.__v_skip||!Object.isExtensible(e)?0:rd(Tc(e))}function xo(e){return jt(e)?e:Wr(e,!1,qc,ed,Pu)}function sd(e){return Wr(e,!1,Jc,td,Lu)}function pr(e){return Wr(e,!0,Zc,nd,Bu)}function ad(e){return Wr(e,!0,Yc,od,Fu)}function Wr(e,t,n,o,r){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=id(e);if(i===0)return e;const s=r.get(e);if(s)return s;const a=new Proxy(e,i===2?o:n);return r.set(e,a),a}function Sn(e){return jt(e)?Sn(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function et(e){return!!(e&&e.__v_isShallow)}function Gr(e){return e?!!e.__v_raw:!1}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function ud(e){return!fe(e,"__v_skip")&&Object.isExtensible(e)&&hu(e,"__v_skip",!0),e}const mt=e=>me(e)?xo(e):e,Ao=e=>me(e)?pr(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function Hn(e){return Ou(e,!1)}function as(e){return Ou(e,!0)}function Ou(e,t){return Se(e)?e:new ld(e,t)}class ld{constructor(t,n){this.dep=new Hr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ce(t),this._value=n?t:mt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||et(t)||jt(t);t=o?t:ce(t),Ze(t,n)&&(this._rawValue=t,this._value=o?t:mt(t),this.dep.trigger())}}function pe(e){return Se(e)?e.value:e}function tn(e){return ee(e)?e():pe(e)}const cd={get:(e,t,n)=>t==="__v_raw"?e:pe(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function $u(e){return Sn(e)?e:new Proxy(e,cd)}class dd{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Hr,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function pd(e){return new dd(e)}class fd{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._raw=ce(t);let r=!0,i=t;if(!Q(t)||!Rr(String(n)))do r=!Gr(i)||et(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=pe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const n=this._object[this._key];if(Se(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Vc(this._raw,this._key)}}class hd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function vd(e,t,n){return Se(e)?e:ee(e)?new hd(e):me(e)&&arguments.length>1?md(e,t,n):Hn(e)}function md(e,t,n){return new fd(e,t,n)}class gd{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Eo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Eu(this,!0),!0}get value(){const t=this.dep.track();return Au(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yd(e,t,n=!1){let o,r;return ee(e)?o=e:(o=e.get,r=e.set),new gd(o,r,n)}const Wo={},fr=new WeakMap;let yn;function wd(e,t=!1,n=yn){if(n){let o=fr.get(n);o||fr.set(n,o=[]),o.push(e)}}function bd(e,t,n=ae){const{immediate:o,deep:r,once:i,scheduler:s,augmentJob:a,call:u}=n,l=x=>r?x:et(x)||r===!1||r===0?Ot(x,1):Ot(x);let c,f,g,h,y=!1,b=!1;if(Se(e)?(f=()=>e.value,y=et(e)):Sn(e)?(f=()=>l(e),y=!0):Q(e)?(b=!0,y=e.some(x=>Sn(x)||et(x)),f=()=>e.map(x=>{if(Se(x))return x.value;if(Sn(x))return l(x);if(ee(x))return u?u(x,2):x()})):ee(e)?t?f=u?()=>u(e,2):e:f=()=>{if(g){It();try{g()}finally{zt()}}const x=yn;yn=c;try{return u?u(e,3,[h]):e(h)}finally{yn=x}}:f=pt,t&&r){const x=f,q=r===!0?1/0:r;f=()=>Ot(x(),q)}const S=yu(),C=()=>{c.stop(),S&&S.active&&os(S.effects,c)};if(i&&t){const x=t;t=(...q)=>{x(...q),C()}}let P=b?new Array(e.length).fill(Wo):Wo;const L=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(t){const q=c.run();if(r||y||(b?q.some((F,H)=>Ze(F,P[H])):Ze(q,P))){g&&g();const F=yn;yn=c;try{const H=[q,P===Wo?void 0:b&&P[0]===Wo?[]:P,h];P=q,u?u(t,3,H):t(...H)}finally{yn=F}}}else c.run()};return a&&a(L),c=new wu(f),c.scheduler=s?()=>s(L,!1):L,h=x=>wd(x,!1,c),g=c.onStop=()=>{const x=fr.get(c);if(x){if(u)u(x,4);else for(const q of x)q();fr.delete(c)}},t?o?L(!0):P=c.run():s?s(L.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Ot(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Se(e))Ot(e.value,t,n);else if(Q(e))for(let o=0;o{Ot(o,t,n)});else if(fu(e)){for(const o in e)Ot(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Ot(e[o],t,n)}return e}function Ro(e,t,n,o){try{return o?e(...o):e()}catch(r){Kr(r,t,n)}}function gt(e,t,n,o){if(ee(e)){const r=Ro(e,t,n,o);return r&&du(r)&&r.catch(i=>{Kr(i,t,n)}),r}if(Q(e)){const r=[];for(let i=0;i>>1,r=We[o],i=So(r);i=So(n)?We.push(e):We.splice(_d(t),0,e),e.flags|=1,Ru()}}function Ru(){hr||(hr=Mu.then(ju))}function Iu(e){Q(e)?Rn.push(...e):Qt&&e.id===-1?Qt.splice(On+1,0,e):e.flags&1||(Rn.push(e),e.flags|=1),Ru()}function $s(e,t,n=Et+1){for(;nSo(n)-So(o));if(Rn.length=0,Qt){Qt.push(...t);return}for(Qt=t,On=0;One.id==null?e.flags&2?-1:1/0:e.id;function ju(e){try{for(Et=0;EtNe;function Ne(e,t=Me,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&wr(-1);const i=vr(t);let s;try{s=e(...r)}finally{vr(i),o._d&&wr(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function Go(e,t){if(Me===null)return e;const n=Xr(Me),o=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&ee(t)?t.call(o&&o.proxy):t}}const Td=Symbol.for("v-scx"),kd=()=>Cn(Td);function Dd(e,t){return Zr(e,null,t)}function Nd(e,t){return Zr(e,null,{flush:"sync"})}function nn(e,t,n){return Zr(e,t,n)}function Zr(e,t,n=ae){const{immediate:o,deep:r,flush:i,once:s}=n,a=Ce({},n),u=t&&o||!t&&i!=="post";let l;if(Po){if(i==="sync"){const h=kd();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=pt,h.resume=pt,h.pause=pt,h}}const c=ze;a.call=(h,y,b)=>gt(h,c,y,b);let f=!1;i==="post"?a.scheduler=h=>{Ue(h,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(h,y)=>{y?h():ls(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const g=bd(e,t,a);return Po&&(l?l.push(g):u&&g()),g}function Pd(e,t,n){const o=this.proxy,r=we(e)?e.includes(".")?Hu(o,e):()=>o[e]:e.bind(o,o);let i;ee(t)?i=t:(i=t.handler,n=t);const s=zo(this),a=Zr(r,i.bind(o),n);return s(),a}function Hu(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;re.__isTeleport,co=e=>e&&(e.disabled||e.disabled===""),Ms=e=>e&&(e.defer||e.defer===""),Rs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Is=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Fi=(e,t)=>{const n=e&&e.to;return we(n)?t?t(n):null:n},Wu={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,s,a,u,l){const{mc:c,pc:f,pbc:g,o:{insert:h,querySelector:y,createText:b,createComment:S}}=l,C=co(t.props);let{shapeFlag:P,children:L,dynamicChildren:x}=t;if(e==null){const q=t.el=b(""),F=t.anchor=b("");h(q,n,o),h(F,n,o);const H=(B,K)=>{P&16&&c(L,B,K,r,i,s,a,u)},_=()=>{const B=t.target=Fi(t.props,y),K=Gu(B,t,b,h);B&&(s!=="svg"&&Rs(B)?s="svg":s!=="mathml"&&Is(B)&&(s="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(B),C||(H(B,K),tr(t,!1)))};C&&(H(n,F),tr(t,!0)),Ms(t.props)?(t.el.__isMounted=!1,Ue(()=>{_(),delete t.el.__isMounted},i)):_()}else{if(Ms(t.props)&&e.el.__isMounted===!1){Ue(()=>{Wu.process(e,t,n,o,r,i,s,a,u,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const q=t.anchor=e.anchor,F=t.target=e.target,H=t.targetAnchor=e.targetAnchor,_=co(e.props),B=_?n:F,K=_?q:H;if(s==="svg"||Rs(F)?s="svg":(s==="mathml"||Is(F))&&(s="mathml"),x?(g(e.dynamicChildren,x,B,r,i,s,a),ps(e,t,!0)):u||f(e,t,B,K,r,i,s,a,!1),C)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ko(t,n,q,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=Fi(t.props,y);G&&Ko(t,G,null,l,0)}else _&&Ko(t,F,H,l,1);tr(t,C)}},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:s,children:a,anchor:u,targetStart:l,targetAnchor:c,target:f,props:g}=e;if(f&&(r(l),r(c)),i&&r(u),s&16){const h=i||!co(g);for(let y=0;y{e.isMounted=!0}),tl(()=>{e.isUnmounting=!0}),e}const ot=[Function,Array],Ku={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ot,onEnter:ot,onAfterEnter:ot,onEnterCancelled:ot,onBeforeLeave:ot,onLeave:ot,onAfterLeave:ot,onLeaveCancelled:ot,onBeforeAppear:ot,onAppear:ot,onAfterAppear:ot,onAppearCancelled:ot},qu=e=>{const t=e.subTree;return t.component?qu(t.component):t},Od={name:"BaseTransition",props:Ku,setup(e,{slots:t}){const n=ln(),o=Fd();return()=>{const r=t.default&&Yu(t.default(),!0);if(!r||!r.length)return;const i=Zu(r),s=ce(e),{mode:a}=s;if(o.isLeaving)return fi(i);const u=zs(i);if(!u)return fi(i);let l=Oi(u,s,o,n,f=>l=f);u.type!==$e&&Co(u,l);let c=n.subTree&&zs(n.subTree);if(c&&c.type!==$e&&!bn(c,u)&&qu(n).type!==$e){let f=Oi(c,s,o,n);if(Co(c,f),a==="out-in"&&u.type!==$e)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},fi(i);a==="in-out"&&u.type!==$e?f.delayLeave=(g,h,y)=>{const b=Ju(o,c);b[String(c.key)]=c,g[Bt]=()=>{h(),g[Bt]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{y(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Zu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==$e){t=n;break}}return t}const $d=Od;function Ju(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Oi(e,t,n,o,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:g,onLeave:h,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:S,onAppear:C,onAfterAppear:P,onAppearCancelled:L}=t,x=String(e.key),q=Ju(n,e),F=(B,K)=>{B&>(B,o,9,K)},H=(B,K)=>{const G=K[1];F(B,K),Q(B)?B.every(v=>v.length<=1)&&G():B.length<=1&&G()},_={mode:s,persisted:a,beforeEnter(B){let K=u;if(!n.isMounted)if(i)K=S||u;else return;B[Bt]&&B[Bt](!0);const G=q[x];G&&bn(e,G)&&G.el[Bt]&&G.el[Bt](),F(K,[B])},enter(B){let K=l,G=c,v=f;if(!n.isMounted)if(i)K=C||l,G=P||c,v=L||f;else return;let w=!1;const N=B[qo]=z=>{w||(w=!0,z?F(v,[B]):F(G,[B]),_.delayedLeave&&_.delayedLeave(),B[qo]=void 0)};K?H(K,[B,N]):N()},leave(B,K){const G=String(e.key);if(B[qo]&&B[qo](!0),n.isUnmounting)return K();F(g,[B]);let v=!1;const w=B[Bt]=N=>{v||(v=!0,K(),N?F(b,[B]):F(y,[B]),B[Bt]=void 0,q[G]===e&&delete q[G])};q[G]=e,h?H(h,[B,w]):w()},clone(B){const K=Oi(B,t,n,o,r);return r&&r(K),K}};return _}function fi(e){if(Jr(e))return e=an(e),e.children=null,e}function zs(e){if(!Jr(e))return Uu(e.type)&&e.children?Zu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ee(n.default))return n.default()}}function Co(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Co(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yu(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;in.value,set:r=>n.value=r})}return n}const mr=new WeakMap;function po(e,t,n,o,r=!1){if(Q(e)){e.forEach((y,b)=>po(y,t&&(Q(t)?t[b]:t),n,o,r));return}if(In(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&po(e,t,n,o.component.subTree);return}const i=o.shapeFlag&4?Xr(o.component):o.el,s=r?null:i,{i:a,r:u}=e,l=t&&t.r,c=a.refs===ae?a.refs={}:a.refs,f=a.setupState,g=ce(f),h=f===ae?lu:y=>fe(g,y);if(l!=null&&l!==u){if(js(t),we(l))c[l]=null,h(l)&&(f[l]=null);else if(Se(l)){l.value=null;const y=t;y.k&&(c[y.k]=null)}}if(ee(u))Ro(u,a,12,[s,c]);else{const y=we(u),b=Se(u);if(y||b){const S=()=>{if(e.f){const C=y?h(u)?f[u]:c[u]:u.value;if(r)Q(C)&&os(C,i);else if(Q(C))C.includes(i)||C.push(i);else if(y)c[u]=[i],h(u)&&(f[u]=c[u]);else{const P=[i];u.value=P,e.k&&(c[e.k]=P)}}else y?(c[u]=s,h(u)&&(f[u]=s)):b&&(u.value=s,e.k&&(c[e.k]=s))};if(s){const C=()=>{S(),mr.delete(e)};C.id=-1,mr.set(e,C),Ue(C,n)}else js(e),S()}}}function js(e){const t=mr.get(e);t&&(t.flags|=8,mr.delete(e))}cr().requestIdleCallback,cr().cancelIdleCallback;const In=e=>!!e.type.__asyncLoader,Jr=e=>e.type.__isKeepAlive;function Rd(e,t){Xu(e,"a",t)}function Id(e,t){Xu(e,"da",t)}function Xu(e,t,n=ze){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Yr(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Jr(r.parent.vnode)&&zd(o,t,n,r),r=r.parent}}function zd(e,t,n,o){const r=Yr(t,e,o,!0);Vn(()=>{os(o[t],r)},n)}function Yr(e,t,n=ze,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{It();const a=zo(n),u=gt(t,n,e,s);return a(),zt(),u});return o?r.unshift(i):r.push(i),i}}const Ut=e=>(t,n=ze)=>{(!Po||e==="sp")&&Yr(e,(...o)=>t(...o),n)},jd=Ut("bm"),To=Ut("m"),el=Ut("bu"),Hd=Ut("u"),tl=Ut("bum"),Vn=Ut("um"),Vd=Ut("sp"),Ud=Ut("rtg"),Wd=Ut("rtc");function Gd(e,t=ze){Yr("ec",e,t)}const nl="components";function ko(e,t){return rl(nl,e,!0,t)||e}const ol=Symbol.for("v-ndc");function Kd(e){return we(e)?rl(nl,e,!1)||e:e||ol}function rl(e,t,n=!0,o=!1){const r=Me||ze;if(r){const i=r.type;{const a=Dp(i,!1);if(a&&(a===t||a===tt(t)||a===zr(tt(t))))return i}const s=Hs(r[e]||i[e],t)||Hs(r.appContext[e],t);return!s&&o?i:s}}function Hs(e,t){return e&&(e[t]||e[tt(t)]||e[zr(tt(t))])}function Fv(e,t,n,o){let r;const i=n,s=Q(e);if(s||we(e)){const a=s&&Sn(e);let u=!1,l=!1;a&&(u=!et(e),l=jt(e),e=Vr(e)),r=new Array(e.length);for(let c=0,f=e.length;ct(a,u,void 0,i));else{const a=Object.keys(e);r=new Array(a.length);for(let u=0,l=a.length;u{const i=o.fn(...r);return i&&(i.key=o.key),i}:o.fn)}return e}function St(e,t,n={},o,r){if(Me.ce||Me.parent&&In(Me.parent)&&Me.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Ee(),ht(Le,null,[ve("slot",n,o&&o())],l?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Ee();const s=i&&il(i(n)),a=n.key||s&&s.key,u=ht(Le,{key:(a&&!Ht(a)?a:`_${t}`)+(!s&&o?"_fb":"")},s||(o?o():[]),s&&e._===1?64:-2);return!r&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function il(e){return e.some(t=>No(t)?!(t.type===$e||t.type===Le&&!il(t.children)):!0)?e:null}const $i=e=>e?Sl(e)?Xr(e):$i(e.parent):null,fo=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$i(e.parent),$root:e=>$i(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>al(e),$forceUpdate:e=>e.f||(e.f=()=>{ls(e.update)}),$nextTick:e=>e.n||(e.n=us.bind(e.proxy)),$watch:e=>Pd.bind(e)}),hi=(e,t)=>e!==ae&&!e.__isScriptSetup&&fe(e,t),qd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:u}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(hi(o,t))return s[t]=1,o[t];if(r!==ae&&fe(r,t))return s[t]=2,r[t];if(fe(i,t))return s[t]=3,i[t];if(n!==ae&&fe(n,t))return s[t]=4,n[t];Mi&&(s[t]=0)}}const l=fo[t];let c,f;if(l)return t==="$attrs"&&Ie(e.attrs,"get",""),l(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ae&&fe(n,t))return s[t]=4,n[t];if(f=u.config.globalProperties,fe(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return hi(r,t)?(r[t]=n,!0):o!==ae&&fe(o,t)?(o[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,props:i,type:s}},a){let u;return!!(n[a]||e!==ae&&a[0]!=="$"&&fe(e,a)||hi(t,a)||fe(i,a)||fe(o,a)||fe(fo,a)||fe(r.config.globalProperties,a)||(u=s.__cssModules)&&u[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $v(){return Zd().attrs}function Zd(e){const t=ln();return t.setupContext||(t.setupContext=Tl(t))}function gr(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Vs(e,t){return!e||!t?e||t:Q(e)&&Q(t)?e.concat(t):Ce({},gr(e),gr(t))}let Mi=!0;function Jd(e){const t=al(e),n=e.proxy,o=e.ctx;Mi=!1,t.beforeCreate&&Us(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:u,inject:l,created:c,beforeMount:f,mounted:g,beforeUpdate:h,updated:y,activated:b,deactivated:S,beforeDestroy:C,beforeUnmount:P,destroyed:L,unmounted:x,render:q,renderTracked:F,renderTriggered:H,errorCaptured:_,serverPrefetch:B,expose:K,inheritAttrs:G,components:v,directives:w,filters:N}=t;if(l&&Yd(l,o,null),s)for(const R in s){const O=s[R];ee(O)&&(o[R]=O.bind(n))}if(r){const R=r.call(n,n);me(R)&&(e.data=xo(R))}if(Mi=!0,i)for(const R in i){const O=i[R],W=ee(O)?O.bind(n,n):ee(O.get)?O.get.bind(n,n):pt,Y=!ee(O)&&ee(O.set)?O.set.bind(n):pt,te=Pe({get:W,set:Y});Object.defineProperty(o,R,{enumerable:!0,configurable:!0,get:()=>te.value,set:ne=>te.value=ne})}if(a)for(const R in a)sl(a[R],o,n,R);if(u){const R=ee(u)?u.call(n):u;Reflect.ownKeys(R).forEach(O=>{Cd(O,R[O])})}c&&Us(c,e,"c");function z(R,O){Q(O)?O.forEach(W=>R(W.bind(n))):O&&R(O.bind(n))}if(z(jd,f),z(To,g),z(el,h),z(Hd,y),z(Rd,b),z(Id,S),z(Gd,_),z(Wd,F),z(Ud,H),z(tl,P),z(Vn,x),z(Vd,B),Q(K))if(K.length){const R=e.exposed||(e.exposed={});K.forEach(O=>{Object.defineProperty(R,O,{get:()=>n[O],set:W=>n[O]=W,enumerable:!0})})}else e.exposed||(e.exposed={});q&&e.render===pt&&(e.render=q),G!=null&&(e.inheritAttrs=G),v&&(e.components=v),w&&(e.directives=w),B&&Qu(e)}function Yd(e,t,n=pt){Q(e)&&(e=Ri(e));for(const o in e){const r=e[o];let i;me(r)?"default"in r?i=Cn(r.from||o,r.default,!0):i=Cn(r.from||o):i=Cn(r),Se(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[o]=i}}function Us(e,t,n){gt(Q(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,o){let r=o.includes(".")?Hu(n,o):()=>n[o];if(we(e)){const i=t[e];ee(i)&&nn(r,i)}else if(ee(e))nn(r,e.bind(n));else if(me(e))if(Q(e))e.forEach(i=>sl(i,t,n,o));else{const i=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(i)&&nn(r,i,e)}}function al(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let u;return a?u=a:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(l=>yr(u,l,s,!0)),yr(u,t,s)),me(t)&&i.set(t,u),u}function yr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&yr(e,i,n,!0),r&&r.forEach(s=>yr(e,s,n,!0));for(const s in t)if(!(o&&s==="expose")){const a=Qd[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Qd={data:Ws,props:Gs,emits:Gs,methods:io,computed:io,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:io,directives:io,watch:ep,provide:Ws,inject:Xd};function Ws(e,t){return t?e?function(){return Ce(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Xd(e,t){return io(Ri(e),Ri(t))}function Ri(e){if(Q(e)){const t={};for(let n=0;n{let c,f=ae,g;return Nd(()=>{const h=e[r];Ze(c,h)&&(c=h,l())}),{get(){return u(),n.get?n.get(c):c},set(h){const y=n.set?n.set(h):h;if(!Ze(y,c)&&!(f!==ae&&Ze(h,f)))return;const b=o.vnode.props;b&&(t in b||r in b||i in b)&&(`onUpdate:${t}`in b||`onUpdate:${r}`in b||`onUpdate:${i}`in b)||(c=h,l()),o.emit(`update:${t}`,y),Ze(h,y)&&Ze(h,f)&&!Ze(y,g)&&l(),f=h,g=y}}});return a[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?s||ae:a,done:!1}:{done:!0}}}},a}const ll=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tt(t)}Modifiers`]||e[`${Vt(t)}Modifiers`];function rp(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ae;let r=n;const i=t.startsWith("update:"),s=i&&ll(o,t.slice(7));s&&(s.trim&&(r=n.map(c=>we(c)?c.trim():c)),s.number&&(r=n.map(Nc)));let a,u=o[a=ai(t)]||o[a=ai(tt(t))];!u&&i&&(u=o[a=ai(Vt(t))]),u&>(u,e,6,r);const l=o[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gt(l,e,6,r)}}const ip=new WeakMap;function cl(e,t,n=!1){const o=n?ip:t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={},a=!1;if(!ee(e)){const u=l=>{const c=cl(l,t,!0);c&&(a=!0,Ce(s,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!a?(me(e)&&o.set(e,null),null):(Q(i)?i.forEach(u=>s[u]=null):Ce(s,i),me(e)&&o.set(e,s),s)}function Qr(e,t){return!e||!$r(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,Vt(t))||fe(e,t))}function Ks(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:a,emit:u,render:l,renderCache:c,props:f,data:g,setupState:h,ctx:y,inheritAttrs:b}=e,S=vr(e);let C,P;try{if(n.shapeFlag&4){const x=r||o,q=x;C=_t(l.call(q,x,c,f,h,g,y)),P=a}else{const x=t;C=_t(x.length>1?x(f,{attrs:a,slots:s,emit:u}):x(f,null)),P=t.props?a:sp(a)}}catch(x){ho.length=0,Kr(x,e,1),C=ve($e)}let L=C;if(P&&b!==!1){const x=Object.keys(P),{shapeFlag:q}=L;x.length&&q&7&&(i&&x.some(ns)&&(P=ap(P,i)),L=an(L,P,!1,!0))}return n.dirs&&(L=an(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Co(L,n.transition),C=L,vr(S),C}const sp=e=>{let t;for(const n in e)(n==="class"||n==="style"||$r(n))&&((t||(t={}))[n]=e[n]);return t},ap=(e,t)=>{const n={};for(const o in e)(!ns(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function up(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:u}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?qs(o,s,l):!!s;if(u&8){const c=t.dynamicProps;for(let f=0;fObject.create(dl),fl=e=>Object.getPrototypeOf(e)===dl;function cp(e,t,n,o=!1){const r={},i=pl();e.propsDefaults=Object.create(null),hl(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:sd(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function dp(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=ce(r),[u]=e.propsOptions;let l=!1;if((o||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[g,h]=vl(f,t,!0);Ce(s,g),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!u)return me(e)&&o.set(e,$n),$n;if(Q(i))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",ds=e=>Q(e)?e.map(_t):[_t(e)],fp=(e,t,n)=>{if(t._n)return t;const o=Ne((...r)=>ds(t(...r)),n);return o._c=!1,o},ml=(e,t,n)=>{const o=e._ctx;for(const r in e){if(cs(r))continue;const i=e[r];if(ee(i))t[r]=fp(r,i,o);else if(i!=null){const s=ds(i);t[r]=()=>s}}},gl=(e,t)=>{const n=ds(t);e.slots.default=()=>n},yl=(e,t,n)=>{for(const o in t)(n||!cs(o))&&(e[o]=t[o])},hp=(e,t,n)=>{const o=e.slots=pl();if(e.vnode.shapeFlag&32){const r=t._;r?(yl(o,t,n),n&&hu(o,"_",r,!0)):ml(t,o)}else t&&gl(e,t)},vp=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=ae;if(o.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:yl(r,t,n):(i=!t.$stable,ml(t,r)),s=t}else t&&(gl(e,t),s={default:1});if(i)for(const a in r)!cs(a)&&s[a]==null&&delete r[a]},Ue=bp;function mp(e){return gp(e)}function gp(e,t){const n=cr();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:s,createText:a,createComment:u,setText:l,setElementText:c,parentNode:f,nextSibling:g,setScopeId:h=pt,insertStaticContent:y}=e,b=(d,m,E,D=null,A=null,T=null,j=void 0,M=null,$=!!m.dynamicChildren)=>{if(d===m)return;d&&!bn(d,m)&&(D=nt(d),ye(d,A,T,!0),d=null),m.patchFlag===-2&&($=!1,m.dynamicChildren=null);const{type:k,ref:Z,shapeFlag:V}=m;switch(k){case Io:S(d,m,E,D);break;case $e:C(d,m,E,D);break;case nr:d==null&&P(m,E,D,j);break;case Le:v(d,m,E,D,A,T,j,M,$);break;default:V&1?q(d,m,E,D,A,T,j,M,$):V&6?w(d,m,E,D,A,T,j,M,$):(V&64||V&128)&&k.process(d,m,E,D,A,T,j,M,$,Gt)}Z!=null&&A?po(Z,d&&d.ref,T,m||d,!m):Z==null&&d&&d.ref!=null&&po(d.ref,null,T,d,!0)},S=(d,m,E,D)=>{if(d==null)o(m.el=a(m.children),E,D);else{const A=m.el=d.el;m.children!==d.children&&l(A,m.children)}},C=(d,m,E,D)=>{d==null?o(m.el=u(m.children||""),E,D):m.el=d.el},P=(d,m,E,D)=>{[d.el,d.anchor]=y(d.children,m,E,D,d.el,d.anchor)},L=({el:d,anchor:m},E,D)=>{let A;for(;d&&d!==m;)A=g(d),o(d,E,D),d=A;o(m,E,D)},x=({el:d,anchor:m})=>{let E;for(;d&&d!==m;)E=g(d),r(d),d=E;r(m)},q=(d,m,E,D,A,T,j,M,$)=>{if(m.type==="svg"?j="svg":m.type==="math"&&(j="mathml"),d==null)F(m,E,D,A,T,j,M,$);else{const k=d.el&&d.el._isVueCE?d.el:null;try{k&&k._beginPatch(),B(d,m,A,T,j,M,$)}finally{k&&k._endPatch()}}},F=(d,m,E,D,A,T,j,M)=>{let $,k;const{props:Z,shapeFlag:V,transition:J,dirs:X}=d;if($=d.el=s(d.type,T,Z&&Z.is,Z),V&8?c($,d.children):V&16&&_(d.children,$,null,D,A,vi(d,T),j,M),X&&fn(d,null,D,"created"),H($,d,d.scopeId,j,D),Z){for(const de in Z)de!=="value"&&!ao(de)&&i($,de,null,Z[de],T,D);"value"in Z&&i($,"value",null,Z.value,T),(k=Z.onVnodeBeforeMount)&&wt(k,D,d)}X&&fn(d,null,D,"beforeMount");const oe=yp(A,J);oe&&J.beforeEnter($),o($,m,E),((k=Z&&Z.onVnodeMounted)||oe||X)&&Ue(()=>{k&&wt(k,D,d),oe&&J.enter($),X&&fn(d,null,D,"mounted")},A)},H=(d,m,E,D,A)=>{if(E&&h(d,E),D)for(let T=0;T{for(let k=$;k{const M=m.el=d.el;let{patchFlag:$,dynamicChildren:k,dirs:Z}=m;$|=d.patchFlag&16;const V=d.props||ae,J=m.props||ae;let X;if(E&&hn(E,!1),(X=J.onVnodeBeforeUpdate)&&wt(X,E,m,d),Z&&fn(m,d,E,"beforeUpdate"),E&&hn(E,!0),(V.innerHTML&&J.innerHTML==null||V.textContent&&J.textContent==null)&&c(M,""),k?K(d.dynamicChildren,k,M,E,D,vi(m,A),T):j||W(d,m,M,null,E,D,vi(m,A),T,!1),$>0){if($&16)G(M,V,J,E,A);else if($&2&&V.class!==J.class&&i(M,"class",null,J.class,A),$&4&&i(M,"style",V.style,J.style,A),$&8){const oe=m.dynamicProps;for(let de=0;de{X&&wt(X,E,m,d),Z&&fn(m,d,E,"updated")},D)},K=(d,m,E,D,A,T,j)=>{for(let M=0;M{if(m!==E){if(m!==ae)for(const T in m)!ao(T)&&!(T in E)&&i(d,T,m[T],null,A,D);for(const T in E){if(ao(T))continue;const j=E[T],M=m[T];j!==M&&T!=="value"&&i(d,T,M,j,A,D)}"value"in E&&i(d,"value",m.value,E.value,A)}},v=(d,m,E,D,A,T,j,M,$)=>{const k=m.el=d?d.el:a(""),Z=m.anchor=d?d.anchor:a("");let{patchFlag:V,dynamicChildren:J,slotScopeIds:X}=m;X&&(M=M?M.concat(X):X),d==null?(o(k,E,D),o(Z,E,D),_(m.children||[],E,Z,A,T,j,M,$)):V>0&&V&64&&J&&d.dynamicChildren&&d.dynamicChildren.length===J.length?(K(d.dynamicChildren,J,E,A,T,j,M),(m.key!=null||A&&m===A.subTree)&&ps(d,m,!0)):W(d,m,E,Z,A,T,j,M,$)},w=(d,m,E,D,A,T,j,M,$)=>{m.slotScopeIds=M,d==null?m.shapeFlag&512?A.ctx.activate(m,E,D,j,$):N(m,E,D,A,T,j,$):z(d,m,$)},N=(d,m,E,D,A,T,j)=>{const M=d.component=Sp(d,D,A);if(Jr(d)&&(M.ctx.renderer=Gt),Cp(M,!1,j),M.asyncDep){if(A&&A.registerDep(M,R,j),!d.el){const $=M.subTree=ve($e);C(null,$,m,E),d.placeholder=$.el}}else R(M,d,m,E,A,T,j)},z=(d,m,E)=>{const D=m.component=d.component;if(up(d,m,E))if(D.asyncDep&&!D.asyncResolved){O(D,m,E);return}else D.next=m,D.update();else m.el=d.el,D.vnode=m},R=(d,m,E,D,A,T,j)=>{const M=()=>{if(d.isMounted){let{next:V,bu:J,u:X,parent:oe,vnode:de}=d;{const qe=wl(d);if(qe){V&&(V.el=de.el,O(d,V,j)),qe.asyncDep.then(()=>{d.isUnmounted||M()});return}}let re=V,ke;hn(d,!1),V?(V.el=de.el,O(d,V,j)):V=de,J&&ui(J),(ke=V.props&&V.props.onVnodeBeforeUpdate)&&wt(ke,oe,V,de),hn(d,!0);const Be=Ks(d),Je=d.subTree;d.subTree=Be,b(Je,Be,f(Je.el),nt(Je),d,A,T),V.el=Be.el,re===null&&lp(d,Be.el),X&&Ue(X,A),(ke=V.props&&V.props.onVnodeUpdated)&&Ue(()=>wt(ke,oe,V,de),A)}else{let V;const{el:J,props:X}=m,{bm:oe,m:de,parent:re,root:ke,type:Be}=d,Je=In(m);hn(d,!1),oe&&ui(oe),!Je&&(V=X&&X.onVnodeBeforeMount)&&wt(V,re,m),hn(d,!0);{ke.ce&&ke.ce._def.shadowRoot!==!1&&ke.ce._injectChildStyle(Be);const qe=d.subTree=Ks(d);b(null,qe,E,D,d,A,T),m.el=qe.el}if(de&&Ue(de,A),!Je&&(V=X&&X.onVnodeMounted)){const qe=m;Ue(()=>wt(V,re,qe),A)}(m.shapeFlag&256||re&&In(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Ue(d.a,A),d.isMounted=!0,m=E=D=null}};d.scope.on();const $=d.effect=new wu(M);d.scope.off();const k=d.update=$.run.bind($),Z=d.job=$.runIfDirty.bind($);Z.i=d,Z.id=d.uid,$.scheduler=()=>ls(Z),hn(d,!0),k()},O=(d,m,E)=>{m.component=d;const D=d.vnode.props;d.vnode=m,d.next=null,dp(d,m.props,D,E),vp(d,m.children,E),It(),$s(d),zt()},W=(d,m,E,D,A,T,j,M,$=!1)=>{const k=d&&d.children,Z=d?d.shapeFlag:0,V=m.children,{patchFlag:J,shapeFlag:X}=m;if(J>0){if(J&128){te(k,V,E,D,A,T,j,M,$);return}else if(J&256){Y(k,V,E,D,A,T,j,M,$);return}}X&8?(Z&16&&je(k,A,T),V!==k&&c(E,V)):Z&16?X&16?te(k,V,E,D,A,T,j,M,$):je(k,A,T,!0):(Z&8&&c(E,""),X&16&&_(V,E,D,A,T,j,M,$))},Y=(d,m,E,D,A,T,j,M,$)=>{d=d||$n,m=m||$n;const k=d.length,Z=m.length,V=Math.min(k,Z);let J;for(J=0;JZ?je(d,A,T,!0,!1,V):_(m,E,D,A,T,j,M,$,V)},te=(d,m,E,D,A,T,j,M,$)=>{let k=0;const Z=m.length;let V=d.length-1,J=Z-1;for(;k<=V&&k<=J;){const X=d[k],oe=m[k]=$?Xt(m[k]):_t(m[k]);if(bn(X,oe))b(X,oe,E,null,A,T,j,M,$);else break;k++}for(;k<=V&&k<=J;){const X=d[V],oe=m[J]=$?Xt(m[J]):_t(m[J]);if(bn(X,oe))b(X,oe,E,null,A,T,j,M,$);else break;V--,J--}if(k>V){if(k<=J){const X=J+1,oe=XJ)for(;k<=V;)ye(d[k],A,T,!0),k++;else{const X=k,oe=k,de=new Map;for(k=oe;k<=J;k++){const De=m[k]=$?Xt(m[k]):_t(m[k]);De.key!=null&&de.set(De.key,k)}let re,ke=0;const Be=J-oe+1;let Je=!1,qe=0;const Kt=new Array(Be);for(k=0;k=Be){ye(De,A,T,!0);continue}let xe;if(De.key!=null)xe=de.get(De.key);else for(re=oe;re<=J;re++)if(Kt[re-oe]===0&&bn(De,m[re])){xe=re;break}xe===void 0?ye(De,A,T,!0):(Kt[xe-oe]=k+1,xe>=qe?qe=xe:Je=!0,b(De,m[xe],E,null,A,T,j,M,$),ke++)}const cn=Je?wp(Kt):$n;for(re=cn.length-1,k=Be-1;k>=0;k--){const De=oe+k,xe=m[De],Tt=m[De+1],Nn=De+1{const{el:T,type:j,transition:M,children:$,shapeFlag:k}=d;if(k&6){ne(d.component.subTree,m,E,D);return}if(k&128){d.suspense.move(m,E,D);return}if(k&64){j.move(d,m,E,Gt);return}if(j===Le){o(T,m,E);for(let Z=0;Z<$.length;Z++)ne($[Z],m,E,D);o(d.anchor,m,E);return}if(j===nr){L(d,m,E);return}if(D!==2&&k&1&&M)if(D===0)M.beforeEnter(T),o(T,m,E),Ue(()=>M.enter(T),A);else{const{leave:Z,delayLeave:V,afterLeave:J}=M,X=()=>{d.ctx.isUnmounted?r(T):o(T,m,E)},oe=()=>{T._isLeaving&&T[Bt](!0),Z(T,()=>{X(),J&&J()})};V?V(T,X,oe):oe()}else o(T,m,E)},ye=(d,m,E,D=!1,A=!1)=>{const{type:T,props:j,ref:M,children:$,dynamicChildren:k,shapeFlag:Z,patchFlag:V,dirs:J,cacheIndex:X}=d;if(V===-2&&(A=!1),M!=null&&(It(),po(M,null,E,d,!0),zt()),X!=null&&(m.renderCache[X]=void 0),Z&256){m.ctx.deactivate(d);return}const oe=Z&1&&J,de=!In(d);let re;if(de&&(re=j&&j.onVnodeBeforeUnmount)&&wt(re,m,d),Z&6)le(d.component,E,D);else{if(Z&128){d.suspense.unmount(E,D);return}oe&&fn(d,null,m,"beforeUnmount"),Z&64?d.type.remove(d,m,E,Gt,D):k&&!k.hasOnce&&(T!==Le||V>0&&V&64)?je(k,m,E,!1,!0):(T===Le&&V&384||!A&&Z&16)&&je($,m,E),D&&se(d)}(de&&(re=j&&j.onVnodeUnmounted)||oe)&&Ue(()=>{re&&wt(re,m,d),oe&&fn(d,null,m,"unmounted")},E)},se=d=>{const{type:m,el:E,anchor:D,transition:A}=d;if(m===Le){Wt(E,D);return}if(m===nr){x(d);return}const T=()=>{r(E),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(d.shapeFlag&1&&A&&!A.persisted){const{leave:j,delayLeave:M}=A,$=()=>j(E,T);M?M(d.el,T,$):$()}else T()},Wt=(d,m)=>{let E;for(;d!==m;)E=g(d),r(d),d=E;r(m)},le=(d,m,E)=>{const{bum:D,scope:A,job:T,subTree:j,um:M,m:$,a:k}=d;Js($),Js(k),D&&ui(D),A.stop(),T&&(T.flags|=8,ye(j,d,m,E)),M&&Ue(M,m),Ue(()=>{d.isUnmounted=!0},m)},je=(d,m,E,D=!1,A=!1,T=0)=>{for(let j=T;j{if(d.shapeFlag&6)return nt(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=g(d.anchor||d.el),E=m&&m[Vu];return E?g(E):m};let yt=!1;const Gn=(d,m,E)=>{let D;d==null?m._vnode&&(ye(m._vnode,null,null,!0),D=m._vnode.component):b(m._vnode||null,d,m,null,null,null,E),m._vnode=d,yt||(yt=!0,$s(D),zu(),yt=!1)},Gt={p:b,um:ye,m:ne,r:se,mt:N,mc:_,pc:W,pbc:K,n:nt,o:e};return{render:Gn,hydrate:void 0,createApp:np(Gn)}}function vi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function hn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function yp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ps(e,t,n=!1){const o=e.children,r=t.children;if(Q(o)&&Q(r))for(let i=0;i>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function wl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wl(t)}function Js(e){if(e)for(let t=0;te.__isSuspense;function bp(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Iu(e)}const Le=Symbol.for("v-fgt"),Io=Symbol.for("v-txt"),$e=Symbol.for("v-cmt"),nr=Symbol.for("v-stc"),ho=[];let Xe=null;function Ee(e=!1){ho.push(Xe=e?null:[])}function Ep(){ho.pop(),Xe=ho[ho.length-1]||null}let Do=1;function wr(e,t=!1){Do+=e,e<0&&Xe&&t&&(Xe.hasOnce=!0)}function _l(e){return e.dynamicChildren=Do>0?Xe||$n:null,Ep(),Do>0&&Xe&&Xe.push(e),e}function st(e,t,n,o,r,i){return _l(_e(e,t,n,o,r,i,!0))}function ht(e,t,n,o,r){return _l(ve(e,t,n,o,r,!0))}function No(e){return e?e.__v_isVNode===!0:!1}function bn(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,or=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Se(e)||ee(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function _e(e,t=null,n=null,o=0,r=null,i=e===Le?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&or(t),scopeId:qr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Me};return a?(fs(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=we(n)?8:16),Do>0&&!s&&Xe&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Xe.push(u),u}const ve=_p;function _p(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===ol)&&(e=$e),No(e)){const a=an(e,t,!0);return n&&fs(a,n),Do>0&&!i&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(Np(e)&&(e=e.__vccOpts),t){t=br(t);let{class:a,style:u}=t;a&&!we(a)&&(t.class=Rt(a)),me(u)&&(Gr(u)&&!Q(u)&&(u=Ce({},u)),t.style=xn(u))}const s=we(e)?1:El(e)?128:Uu(e)?64:me(e)?4:ee(e)?2:0;return _e(e,t,n,o,r,s,i,!0)}function br(e){return e?Gr(e)||fl(e)?Ce({},e):e:null}function an(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:a,transition:u}=e,l=t?Un(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&xl(l),ref:t&&t.ref?n&&i?Q(i)?i.concat(or(t)):[i,or(t)]:or(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&o&&Co(c,u.clone(c)),c}function Al(e=" ",t=0){return ve(Io,null,e,t)}function en(e="",t=!1){return t?(Ee(),ht($e,null,e)):ve($e,null,e)}function _t(e){return e==null||typeof e=="boolean"?ve($e):Q(e)?ve(Le,null,e.slice()):No(e)?Xt(e):ve(Io,null,String(e))}function Xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function fs(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),fs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!fl(t)?t._ctx=Me:r===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Me},n=32):(t=String(t),o&64?(n=16,t=[Al(t)]):n=8);e.children=t,e.shapeFlag|=n}function Un(...e){const t={};for(let n=0;nze||Me;let Er,zi;{const e=cr(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};Er=t("__VUE_INSTANCE_SETTERS__",n=>ze=n),zi=t("__VUE_SSR_SETTERS__",n=>Po=n)}const zo=e=>{const t=ze;return Er(e),e.scope.on(),()=>{e.scope.off(),Er(t)}},Ys=()=>{ze&&ze.scope.off(),Er(null)};function Sl(e){return e.vnode.shapeFlag&4}let Po=!1;function Cp(e,t=!1,n=!1){t&&zi(t);const{props:o,children:r}=e.vnode,i=Sl(e);cp(e,o,i,t),hp(e,r,n||t);const s=i?Tp(e,t):void 0;return t&&zi(!1),s}function Tp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qd);const{setup:o}=n;if(o){It();const r=e.setupContext=o.length>1?Tl(e):null,i=zo(e),s=Ro(o,e,0,[e.props,r]),a=du(s);if(zt(),i(),(a||e.sp)&&!In(e)&&Qu(e),a){if(s.then(Ys,Ys),t)return s.then(u=>{Qs(e,u)}).catch(u=>{Kr(u,e,0)});e.asyncDep=s}else Qs(e,s)}else Cl(e)}function Qs(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=$u(t)),Cl(e)}function Cl(e,t,n){const o=e.type;e.render||(e.render=o.render||pt);{const r=zo(e);It();try{Jd(e)}finally{zt(),r()}}}const kp={get(e,t){return Ie(e,"get",""),e[t]}};function Tl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kp),slots:e.slots,emit:e.emit,expose:t}}function Xr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($u(ud(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fo)return fo[n](e)},has(t,n){return n in t||n in fo}})):e.proxy}function Dp(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Np(e){return ee(e)&&"__vccOpts"in e}const Pe=(e,t)=>yd(e,t,Po);function Ye(e,t,n){try{wr(-1);const o=arguments.length;return o===2?me(t)&&!Q(t)?No(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&No(n)&&(n=[n]),ve(e,t,n))}finally{wr(1)}}const Pp="3.5.27";let ji;const Xs=typeof window<"u"&&window.trustedTypes;if(Xs)try{ji=Xs.createPolicy("vue",{createHTML:e=>e})}catch{}const kl=ji?e=>ji.createHTML(e):e=>e,Lp="http://www.w3.org/2000/svg",Bp="http://www.w3.org/1998/Math/MathML",Lt=typeof document<"u"?document:null,ea=Lt&&Lt.createElement("template"),Fp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Lt.createElementNS(Lp,e):t==="mathml"?Lt.createElementNS(Bp,e):n?Lt.createElement(e,{is:n}):Lt.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lt.createTextNode(e),createComment:e=>Lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ea.innerHTML=kl(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const a=ea.content;if(o==="svg"||o==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qt="transition",Zn="animation",Lo=Symbol("_vtc"),Dl={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},Op=Ce({},Ku,Dl),$p=e=>(e.displayName="Transition",e.props=Op,e),Jn=$p((e,{slots:t})=>Ye($d,Mp(e),t)),vn=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ta=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function Mp(e){const t={};for(const v in e)v in Dl||(t[v]=e[v]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:l=s,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=Rp(r),b=y&&y[0],S=y&&y[1],{onBeforeEnter:C,onEnter:P,onEnterCancelled:L,onLeave:x,onLeaveCancelled:q,onBeforeAppear:F=C,onAppear:H=P,onAppearCancelled:_=L}=t,B=(v,w,N,z)=>{v._enterCancelled=z,mn(v,w?c:a),mn(v,w?l:s),N&&N()},K=(v,w)=>{v._isLeaving=!1,mn(v,f),mn(v,h),mn(v,g),w&&w()},G=v=>(w,N)=>{const z=v?H:P,R=()=>B(w,v,N);vn(z,[w,R]),na(()=>{mn(w,v?u:i),Pt(w,v?c:a),ta(z)||oa(w,o,b,R)})};return Ce(t,{onBeforeEnter(v){vn(C,[v]),Pt(v,i),Pt(v,s)},onBeforeAppear(v){vn(F,[v]),Pt(v,u),Pt(v,l)},onEnter:G(!1),onAppear:G(!0),onLeave(v,w){v._isLeaving=!0;const N=()=>K(v,w);Pt(v,f),v._enterCancelled?(Pt(v,g),sa(v)):(sa(v),Pt(v,g)),na(()=>{v._isLeaving&&(mn(v,f),Pt(v,h),ta(x)||oa(v,o,S,N))}),vn(x,[v,N])},onEnterCancelled(v){B(v,!1,void 0,!0),vn(L,[v])},onAppearCancelled(v){B(v,!0,void 0,!0),vn(_,[v])},onLeaveCancelled(v){K(v),vn(q,[v])}})}function Rp(e){if(e==null)return null;if(me(e))return[mi(e.enter),mi(e.leave)];{const t=mi(e);return[t,t]}}function mi(e){return Pc(e)}function Pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Lo]||(e[Lo]=new Set)).add(t)}function mn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Lo];n&&(n.delete(t),n.size||(e[Lo]=void 0))}function na(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ip=0;function oa(e,t,n,o){const r=e._endId=++Ip,i=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:u}=zp(e,t);if(!s)return o();const l=s+"end";let c=0;const f=()=>{e.removeEventListener(l,g),i()},g=h=>{h.target===e&&++c>=u&&f()};setTimeout(()=>{c(n[y]||"").split(", "),r=o(`${qt}Delay`),i=o(`${qt}Duration`),s=ra(r,i),a=o(`${Zn}Delay`),u=o(`${Zn}Duration`),l=ra(a,u);let c=null,f=0,g=0;t===qt?s>0&&(c=qt,f=s,g=i.length):t===Zn?l>0&&(c=Zn,f=l,g=u.length):(f=Math.max(s,l),c=f>0?s>l?qt:Zn:null,g=c?c===qt?i.length:u.length:0);const h=c===qt&&/\b(?:transform|all)(?:,|$)/.test(o(`${qt}Property`).toString());return{type:c,timeout:f,propCount:g,hasTransform:h}}function ra(e,t){for(;e.lengthia(n)+ia(e[o])))}function ia(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sa(e){return(e?e.ownerDocument:document).body.offsetHeight}function jp(e,t,n){const o=e[Lo];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _r=Symbol("_vod"),Nl=Symbol("_vsh"),Zo={name:"show",beforeMount(e,{value:t},{transition:n}){e[_r]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Yn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Yn(e,!0),o.enter(e)):o.leave(e,()=>{Yn(e,!1)}):Yn(e,t))},beforeUnmount(e,{value:t}){Yn(e,t)}};function Yn(e,t){e.style.display=t?e[_r]:"none",e[Nl]=!t}const Pl=Symbol("");function Ll(e){const t=ln();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>xr(i,r))},o=()=>{const r=e(t.proxy);t.ce?xr(t.ce,r):Hi(t.subTree,r),n(r)};el(()=>{Iu(o)}),To(()=>{nn(o,pt,{flush:"post"});const r=new MutationObserver(o);r.observe(t.subTree.el.parentNode,{childList:!0}),Vn(()=>r.disconnect())})}function Hi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)xr(e.el,t);else if(e.type===Le)e.children.forEach(n=>Hi(n,t));else if(e.type===nr){let{el:n,anchor:o}=e;for(;n&&(xr(n,t),n!==o);)n=n.nextSibling}}function xr(e,t){if(e.nodeType===1){const n=e.style;let o="";for(const r in t){const i=Rc(t[r]);n.setProperty(`--${r}`,i),o+=`--${r}: ${i};`}n[Pl]=o}}const Hp=/(?:^|;)\s*display\s*:/;function Vp(e,t,n){const o=e.style,r=we(n);let i=!1;if(n&&!r){if(t)if(we(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&rr(o,a,"")}else for(const s in t)n[s]==null&&rr(o,s,"");for(const s in n)s==="display"&&(i=!0),rr(o,s,n[s])}else if(r){if(t!==n){const s=o[Pl];s&&(n+=";"+s),o.cssText=n,i=Hp.test(n)}}else t&&e.removeAttribute("style");_r in e&&(e[_r]=i?o.display:"",e[Nl]&&(o.display="none"))}const aa=/\s*!important$/;function rr(e,t,n){if(Q(n))n.forEach(o=>rr(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Up(e,t);aa.test(n)?e.setProperty(Vt(o),n.replace(aa,""),"important"):e[o]=n}}const ua=["Webkit","Moz","ms"],gi={};function Up(e,t){const n=gi[t];if(n)return n;let o=tt(t);if(o!=="filter"&&o in e)return gi[t]=o;o=zr(o);for(let r=0;ryi||(Zp.then(()=>yi=0),yi=Date.now());function Yp(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;gt(Qp(o,n.value),t,5,[o])};return n.value=e,n.attached=Jp(),n}function Qp(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ha=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Xp=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?jp(e,o,s):t==="style"?Vp(e,n,o):$r(t)?ns(t)||Kp(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ef(e,t,o,s))?(da(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ca(e,t,o,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!we(o))?da(e,tt(t),o,i,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ca(e,t,o,s))};function ef(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ha(t)&&ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ha(t)&&we(n)?!1:t in e}function Mv(e="$style"){{const t=ln();if(!t)return ae;const n=t.type.__cssModules;return n&&n[e]||ae}}const tf=["ctrl","shift","alt","meta"],nf={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)=>tf.some(n=>e[`${n}Key`]&&!t.includes(n))},of=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((r,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(r=>{if(!("key"in r))return;const i=Vt(r.key);if(t.some(s=>s===i||rf[s]===i))return e(r)}))},af=Ce({patchProp:Xp},Fp);let va;function uf(){return va||(va=mp(af))}const Rv=((...e)=>{const t=uf().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=cf(o);if(!r)return;const i=t._component;!ee(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=n(r,!1,lf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t});function lf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cf(e){return we(e)?document.querySelector(e):e}function Iv(e,t,n){const o=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(o))return window._nc_initial_state.get(o);window._nc_initial_state||(window._nc_initial_state=new Map);const r=document.querySelector(o);if(r===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{const i=JSON.parse(atob(r.value));return window._nc_initial_state.set(o,i),i}catch(i){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:i}),n!==void 0)return n;throw new Error(`Could not parse initial state ${t} of ${e}`,{cause:i})}}const ma=(e,t,n)=>{const o=Object.assign({escape:!0},{}),r=function(i,s){return s=s||{},i.replace(/{([^{}]*)}/g,function(a,u){const l=s[u];return o.escape?encodeURIComponent(typeof l=="string"||typeof l=="number"?l.toString():a):typeof l=="string"||typeof l=="number"?l.toString():a})};return e.charAt(0)!=="/"&&(e="/"+e),r(e,{})},zv=(e,t,n)=>{const o=Object.assign({noRewrite:!1},{}),r=hs();return window?.OC?.config?.modRewriteWorking===!0&&!o.noRewrite?r+ma(e):r+"/index.php"+ma(e)},jv=(e,t)=>t.includes(".")?ga(e,"img",t):ga(e,"img",`${t}.svg`),ga=(e,t,n)=>{const o=window?.OC?.coreApps?.includes(e)??!1,r=n.slice(-3)==="php";let i=hs();return r&&!o?(i+=`/index.php/apps/${e}`,i+=`/${encodeURI(t)}`,n!=="index.php"&&(i+=`/${n}`)):!r&&!o?(i=df(e),i+=`/${t}/`,i.at(-1)!=="/"&&(i+="/"),i+=n):(i+=`/${e}`,i+=`/${t}`,i+=`/${n}`),i},Hv=()=>window.location.protocol+"//"+window.location.host+hs();function hs(){let e=window._oc_webroot;if(typeof e>"u"){e=location.pathname;const t=e.indexOf("/index.php/");if(t!==-1)e=e.slice(0,t);else{const n=e.indexOf("/",1);e=e.slice(0,n>0?n:void 0)}}return e}function df(e){return(window._oc_appswebroots??{})[e]??""}const{entries:Bl,setPrototypeOf:ya,isFrozen:pf,getPrototypeOf:ff,getOwnPropertyDescriptor:hf}=Object;let{freeze:Ge,seal:at,create:Vi}=Object,{apply:Ui,construct:Wi}=typeof Reflect<"u"&&Reflect;Ge||(Ge=function(e){return e}),at||(at=function(e){return e}),Ui||(Ui=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r1?t-1:0),o=1;o1?n-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:ir;ya&&ya(e,null);let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const i=n(r);i!==r&&(pf(t)||(t[o]=i),r=i)}e[r]=!0}return e}function bf(e){for(let t=0;t/gm),Sf=at(/\$\{[\w\W]*/gm),Cf=at(/^data-[\-\w.\u00B7-\uFFFF]+$/),Tf=at(/^aria-[\-\w]+$/),Fl=at(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),kf=at(/^(?:\w+script|data):/i),Df=at(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ol=at(/^html$/i),Nf=at(/^[a-z][.\w]*(-[.\w]+)+$/i);var Aa=Object.freeze({__proto__:null,ARIA_ATTR:Tf,ATTR_WHITESPACE:Df,CUSTOM_ELEMENT:Nf,DATA_ATTR:Cf,DOCTYPE_NAME:Ol,ERB_EXPR:Af,IS_ALLOWED_URI:Fl,IS_SCRIPT_OR_DATA:kf,MUSTACHE_EXPR:xf,TMPLIT_EXPR:Sf});const no={element:1,text:3,progressingInstruction:7,comment:8,document:9},Pf=function(){return typeof window>"u"?null:window},Lf=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Sa=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function $l(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pf();const t=p=>$l(p);if(t.version="3.3.1",t.removed=[],!e||!e.document||e.document.nodeType!==no.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const o=n,r=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:a,Element:u,NodeFilter:l,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:g,trustedTypes:h}=e,y=u.prototype,b=to(y,"cloneNode"),S=to(y,"remove"),C=to(y,"nextSibling"),P=to(y,"childNodes"),L=to(y,"parentNode");if(typeof s=="function"){const p=n.createElement("template");p.content&&p.content.ownerDocument&&(n=p.content.ownerDocument)}let x,q="";const{implementation:F,createNodeIterator:H,createDocumentFragment:_,getElementsByTagName:B}=n,{importNode:K}=o;let G=Sa();t.isSupported=typeof Bl=="function"&&typeof L=="function"&&F&&F.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:v,ERB_EXPR:w,TMPLIT_EXPR:N,DATA_ATTR:z,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:W,CUSTOM_ELEMENT:Y}=Aa;let{IS_ALLOWED_URI:te}=Aa,ne=null;const ye=ie({},[...ba,...Ei,..._i,...xi,...Ea]);let se=null;const Wt=ie({},[..._a,...Ai,...xa,...Yo]);let le=Object.seal(Vi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,nt=null;const yt=Object.seal(Vi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Gn=!0,Gt=!0,d=!1,m=!0,E=!1,D=!0,A=!1,T=!1,j=!1,M=!1,$=!1,k=!1,Z=!0,V=!1;const J="user-content-";let X=!0,oe=!1,de={},re=null;const ke=ie({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Be=null;const Je=ie({},["audio","video","img","source","image","track"]);let qe=null;const Kt=ie({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),cn="http://www.w3.org/1998/Math/MathML",De="http://www.w3.org/2000/svg",xe="http://www.w3.org/1999/xhtml";let Tt=xe,Nn=!1,oi=null;const mc=ie({},[cn,De,xe],wi);let jo=ie({},["mi","mo","mn","ms","mtext"]),Ho=ie({},["annotation-xml"]);const gc=ie({},["title","style","font","a","script"]);let Kn=null;const yc=["application/xhtml+xml","text/html"],wc="text/html";let Te=null,Pn=null;const bc=n.createElement("form"),Es=function(p){return p instanceof RegExp||p instanceof Function},ri=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Pn&&Pn===p)){if((!p||typeof p!="object")&&(p={}),p=bt(p),Kn=yc.indexOf(p.PARSER_MEDIA_TYPE)===-1?wc:p.PARSER_MEDIA_TYPE,Te=Kn==="application/xhtml+xml"?wi:ir,ne=ct(p,"ALLOWED_TAGS")?ie({},p.ALLOWED_TAGS,Te):ye,se=ct(p,"ALLOWED_ATTR")?ie({},p.ALLOWED_ATTR,Te):Wt,oi=ct(p,"ALLOWED_NAMESPACES")?ie({},p.ALLOWED_NAMESPACES,wi):mc,qe=ct(p,"ADD_URI_SAFE_ATTR")?ie(bt(Kt),p.ADD_URI_SAFE_ATTR,Te):Kt,Be=ct(p,"ADD_DATA_URI_TAGS")?ie(bt(Je),p.ADD_DATA_URI_TAGS,Te):Je,re=ct(p,"FORBID_CONTENTS")?ie({},p.FORBID_CONTENTS,Te):ke,je=ct(p,"FORBID_TAGS")?ie({},p.FORBID_TAGS,Te):bt({}),nt=ct(p,"FORBID_ATTR")?ie({},p.FORBID_ATTR,Te):bt({}),de=ct(p,"USE_PROFILES")?p.USE_PROFILES:!1,Gn=p.ALLOW_ARIA_ATTR!==!1,Gt=p.ALLOW_DATA_ATTR!==!1,d=p.ALLOW_UNKNOWN_PROTOCOLS||!1,m=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,E=p.SAFE_FOR_TEMPLATES||!1,D=p.SAFE_FOR_XML!==!1,A=p.WHOLE_DOCUMENT||!1,M=p.RETURN_DOM||!1,$=p.RETURN_DOM_FRAGMENT||!1,k=p.RETURN_TRUSTED_TYPE||!1,j=p.FORCE_BODY||!1,Z=p.SANITIZE_DOM!==!1,V=p.SANITIZE_NAMED_PROPS||!1,X=p.KEEP_CONTENT!==!1,oe=p.IN_PLACE||!1,te=p.ALLOWED_URI_REGEXP||Fl,Tt=p.NAMESPACE||xe,jo=p.MATHML_TEXT_INTEGRATION_POINTS||jo,Ho=p.HTML_INTEGRATION_POINTS||Ho,le=p.CUSTOM_ELEMENT_HANDLING||{},p.CUSTOM_ELEMENT_HANDLING&&Es(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(le.tagNameCheck=p.CUSTOM_ELEMENT_HANDLING.tagNameCheck),p.CUSTOM_ELEMENT_HANDLING&&Es(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(le.attributeNameCheck=p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(le.allowCustomizedBuiltInElements=p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),E&&(Gt=!1),$&&(M=!0),de&&(ne=ie({},Ea),se=[],de.html===!0&&(ie(ne,ba),ie(se,_a)),de.svg===!0&&(ie(ne,Ei),ie(se,Ai),ie(se,Yo)),de.svgFilters===!0&&(ie(ne,_i),ie(se,Ai),ie(se,Yo)),de.mathMl===!0&&(ie(ne,xi),ie(se,xa),ie(se,Yo))),p.ADD_TAGS&&(typeof p.ADD_TAGS=="function"?yt.tagCheck=p.ADD_TAGS:(ne===ye&&(ne=bt(ne)),ie(ne,p.ADD_TAGS,Te))),p.ADD_ATTR&&(typeof p.ADD_ATTR=="function"?yt.attributeCheck=p.ADD_ATTR:(se===Wt&&(se=bt(se)),ie(se,p.ADD_ATTR,Te))),p.ADD_URI_SAFE_ATTR&&ie(qe,p.ADD_URI_SAFE_ATTR,Te),p.FORBID_CONTENTS&&(re===ke&&(re=bt(re)),ie(re,p.FORBID_CONTENTS,Te)),p.ADD_FORBID_CONTENTS&&(re===ke&&(re=bt(re)),ie(re,p.ADD_FORBID_CONTENTS,Te)),X&&(ne["#text"]=!0),A&&ie(ne,["html","head","body"]),ne.table&&(ie(ne,["tbody"]),delete je.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw eo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw eo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=p.TRUSTED_TYPES_POLICY,q=x.createHTML("")}else x===void 0&&(x=Lf(h,r)),x!==null&&typeof q=="string"&&(q=x.createHTML(""));Ge&&Ge(p),Pn=p}},_s=ie({},[...Ei,..._i,...Ef]),xs=ie({},[...xi,..._f]),Ec=function(p){let U=L(p);(!U||!U.tagName)&&(U={namespaceURI:Tt,tagName:"template"});const I=ir(p.tagName),he=ir(U.tagName);return oi[p.namespaceURI]?p.namespaceURI===De?U.namespaceURI===xe?I==="svg":U.namespaceURI===cn?I==="svg"&&(he==="annotation-xml"||jo[he]):!!_s[I]:p.namespaceURI===cn?U.namespaceURI===xe?I==="math":U.namespaceURI===De?I==="math"&&Ho[he]:!!xs[I]:p.namespaceURI===xe?U.namespaceURI===De&&!Ho[he]||U.namespaceURI===cn&&!jo[he]?!1:!xs[I]&&(gc[I]||!_s[I]):!!(Kn==="application/xhtml+xml"&&oi[p.namespaceURI]):!1},dn=function(p){Qn(t.removed,{element:p});try{L(p).removeChild(p)}catch{S(p)}},pn=function(p,U){try{Qn(t.removed,{attribute:U.getAttributeNode(p),from:U})}catch{Qn(t.removed,{attribute:null,from:U})}if(U.removeAttribute(p),p==="is")if(M||$)try{dn(U)}catch{}else try{U.setAttribute(p,"")}catch{}},As=function(p){let U=null,I=null;if(j)p=""+p;else{const be=bi(p,/^[\r\n\t ]+/);I=be&&be[0]}Kn==="application/xhtml+xml"&&Tt===xe&&(p=''+p+"");const he=x?x.createHTML(p):p;if(Tt===xe)try{U=new g().parseFromString(he,Kn)}catch{}if(!U||!U.documentElement){U=F.createDocument(Tt,"template",null);try{U.documentElement.innerHTML=Nn?q:he}catch{}}const Fe=U.body||U.documentElement;return p&&I&&Fe.insertBefore(n.createTextNode(I),Fe.childNodes[0]||null),Tt===xe?B.call(U,A?"html":"body")[0]:A?U.documentElement:Fe},Ss=function(p){return H.call(p.ownerDocument||p,p,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},ii=function(p){return p instanceof f&&(typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||!(p.attributes instanceof c)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function")},Cs=function(p){return typeof a=="function"&&p instanceof a};function kt(p,U,I){Jo(p,he=>{he.call(t,U,I,Pn)})}const Ts=function(p){let U=null;if(kt(G.beforeSanitizeElements,p,null),ii(p))return dn(p),!0;const I=Te(p.nodeName);if(kt(G.uponSanitizeElement,p,{tagName:I,allowedTags:ne}),D&&p.hasChildNodes()&&!Cs(p.firstElementChild)&&He(/<[/\w!]/g,p.innerHTML)&&He(/<[/\w!]/g,p.textContent)||p.nodeType===no.progressingInstruction||D&&p.nodeType===no.comment&&He(/<[/\w]/g,p.data))return dn(p),!0;if(!(yt.tagCheck instanceof Function&&yt.tagCheck(I))&&(!ne[I]||je[I])){if(!je[I]&&Ds(I)&&(le.tagNameCheck instanceof RegExp&&He(le.tagNameCheck,I)||le.tagNameCheck instanceof Function&&le.tagNameCheck(I)))return!1;if(X&&!re[I]){const he=L(p)||p.parentNode,Fe=P(p)||p.childNodes;if(Fe&&he){const be=Fe.length;for(let Dt=be-1;Dt>=0;--Dt){const ut=b(Fe[Dt],!0);ut.__removalCount=(p.__removalCount||0)+1,he.insertBefore(ut,C(p))}}}return dn(p),!0}return p instanceof u&&!Ec(p)||(I==="noscript"||I==="noembed"||I==="noframes")&&He(/<\/no(script|embed|frames)/i,p.innerHTML)?(dn(p),!0):(E&&p.nodeType===no.text&&(U=p.textContent,Jo([v,w,N],he=>{U=Xn(U,he," ")}),p.textContent!==U&&(Qn(t.removed,{element:p.cloneNode()}),p.textContent=U)),kt(G.afterSanitizeElements,p,null),!1)},ks=function(p,U,I){if(Z&&(U==="id"||U==="name")&&(I in n||I in bc))return!1;if(!(Gt&&!nt[U]&&He(z,U))&&!(Gn&&He(R,U))&&!(yt.attributeCheck instanceof Function&&yt.attributeCheck(U,p))){if(!se[U]||nt[U]){if(!(Ds(p)&&(le.tagNameCheck instanceof RegExp&&He(le.tagNameCheck,p)||le.tagNameCheck instanceof Function&&le.tagNameCheck(p))&&(le.attributeNameCheck instanceof RegExp&&He(le.attributeNameCheck,U)||le.attributeNameCheck instanceof Function&&le.attributeNameCheck(U,p))||U==="is"&&le.allowCustomizedBuiltInElements&&(le.tagNameCheck instanceof RegExp&&He(le.tagNameCheck,I)||le.tagNameCheck instanceof Function&&le.tagNameCheck(I))))return!1}else if(!qe[U]&&!He(te,Xn(I,W,""))&&!((U==="src"||U==="xlink:href"||U==="href")&&p!=="script"&&gf(I,"data:")===0&&Be[p])&&!(d&&!He(O,Xn(I,W,"")))&&I)return!1}return!0},Ds=function(p){return p!=="annotation-xml"&&bi(p,Y)},Ns=function(p){kt(G.beforeSanitizeAttributes,p,null);const{attributes:U}=p;if(!U||ii(p))return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:se,forceKeepAttr:void 0};let he=U.length;for(;he--;){const Fe=U[he],{name:be,namespaceURI:Dt,value:ut}=Fe,lt=Te(be),si=ut;let Oe=be==="value"?si:yf(si);if(I.attrName=lt,I.attrValue=Oe,I.keepAttr=!0,I.forceKeepAttr=void 0,kt(G.uponSanitizeAttribute,p,I),Oe=I.attrValue,V&&(lt==="id"||lt==="name")&&(pn(be,p),Oe=J+Oe),D&&He(/((--!?|])>)|<\/(style|title|textarea)/i,Oe)){pn(be,p);continue}if(lt==="attributename"&&bi(Oe,"href")){pn(be,p);continue}if(I.forceKeepAttr)continue;if(!I.keepAttr){pn(be,p);continue}if(!m&&He(/\/>/i,Oe)){pn(be,p);continue}E&&Jo([v,w,N],xc=>{Oe=Xn(Oe,xc," ")});const Ps=Te(p.nodeName);if(!ks(Ps,lt,Oe)){pn(be,p);continue}if(x&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!Dt)switch(h.getAttributeType(Ps,lt)){case"TrustedHTML":{Oe=x.createHTML(Oe);break}case"TrustedScriptURL":{Oe=x.createScriptURL(Oe);break}}if(Oe!==si)try{Dt?p.setAttributeNS(Dt,be,Oe):p.setAttribute(be,Oe),ii(p)?dn(p):wa(t.removed)}catch{pn(be,p)}}kt(G.afterSanitizeAttributes,p,null)},_c=function p(U){let I=null;const he=Ss(U);for(kt(G.beforeSanitizeShadowDOM,U,null);I=he.nextNode();)kt(G.uponSanitizeShadowNode,I,null),Ts(I),Ns(I),I.content instanceof i&&p(I.content);kt(G.afterSanitizeShadowDOM,U,null)};return t.sanitize=function(p){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=null,he=null,Fe=null,be=null;if(Nn=!p,Nn&&(p=""),typeof p!="string"&&!Cs(p))if(typeof p.toString=="function"){if(p=p.toString(),typeof p!="string")throw eo("dirty is not a string, aborting")}else throw eo("toString is not a function");if(!t.isSupported)return p;if(T||ri(U),t.removed=[],typeof p=="string"&&(oe=!1),oe){if(p.nodeName){const lt=Te(p.nodeName);if(!ne[lt]||je[lt])throw eo("root node is forbidden and cannot be sanitized in-place")}}else if(p instanceof a)I=As(""),he=I.ownerDocument.importNode(p,!0),he.nodeType===no.element&&he.nodeName==="BODY"||he.nodeName==="HTML"?I=he:I.appendChild(he);else{if(!M&&!E&&!A&&p.indexOf("<")===-1)return x&&k?x.createHTML(p):p;if(I=As(p),!I)return M?null:k?q:""}I&&j&&dn(I.firstChild);const Dt=Ss(oe?p:I);for(;Fe=Dt.nextNode();)Ts(Fe),Ns(Fe),Fe.content instanceof i&&_c(Fe.content);if(oe)return p;if(M){if($)for(be=_.call(I.ownerDocument);I.firstChild;)be.appendChild(I.firstChild);else be=I;return(se.shadowroot||se.shadowrootmode)&&(be=K.call(o,be,!0)),be}let ut=A?I.outerHTML:I.innerHTML;return A&&ne["!doctype"]&&I.ownerDocument&&I.ownerDocument.doctype&&I.ownerDocument.doctype.name&&He(Ol,I.ownerDocument.doctype.name)&&(ut=" `+ut),E&&Jo([v,w,N],lt=>{ut=Xn(ut,lt," ")}),x&&k?x.createHTML(ut):ut},t.setConfig=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ri(p),T=!0},t.clearConfig=function(){Pn=null,T=!1},t.isValidAttribute=function(p,U,I){Pn||ri({});const he=Te(p),Fe=Te(U);return ks(he,Fe,I)},t.addHook=function(p,U){typeof U=="function"&&Qn(G[p],U)},t.removeHook=function(p,U){if(U!==void 0){const I=vf(G[p],U);return I===-1?void 0:mf(G[p],I,1)[0]}return wa(G[p])},t.removeHooks=function(p){G[p]=[]},t.removeAllHooks=function(){G=Sa()},t}var Ml=$l(),Si,Ca;function Bf(){if(Ca)return Si;Ca=1;var e=/["'&<>]/;Si=t;function t(n){var o=""+n,r=e.exec(o);if(!r)return o;var i,s="",a=0,u=0;for(a=r.index;at)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function sr(e,t,n,o,r){const i=typeof n=="object"?n:void 0,s=typeof o=="number"?o:typeof n=="number"?n:void 0,a={escape:!0,sanitize:!0,...typeof r=="object"?r:typeof o=="object"?o:{}},u=y=>y,l=(a.sanitize?Ml.sanitize:u)||u,c=a.escape?Ta:u,f=y=>typeof y=="string"||typeof y=="number",g=(y,b,S)=>y.replace(/%n/g,""+S).replace(/{([^{}]*)}/g,(C,P)=>{if(b===void 0||!(P in b))return c(C);const L=b[P];return f(L)?c(`${L}`):typeof L=="object"&&f(L.value)?(L.escape!==!1?Ta:u)(`${L.value}`):c(C)});let h=(r?.bundle??Rl(e)).translations[t]||t;return h=Array.isArray(h)?h[0]:h,l(typeof i=="object"||s!==void 0?g(h,i,s):h)}function $f(e,t,n,o,r,i){const s="_"+t+"_::_"+n+"_",a=i?.bundle??Rl(e),u=a.translations[s];if(typeof u<"u"){const l=u;if(Array.isArray(l)){const c=a.pluralFunction(o);return sr(e,l[c],r,o,i)}}return o===1?sr(e,t,r,o,i):sr(e,n,r,o,i)}function Mf(e,t=ei()){switch(t==="pt-BR"&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return e===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return e===0||e===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"ga":return e===1?0:e===2?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mk":return e%10===1?0:1;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return e===0?0:e%10===1&&e%100!==11?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return e===1?0:e===2?1:e===8||e===11?2:3;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5;default:return 0}}const Rf=Symbol(""),[If]=window.OC?.config?.version?.split(".")??[],zf=Number.parseInt(If??"32")<32,jf=Symbol.for("NcFormBox:context");function Hf(){return Cn(jf,{isInFormBox:!1,formBoxItemClass:void 0})}const Wn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Vf={class:"button-vue__wrapper"},Uf={class:"button-vue__icon"},Wf={class:"button-vue__text"},Gf=kn({__name:"NcButton",props:{alignment:{default:"center"},ariaLabel:{default:void 0},disabled:{type:Boolean},download:{type:[String,Boolean],default:void 0},href:{default:void 0},pressed:{type:Boolean,default:void 0},size:{default:"normal"},target:{default:"_self"},text:{default:void 0},to:{default:void 0},type:{default:"button"},variant:{default:"secondary"},wide:{type:Boolean}},emits:["click","update:pressed"],setup(e,{emit:t}){const n=e,o=t,{formBoxItemClass:r}=Hf(),i=Cn(Rf,null)!==null,s=Pe(()=>i&&n.to?"RouterLink":n.href?"a":"button"),a=Pe(()=>s.value==="button"&&typeof n.pressed=="boolean"),u=Pe(()=>n.pressed?"primary":n.pressed===!1&&n.variant==="primary"?"secondary":n.variant),l=Pe(()=>u.value.startsWith("tertiary")),c=Pe(()=>n.alignment.split("-")[0]),f=Pe(()=>n.alignment.includes("-")),g=Cn("NcPopover:trigger:attrs",()=>({}),!1),h=Pe(()=>g()),y=Pe(()=>{if(s.value==="RouterLink")return{to:n.to,activeClass:"active"};if(s.value==="a")return{href:n.href||"#",target:n.target,rel:"nofollow noreferrer noopener",download:n.download||void 0};if(s.value==="button")return{...h.value,"aria-pressed":n.pressed,type:n.type,disabled:n.disabled}});function b(S){a.value&&o("update:pressed",!n.pressed),o("click",S)}return(S,C)=>(Ee(),ht(Kd(s.value),Un({class:["button-vue",[`button-vue--size-${S.size}`,{[`button-vue--${u.value}`]:u.value,"button-vue--tertiary":l.value,"button-vue--wide":S.wide,[`button-vue--${c.value}`]:c.value!=="center","button-vue--reverse":f.value,"button-vue--legacy":pe(zf)},pe(r)]],"aria-label":S.ariaLabel},y.value,{onClick:b}),{default:Ne(()=>[_e("span",Vf,[_e("span",Uf,[St(S.$slots,"icon",{},void 0,!0)]),_e("span",Wf,[St(S.$slots,"default",{},()=>[Al(jr(S.text),1)],!0)])])]),_:3},16,["class","aria-label"]))}}),_n=Wn(Gf,[["__scopeId","data-v-06ad9b25"]]);class Kf{bundle;constructor(t){this.bundle={pluralFunction:t,translations:{}}}addTranslations(t){const n=Object.values(t.translations[""]??{}).map(({msgid:o,msgid_plural:r,msgstr:i})=>r!==void 0?[`_${o}_::_${r}_`,i]:[o,i[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(t,n={}){return sr("",t,n,void 0,{bundle:this.bundle})}ngettext(t,n,o,r={}){return $f("",t,n,o,r,{bundle:this.bundle})}}class qf{debug=!1;language="en";translations={};setLanguage(t){return this.language=t,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(ei().replace("-","_"))}addTranslation(t,n){return this.translations[t]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const t=new Kf(n=>Mf(n,this.language));return this.language in this.translations&&t.addTranslations(this.translations[this.language]),t}}function Zf(){return new qf}const Il=Zf().detectLanguage().build(),rt=(...e)=>Il.gettext(...e);function vs(...e){for(const t of e)if(!t.registered){for(const{l:n,t:o}of t){if(n!==ei()||!o)continue;const r=Object.fromEntries(Object.entries(o).map(([i,s])=>[i,{msgid:i,msgid_plural:s.p,msgstr:s.v}]));Il.addTranslations({translations:{"":r}})}t.registered=!0}}const Jf=[{l:"ar",t:{"a few seconds ago":{v:["منذ عدة ثوانٍ"]},"sec. ago":{v:["ثانية مضت"]},"seconds ago":{v:["ثوانٍ مضت"]}}},{l:"ast",t:{"a few seconds ago":{v:["hai unos segundos"]},"sec. ago":{v:["hai segs"]},"seconds ago":{v:["hai segundos"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"cs-CZ",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"da",t:{"a few seconds ago":{v:["et par sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"de",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"de-DE",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"el",t:{"a few seconds ago":{v:["πριν λίγα δευτερόλεπτα"]},"sec. ago":{v:["δευτ. πριν"]},"seconds ago":{v:["δευτερόλεπτα πριν"]}}},{l:"en-GB",t:{"a few seconds ago":{v:["a few seconds ago"]},"sec. ago":{v:["sec. ago"]},"seconds ago":{v:["seconds ago"]}}},{l:"eo",t:{}},{l:"es",t:{"a few seconds ago":{v:["hace unos pocos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-AR",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-EC",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["Segundos atrás"]}}},{l:"es-MX",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"et-EE",t:{"a few seconds ago":{v:["mõni sekund tagasi"]},"sec. ago":{v:["sek. tagasi"]},"seconds ago":{v:["sekundit tagasi"]}}},{l:"eu",t:{"a few seconds ago":{v:["duela segundo batzuk"]},"sec. ago":{v:["duela seg."]},"seconds ago":{v:["duela segundo"]}}},{l:"fa",t:{"a few seconds ago":{v:["چند ثانیه پیش"]},"sec. ago":{v:["چند ثانیه پیش"]},"seconds ago":{v:["چند ثانیه پیش"]}}},{l:"fi",t:{"a few seconds ago":{v:["muutamia sekunteja sitten"]},"sec. ago":{v:["sek. sitten"]},"seconds ago":{v:["sekunteja sitten"]}}},{l:"fr",t:{"a few seconds ago":{v:["il y a quelques instants"]},"sec. ago":{v:["il y a qq. sec."]},"seconds ago":{v:["il y a quelques secondes"]}}},{l:"ga",t:{"a few seconds ago":{v:["cúpla soicind ó shin"]},"sec. ago":{v:["soic. ó shin"]},"seconds ago":{v:["soicind ó shin"]}}},{l:"gl",t:{"a few seconds ago":{v:["hai uns segundos"]},"sec. ago":{v:["segs. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"he",t:{"a few seconds ago":{v:["לפני מספר שניות"]},"sec. ago":{v:["לפני מספר שניות"]},"seconds ago":{v:["לפני מס׳ שניות"]}}},{l:"hr",t:{"a few seconds ago":{v:["prije nekoliko sekundi"]},"sec. ago":{v:["prije nek. sek."]},"seconds ago":{v:["prije nek. sek."]}}},{l:"hu",t:{}},{l:"id",t:{"a few seconds ago":{v:["beberapa detik yang lalu"]},"sec. ago":{v:["dtk. yang lalu"]},"seconds ago":{v:["beberapa detik lalu"]}}},{l:"is",t:{"a few seconds ago":{v:["fyrir örfáum sekúndum síðan"]},"sec. ago":{v:["sek. síðan"]},"seconds ago":{v:["sekúndum síðan"]}}},{l:"it",t:{"a few seconds ago":{v:["pochi secondi fa"]},"sec. ago":{v:["sec. fa"]},"seconds ago":{v:["secondi fa"]}}},{l:"ja",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ja-JP",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ko",t:{"a few seconds ago":{v:["방금 전"]},"sec. ago":{v:["몇 초 전"]},"seconds ago":{v:["초 전"]}}},{l:"lo",t:{"a few seconds ago":{v:["ສອງສາມວິນາທີກ່ອນ"]},"sec. ago":{v:["ວິ. ກ່ອນ"]},"seconds ago":{v:["ວິນາທີກ່ອນ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"a few seconds ago":{v:["пред неколку секунди"]},"sec. ago":{v:["секунда"]},"seconds ago":{v:["секунди"]}}},{l:"my",t:{}},{l:"nb",t:{"a few seconds ago":{v:["noen få sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"nl",t:{"a few seconds ago":{v:["enkele seconden geleden"]},"sec. ago":{v:["sec. geleden"]},"seconds ago":{v:["seconden geleden"]}}},{l:"oc",t:{}},{l:"pl",t:{"a few seconds ago":{v:["kilka sekund temu"]},"sec. ago":{v:["sek. temu"]},"seconds ago":{v:["sekund temu"]}}},{l:"pt-BR",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"pt-PT",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"ro",t:{"a few seconds ago":{v:["acum câteva secunde"]},"sec. ago":{v:["sec. în urmă"]},"seconds ago":{v:["secunde în urmă"]}}},{l:"ru",t:{"a few seconds ago":{v:["несколько секунд назад"]},"sec. ago":{v:["сек. назад"]},"seconds ago":{v:["секунд назад"]}}},{l:"sk",t:{"a few seconds ago":{v:["pred chvíľou"]},"sec. ago":{v:["pred pár sekundami"]},"seconds ago":{v:["pred sekundami"]}}},{l:"sl",t:{}},{l:"sr",t:{"a few seconds ago":{v:["пре неколико секунди"]},"sec. ago":{v:["сек. раније"]},"seconds ago":{v:["секунди раније"]}}},{l:"sv",t:{"a few seconds ago":{v:["några sekunder sedan"]},"sec. ago":{v:["sek. sedan"]},"seconds ago":{v:["sekunder sedan"]}}},{l:"tr",t:{"a few seconds ago":{v:["birkaç saniye önce"]},"sec. ago":{v:["sn. önce"]},"seconds ago":{v:["saniye önce"]}}},{l:"uk",t:{"a few seconds ago":{v:["декілька секунд тому"]},"sec. ago":{v:["с тому"]},"seconds ago":{v:["с тому"]}}},{l:"uz",t:{"a few seconds ago":{v:["bir necha soniya oldin"]},"sec. ago":{v:["sek. oldin"]},"seconds ago":{v:["soniyalar oldin"]}}},{l:"zh-CN",t:{"a few seconds ago":{v:["几秒前"]},"sec. ago":{v:["几秒前"]},"seconds ago":{v:["几秒前"]}}},{l:"zh-HK",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}},{l:"zh-TW",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}}],Yf=[{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hr",t:{Actions:{v:["Radnje"]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"pt-BR",t:{Actions:{v:["Ações"]}}},{l:"pt-PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}}],Qf=[{l:"ar",t:{Close:{v:["إغلاق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"br",t:{Close:{v:["Serriñ"]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavřít"]}}},{l:"cs-CZ",t:{Close:{v:["Zavřít"]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schließen"]}}},{l:"de-DE",t:{Close:{v:["Schließen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en-GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es-AR",t:{Close:{v:["Cerrar"]}}},{l:"es-EC",t:{Close:{v:["Cerrar"]}}},{l:"es-MX",t:{Close:{v:["Cerrar"]}}},{l:"et-EE",t:{Close:{v:["Sulge"]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:["بستن"]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["Dún"]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hr",t:{Close:{v:["Zatvori"]}}},{l:"hu",t:{Close:{v:["Bezárás"]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja-JP",t:{Close:{v:["閉じる"]}}},{l:"ko",t:{Close:{v:["닫기"]}}},{l:"lo",t:{Close:{v:["ປິດ"]}}},{l:"lt-LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"pt-BR",t:{Close:{v:["Fechar"]}}},{l:"pt-PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["Închideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sk",t:{Close:{v:["Zavrieť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sv",t:{Close:{v:["Stäng"]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"uz",t:{Close:{v:["Yopish"]}}},{l:"zh-CN",t:{Close:{v:["关闭"]}}},{l:"zh-HK",t:{Close:{v:["關閉"]}}},{l:"zh-TW",t:{Close:{v:["關閉"]}}}],Vv=[{l:"ar",t:{}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"External documentation":{v:["Externí dokumentace"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"External documentation":{v:["Ekstern dokumentation"]}}},{l:"de",t:{"External documentation":{v:["Externe Dokumentation"]}}},{l:"de-DE",t:{"External documentation":{v:["Externe Dokumentation"]}}},{l:"el",t:{"External documentation":{v:["Εξωτερική τεκμηρίωση"]}}},{l:"en-GB",t:{"External documentation":{v:["External documentation"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"External documentation":{v:["Dokumentatsioon välises allikas"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{"External documentation":{v:["Documentation externe"]}}},{l:"ga",t:{"External documentation":{v:["Doiciméadú seachtrach"]}}},{l:"gl",t:{"External documentation":{v:["Documentación externa"]}}},{l:"he",t:{}},{l:"hr",t:{"External documentation":{v:["Vanjska dokumentacija"]}}},{l:"hu",t:{}},{l:"id",t:{"External documentation":{v:["Dokumentasi eksternal"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{"External documentation":{v:["外部ドキュメント"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"External documentation":{v:["외부 문서"]}}},{l:"lo",t:{"External documentation":{v:["ເອກະສານພາຍນອກ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"External documentation":{v:["Надворешна документација"]}}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{"External documentation":{v:["Externe documentatie"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{"External documentation":{v:["Documentação externa"]}}},{l:"pt-PT",t:{}},{l:"ro",t:{}},{l:"ru",t:{"External documentation":{v:["Внешняя документация"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{"External documentation":{v:["Спољна документација"]}}},{l:"sv",t:{}},{l:"tr",t:{"External documentation":{v:["Dış belgeler"]}}},{l:"uk",t:{"External documentation":{v:["Зовнішня документація"]}}},{l:"uz",t:{"External documentation":{v:["Tashqi hujjatlar"]}}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{"External documentation":{v:["外部文件"]}}},{l:"zh-TW",t:{}}],Uv=[{l:"ar",t:{"Loading …":{v:["التحميل جارٍ ..."]}}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Loading …":{v:["Načítání …"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Loading …":{v:["Indlæser ..."]}}},{l:"de",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"de-DE",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"el",t:{"Loading …":{v:["Φόρτωση  …"]}}},{l:"en-GB",t:{"Loading …":{v:["Loading …"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Loading …":{v:["Laadin …"]}}},{l:"eu",t:{}},{l:"fa",t:{"Loading …":{v:["در حال بارگذاری ..."]}}},{l:"fi",t:{"Loading …":{v:["Ladataan ..."]}}},{l:"fr",t:{"Loading …":{v:["Chargement..."]}}},{l:"ga",t:{"Loading …":{v:["Ag lódáil …"]}}},{l:"gl",t:{"Loading …":{v:["Cargando…"]}}},{l:"he",t:{}},{l:"hr",t:{"Loading …":{v:["Učitavanje …"]}}},{l:"hu",t:{}},{l:"id",t:{"Loading …":{v:["Memuat …"]}}},{l:"is",t:{"Loading …":{v:["Hleð inn …"]}}},{l:"it",t:{}},{l:"ja",t:{"Loading …":{v:["読み込み中 …"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Loading …":{v:["로딩 중 ..."]}}},{l:"lo",t:{"Loading …":{v:["ກຳລັງໂຫຼດ…"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Loading …":{v:["Вчитување …"]}}},{l:"my",t:{}},{l:"nb",t:{"Loading …":{v:["Laster inn..."]}}},{l:"nl",t:{"Loading …":{v:["Laden …"]}}},{l:"oc",t:{}},{l:"pl",t:{"Loading …":{v:["Wczytywanie…"]}}},{l:"pt-BR",t:{"Loading …":{v:["Carregando …"]}}},{l:"pt-PT",t:{"Loading …":{v:["A carregar..."]}}},{l:"ro",t:{}},{l:"ru",t:{"Loading …":{v:["Загрузка …"]}}},{l:"sk",t:{"Loading …":{v:["Nahrávam ..."]}}},{l:"sl",t:{}},{l:"sr",t:{"Loading …":{v:["Учитава се…"]}}},{l:"sv",t:{"Loading …":{v:["Laddar ..."]}}},{l:"tr",t:{"Loading …":{v:["Yükleniyor…"]}}},{l:"uk",t:{"Loading …":{v:["Завантаження …"]}}},{l:"uz",t:{"Loading …":{v:["Yuklanmoqda..."]}}},{l:"zh-CN",t:{"Loading …":{v:["加载中..."]}}},{l:"zh-HK",t:{"Loading …":{v:["加載中 …"]}}},{l:"zh-TW",t:{"Loading …":{v:["正在載入……"]}}}],Xf=[{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentación de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentación de diapositives"]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregiñ an diaporama"]}}},{l:"ca",t:{Next:{v:["Següent"]},"Pause slideshow":{v:["Atura la presentació"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentació"]}}},{l:"cs",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs-CZ",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de-DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en-GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-AR",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"es-MX",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"et-EE",t:{Next:{v:["Edasi"]},"Pause slideshow":{v:["Slaidiesitluse paus"]},Previous:{v:["Eelmine"]},"Start slideshow":{v:["Alusta slaidiesitust"]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:["بعدی"]},"Pause slideshow":{v:["توقف نمایش اسلاید"]},Previous:{v:["قبلی"]},"Start slideshow":{v:["شروع نمایش اسلاید"]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeytä diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Précédent"]},"Start slideshow":{v:["Démarrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispeántas sleamhnán ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispeántas sleamhnán"]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hr",t:{Next:{v:["Sljedeće"]},"Pause slideshow":{v:["Pauziraj dijaprojekciju"]},Previous:{v:["Prethodno"]},"Start slideshow":{v:["Pokreni dijaprojekciju"]}}},{l:"hu",t:{Next:{v:["Következő"]},"Pause slideshow":{v:["Diavetítés szüneteltetése"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavetítés indítása"]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"is",t:{Next:{v:["Næsta"]},"Pause slideshow":{v:["Gera hlé á skyggnusýningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnusýningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja-JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ko",t:{Next:{v:["다음"]},"Pause slideshow":{v:["슬라이드쇼 일시정지"]},Previous:{v:["이전"]},"Start slideshow":{v:["슬라이드쇼 시작"]}}},{l:"lo",t:{Next:{v:["ຕໍ່ໄປ"]},"Pause slideshow":{v:["ຢຸດສະໄລ້ໂຊຊົ່ວຄາວ"]},Previous:{v:["ກ່ອນໜ້າ"]},"Start slideshow":{v:["ເລີ່ມສະໄລ້ໂຊ"]}}},{l:"lt-LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Diavoorstelling pauzeren"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Diavoorstelling starten"]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lançar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajdów"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajdów"]}}},{l:"pt-BR",t:{Next:{v:["Próximo"]},"Pause slideshow":{v:["Pausar apresentação de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresentação de slides"]}}},{l:"pt-PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Începeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sk",t:{Next:{v:["Ďalej"]},"Pause slideshow":{v:["Pozastaviť prezentáciu"]},Previous:{v:["Predchádzajúce"]},"Start slideshow":{v:["Začať prezentáciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sv",t:{Next:{v:["Nästa"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["Föregående"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["Önceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"uz",t:{Next:{v:["Keyingi"]},"Pause slideshow":{v:["Slayd-shouni to'xtatib turish"]},Previous:{v:["Oldingi"]},"Start slideshow":{v:["Slayd-shouni boshlash"]}}},{l:"zh-CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh-HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh-TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}}],Wv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};var Gv="M12,5.5A3.5,3.5 0 0,1 15.5,9A3.5,3.5 0 0,1 12,12.5A3.5,3.5 0 0,1 8.5,9A3.5,3.5 0 0,1 12,5.5M5,8C5.56,8 6.08,8.15 6.53,8.42C6.38,9.85 6.8,11.27 7.66,12.38C7.16,13.34 6.16,14 5,14A3,3 0 0,1 2,11A3,3 0 0,1 5,8M19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14C17.84,14 16.84,13.34 16.34,12.38C17.2,11.27 17.62,9.85 17.47,8.42C17.92,8.15 18.44,8 19,8M5.5,18.25C5.5,16.18 8.41,14.5 12,14.5C15.59,14.5 18.5,16.18 18.5,18.25V20H5.5V18.25M0,20V18.5C0,17.11 1.89,15.94 4.45,15.6C3.86,16.28 3.5,17.22 3.5,18.25V20H0M24,20H20.5V18.25C20.5,17.22 20.14,16.28 19.55,15.6C22.11,15.94 24,17.11 24,18.5V20Z",Kv="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",qv="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",Zv="M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V8A2,2 0 0,1 4,6H8V4A2,2 0 0,1 10,2M14,6V4H10V6H14M10.5,17.5L17.09,10.91L15.68,9.5L10.5,14.67L8.41,12.59L7,14L10.5,17.5Z",Jv="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Yv="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Qv="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",Xv="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",em="M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",tm="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",nm="M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z";class Ar{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(t,n,o){this.scope=`${o?Ar.GLOBAL_SCOPE_PERSISTENT:Ar.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=n}scopeKey(t){return`${this.scope}${t}`}setItem(t,n){this.wrapped.setItem(this.scopeKey(t),n)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class e0{appId;persisted=!1;clearedOnLogout=!1;constructor(t){this.appId=t}persist(t=!0){return this.persisted=t,this}clearOnLogout(t=!0){return this.clearedOnLogout=t,this}build(){return new Ar(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function t0(e){return new e0(e)}let vo;const zl=[];function om(){return vo===void 0&&(vo=document.head.dataset.requesttoken??null),vo}function rm(e){zl.push(e)}Sc("csrf-token-update",e=>{vo=e.token,zl.forEach(t=>{try{t(vo)}catch(n){console.error("Error updating CSRF token observer",n)}})});t0("public").persist().build();let Bn;function ka(e,t){return e?e.getAttribute(t):null}function n0(){if(Bn!==void 0)return Bn;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=ka(e,"data-user");return t===null?(Bn=null,Bn):(Bn={uid:t,displayName:ka(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Bn)}var Ae=(e=>(e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal",e))(Ae||{});class o0{context;constructor(t){this.context=t||{}}formatMessage(t,n,o){let r="["+Ae[n].toUpperCase()+"] ";return o&&o.app&&(r+=o.app+": "),typeof t=="string"?r+t:(r+=`Unexpected ${t.name}`,t.message&&(r+=` "${t.message}"`),n===Ae.Debug&&t.stack&&(r+=` Stack trace: ${t.stack}`),r)}log(t,n,o){if(!(typeof this.context?.level=="number"&&t{document.readyState==="complete"||document.readyState==="interactive"?(t.context.level=window._oc_config?.loglevel??Ae.Warn,window._oc_debug&&(t.context.level=Ae.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function s0(){return new i0(r0)}function Da(e,t){return yu()?(zc(e,t),!0):!1}const Gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const a0=Object.prototype.toString,u0=e=>a0.call(e)==="[object Object]";function Ci(e){return Array.isArray(e)?e:[e]}function l0(e,t=1e3,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n;let i=null;const s=as(!1);function a(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,a()}function l(){const c=tn(t);c<=0||(s.value=!0,r&&e(),a(),s.value&&(i=setInterval(e,c)))}return o&&Gi&&l(),(Se(t)||typeof t=="function")&&Da(nn(t,()=>{s.value&&Gi&&l()})),Da(u),{isActive:ad(s),pause:u,resume:l}}function c0(e,t,n){return nn(e,t,{...n,immediate:!0})}const jl=Gi?window:void 0;function d0(e){var t;const n=tn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ar(...e){const t=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=Pe(()=>{const o=Ci(tn(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return c0(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>d0(i)))!==null&&o!==void 0?o:[jl].filter(i=>i!=null),Ci(tn(n.value?e[1]:e[0])),Ci(pe(n.value?e[2]:e[1])),tn(n.value?e[3]:e[2])]},([o,r,i,s],a,u)=>{if(!o?.length||!r?.length||!i?.length)return;const l=u0(s)?{...s}:s,c=o.flatMap(f=>r.flatMap(g=>i.map(h=>t(f,g,h,l))));u(()=>{c.forEach(f=>f())})},{flush:"post"})}function p0(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Na(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=jl,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=o,u=p0(t);return ar(r,i,l=>{l.repeat&&tn(a)||u(l)&&n(l)},s)}function f0(e,t={}){const{threshold:n=50,onSwipe:o,onSwipeEnd:r,onSwipeStart:i,passive:s=!0}=t,a=xo({x:0,y:0}),u=xo({x:0,y:0}),l=Pe(()=>a.x-u.x),c=Pe(()=>a.y-u.y),{max:f,abs:g}=Math,h=Pe(()=>f(g(l.value),g(c.value))>=n),y=as(!1),b=Pe(()=>h.value?g(l.value)>g(c.value)?l.value>0?"left":"right":c.value>0?"up":"down":"none"),S=F=>[F.touches[0].clientX,F.touches[0].clientY],C=(F,H)=>{a.x=F,a.y=H},P=(F,H)=>{u.x=F,u.y=H},L={passive:s,capture:!s},x=F=>{y.value&&r?.(F,b.value),y.value=!1},q=[ar(e,"touchstart",F=>{if(F.touches.length!==1)return;const[H,_]=S(F);C(H,_),P(H,_),i?.(F)},L),ar(e,"touchmove",F=>{if(F.touches.length!==1)return;const[H,_]=S(F);P(H,_),L.capture&&!L.passive&&Math.abs(l.value)>Math.abs(c.value)&&F.preventDefault(),!y.value&&h.value&&(y.value=!0),y.value&&o?.(F)},L),ar(e,["touchend","touchcancel"],x,L)];return{isSwiping:y,direction:b,coordsStart:a,coordsEnd:u,lengthX:l,lengthY:c,stop:()=>q.forEach(F=>F())}}window._nc_vue_element_id=window._nc_vue_element_id??0;function Hl(){return`nc-vue-${window._nc_vue_element_id++}`}const h0=["aria-hidden","aria-label"],v0={key:0,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},m0=["d"],g0=["innerHTML"],y0=kn({__name:"NcIconSvgWrapper",props:{directional:{type:Boolean},inline:{type:Boolean},svg:{default:""},name:{default:void 0},path:{default:""},size:{default:20}},setup(e){Ll(r=>({fb515064:n.value}));const t=e,n=Pe(()=>typeof t.size=="number"?`${t.size}px`:t.size),o=Pe(()=>{if(!t.svg||t.path)return;const r=Ml.sanitize(t.svg),i=new DOMParser().parseFromString(r,"image/svg+xml");return i.querySelector("parsererror")?"":(i.documentElement.id&&i.documentElement.removeAttribute("id"),i.documentElement.outerHTML)});return(r,i)=>(Ee(),st("span",{"aria-hidden":r.name?void 0:"true","aria-label":r.name||void 0,class:Rt(["icon-vue",{"icon-vue--directional":r.directional,"icon-vue--inline":r.inline}]),role:"img"},[o.value?(Ee(),st("span",{key:1,innerHTML:o.value},null,8,g0)):(Ee(),st("svg",v0,[_e("path",{d:r.path},null,8,m0)]))],10,h0))}}),oo=Wn(y0,[["__scopeId","data-v-aaedb1c3"]]);var im="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",sm="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",w0="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",b0="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Pa="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",E0="M14,19H18V5H14M6,19H10V5H6V19Z",_0="M8,5.14V19.14L19,12.14L8,5.14Z",Vl=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Sr=Vl.join(","),Ul=typeof Element>"u",Tn=Ul?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Cr=!Ul&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Tr=function(e,t){var n;t===void 0&&(t=!0);var o=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),r=o===""||o==="true",i=r||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):Tr(e.parentNode));return i},x0=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},Wl=function(e,t,n){if(Tr(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(Sr));return t&&Tn.call(e,Sr)&&o.unshift(e),o=o.filter(n),o},kr=function(e,t,n){for(var o=[],r=Array.from(e);r.length;){var i=r.shift();if(!Tr(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),a=s.length?s:i.children,u=kr(a,!0,n);n.flatten?o.push.apply(o,u):o.push({scopeParent:i,candidates:u})}else{var l=Tn.call(i,Sr);l&&n.filter(i)&&(t||!e.includes(i))&&o.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),f=!Tr(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&f){var g=kr(c===!0?i.children:c.children,!0,n);n.flatten?o.push.apply(o,g):o.push({scopeParent:i,candidates:g})}else r.unshift.apply(r,i.children)}}return o},Gl=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},En=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||x0(e))&&!Gl(e)?0:e.tabIndex},A0=function(e,t){var n=En(e);return n<0&&t&&!Gl(e)?0:n},S0=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Kl=function(e){return e.tagName==="INPUT"},C0=function(e){return Kl(e)&&e.type==="hidden"},T0=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},k0=function(e,t){for(var n=0;nsummary:first-of-type"),s=i?e.parentElement:e;if(Tn.call(s,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof o=="function"){for(var a=e;e;){var u=e.parentElement,l=Cr(e);if(u&&!u.shadowRoot&&o(u)===!0)return La(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=a}if(L0(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return La(e);return!1},F0=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},ql=function(e){var t=[],n=[];return e.forEach(function(o,r){var i=!!o.scopeParent,s=i?o.scopeParent:o,a=A0(s,i),u=i?ql(o.candidates):s;a===0?i?t.push.apply(t,u):t.push(s):n.push({documentOrder:r,tabIndex:a,item:o,isScope:i,content:u})}),n.sort(S0).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(t)},$0=function(e,t){t=t||{};var n;return t.getShadowRoot?n=kr([e],t.includeContainer,{filter:Ki.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:O0}):n=Wl(e,t.includeContainer,Ki.bind(null,t)),ql(n)},M0=function(e,t){t=t||{};var n;return t.getShadowRoot?n=kr([e],t.includeContainer,{filter:Dr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=Wl(e,t.includeContainer,Dr.bind(null,t)),n},Fn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Tn.call(e,Sr)===!1?!1:Ki(t,e)},R0=Vl.concat("iframe:not([inert]):not([inert] *)").join(","),Ti=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Tn.call(e,R0)===!1?!1:Dr(t,e)};function qi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return s=u.done,u},e:function(u){a=!0,i=u},f:function(){try{s||n.return==null||n.return()}finally{if(a)throw i}}}}function z0(e,t,n){return(t=W0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j0(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function H0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Ma(e){for(var t=1;t3?(R=Y===z)&&(_=O[(H=O[4])?5:(H=3,3)],O[4]=O[5]=e):O[0]<=W&&((R=N<2&&Wz||z>Y)&&(O[4]=N,O[5]=z,v.n=Y,H=0))}if(R||N>1)return s;throw G=!0,z}return function(N,z,R){if(B>1)throw TypeError("Generator is already running");for(G&&z===1&&w(z,R),H=z,_=R;(t=H<2?e:_)||!G;){F||(H?H<3?(H>1&&(v.n=-1),w(H,_)):v.n=_:v.v=_);try{if(B=2,F){if(H||(N="next"),t=F[N]){if(!(t=t.call(F,_)))throw TypeError("iterator result is not an object");if(!t.done)return t;_=t.value,H<2&&(H=0)}else H===1&&(t=F.return)&&t.call(F),H<2&&(_=TypeError("The iterator does not provide a '"+N+"' method"),H=1);F=e}else if((t=(G=v.n<0)?_:L.call(x,v))!==s)break}catch(O){F=e,H=1,_=O}finally{B=1}}return{value:t,done:G}}})(h,b,S),!0),P}var s={};function a(){}function u(){}function l(){}t=Object.getPrototypeOf;var c=[][o]?t(t([][o]())):(Qe(t={},o,function(){return this}),t),f=l.prototype=a.prototype=Object.create(c);function g(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,l):(h.__proto__=l,Qe(h,r,"GeneratorFunction")),h.prototype=Object.create(f),h}return u.prototype=l,Qe(f,"constructor",l),Qe(l,"constructor",u),u.displayName="GeneratorFunction",Qe(l,r,"GeneratorFunction"),Qe(f),Qe(f,r,"Generator"),Qe(f,o,function(){return this}),Qe(f,"toString",function(){return"[object Generator]"}),(so=function(){return{w:i,m:g}})()}function Qe(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch{r=0}Qe=function(i,s,a,u){function l(c,f){Qe(i,c,function(g){return this._invoke(c,f,g)})}s?r?r(i,s,{value:a,enumerable:!u,configurable:!u,writable:!u}):i[s]=a:(l("next",0),l("throw",1),l("return",2))},Qe(e,t,n,o)}function V0(e){return I0(e)||j0(e)||Zl(e)||H0()}function U0(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function W0(e){var t=U0(e,"string");return typeof t=="symbol"?t:t+""}function Zl(e,t){if(e){if(typeof e=="string")return qi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qi(e,t):void 0}}var $t={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){var n=$t.getActiveTrap(e);t!==n&&$t.pauseTrap(e);var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),$t.unpauseTrap(e)},pauseTrap:function(e){var t=$t.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=$t.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},G0=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},K0=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},mo=function(e){return e?.key==="Tab"||e?.keyCode===9},q0=function(e){return mo(e)&&!e.shiftKey},Z0=function(e){return mo(e)&&e.shiftKey},Ra=function(e){return setTimeout(e,0)},ro=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:{},N=w.hasFallback,z=N===void 0?!1:N,R=w.params,O=R===void 0?[]:R,W=r[v];if(typeof W=="function"&&(W=W.apply(void 0,V0(O))),W===!0&&(W=void 0),!W){if(W===void 0||W===!1)return W;throw new Error("`".concat(v,"` was specified but was not a node, or did not return a node"))}var Y=W;if(typeof W=="string"){try{Y=n.querySelector(W)}catch(te){throw new Error("`".concat(v,'` appears to be an invalid selector; error="').concat(te.message,'"'))}if(!Y&&!z)throw new Error("`".concat(v,"` as selector refers to no known node"))}return Y},c=function(){var v=l("initialFocus",{hasFallback:!0});if(v===!1)return!1;if(v===void 0||v&&!Ti(v,r.tabbableOptions))if(u(n.activeElement)>=0)v=n.activeElement;else{var w=i.tabbableGroups[0],N=w&&w.firstTabbableNode;v=N||l("fallbackFocus")}else v===null&&(v=l("fallbackFocus"));if(!v)throw new Error("Your focus-trap needs to have at least one focusable element");return v},f=function(){if(i.containerGroups=i.containers.map(function(v){var w=$0(v,r.tabbableOptions),N=M0(v,r.tabbableOptions),z=w.length>0?w[0]:void 0,R=w.length>0?w[w.length-1]:void 0,O=N.find(function(te){return Fn(te)}),W=N.slice().reverse().find(function(te){return Fn(te)}),Y=!!w.find(function(te){return En(te)>0});return{container:v,tabbableNodes:w,focusableNodes:N,posTabIndexesFound:Y,firstTabbableNode:z,lastTabbableNode:R,firstDomTabbableNode:O,lastDomTabbableNode:W,nextTabbableNode:function(te){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ye=w.indexOf(te);return ye<0?ne?N.slice(N.indexOf(te)+1).find(function(se){return Fn(se)}):N.slice(0,N.indexOf(te)).reverse().find(function(se){return Fn(se)}):w[ye+(ne?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(v){return v.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(v){return v.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},g=function(v){var w=v.activeElement;if(w)return w.shadowRoot&&w.shadowRoot.activeElement!==null?g(w.shadowRoot):w},h=function(v){if(v!==!1&&v!==g(document)){if(!v||!v.focus){h(c());return}v.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=v,G0(v)&&v.select()}},y=function(v){var w=l("setReturnFocus",{params:[v]});return w||(w===!1?!1:v)},b=function(v){var w=v.target,N=v.event,z=v.isBackward,R=z===void 0?!1:z;w=w||Qo(N),f();var O=null;if(i.tabbableGroups.length>0){var W=u(w,N),Y=W>=0?i.containerGroups[W]:void 0;if(W<0)R?O=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:O=i.tabbableGroups[0].firstTabbableNode;else if(R){var te=i.tabbableGroups.findIndex(function(je){var nt=je.firstTabbableNode;return w===nt});if(te<0&&(Y.container===w||Ti(w,r.tabbableOptions)&&!Fn(w,r.tabbableOptions)&&!Y.nextTabbableNode(w,!1))&&(te=W),te>=0){var ne=te===0?i.tabbableGroups.length-1:te-1,ye=i.tabbableGroups[ne];O=En(w)>=0?ye.lastTabbableNode:ye.lastDomTabbableNode}else mo(N)||(O=Y.nextTabbableNode(w,!1))}else{var se=i.tabbableGroups.findIndex(function(je){var nt=je.lastTabbableNode;return w===nt});if(se<0&&(Y.container===w||Ti(w,r.tabbableOptions)&&!Fn(w,r.tabbableOptions)&&!Y.nextTabbableNode(w))&&(se=W),se>=0){var Wt=se===i.tabbableGroups.length-1?0:se+1,le=i.tabbableGroups[Wt];O=En(w)>=0?le.firstTabbableNode:le.firstDomTabbableNode}else mo(N)||(O=Y.nextTabbableNode(w))}}else O=l("fallbackFocus");return O},S=function(v){var w=Qo(v);if(!(u(w,v)>=0)){if(ro(r.clickOutsideDeactivates,v)){s.deactivate({returnFocus:r.returnFocusOnDeactivate});return}ro(r.allowOutsideClick,v)||v.preventDefault()}},C=function(v){var w=Qo(v),N=u(w,v)>=0;if(N||w instanceof Document)N&&(i.mostRecentlyFocusedNode=w);else{v.stopImmediatePropagation();var z,R=!0;if(i.mostRecentlyFocusedNode)if(En(i.mostRecentlyFocusedNode)>0){var O=u(i.mostRecentlyFocusedNode),W=i.containerGroups[O].tabbableNodes;if(W.length>0){var Y=W.findIndex(function(te){return te===i.mostRecentlyFocusedNode});Y>=0&&(r.isKeyForward(i.recentNavEvent)?Y+1=0&&(z=W[Y-1],R=!1))}}else i.containerGroups.some(function(te){return te.tabbableNodes.some(function(ne){return En(ne)>0})})||(R=!1);else R=!1;R&&(z=b({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),h(z||i.mostRecentlyFocusedNode||c())}i.recentNavEvent=void 0},P=function(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=v;var N=b({event:v,isBackward:w});N&&(mo(v)&&v.preventDefault(),h(N))},L=function(v){(r.isKeyForward(v)||r.isKeyBackward(v))&&P(v,r.isKeyBackward(v))},x=function(v){K0(v)&&ro(r.escapeDeactivates,v)!==!1&&(v.preventDefault(),s.deactivate())},q=function(v){var w=Qo(v);u(w,v)>=0||ro(r.clickOutsideDeactivates,v)||ro(r.allowOutsideClick,v)||(v.preventDefault(),v.stopImmediatePropagation())},F=function(){if(!i.active)return Promise.resolve();$t.activateTrap(o,s);var v;return r.delayInitialFocus?v=new Promise(function(w){i.delayInitialFocusTimer=Ra(function(){h(c()),w()})}):(v=Promise.resolve(),h(c())),n.addEventListener("focusin",C,!0),n.addEventListener("mousedown",S,{capture:!0,passive:!1}),n.addEventListener("touchstart",S,{capture:!0,passive:!1}),n.addEventListener("click",q,{capture:!0,passive:!1}),n.addEventListener("keydown",L,{capture:!0,passive:!1}),n.addEventListener("keydown",x),v},H=function(v){i.active&&!i.paused&&s._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var w=new Set,N=new Set,z=Oa(v),R;try{for(z.s();!(R=z.n()).done;){var O=R.value;w.add(O);for(var W=typeof ShadowRoot<"u"&&O.getRootNode()instanceof ShadowRoot,Y=O;Y;){w.add(Y);var te=Y.parentElement,ne=[];te?ne=te.children:!te&&W&&(ne=Y.getRootNode().children,te=Y.getRootNode().host,W=typeof ShadowRoot<"u"&&te.getRootNode()instanceof ShadowRoot);var ye=Oa(ne),se;try{for(ye.s();!(se=ye.n()).done;){var Wt=se.value;N.add(Wt)}}catch(le){ye.e(le)}finally{ye.f()}Y=te}}}catch(le){z.e(le)}finally{z.f()}w.forEach(function(le){N.delete(le)}),i.adjacentElements=N},_=function(){if(i.active)return n.removeEventListener("focusin",C,!0),n.removeEventListener("mousedown",S,!0),n.removeEventListener("touchstart",S,!0),n.removeEventListener("click",q,!0),n.removeEventListener("keydown",L,!0),n.removeEventListener("keydown",x),s},B=function(v){var w=v.some(function(N){var z=Array.from(N.removedNodes);return z.some(function(R){return R===i.mostRecentlyFocusedNode})});w&&h(c())},K=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(B):void 0,G=function(){K&&(K.disconnect(),i.active&&!i.paused&&i.containers.map(function(v){K.observe(v,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(v){if(i.active)return this;var w=a(v,"onActivate"),N=a(v,"onPostActivate"),z=a(v,"checkCanFocusTrap"),R=$t.getActiveTrap(o),O=!1;if(R&&!R.paused){var W;(W=R._setSubtreeIsolation)===null||W===void 0||W.call(R,!1),O=!0}try{z||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=g(n),w?.();var Y=(function(){var ne=Fa(so().m(function ye(){return so().w(function(se){for(;;)switch(se.n){case 0:return z&&f(),se.n=1,F();case 1:s._setSubtreeIsolation(!0),G(),N?.();case 2:return se.a(2)}},ye)}));return function(){return ne.apply(this,arguments)}})();if(z)return z(i.containers.concat()).then(Y,Y),this;Y()}catch(ne){if(R===$t.getActiveTrap(o)&&O){var te;(te=R._setSubtreeIsolation)===null||te===void 0||te.call(R,!0)}throw ne}return this},deactivate:function(v){if(!i.active)return this;var w=Ma({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},v);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||s._setSubtreeIsolation(!1),i.alreadySilent.clear(),_(),i.active=!1,i.paused=!1,G(),$t.deactivateTrap(o,s);var N=a(w,"onDeactivate"),z=a(w,"onPostDeactivate"),R=a(w,"checkCanReturnFocus"),O=a(w,"returnFocus","returnFocusOnDeactivate");N?.();var W=function(){Ra(function(){O&&h(y(i.nodeFocusedBeforeActivation)),z?.()})};return O&&R?(R(y(i.nodeFocusedBeforeActivation)).then(W,W),this):(W(),this)},pause:function(v){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,v)):this},unpause:function(v){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,v)):this},updateContainerElements:function(v){var w=[].concat(v).filter(Boolean);return i.containers=w.map(function(N){return typeof N=="string"?n.querySelector(N):N}),r.isolateSubtrees&&H(i.containers),i.active&&(f(),i.paused||s._setSubtreeIsolation(!0)),G(),this}},Object.defineProperties(s,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(v,w){if(i.paused===v)return this;if(i.paused=v,v){var N=a(w,"onPause"),z=a(w,"onPostPause");N?.(),_(),s._setSubtreeIsolation(!1),G(),z?.()}else{var R=a(w,"onUnpause"),O=a(w,"onPostUnpause");R?.();var W=(function(){var Y=Fa(so().m(function te(){return so().w(function(ne){for(;;)switch(ne.n){case 0:return f(),ne.n=1,F();case 1:s._setSubtreeIsolation(!0),G(),O?.();case 2:return ne.a(2)}},te)}));return function(){return Y.apply(this,arguments)}})();W()}return this}},_setSubtreeIsolation:{value:function(v){r.isolateSubtrees&&i.adjacentElements.forEach(function(w){var N;v?r.isolateSubtrees==="aria-hidden"?((w.ariaHidden==="true"||((N=w.getAttribute("aria-hidden"))===null||N===void 0?void 0:N.toLowerCase())==="true")&&i.alreadySilent.add(w),w.setAttribute("aria-hidden","true")):((w.inert||w.hasAttribute("inert"))&&i.alreadySilent.add(w),w.setAttribute("inert",!0)):i.alreadySilent.has(w)||(r.isolateSubtrees==="aria-hidden"?w.removeAttribute("aria-hidden"):w.removeAttribute("inert"))})}}}),s.updateContainerElements(e),s};function Bo(){return window._nc_focus_trap??=[],window._nc_focus_trap}function Y0(){let e=[];return{pause(){e=[...Bo()];for(const t of e)t.pause()},unpause(){if(e.length===Bo().length)for(const t of e)t.unpause();e=[]}}}function Q0(e,t={}){const n=Y0();nn(e,()=>{tn(t.disabled)||(tn(e)?n.pause():n.unpause())}),Vn(()=>{n.unpause()})}const X0=["top","right","bottom","left"],Ia=["start","end"],za=X0.reduce((e,t)=>e.concat(t,t+"-"+Ia[0],t+"-"+Ia[1]),[]),Fo=Math.min,wn=Math.max,eh={left:"right",right:"left",bottom:"top",top:"bottom"},th={start:"end",end:"start"};function Zi(e,t,n){return wn(e,Fo(t,n))}function Dn(e,t){return typeof e=="function"?e(t):e}function Ct(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function Yl(e){return e==="x"?"y":"x"}function ms(e){return e==="y"?"height":"width"}const nh=new Set(["top","bottom"]);function Mt(e){return nh.has(Ct(e))?"y":"x"}function gs(e){return Yl(Mt(e))}function Ql(e,t,n){n===void 0&&(n=!1);const o=vt(e),r=gs(e),i=ms(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Pr(s)),[s,Pr(s)]}function oh(e){const t=Pr(e);return[Nr(e),t,Nr(t)]}function Nr(e){return e.replace(/start|end/g,t=>th[t])}const ja=["left","right"],Ha=["right","left"],rh=["top","bottom"],ih=["bottom","top"];function sh(e,t,n){switch(e){case"top":case"bottom":return n?t?Ha:ja:t?ja:Ha;case"left":case"right":return t?rh:ih;default:return[]}}function ah(e,t,n,o){const r=vt(e);let i=sh(Ct(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Nr)))),i}function Pr(e){return e.replace(/left|right|bottom|top/g,t=>eh[t])}function uh(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xl(e){return typeof e!="number"?uh(e):{top:e,right:e,bottom:e,left:e}}function go(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Va(e,t,n){let{reference:o,floating:r}=e;const i=Mt(t),s=gs(t),a=ms(s),u=Ct(t),l=i==="y",c=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,g=o[a]/2-r[a]/2;let h;switch(u){case"top":h={x:c,y:o.y-r.height};break;case"bottom":h={x:c,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(vt(t)){case"start":h[s]-=g*(n&&l?-1:1);break;case"end":h[s]+=g*(n&&l?-1:1);break}return h}async function lh(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:g=!1,padding:h=0}=Dn(t,e),y=Xl(h),b=a[g?f==="floating"?"reference":"floating":f],S=go(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:u})),C=f==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),L=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},x=go(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:P,strategy:u}):C);return{top:(S.top-x.top+y.top)/L.y,bottom:(x.bottom-S.bottom+y.bottom)/L.y,left:(S.left-x.left+y.left)/L.x,right:(x.right-S.right+y.right)/L.x}}const ch=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:f}=Va(l,o,u),g=o,h={},y=0;for(let S=0;S({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:u}=t,{element:l,padding:c=0}=Dn(e,t)||{};if(l==null)return{};const f=Xl(c),g={x:n,y:o},h=gs(r),y=ms(h),b=await s.getDimensions(l),S=h==="y",C=S?"top":"left",P=S?"bottom":"right",L=S?"clientHeight":"clientWidth",x=i.reference[y]+i.reference[h]-g[h]-i.floating[y],q=g[h]-i.reference[h],F=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let H=F?F[L]:0;(!H||!await(s.isElement==null?void 0:s.isElement(F)))&&(H=a.floating[L]||i.floating[y]);const _=x/2-q/2,B=H/2-b[y]/2-1,K=Fo(f[C],B),G=Fo(f[P],B),v=K,w=H-b[y]-G,N=H/2-b[y]/2+_,z=Zi(v,N,w),R=!u.arrow&&vt(r)!=null&&N!==z&&i.reference[y]/2-(Nvt(o)===e),...n.filter(o=>vt(o)!==e)]:n.filter(o=>Ct(o)===o)).filter(o=>e?vt(o)===e||(t?Nr(o)!==o:!1):!0)}const fh=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:s,placement:a,platform:u,elements:l}=t,{crossAxis:c=!1,alignment:f,allowedPlacements:g=za,autoAlignment:h=!0,...y}=Dn(e,t),b=f!==void 0||g===za?ph(f||null,h,g):g,S=await u.detectOverflow(t,y),C=((n=s.autoPlacement)==null?void 0:n.index)||0,P=b[C];if(P==null)return{};const L=Ql(P,i,await(u.isRTL==null?void 0:u.isRTL(l.floating)));if(a!==P)return{reset:{placement:b[0]}};const x=[S[Ct(P)],S[L[0]],S[L[1]]],q=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:P,overflows:x}],F=b[C+1];if(F)return{data:{index:C+1,overflows:q},reset:{placement:F}};const H=q.map(B=>{const K=vt(B.placement);return[B.placement,K&&c?B.overflows.slice(0,2).reduce((G,v)=>G+v,0):B.overflows[0],B.overflows]}).sort((B,K)=>B[1]-K[1]),_=((r=H.filter(B=>B[2].slice(0,vt(B[0])?2:3).every(K=>K<=0))[0])==null?void 0:r[0])||H[0][0];return _!==a?{data:{index:C+1,overflows:q},reset:{placement:_}}:{}}}},hh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...S}=Dn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const C=Ct(r),P=Mt(a),L=Ct(a)===a,x=await(u.isRTL==null?void 0:u.isRTL(l.floating)),q=g||(L||!b?[Pr(a)]:oh(a)),F=y!=="none";!g&&F&&q.push(...ah(a,b,y,x));const H=[a,...q],_=await u.detectOverflow(t,S),B=[];let K=((o=i.flip)==null?void 0:o.overflows)||[];if(c&&B.push(_[C]),f){const N=Ql(r,s,x);B.push(_[N[0]],_[N[1]])}if(K=[...K,{placement:r,overflows:B}],!B.every(N=>N<=0)){var G,v;const N=(((G=i.flip)==null?void 0:G.index)||0)+1,z=H[N];if(z&&(!(f==="alignment"&&P!==Mt(z))||K.every(O=>Mt(O.placement)===P?O.overflows[0]>0:!0)))return{data:{index:N,overflows:K},reset:{placement:z}};let R=(v=K.filter(O=>O.overflows[0]<=0).sort((O,W)=>O.overflows[1]-W.overflows[1])[0])==null?void 0:v.placement;if(!R)switch(h){case"bestFit":{var w;const O=(w=K.filter(W=>{if(F){const Y=Mt(W.placement);return Y===P||Y==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Y=>Y>0).reduce((Y,te)=>Y+te,0)]).sort((W,Y)=>W[1]-Y[1])[0])==null?void 0:w[0];O&&(R=O);break}case"initialPlacement":R=a;break}if(r!==R)return{reset:{placement:R}}}return{}}}},vh=new Set(["left","top"]);async function mh(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Ct(n),a=vt(n),u=Mt(n)==="y",l=vh.has(s)?-1:1,c=i&&u?-1:1,f=Dn(t,e);let{mainAxis:g,crossAxis:h,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof y=="number"&&(h=a==="end"?y*-1:y),u?{x:h*c,y:g*l}:{x:g*l,y:h*c}}const gh=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=t,u=await mh(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:i+u.y,data:{...u,placement:s}}}}},yh=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:u={fn:C=>{let{x:P,y:L}=C;return{x:P,y:L}}},...l}=Dn(e,t),c={x:n,y:o},f=await i.detectOverflow(t,l),g=Mt(Ct(r)),h=Yl(g);let y=c[h],b=c[g];if(s){const C=h==="y"?"top":"left",P=h==="y"?"bottom":"right",L=y+f[C],x=y-f[P];y=Zi(L,y,x)}if(a){const C=g==="y"?"top":"left",P=g==="y"?"bottom":"right",L=b+f[C],x=b-f[P];b=Zi(L,b,x)}const S=u.fn({...t,[h]:y,[g]:b});return{...S,data:{x:S.x-n,y:S.y-o,enabled:{[h]:s,[g]:a}}}}}},wh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:s,elements:a}=t,{apply:u=()=>{},...l}=Dn(e,t),c=await s.detectOverflow(t,l),f=Ct(r),g=vt(r),h=Mt(r)==="y",{width:y,height:b}=i.floating;let S,C;f==="top"||f==="bottom"?(S=f,C=g===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(C=f,S=g==="end"?"top":"bottom");const P=b-c.top-c.bottom,L=y-c.left-c.right,x=Fo(b-c[S],P),q=Fo(y-c[C],L),F=!t.middlewareData.shift;let H=x,_=q;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=L),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(H=P),F&&!g){const K=wn(c.left,0),G=wn(c.right,0),v=wn(c.top,0),w=wn(c.bottom,0);h?_=y-2*(K!==0||G!==0?K+G:wn(c.left,c.right)):H=b-2*(v!==0||w!==0?v+w:wn(c.top,c.bottom))}await u({...t,availableWidth:_,availableHeight:H});const B=await s.getDimensions(a.floating);return y!==B.width||b!==B.height?{reset:{rects:!0}}:{}}}};function it(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xt(e){return it(e).getComputedStyle(e)}const Ua=Math.min,yo=Math.max,Lr=Math.round;function ec(e){const t=xt(e);let n=parseFloat(t.width),o=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,s=Lr(n)!==r||Lr(o)!==i;return s&&(n=r,o=i),{width:n,height:o,fallback:s}}function un(e){return nc(e)?(e.nodeName||"").toLowerCase():""}let Xo;function tc(){if(Xo)return Xo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Xo=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),Xo):navigator.userAgent}function At(e){return e instanceof it(e).HTMLElement}function on(e){return e instanceof it(e).Element}function nc(e){return e instanceof it(e).Node}function Wa(e){return typeof ShadowRoot>"u"?!1:e instanceof it(e).ShadowRoot||e instanceof ShadowRoot}function ti(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function bh(e){return["table","td","th"].includes(un(e))}function Ji(e){const t=/firefox/i.test(tc()),n=xt(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!o&&o!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((r=>n.willChange.includes(r)))||["paint","layout","strict","content"].some((r=>{const i=n.contain;return i!=null&&i.includes(r)}))}function oc(){return!/^((?!chrome|android).)*safari/i.test(tc())}function ys(e){return["html","body","#document"].includes(un(e))}function rc(e){return on(e)?e:e.contextElement}const ic={x:1,y:1};function jn(e){const t=rc(e);if(!At(t))return ic;const n=t.getBoundingClientRect(),{width:o,height:r,fallback:i}=ec(t);let s=(i?Lr(n.width):n.width)/o,a=(i?Lr(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Oo(e,t,n,o){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=rc(e);let u=ic;t&&(o?on(o)&&(u=jn(o)):u=jn(e));const l=a?it(a):window,c=!oc()&&n;let f=(s.left+(c&&((r=l.visualViewport)==null?void 0:r.offsetLeft)||0))/u.x,g=(s.top+(c&&((i=l.visualViewport)==null?void 0:i.offsetTop)||0))/u.y,h=s.width/u.x,y=s.height/u.y;if(a){const b=it(a),S=o&&on(o)?it(o):o;let C=b.frameElement;for(;C&&o&&S!==b;){const P=jn(C),L=C.getBoundingClientRect(),x=getComputedStyle(C);L.x+=(C.clientLeft+parseFloat(x.paddingLeft))*P.x,L.y+=(C.clientTop+parseFloat(x.paddingTop))*P.y,f*=P.x,g*=P.y,h*=P.x,y*=P.y,f+=L.x,g+=L.y,C=it(C).frameElement}}return{width:h,height:y,top:g,right:f+h,bottom:g+y,left:f,x:f,y:g}}function rn(e){return((nc(e)?e.ownerDocument:e.document)||window.document).documentElement}function ni(e){return on(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function sc(e){return Oo(rn(e)).left+ni(e).scrollLeft}function $o(e){if(un(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wa(e)&&e.host||rn(e);return Wa(t)?t.host:t}function ac(e){const t=$o(e);return ys(t)?t.ownerDocument.body:At(t)&&ti(t)?t:ac(t)}function Br(e,t){var n;t===void 0&&(t=[]);const o=ac(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=it(o);return r?t.concat(i,i.visualViewport||[],ti(o)?o:[]):t.concat(o,Br(o))}function Ga(e,t,n){return t==="viewport"?go((function(o,r){const i=it(o),s=rn(o),a=i.visualViewport;let u=s.clientWidth,l=s.clientHeight,c=0,f=0;if(a){u=a.width,l=a.height;const g=oc();(g||!g&&r==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:l,x:c,y:f}})(e,n)):on(t)?go((function(o,r){const i=Oo(o,!0,r==="fixed"),s=i.top+o.clientTop,a=i.left+o.clientLeft,u=At(o)?jn(o):{x:1,y:1};return{width:o.clientWidth*u.x,height:o.clientHeight*u.y,x:a*u.x,y:s*u.y}})(t,n)):go((function(o){const r=rn(o),i=ni(o),s=o.ownerDocument.body,a=yo(r.scrollWidth,r.clientWidth,s.scrollWidth,s.clientWidth),u=yo(r.scrollHeight,r.clientHeight,s.scrollHeight,s.clientHeight);let l=-i.scrollLeft+sc(o);const c=-i.scrollTop;return xt(s).direction==="rtl"&&(l+=yo(r.clientWidth,s.clientWidth)-a),{width:a,height:u,x:l,y:c}})(rn(e)))}function Ka(e){return At(e)&&xt(e).position!=="fixed"?e.offsetParent:null}function qa(e){const t=it(e);let n=Ka(e);for(;n&&bh(n)&&xt(n).position==="static";)n=Ka(n);return n&&(un(n)==="html"||un(n)==="body"&&xt(n).position==="static"&&!Ji(n))?t:n||(function(o){let r=$o(o);for(;At(r)&&!ys(r);){if(Ji(r))return r;r=$o(r)}return null})(e)||t}function Eh(e,t,n){const o=At(t),r=rn(t),i=Oo(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((un(t)!=="body"||ti(r))&&(s=ni(t)),At(t)){const u=Oo(t,!0);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else r&&(a.x=sc(r));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const _h={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=n==="clippingAncestors"?(function(l,c){const f=c.get(l);if(f)return f;let g=Br(l).filter((S=>on(S)&&un(S)!=="body")),h=null;const y=xt(l).position==="fixed";let b=y?$o(l):l;for(;on(b)&&!ys(b);){const S=xt(b),C=Ji(b);(y?C||h:C||S.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=S:g=g.filter((P=>P!==b)),b=$o(b)}return c.set(l,g),g})(t,this._c):[].concat(n),s=[...i,o],a=s[0],u=s.reduce(((l,c)=>{const f=Ga(t,c,r);return l.top=yo(f.top,l.top),l.right=Ua(f.right,l.right),l.bottom=Ua(f.bottom,l.bottom),l.left=yo(f.left,l.left),l}),Ga(t,a,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=At(n),i=rn(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const u={x:0,y:0};if((r||!r&&o!=="fixed")&&((un(n)!=="body"||ti(i))&&(s=ni(n)),At(n))){const l=Oo(n);a=jn(n),u.x=l.x+n.clientLeft,u.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+u.x,y:t.y*a.y-s.scrollTop*a.y+u.y}},isElement:on,getDimensions:function(e){return At(e)?ec(e):e.getBoundingClientRect()},getOffsetParent:qa,getDocumentElement:rn,getScale:jn,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||qa,i=this.getDimensions;return{reference:Eh(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>xt(e).direction==="rtl"},xh=(e,t,n)=>{const o=new Map,r={platform:_h,...n},i={...r.platform,_c:o};return ch(e,t,{...r,platform:i})},sn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ah(e,t){let n=sn.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=sn.themes[n.$extend]||{}:(n=null,o=sn[t]):n=null;while(n);return o}function Sh(e){const t=[e];let n=sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function Za(e){const t=[e];let n=sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t}let Mo=!1;if(typeof window<"u"){Mo=!1;try{const e=Object.defineProperty({},"passive",{get(){Mo=!0}});window.addEventListener("test",null,e)}catch{}}let uc=!1;typeof window<"u"&&typeof navigator<"u"&&(uc=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ch=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ja={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ya={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Qa(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ki(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const dt=[];let gn=null;const Xa={};function eu(e){let t=Xa[e];return t||(t=Xa[e]=[]),t}let Yi=function(){};typeof window<"u"&&(Yi=window.Element);function ue(e){return function(t){return Ah(t.theme,e)}}const Di="__floating-vue__popper",lc=()=>kn({name:"VPopper",provide(){return{[Di]:{parentPopper:this}}},inject:{[Di]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ue("disabled")},positioningDisabled:{type:Boolean,default:ue("positioningDisabled")},placement:{type:String,default:ue("placement"),validator:e=>Ch.includes(e)},delay:{type:[String,Number,Object],default:ue("delay")},distance:{type:[Number,String],default:ue("distance")},skidding:{type:[Number,String],default:ue("skidding")},triggers:{type:Array,default:ue("triggers")},showTriggers:{type:[Array,Function],default:ue("showTriggers")},hideTriggers:{type:[Array,Function],default:ue("hideTriggers")},popperTriggers:{type:Array,default:ue("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ue("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ue("popperHideTriggers")},container:{type:[String,Object,Yi,Boolean],default:ue("container")},boundary:{type:[String,Yi],default:ue("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ue("strategy")},autoHide:{type:[Boolean,Function],default:ue("autoHide")},handleResize:{type:Boolean,default:ue("handleResize")},instantMove:{type:Boolean,default:ue("instantMove")},eagerMount:{type:Boolean,default:ue("eagerMount")},popperClass:{type:[String,Array,Object],default:ue("popperClass")},computeTransformOrigin:{type:Boolean,default:ue("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ue("autoMinSize")},autoSize:{type:[Boolean,String],default:ue("autoSize")},autoMaxSize:{type:Boolean,default:ue("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ue("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ue("preventOverflow")},overflowPadding:{type:[Number,String],default:ue("overflowPadding")},arrowPadding:{type:[Number,String],default:ue("arrowPadding")},arrowOverflow:{type:Boolean,default:ue("arrowOverflow")},flip:{type:Boolean,default:ue("flip")},shift:{type:Boolean,default:ue("shift")},shiftCrossAxis:{type:Boolean,default:ue("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ue("noAutoFocus")},disposeTimeout:{type:Number,default:ue("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Di])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,r;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(gh({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(fh({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(yh({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(hh({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(dh({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:r,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return o.startsWith("top")||o.startsWith("bottom")?s=Math.abs(a)>r.reference.width/2:s=Math.abs(a)>r.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let u,l;return i.startsWith("top")||i.startsWith("bottom")?u=r.reference.width:l=r.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(wh({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:r})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await xh(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),gn&&this.instantMove&&gn.instantMove&&gn!==this.parentPopper){gn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(gn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ki(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Br(this.$_referenceNode),...Br(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(o.left+n.offsetLeft),i=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Qa(dt,this),dt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Za(this.theme)){const o=eu(n);Qa(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}gn===this&&(gn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ki(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Ja,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ja,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Ya,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Ya,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,Mo?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,r){let i=n;o!=null&&(i=typeof o=="function"?o(i):o),i.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:r,handler:i}=n;!e||e===r?o.forEach(s=>s.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(wo>=e.left&&wo<=e.right&&bo>=e.top&&bo<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=wo-Zt,o=bo-Jt,r=t.left+t.width/2-Zt+(t.top+t.height/2)-Jt+t.width+t.height,i=Zt+n*r,s=Jt+o*r;return er(Zt,Jt,i,s,t.left,t.top,t.left,t.bottom)||er(Zt,Jt,i,s,t.left,t.top,t.right,t.top)||er(Zt,Jt,i,s,t.right,t.top,t.right,t.bottom)||er(Zt,Jt,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(uc){const e=Mo?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>tu(t),e),document.addEventListener("touchend",t=>nu(t,!0),e)}else window.addEventListener("mousedown",e=>tu(e),!0),window.addEventListener("click",e=>nu(e,!1),!0);window.addEventListener("resize",Dh)}function tu(e,t){for(let n=0;n=0;o--){const r=dt[o];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&ou(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=r.parentPopper;for(;s&&ou(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function ou(e,t,n){return n.closeAllPopover||n.closePopover&&t||kh(e,n)&&!t}function kh(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Dh(){for(let e=0;e{Zt=wo,Jt=bo,wo=e.clientX,bo=e.clientY},Mo?{passive:!0}:void 0);function er(e,t,n,o,r,i,s,a){const u=((s-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(s-r)*(o-t)),l=((n-e)*(t-i)-(o-t)*(e-r))/((a-i)*(n-e)-(s-r)*(o-t));return u>=0&&u<=1&&l>=0&&l<=1}const Nh={extends:lc()},ws=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function Ph(e,t,n,o,r,i){return Ee(),st("div",{ref:"reference",class:Rt(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[St(e.$slots,"default",Ni(br(e.slotData)))],2)}const Lh=ws(Nh,[["render",Ph]]);function Bh(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let ur;function Qi(){Qi.init||(Qi.init=!0,ur=Bh()!==-1)}var lr={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Qi(),us(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ur&&this.$el.appendChild(e),e.data="about:blank",ur||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ur&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Fh=Sd();xd("data-v-b329ee4c");const Oh={class:"resize-observer",tabindex:"-1"};Ad();const $h=Fh((e,t,n,o,r,i)=>(Ee(),ht("div",Oh)));lr.render=$h,lr.__scopeId="data-v-b329ee4c",lr.__file="src/components/ResizeObserver.vue";const cc=(e="theme")=>({computed:{themeClass(){return Sh(this[e])}}}),Mh=kn({name:"VPopperContent",components:{ResizeObserver:lr},mixins:[cc()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Rh=["id","aria-hidden","tabindex","data-popper-placement"],Ih={ref:"inner",class:"v-popper__inner"},zh=_e("div",{class:"v-popper__arrow-outer"},null,-1),jh=_e("div",{class:"v-popper__arrow-inner"},null,-1),Hh=[zh,jh];function Vh(e,t,n,o,r,i){const s=ko("ResizeObserver");return Ee(),st("div",{id:e.popperId,ref:"popover",class:Rt(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:xn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=sf(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_e("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_e("div",{class:"v-popper__wrapper",style:xn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_e("div",Ih,[e.mounted?(Ee(),st(Le,{key:0},[_e("div",null,[St(e.$slots,"default")]),e.handleResize?(Ee(),ht(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):en("",!0)],64)):en("",!0)],512),_e("div",{ref:"arrow",class:"v-popper__arrow-container",style:xn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Hh,4)],4)],46,Rh)}const Uh=ws(Mh,[["render",Vh]]),Wh={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Xi=function(){};typeof window<"u"&&(Xi=window.Element);const Gh=kn({name:"VPopperWrapper",components:{Popper:Lh,PopperContent:Uh},mixins:[Wh,cc("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Xi,Boolean],default:void 0},boundary:{type:[String,Xi],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Kh(e,t,n,o,r,i){const s=ko("PopperContent"),a=ko("Popper");return Ee(),ht(a,Un({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Ne(({popperId:u,isShown:l,shouldMountContent:c,skipTransition:f,autoHide:g,show:h,hide:y,handleResize:b,onResize:S,classes:C,result:P})=>[St(e.$slots,"default",{shown:l,show:h,hide:y}),ve(s,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:l,mounted:c,"skip-transition":f,"auto-hide":g,"handle-resize":b,classes:C,result:P,onHide:y,onResize:S},{default:Ne(()=>[St(e.$slots,"popper",{shown:l,hide:y})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const es=ws(Gh,[["render",Kh]]),qh={...es,name:"VDropdown",vPopperTheme:"dropdown"};({...es},{...es}),lc();const ru=sn,Zh=qh,Jh=s0().detectUser().setApp("@nextcloud/vue").build(),Fr=Of(),Yh=kn({name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$slots.default?.({attrs:this.triggerAttrs})}}),Qh="_ncPopover_HjJ88",Xh={"material-design-icon":"_material-design-icon_FKPyJ",ncPopover:Qh},dc="nc-popover-9";ru.themes[dc]=structuredClone(ru.themes.dropdown);const ev={name:"NcPopover",components:{Dropdown:Zh,NcPopoverTriggerProvider:Yh},props:{boundary:{type:[String,Object],default:""},closeOnClickOutside:{type:Boolean,default:!0},noCloseOnClickOutside:{type:Boolean,default:!1},container:{type:[Boolean,String],default:"body"},delay:{type:[Number,Object],default:0},noFocusTrap:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},popoverBaseClass:{type:String,default:""},popoverTriggers:{type:[Array,Object],default:null},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},shown:{type:Boolean,default:!1},triggers:{type:[Array,Object],default:()=>["click"]}},emits:["afterShow","afterHide","update:shown"],setup(){return{theme:dc}},data(){return{internalShown:this.shown}},computed:{popperTriggers(){if(this.popoverTriggers&&Array.isArray(this.popoverTriggers))return this.popoverTriggers},popperHideTriggers(){if(this.popoverTriggers&&typeof this.popoverTriggers=="object")return this.popoverTriggers.hide},popperShowTriggers(){if(this.popoverTriggers&&typeof this.popoverTriggers=="object")return this.popoverTriggers.show},internalTriggers(){if(this.triggers&&Array.isArray(this.triggers))return this.triggers},hideTriggers(){if(this.triggers&&typeof this.triggers=="object")return this.triggers.hide},showTriggers(){if(this.triggers&&typeof this.triggers=="object")return this.triggers.show},internalPlacement(){return this.placement==="start"?Fr?"right":"left":this.placement==="end"?Fr?"left":"right":this.placement}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeUnmount(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){window.OC?.debug&&this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")},removeFloatingVueAriaDescribedBy(){const e=this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]");for(const t of e)t.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerContainerElement(){return this.$refs.popover?.$refs.popper?.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap)return;const e=this.getPopoverContentElement();e.tabIndex=-1,e&&(this.$focusTrap=Jl(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:Bo(),fallBackFocus:e}),this.$focusTrap.activate())},clearFocusTrap(e={}){try{this.$focusTrap?.deactivate(e),this.$focusTrap=null}catch(t){Jh.warn("[NcPopover] Failed to clear focus trap",{error:t})}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("afterShow")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement()?.addEventListener("transitionend",()=>{this.$emit("afterHide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};function tv(e,t,n,o,r,i){const s=ko("NcPopoverTriggerProvider"),a=ko("Dropdown");return Ee(),ht(a,{ref:"popover",shown:r.internalShown,"onUpdate:shown":[t[0]||(t[0]=u=>r.internalShown=u),t[1]||(t[1]=u=>r.internalShown=u)],arrowPadding:10,autoHide:!n.noCloseOnClickOutside&&n.closeOnClickOutside,boundary:n.boundary||void 0,container:n.container,delay:n.delay,distance:10,handleResize:"",noAutoFocus:!0,placement:i.internalPlacement,popperClass:[e.$style.ncPopover,n.popoverBaseClass],popperTriggers:i.popperTriggers,popperHideTriggers:i.popperHideTriggers,popperShowTriggers:i.popperShowTriggers,theme:o.theme,triggers:i.internalTriggers,hideTriggers:i.hideTriggers,showTriggers:i.showTriggers,onApplyShow:i.afterShow,onApplyHide:i.afterHide},{popper:Ne(u=>[St(e.$slots,"default",Ni(br(u)))]),default:Ne(()=>[ve(s,{shown:r.internalShown,popupRole:n.popupRole},{default:Ne(u=>[St(e.$slots,"trigger",Ni(br(u)))]),_:3},8,["shown","popupRole"])]),_:3},8,["shown","autoHide","boundary","container","delay","placement","popperClass","popperTriggers","popperHideTriggers","popperShowTriggers","theme","triggers","hideTriggers","showTriggers","onApplyShow","onApplyHide"])}const nv={$style:Xh},iu=Wn(ev,[["render",tv],["__cssModules",nv]]),ov=Symbol.for("NcActions:isSemanticMenu"),rv=Symbol.for("NcActions:closeMenu"),iv={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sv=["aria-hidden","aria-label"],av=["fill","width","height"],uv={d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"},lv={key:0};function cv(e,t,n,o,r,i){return Ee(),st("span",Un(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon dots-horizontal-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(Ee(),st("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[_e("path",uv,[n.title?(Ee(),st("title",lv,jr(n.title),1)):en("",!0)])],8,av))],16,sv)}const dv=Wn(iv,[["render",cv]]);vs(Yf);function pc(e){return Array.isArray(e)&&e.some(t=>{if(t===null)return!1;if(typeof t=="object"){const n=t;if(n.type===$e||n.type===Le&&!pc(n.children)||n.type===Io&&!n.children.trim())return!1}return!0})}const pv=".focusable",fv={name:"NcActions",components:{NcButton:_n,NcPopover:iu},provide(){return{[ov]:Pe(()=>this.actionsMenuSemanticType==="menu"),[rv]:this.closeMenu}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:rt("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.getElementById("content-vue")??document.querySelector("body")},container:{type:[Boolean,String,Object,Element],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:null},size:{type:String,default:"normal",validator(e){return["small","normal","large"].includes(e)}}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(){return{randomId:Hl()}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return this.variant||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1},navigation:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0}}[this.actionsMenuSemanticType]},withFocusTrap(){return this.config.withFocusTrap}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){Q0(()=>this.opened,{disabled:()=>this.config.withFocusTrap}),"ariaHidden"in this.$attrs},methods:{getActionName(e){return e?.type?.name},isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isAction(e){return this.getActionName(e)?.startsWith?.("NcAction")},isIconUrl(e){try{return!!new URL(e,e.startsWith("/")?window.location.origin:void 0)}catch{return!1}},toggleMenu(e){e?this.openMenu():this.closeMenu()},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&this.$refs.triggerButton?.$el.focus())},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.$emit("opened")})},onClosed(){this.$emit("closed")},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(pv)},onKeydown(e){if(e.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}e.preventDefault();const t=this.getFocusableMenuItemElements(),n=[...t].indexOf(document.activeElement);if(n===-1)return;const o=e.shiftKey?n-1:n+1;(o<0||o===t.length)&&this.closeMenu(!0),this.focusIndex=o,this.focusAction();return}this.config.withArrowNavigation&&(e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e)),this.handleEscapePressed(e)},onTriggerKeydown(e){e.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(e){e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();const t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const t=this.getFocusableMenuItemElements().length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const t=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(){const e=[],t=(h,y)=>{h.forEach(b=>{if(this.isAction(b)){y.push(b);return}b.type===Le&&t(b.children,y)})};if(t(this.$slots.default?.(),e),e.length===0)return;let n=e.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(n=[]);const o=n.slice(0,this.inline),r=e.filter(h=>!o.includes(h)),i=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],s=["NcActionInput","NcActionTextEditable"],a=["NcActionLink","NcActionRouter"],u=r.some(h=>s.includes(this.getActionName(h))),l=r.some(h=>i.includes(this.getActionName(h))),c=r.some(h=>a.includes(this.getActionName(h)));u?this.actionsMenuSemanticType="dialog":l?this.actionsMenuSemanticType="menu":c?this.actionsMenuSemanticType="navigation":e.filter(h=>this.getActionName(h).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown";const f=h=>{const y=h?.props?.icon,b=h?.children?.icon?.()?.[0]??(this.isIconUrl(y)?Ye("img",{class:"action-item__menutoggle__icon",src:y,alt:""}):Ye("span",{class:["icon",y]})),S=h?.children?.default?.()?.[0]?.children?.trim(),C=this.forceName?S:"";let P=h?.props?.title;this.forceName||P||(P=S);const L={...h?.props??{}},x=["submit","reset"].includes(L.type)?L.modelValue:"button";return delete L.modelValue,delete L.type,Ye(_n,Un(L,{class:"action-item action-item--single","aria-label":h?.props?.["aria-label"]||S,title:P,disabled:this.disabled||h?.props?.disabled,pressed:h?.props?.modelValue,size:this.size,type:x,variant:this.variant||(C?"secondary":"tertiary"),onFocus:this.onFocus,onBlur:this.onBlur,"onUpdate:pressed":h?.props?.["onUpdate:modelValue"]??(()=>{})}),{default:()=>C,icon:()=>b})},g=h=>{const y=pc(this.$slots.icon?.())?this.$slots.icon?.():this.defaultIcon?Ye("span",{class:["icon",this.defaultIcon]}):Ye(dv,{size:20}),b=`${this.randomId}-trigger`;return Ye(iu,{ref:"popover",delay:0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,autoBoundaryMaxSize:!0,container:this.container,...this.manualOpen&&{triggers:[]},noCloseOnClickOutside:this.manualOpen,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?this.$refs.triggerButton?.$el:void 0,noFocusTrap:!this.config.withFocusTrap,"onUpdate:shown":this.toggleMenu,onAfterShow:this.onOpened,onAfterClose:this.onClosed},{trigger:()=>Ye(_n,{id:b,class:"action-item__menutoggle",disabled:this.disabled,size:this.size,variant:this.triggerButtonVariant,ref:"triggerButton","aria-label":this.menuName?null:this.ariaLabel,"aria-controls":this.opened&&this.config.popupRole?this.randomId:null,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onKeydown:this.onTriggerKeydown},{icon:()=>y,default:()=>this.menuName}),default:()=>Ye("div",{class:{open:this.opened},tabindex:"-1",onKeydown:this.onKeydown,ref:"menu"},[Ye("ul",{id:this.randomId,tabindex:"-1",ref:"menuList",role:this.config.popupRole,"aria-labelledby":b,"aria-modal":this.actionsMenuSemanticType==="dialog"?"true":void 0},[h])])})};return e.length===1&&n.length===1&&!this.forceMenu?f(e[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction()}),o.length>0&&this.inline>0?Ye("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...o.map(f),r.length>0?Ye("div",{class:["action-item",{"action-item--open":this.opened}]},[g(r)]):null]):Ye("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[g(e)]))}},hv=Wn(fv,[["__scopeId","data-v-5f7eed6b"]]);vs(Jf),rt("a few seconds ago"),rt("seconds ago"),rt("sec. ago");const vv=/mac|ipad|iphone|darwin/i.test(navigator.userAgent),mv=window.OCP?.Accessibility?.disableKeyboardShortcuts?.(),gv=/^[a-zA-Z0-9]$/,yv=/^[^\x20-\x7F]$/;function wv(e,t){return!(e.target instanceof HTMLElement)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement||e.target.isContentEditable?!0:t.allowInModal?!1:Array.from(document.getElementsByClassName("modal-mask")).filter(n=>n.checkVisibility()).length>0}function su(e,t){return n=>{if((vv?n.metaKey:n.ctrlKey)===!!t.ctrl){if(n.altKey!==!!t.alt||t.shift!==void 0&&n.shiftKey!==!!t.shift||wv(n,t))return;t.prevent&&n.preventDefault(),t.stop&&n.stopPropagation(),e(n)}}}function au(e,t=()=>{},n={}){if(mv)return()=>{};const o=(a,u)=>{if(a.key===u)return!0;if(n.caseSensitive){const l=u===u.toLowerCase(),c=a.key===a.key.toLowerCase();if(l!==c)return!1}return gv.test(u)&&yv.test(a.key)?a.code.replace(/^(?:Key|Digit|Numpad)/,"")===u.toUpperCase():a.key.toLowerCase()===u.toLowerCase()},r=a=>typeof e=="function"?e(a):typeof e=="string"?o(a,e):Array.isArray(e)?e.some(u=>o(a,u)):!0,i=Na(r,su(t,n),{eventName:"keydown",dedupe:!0,passive:!n.prevent}),s=n.push?Na(r,su(t,n),{eventName:"keyup",passive:!n.prevent}):()=>{};return()=>{i(),s()}}function bv(e=document.body){const t=window.getComputedStyle(e).getPropertyValue("--background-invert-if-dark");return t!==void 0?t==="invert(100%)":!1}bv();const Ev=Hn(fc());window.addEventListener("resize",()=>{Ev.value=fc()});function fc(){return window.outerHeight===window.screen.height}const bs=1024,hc=bs/2,Or=e=>document.documentElement.clientWidth{_v.value=Or(bs),vc.value=Or(hc)},{passive:!0});function am(){return pr(vc)}function uu(e){return!e.parent||"vapor"in e||"vapor"in e.parent||e.parent.subTree!==e.vnode?null:e.parent}function xv(e){const t=[e];let n=uu(e);for(;n;)t.push(n),n=uu(n);return t}function Av(){const e=ln();if(!e)throw new Error("useScopeId must be called within a setup context");const t=xv(e).map(n=>n.vnode.scopeId).filter(Boolean);return Object.fromEntries(t.map(n=>[n,""]))}vs(Qf,Xf);const Sv=["aria-labelledby","aria-describedby"],Cv=["data-theme-light","data-theme-dark"],Tv=["id"],kv={class:"icons-menu"},Dv=["title"],Nv=["id"],Pv={class:"modal-container__content"},Lv=kn({inheritAttrs:!1,__name:"NcModal",props:Vs({name:{default:""},hasPrevious:{type:Boolean},hasNext:{type:Boolean},outTransition:{type:Boolean},enableSlideshow:{type:Boolean},slideshowDelay:{default:5e3},slideshowPaused:{type:Boolean},disableSwipe:{type:Boolean},spreadNavigation:{type:Boolean},size:{default:"normal"},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},dark:{type:Boolean},lightBackdrop:{type:Boolean},container:{default:"body"},closeButtonOutside:{type:Boolean},additionalTrapElements:{default:()=>[]},inlineActions:{default:0},labelId:{default:""},setReturnFocus:{default:void 0}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:Vs(["next","previous","close","update:show"],["update:show"]),setup(e,{emit:t}){Ll(_=>({"7f724f28":y.value}));const n=op(e,"show"),o=e,r=t,i=Av(),s=Hl(),a=Md("mask");let u;To(()=>F()),Vn(()=>H()),nn(()=>o.additionalTrapElements,_=>{u&&u.updateContainerElements([a.value,..._])});const{isActive:l,pause:c,resume:f}=l0(S,vd(()=>o.slideshowDelay),{immediate:!1}),g=Hn(0),h=Hn(!1);Dd(()=>{h.value&&!o.slideshowPaused?f():l.value&&c()});const y=Pe(()=>`${o.slideshowDelay}ms`),{stop:b}=f0(a,{onSwipeEnd:P});Vn(b),au("Escape",()=>{Bo().at(-1)===u&&x()},{allowInModal:!0}),au(["ArrowLeft","ArrowRight"],_=>{document.activeElement&&!a.value.contains(document.activeElement)||(_.key==="ArrowLeft"!==Fr?C():S())},{allowInModal:!0}),To(()=>{!o.name&&o.labelId});function S(_){if(!o.hasNext){h.value=!1;return}_&&l.value&&L(),r("next",_)}function C(_){o.hasPrevious&&(_&&l.value&&L(),r("previous",_))}function P(_,B){if(!o.disableSwipe){if(B!=="left"&&B!=="right")return;B==="left"!==Fr?S(_):C(_)}}function L(){c(),f(),g.value++}function x(_){o.noClose||(n.value=!1,setTimeout(()=>{r("close",_)},300))}function q(_){o.closeOnClickOutside&&x(_)}async function F(){if(!n.value||u)return;await us();const _={allowOutsideClick:!0,fallbackFocus:a.value,trapStack:Bo(),escapeDeactivates:!1,setReturnFocus:o.setReturnFocus};u=Jl([a.value,...o.additionalTrapElements],_),u.activate()}function H(){u&&(u?.deactivate(),u=void 0)}return(_,B)=>(Ee(),ht(Bd,{disabled:_.container===null,to:_.container},[ve(Jn,{name:"fade",appear:"",onAfterEnter:F,onBeforeLeave:H},{default:Ne(()=>[Go(_e("div",Un({..._.$attrs,...pe(i)},{ref:"mask",class:["modal-mask",{"modal-mask--opaque":_.dark||_.closeButtonOutside||_.hasPrevious||_.hasNext,"modal-mask--light":_.lightBackdrop}],role:"dialog","aria-modal":"true","aria-labelledby":_.labelId||`modal-name-${pe(s)}`,"aria-describedby":"modal-description-"+pe(s),tabindex:"-1"}),[ve(Jn,{name:"fade-visibility",appear:""},{default:Ne(()=>[_e("div",{class:"modal-header","data-theme-light":_.lightBackdrop,"data-theme-dark":!_.lightBackdrop},[_.name.trim()!==""?(Ee(),st("h2",{key:0,id:"modal-name-"+pe(s),class:"modal-header__name"},jr(_.name),9,Tv)):en("",!0),_e("div",kv,[_.hasNext&&_.enableSlideshow?(Ee(),st("button",{key:0,class:Rt(["play-pause-icons",{"play-pause-icons--paused":_.slideshowPaused}]),title:pe(l)?pe(rt)("Pause slideshow"):pe(rt)("Start slideshow"),type:"button",onClick:B[0]||(B[0]=K=>h.value=!h.value)},[ve(oo,{class:"play-pause-icons__icon",inline:"",name:pe(l)?pe(rt)("Pause slideshow"):pe(rt)("Start slideshow"),path:pe(l)?pe(E0):pe(_0)},null,8,["name","path"]),pe(l)?(Ee(),st("svg",{key:`${pe(s)}-animation-${g.value}`,class:"progress-ring",height:"50",width:"50"},[...B[1]||(B[1]=[_e("circle",{class:"progress-ring__circle",stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"},null,-1)])])):en("",!0)],10,Dv)):en("",!0),ve(hv,{class:"header-actions",inline:_.inlineActions},{default:Ne(()=>[St(_.$slots,"actions",{},void 0,!0)]),_:3},8,["inline"]),!_.noClose&&_.closeButtonOutside?(Ee(),ht(_n,{key:1,"aria-label":pe(rt)("Close"),class:"header-close",variant:"tertiary",onClick:x},{icon:Ne(()=>[ve(oo,{path:pe(Pa)},null,8,["path"])]),_:1},8,["aria-label"])):en("",!0)])],8,Cv)]),_:3}),ve(Jn,{name:`modal-${_.outTransition?"out":"in"}`,appear:""},{default:Ne(()=>[Go(_e("div",{class:Rt(["modal-wrapper",[`modal-wrapper--${_.size}`,{"modal-wrapper--spread-navigation":_.spreadNavigation}]]),onMousedown:of(q,["self"])},[ve(Jn,{name:"fade-visibility",appear:""},{default:Ne(()=>[Go(ve(_n,{"aria-label":pe(rt)("Previous"),class:"prev",variant:"tertiary-no-background",onClick:C},{icon:Ne(()=>[ve(oo,{directional:"",path:pe(w0),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Zo,_.hasPrevious]])]),_:1}),_e("div",{id:"modal-description-"+pe(s),class:"modal-container"},[_e("div",Pv,[St(_.$slots,"default",{},void 0,!0)]),!_.noClose&&!_.closeButtonOutside?(Ee(),ht(_n,{key:0,"aria-label":pe(rt)("Close"),class:"modal-container__close",variant:"tertiary",onClick:x},{icon:Ne(()=>[ve(oo,{path:pe(Pa)},null,8,["path"])]),_:1},8,["aria-label"])):en("",!0)],8,Nv),ve(Jn,{name:"fade-visibility",appear:""},{default:Ne(()=>[Go(ve(_n,{"aria-label":pe(rt)("Next"),class:"next",variant:"tertiary-no-background",onClick:S},{icon:Ne(()=>[ve(oo,{directional:"",path:pe(b0),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Zo,_.hasNext]])]),_:1})],34),[[Zo,n.value]])]),_:3},8,["name"])],16,Sv),[[Zo,n.value]])]),_:3})],8,["disabled","to"]))}}),um=Wn(Lv,[["__scopeId","data-v-67fb20ba"]]);export{nn as $,$v as A,Md as B,Go as C,Pe as D,Zo as E,Le as F,sm as G,oo as H,im as I,zf as J,Hl as K,Hv as L,Hn as M,_n as N,Jv as O,Xv as P,Rv as Q,Ls as R,om as S,rm as T,zv as U,jv as V,To as W,Yv as X,Ll as Y,Mv as Z,Wn as _,rt as a,Jn as a0,Kv as a1,Qv as a2,Kd as a3,Ov as a4,qv as a5,tm as a6,Zv as a7,nm as a8,Gv as a9,em as aa,am as ab,um as ac,_e as b,st as c,kn as d,en as e,St as f,Al as g,jr as h,ve as i,ht as j,sr as k,Iv as l,Un as m,Rt as n,Ee as o,Fv as p,Wv as q,vs as r,Uv as s,Vv as t,pe as u,Zf as v,Ne as w,s0 as x,Vs as y,op as z}; //# sourceMappingURL=NcModal-DHryP_87-D_og8Giy.chunk.mjs.map