import{r as Y,$ as Na,u as La,av as us,ai as cs,g as Ba,o as ja,z as ls,s as ds,m as Ha,c as ce,l as he,e as Wn,S as ci,aw as hs,k as Ar,a8 as K,K as ps}from"./vendor-vue-CVxSw_oJ.js";var qa=typeof global=="object"&&global&&global.Object===Object&&global,vs=typeof self=="object"&&self&&self.Object===Object&&self,Ee=qa||vs||Function("return this")(),pe=Ee.Symbol,ka=Object.prototype,gs=ka.hasOwnProperty,ms=ka.toString,_t=pe?pe.toStringTag:void 0;function ys(e){var t=gs.call(e,_t),n=e[_t];try{e[_t]=void 0;var r=!0}catch{}var i=ms.call(e);return r&&(t?e[_t]=n:delete e[_t]),i}var bs=Object.prototype,ws=bs.toString;function xs(e){return ws.call(e)}var Os="[object Null]",Ss="[object Undefined]",li=pe?pe.toStringTag:void 0;function tt(e){return e==null?e===void 0?Ss:Os:li&&li in Object(e)?ys(e):xs(e)}function Pe(e){return e!=null&&typeof e=="object"}var As="[object Symbol]";function Pn(e){return typeof e=="symbol"||Pe(e)&&tt(e)==As}function Er(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n0){if(++t>=Zs)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function nf(e){return function(){return e}}var Sn=(function(){try{var e=rt(Object,"defineProperty");return e({},"",{}),e}catch{}})(),rf=Sn?function(e,t){return Sn(e,"toString",{configurable:!0,enumerable:!1,value:nf(t),writable:!0})}:Mr,Ya=tf(rf);function af(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var cf=9007199254740991,lf=/^(?:0|[1-9]\d*)$/;function Tn(e,t){var n=typeof e;return t=t??cf,!!t&&(n=="number"||n!="symbol"&&lf.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=pf}function xt(e){return e!=null&&Tr(e.length)&&!_r(e)}function vf(e,t,n){if(!ee(n))return!1;var r=typeof t;return(r=="number"?xt(n)&&Tn(t,n.length):r=="string"&&t in n)?Yt(n[t],e):!1}function gf(e){return Va(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&vf(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r-1}function Mu(e,t){var n=this.__data__,r=Rn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Le(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(a)?t>1?Vt(a,t-1,n,r,i):Nr(i,a):r||(i[i.length]=a)}return i}function ku(e){var t=e==null?0:e.length;return t?Vt(e,1):[]}function eo(e){return Ya(Ga(e,void 0,ku),e+"")}var Lr=Ja(Object.getPrototypeOf,Object),Wu="[object Object]",zu=Function.prototype,Yu=Object.prototype,to=zu.toString,Uu=Yu.hasOwnProperty,Gu=to.call(Object);function no(e){if(!Pe(e)||tt(e)!=Wu)return!1;var t=Lr(e);if(t===null)return!0;var n=Uu.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&to.call(n)==Gu}function Vu(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r=t?e:t)),e}function kg(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Rt(n),n=n===n?n:0),t!==void 0&&(t=Rt(t),t=t===t?t:0),Qu(Rt(e),t,n)}function Xu(){this.__data__=new Le,this.size=0}function Ku(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Zu(e){return this.__data__.get(e)}function Ju(e){return this.__data__.has(e)}var ec=200;function tc(e,t){var n=this.__data__;if(n instanceof Le){var r=n.__data__;if(!jt||r.lengtha))return!1;var u=s.get(e),c=s.get(t);if(u&&c)return u==t&&c==e;var l=-1,d=!0,h=n&Tl?new Ht:void 0;for(s.set(e,t),s.set(t,e);++l=t||$<0||l&&R>=s}function p(){var S=Gn();if(g(S))return x(S);a=setTimeout(p,v(S))}function x(S){return a=void 0,d&&r?h(S):(r=i=void 0,o)}function y(){a!==void 0&&clearTimeout(a),u=0,r=f=i=a=void 0}function b(){return a===void 0?o:x(Gn())}function w(){var S=Gn(),$=g(S);if(r=arguments,i=this,f=S,$){if(a===void 0)return m(f);if(l)return clearTimeout(a),a=setTimeout(p,t),h(f)}return a===void 0&&(a=setTimeout(p,t)),o}return w.cancel=y,w.flush=b,w}function rr(e,t,n){(n!==void 0&&!Yt(e[t],n)||n===void 0&&!(t in e))&&$r(e,t,n)}function Oo(e){return Pe(e)&&xt(e)}function ir(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function wd(e){return wt(e,Gt(e))}function xd(e,t,n,r,i,s,o){var a=ir(e,n),f=ir(t,n),u=o.get(f);if(u){rr(e,n,u);return}var c=s?s(a,f,n+"",e,t,o):void 0,l=c===void 0;if(l){var d=J(f),h=!d&&Lt(f),m=!d&&!h&&Dr(f);c=f,d||h||m?J(a)?c=a:Oo(a)?c=za(a):h?(l=!1,c=io(f,!0)):m?(l=!1,c=uo(f,!0)):c=[]:no(f)||Nt(f)?(c=a,Nt(a)?c=wd(a):(!ee(a)||_r(a))&&(c=co(f))):l=!1}l&&(o.set(f,c),i(c,f,r,s,o),o.delete(f)),rr(e,n,c)}function So(e,t,n,r,i){e!==t&&xo(t,function(s,o){if(i||(i=new Oe),ee(s))xd(e,t,o,n,So,r,i);else{var a=r?r(ir(e,o),s,o+"",e,t,i):void 0;a===void 0&&(a=s),rr(e,o,a)}},Gt)}function Od(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Yg(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return Ua(e,wo(t),i,!0)}function Sd(e,t){var n=-1,r=xt(e)?Array(e.length):[];return vd(e,function(i,s,o){r[++n]=t(i,s,o)}),r}function Ad(e,t){var n=J(e)?Er:Sd;return n(e,wo(t))}function Ug(e,t){return Vt(Ad(e,t),1)}var Ed=1/0;function Gg(e){var t=e==null?0:e.length;return t?Vt(e,Ed):[]}function Vg(e){for(var t=-1,n=e==null?0:e.length,r={};++t1),s}),wt(e,fo(e),n),r&&(n=ct(n,Pd|Td|Rd,$d));for(var i=t.length;i--;)_d(n,t[i]);return n});function Ao(e,t,n,r){if(!ee(e))return e;t=Ot(t,e);for(var i=-1,s=t.length,o=s-1,a=e;a!=null&&++i=Ld){var u=Nd(e);if(u)return Hr(u);o=!1,i=vo,f=new Ht}else f=a;e:for(;++rt in e?jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zd=(e,t)=>{for(var n in t||(t={}))kd.call(t,n)&&qi(e,n,t[n]);if(Hi)for(var n of Hi(t))Wd.call(t,n)&&qi(e,n,t[n]);return e},Yd=(e,t)=>Hd(e,qd(t));function a0(e,t){var n;const r=ds();return Ha(()=>{r.value=e()},Yd(zd({},t),{flush:(n=void 0)!=null?n:"sync"})),Na(r)}var ki;const In=typeof window<"u",Ud=e=>typeof e<"u",ar=e=>typeof e=="function",Gd=e=>typeof e=="string",o0=(e,t,n)=>Math.min(n,Math.max(t,e)),Ie=()=>{},Vd=In&&((ki=window?.navigator)==null?void 0:ki.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function We(e){return typeof e=="function"?e():La(e)}function Eo(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}function Qd(e,t={}){let n,r,i=Ie;const s=a=>{clearTimeout(a),i(),i=Ie};return a=>{const f=We(e),u=We(t.maxWait);return n&&s(n),f<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,l)=>{i=t.rejectOnCancel?l:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},f)})}}function Xd(e,t=!0,n=!0,r=!1){let i=0,s,o=!0,a=Ie,f;const u=()=>{s&&(clearTimeout(s),s=void 0,a(),a=Ie)};return l=>{const d=We(e),h=Date.now()-i,m=()=>f=l();return u(),d<=0?(i=Date.now(),m()):(h>d&&(n||!o)?(i=Date.now(),m()):t&&(f=new Promise((v,g)=>{a=r?g:v,s=setTimeout(()=>{i=Date.now(),o=!0,v(m()),u()},Math.max(0,d-h))})),!n&&!s&&(s=setTimeout(()=>o=!0,d)),o=!1,f)}}function Kd(e){return e}function Zd(e,t){let n,r,i;const s=Y(!0),o=()=>{s.value=!0,i()};he(e,o,{flush:"sync"});const a=ar(t)?t:t.get,f=ar(t)?void 0:t.set,u=hs((c,l)=>(r=c,i=l,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){f?.(d)}}));return Object.isExtensible(u)&&(u.trigger=o),u}function Qt(e){return us()?(cs(e),!0):!1}function Jd(e){if(!Wn(e))return ci(e);const t=new Proxy({},{get(n,r,i){return La(Reflect.get(e.value,r,i))},set(n,r,i){return Wn(e.value[r])&&!Wn(i)?e.value[r].value=i:e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return ci(t)}function s0(e){return Jd(ce(e))}function eh(e,t=200,n={}){return Eo(Qd(t,n),e)}function f0(e,t=200,n={}){const r=Y(e.value),i=eh(()=>{r.value=e.value},t,n);return he(e,()=>i()),r}function u0(e,t=200,n=!1,r=!0,i=!1){return Eo(Xd(t,n,r,i),e)}function qr(e,t=!0){Ba()?ja(e):t?e():ls(e)}function c0(e,t,n={}){const{immediate:r=!0}=n,i=Y(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){i.value=!1,o()}function f(...u){o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...u)},We(t))}return r&&(i.value=!0,In&&f()),Qt(a),{isPending:Na(i),start:f,stop:a}}function Z(e){var t;const n=We(e);return(t=n?.$el)!=null?t:n}const Ce=In?window:void 0,th=In?window.document:void 0;function le(...e){let t,n,r,i;if(Gd(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=Ce):[t,n,r,i]=e,!t)return Ie;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(c=>c()),s.length=0},a=(c,l,d,h)=>(c.addEventListener(l,d,h),()=>c.removeEventListener(l,d,h)),f=he(()=>[Z(t),We(i)],([c,l])=>{o(),c&&s.push(...n.flatMap(d=>r.map(h=>a(c,d,h,l))))},{immediate:!0,flush:"post"}),u=()=>{f(),o()};return Qt(u),u}let Wi=!1;function l0(e,t,n={}){const{window:r=Ce,ignore:i=[],capture:s=!0,detectIframe:o=!1}=n;if(!r)return;Vd&&!Wi&&(Wi=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Ie)));let a=!0;const f=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===d.target||d.composedPath().includes(m));{const m=Z(h);return m&&(d.target===m||d.composedPath().includes(m))}}),c=[le(r,"click",d=>{const h=Z(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!f(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),le(r,"pointerdown",d=>{const h=Z(e);h&&(a=!d.composedPath().includes(h)&&!f(d))},{passive:!0}),o&&le(r,"blur",d=>{var h;const m=Z(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!m?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function d0(e={}){var t;const{window:n=Ce}=e,r=(t=e.document)!=null?t:n?.document,i=Zd(()=>null,()=>r?.activeElement);return n&&(le(n,"blur",s=>{s.relatedTarget===null&&i.trigger()},!0),le(n,"focus",i.trigger,!0)),i}function kr(e,t=!1){const n=Y(),r=()=>n.value=!!e();return r(),qr(r,t),n}function nh(e){return JSON.parse(JSON.stringify(e))}const zi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yi="__vueuse_ssr_handlers__";zi[Yi]=zi[Yi]||{};function h0(e,t,{window:n=Ce,initialValue:r=""}={}){const i=Y(r),s=ce(()=>{var o;return Z(t)||((o=n?.document)==null?void 0:o.documentElement)});return he([s,()=>We(e)],([o,a])=>{var f;if(o&&n){const u=(f=n.getComputedStyle(o).getPropertyValue(a))==null?void 0:f.trim();i.value=u||r}},{immediate:!0}),he(i,o=>{var a;(a=s.value)!=null&&a.style&&s.value.style.setProperty(We(e),o)}),i}function p0({document:e=th}={}){if(!e)return Y("visible");const t=Y(e.visibilityState);return le(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Ui=Object.getOwnPropertySymbols,rh=Object.prototype.hasOwnProperty,ih=Object.prototype.propertyIsEnumerable,ah=(e,t)=>{var n={};for(var r in e)rh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ui)for(var r of Ui(e))t.indexOf(r)<0&&ih.call(e,r)&&(n[r]=e[r]);return n};function Mo(e,t,n={}){const r=n,{window:i=Ce}=r,s=ah(r,["window"]);let o;const a=kr(()=>i&&"ResizeObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=he(()=>Z(e),l=>{f(),a.value&&i&&l&&(o=new ResizeObserver(t),o.observe(l,s))},{immediate:!0,flush:"post"}),c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}function v0(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0}=t,o=Y(0),a=Y(0),f=Y(0),u=Y(0),c=Y(0),l=Y(0),d=Y(0),h=Y(0);function m(){const v=Z(e);if(!v){n&&(o.value=0,a.value=0,f.value=0,u.value=0,c.value=0,l.value=0,d.value=0,h.value=0);return}const g=v.getBoundingClientRect();o.value=g.height,a.value=g.bottom,f.value=g.left,u.value=g.right,c.value=g.top,l.value=g.width,d.value=g.x,h.value=g.y}return Mo(e,m),he(()=>Z(e),v=>!v&&m()),i&&le("scroll",m,{capture:!0,passive:!0}),r&&le("resize",m,{passive:!0}),qr(()=>{s&&m()}),{height:o,bottom:a,left:f,right:u,top:c,width:l,x:d,y:h,update:m}}function g0(e,t={width:0,height:0},n={}){const{window:r=Ce,box:i="content-box"}=n,s=ce(()=>{var f,u;return(u=(f=Z(e))==null?void 0:f.namespaceURI)==null?void 0:u.includes("svg")}),o=Y(t.width),a=Y(t.height);return Mo(e,([f])=>{const u=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const c=Z(e);if(c){const l=r.getComputedStyle(c);o.value=parseFloat(l.width),a.value=parseFloat(l.height)}}else if(u){const c=Array.isArray(u)?u:[u];o.value=c.reduce((l,{inlineSize:d})=>l+d,0),a.value=c.reduce((l,{blockSize:d})=>l+d,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},n),he(()=>Z(e),f=>{o.value=f?t.width:0,a.value=f?t.height:0}),{width:o,height:a}}function m0(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=Ce}=n,a=kr(()=>o&&"IntersectionObserver"in o);let f=Ie;const u=a.value?he(()=>({el:Z(e),root:Z(r)}),({el:l,root:d})=>{if(f(),!l)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(l),f=()=>{h.disconnect(),f=Ie}},{immediate:!0,flush:"post"}):Ie,c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}var Gi=Object.getOwnPropertySymbols,oh=Object.prototype.hasOwnProperty,sh=Object.prototype.propertyIsEnumerable,fh=(e,t)=>{var n={};for(var r in e)oh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gi)for(var r of Gi(e))t.indexOf(r)<0&&sh.call(e,r)&&(n[r]=e[r]);return n};function y0(e,t,n={}){const r=n,{window:i=Ce}=r,s=fh(r,["window"]);let o;const a=kr(()=>i&&"MutationObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=he(()=>Z(e),l=>{f(),a.value&&i&&l&&(o=new MutationObserver(t),o.observe(l,s))},{immediate:!0}),c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}var Vi;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Vi||(Vi={}));var uh=Object.defineProperty,Qi=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,lh=Object.prototype.propertyIsEnumerable,Xi=(e,t,n)=>t in e?uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dh=(e,t)=>{for(var n in t||(t={}))ch.call(t,n)&&Xi(e,n,t[n]);if(Qi)for(var n of Qi(t))lh.call(t,n)&&Xi(e,n,t[n]);return e};const hh={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};dh({linear:Kd},hh);function b0(e,t,n,r={}){var i,s,o;const{clone:a=!1,passive:f=!1,eventName:u,deep:c=!1,defaultValue:l}=r,d=Ba(),h=n||d?.emit||((i=d?.$emit)==null?void 0:i.bind(d))||((o=(s=d?.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d?.proxy));let m=u;t||(t="modelValue"),m=u||m||`update:${t.toString()}`;const v=p=>a?ar(a)?a(p):nh(p):p,g=()=>Ud(e[t])?v(e[t]):l;if(f){const p=g(),x=Y(p);return he(()=>e[t],y=>x.value=v(y)),he(x,y=>{(y!==e[t]||c)&&h(m,y)},{deep:c}),x}else return ce({get(){return g()},set(p){h(m,p)}})}function w0({window:e=Ce}={}){if(!e)return Y(!1);const t=Y(e.document.hasFocus());return le(e,"blur",()=>{t.value=!1}),le(e,"focus",()=>{t.value=!0}),t}function x0(e={}){const{window:t=Ce,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:s=!0}=e,o=Y(n),a=Y(r),f=()=>{t&&(s?(o.value=t.innerWidth,a.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return f(),qr(f),le("resize",f,{passive:!0}),i&&le("orientationchange",f,{passive:!0}),{width:o,height:a}}var re="top",ve="bottom",ge="right",ie="left",Wr="auto",Xt=[re,ve,ge,ie],ht="start",qt="end",ph="clippingParents",_o="viewport",$t="popper",vh="reference",Ki=Xt.reduce(function(e,t){return e.concat([t+"-"+ht,t+"-"+qt])},[]),$o=[].concat(Xt,[Wr]).reduce(function(e,t){return e.concat([t,t+"-"+ht,t+"-"+qt])},[]),gh="beforeRead",mh="read",yh="afterRead",bh="beforeMain",wh="main",xh="afterMain",Oh="beforeWrite",Sh="write",Ah="afterWrite",Eh=[gh,mh,yh,bh,wh,xh,Oh,Sh,Ah];function Te(e){return e?(e.nodeName||"").toLowerCase():null}function Me(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){var t=Me(e).Element;return e instanceof t||e instanceof Element}function de(e){var t=Me(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zr(e){if(typeof ShadowRoot>"u")return!1;var t=Me(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Mh(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!de(s)||!Te(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function _h(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(f,u){return f[u]="",f},{});!de(i)||!Te(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(f){i.removeAttribute(f)}))})}}var Po={name:"applyStyles",enabled:!0,phase:"write",fn:Mh,effect:_h,requires:["computeStyles"]};function _e(e){return e.split("-")[0]}var Qe=Math.max,En=Math.min,vt=Math.round;function gt(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(de(e)&&t){var s=e.offsetHeight,o=e.offsetWidth;o>0&&(r=vt(n.width)/o||1),s>0&&(i=vt(n.height)/s||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Yr(e){var t=gt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ne(e){return Me(e).getComputedStyle(e)}function $h(e){return["table","td","th"].indexOf(Te(e))>=0}function Ye(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nn(e){return Te(e)==="html"?e:e.assignedSlot||e.parentNode||(zr(e)?e.host:null)||Ye(e)}function Zi(e){return!de(e)||Ne(e).position==="fixed"?null:e.offsetParent}function Ph(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&de(e)){var r=Ne(e);if(r.position==="fixed")return null}var i=Nn(e);for(zr(i)&&(i=i.host);de(i)&&["html","body"].indexOf(Te(i))<0;){var s=Ne(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Kt(e){for(var t=Me(e),n=Zi(e);n&&$h(n)&&Ne(n).position==="static";)n=Zi(n);return n&&(Te(n)==="html"||Te(n)==="body"&&Ne(n).position==="static")?t:n||Ph(e)||t}function Ur(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dt(e,t,n){return Qe(e,En(t,n))}function Th(e,t,n){var r=Dt(e,t,n);return r>n?n:r}function Ro(){return{top:0,right:0,bottom:0,left:0}}function Co(e){return Object.assign({},Ro(),e)}function Do(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Rh=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Co(typeof e!="number"?e:Do(e,Xt))};function Ch(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=_e(n.placement),f=Ur(a),u=[ie,ge].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var l=Rh(i.padding,n),d=Yr(s),h=f==="y"?re:ie,m=f==="y"?ve:ge,v=n.rects.reference[c]+n.rects.reference[f]-o[f]-n.rects.popper[c],g=o[f]-n.rects.reference[f],p=Kt(s),x=p?f==="y"?p.clientHeight||0:p.clientWidth||0:0,y=v/2-g/2,b=l[h],w=x-d[c]-l[m],S=x/2-d[c]/2+y,$=Dt(b,S,w),R=f;n.modifiersData[r]=(t={},t[R]=$,t.centerOffset=$-S,t)}}function Dh(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!To(t.elements.popper,i)||(t.elements.arrow=i))}var Fh={name:"arrow",enabled:!0,phase:"main",fn:Ch,effect:Dh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(e){return e.split("-")[1]}var Ih={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:vt(t*i)/i||0,y:vt(n*i)/i||0}}function Ji(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,f=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,l=e.isFixed,d=o.x,h=d===void 0?0:d,m=o.y,v=m===void 0?0:m,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var p=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),y=ie,b=re,w=window;if(u){var S=Kt(n),$="clientHeight",R="clientWidth";if(S===Me(n)&&(S=Ye(n),Ne(S).position!=="static"&&a==="absolute"&&($="scrollHeight",R="scrollWidth")),S=S,i===re||(i===ie||i===ge)&&s===qt){b=ve;var D=l&&S===w&&w.visualViewport?w.visualViewport.height:S[$];v-=D-r.height,v*=f?1:-1}if(i===ie||(i===re||i===ve)&&s===qt){y=ge;var C=l&&S===w&&w.visualViewport?w.visualViewport.width:S[R];h-=C-r.width,h*=f?1:-1}}var P=Object.assign({position:a},u&&Ih),N=c===!0?Nh({x:h,y:v}):{x:h,y:v};if(h=N.x,v=N.y,f){var I;return Object.assign({},P,(I={},I[b]=x?"0":"",I[y]=p?"0":"",I.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",I))}return Object.assign({},P,(t={},t[b]=x?v+"px":"",t[y]=p?h+"px":"",t.transform="",t))}function Lh(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,f=a===void 0?!0:a,u={placement:_e(t.placement),variation:mt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ji(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ji(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Fo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lh,data:{}},rn={passive:!0};function Bh(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,f=Me(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",n.update,rn)}),a&&f.addEventListener("resize",n.update,rn),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",n.update,rn)}),a&&f.removeEventListener("resize",n.update,rn)}}var Io={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Bh,data:{}},jh={left:"right",right:"left",bottom:"top",top:"bottom"};function un(e){return e.replace(/left|right|bottom|top/g,function(t){return jh[t]})}var Hh={start:"end",end:"start"};function ea(e){return e.replace(/start|end/g,function(t){return Hh[t]})}function Gr(e){var t=Me(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vr(e){return gt(Ye(e)).left+Gr(e).scrollLeft}function qh(e){var t=Me(e),n=Ye(e),r=t.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,a=0;return r&&(i=r.width,s=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:i,height:s,x:o+Vr(e),y:a}}function kh(e){var t,n=Ye(e),r=Gr(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Qe(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qe(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Vr(e),f=-r.scrollTop;return Ne(i||n).direction==="rtl"&&(a+=Qe(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:f}}function Qr(e){var t=Ne(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function No(e){return["html","body","#document"].indexOf(Te(e))>=0?e.ownerDocument.body:de(e)&&Qr(e)?e:No(Nn(e))}function Ft(e,t){var n;t===void 0&&(t=[]);var r=No(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=Me(r),o=i?[s].concat(s.visualViewport||[],Qr(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Ft(Nn(o)))}function or(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wh(e){var t=gt(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ta(e,t){return t===_o?or(qh(e)):pt(t)?Wh(t):or(kh(Ye(e)))}function zh(e){var t=Ft(Nn(e)),n=["absolute","fixed"].indexOf(Ne(e).position)>=0,r=n&&de(e)?Kt(e):e;return pt(r)?t.filter(function(i){return pt(i)&&To(i,r)&&Te(i)!=="body"}):[]}function Yh(e,t,n){var r=t==="clippingParents"?zh(e):[].concat(t),i=[].concat(r,[n]),s=i[0],o=i.reduce(function(a,f){var u=ta(e,f);return a.top=Qe(u.top,a.top),a.right=En(u.right,a.right),a.bottom=En(u.bottom,a.bottom),a.left=Qe(u.left,a.left),a},ta(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Lo(e){var t=e.reference,n=e.element,r=e.placement,i=r?_e(r):null,s=r?mt(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,f;switch(i){case re:f={x:o,y:t.y-n.height};break;case ve:f={x:o,y:t.y+t.height};break;case ge:f={x:t.x+t.width,y:a};break;case ie:f={x:t.x-n.width,y:a};break;default:f={x:t.x,y:t.y}}var u=i?Ur(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case ht:f[u]=f[u]-(t[c]/2-n[c]/2);break;case qt:f[u]=f[u]+(t[c]/2-n[c]/2);break}}return f}function kt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.boundary,o=s===void 0?ph:s,a=n.rootBoundary,f=a===void 0?_o:a,u=n.elementContext,c=u===void 0?$t:u,l=n.altBoundary,d=l===void 0?!1:l,h=n.padding,m=h===void 0?0:h,v=Co(typeof m!="number"?m:Do(m,Xt)),g=c===$t?vh:$t,p=e.rects.popper,x=e.elements[d?g:c],y=Yh(pt(x)?x:x.contextElement||Ye(e.elements.popper),o,f),b=gt(e.elements.reference),w=Lo({reference:b,element:p,placement:i}),S=or(Object.assign({},p,w)),$=c===$t?S:b,R={top:y.top-$.top+v.top,bottom:$.bottom-y.bottom+v.bottom,left:y.left-$.left+v.left,right:$.right-y.right+v.right},D=e.modifiersData.offset;if(c===$t&&D){var C=D[i];Object.keys(R).forEach(function(P){var N=[ge,ve].indexOf(P)>=0?1:-1,I=[re,ve].indexOf(P)>=0?"y":"x";R[P]+=C[I]*N})}return R}function Uh(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,f=n.allowedAutoPlacements,u=f===void 0?$o:f,c=mt(r),l=c?a?Ki:Ki.filter(function(m){return mt(m)===c}):Xt,d=l.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=l);var h=d.reduce(function(m,v){return m[v]=kt(e,{placement:v,boundary:i,rootBoundary:s,padding:o})[_e(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function Gh(e){if(_e(e)===Wr)return[];var t=un(e);return[ea(e),t,ea(t)]}function Vh(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,f=n.fallbackPlacements,u=n.padding,c=n.boundary,l=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,v=n.allowedAutoPlacements,g=t.options.placement,p=_e(g),x=p===g,y=f||(x||!m?[un(g)]:Gh(g)),b=[g].concat(y).reduce(function(q,z){return q.concat(_e(z)===Wr?Uh(t,{placement:z,boundary:c,rootBoundary:l,padding:u,flipVariations:m,allowedAutoPlacements:v}):z)},[]),w=t.rects.reference,S=t.rects.popper,$=new Map,R=!0,D=b[0],C=0;C=0,A=_?"width":"height",O=kt(t,{placement:P,boundary:c,rootBoundary:l,altBoundary:d,padding:u}),M=_?I?ge:ie:I?ve:re;w[A]>S[A]&&(M=un(M));var E=un(M),T=[];if(s&&T.push(O[N]<=0),a&&T.push(O[M]<=0,O[E]<=0),T.every(function(q){return q})){D=P,R=!1;break}$.set(P,T)}if(R)for(var F=m?3:1,L=function(q){var z=b.find(function(ae){var X=$.get(ae);if(X)return X.slice(0,q).every(function(te){return te})});if(z)return D=z,"break"},j=F;j>0;j--){var H=L(j);if(H==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}var Qh={name:"flip",enabled:!0,phase:"main",fn:Vh,requiresIfExists:["offset"],data:{_skip:!1}};function na(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ra(e){return[re,ge,ve,ie].some(function(t){return e[t]>=0})}function Xh(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=kt(t,{elementContext:"reference"}),a=kt(t,{altBoundary:!0}),f=na(o,r),u=na(a,i,s),c=ra(f),l=ra(u);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}var Kh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Xh};function Zh(e,t,n){var r=_e(e),i=[ie,re].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[ie,ge].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function Jh(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,o=$o.reduce(function(c,l){return c[l]=Zh(l,t.rects,s),c},{}),a=o[t.placement],f=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var ep={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jh};function tp(e){var t=e.state,n=e.name;t.modifiersData[n]=Lo({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:tp,data:{}};function np(e){return e==="x"?"y":"x"}function rp(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,f=n.boundary,u=n.rootBoundary,c=n.altBoundary,l=n.padding,d=n.tether,h=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,g=kt(t,{boundary:f,rootBoundary:u,padding:l,altBoundary:c}),p=_e(t.placement),x=mt(t.placement),y=!x,b=Ur(p),w=np(b),S=t.modifiersData.popperOffsets,$=t.rects.reference,R=t.rects.popper,D=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,C=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(S){if(s){var I,_=b==="y"?re:ie,A=b==="y"?ve:ge,O=b==="y"?"height":"width",M=S[b],E=M+g[_],T=M-g[A],F=h?-R[O]/2:0,L=x===ht?$[O]:R[O],j=x===ht?-R[O]:-$[O],H=t.elements.arrow,q=h&&H?Yr(H):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ro(),ae=z[_],X=z[A],te=Dt(0,$[O],q[O]),ue=y?$[O]/2-F-te-ae-C.mainAxis:L-te-ae-C.mainAxis,U=y?-$[O]/2+F+te+X+C.mainAxis:j+te+X+C.mainAxis,Q=t.elements.arrow&&Kt(t.elements.arrow),me=Q?b==="y"?Q.clientTop||0:Q.clientLeft||0:0,ye=(I=P?.[b])!=null?I:0,it=M+ue-ye-me,at=M+U-ye,ot=Dt(h?En(E,it):E,M,h?Qe(T,at):T);S[b]=ot,N[b]=ot-M}if(a){var st,Et=b==="x"?re:ie,Mt=b==="x"?ve:ge,He=S[w],tn=w==="y"?"height":"width",ii=He+g[Et],ai=He-g[Mt],kn=[re,ie].indexOf(p)!==-1,oi=(st=P?.[w])!=null?st:0,si=kn?ii:He-$[tn]-R[tn]-oi+C.altAxis,fi=kn?He+$[tn]+R[tn]-oi-C.altAxis:ai,ui=h&&kn?Th(si,He,fi):Dt(h?si:ii,He,h?fi:ai);S[w]=ui,N[w]=ui-He}t.modifiersData[r]=N}}var ip={name:"preventOverflow",enabled:!0,phase:"main",fn:rp,requiresIfExists:["offset"]};function ap(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function op(e){return e===Me(e)||!de(e)?Gr(e):ap(e)}function sp(e){var t=e.getBoundingClientRect(),n=vt(t.width)/e.offsetWidth||1,r=vt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function fp(e,t,n){n===void 0&&(n=!1);var r=de(t),i=de(t)&&sp(t),s=Ye(t),o=gt(e,i),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((Te(t)!=="body"||Qr(s))&&(a=op(t)),de(t)?(f=gt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=Vr(s))),{x:o.left+a.scrollLeft-f.x,y:o.top+a.scrollTop-f.y,width:o.width,height:o.height}}function up(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var f=t.get(a);f&&i(f)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function cp(e){var t=up(e);return Eh.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function lp(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function dp(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ia={placement:"bottom",modifiers:[],strategy:"absolute"};function aa(){for(var e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function on(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ge(e){return e.length===1?"0"+e:String(e)}function mp(e,t,n){return{r:V(e,255)*255,g:V(t,255)*255,b:V(n,255)*255}}function oa(e,t,n){e=V(e,255),t=V(t,255),n=V(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=0,a=(r+i)/2;if(r===i)o=0,s=0;else{var f=r-i;switch(o=a>.5?f/(2-r-i):f/(r+i),r){case e:s=(t-n)/f+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function yp(e,t,n){var r,i,s;if(e=V(e,360),t=V(t,100),n=V(n,100),t===0)i=n,s=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Vn(a,o,e+1/3),i=Vn(a,o,e),s=Vn(a,o,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function sa(e,t,n){e=V(e,255),t=V(t,255),n=V(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=r,a=r-i,f=r===0?0:a/r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var sr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Sp(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,s=null,o=!1,a=!1;return typeof e=="string"&&(e=Mp(e)),typeof e=="object"&&(Fe(e.r)&&Fe(e.g)&&Fe(e.b)?(t=mp(e.r,e.g,e.b),o=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Fe(e.h)&&Fe(e.s)&&Fe(e.v)?(r=on(e.s),i=on(e.v),t=bp(e.h,r,i),o=!0,a="hsv"):Fe(e.h)&&Fe(e.s)&&Fe(e.l)&&(r=on(e.s),s=on(e.l),t=yp(e.h,r,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=jo(n),{ok:o,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Ap="[-\\+]?\\d+%?",Ep="[-\\+]?\\d*\\.\\d+%?",qe="(?:".concat(Ep,")|(?:").concat(Ap,")"),Qn="[\\s|\\(]+(".concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")\\s*\\)?"),Xn="[\\s|\\(]+(".concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")\\s*\\)?"),be={CSS_UNIT:new RegExp(qe),rgb:new RegExp("rgb"+Qn),rgba:new RegExp("rgba"+Xn),hsl:new RegExp("hsl"+Qn),hsla:new RegExp("hsla"+Xn),hsv:new RegExp("hsv"+Qn),hsva:new RegExp("hsva"+Xn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Mp(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sr[e])e=sr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=be.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=be.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=be.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=be.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=be.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=be.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=be.hex8.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),a:ua(n[4]),format:t?"name":"hex8"}:(n=be.hex6.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),format:t?"name":"hex"}:(n=be.hex4.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),a:ua(n[4]+n[4]),format:t?"name":"hex8"}:(n=be.hex3.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Fe(e){return!!be.CSS_UNIT.exec(String(e))}var S0=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Op(t)),this.originalInput=t;var i=Sp(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,s=t.r/255,o=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=jo(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=sa(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=sa(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=oa(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=oa(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),fa(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),wp(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(V(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(V(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+fa(this.r,this.g,this.b,!1),n=0,r=Object.entries(sr);n=0,s=!n&&i&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=an(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=an(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=an(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=an(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),s=n/100,o={r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,s.push(new e(r));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/t;t--;)o.push(new e({h:r,s:i,v:s})),s=(s+a)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],s=360/t,o=1;o=A?_:""+Array(A+1-M.length).join(O)+_},b={s:y,z:function(_){var A=-_.utcOffset(),O=Math.abs(A),M=Math.floor(O/60),E=O%60;return(A<=0?"+":"-")+y(M,2,"0")+":"+y(E,2,"0")},m:function _(A,O){if(A.date()1)return _(F[0])}else{var L=A.name;S[L]=A,E=L}return!M&&E&&(w=E),E||!M&&w},C=function(_,A){if(R(_))return _.clone();var O=typeof A=="object"?A:{};return O.date=_,O.args=arguments,new N(O)},P=b;P.l=D,P.i=R,P.w=function(_,A){return C(_,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var N=(function(){function _(O){this.$L=D(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[$]=!0}var A=_.prototype;return A.parse=function(O){this.$d=(function(M){var E=M.date,T=M.utc;if(E===null)return new Date(NaN);if(P.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var F=E.match(g);if(F){var L=F[2]-1||0,j=(F[7]||"0").substring(0,3);return T?new Date(Date.UTC(F[1],L,F[3]||1,F[4]||0,F[5]||0,F[6]||0,j)):new Date(F[1],L,F[3]||1,F[4]||0,F[5]||0,F[6]||0,j)}}return new Date(E)})(O),this.init()},A.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},A.$utils=function(){return P},A.isValid=function(){return this.$d.toString()!==v},A.isSame=function(O,M){var E=C(O);return this.startOf(M)<=E&&E<=this.endOf(M)},A.isAfter=function(O,M){return C(O)68?1900:2e3)},c=function(g){return function(p){this[g]=+p}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(p){if(!p||p==="Z")return 0;var x=p.match(/([+-]|\d\d)/g),y=60*x[1]+(+x[2]||0);return y===0?0:x[0]==="+"?-y:y})(g)}],d=function(g){var p=f[g];return p&&(p.indexOf?p:p.s.concat(p.f))},h=function(g,p){var x,y=f.meridiem;if(y){for(var b=1;b<=24;b+=1)if(g.indexOf(y(b,0,p))>-1){x=b>12;break}}else x=g===(p?"pm":"PM");return x},m={A:[a,function(g){this.afternoon=h(g,!1)}],a:[a,function(g){this.afternoon=h(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[s,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[s,c("day")],Do:[a,function(g){var p=f.ordinal,x=g.match(/\d+/);if(this.day=x[0],p)for(var y=1;y<=31;y+=1)p(y).replace(/\[|\]/g,"")===g&&(this.day=y)}],w:[o,c("week")],ww:[s,c("week")],M:[o,c("month")],MM:[s,c("month")],MMM:[a,function(g){var p=d("months"),x=(d("monthsShort")||p.map((function(y){return y.slice(0,3)}))).indexOf(g)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[a,function(g){var p=d("months").indexOf(g)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,c("year")],YY:[s,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};function v(g){var p,x;p=g,x=f&&f.formats;for(var y=(g=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(C,P,N){var I=N&&N.toUpperCase();return P||x[N]||n[N]||x[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(_,A,O){return A||O.slice(1)}))}))).match(r),b=y.length,w=0;w-1)return new Date((E==="X"?1e3:1)*M);var L=v(E)(M),j=L.year,H=L.month,q=L.day,z=L.hours,ae=L.minutes,X=L.seconds,te=L.milliseconds,ue=L.zone,U=L.week,Q=new Date,me=q||(j||H?1:Q.getDate()),ye=j||Q.getFullYear(),it=0;j&&!H||(it=H>0?H-1:Q.getMonth());var at,ot=z||0,st=ae||0,Et=X||0,Mt=te||0;return ue?new Date(Date.UTC(ye,it,me,ot,st,Et,Mt+60*ue.offset*1e3)):T?new Date(Date.UTC(ye,it,me,ot,st,Et,Mt)):(at=new Date(ye,it,me,ot,st,Et,Mt),U&&(at=F(at).week(U).toDate()),at)}catch{return new Date("")}})(S,D,$,x),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),N&&S!=this.format(D)&&(this.$d=new Date("")),f={}}else if(D instanceof Array)for(var _=D.length,A=1;A<=_;A+=1){R[1]=D[A-1];var O=x.apply(this,R);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}A===_&&(this.$d=new Date(""))}else b.call(this,w)}}}))})(dn)),dn.exports}var Ip=Fp();const M0=je(Ip);var hn={exports:{}},Np=hn.exports,ha;function Lp(){return ha||(ha=1,(function(e,t){(function(n,r){e.exports=r()})(Np,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(o){var a=this,f=this.$locale();if(!this.isValid())return s.bind(this)(o);var u=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(l){switch(l){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return f.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return f.ordinal(a.week(),"W");case"w":case"ww":return u.s(a.week(),l==="w"?1:2,"0");case"W":case"WW":return u.s(a.isoWeek(),l==="W"?1:2,"0");case"k":case"kk":return u.s(String(a.$H===0?24:a.$H),l==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return l}}));return s.bind(this)(c)}}}))})(hn)),hn.exports}var Bp=Lp();const _0=je(Bp);var pn={exports:{}},jp=pn.exports,pa;function Hp(){return pa||(pa=1,(function(e,t){(function(n,r){e.exports=r()})(jp,(function(){var n="week",r="year";return function(i,s,o){var a=s.prototype;a.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(u),l=o(this).endOf(n);if(c.isBefore(l))return 1}var d=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(d,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}}))})(pn)),pn.exports}var qp=Hp();const $0=je(qp);var vn={exports:{}},kp=vn.exports,va;function Wp(){return va||(va=1,(function(e,t){(function(n,r){e.exports=r()})(kp,(function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),s=this.week(),o=this.year();return s===1&&i===11?o+1:i===0&&s>=52?o-1:o}}}))})(vn)),vn.exports}var zp=Wp();const P0=je(zp);var gn={exports:{}},Yp=gn.exports,ga;function Up(){return ga||(ga=1,(function(e,t){(function(n,r){e.exports=r()})(Yp,(function(){return function(n,r,i){r.prototype.dayOfYear=function(s){var o=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}}))})(gn)),gn.exports}var Gp=Up();const T0=je(Gp);var mn={exports:{}},Vp=mn.exports,ma;function Qp(){return ma||(ma=1,(function(e,t){(function(n,r){e.exports=r()})(Vp,(function(){return function(n,r){r.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}}))})(mn)),mn.exports}var Xp=Qp();const R0=je(Xp);var yn={exports:{}},Kp=yn.exports,ya;function Zp(){return ya||(ya=1,(function(e,t){(function(n,r){e.exports=r()})(Kp,(function(){return function(n,r){r.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}}))})(yn)),yn.exports}var Jp=Zp();const C0=je(Jp);function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bn(e,t,n){return tv()?bn=Reflect.construct.bind():bn=function(i,s,o){var a=[null];a.push.apply(a,s);var f=Function.bind.apply(i,a),u=new f;return o&&Wt(u,o.prototype),u},bn.apply(null,arguments)}function nv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ur(e){var t=typeof Map=="function"?new Map:void 0;return ur=function(r){if(r===null||!nv(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return bn(r,arguments,fr(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Wt(i,r)},ur(e)}var rv=/%[sdj%]/g,iv=function(){};function cr(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=s)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return o}return e}function av(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||av(t)&&typeof e=="string"&&!e)}function ov(e,t,n){var r=[],i=0,s=e.length;function o(a){r.push.apply(r,a||[]),i++,i===s&&n(r)}e.forEach(function(a){t(a,o)})}function ba(e,t,n){var r=0,i=e.length;function s(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Pt={integer:function(t){return Pt.number(t)&&parseInt(t,10)===t},float:function(t){return Pt.number(t)&&!Pt.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Pt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Sa.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(dv())},hex:function(t){return typeof t=="string"&&!!t.match(Sa.hex)}},hv=function(t,n,r,i,s){if(t.required&&n===void 0){Ho(t,n,r,i,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?Pt[a](n)||i.push(se(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(se(s.messages.types[a],t.fullField,t.type))},pv=function(t,n,r,i,s){var o=typeof t.len=="number",a=typeof t.min=="number",f=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,l=null,d=typeof n=="number",h=typeof n=="string",m=Array.isArray(n);if(d?l="number":h?l="string":m&&(l="array"),!l)return!1;m&&(c=n.length),h&&(c=n.replace(u,"_").length),o?c!==t.len&&i.push(se(s.messages[l].len,t.fullField,t.len)):a&&!f&&ct.max?i.push(se(s.messages[l].max,t.fullField,t.max)):a&&f&&(ct.max)&&i.push(se(s.messages[l].range,t.fullField,t.min,t.max))},ft="enum",vv=function(t,n,r,i,s){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(n)===-1&&i.push(se(s.messages[ft],t.fullField,t[ft].join(", ")))},gv=function(t,n,r,i,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(se(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(se(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},B={required:Ho,whitespace:lv,type:hv,range:pv,enum:vv,pattern:gv},mv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"string")&&!t.required)return r();B.required(t,n,i,o,s,"string"),G(n,"string")||(B.type(t,n,i,o,s),B.range(t,n,i,o,s),B.pattern(t,n,i,o,s),t.whitespace===!0&&B.whitespace(t,n,i,o,s))}r(o)},yv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},bv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},wv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},xv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),G(n)||B.type(t,n,i,o,s)}r(o)},Ov=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Sv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Av=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();B.required(t,n,i,o,s,"array"),n!=null&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Ev=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},Mv="enum",_v=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B[Mv](t,n,i,o,s)}r(o)},$v=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"string")&&!t.required)return r();B.required(t,n,i,o,s),G(n,"string")||B.pattern(t,n,i,o,s)}r(o)},Pv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"date")&&!t.required)return r();if(B.required(t,n,i,o,s),!G(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),B.type(t,f,i,o,s),f&&B.range(t,f.getTime(),i,o,s)}}r(o)},Tv=function(t,n,r,i,s){var o=[],a=Array.isArray(n)?"array":typeof n;B.required(t,n,i,o,s,a),r(o)},Kn=function(t,n,r,i,s){var o=t.type,a=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(G(n,o)&&!t.required)return r();B.required(t,n,i,a,s,o),G(n,o)||B.type(t,n,i,a,s)}r(a)},Rv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s)}r(o)},It={string:mv,method:yv,number:bv,boolean:wv,regexp:xv,integer:Ov,float:Sv,array:Av,object:Ev,enum:_v,pattern:$v,date:Pv,url:Kn,hex:Kn,email:Kn,required:Tv,any:Rv};function lr(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var dr=lr(),Ln=(function(){function e(n){this.rules=null,this._messages=dr,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(s){var o=r[s];i.rules[s]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=Oa(lr(),r)),this._messages},t.validate=function(r,i,s){var o=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var a=r,f=i,u=s;if(typeof f=="function"&&(u=f,f={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,a),Promise.resolve(a);function c(v){var g=[],p={};function x(b){if(Array.isArray(b)){var w;g=(w=g).concat.apply(w,b)}else g.push(b)}for(var y=0;yUe},ie64:function(){return wr.ie()&&ko},firefox:function(){return ne()||hr},opera:function(){return ne()||pr},webkit:function(){return ne()||wn},safari:function(){return wr.webkit()},chrome:function(){return ne()||xn},windows:function(){return ne()||vr},osx:function(){return ne()||On},linux:function(){return ne()||gr},iphone:function(){return ne()||yr},mobile:function(){return ne()||yr||br||mr||zo},nativeApp:function(){return ne()||Wo},android:function(){return ne()||mr},ipad:function(){return ne()||br}},Fv=wr,Iv=!!(typeof window<"u"&&window.document&&window.document.createElement),Nv={canUseDOM:Iv},Yo=Nv,Uo;Yo.canUseDOM&&(Uo=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Lv(e,t){if(!Yo.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&Uo&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Bv=Lv,Ma=10,_a=40,$a=800;function Go(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*Ma,i=n*Ma,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=_a,i*=_a):(r*=$a,i*=$a)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}Go.getEventType=function(){return Fv.firefox()?"DOMMouseScroll":Bv("wheel")?"wheel":"mousewheel"};var F0=Go;const yt=Math.min,Xe=Math.max,Mn=Math.round,fn=Math.floor,$e=e=>({x:e,y:e}),jv={left:"right",right:"left",bottom:"top",top:"bottom"},Hv={start:"end",end:"start"};function xr(e,t,n){return Xe(e,yt(t,n))}function Zt(e,t){return typeof e=="function"?e(t):e}function Ze(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function Vo(e){return e==="x"?"y":"x"}function Kr(e){return e==="y"?"height":"width"}const qv=new Set(["top","bottom"]);function ke(e){return qv.has(Ze(e))?"y":"x"}function Zr(e){return Vo(ke(e))}function kv(e,t,n){n===void 0&&(n=!1);const r=Jt(e),i=Zr(e),s=Kr(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=_n(o)),[o,_n(o)]}function Wv(e){const t=_n(e);return[Or(e),t,Or(t)]}function Or(e){return e.replace(/start|end/g,t=>Hv[t])}const Pa=["left","right"],Ta=["right","left"],zv=["top","bottom"],Yv=["bottom","top"];function Uv(e,t,n){switch(e){case"top":case"bottom":return n?t?Ta:Pa:t?Pa:Ta;case"left":case"right":return t?zv:Yv;default:return[]}}function Gv(e,t,n,r){const i=Jt(e);let s=Uv(Ze(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Or)))),s}function _n(e){return e.replace(/left|right|bottom|top/g,t=>jv[t])}function Vv(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qo(e){return typeof e!="number"?Vv(e):{top:e,right:e,bottom:e,left:e}}function $n(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ra(e,t,n){let{reference:r,floating:i}=e;const s=ke(t),o=Zr(t),a=Kr(o),f=Ze(t),u=s==="y",c=r.x+r.width/2-i.width/2,l=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(f){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:l};break;case"left":h={x:r.x-i.width,y:l};break;default:h={x:r.x,y:r.y}}switch(Jt(t)){case"start":h[o]-=d*(n&&u?-1:1);break;case"end":h[o]+=d*(n&&u?-1:1);break}return h}const Qv=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:l}=Ra(u,r,f),d=r,h={},m=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:f}=t,{element:u,padding:c=0}=Zt(e,t)||{};if(u==null)return{};const l=Qo(c),d={x:n,y:r},h=Zr(i),m=Kr(h),v=await o.getDimensions(u),g=h==="y",p=g?"top":"left",x=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=s.reference[m]+s.reference[h]-d[h]-s.floating[m],w=d[h]-s.reference[h],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let $=S?S[y]:0;(!$||!await(o.isElement==null?void 0:o.isElement(S)))&&($=a.floating[y]||s.floating[m]);const R=b/2-w/2,D=$/2-v[m]/2-1,C=yt(l[p],D),P=yt(l[x],D),N=C,I=$-v[m]-P,_=$/2-v[m]/2+R,A=xr(N,_,I),O=!f.arrow&&Jt(i)!=null&&_!==A&&s.reference[m]/2-(__<=0)){var P,N;const _=(((P=s.flip)==null?void 0:P.index)||0)+1,A=$[_];if(A&&(!(l==="alignment"?x!==ke(A):!1)||C.every(E=>ke(E.placement)===x?E.overflows[0]>0:!0)))return{data:{index:_,overflows:C},reset:{placement:A}};let O=(N=C.filter(M=>M.overflows[0]<=0).sort((M,E)=>M.overflows[1]-E.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(h){case"bestFit":{var I;const M=(I=C.filter(E=>{if(S){const T=ke(E.placement);return T===x||T==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(T=>T>0).reduce((T,F)=>T+F,0)]).sort((E,T)=>E[1]-T[1])[0])==null?void 0:I[0];M&&(O=M);break}case"initialPlacement":O=a;break}if(i!==O)return{reset:{placement:O}}}return{}}}},Zv=new Set(["left","top"]);async function Jv(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ze(n),a=Jt(n),f=ke(n)==="y",u=Zv.has(o)?-1:1,c=s&&f?-1:1,l=Zt(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:m}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return a&&typeof m=="number"&&(h=a==="end"?m*-1:m),f?{x:h*c,y:d*u}:{x:d*u,y:h*c}}const eg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,f=await Jv(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:o}}}}},tg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:p,y:x}=g;return{x:p,y:x}}},...f}=Zt(e,t),u={x:n,y:r},c=await Jr(t,f),l=ke(Ze(i)),d=Vo(l);let h=u[d],m=u[l];if(s){const g=d==="y"?"top":"left",p=d==="y"?"bottom":"right",x=h+c[g],y=h-c[p];h=xr(x,h,y)}if(o){const g=l==="y"?"top":"left",p=l==="y"?"bottom":"right",x=m+c[g],y=m-c[p];m=xr(x,m,y)}const v=a.fn({...t,[d]:h,[l]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:s,[l]:o}}}}}};function Bn(){return typeof window<"u"}function At(e){return Xo(e)?(e.nodeName||"").toLowerCase():"#document"}function fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function De(e){var t;return(t=(Xo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xo(e){return Bn()?e instanceof Node||e instanceof fe(e).Node:!1}function Se(e){return Bn()?e instanceof Element||e instanceof fe(e).Element:!1}function Re(e){return Bn()?e instanceof HTMLElement||e instanceof fe(e).HTMLElement:!1}function Ca(e){return!Bn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof fe(e).ShadowRoot}const ng=new Set(["inline","contents"]);function en(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ng.has(i)}const rg=new Set(["table","td","th"]);function ig(e){return rg.has(At(e))}const ag=[":popover-open",":modal"];function jn(e){return ag.some(t=>{try{return e.matches(t)}catch{return!1}})}const og=["transform","translate","scale","rotate","perspective"],sg=["transform","translate","scale","rotate","perspective","filter"],fg=["paint","layout","strict","content"];function ei(e){const t=ti(),n=Se(e)?Ae(e):e;return og.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||sg.some(r=>(n.willChange||"").includes(r))||fg.some(r=>(n.contain||"").includes(r))}function ug(e){let t=ze(e);for(;Re(t)&&!bt(t);){if(ei(t))return t;if(jn(t))return null;t=ze(t)}return null}function ti(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const cg=new Set(["html","body","#document"]);function bt(e){return cg.has(At(e))}function Ae(e){return fe(e).getComputedStyle(e)}function Hn(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(At(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ca(e)&&e.host||De(e);return Ca(t)?t.host:t}function Ko(e){const t=ze(e);return bt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&en(t)?t:Ko(t)}function zt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ko(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=fe(i);if(s){const a=Sr(o);return t.concat(o,o.visualViewport||[],en(i)?i:[],a&&n?zt(a):[])}return t.concat(i,zt(i,[],n))}function Sr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zo(e){const t=Ae(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Re(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Mn(n)!==s||Mn(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function ni(e){return Se(e)?e:e.contextElement}function lt(e){const t=ni(e);if(!Re(t))return $e(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=Zo(t);let o=(s?Mn(n.width):n.width)/r,a=(s?Mn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const lg=$e(0);function Jo(e){const t=fe(e);return!ti()||!t.visualViewport?lg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==fe(e)?!1:t}function Je(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=ni(e);let o=$e(1);t&&(r?Se(r)&&(o=lt(r)):o=lt(e));const a=dg(s,n,r)?Jo(s):$e(0);let f=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,l=i.height/o.y;if(s){const d=fe(s),h=r&&Se(r)?fe(r):r;let m=d,v=Sr(m);for(;v&&r&&h!==m;){const g=lt(v),p=v.getBoundingClientRect(),x=Ae(v),y=p.left+(v.clientLeft+parseFloat(x.paddingLeft))*g.x,b=p.top+(v.clientTop+parseFloat(x.paddingTop))*g.y;f*=g.x,u*=g.y,c*=g.x,l*=g.y,f+=y,u+=b,m=fe(v),v=Sr(m)}}return $n({width:c,height:l,x:f,y:u})}function qn(e,t){const n=Hn(e).scrollLeft;return t?t.left+n:Je(De(e)).left+n}function es(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qn(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function hg(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=De(r),a=t?jn(t.floating):!1;if(r===o||a&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$e(1);const c=$e(0),l=Re(r);if((l||!l&&!s)&&((At(r)!=="body"||en(o))&&(f=Hn(r)),Re(r))){const h=Je(r);u=lt(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const d=o&&!l&&!s?es(o,f):$e(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-f.scrollTop*u.y+c.y+d.y}}function pg(e){return Array.from(e.getClientRects())}function vg(e){const t=De(e),n=Hn(e),r=e.ownerDocument.body,i=Xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+qn(e);const a=-n.scrollTop;return Ae(r).direction==="rtl"&&(o+=Xe(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}const Da=25;function gg(e,t){const n=fe(e),r=De(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,f=0;if(i){s=i.width,o=i.height;const c=ti();(!c||c&&t==="fixed")&&(a=i.offsetLeft,f=i.offsetTop)}const u=qn(r);if(u<=0){const c=r.ownerDocument,l=c.body,d=getComputedStyle(l),h=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,m=Math.abs(r.clientWidth-l.clientWidth-h);m<=Da&&(s-=m)}else u<=Da&&(s+=u);return{width:s,height:o,x:a,y:f}}const mg=new Set(["absolute","fixed"]);function yg(e,t){const n=Je(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Re(e)?lt(e):$e(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,f=i*s.x,u=r*s.y;return{width:o,height:a,x:f,y:u}}function Fa(e,t,n){let r;if(t==="viewport")r=gg(e,n);else if(t==="document")r=vg(De(e));else if(Se(t))r=yg(t,n);else{const i=Jo(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return $n(r)}function ts(e,t){const n=ze(e);return n===t||!Se(n)||bt(n)?!1:Ae(n).position==="fixed"||ts(n,t)}function bg(e,t){const n=t.get(e);if(n)return n;let r=zt(e,[],!1).filter(a=>Se(a)&&At(a)!=="body"),i=null;const s=Ae(e).position==="fixed";let o=s?ze(e):e;for(;Se(o)&&!bt(o);){const a=Ae(o),f=ei(o);!f&&a.position==="fixed"&&(i=null),(s?!f&&!i:!f&&a.position==="static"&&!!i&&mg.has(i.position)||en(o)&&!f&&ts(e,o))?r=r.filter(c=>c!==o):i=a,o=ze(o)}return t.set(e,r),r}function wg(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?jn(t)?[]:bg(t,this._c):[].concat(n),r],a=o[0],f=o.reduce((u,c)=>{const l=Fa(t,c,i);return u.top=Xe(l.top,u.top),u.right=yt(l.right,u.right),u.bottom=yt(l.bottom,u.bottom),u.left=Xe(l.left,u.left),u},Fa(t,a,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function xg(e){const{width:t,height:n}=Zo(e);return{width:t,height:n}}function Og(e,t,n){const r=Re(t),i=De(t),s=n==="fixed",o=Je(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const f=$e(0);function u(){f.x=qn(i)}if(r||!r&&!s)if((At(t)!=="body"||en(i))&&(a=Hn(t)),r){const h=Je(t,!0,s,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else i&&u();s&&!r&&i&&u();const c=i&&!r&&!s?es(i,a):$e(0),l=o.left+a.scrollLeft-f.x-c.x,d=o.top+a.scrollTop-f.y-c.y;return{x:l,y:d,width:o.width,height:o.height}}function Zn(e){return Ae(e).position==="static"}function Ia(e,t){if(!Re(e)||Ae(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return De(e)===n&&(n=n.ownerDocument.body),n}function ns(e,t){const n=fe(e);if(jn(e))return n;if(!Re(e)){let i=ze(e);for(;i&&!bt(i);){if(Se(i)&&!Zn(i))return i;i=ze(i)}return n}let r=Ia(e,t);for(;r&&ig(r)&&Zn(r);)r=Ia(r,t);return r&&bt(r)&&Zn(r)&&!ei(r)?n:r||ug(e)||n}const Sg=async function(e){const t=this.getOffsetParent||ns,n=this.getDimensions,r=await n(e.floating);return{reference:Og(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ag(e){return Ae(e).direction==="rtl"}const Eg={convertOffsetParentRelativeRectToViewportRelativeRect:hg,getDocumentElement:De,getClippingRect:wg,getOffsetParent:ns,getElementRects:Sg,getClientRects:pg,getDimensions:xg,getScale:lt,isElement:Se,isRTL:Ag};function rs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mg(e,t){let n=null,r;const i=De(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,f){a===void 0&&(a=!1),f===void 0&&(f=1),s();const u=e.getBoundingClientRect(),{left:c,top:l,width:d,height:h}=u;if(a||t(),!d||!h)return;const m=fn(l),v=fn(i.clientWidth-(c+d)),g=fn(i.clientHeight-(l+h)),p=fn(c),y={rootMargin:-m+"px "+-v+"px "+-g+"px "+-p+"px",threshold:Xe(0,yt(1,f))||1};let b=!0;function w(S){const $=S[0].intersectionRatio;if($!==f){if(!b)return o();$?o(!1,$):r=setTimeout(()=>{o(!1,1e-7)},1e3)}$===1&&!rs(u,e.getBoundingClientRect())&&o(),b=!1}try{n=new IntersectionObserver(w,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(w,y)}n.observe(e)}return o(!0),s}function I0(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,u=ni(e),c=i||s?[...u?zt(u):[],...zt(t)]:[];c.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});const l=u&&a?Mg(u,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(p=>{let[x]=p;x&&x.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!f&&h.observe(u),h.observe(t));let m,v=f?Je(e):null;f&&g();function g(){const p=Je(e);v&&!rs(v,p)&&n(),v=p,m=requestAnimationFrame(g)}return n(),()=>{var p;c.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),l?.(),(p=h)==null||p.disconnect(),h=null,f&&cancelAnimationFrame(m)}}const N0=Jr,L0=eg,B0=tg,j0=Kv,H0=Xv,q0=(e,t,n)=>{const r=new Map,i={platform:Eg,...n},s={...i.platform,_c:r};return Qv(e,t,{...i,platform:s})};var xe=function(){return xe=Object.assign||function(t){for(var n,r=1,i=arguments.length;ro.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;for(var l=[],d=0;d7)throw new RangeError("Invalid value");var h,m;for(h=u;;h++){var v=o.getNumDataCodewords(h,f)*8,g=s.getTotalBits(a,h);if(g<=v){m=g;break}if(h>=c)throw new RangeError("Data too long")}for(var p=0,x=[o.Ecc.MEDIUM,o.Ecc.QUARTILE,o.Ecc.HIGH];p>>3]|=_<<7-(A&7)}),new o(h,f,I,l)},o.prototype.getModule=function(a,f){return 0<=a&&a>>9)*1335;var l=(f<<10|u)^21522;i(l>>>15==0);for(var c=0;c<=5;c++)this.setFunctionModule(8,c,r(l,c));this.setFunctionModule(8,7,r(l,6)),this.setFunctionModule(8,8,r(l,7)),this.setFunctionModule(7,8,r(l,8));for(var c=9;c<15;c++)this.setFunctionModule(14-c,8,r(l,c));for(var c=0;c<8;c++)this.setFunctionModule(this.size-1-c,8,r(l,c));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,r(l,c));this.setFunctionModule(8,this.size-8,!0)},o.prototype.drawVersion=function(){if(!(this.version<7)){for(var a=this.version,f=0;f<12;f++)a=a<<1^(a>>>11)*7973;var u=this.version<<12|a;i(u>>>18==0);for(var f=0;f<18;f++){var c=r(u,f),l=this.size-11+f%3,d=Math.floor(f/3);this.setFunctionModule(l,d,c),this.setFunctionModule(d,l,c)}}},o.prototype.drawFinderPattern=function(a,f){for(var u=-4;u<=4;u++)for(var c=-4;c<=4;c++){var l=Math.max(Math.abs(c),Math.abs(u)),d=a+c,h=f+u;0<=d&&d=h)&&w.push(R[$])})},p=0;p=1;u-=2){u==6&&(u=5);for(var c=0;c>>3],7-(f&7)),f++)}}i(f==a.length*8)},o.prototype.applyMask=function(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(var f=0;f5&&a++):(this.finderPenaltyAddHistory(c,l),u||(a+=this.finderPenaltyCountPatterns(l)*o.PENALTY_N3),u=this.modules[f][d],c=1);a+=this.finderPenaltyTerminateAndCount(u,c,l)*o.PENALTY_N3}for(var d=0;d5&&a++):(this.finderPenaltyAddHistory(h,l),u||(a+=this.finderPenaltyCountPatterns(l)*o.PENALTY_N3),u=this.modules[f][d],h=1);a+=this.finderPenaltyTerminateAndCount(u,h,l)*o.PENALTY_N3}for(var f=0;fo.MAX_VERSION)throw new RangeError("Version number out of range");var f=(16*a+128)*a+64;if(a>=2){var u=Math.floor(a/7)+2;f-=(25*u-10)*u-55,a>=7&&(f-=36)}return i(208<=f&&f<=29648),f},o.getNumDataCodewords=function(a,f){return Math.floor(o.getNumRawDataModules(a)/8)-o.ECC_CODEWORDS_PER_BLOCK[f.ordinal][a]*o.NUM_ERROR_CORRECTION_BLOCKS[f.ordinal][a]},o.reedSolomonComputeDivisor=function(a){if(a<1||a>255)throw new RangeError("Degree out of range");for(var f=[],u=0;u>>8||f>>>8)throw new RangeError("Byte out of range");for(var u=0,c=7;c>=0;c--)u=u<<1^(u>>>7)*285,u^=(f>>>c&1)*a;return i(u>>>8==0),u},o.prototype.finderPenaltyCountPatterns=function(a){var f=a[1];i(f<=this.size*3);var u=f>0&&a[2]==f&&a[3]==f*3&&a[4]==f&&a[5]==f;return(u&&a[0]>=f*4&&a[6]>=f?1:0)+(u&&a[6]>=f*4&&a[0]>=f?1:0)},o.prototype.finderPenaltyTerminateAndCount=function(a,f,u){return a&&(this.finderPenaltyAddHistory(f,u),f=0),f+=this.size,this.finderPenaltyAddHistory(f,u),this.finderPenaltyCountPatterns(u)},o.prototype.finderPenaltyAddHistory=function(a,f){f[0]==0&&(a+=this.size),f.pop(),f.unshift(a)},o.MIN_VERSION=1,o.MAX_VERSION=40,o.PENALTY_N1=3,o.PENALTY_N2=3,o.PENALTY_N3=40,o.PENALTY_N4=10,o.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],o.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],o})();e.QrCode=t;function n(o,a,f){if(a<0||a>31||o>>>a)throw new RangeError("Value out of range");for(var u=a-1;u>=0;u--)f.push(o>>>u&1)}function r(o,a){return(o>>>a&1)!=0}function i(o){if(!o)throw new Error("Assertion error")}var s=(function(){function o(a,f,u){if(this.mode=a,this.numChars=f,this.bitData=u,f<0)throw new RangeError("Invalid argument");this.bitData=u.slice()}return o.makeBytes=function(a){for(var f=[],u=0,c=a;u=1<0?e[t-1][n]:!1,i=t0?e[t][n-1]:!1,o=n>>0}),n=ce(function(){var a=ss(e.level)?e.level:is;return Tt.QrCode.encodeText(e.value,os[a]).getModules()}),r=ce(function(){return n.value.length+t.value*2}),i=ce(function(){return e.radius>0?Fg(n.value,t.value,e.radius):Ig(n.value,t.value)}),s=ce(function(){if(!e.imageSettings.src)return null;var a=Ng(n.value,e.size,t.value,e.imageSettings);return{x:a.x+t.value,y:a.y+t.value,width:a.w,height:a.h,borderRadius:a.borderRadius}}),o=ce(function(){if(!e.imageSettings.excavate||!s.value)return null;var a=Rg/(e.size/r.value);return{x:s.value.x-a,y:s.value.y-a,width:s.value.width+a*2,height:s.value.height+a*2,borderRadius:s.value.borderRadius}});return{margin:t,numCells:r,cells:n,fgPath:i,imageProps:s,imageBorderProps:o}}var ri={value:{type:String,required:!0,default:""},size:{type:Number,default:Pg},level:{type:String,default:is,validator:function(e){return ss(e)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:as},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(e){return["linear","radial"].indexOf(e)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"},radius:{type:Number,required:!1,default:0,validator:function(e){return!isNaN(e)&&e>=0&&e<=.5}},id:{type:String,required:!1}},Lg=xe(xe({},ri),{renderAs:{type:String,required:!1,default:"canvas",validator:function(e){return["canvas","svg"].indexOf(e)>-1}}}),Bg=Ar({name:"QRCodeSvg",props:ri,setup:function(e){var t=fs(e),n=t.numCells,r=t.fgPath,i=t.imageProps,s=t.imageBorderProps,o=$g(e.id),a="qrcode.vue-gradient-".concat(o),f="qrcode.vue-logo-clip-path-".concat(o),u=ce(function(){if(!e.gradient)return null;var l=e.gradientType==="linear"?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return K(e.gradientType==="linear"?"linearGradient":"radialGradient",xe({id:a},l),[K("stop",{offset:"0%",style:{stopColor:e.gradientStartColor}}),K("stop",{offset:"100%",style:{stopColor:e.gradientEndColor}})])}),c=ce(function(){if(!i.value)return null;var l=i.value.borderRadius;return l<=0?null:K("clipPath",{id:f},[K("rect",{x:i.value.x,y:i.value.y,width:i.value.width,height:i.value.height,rx:l,ry:l})])});return function(){return K("svg",{width:e.size,height:e.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(n.value," ").concat(n.value),role:"img","aria-label":e.value},[K("defs",{},[u.value,c.value]),K("rect",{width:"100%",height:"100%",fill:e.background}),K("path",{fill:e.gradient?"url(#".concat(a,")"):e.foreground,d:r.value}),s.value&&K("rect",{x:s.value.x,y:s.value.y,width:s.value.width,height:s.value.height,fill:e.background,rx:s.value.borderRadius,ry:s.value.borderRadius}),e.imageSettings.src&&i.value&&K("image",xe(xe({href:e.imageSettings.src},i.value),i.value.borderRadius>0?{"clip-path":"url(#".concat(f,")")}:{}))])}}}),jg=Ar({name:"QRCodeCanvas",props:ri,setup:function(e,t){var n=fs(e),r=n.margin,i=n.cells,s=n.numCells,o=n.fgPath,a=n.imageProps,f=n.imageBorderProps,u=Y(null),c=Y(null),l=function(h,m,v,g,p,x){h.beginPath(),h.roundRect?h.roundRect(m,v,g,p,x):h.rect(m,v,g,p)},d=function(){var h=e.size,m=e.background,v=e.foreground,g=e.gradient,p=e.gradientType,x=e.gradientStartColor,y=e.gradientEndColor,b=u.value;if(b){var w=b.getContext("2d");if(w){var S=c.value,$=typeof window<"u"&&window.devicePixelRatio||1,R=h/s.value*$;if(b.height=b.width=h*$,w.setTransform(R,0,0,R,0,0),w.fillStyle=m,w.fillRect(0,0,s.value,s.value),g){var D=void 0;p==="linear"?D=w.createLinearGradient(0,0,s.value,s.value):D=w.createRadialGradient(s.value/2,s.value/2,0,s.value/2,s.value/2,s.value/2),D.addColorStop(0,x),D.addColorStop(1,y),w.fillStyle=D}else w.fillStyle=v;Cg?w.fill(new Path2D(o.value)):i.value.forEach(function(I,_){I.forEach(function(A,O){A&&w.fillRect(O+r.value,_+r.value,1,1)})});var C=e.imageSettings.src&&S&&S.naturalWidth!==0&&S.naturalHeight!==0;if(C&&a.value){if(f.value){var P=f.value;w.fillStyle=e.background,l(w,P.x,P.y,P.width,P.height,P.borderRadius),w.fill()}var N=a.value.borderRadius;N>0?(w.save(),l(w,a.value.x,a.value.y,a.value.width,a.value.height,N),w.clip(),w.drawImage(S,a.value.x,a.value.y,a.value.width,a.value.height),w.restore()):w.drawImage(S,a.value.x,a.value.y,a.value.width,a.value.height)}}}};return ja(d),Ha(d),function(){return K(ps,[K("canvas",xe(xe({},t.attrs),{ref:u,role:"img","aria-label":e.value,style:xe(xe({},t.attrs.style),{width:"".concat(e.size,"px"),height:"".concat(e.size,"px")})})),e.imageSettings.src&&K("img",{ref:c,src:e.imageSettings.src,style:{display:"none"},onLoad:d})])}}}),k0=Ar({name:"Qrcode",props:Lg,setup:function(e){return function(){return K(e.renderAs==="svg"?Bg:jg,{value:e.value,size:e.size,margin:e.margin,level:e.level,background:e.background,foreground:e.foreground,imageSettings:e.imageSettings,gradient:e.gradient,gradientType:e.gradientType,gradientStartColor:e.gradientStartColor,gradientEndColor:e.gradientEndColor,radius:e.radius,id:e.id})}}});export{F0 as $,s0 as A,i0 as B,M0 as C,ku as D,$o as E,_0 as F,$0 as G,P0 as H,T0 as I,R0 as J,C0 as K,c0 as L,o0 as M,f0 as N,Wg as O,m0 as P,Vd as Q,Yg as R,Ln as S,S0 as T,y0 as U,kg as V,Ir as W,D0 as X,Kg as Y,Jg as Z,Ug as _,In as a,p0 as a0,w0 as a1,g0 as a2,e0 as a3,H0 as a4,q0 as a5,L0 as a6,b0 as a7,j0 as a8,B0 as a9,I0 as aa,N0 as ab,d0 as ac,k0 as ad,Qg as b,v0 as c,le as d,a0 as e,Vg as f,Hu as g,Mo as h,Xg as i,Z as j,Zg as k,bd as l,u0 as m,A0 as n,l0 as o,t0 as p,E0 as q,r0 as r,n0 as s,Qt as t,x0 as u,Gg as v,zg as w,h0 as x,O0 as y,qg as z};