@gemafajarramadhan/dynamic-ui 1.2.25 → 1.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dynamic-ui.es.js +2709 -2717
- package/dist/dynamic-ui.umd.js +24 -24
- package/package.json +1 -1
package/dist/dynamic-ui.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(oe,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router"),require("vue-i18n"),require("vue3-lottie")):typeof define=="function"&&define.amd?define(["exports","vue","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router","vue-i18n","vue3-lottie"],a):(oe=typeof globalThis<"u"?globalThis:oe||self,a(oe.DynamicUI={},oe.Vue,oe.VueDatePicker,oe.Uppy,oe.UppyDashboard,oe.UppyImageEditor,oe.VueRouter,oe.VueI18n,oe.Vue3Lottie))})(this,(function(oe,a,it,dq,GA,hq,fs,ZS,uq){"use strict";var Ree=Object.defineProperty;var lq=oe=>{throw TypeError(oe)};var Nee=(oe,a,it)=>a in oe?Ree(oe,a,{enumerable:!0,configurable:!0,writable:!0,value:it}):oe[a]=it;var le=(oe,a,it)=>Nee(oe,typeof a!="symbol"?a+"":a,it),Uee=(oe,a,it)=>a.has(oe)||lq("Cannot "+it);var t1=(oe,a,it)=>(Uee(oe,a,"read from private field"),it?it.call(oe):a.get(oe)),cq=(oe,a,it)=>a.has(oe)?lq("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(oe):a.set(oe,it);var jS;function pq(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a1=pq(a);let wt={};function XA(e){wt={...wt,...e}}function yq(){return wt}function fq(){return wt.apiBaseUrl?wt.apiBaseUrl:typeof window<"u"&&window.__MICRO_API_BASE_URL__?window.__MICRO_API_BASE_URL__:""}function mq(){const e={"Content-Type":"application/json",Accept:"application/json"};let t=null;if(wt.getAuthToken?t=wt.getAuthToken():typeof window<"u"&&window.__MICRO_AUTH_TOKEN__?t=window.__MICRO_AUTH_TOKEN__:typeof localStorage<"u"&&(t=localStorage.getItem("token")||sessionStorage.getItem("token")),t&&(e.Authorization=`Bearer ${t}`),wt.getHeaders){const n=wt.getHeaders();return{...e,...n}}return e}function kq(){wt.onUnauthorized&&wt.onUnauthorized()}async function KA(e,t,n){const o=yq();if(o.apiClient)return o.apiClient(e,t||"GET",n);if(!e||!e.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const r=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],i=(t||"").trim().toUpperCase(),s=r.includes(i)?i:"GET";r.includes(i)||console.warn(`[DynamicUI][useApi] HTTP method '${t}' tidak valid, fallback ke 'GET'.`);const c=fq(),d=e.startsWith("http")?e:`${c}${e}`,h={method:s,headers:mq()};n&&!["GET","DELETE"].includes(s)&&(h.body=JSON.stringify(n));let u=d;if(n&&s==="GET"){const f=new URLSearchParams;Object.entries(n).forEach(([k,g])=>{g!=null&&f.append(k,String(g))});const m=f.toString();m&&(u=`${d}${d.includes("?")?"&":"?"}${m}`)}const p=await fetch(u,h);if(p.status===401&&kq(),!p.ok){const f=await p.text();throw new Error(`HTTP ${p.status}: ${f}`)}return(p.headers.get("content-type")||"").includes("application/json")?p.json():{status:!0,data:await p.text()}}function et(){return{apiUrl:(n,o,r)=>KA(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),KA(s,c,d)}}}const gq=["top","right","bottom","left"],ma=Math.min,st=Math.max,n1=Math.round,o1=Math.floor,Bt=e=>({x:e,y:e}),bq={left:"right",right:"left",bottom:"top",top:"bottom"},xq={start:"end",end:"start"};function YS(e,t,n){return st(e,ma(t,n))}function ea(e,t){return typeof e=="function"?e(t):e}function ta(e){return e.split("-")[0]}function ms(e){return e.split("-")[1]}function JS(e){return e==="x"?"y":"x"}function QS(e){return e==="y"?"height":"width"}const Mq=new Set(["top","bottom"]);function Vt(e){return Mq.has(ta(e))?"y":"x"}function eI(e){return JS(Vt(e))}function wq(e,t,n){n===void 0&&(n=!1);const o=ms(e),r=eI(e),i=QS(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=r1(s)),[s,r1(s)]}function vq(e){const t=r1(e);return[tI(e),t,tI(t)]}function tI(e){return e.replace(/start|end/g,t=>xq[t])}const ZA=["left","right"],YA=["right","left"],Cq=["top","bottom"],Lq=["bottom","top"];function Sq(e,t,n){switch(e){case"top":case"bottom":return n?t?YA:ZA:t?ZA:YA;case"left":case"right":return t?Cq:Lq;default:return[]}}function Iq(e,t,n,o){const r=ms(e);let i=Sq(ta(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(tI)))),i}function r1(e){return e.replace(/left|right|bottom|top/g,t=>bq[t])}function Aq(e){return{top:0,right:0,bottom:0,left:0,...e}}function JA(e){return typeof e!="number"?Aq(e):{top:e,right:e,bottom:e,left:e}}function i1(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 QA(e,t,n){let{reference:o,floating:r}=e;const i=Vt(t),s=eI(t),c=QS(s),d=ta(t),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(ms(t)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function Bq(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=e,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=ea(t,e),m=JA(f),g=c[y?p==="floating"?"reference":"floating":p],x=i1(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),C=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},L=i1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:w,strategy:d}):C);return{top:(x.top-L.top+m.top)/b.y,bottom:(L.bottom-x.bottom+m.bottom)/b.y,left:(x.left-L.left+m.left)/b.x,right:(L.right-x.right+m.right)/b.x}}const Vq=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t));let h=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:p}=QA(h,o,d),y=o,f={},m=0;for(let g=0;g<c.length;g++){var k;const{name:x,fn:C}=c[g],{x:w,y:b,data:L,reset:S}=await C({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(k=s.detectOverflow)!=null?k:Bq},elements:{reference:e,floating:t}});u=w??u,p=b??p,f={...f,[x]:{...f[x],...L}},S&&m<=50&&(m++,typeof S=="object"&&(S.placement&&(y=S.placement),S.rects&&(h=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:u,y:p}=QA(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},_q=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=t,{element:h,padding:u=0}=ea(e,t)||{};if(h==null)return{};const p=JA(u),y={x:n,y:o},f=eI(r),m=QS(f),k=await s.getDimensions(h),g=f==="y",x=g?"top":"left",C=g?"bottom":"right",w=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[f]-y[f]-i.floating[m],L=y[f]-i.reference[f],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let v=S?S[w]:0;(!v||!await(s.isElement==null?void 0:s.isElement(S)))&&(v=c.floating[w]||i.floating[m]);const M=b/2-L/2,I=v/2-k[m]/2-1,V=ma(p[x],I),_=ma(p[C],I),B=V,D=v-k[m]-_,z=v/2-k[m]/2+M,G=YS(B,z,D),H=!d.arrow&&ms(r)!=null&&z!==G&&i.reference[m]/2-(z<B?V:_)-k[m]/2<0,O=H?z<B?z-B:z-D:0;return{[f]:y[f]+O,data:{[f]:G,centerOffset:z-G-O,...H&&{alignmentOffset:O}},reset:H}}}),zq=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:c,platform:d,elements:h}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:k=!0,...g}=ea(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const x=ta(r),C=Vt(c),w=ta(c)===c,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),L=y||(w||!k?[r1(c)]:vq(c)),S=m!=="none";!y&&S&&L.push(...Iq(c,k,m,b));const v=[c,...L],M=await d.detectOverflow(t,g),I=[];let V=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(M[x]),p){const z=wq(r,s,b);I.push(M[z[0]],M[z[1]])}if(V=[...V,{placement:r,overflows:I}],!I.every(z=>z<=0)){var _,B;const z=(((_=i.flip)==null?void 0:_.index)||0)+1,G=v[z];if(G&&(!(p==="alignment"?C!==Vt(G):!1)||V.every(U=>Vt(U.placement)===C?U.overflows[0]>0:!0)))return{data:{index:z,overflows:V},reset:{placement:G}};let H=(B=V.filter(O=>O.overflows[0]<=0).sort((O,U)=>O.overflows[1]-U.overflows[1])[0])==null?void 0:B.placement;if(!H)switch(f){case"bestFit":{var D;const O=(D=V.filter(U=>{if(S){const J=Vt(U.placement);return J===C||J==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(J=>J>0).reduce((J,T)=>J+T,0)]).sort((U,J)=>U[1]-J[1])[0])==null?void 0:D[0];O&&(H=O);break}case"initialPlacement":H=c;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function eB(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tB(e){return gq.some(t=>e[t]>=0)}const Pq=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=ea(e,t);switch(r){case"referenceHidden":{const s=await o.detectOverflow(t,{...i,elementContext:"reference"}),c=eB(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:tB(c)}}}case"escaped":{const s=await o.detectOverflow(t,{...i,altBoundary:!0}),c=eB(s,n.floating);return{data:{escapedOffsets:c,escaped:tB(c)}}}default:return{}}}}},aB=new Set(["left","top"]);async function qq(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=ta(n),c=ms(n),d=Vt(n)==="y",h=aB.has(s)?-1:1,u=i&&d?-1:1,p=ea(t,e);let{mainAxis:y,crossAxis:f,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const Dq=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:c}=t,d=await qq(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},Eq=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:c=!1,limiter:d={fn:x=>{let{x:C,y:w}=x;return{x:C,y:w}}},...h}=ea(e,t),u={x:n,y:o},p=await i.detectOverflow(t,h),y=Vt(ta(r)),f=JS(y);let m=u[f],k=u[y];if(s){const x=f==="y"?"top":"left",C=f==="y"?"bottom":"right",w=m+p[x],b=m-p[C];m=YS(w,m,b)}if(c){const x=y==="y"?"top":"left",C=y==="y"?"bottom":"right",w=k+p[x],b=k-p[C];k=YS(w,k,b)}const g=d.fn({...t,[f]:m,[y]:k});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},Tq=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=ea(e,t),u={x:n,y:o},p=Vt(r),y=JS(p);let f=u[y],m=u[p];const k=ea(c,t),g=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(d){const w=y==="y"?"height":"width",b=i.reference[y]-i.floating[w]+g.mainAxis,L=i.reference[y]+i.reference[w]-g.mainAxis;f<b?f=b:f>L&&(f=L)}if(h){var x,C;const w=y==="y"?"width":"height",b=aB.has(ta(r)),L=i.reference[p]-i.floating[w]+(b&&((x=s.offset)==null?void 0:x[p])||0)+(b?0:g.crossAxis),S=i.reference[p]+i.reference[w]+(b?0:((C=s.offset)==null?void 0:C[p])||0)-(b?g.crossAxis:0);m<L?m=L:m>S&&(m=S)}return{[y]:f,[p]:m}}}},Hq=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:c}=t,{apply:d=()=>{},...h}=ea(e,t),u=await s.detectOverflow(t,h),p=ta(r),y=ms(r),f=Vt(r)==="y",{width:m,height:k}=i.floating;let g,x;p==="top"||p==="bottom"?(g=p,x=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(x=p,g=y==="end"?"top":"bottom");const C=k-u.top-u.bottom,w=m-u.left-u.right,b=ma(k-u[g],C),L=ma(m-u[x],w),S=!t.middlewareData.shift;let v=b,M=L;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(v=C),S&&!y){const V=st(u.left,0),_=st(u.right,0),B=st(u.top,0),D=st(u.bottom,0);f?M=m-2*(V!==0||_!==0?V+_:st(u.left,u.right)):v=k-2*(B!==0||D!==0?B+D:st(u.top,u.bottom))}await d({...t,availableWidth:M,availableHeight:v});const I=await s.getDimensions(c.floating);return m!==I.width||k!==I.height?{reset:{rects:!0}}:{}}}};function s1(){return typeof window<"u"}function ja(e){return aI(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _t(e){var t;return(t=(aI(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function aI(e){return s1()?e instanceof Node||e instanceof lt(e).Node:!1}function vt(e){return s1()?e instanceof Element||e instanceof lt(e).Element:!1}function zt(e){return s1()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function nB(e){return!s1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const Oq=new Set(["inline","contents"]);function Gs(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Oq.has(r)}const jq=new Set(["table","td","th"]);function Fq(e){return jq.has(ja(e))}const Rq=[":popover-open",":modal"];function l1(e){return Rq.some(t=>{try{return e.matches(t)}catch{return!1}})}const Nq=["transform","translate","scale","rotate","perspective"],Uq=["transform","translate","scale","rotate","perspective","filter"],$q=["paint","layout","strict","content"];function nI(e){const t=oI(),n=vt(e)?Ct(e):e;return Nq.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Uq.some(o=>(n.willChange||"").includes(o))||$q.some(o=>(n.contain||"").includes(o))}function Wq(e){let t=ka(e);for(;zt(t)&&!ks(t);){if(nI(t))return t;if(l1(t))return null;t=ka(t)}return null}function oI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Gq=new Set(["html","body","#document"]);function ks(e){return Gq.has(ja(e))}function Ct(e){return lt(e).getComputedStyle(e)}function c1(e){return vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ka(e){if(ja(e)==="html")return e;const t=e.assignedSlot||e.parentNode||nB(e)&&e.host||_t(e);return nB(t)?t.host:t}function oB(e){const t=ka(e);return ks(t)?e.ownerDocument?e.ownerDocument.body:e.body:zt(t)&&Gs(t)?t:oB(t)}function Xs(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=oB(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=lt(r);if(i){const c=rI(s);return t.concat(s,s.visualViewport||[],Gs(r)?r:[],c&&n?Xs(c):[])}return t.concat(r,Xs(r,[],n))}function rI(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rB(e){const t=Ct(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=zt(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,c=n1(n)!==i||n1(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function iI(e){return vt(e)?e:e.contextElement}function gs(e){const t=iI(e);if(!zt(t))return Bt(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=rB(t);let s=(i?n1(n.width):n.width)/o,c=(i?n1(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xq=Bt(0);function iB(e){const t=lt(e);return!oI()||!t.visualViewport?Xq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kq(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==lt(e)?!1:t}function Fa(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=iI(e);let s=Bt(1);t&&(o?vt(o)&&(s=gs(o)):s=gs(e));const c=Kq(i,n,o)?iB(i):Bt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=lt(i),f=o&&vt(o)?lt(o):o;let m=y,k=rI(m);for(;k&&o&&f!==m;){const g=gs(k),x=k.getBoundingClientRect(),C=Ct(k),w=x.left+(k.clientLeft+parseFloat(C.paddingLeft))*g.x,b=x.top+(k.clientTop+parseFloat(C.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=w,h+=b,m=lt(k),k=rI(m)}}return i1({width:u,height:p,x:d,y:h})}function d1(e,t){const n=c1(e).scrollLeft;return t?t.left+n:Fa(_t(e)).left+n}function sB(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-d1(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Zq(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=_t(o),c=t?l1(t.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=Bt(1);const u=Bt(0),p=zt(o);if((p||!p&&!i)&&((ja(o)!=="body"||Gs(s))&&(d=c1(o)),zt(o))){const f=Fa(o);h=gs(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?sB(s,d):Bt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function Yq(e){return Array.from(e.getClientRects())}function Jq(e){const t=_t(e),n=c1(e),o=e.ownerDocument.body,r=st(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=st(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+d1(e);const c=-n.scrollTop;return Ct(o).direction==="rtl"&&(s+=st(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const lB=25;function Qq(e,t){const n=lt(e),o=_t(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=oI();(!u||u&&t==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=d1(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,m=Math.abs(o.clientWidth-p.clientWidth-f);m<=lB&&(i-=m)}else h<=lB&&(i+=h);return{width:i,height:s,x:c,y:d}}const eD=new Set(["absolute","fixed"]);function tD(e,t){const n=Fa(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=zt(e)?gs(e):Bt(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function cB(e,t,n){let o;if(t==="viewport")o=Qq(e,n);else if(t==="document")o=Jq(_t(e));else if(vt(t))o=tD(t,n);else{const r=iB(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return i1(o)}function dB(e,t){const n=ka(e);return n===t||!vt(n)||ks(n)?!1:Ct(n).position==="fixed"||dB(n,t)}function aD(e,t){const n=t.get(e);if(n)return n;let o=Xs(e,[],!1).filter(c=>vt(c)&&ja(c)!=="body"),r=null;const i=Ct(e).position==="fixed";let s=i?ka(e):e;for(;vt(s)&&!ks(s);){const c=Ct(s),d=nI(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&eD.has(r.position)||Gs(s)&&!d&&dB(e,s))?o=o.filter(u=>u!==s):r=c,s=ka(s)}return t.set(e,o),o}function nD(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?l1(t)?[]:aD(t,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=cB(t,u,r);return h.top=st(p.top,h.top),h.right=ma(p.right,h.right),h.bottom=ma(p.bottom,h.bottom),h.left=st(p.left,h.left),h},cB(t,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function oD(e){const{width:t,height:n}=rB(e);return{width:t,height:n}}function rD(e,t,n){const o=zt(t),r=_t(t),i=n==="fixed",s=Fa(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Bt(0);function h(){d.x=d1(r)}if(o||!o&&!i)if((ja(t)!=="body"||Gs(r))&&(c=c1(t)),o){const f=Fa(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?sB(r,c):Bt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function sI(e){return Ct(e).position==="static"}function hB(e,t){if(!zt(e)||Ct(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return _t(e)===n&&(n=n.ownerDocument.body),n}function uB(e,t){const n=lt(e);if(l1(e))return n;if(!zt(e)){let r=ka(e);for(;r&&!ks(r);){if(vt(r)&&!sI(r))return r;r=ka(r)}return n}let o=hB(e,t);for(;o&&Fq(o)&&sI(o);)o=hB(o,t);return o&&ks(o)&&sI(o)&&!nI(o)?n:o||Wq(e)||n}const iD=async function(e){const t=this.getOffsetParent||uB,n=this.getDimensions,o=await n(e.floating);return{reference:rD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function sD(e){return Ct(e).direction==="rtl"}const lD={convertOffsetParentRelativeRectToViewportRelativeRect:Zq,getDocumentElement:_t,getClippingRect:nD,getOffsetParent:uB,getElementRects:iD,getClientRects:Yq,getDimensions:oD,getScale:gs,isElement:vt,isRTL:sD};function pB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cD(e,t){let n=null,o;const r=_t(e);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=e.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||t(),!y||!f)return;const m=o1(p),k=o1(r.clientWidth-(u+y)),g=o1(r.clientHeight-(p+f)),x=o1(u),w={rootMargin:-m+"px "+-k+"px "+-g+"px "+-x+"px",threshold:st(0,ma(1,d))||1};let b=!0;function L(S){const v=S[0].intersectionRatio;if(v!==d){if(!b)return s();v?s(!1,v):o=setTimeout(()=>{s(!1,1e-7)},1e3)}v===1&&!pB(h,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(L,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(L,w)}n.observe(e)}return s(!0),i}function h1(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=iI(e),u=r||i?[...h?Xs(h):[],...Xs(t)]:[];u.forEach(x=>{r&&x.addEventListener("scroll",n,{passive:!0}),i&&x.addEventListener("resize",n)});const p=h&&c?cD(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(x=>{let[C]=x;C&&C.target===h&&f&&(f.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),n()}),h&&!d&&f.observe(h),f.observe(t));let m,k=d?Fa(e):null;d&&g();function g(){const x=Fa(e);k&&!pB(k,x)&&n(),k=x,m=requestAnimationFrame(g)}return n(),()=>{var x;u.forEach(C=>{r&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),p==null||p(),(x=f)==null||x.disconnect(),f=null,d&&cancelAnimationFrame(m)}}const u1=Dq,p1=Eq,Ks=zq,y1=Hq,dD=Pq,hD=_q,uD=Tq,pD=(e,t,n)=>{const o=new Map,r={platform:lD,...n},i={...r.platform,_c:o};return Vq(e,t,{...r,platform:i})};function yD(e){return e!=null&&typeof e=="object"&&"$el"in e}function lI(e){if(yD(e)){const t=e.$el;return aI(t)&&ja(t)==="#comment"?null:t}return e}function bs(e){return typeof e=="function"?e():a.unref(e)}function fD(e){return{name:"arrow",options:e,fn(t){const n=lI(bs(e.element));return n==null?{}:hD({element:n,padding:e.padding}).fn(t)}}}function yB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fB(e,t){const n=yB(e);return Math.round(t*n)/n}function f1(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=a.computed(()=>{var v;return(v=bs(n.open))!=null?v:!0}),i=a.computed(()=>bs(n.middleware)),s=a.computed(()=>{var v;return(v=bs(n.placement))!=null?v:"bottom"}),c=a.computed(()=>{var v;return(v=bs(n.strategy))!=null?v:"absolute"}),d=a.computed(()=>{var v;return(v=bs(n.transform))!=null?v:!0}),h=a.computed(()=>lI(e.value)),u=a.computed(()=>lI(t.value)),p=a.ref(0),y=a.ref(0),f=a.ref(c.value),m=a.ref(s.value),k=a.shallowRef({}),g=a.ref(!1),x=a.computed(()=>{const v={position:f.value,left:"0",top:"0"};if(!u.value)return v;const M=fB(u.value,p.value),I=fB(u.value,y.value);return d.value?{...v,transform:"translate("+M+"px, "+I+"px)",...yB(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:M+"px",top:I+"px"}});let C;function w(){if(h.value==null||u.value==null)return;const v=r.value;pD(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(M=>{p.value=M.x,y.value=M.y,f.value=M.strategy,m.value=M.placement,k.value=M.middlewareData,g.value=v!==!1})}function b(){typeof C=="function"&&(C(),C=void 0)}function L(){if(b(),o===void 0){w();return}if(h.value!=null&&u.value!=null){C=o(h.value,u.value,w);return}}function S(){r.value||(g.value=!1)}return a.watch([i,s,c,r],w,{flush:"sync"}),a.watch([h,u],L,{flush:"sync"}),a.watch(r,S,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(b),{x:a.shallowReadonly(p),y:a.shallowReadonly(y),strategy:a.shallowReadonly(f),placement:a.shallowReadonly(m),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(g),floatingStyles:x,update:w}}/**
|
|
1
|
+
(function(oe,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router"),require("vue-i18n"),require("vue3-lottie")):typeof define=="function"&&define.amd?define(["exports","vue","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router","vue-i18n","vue3-lottie"],a):(oe=typeof globalThis<"u"?globalThis:oe||self,a(oe.DynamicUI={},oe.Vue,oe.VueDatePicker,oe.Uppy,oe.UppyDashboard,oe.UppyImageEditor,oe.VueRouter,oe.VueI18n,oe.Vue3Lottie))})(this,(function(oe,a,it,dq,GA,hq,fs,ZS,uq){"use strict";var Ree=Object.defineProperty;var lq=oe=>{throw TypeError(oe)};var Nee=(oe,a,it)=>a in oe?Ree(oe,a,{enumerable:!0,configurable:!0,writable:!0,value:it}):oe[a]=it;var le=(oe,a,it)=>Nee(oe,typeof a!="symbol"?a+"":a,it),Uee=(oe,a,it)=>a.has(oe)||lq("Cannot "+it);var t1=(oe,a,it)=>(Uee(oe,a,"read from private field"),it?it.call(oe):a.get(oe)),cq=(oe,a,it)=>a.has(oe)?lq("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(oe):a.set(oe,it);var jS;function pq(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a1=pq(a);let vt={};function XA(e){vt={...vt,...e}}function yq(){return vt}function fq(){return vt.apiBaseUrl?vt.apiBaseUrl:typeof window<"u"&&window.__MICRO_API_BASE_URL__?window.__MICRO_API_BASE_URL__:""}function mq(){const e={"Content-Type":"application/json",Accept:"application/json"};let t=null;if(vt.getAuthToken?t=vt.getAuthToken():typeof window<"u"&&window.__MICRO_AUTH_TOKEN__?t=window.__MICRO_AUTH_TOKEN__:typeof localStorage<"u"&&(t=localStorage.getItem("token")||sessionStorage.getItem("token")),t&&(e.Authorization=`Bearer ${t}`),vt.getHeaders){const n=vt.getHeaders();return{...e,...n}}return e}function kq(){vt.onUnauthorized&&vt.onUnauthorized()}async function KA(e,t,n){const o=yq();if(o.apiClient)return o.apiClient(e,t||"GET",n);if(!e||!e.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const r=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],i=(t||"").trim().toUpperCase(),s=r.includes(i)?i:"GET";r.includes(i)||console.warn(`[DynamicUI][useApi] HTTP method '${t}' tidak valid, fallback ke 'GET'.`);const c=fq(),d=e.startsWith("http")?e:`${c}${e}`,h={method:s,headers:mq()};n&&!["GET","DELETE"].includes(s)&&(h.body=JSON.stringify(n));let u=d;if(n&&s==="GET"){const f=new URLSearchParams;Object.entries(n).forEach(([k,g])=>{g!=null&&f.append(k,String(g))});const m=f.toString();m&&(u=`${d}${d.includes("?")?"&":"?"}${m}`)}const p=await fetch(u,h);if(p.status===401&&kq(),!p.ok){const f=await p.text();throw new Error(`HTTP ${p.status}: ${f}`)}return(p.headers.get("content-type")||"").includes("application/json")?p.json():{status:!0,data:await p.text()}}function et(){return{apiUrl:(n,o,r)=>KA(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),KA(s,c,d)}}}const gq=["top","right","bottom","left"],ma=Math.min,st=Math.max,n1=Math.round,o1=Math.floor,Vt=e=>({x:e,y:e}),bq={left:"right",right:"left",bottom:"top",top:"bottom"},xq={start:"end",end:"start"};function YS(e,t,n){return st(e,ma(t,n))}function ta(e,t){return typeof e=="function"?e(t):e}function aa(e){return e.split("-")[0]}function ms(e){return e.split("-")[1]}function JS(e){return e==="x"?"y":"x"}function QS(e){return e==="y"?"height":"width"}const Mq=new Set(["top","bottom"]);function _t(e){return Mq.has(aa(e))?"y":"x"}function eI(e){return JS(_t(e))}function wq(e,t,n){n===void 0&&(n=!1);const o=ms(e),r=eI(e),i=QS(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=r1(s)),[s,r1(s)]}function vq(e){const t=r1(e);return[tI(e),t,tI(t)]}function tI(e){return e.replace(/start|end/g,t=>xq[t])}const ZA=["left","right"],YA=["right","left"],Cq=["top","bottom"],Lq=["bottom","top"];function Sq(e,t,n){switch(e){case"top":case"bottom":return n?t?YA:ZA:t?ZA:YA;case"left":case"right":return t?Cq:Lq;default:return[]}}function Iq(e,t,n,o){const r=ms(e);let i=Sq(aa(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(tI)))),i}function r1(e){return e.replace(/left|right|bottom|top/g,t=>bq[t])}function Aq(e){return{top:0,right:0,bottom:0,left:0,...e}}function JA(e){return typeof e!="number"?Aq(e):{top:e,right:e,bottom:e,left:e}}function i1(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 QA(e,t,n){let{reference:o,floating:r}=e;const i=_t(t),s=eI(t),c=QS(s),d=aa(t),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(ms(t)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function Bq(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=e,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=ta(t,e),m=JA(f),g=c[y?p==="floating"?"reference":"floating":p],x=i1(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),C=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},L=i1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:w,strategy:d}):C);return{top:(x.top-L.top+m.top)/b.y,bottom:(L.bottom-x.bottom+m.bottom)/b.y,left:(x.left-L.left+m.left)/b.x,right:(L.right-x.right+m.right)/b.x}}const Vq=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t));let h=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:p}=QA(h,o,d),y=o,f={},m=0;for(let g=0;g<c.length;g++){var k;const{name:x,fn:C}=c[g],{x:w,y:b,data:L,reset:S}=await C({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(k=s.detectOverflow)!=null?k:Bq},elements:{reference:e,floating:t}});u=w??u,p=b??p,f={...f,[x]:{...f[x],...L}},S&&m<=50&&(m++,typeof S=="object"&&(S.placement&&(y=S.placement),S.rects&&(h=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:u,y:p}=QA(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},_q=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=t,{element:h,padding:u=0}=ta(e,t)||{};if(h==null)return{};const p=JA(u),y={x:n,y:o},f=eI(r),m=QS(f),k=await s.getDimensions(h),g=f==="y",x=g?"top":"left",C=g?"bottom":"right",w=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[f]-y[f]-i.floating[m],L=y[f]-i.reference[f],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let v=S?S[w]:0;(!v||!await(s.isElement==null?void 0:s.isElement(S)))&&(v=c.floating[w]||i.floating[m]);const M=b/2-L/2,I=v/2-k[m]/2-1,V=ma(p[x],I),_=ma(p[C],I),B=V,D=v-k[m]-_,z=v/2-k[m]/2+M,G=YS(B,z,D),H=!d.arrow&&ms(r)!=null&&z!==G&&i.reference[m]/2-(z<B?V:_)-k[m]/2<0,j=H?z<B?z-B:z-D:0;return{[f]:y[f]+j,data:{[f]:G,centerOffset:z-G-j,...H&&{alignmentOffset:j}},reset:H}}}),zq=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:c,platform:d,elements:h}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:k=!0,...g}=ta(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const x=aa(r),C=_t(c),w=aa(c)===c,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),L=y||(w||!k?[r1(c)]:vq(c)),S=m!=="none";!y&&S&&L.push(...Iq(c,k,m,b));const v=[c,...L],M=await d.detectOverflow(t,g),I=[];let V=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(M[x]),p){const z=wq(r,s,b);I.push(M[z[0]],M[z[1]])}if(V=[...V,{placement:r,overflows:I}],!I.every(z=>z<=0)){var _,B;const z=(((_=i.flip)==null?void 0:_.index)||0)+1,G=v[z];if(G&&(!(p==="alignment"?C!==_t(G):!1)||V.every(U=>_t(U.placement)===C?U.overflows[0]>0:!0)))return{data:{index:z,overflows:V},reset:{placement:G}};let H=(B=V.filter(j=>j.overflows[0]<=0).sort((j,U)=>j.overflows[1]-U.overflows[1])[0])==null?void 0:B.placement;if(!H)switch(f){case"bestFit":{var D;const j=(D=V.filter(U=>{if(S){const J=_t(U.placement);return J===C||J==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(J=>J>0).reduce((J,E)=>J+E,0)]).sort((U,J)=>U[1]-J[1])[0])==null?void 0:D[0];j&&(H=j);break}case"initialPlacement":H=c;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function eB(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tB(e){return gq.some(t=>e[t]>=0)}const Pq=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=ta(e,t);switch(r){case"referenceHidden":{const s=await o.detectOverflow(t,{...i,elementContext:"reference"}),c=eB(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:tB(c)}}}case"escaped":{const s=await o.detectOverflow(t,{...i,altBoundary:!0}),c=eB(s,n.floating);return{data:{escapedOffsets:c,escaped:tB(c)}}}default:return{}}}}},aB=new Set(["left","top"]);async function qq(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=aa(n),c=ms(n),d=_t(n)==="y",h=aB.has(s)?-1:1,u=i&&d?-1:1,p=ta(t,e);let{mainAxis:y,crossAxis:f,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const Dq=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:c}=t,d=await qq(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},Eq=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:c=!1,limiter:d={fn:x=>{let{x:C,y:w}=x;return{x:C,y:w}}},...h}=ta(e,t),u={x:n,y:o},p=await i.detectOverflow(t,h),y=_t(aa(r)),f=JS(y);let m=u[f],k=u[y];if(s){const x=f==="y"?"top":"left",C=f==="y"?"bottom":"right",w=m+p[x],b=m-p[C];m=YS(w,m,b)}if(c){const x=y==="y"?"top":"left",C=y==="y"?"bottom":"right",w=k+p[x],b=k-p[C];k=YS(w,k,b)}const g=d.fn({...t,[f]:m,[y]:k});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},Tq=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=ta(e,t),u={x:n,y:o},p=_t(r),y=JS(p);let f=u[y],m=u[p];const k=ta(c,t),g=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(d){const w=y==="y"?"height":"width",b=i.reference[y]-i.floating[w]+g.mainAxis,L=i.reference[y]+i.reference[w]-g.mainAxis;f<b?f=b:f>L&&(f=L)}if(h){var x,C;const w=y==="y"?"width":"height",b=aB.has(aa(r)),L=i.reference[p]-i.floating[w]+(b&&((x=s.offset)==null?void 0:x[p])||0)+(b?0:g.crossAxis),S=i.reference[p]+i.reference[w]+(b?0:((C=s.offset)==null?void 0:C[p])||0)-(b?g.crossAxis:0);m<L?m=L:m>S&&(m=S)}return{[y]:f,[p]:m}}}},Hq=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:c}=t,{apply:d=()=>{},...h}=ta(e,t),u=await s.detectOverflow(t,h),p=aa(r),y=ms(r),f=_t(r)==="y",{width:m,height:k}=i.floating;let g,x;p==="top"||p==="bottom"?(g=p,x=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(x=p,g=y==="end"?"top":"bottom");const C=k-u.top-u.bottom,w=m-u.left-u.right,b=ma(k-u[g],C),L=ma(m-u[x],w),S=!t.middlewareData.shift;let v=b,M=L;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(v=C),S&&!y){const V=st(u.left,0),_=st(u.right,0),B=st(u.top,0),D=st(u.bottom,0);f?M=m-2*(V!==0||_!==0?V+_:st(u.left,u.right)):v=k-2*(B!==0||D!==0?B+D:st(u.top,u.bottom))}await d({...t,availableWidth:M,availableHeight:v});const I=await s.getDimensions(c.floating);return m!==I.width||k!==I.height?{reset:{rects:!0}}:{}}}};function s1(){return typeof window<"u"}function ja(e){return aI(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zt(e){var t;return(t=(aI(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function aI(e){return s1()?e instanceof Node||e instanceof lt(e).Node:!1}function Ct(e){return s1()?e instanceof Element||e instanceof lt(e).Element:!1}function Pt(e){return s1()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function nB(e){return!s1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const Oq=new Set(["inline","contents"]);function Gs(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Oq.has(r)}const jq=new Set(["table","td","th"]);function Fq(e){return jq.has(ja(e))}const Rq=[":popover-open",":modal"];function l1(e){return Rq.some(t=>{try{return e.matches(t)}catch{return!1}})}const Nq=["transform","translate","scale","rotate","perspective"],Uq=["transform","translate","scale","rotate","perspective","filter"],$q=["paint","layout","strict","content"];function nI(e){const t=oI(),n=Ct(e)?Lt(e):e;return Nq.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Uq.some(o=>(n.willChange||"").includes(o))||$q.some(o=>(n.contain||"").includes(o))}function Wq(e){let t=ka(e);for(;Pt(t)&&!ks(t);){if(nI(t))return t;if(l1(t))return null;t=ka(t)}return null}function oI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Gq=new Set(["html","body","#document"]);function ks(e){return Gq.has(ja(e))}function Lt(e){return lt(e).getComputedStyle(e)}function c1(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ka(e){if(ja(e)==="html")return e;const t=e.assignedSlot||e.parentNode||nB(e)&&e.host||zt(e);return nB(t)?t.host:t}function oB(e){const t=ka(e);return ks(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pt(t)&&Gs(t)?t:oB(t)}function Xs(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=oB(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=lt(r);if(i){const c=rI(s);return t.concat(s,s.visualViewport||[],Gs(r)?r:[],c&&n?Xs(c):[])}return t.concat(r,Xs(r,[],n))}function rI(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rB(e){const t=Lt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Pt(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,c=n1(n)!==i||n1(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function iI(e){return Ct(e)?e:e.contextElement}function gs(e){const t=iI(e);if(!Pt(t))return Vt(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=rB(t);let s=(i?n1(n.width):n.width)/o,c=(i?n1(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xq=Vt(0);function iB(e){const t=lt(e);return!oI()||!t.visualViewport?Xq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kq(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==lt(e)?!1:t}function Fa(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=iI(e);let s=Vt(1);t&&(o?Ct(o)&&(s=gs(o)):s=gs(e));const c=Kq(i,n,o)?iB(i):Vt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=lt(i),f=o&&Ct(o)?lt(o):o;let m=y,k=rI(m);for(;k&&o&&f!==m;){const g=gs(k),x=k.getBoundingClientRect(),C=Lt(k),w=x.left+(k.clientLeft+parseFloat(C.paddingLeft))*g.x,b=x.top+(k.clientTop+parseFloat(C.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=w,h+=b,m=lt(k),k=rI(m)}}return i1({width:u,height:p,x:d,y:h})}function d1(e,t){const n=c1(e).scrollLeft;return t?t.left+n:Fa(zt(e)).left+n}function sB(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-d1(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Zq(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=zt(o),c=t?l1(t.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=Vt(1);const u=Vt(0),p=Pt(o);if((p||!p&&!i)&&((ja(o)!=="body"||Gs(s))&&(d=c1(o)),Pt(o))){const f=Fa(o);h=gs(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?sB(s,d):Vt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function Yq(e){return Array.from(e.getClientRects())}function Jq(e){const t=zt(e),n=c1(e),o=e.ownerDocument.body,r=st(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=st(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+d1(e);const c=-n.scrollTop;return Lt(o).direction==="rtl"&&(s+=st(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const lB=25;function Qq(e,t){const n=lt(e),o=zt(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=oI();(!u||u&&t==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=d1(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,m=Math.abs(o.clientWidth-p.clientWidth-f);m<=lB&&(i-=m)}else h<=lB&&(i+=h);return{width:i,height:s,x:c,y:d}}const eD=new Set(["absolute","fixed"]);function tD(e,t){const n=Fa(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Pt(e)?gs(e):Vt(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function cB(e,t,n){let o;if(t==="viewport")o=Qq(e,n);else if(t==="document")o=Jq(zt(e));else if(Ct(t))o=tD(t,n);else{const r=iB(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return i1(o)}function dB(e,t){const n=ka(e);return n===t||!Ct(n)||ks(n)?!1:Lt(n).position==="fixed"||dB(n,t)}function aD(e,t){const n=t.get(e);if(n)return n;let o=Xs(e,[],!1).filter(c=>Ct(c)&&ja(c)!=="body"),r=null;const i=Lt(e).position==="fixed";let s=i?ka(e):e;for(;Ct(s)&&!ks(s);){const c=Lt(s),d=nI(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&eD.has(r.position)||Gs(s)&&!d&&dB(e,s))?o=o.filter(u=>u!==s):r=c,s=ka(s)}return t.set(e,o),o}function nD(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?l1(t)?[]:aD(t,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=cB(t,u,r);return h.top=st(p.top,h.top),h.right=ma(p.right,h.right),h.bottom=ma(p.bottom,h.bottom),h.left=st(p.left,h.left),h},cB(t,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function oD(e){const{width:t,height:n}=rB(e);return{width:t,height:n}}function rD(e,t,n){const o=Pt(t),r=zt(t),i=n==="fixed",s=Fa(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Vt(0);function h(){d.x=d1(r)}if(o||!o&&!i)if((ja(t)!=="body"||Gs(r))&&(c=c1(t)),o){const f=Fa(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?sB(r,c):Vt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function sI(e){return Lt(e).position==="static"}function hB(e,t){if(!Pt(e)||Lt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return zt(e)===n&&(n=n.ownerDocument.body),n}function uB(e,t){const n=lt(e);if(l1(e))return n;if(!Pt(e)){let r=ka(e);for(;r&&!ks(r);){if(Ct(r)&&!sI(r))return r;r=ka(r)}return n}let o=hB(e,t);for(;o&&Fq(o)&&sI(o);)o=hB(o,t);return o&&ks(o)&&sI(o)&&!nI(o)?n:o||Wq(e)||n}const iD=async function(e){const t=this.getOffsetParent||uB,n=this.getDimensions,o=await n(e.floating);return{reference:rD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function sD(e){return Lt(e).direction==="rtl"}const lD={convertOffsetParentRelativeRectToViewportRelativeRect:Zq,getDocumentElement:zt,getClippingRect:nD,getOffsetParent:uB,getElementRects:iD,getClientRects:Yq,getDimensions:oD,getScale:gs,isElement:Ct,isRTL:sD};function pB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cD(e,t){let n=null,o;const r=zt(e);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=e.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||t(),!y||!f)return;const m=o1(p),k=o1(r.clientWidth-(u+y)),g=o1(r.clientHeight-(p+f)),x=o1(u),w={rootMargin:-m+"px "+-k+"px "+-g+"px "+-x+"px",threshold:st(0,ma(1,d))||1};let b=!0;function L(S){const v=S[0].intersectionRatio;if(v!==d){if(!b)return s();v?s(!1,v):o=setTimeout(()=>{s(!1,1e-7)},1e3)}v===1&&!pB(h,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(L,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(L,w)}n.observe(e)}return s(!0),i}function h1(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=iI(e),u=r||i?[...h?Xs(h):[],...Xs(t)]:[];u.forEach(x=>{r&&x.addEventListener("scroll",n,{passive:!0}),i&&x.addEventListener("resize",n)});const p=h&&c?cD(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(x=>{let[C]=x;C&&C.target===h&&f&&(f.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),n()}),h&&!d&&f.observe(h),f.observe(t));let m,k=d?Fa(e):null;d&&g();function g(){const x=Fa(e);k&&!pB(k,x)&&n(),k=x,m=requestAnimationFrame(g)}return n(),()=>{var x;u.forEach(C=>{r&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),p==null||p(),(x=f)==null||x.disconnect(),f=null,d&&cancelAnimationFrame(m)}}const u1=Dq,p1=Eq,Ks=zq,y1=Hq,dD=Pq,hD=_q,uD=Tq,pD=(e,t,n)=>{const o=new Map,r={platform:lD,...n},i={...r.platform,_c:o};return Vq(e,t,{...r,platform:i})};function yD(e){return e!=null&&typeof e=="object"&&"$el"in e}function lI(e){if(yD(e)){const t=e.$el;return aI(t)&&ja(t)==="#comment"?null:t}return e}function bs(e){return typeof e=="function"?e():a.unref(e)}function fD(e){return{name:"arrow",options:e,fn(t){const n=lI(bs(e.element));return n==null?{}:hD({element:n,padding:e.padding}).fn(t)}}}function yB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fB(e,t){const n=yB(e);return Math.round(t*n)/n}function f1(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=a.computed(()=>{var v;return(v=bs(n.open))!=null?v:!0}),i=a.computed(()=>bs(n.middleware)),s=a.computed(()=>{var v;return(v=bs(n.placement))!=null?v:"bottom"}),c=a.computed(()=>{var v;return(v=bs(n.strategy))!=null?v:"absolute"}),d=a.computed(()=>{var v;return(v=bs(n.transform))!=null?v:!0}),h=a.computed(()=>lI(e.value)),u=a.computed(()=>lI(t.value)),p=a.ref(0),y=a.ref(0),f=a.ref(c.value),m=a.ref(s.value),k=a.shallowRef({}),g=a.ref(!1),x=a.computed(()=>{const v={position:f.value,left:"0",top:"0"};if(!u.value)return v;const M=fB(u.value,p.value),I=fB(u.value,y.value);return d.value?{...v,transform:"translate("+M+"px, "+I+"px)",...yB(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:M+"px",top:I+"px"}});let C;function w(){if(h.value==null||u.value==null)return;const v=r.value;pD(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(M=>{p.value=M.x,y.value=M.y,f.value=M.strategy,m.value=M.placement,k.value=M.middlewareData,g.value=v!==!1})}function b(){typeof C=="function"&&(C(),C=void 0)}function L(){if(b(),o===void 0){w();return}if(h.value!=null&&u.value!=null){C=o(h.value,u.value,w);return}}function S(){r.value||(g.value=!1)}return a.watch([i,s,c,r],w,{flush:"sync"}),a.watch([h,u],L,{flush:"sync"}),a.watch(r,S,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(b),{x:a.shallowReadonly(p),y:a.shallowReadonly(y),strategy:a.shallowReadonly(f),placement:a.shallowReadonly(m),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(g),floatingStyles:x,update:w}}/**
|
|
2
2
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1693,7 +1693,7 @@
|
|
|
1693
1693
|
*
|
|
1694
1694
|
* This source code is licensed under the ISC license.
|
|
1695
1695
|
* See the LICENSE file in the root directory of this source tree.
|
|
1696
|
-
*/const
|
|
1696
|
+
*/const qt=l("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
1697
1697
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1698
1698
|
*
|
|
1699
1699
|
* This source code is licensed under the ISC license.
|
|
@@ -1788,7 +1788,7 @@
|
|
|
1788
1788
|
*
|
|
1789
1789
|
* This source code is licensed under the ISC license.
|
|
1790
1790
|
* See the LICENSE file in the root directory of this source tree.
|
|
1791
|
-
*/const
|
|
1791
|
+
*/const Dt=l("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
1792
1792
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1793
1793
|
*
|
|
1794
1794
|
* This source code is licensed under the ISC license.
|
|
@@ -1968,7 +1968,7 @@
|
|
|
1968
1968
|
*
|
|
1969
1969
|
* This source code is licensed under the ISC license.
|
|
1970
1970
|
* See the LICENSE file in the root directory of this source tree.
|
|
1971
|
-
*/const
|
|
1971
|
+
*/const Et=l("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
1972
1972
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
1973
1973
|
*
|
|
1974
1974
|
* This source code is licensed under the ISC license.
|
|
@@ -2348,7 +2348,7 @@
|
|
|
2348
2348
|
*
|
|
2349
2349
|
* This source code is licensed under the ISC license.
|
|
2350
2350
|
* See the LICENSE file in the root directory of this source tree.
|
|
2351
|
-
*/const
|
|
2351
|
+
*/const Tt=l("columns-3-cog",[["path",{d:"M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5",key:"1g2yzs"}],["path",{d:"m14.3 19.6 1-.4",key:"11sv9r"}],["path",{d:"M15 3v7.5",key:"7lm50a"}],["path",{d:"m15.2 16.9-.9-.3",key:"1t7mvx"}],["path",{d:"m16.6 21.7.3-.9",key:"1j67ps"}],["path",{d:"m16.8 15.3-.4-1",key:"1ei7r6"}],["path",{d:"m19.1 15.2.3-.9",key:"18r7jp"}],["path",{d:"m19.6 21.7-.4-1",key:"z2vh2"}],["path",{d:"m20.7 16.8 1-.4",key:"19m87a"}],["path",{d:"m21.7 19.4-.9-.3",key:"1qgwi9"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]]);/**
|
|
2352
2352
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
2353
2353
|
*
|
|
2354
2354
|
* This source code is licensed under the ISC license.
|
|
@@ -3068,7 +3068,7 @@
|
|
|
3068
3068
|
*
|
|
3069
3069
|
* This source code is licensed under the ISC license.
|
|
3070
3070
|
* See the LICENSE file in the root directory of this source tree.
|
|
3071
|
-
*/const
|
|
3071
|
+
*/const Ht=l("file-headphone",[["path",{d:"M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343",key:"1vfytu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0",key:"1etmh7"}]]);/**
|
|
3072
3072
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3073
3073
|
*
|
|
3074
3074
|
* This source code is licensed under the ISC license.
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
*
|
|
3829
3829
|
* This source code is licensed under the ISC license.
|
|
3830
3830
|
* See the LICENSE file in the root directory of this source tree.
|
|
3831
|
-
*/const
|
|
3831
|
+
*/const Ot=l("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
|
|
3832
3832
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3833
3833
|
*
|
|
3834
3834
|
* This source code is licensed under the ISC license.
|
|
@@ -4538,12 +4538,12 @@
|
|
|
4538
4538
|
*
|
|
4539
4539
|
* This source code is licensed under the ISC license.
|
|
4540
4540
|
* See the LICENSE file in the root directory of this source tree.
|
|
4541
|
-
*/const
|
|
4541
|
+
*/const jt=l("list-indent-decrease",[["path",{d:"M21 5H11",key:"us1j55"}],["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 19H11",key:"saa85w"}],["path",{d:"m7 8-4 4 4 4",key:"o5hrat"}]]);/**
|
|
4542
4542
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4543
4543
|
*
|
|
4544
4544
|
* This source code is licensed under the ISC license.
|
|
4545
4545
|
* See the LICENSE file in the root directory of this source tree.
|
|
4546
|
-
*/const
|
|
4546
|
+
*/const Ft=l("list-indent-increase",[["path",{d:"M21 5H11",key:"us1j55"}],["path",{d:"M21 12H11",key:"wd7e0v"}],["path",{d:"M21 19H11",key:"saa85w"}],["path",{d:"m3 8 4 4-4 4",key:"1a3j6y"}]]);/**
|
|
4547
4547
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4548
4548
|
*
|
|
4549
4549
|
* This source code is licensed under the ISC license.
|
|
@@ -4603,7 +4603,7 @@
|
|
|
4603
4603
|
*
|
|
4604
4604
|
* This source code is licensed under the ISC license.
|
|
4605
4605
|
* See the LICENSE file in the root directory of this source tree.
|
|
4606
|
-
*/const
|
|
4606
|
+
*/const St=l("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
4607
4607
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
4608
4608
|
*
|
|
4609
4609
|
* This source code is licensed under the ISC license.
|
|
@@ -7018,7 +7018,7 @@
|
|
|
7018
7018
|
*
|
|
7019
7019
|
* This source code is licensed under the ISC license.
|
|
7020
7020
|
* See the LICENSE file in the root directory of this source tree.
|
|
7021
|
-
*/const
|
|
7021
|
+
*/const Rt=l("square-chart-gantt",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]]);/**
|
|
7022
7022
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7023
7023
|
*
|
|
7024
7024
|
* This source code is licensed under the ISC license.
|
|
@@ -7598,7 +7598,7 @@
|
|
|
7598
7598
|
*
|
|
7599
7599
|
* This source code is licensed under the ISC license.
|
|
7600
7600
|
* See the LICENSE file in the root directory of this source tree.
|
|
7601
|
-
*/const
|
|
7601
|
+
*/const Nt=l("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]);/**
|
|
7602
7602
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
7603
7603
|
*
|
|
7604
7604
|
* This source code is licensed under the ISC license.
|
|
@@ -8463,7 +8463,7 @@
|
|
|
8463
8463
|
*
|
|
8464
8464
|
* This source code is licensed under the ISC license.
|
|
8465
8465
|
* See the LICENSE file in the root directory of this source tree.
|
|
8466
|
-
*/const
|
|
8466
|
+
*/const pt=l("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
8467
8467
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8468
8468
|
*
|
|
8469
8469
|
* This source code is licensed under the ISC license.
|
|
@@ -8488,35 +8488,35 @@
|
|
|
8488
8488
|
*
|
|
8489
8489
|
* This source code is licensed under the ISC license.
|
|
8490
8490
|
* See the LICENSE file in the root directory of this source tree.
|
|
8491
|
-
*/const xD=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:m1,AArrowUp:k1,ALargeSmall:g1,Accessibility:b1,Activity:x1,AirVent:M1,Airplay:w1,AlarmClock:C1,AlarmClockCheck:Ra,AlarmClockMinus:Na,AlarmClockOff:v1,AlarmClockPlus:Ua,AlarmSmoke:L1,Album:I1,AlignCenterHorizontal:S1,AlignCenterVertical:A1,AlignEndHorizontal:B1,AlignEndVertical:V1,AlignHorizontalDistributeCenter:_1,AlignHorizontalDistributeEnd:z1,AlignHorizontalDistributeStart:P1,AlignHorizontalJustifyCenter:q1,AlignHorizontalJustifyEnd:D1,AlignHorizontalJustifyStart:E1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceBetween:H1,AlignStartHorizontal:O1,AlignStartVertical:j1,AlignVerticalDistributeCenter:F1,AlignVerticalDistributeEnd:R1,AlignVerticalDistributeStart:N1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceBetween:X1,Ambulance:K1,Ampersand:Z1,Ampersands:Y1,Amphora:Q1,Anchor:J1,Angry:ec,Annoyed:tc,Antenna:ac,Anvil:nc,Aperture:oc,AppWindow:ic,AppWindowMac:rc,Apple:sc,Archive:dc,ArchiveRestore:lc,ArchiveX:cc,Armchair:hc,ArrowBigDown:pc,ArrowBigDownDash:uc,ArrowBigLeft:fc,ArrowBigLeftDash:yc,ArrowBigRight:kc,ArrowBigRightDash:mc,ArrowBigUp:gc,ArrowBigUpDash:bc,ArrowDown:Bc,ArrowDown01:Mc,ArrowDown10:xc,ArrowDownAZ:$a,ArrowDownFromLine:wc,ArrowDownLeft:vc,ArrowDownNarrowWide:Lc,ArrowDownRight:Cc,ArrowDownToDot:Sc,ArrowDownToLine:Ic,ArrowDownUp:Ac,ArrowDownWideNarrow:Wa,ArrowDownZA:Ga,ArrowLeft:Pc,ArrowLeftFromLine:Vc,ArrowLeftRight:zc,ArrowLeftToLine:_c,ArrowRight:Ys,ArrowRightFromLine:qc,ArrowRightLeft:Dc,ArrowRightToLine:Ec,ArrowUp:Gc,ArrowUp01:Tc,ArrowUp10:Hc,ArrowUpAZ:Xa,ArrowUpDown:Oc,ArrowUpFromDot:jc,ArrowUpFromLine:Fc,ArrowUpLeft:Rc,ArrowUpNarrowWide:Ka,ArrowUpRight:Nc,ArrowUpToLine:Uc,ArrowUpWideNarrow:$c,ArrowUpZA:Za,ArrowsUpFromLine:Wc,Asterisk:Xc,AtSign:Kc,Atom:Zc,AudioLines:Yc,AudioWaveform:Jc,Award:Qc,Axe:ed,Axis3d:Ya,Baby:ad,Backpack:td,Badge:gd,BadgeAlert:nd,BadgeCent:od,BadgeCheck:Ja,BadgeDollarSign:rd,BadgeEuro:id,BadgeIndianRupee:sd,BadgeInfo:ld,BadgeJapaneseYen:cd,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeQuestionMark:Qa,BadgeRussianRuble:yd,BadgeSwissFranc:fd,BadgeTurkishLira:md,BadgeX:kd,BaggageClaim:bd,Balloon:xd,Ban:wd,Banana:Md,Bandage:vd,Banknote:Bd,BanknoteArrowDown:Cd,BanknoteArrowUp:Ld,BanknoteX:Sd,Barcode:Id,Barrel:Ad,Baseline:Vd,Bath:_d,Battery:Hd,BatteryCharging:zd,BatteryFull:Pd,BatteryLow:qd,BatteryMedium:Ed,BatteryPlus:Dd,BatteryWarning:Td,Beaker:Od,Bean:Fd,BeanOff:jd,Bed:Ud,BedDouble:Rd,BedSingle:Nd,Beef:$d,Beer:Gd,BeerOff:Wd,Bell:Qd,BellDot:Xd,BellElectric:Kd,BellMinus:Zd,BellOff:Yd,BellPlus:Jd,BellRing:e0,BetweenHorizontalEnd:en,BetweenHorizontalStart:tn,BetweenVerticalEnd:t0,BetweenVerticalStart:a0,BicepsFlexed:n0,Bike:o0,Binary:r0,Binoculars:s0,Biohazard:i0,Bird:l0,Birdhouse:c0,Bitcoin:d0,Blend:h0,Blinds:u0,Blocks:y0,Bluetooth:k0,BluetoothConnected:p0,BluetoothOff:f0,BluetoothSearching:m0,Bold:g0,Bolt:b0,Bomb:x0,Bone:M0,Book:W0,BookA:w0,BookAlert:v0,BookAudio:C0,BookCheck:S0,BookCopy:L0,BookDashed:an,BookDown:I0,BookHeadphones:A0,BookHeart:B0,BookImage:V0,BookKey:_0,BookLock:z0,BookMarked:P0,BookMinus:q0,BookOpen:T0,BookOpenCheck:D0,BookOpenText:E0,BookPlus:H0,BookSearch:O0,BookText:j0,BookType:F0,BookUp:R0,BookUp2:N0,BookUser:U0,BookX:$0,Bookmark:Y0,BookmarkCheck:G0,BookmarkMinus:X0,BookmarkPlus:K0,BookmarkX:Z0,BoomBox:Q0,Bot:t2,BotMessageSquare:J0,BotOff:e2,BottleWine:n2,BowArrow:a2,Box:o2,Boxes:r2,Braces:nn,Brackets:i2,Brain:c2,BrainCircuit:l2,BrainCog:s2,BrickWall:h2,BrickWallFire:d2,BrickWallShield:u2,Briefcase:f2,BriefcaseBusiness:p2,BriefcaseConveyorBelt:y2,BriefcaseMedical:m2,BringToFront:k2,Brush:b2,BrushCleaning:g2,Bubbles:x2,Bug:v2,BugOff:M2,BugPlay:w2,Building:L2,Building2:C2,Bus:I2,BusFront:S2,Cable:B2,CableCar:A2,Cake:_2,CakeSlice:V2,Calculator:z2,Calendar:Js,Calendar1:P2,CalendarArrowDown:E2,CalendarArrowUp:q2,CalendarCheck:T2,CalendarCheck2:D2,CalendarClock:H2,CalendarCog:j2,CalendarDays:O2,CalendarFold:F2,CalendarHeart:R2,CalendarMinus:U2,CalendarMinus2:N2,CalendarOff:$2,CalendarPlus:G2,CalendarPlus2:W2,CalendarRange:X2,CalendarSearch:K2,CalendarSync:Z2,CalendarX:J2,CalendarX2:Y2,Calendars:Q2,Camera:th,CameraOff:eh,Candy:oh,CandyCane:ah,CandyOff:nh,Cannabis:ih,CannabisOff:rh,Captions:on,CaptionsOff:sh,Car:dh,CarFront:lh,CarTaxiFront:ch,Caravan:hh,CardSim:uh,Carrot:ph,CaseLower:yh,CaseSensitive:fh,CaseUpper:mh,CassetteTape:kh,Cast:gh,Castle:bh,Cat:xh,Cctv:Mh,ChartArea:rn,ChartBar:cn,ChartBarBig:sn,ChartBarDecreasing:vh,ChartBarIncreasing:wh,ChartBarStacked:Ch,ChartCandlestick:ln,ChartColumn:un,ChartColumnBig:dn,ChartColumnDecreasing:Lh,ChartColumnIncreasing:hn,ChartColumnStacked:Sh,ChartGantt:Ih,ChartLine:pn,ChartNetwork:Ah,ChartNoAxesColumn:fn,ChartNoAxesColumnDecreasing:Bh,ChartNoAxesColumnIncreasing:yn,ChartNoAxesCombined:Vh,ChartNoAxesGantt:kn,ChartPie:mn,ChartScatter:gn,ChartSpline:zh,Check:ga,CheckCheck:_h,CheckLine:Ph,ChefHat:qh,Cherry:Dh,ChessBishop:Eh,ChessKing:Th,ChessKnight:Hh,ChessPawn:Oh,ChessQueen:jh,ChessRook:Fh,ChevronDown:Pt,ChevronFirst:Rh,ChevronLast:Nh,ChevronLeft:bn,ChevronRight:xn,ChevronUp:Qs,ChevronsDown:$h,ChevronsDownUp:Uh,ChevronsLeft:el,ChevronsLeftRight:Gh,ChevronsLeftRightEllipsis:Wh,ChevronsRight:tl,ChevronsRightLeft:Xh,ChevronsUp:Zh,ChevronsUpDown:Kh,Chromium:Mn,Church:Jh,Cigarette:Qh,CigaretteOff:Yh,Circle:al,CircleAlert:qt,CircleArrowDown:wn,CircleArrowLeft:vn,CircleArrowOutDownLeft:Cn,CircleArrowOutDownRight:Ln,CircleArrowOutUpLeft:Sn,CircleArrowOutUpRight:In,CircleArrowRight:An,CircleArrowUp:Bn,CircleCheck:Vn,CircleCheckBig:ba,CircleChevronDown:zn,CircleChevronLeft:Pn,CircleChevronRight:_n,CircleChevronUp:qn,CircleDashed:eu,CircleDivide:Dn,CircleDollarSign:tu,CircleDot:nu,CircleDotDashed:au,CircleEllipsis:ru,CircleEqual:ou,CircleFadingArrowUp:iu,CircleFadingPlus:su,CircleGauge:En,CircleMinus:Tn,CircleOff:lu,CircleParking:On,CircleParkingOff:Hn,CirclePause:jn,CirclePercent:Fn,CirclePile:cu,CirclePlay:Rn,CirclePlus:Nn,CirclePoundSterling:du,CirclePower:Un,CircleQuestionMark:Dt,CircleSlash:hu,CircleSlash2:$n,CircleSmall:uu,CircleStar:pu,CircleStop:Wn,CircleUser:Xn,CircleUserRound:Gn,CircleX:Kn,CircuitBoard:yu,Citrus:fu,Clapperboard:mu,Clipboard:Su,ClipboardCheck:gu,ClipboardClock:ku,ClipboardCopy:bu,ClipboardList:xu,ClipboardMinus:Mu,ClipboardPaste:wu,ClipboardPen:Yn,ClipboardPenLine:Zn,ClipboardPlus:vu,ClipboardType:Cu,ClipboardX:Lu,Clock:nl,Clock1:Iu,Clock10:Au,Clock11:Bu,Clock12:Vu,Clock2:_u,Clock3:zu,Clock4:Pu,Clock5:qu,Clock6:Du,Clock7:Eu,Clock8:Tu,Clock9:Hu,ClockAlert:Ou,ClockArrowDown:ju,ClockArrowUp:Fu,ClockCheck:Ru,ClockFading:Nu,ClockPlus:Uu,ClosedCaption:$u,Cloud:cp,CloudAlert:Wu,CloudBackup:Gu,CloudCheck:Xu,CloudCog:Ku,CloudDownload:Jn,CloudDrizzle:Zu,CloudFog:Yu,CloudHail:Ju,CloudLightning:Qu,CloudMoon:tp,CloudMoonRain:ep,CloudOff:ap,CloudRain:op,CloudRainWind:np,CloudSnow:rp,CloudSun:sp,CloudSunRain:ip,CloudSync:lp,CloudUpload:xa,Cloudy:dp,Clover:hp,Club:up,Code:pp,CodeXml:Qn,Codepen:yp,Codesandbox:fp,Coffee:mp,Cog:kp,Coins:gp,Columns2:eo,Columns3:to,Columns3Cog:Et,Columns4:bp,Combine:xp,Command:Mp,Compass:wp,Component:vp,Computer:Cp,ConciergeBell:Lp,Cone:Sp,Construction:Ip,Contact:Ap,ContactRound:ao,Container:Bp,Contrast:Vp,Cookie:zp,CookingPot:_p,Copy:Hp,CopyCheck:Pp,CopyMinus:qp,CopyPlus:Dp,CopySlash:Tp,CopyX:Ep,Copyleft:Op,Copyright:jp,CornerDownLeft:Fp,CornerDownRight:Np,CornerLeftDown:Rp,CornerLeftUp:Up,CornerRightDown:$p,CornerRightUp:Wp,CornerUpLeft:Gp,CornerUpRight:Xp,Cpu:xs,CreativeCommons:Kp,CreditCard:Zp,Croissant:Yp,Crop:Jp,Cross:Qp,Crosshair:ty,Crown:ey,Cuboid:ay,CupSoda:ny,Currency:oy,Cylinder:ry,Dam:iy,Database:dy,DatabaseBackup:sy,DatabaseSearch:ly,DatabaseZap:cy,DecimalsArrowLeft:hy,DecimalsArrowRight:uy,Delete:py,Dessert:yy,Diameter:fy,Diamond:gy,DiamondMinus:my,DiamondPercent:no,DiamondPlus:ky,Dice1:by,Dice2:xy,Dice3:My,Dice4:wy,Dice5:vy,Dice6:Cy,Dices:Ly,Diff:Sy,Disc:Vy,Disc2:Iy,Disc3:Ay,DiscAlbum:By,Divide:_y,Dna:Py,DnaOff:zy,Dock:qy,Dog:Ey,DollarSign:Dy,Donut:Hy,DoorClosed:Oy,DoorClosedLocked:Ty,DoorOpen:jy,Dot:Fy,Download:ol,DraftingCompass:Ry,Drama:Uy,Dribbble:Ny,Drill:$y,Drone:Wy,Droplet:Xy,DropletOff:Gy,Droplets:Ky,Drum:Zy,Drumstick:Yy,Dumbbell:Jy,Ear:ef,EarOff:Qy,Earth:oo,EarthLock:tf,Eclipse:af,Egg:of,EggFried:nf,EggOff:rf,Ellipsis:Ma,EllipsisVertical:ro,Equal:cf,EqualApproximately:lf,EqualNot:sf,Eraser:df,EthernetPort:hf,Euro:uf,EvCharger:pf,Expand:yf,ExternalLink:ff,Eye:Ms,EyeClosed:mf,EyeOff:rl,Facebook:kf,Factory:gf,Fan:bf,FastForward:xf,Feather:Mf,Fence:wf,FerrisWheel:vf,Figma:Cf,File:Jf,FileArchive:Lf,FileAxis3d:io,FileBadge:so,FileBox:Sf,FileBraces:co,FileBracesCorner:lo,FileChartColumn:uo,FileChartColumnIncreasing:ho,FileChartLine:po,FileChartPie:yo,FileCheck:If,FileCheckCorner:fo,FileClock:Af,FileCode:Bf,FileCodeCorner:mo,FileCog:ko,FileDiff:Vf,FileDigit:zf,FileDown:_f,FileExclamationPoint:go,FileHeadphone:Tt,FileHeart:Pf,FileImage:qf,FileInput:Df,FileKey:bo,FileLock:xo,FileMinus:Tf,FileMinusCorner:Mo,FileMusic:Ef,FileOutput:Hf,FilePen:Co,FilePenLine:wo,FilePlay:vo,FilePlus:Of,FilePlusCorner:Lo,FileQuestionMark:So,FileScan:jf,FileSearch:Ff,FileSearchCorner:Io,FileSignal:Ao,FileSliders:Rf,FileSpreadsheet:Nf,FileStack:Uf,FileSymlink:$f,FileTerminal:Wf,FileText:ws,FileType:Gf,FileTypeCorner:Bo,FileUp:Xf,FileUser:Kf,FileVideoCamera:Vo,FileVolume:Zf,FileX:Yf,FileXCorner:_o,Files:em,Film:Qf,FingerprintPattern:zo,FireExtinguisher:tm,Fish:om,FishOff:am,FishSymbol:nm,FishingHook:rm,Flag:cm,FlagOff:im,FlagTriangleLeft:sm,FlagTriangleRight:lm,Flame:hm,FlameKindling:dm,Flashlight:pm,FlashlightOff:um,FlaskConical:fm,FlaskConicalOff:ym,FlaskRound:mm,FlipHorizontal2:km,FlipVertical2:gm,Flower:xm,Flower2:bm,Focus:Mm,FoldHorizontal:wm,FoldVertical:vm,Folder:Ym,FolderArchive:Cm,FolderCheck:Lm,FolderClock:Sm,FolderClosed:Im,FolderCode:Am,FolderCog:Po,FolderDot:Bm,FolderDown:Vm,FolderGit:zm,FolderGit2:_m,FolderHeart:Pm,FolderInput:qm,FolderKanban:Em,FolderKey:Dm,FolderLock:Tm,FolderMinus:jm,FolderOpen:Om,FolderOpenDot:Hm,FolderOutput:Fm,FolderPen:qo,FolderPlus:Um,FolderRoot:Rm,FolderSearch:$m,FolderSearch2:Nm,FolderSymlink:Gm,FolderSync:Wm,FolderTree:Xm,FolderUp:Km,FolderX:Zm,Folders:Jm,Footprints:Qm,Forklift:ek,Form:tk,Forward:nk,Frame:ak,Framer:ok,Frown:rk,Fuel:ik,Fullscreen:sk,Funnel:Eo,FunnelPlus:lk,FunnelX:Do,GalleryHorizontal:dk,GalleryHorizontalEnd:ck,GalleryThumbnails:hk,GalleryVertical:pk,GalleryVerticalEnd:uk,Gamepad:kk,Gamepad2:yk,GamepadDirectional:fk,Gauge:mk,Gavel:gk,Gem:bk,GeorgianLari:xk,Ghost:Mk,Gift:wk,GitBranch:Lk,GitBranchMinus:vk,GitBranchPlus:Ck,GitCommitHorizontal:To,GitCommitVertical:Sk,GitCompare:Ak,GitCompareArrows:Ik,GitFork:Bk,GitGraph:Vk,GitMerge:zk,GitMergeConflict:_k,GitPullRequest:Hk,GitPullRequestArrow:Pk,GitPullRequestClosed:qk,GitPullRequestCreate:Ek,GitPullRequestCreateArrow:Dk,GitPullRequestDraft:Tk,Github:Ok,Gitlab:jk,GlassWater:Fk,Glasses:Rk,Globe:il,GlobeLock:Nk,GlobeOff:Uk,GlobeX:$k,Goal:Wk,Gpu:Xk,GraduationCap:Gk,Grape:Kk,Grid2x2:Fo,Grid2x2Check:Ho,Grid2x2Plus:jo,Grid2x2X:Oo,Grid3x2:Zk,Grid3x3:Ht,Grip:Qk,GripHorizontal:Yk,GripVertical:Jk,Group:tg,Guitar:eg,Ham:ag,Hamburger:ng,Hammer:og,Hand:dg,HandCoins:rg,HandFist:ig,HandGrab:Ro,HandHeart:sg,HandHelping:No,HandMetal:lg,HandPlatter:cg,Handbag:hg,Handshake:ug,HardDrive:fg,HardDriveDownload:pg,HardDriveUpload:yg,HardHat:mg,Hash:kg,HatGlasses:gg,Haze:bg,Hd:xg,HdmiPort:Mg,Heading:Ag,Heading1:wg,Heading2:vg,Heading3:Cg,Heading4:Lg,Heading5:Sg,Heading6:Ig,HeadphoneOff:Bg,Headphones:Vg,Headset:_g,Heart:Hg,HeartCrack:zg,HeartHandshake:qg,HeartMinus:Pg,HeartOff:Dg,HeartPlus:Eg,HeartPulse:Tg,Heater:Og,Helicopter:jg,Hexagon:Fg,Highlighter:Rg,History:Ng,Hop:$g,HopOff:Ug,Hospital:Wg,Hotel:Gg,Hourglass:Xg,House:Uo,HouseHeart:Kg,HousePlug:Zg,HousePlus:Yg,HouseWifi:Jg,IceCreamBowl:$o,IceCreamCone:Wo,IdCard:e4,IdCardLanyard:Qg,Image:l4,ImageDown:t4,ImageMinus:a4,ImageOff:n4,ImagePlay:o4,ImagePlus:r4,ImageUp:i4,ImageUpscale:s4,Images:c4,Import:h4,Inbox:d4,IndianRupee:u4,Infinity:p4,Info:y4,InspectionPanel:f4,Instagram:m4,Italic:k4,IterationCcw:g4,IterationCw:b4,JapaneseYen:x4,Joystick:M4,Kanban:w4,Kayak:v4,Key:I4,KeyRound:C4,KeySquare:L4,Keyboard:B4,KeyboardMusic:S4,KeyboardOff:A4,Lamp:D4,LampCeiling:V4,LampDesk:_4,LampFloor:P4,LampWallDown:z4,LampWallUp:q4,LandPlot:E4,Landmark:H4,Languages:T4,Laptop:j4,LaptopMinimal:Go,LaptopMinimalCheck:O4,Lasso:R4,LassoSelect:F4,Laugh:N4,Layers:Xo,Layers2:U4,LayersPlus:$4,LayoutDashboard:W4,LayoutGrid:G4,LayoutList:X4,LayoutPanelLeft:K4,LayoutPanelTop:Z4,LayoutTemplate:Y4,Leaf:J4,LeafyGreen:Q4,Lectern:e5,LensConcave:t5,LensConvex:a5,Library:i5,LibraryBig:n5,LifeBuoy:r5,Ligature:o5,Lightbulb:l5,LightbulbOff:s5,LineDotRightHorizontal:c5,LineSquiggle:d5,Link:sl,Link2:u5,Link2Off:h5,Linkedin:p5,List:z5,ListCheck:y5,ListChecks:f5,ListChevronsDownUp:k5,ListChevronsUpDown:m5,ListCollapse:g5,ListEnd:b5,ListFilter:x5,ListFilterPlus:M5,ListIndentDecrease:Ot,ListIndentIncrease:jt,ListMinus:L5,ListMusic:w5,ListOrdered:v5,ListPlus:C5,ListRestart:S5,ListStart:I5,ListTodo:B5,ListTree:A5,ListVideo:V5,ListX:_5,Loader:q5,LoaderCircle:Lt,LoaderPinwheel:P5,Locate:T5,LocateFixed:D5,LocateOff:E5,Lock:O5,LockKeyhole:H5,LockKeyholeOpen:Ko,LockOpen:Zo,LogIn:j5,LogOut:F5,Logs:R5,Lollipop:N5,Luggage:U5,Magnet:$5,Mail:Q5,MailCheck:W5,MailMinus:X5,MailOpen:G5,MailPlus:K5,MailQuestionMark:Yo,MailSearch:Z5,MailWarning:J5,MailX:Y5,Mailbox:a3,Mails:e3,Map:f3,MapMinus:t3,MapPin:ll,MapPinCheck:n3,MapPinCheckInside:o3,MapPinHouse:r3,MapPinMinus:s3,MapPinMinusInside:i3,MapPinOff:l3,MapPinPen:Jo,MapPinPlus:d3,MapPinPlusInside:c3,MapPinX:h3,MapPinXInside:u3,MapPinned:p3,MapPlus:y3,Mars:g3,MarsStroke:m3,Martini:k3,Maximize:x3,Maximize2:b3,Medal:M3,Megaphone:v3,MegaphoneOff:w3,Meh:C3,MemoryStick:L3,Menu:S3,Merge:I3,MessageCircle:H3,MessageCircleCheck:A3,MessageCircleCode:B3,MessageCircleDashed:V3,MessageCircleHeart:_3,MessageCircleMore:P3,MessageCircleOff:z3,MessageCirclePlus:q3,MessageCircleQuestionMark:Qo,MessageCircleReply:D3,MessageCircleWarning:E3,MessageCircleX:T3,MessageSquare:vs,MessageSquareCheck:O3,MessageSquareCode:j3,MessageSquareDashed:F3,MessageSquareDiff:R3,MessageSquareDot:N3,MessageSquareHeart:U3,MessageSquareLock:$3,MessageSquareMore:W3,MessageSquareOff:G3,MessageSquarePlus:X3,MessageSquareQuote:K3,MessageSquareReply:Z3,MessageSquareShare:Y3,MessageSquareText:Q3,MessageSquareWarning:J3,MessageSquareX:e6,MessagesSquare:t6,Metronome:a6,Mic:o6,MicOff:n6,MicVocal:er,Microchip:r6,Microscope:i6,Microwave:s6,Milestone:l6,Milk:d6,MilkOff:c6,Minimize:h6,Minimize2:u6,Minus:cl,MirrorRectangular:p6,MirrorRound:y6,Monitor:A6,MonitorCheck:f6,MonitorCloud:m6,MonitorCog:k6,MonitorDot:g6,MonitorDown:b6,MonitorOff:x6,MonitorPause:M6,MonitorPlay:w6,MonitorSmartphone:v6,MonitorSpeaker:C6,MonitorStop:L6,MonitorUp:S6,MonitorX:I6,Moon:V6,MoonStar:B6,Motorbike:_6,Mountain:P6,MountainSnow:z6,Mouse:R6,MouseLeft:q6,MouseOff:D6,MousePointer:j6,MousePointer2:T6,MousePointer2Off:E6,MousePointerBan:H6,MousePointerClick:O6,MouseRight:F6,Move:t8,Move3d:tr,MoveDiagonal:U6,MoveDiagonal2:N6,MoveDown:G6,MoveDownLeft:$6,MoveDownRight:W6,MoveHorizontal:X6,MoveLeft:K6,MoveRight:Y6,MoveUp:Q6,MoveUpLeft:Z6,MoveUpRight:J6,MoveVertical:e8,Music:r8,Music2:a8,Music3:n8,Music4:o8,Navigation:c8,Navigation2:s8,Navigation2Off:i8,NavigationOff:l8,Network:d8,Newspaper:h8,Nfc:u8,NonBinary:p8,Notebook:k8,NotebookPen:f8,NotebookTabs:y8,NotebookText:m8,NotepadText:b8,NotepadTextDashed:g8,Nut:M8,NutOff:x8,Octagon:v8,OctagonAlert:ar,OctagonMinus:w8,OctagonPause:nr,OctagonX:or,Omega:C8,Option:L8,Orbit:S8,Origami:I8,Package:D8,Package2:A8,PackageCheck:V8,PackageMinus:B8,PackageOpen:_8,PackagePlus:z8,PackageSearch:P8,PackageX:q8,PaintBucket:E8,PaintRoller:T8,Paintbrush:H8,PaintbrushVertical:rr,Palette:O8,Panda:j8,PanelBottom:N8,PanelBottomClose:F8,PanelBottomDashed:ir,PanelBottomOpen:R8,PanelLeft:dr,PanelLeftClose:lr,PanelLeftDashed:sr,PanelLeftOpen:cr,PanelLeftRightDashed:U8,PanelRight:G8,PanelRightClose:$8,PanelRightDashed:hr,PanelRightOpen:W8,PanelTop:Y8,PanelTopBottomDashed:X8,PanelTopClose:K8,PanelTopDashed:ur,PanelTopOpen:Z8,PanelsLeftBottom:J8,PanelsRightBottom:Q8,PanelsTopLeft:pr,Paperclip:e7,Parentheses:t7,ParkingMeter:a7,PartyPopper:n7,Pause:o7,PawPrint:r7,PcCase:i7,Pen:fr,PenLine:yr,PenOff:s7,PenTool:l7,Pencil:mr,PencilLine:c7,PencilOff:d7,PencilRuler:h7,Pentagon:u7,Percent:p7,PersonStanding:y7,PhilippinePeso:f7,Phone:dl,PhoneCall:m7,PhoneForwarded:k7,PhoneIncoming:g7,PhoneMissed:x7,PhoneOff:b7,PhoneOutgoing:M7,Pi:w7,Piano:v7,Pickaxe:C7,PictureInPicture:S7,PictureInPicture2:L7,PiggyBank:I7,Pilcrow:V7,PilcrowLeft:A7,PilcrowRight:B7,Pill:D7,PillBottle:_7,Pin:P7,PinOff:z7,Pipette:q7,Pizza:E7,Plane:hl,PlaneLanding:T7,PlaneTakeoff:H7,Play:O7,Plug:F7,Plug2:j7,PlugZap:kr,Plus:ul,Pocket:N7,PocketKnife:R7,Podcast:U7,Pointer:W7,PointerOff:$7,Popcorn:G7,Popsicle:X7,PoundSterling:Z7,Power:Y7,PowerOff:K7,Presentation:J7,Printer:tb,PrinterCheck:Q7,PrinterX:eb,Projector:ab,Proportions:rb,Puzzle:nb,Pyramid:ob,QrCode:ib,Quote:sb,Rabbit:cb,Radar:lb,Radiation:hb,Radical:db,Radio:yb,RadioReceiver:ub,RadioTower:pb,Radius:fb,RailSymbol:mb,Rainbow:kb,Rat:gb,Ratio:bb,Receipt:Bb,ReceiptCent:xb,ReceiptEuro:Mb,ReceiptIndianRupee:wb,ReceiptJapaneseYen:vb,ReceiptPoundSterling:Cb,ReceiptRussianRuble:Lb,ReceiptSwissFranc:Sb,ReceiptText:Ib,ReceiptTurkishLira:Ab,RectangleCircle:Vb,RectangleEllipsis:gr,RectangleGoggles:_b,RectangleHorizontal:zb,RectangleVertical:Pb,Recycle:qb,Redo:Eb,Redo2:Db,RedoDot:Tb,RefreshCcw:Ob,RefreshCcwDot:Hb,RefreshCw:Cs,RefreshCwOff:jb,Refrigerator:Rb,Regex:Fb,RemoveFormatting:Nb,Repeat:$b,Repeat1:Ub,Repeat2:Gb,Replace:Xb,ReplaceAll:Wb,Reply:Zb,ReplyAll:Kb,Rewind:Jb,Ribbon:Yb,Rocket:Qb,RockingChair:ex,RollerCoaster:tx,Rose:ax,Rotate3d:br,RotateCcw:rx,RotateCcwKey:nx,RotateCcwSquare:ox,RotateCw:sx,RotateCwSquare:ix,Route:cx,RouteOff:lx,Router:dx,Rows2:xr,Rows3:Mr,Rows4:hx,Rss:ux,Ruler:px,RulerDimensionLine:yx,RussianRuble:fx,Sailboat:mx,Salad:kx,Sandwich:bx,Satellite:xx,SatelliteDish:gx,SaudiRiyal:Mx,Save:Cx,SaveAll:vx,SaveOff:wx,Scale:Lx,Scale3d:wr,Scaling:Sx,Scan:qx,ScanBarcode:Ix,ScanEye:Ax,ScanFace:Bx,ScanHeart:Vx,ScanLine:_x,ScanQrCode:Px,ScanSearch:zx,ScanText:Dx,School:Ex,Scissors:Ox,ScissorsLineDashed:Tx,Scooter:Hx,ScreenShare:Fx,ScreenShareOff:jx,Scroll:Nx,ScrollText:Rx,Search:vr,SearchAlert:Ux,SearchCheck:Wx,SearchCode:$x,SearchSlash:Gx,SearchX:Xx,Section:Kx,Send:Yx,SendHorizontal:Cr,SendToBack:Zx,SeparatorHorizontal:Jx,SeparatorVertical:Qx,Server:pl,ServerCog:eM,ServerCrash:tM,ServerOff:nM,Settings:oM,Settings2:aM,Shapes:rM,Share:iM,Share2:yl,Sheet:sM,Shell:lM,ShelvingUnit:cM,Shield:bM,ShieldAlert:dM,ShieldBan:hM,ShieldCheck:uM,ShieldEllipsis:pM,ShieldHalf:yM,ShieldMinus:kM,ShieldOff:fM,ShieldPlus:mM,ShieldQuestionMark:Lr,ShieldUser:gM,ShieldX:Sr,Ship:MM,ShipWheel:xM,Shirt:wM,ShoppingBag:vM,ShoppingBasket:CM,ShoppingCart:fl,Shovel:SM,ShowerHead:LM,Shredder:IM,Shrimp:AM,Shrink:BM,Shrub:VM,Shuffle:_M,Sigma:zM,Signal:TM,SignalHigh:PM,SignalLow:qM,SignalMedium:DM,SignalZero:EM,Signature:HM,Signpost:jM,SignpostBig:OM,Siren:FM,SkipBack:NM,SkipForward:RM,Skull:$M,Slack:UM,Slash:WM,Slice:GM,SlidersHorizontal:ml,SlidersVertical:Ir,Smartphone:ZM,SmartphoneCharging:XM,SmartphoneNfc:KM,Smile:JM,SmilePlus:YM,Snail:QM,Snowflake:e9,SoapDispenserDroplet:t9,Sofa:a9,SolarPanel:n9,Soup:o9,Space:r9,Spade:i9,Sparkle:s9,Sparkles:Ar,Speaker:l9,Speech:c9,SpellCheck:u9,SpellCheck2:d9,Spline:p9,SplinePointer:h9,Split:y9,Spool:f9,Spotlight:m9,SprayCan:k9,Sprout:g9,Square:z9,SquareActivity:Br,SquareArrowDown:zr,SquareArrowDownLeft:Vr,SquareArrowDownRight:_r,SquareArrowLeft:Pr,SquareArrowOutDownLeft:qr,SquareArrowOutDownRight:Dr,SquareArrowOutUpLeft:Er,SquareArrowOutUpRight:Tr,SquareArrowRight:Hr,SquareArrowRightEnter:b9,SquareArrowRightExit:x9,SquareArrowUp:Fr,SquareArrowUpLeft:jr,SquareArrowUpRight:Or,SquareAsterisk:Rr,SquareBottomDashedScissors:Nr,SquareCenterlineDashedHorizontal:Ur,SquareCenterlineDashedVertical:$r,SquareChartGantt:Ft,SquareCheck:Gr,SquareCheckBig:Wr,SquareChevronDown:Xr,SquareChevronLeft:Kr,SquareChevronRight:Zr,SquareChevronUp:Yr,SquareCode:Jr,SquareDashed:ti,SquareDashedBottom:w9,SquareDashedBottomCode:M9,SquareDashedKanban:Qr,SquareDashedMousePointer:ei,SquareDashedTopSolid:v9,SquareDivide:ni,SquareDot:ai,SquareEqual:oi,SquareFunction:ri,SquareKanban:ii,SquareLibrary:si,SquareM:li,SquareMenu:ci,SquareMinus:di,SquareMousePointer:hi,SquareParking:pi,SquareParkingOff:ui,SquarePause:C9,SquarePen:at,SquarePercent:yi,SquarePi:fi,SquarePilcrow:mi,SquarePlay:ki,SquarePlus:gi,SquarePower:bi,SquareRadical:S9,SquareRoundCorner:L9,SquareScissors:xi,SquareSigma:Mi,SquareSlash:wi,SquareSplitHorizontal:vi,SquareSplitVertical:Ci,SquareSquare:I9,SquareStack:A9,SquareStar:V9,SquareStop:B9,SquareTerminal:Li,SquareUser:Ai,SquareUserRound:Si,SquareX:Ii,SquaresExclude:_9,SquaresIntersect:P9,SquaresSubtract:q9,SquaresUnite:D9,Squircle:T9,SquircleDashed:E9,Squirrel:H9,Stamp:O9,Star:N9,StarHalf:j9,StarOff:F9,StepBack:R9,StepForward:U9,Stethoscope:$9,Sticker:W9,StickyNote:G9,Stone:X9,Store:K9,StretchHorizontal:Y9,StretchVertical:Z9,Strikethrough:J9,Subscript:Q9,Sun:ow,SunDim:ew,SunMedium:tw,SunMoon:nw,SunSnow:aw,Sunrise:rw,Sunset:iw,Superscript:sw,SwatchBook:lw,SwissFranc:cw,SwitchCamera:hw,Sword:dw,Swords:uw,Syringe:pw,Table:ww,Table2:yw,TableCellsMerge:fw,TableCellsSplit:mw,TableColumnsSplit:kw,TableOfContents:gw,TableProperties:bw,TableRowsSplit:xw,Tablet:Mw,TabletSmartphone:vw,Tablets:Cw,Tag:Lw,Tags:Sw,Tally1:Iw,Tally2:Aw,Tally3:Bw,Tally4:Vw,Tally5:_w,Tangent:zw,Target:Pw,Telescope:qw,Tent:Ew,TentTree:Dw,Terminal:Tw,TestTube:Hw,TestTubeDiagonal:Bi,TestTubes:Ow,TextAlignCenter:zi,TextAlignEnd:Vi,TextAlignJustify:_i,TextAlignStart:Rt,TextCursor:Fw,TextCursorInput:jw,TextInitial:Pi,TextQuote:Nw,TextSearch:Rw,TextSelect:Di,TextWrap:qi,Theater:Uw,Thermometer:Gw,ThermometerSnowflake:$w,ThermometerSun:Ww,ThumbsDown:Kw,ThumbsUp:Xw,Ticket:nv,TicketCheck:Zw,TicketMinus:Yw,TicketPercent:Jw,TicketPlus:Qw,TicketSlash:ev,TicketX:tv,Tickets:ov,TicketsPlane:av,Timer:sv,TimerOff:rv,TimerReset:iv,ToggleLeft:kl,ToggleRight:lv,Toilet:cv,ToolCase:dv,Toolbox:hv,Tornado:uv,Torus:pv,Touchpad:fv,TouchpadOff:yv,TowelRack:mv,TowerControl:kv,ToyBrick:gv,Tractor:bv,TrafficCone:xv,TrainFront:Cv,TrainFrontTunnel:Mv,TrainTrack:wv,TramFront:Ei,Transgender:vv,Trash:Lv,Trash2:Ti,TreeDeciduous:Sv,TreePalm:Hi,TreePine:Iv,Trees:Av,Trello:Bv,TrendingDown:Vv,TrendingUp:zv,TrendingUpDown:_v,Triangle:Ev,TriangleAlert:Oi,TriangleDashed:Pv,TriangleRight:Dv,Trophy:qv,Truck:Hv,TruckElectric:Tv,TurkishLira:Ov,Turntable:jv,Turtle:Fv,Tv:Nv,TvMinimal:ji,TvMinimalPlay:Rv,Twitch:Uv,Twitter:Wv,Type:Gv,TypeOutline:$v,Umbrella:Kv,UmbrellaOff:Xv,Underline:Zv,Undo:Jv,Undo2:Yv,UndoDot:Qv,UnfoldHorizontal:eC,UnfoldVertical:tC,Ungroup:aC,University:Fi,Unlink:oC,Unlink2:nC,Unplug:rC,Upload:iC,Usb:sC,User:gl,UserCheck:lC,UserCog:cC,UserKey:dC,UserLock:hC,UserMinus:uC,UserPen:pC,UserPlus:yC,UserRound:Gi,UserRoundCheck:Ri,UserRoundCog:Ni,UserRoundKey:fC,UserRoundMinus:Ui,UserRoundPen:mC,UserRoundPlus:$i,UserRoundSearch:kC,UserRoundX:Wi,UserSearch:bC,UserStar:gC,UserX:xC,Users:MC,UsersRound:Xi,Utensils:Zi,UtensilsCrossed:Ki,UtilityPole:wC,Van:vC,Variable:LC,Vault:CC,VectorSquare:SC,Vegan:IC,VenetianMask:AC,Venus:BC,VenusAndMars:VC,Vibrate:zC,VibrateOff:_C,Video:qC,VideoOff:PC,Videotape:DC,View:EC,Voicemail:TC,Volleyball:jC,Volume:RC,Volume1:HC,Volume2:OC,VolumeOff:FC,VolumeX:NC,Vote:UC,Wallet:WC,WalletCards:$C,WalletMinimal:Yi,Wallpaper:GC,Wand:XC,WandSparkles:Ji,Warehouse:KC,WashingMachine:ZC,Watch:YC,Waves:tL,WavesArrowDown:JC,WavesArrowUp:QC,WavesLadder:eL,Waypoints:aL,Webcam:nL,Webhook:rL,WebhookOff:oL,Weight:sL,WeightTilde:iL,Wheat:cL,WheatOff:lL,WholeWord:dL,Wifi:gL,WifiCog:hL,WifiHigh:uL,WifiLow:yL,WifiOff:pL,WifiPen:fL,WifiSync:mL,WifiZero:kL,Wind:bL,WindArrowDown:xL,Wine:ML,WineOff:wL,Workflow:vL,Worm:CL,Wrench:LL,X:ut,XLineTop:SL,Youtube:IL,Zap:VL,ZapOff:AL,ZoomIn:BL,ZoomOut:_L},Symbol.toStringTag,{value:"Module"}));/**
|
|
8491
|
+
*/const xD=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:m1,AArrowUp:k1,ALargeSmall:g1,Accessibility:b1,Activity:x1,AirVent:M1,Airplay:w1,AlarmClock:C1,AlarmClockCheck:Ra,AlarmClockMinus:Na,AlarmClockOff:v1,AlarmClockPlus:Ua,AlarmSmoke:L1,Album:I1,AlignCenterHorizontal:S1,AlignCenterVertical:A1,AlignEndHorizontal:B1,AlignEndVertical:V1,AlignHorizontalDistributeCenter:_1,AlignHorizontalDistributeEnd:z1,AlignHorizontalDistributeStart:P1,AlignHorizontalJustifyCenter:q1,AlignHorizontalJustifyEnd:D1,AlignHorizontalJustifyStart:E1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceBetween:H1,AlignStartHorizontal:O1,AlignStartVertical:j1,AlignVerticalDistributeCenter:F1,AlignVerticalDistributeEnd:R1,AlignVerticalDistributeStart:N1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceBetween:X1,Ambulance:K1,Ampersand:Z1,Ampersands:Y1,Amphora:Q1,Anchor:J1,Angry:ec,Annoyed:tc,Antenna:ac,Anvil:nc,Aperture:oc,AppWindow:ic,AppWindowMac:rc,Apple:sc,Archive:dc,ArchiveRestore:lc,ArchiveX:cc,Armchair:hc,ArrowBigDown:pc,ArrowBigDownDash:uc,ArrowBigLeft:fc,ArrowBigLeftDash:yc,ArrowBigRight:kc,ArrowBigRightDash:mc,ArrowBigUp:gc,ArrowBigUpDash:bc,ArrowDown:Bc,ArrowDown01:Mc,ArrowDown10:xc,ArrowDownAZ:$a,ArrowDownFromLine:wc,ArrowDownLeft:vc,ArrowDownNarrowWide:Lc,ArrowDownRight:Cc,ArrowDownToDot:Sc,ArrowDownToLine:Ic,ArrowDownUp:Ac,ArrowDownWideNarrow:Wa,ArrowDownZA:Ga,ArrowLeft:Pc,ArrowLeftFromLine:Vc,ArrowLeftRight:zc,ArrowLeftToLine:_c,ArrowRight:Ys,ArrowRightFromLine:qc,ArrowRightLeft:Dc,ArrowRightToLine:Ec,ArrowUp:Gc,ArrowUp01:Tc,ArrowUp10:Hc,ArrowUpAZ:Xa,ArrowUpDown:Oc,ArrowUpFromDot:jc,ArrowUpFromLine:Fc,ArrowUpLeft:Rc,ArrowUpNarrowWide:Ka,ArrowUpRight:Nc,ArrowUpToLine:Uc,ArrowUpWideNarrow:$c,ArrowUpZA:Za,ArrowsUpFromLine:Wc,Asterisk:Xc,AtSign:Kc,Atom:Zc,AudioLines:Yc,AudioWaveform:Jc,Award:Qc,Axe:ed,Axis3d:Ya,Baby:ad,Backpack:td,Badge:gd,BadgeAlert:nd,BadgeCent:od,BadgeCheck:Ja,BadgeDollarSign:rd,BadgeEuro:id,BadgeIndianRupee:sd,BadgeInfo:ld,BadgeJapaneseYen:cd,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeQuestionMark:Qa,BadgeRussianRuble:yd,BadgeSwissFranc:fd,BadgeTurkishLira:md,BadgeX:kd,BaggageClaim:bd,Balloon:xd,Ban:wd,Banana:Md,Bandage:vd,Banknote:Bd,BanknoteArrowDown:Cd,BanknoteArrowUp:Ld,BanknoteX:Sd,Barcode:Id,Barrel:Ad,Baseline:Vd,Bath:_d,Battery:Hd,BatteryCharging:zd,BatteryFull:Pd,BatteryLow:qd,BatteryMedium:Ed,BatteryPlus:Dd,BatteryWarning:Td,Beaker:Od,Bean:Fd,BeanOff:jd,Bed:Ud,BedDouble:Rd,BedSingle:Nd,Beef:$d,Beer:Gd,BeerOff:Wd,Bell:Qd,BellDot:Xd,BellElectric:Kd,BellMinus:Zd,BellOff:Yd,BellPlus:Jd,BellRing:e0,BetweenHorizontalEnd:en,BetweenHorizontalStart:tn,BetweenVerticalEnd:t0,BetweenVerticalStart:a0,BicepsFlexed:n0,Bike:o0,Binary:r0,Binoculars:s0,Biohazard:i0,Bird:l0,Birdhouse:c0,Bitcoin:d0,Blend:h0,Blinds:u0,Blocks:y0,Bluetooth:k0,BluetoothConnected:p0,BluetoothOff:f0,BluetoothSearching:m0,Bold:g0,Bolt:b0,Bomb:x0,Bone:M0,Book:W0,BookA:w0,BookAlert:v0,BookAudio:C0,BookCheck:S0,BookCopy:L0,BookDashed:an,BookDown:I0,BookHeadphones:A0,BookHeart:B0,BookImage:V0,BookKey:_0,BookLock:z0,BookMarked:P0,BookMinus:q0,BookOpen:T0,BookOpenCheck:D0,BookOpenText:E0,BookPlus:H0,BookSearch:O0,BookText:j0,BookType:F0,BookUp:R0,BookUp2:N0,BookUser:U0,BookX:$0,Bookmark:Y0,BookmarkCheck:G0,BookmarkMinus:X0,BookmarkPlus:K0,BookmarkX:Z0,BoomBox:Q0,Bot:t2,BotMessageSquare:J0,BotOff:e2,BottleWine:n2,BowArrow:a2,Box:o2,Boxes:r2,Braces:nn,Brackets:i2,Brain:c2,BrainCircuit:l2,BrainCog:s2,BrickWall:h2,BrickWallFire:d2,BrickWallShield:u2,Briefcase:f2,BriefcaseBusiness:p2,BriefcaseConveyorBelt:y2,BriefcaseMedical:m2,BringToFront:k2,Brush:b2,BrushCleaning:g2,Bubbles:x2,Bug:v2,BugOff:M2,BugPlay:w2,Building:L2,Building2:C2,Bus:I2,BusFront:S2,Cable:B2,CableCar:A2,Cake:_2,CakeSlice:V2,Calculator:z2,Calendar:Js,Calendar1:P2,CalendarArrowDown:E2,CalendarArrowUp:q2,CalendarCheck:T2,CalendarCheck2:D2,CalendarClock:H2,CalendarCog:j2,CalendarDays:O2,CalendarFold:F2,CalendarHeart:R2,CalendarMinus:U2,CalendarMinus2:N2,CalendarOff:$2,CalendarPlus:G2,CalendarPlus2:W2,CalendarRange:X2,CalendarSearch:K2,CalendarSync:Z2,CalendarX:J2,CalendarX2:Y2,Calendars:Q2,Camera:th,CameraOff:eh,Candy:oh,CandyCane:ah,CandyOff:nh,Cannabis:ih,CannabisOff:rh,Captions:on,CaptionsOff:sh,Car:dh,CarFront:lh,CarTaxiFront:ch,Caravan:hh,CardSim:uh,Carrot:ph,CaseLower:yh,CaseSensitive:fh,CaseUpper:mh,CassetteTape:kh,Cast:gh,Castle:bh,Cat:xh,Cctv:Mh,ChartArea:rn,ChartBar:cn,ChartBarBig:sn,ChartBarDecreasing:vh,ChartBarIncreasing:wh,ChartBarStacked:Ch,ChartCandlestick:ln,ChartColumn:un,ChartColumnBig:dn,ChartColumnDecreasing:Lh,ChartColumnIncreasing:hn,ChartColumnStacked:Sh,ChartGantt:Ih,ChartLine:pn,ChartNetwork:Ah,ChartNoAxesColumn:fn,ChartNoAxesColumnDecreasing:Bh,ChartNoAxesColumnIncreasing:yn,ChartNoAxesCombined:Vh,ChartNoAxesGantt:kn,ChartPie:mn,ChartScatter:gn,ChartSpline:zh,Check:ga,CheckCheck:_h,CheckLine:Ph,ChefHat:qh,Cherry:Dh,ChessBishop:Eh,ChessKing:Th,ChessKnight:Hh,ChessPawn:Oh,ChessQueen:jh,ChessRook:Fh,ChevronDown:qt,ChevronFirst:Rh,ChevronLast:Nh,ChevronLeft:bn,ChevronRight:xn,ChevronUp:Qs,ChevronsDown:$h,ChevronsDownUp:Uh,ChevronsLeft:el,ChevronsLeftRight:Gh,ChevronsLeftRightEllipsis:Wh,ChevronsRight:tl,ChevronsRightLeft:Xh,ChevronsUp:Zh,ChevronsUpDown:Kh,Chromium:Mn,Church:Jh,Cigarette:Qh,CigaretteOff:Yh,Circle:al,CircleAlert:Dt,CircleArrowDown:wn,CircleArrowLeft:vn,CircleArrowOutDownLeft:Cn,CircleArrowOutDownRight:Ln,CircleArrowOutUpLeft:Sn,CircleArrowOutUpRight:In,CircleArrowRight:An,CircleArrowUp:Bn,CircleCheck:Vn,CircleCheckBig:ba,CircleChevronDown:zn,CircleChevronLeft:Pn,CircleChevronRight:_n,CircleChevronUp:qn,CircleDashed:eu,CircleDivide:Dn,CircleDollarSign:tu,CircleDot:nu,CircleDotDashed:au,CircleEllipsis:ru,CircleEqual:ou,CircleFadingArrowUp:iu,CircleFadingPlus:su,CircleGauge:En,CircleMinus:Tn,CircleOff:lu,CircleParking:On,CircleParkingOff:Hn,CirclePause:jn,CirclePercent:Fn,CirclePile:cu,CirclePlay:Rn,CirclePlus:Nn,CirclePoundSterling:du,CirclePower:Un,CircleQuestionMark:Et,CircleSlash:hu,CircleSlash2:$n,CircleSmall:uu,CircleStar:pu,CircleStop:Wn,CircleUser:Xn,CircleUserRound:Gn,CircleX:Kn,CircuitBoard:yu,Citrus:fu,Clapperboard:mu,Clipboard:Su,ClipboardCheck:gu,ClipboardClock:ku,ClipboardCopy:bu,ClipboardList:xu,ClipboardMinus:Mu,ClipboardPaste:wu,ClipboardPen:Yn,ClipboardPenLine:Zn,ClipboardPlus:vu,ClipboardType:Cu,ClipboardX:Lu,Clock:nl,Clock1:Iu,Clock10:Au,Clock11:Bu,Clock12:Vu,Clock2:_u,Clock3:zu,Clock4:Pu,Clock5:qu,Clock6:Du,Clock7:Eu,Clock8:Tu,Clock9:Hu,ClockAlert:Ou,ClockArrowDown:ju,ClockArrowUp:Fu,ClockCheck:Ru,ClockFading:Nu,ClockPlus:Uu,ClosedCaption:$u,Cloud:cp,CloudAlert:Wu,CloudBackup:Gu,CloudCheck:Xu,CloudCog:Ku,CloudDownload:Jn,CloudDrizzle:Zu,CloudFog:Yu,CloudHail:Ju,CloudLightning:Qu,CloudMoon:tp,CloudMoonRain:ep,CloudOff:ap,CloudRain:op,CloudRainWind:np,CloudSnow:rp,CloudSun:sp,CloudSunRain:ip,CloudSync:lp,CloudUpload:xa,Cloudy:dp,Clover:hp,Club:up,Code:pp,CodeXml:Qn,Codepen:yp,Codesandbox:fp,Coffee:mp,Cog:kp,Coins:gp,Columns2:eo,Columns3:to,Columns3Cog:Tt,Columns4:bp,Combine:xp,Command:Mp,Compass:wp,Component:vp,Computer:Cp,ConciergeBell:Lp,Cone:Sp,Construction:Ip,Contact:Ap,ContactRound:ao,Container:Bp,Contrast:Vp,Cookie:zp,CookingPot:_p,Copy:Hp,CopyCheck:Pp,CopyMinus:qp,CopyPlus:Dp,CopySlash:Tp,CopyX:Ep,Copyleft:Op,Copyright:jp,CornerDownLeft:Fp,CornerDownRight:Np,CornerLeftDown:Rp,CornerLeftUp:Up,CornerRightDown:$p,CornerRightUp:Wp,CornerUpLeft:Gp,CornerUpRight:Xp,Cpu:xs,CreativeCommons:Kp,CreditCard:Zp,Croissant:Yp,Crop:Jp,Cross:Qp,Crosshair:ty,Crown:ey,Cuboid:ay,CupSoda:ny,Currency:oy,Cylinder:ry,Dam:iy,Database:dy,DatabaseBackup:sy,DatabaseSearch:ly,DatabaseZap:cy,DecimalsArrowLeft:hy,DecimalsArrowRight:uy,Delete:py,Dessert:yy,Diameter:fy,Diamond:gy,DiamondMinus:my,DiamondPercent:no,DiamondPlus:ky,Dice1:by,Dice2:xy,Dice3:My,Dice4:wy,Dice5:vy,Dice6:Cy,Dices:Ly,Diff:Sy,Disc:Vy,Disc2:Iy,Disc3:Ay,DiscAlbum:By,Divide:_y,Dna:Py,DnaOff:zy,Dock:qy,Dog:Ey,DollarSign:Dy,Donut:Hy,DoorClosed:Oy,DoorClosedLocked:Ty,DoorOpen:jy,Dot:Fy,Download:ol,DraftingCompass:Ry,Drama:Uy,Dribbble:Ny,Drill:$y,Drone:Wy,Droplet:Xy,DropletOff:Gy,Droplets:Ky,Drum:Zy,Drumstick:Yy,Dumbbell:Jy,Ear:ef,EarOff:Qy,Earth:oo,EarthLock:tf,Eclipse:af,Egg:of,EggFried:nf,EggOff:rf,Ellipsis:Ma,EllipsisVertical:ro,Equal:cf,EqualApproximately:lf,EqualNot:sf,Eraser:df,EthernetPort:hf,Euro:uf,EvCharger:pf,Expand:yf,ExternalLink:ff,Eye:Ms,EyeClosed:mf,EyeOff:rl,Facebook:kf,Factory:gf,Fan:bf,FastForward:xf,Feather:Mf,Fence:wf,FerrisWheel:vf,Figma:Cf,File:Jf,FileArchive:Lf,FileAxis3d:io,FileBadge:so,FileBox:Sf,FileBraces:co,FileBracesCorner:lo,FileChartColumn:uo,FileChartColumnIncreasing:ho,FileChartLine:po,FileChartPie:yo,FileCheck:If,FileCheckCorner:fo,FileClock:Af,FileCode:Bf,FileCodeCorner:mo,FileCog:ko,FileDiff:Vf,FileDigit:zf,FileDown:_f,FileExclamationPoint:go,FileHeadphone:Ht,FileHeart:Pf,FileImage:qf,FileInput:Df,FileKey:bo,FileLock:xo,FileMinus:Tf,FileMinusCorner:Mo,FileMusic:Ef,FileOutput:Hf,FilePen:Co,FilePenLine:wo,FilePlay:vo,FilePlus:Of,FilePlusCorner:Lo,FileQuestionMark:So,FileScan:jf,FileSearch:Ff,FileSearchCorner:Io,FileSignal:Ao,FileSliders:Rf,FileSpreadsheet:Nf,FileStack:Uf,FileSymlink:$f,FileTerminal:Wf,FileText:ws,FileType:Gf,FileTypeCorner:Bo,FileUp:Xf,FileUser:Kf,FileVideoCamera:Vo,FileVolume:Zf,FileX:Yf,FileXCorner:_o,Files:em,Film:Qf,FingerprintPattern:zo,FireExtinguisher:tm,Fish:om,FishOff:am,FishSymbol:nm,FishingHook:rm,Flag:cm,FlagOff:im,FlagTriangleLeft:sm,FlagTriangleRight:lm,Flame:hm,FlameKindling:dm,Flashlight:pm,FlashlightOff:um,FlaskConical:fm,FlaskConicalOff:ym,FlaskRound:mm,FlipHorizontal2:km,FlipVertical2:gm,Flower:xm,Flower2:bm,Focus:Mm,FoldHorizontal:wm,FoldVertical:vm,Folder:Ym,FolderArchive:Cm,FolderCheck:Lm,FolderClock:Sm,FolderClosed:Im,FolderCode:Am,FolderCog:Po,FolderDot:Bm,FolderDown:Vm,FolderGit:zm,FolderGit2:_m,FolderHeart:Pm,FolderInput:qm,FolderKanban:Em,FolderKey:Dm,FolderLock:Tm,FolderMinus:jm,FolderOpen:Om,FolderOpenDot:Hm,FolderOutput:Fm,FolderPen:qo,FolderPlus:Um,FolderRoot:Rm,FolderSearch:$m,FolderSearch2:Nm,FolderSymlink:Gm,FolderSync:Wm,FolderTree:Xm,FolderUp:Km,FolderX:Zm,Folders:Jm,Footprints:Qm,Forklift:ek,Form:tk,Forward:nk,Frame:ak,Framer:ok,Frown:rk,Fuel:ik,Fullscreen:sk,Funnel:Eo,FunnelPlus:lk,FunnelX:Do,GalleryHorizontal:dk,GalleryHorizontalEnd:ck,GalleryThumbnails:hk,GalleryVertical:pk,GalleryVerticalEnd:uk,Gamepad:kk,Gamepad2:yk,GamepadDirectional:fk,Gauge:mk,Gavel:gk,Gem:bk,GeorgianLari:xk,Ghost:Mk,Gift:wk,GitBranch:Lk,GitBranchMinus:vk,GitBranchPlus:Ck,GitCommitHorizontal:To,GitCommitVertical:Sk,GitCompare:Ak,GitCompareArrows:Ik,GitFork:Bk,GitGraph:Vk,GitMerge:zk,GitMergeConflict:_k,GitPullRequest:Hk,GitPullRequestArrow:Pk,GitPullRequestClosed:qk,GitPullRequestCreate:Ek,GitPullRequestCreateArrow:Dk,GitPullRequestDraft:Tk,Github:Ok,Gitlab:jk,GlassWater:Fk,Glasses:Rk,Globe:il,GlobeLock:Nk,GlobeOff:Uk,GlobeX:$k,Goal:Wk,Gpu:Xk,GraduationCap:Gk,Grape:Kk,Grid2x2:Fo,Grid2x2Check:Ho,Grid2x2Plus:jo,Grid2x2X:Oo,Grid3x2:Zk,Grid3x3:Ot,Grip:Qk,GripHorizontal:Yk,GripVertical:Jk,Group:tg,Guitar:eg,Ham:ag,Hamburger:ng,Hammer:og,Hand:dg,HandCoins:rg,HandFist:ig,HandGrab:Ro,HandHeart:sg,HandHelping:No,HandMetal:lg,HandPlatter:cg,Handbag:hg,Handshake:ug,HardDrive:fg,HardDriveDownload:pg,HardDriveUpload:yg,HardHat:mg,Hash:kg,HatGlasses:gg,Haze:bg,Hd:xg,HdmiPort:Mg,Heading:Ag,Heading1:wg,Heading2:vg,Heading3:Cg,Heading4:Lg,Heading5:Sg,Heading6:Ig,HeadphoneOff:Bg,Headphones:Vg,Headset:_g,Heart:Hg,HeartCrack:zg,HeartHandshake:qg,HeartMinus:Pg,HeartOff:Dg,HeartPlus:Eg,HeartPulse:Tg,Heater:Og,Helicopter:jg,Hexagon:Fg,Highlighter:Rg,History:Ng,Hop:$g,HopOff:Ug,Hospital:Wg,Hotel:Gg,Hourglass:Xg,House:Uo,HouseHeart:Kg,HousePlug:Zg,HousePlus:Yg,HouseWifi:Jg,IceCreamBowl:$o,IceCreamCone:Wo,IdCard:e4,IdCardLanyard:Qg,Image:l4,ImageDown:t4,ImageMinus:a4,ImageOff:n4,ImagePlay:o4,ImagePlus:r4,ImageUp:i4,ImageUpscale:s4,Images:c4,Import:h4,Inbox:d4,IndianRupee:u4,Infinity:p4,Info:y4,InspectionPanel:f4,Instagram:m4,Italic:k4,IterationCcw:g4,IterationCw:b4,JapaneseYen:x4,Joystick:M4,Kanban:w4,Kayak:v4,Key:I4,KeyRound:C4,KeySquare:L4,Keyboard:B4,KeyboardMusic:S4,KeyboardOff:A4,Lamp:D4,LampCeiling:V4,LampDesk:_4,LampFloor:P4,LampWallDown:z4,LampWallUp:q4,LandPlot:E4,Landmark:H4,Languages:T4,Laptop:j4,LaptopMinimal:Go,LaptopMinimalCheck:O4,Lasso:R4,LassoSelect:F4,Laugh:N4,Layers:Xo,Layers2:U4,LayersPlus:$4,LayoutDashboard:W4,LayoutGrid:G4,LayoutList:X4,LayoutPanelLeft:K4,LayoutPanelTop:Z4,LayoutTemplate:Y4,Leaf:J4,LeafyGreen:Q4,Lectern:e5,LensConcave:t5,LensConvex:a5,Library:i5,LibraryBig:n5,LifeBuoy:r5,Ligature:o5,Lightbulb:l5,LightbulbOff:s5,LineDotRightHorizontal:c5,LineSquiggle:d5,Link:sl,Link2:u5,Link2Off:h5,Linkedin:p5,List:z5,ListCheck:y5,ListChecks:f5,ListChevronsDownUp:k5,ListChevronsUpDown:m5,ListCollapse:g5,ListEnd:b5,ListFilter:x5,ListFilterPlus:M5,ListIndentDecrease:jt,ListIndentIncrease:Ft,ListMinus:L5,ListMusic:w5,ListOrdered:v5,ListPlus:C5,ListRestart:S5,ListStart:I5,ListTodo:B5,ListTree:A5,ListVideo:V5,ListX:_5,Loader:q5,LoaderCircle:St,LoaderPinwheel:P5,Locate:T5,LocateFixed:D5,LocateOff:E5,Lock:O5,LockKeyhole:H5,LockKeyholeOpen:Ko,LockOpen:Zo,LogIn:j5,LogOut:F5,Logs:R5,Lollipop:N5,Luggage:U5,Magnet:$5,Mail:Q5,MailCheck:W5,MailMinus:X5,MailOpen:G5,MailPlus:K5,MailQuestionMark:Yo,MailSearch:Z5,MailWarning:J5,MailX:Y5,Mailbox:a3,Mails:e3,Map:f3,MapMinus:t3,MapPin:ll,MapPinCheck:n3,MapPinCheckInside:o3,MapPinHouse:r3,MapPinMinus:s3,MapPinMinusInside:i3,MapPinOff:l3,MapPinPen:Jo,MapPinPlus:d3,MapPinPlusInside:c3,MapPinX:h3,MapPinXInside:u3,MapPinned:p3,MapPlus:y3,Mars:g3,MarsStroke:m3,Martini:k3,Maximize:x3,Maximize2:b3,Medal:M3,Megaphone:v3,MegaphoneOff:w3,Meh:C3,MemoryStick:L3,Menu:S3,Merge:I3,MessageCircle:H3,MessageCircleCheck:A3,MessageCircleCode:B3,MessageCircleDashed:V3,MessageCircleHeart:_3,MessageCircleMore:P3,MessageCircleOff:z3,MessageCirclePlus:q3,MessageCircleQuestionMark:Qo,MessageCircleReply:D3,MessageCircleWarning:E3,MessageCircleX:T3,MessageSquare:vs,MessageSquareCheck:O3,MessageSquareCode:j3,MessageSquareDashed:F3,MessageSquareDiff:R3,MessageSquareDot:N3,MessageSquareHeart:U3,MessageSquareLock:$3,MessageSquareMore:W3,MessageSquareOff:G3,MessageSquarePlus:X3,MessageSquareQuote:K3,MessageSquareReply:Z3,MessageSquareShare:Y3,MessageSquareText:Q3,MessageSquareWarning:J3,MessageSquareX:e6,MessagesSquare:t6,Metronome:a6,Mic:o6,MicOff:n6,MicVocal:er,Microchip:r6,Microscope:i6,Microwave:s6,Milestone:l6,Milk:d6,MilkOff:c6,Minimize:h6,Minimize2:u6,Minus:cl,MirrorRectangular:p6,MirrorRound:y6,Monitor:A6,MonitorCheck:f6,MonitorCloud:m6,MonitorCog:k6,MonitorDot:g6,MonitorDown:b6,MonitorOff:x6,MonitorPause:M6,MonitorPlay:w6,MonitorSmartphone:v6,MonitorSpeaker:C6,MonitorStop:L6,MonitorUp:S6,MonitorX:I6,Moon:V6,MoonStar:B6,Motorbike:_6,Mountain:P6,MountainSnow:z6,Mouse:R6,MouseLeft:q6,MouseOff:D6,MousePointer:j6,MousePointer2:T6,MousePointer2Off:E6,MousePointerBan:H6,MousePointerClick:O6,MouseRight:F6,Move:t8,Move3d:tr,MoveDiagonal:U6,MoveDiagonal2:N6,MoveDown:G6,MoveDownLeft:$6,MoveDownRight:W6,MoveHorizontal:X6,MoveLeft:K6,MoveRight:Y6,MoveUp:Q6,MoveUpLeft:Z6,MoveUpRight:J6,MoveVertical:e8,Music:r8,Music2:a8,Music3:n8,Music4:o8,Navigation:c8,Navigation2:s8,Navigation2Off:i8,NavigationOff:l8,Network:d8,Newspaper:h8,Nfc:u8,NonBinary:p8,Notebook:k8,NotebookPen:f8,NotebookTabs:y8,NotebookText:m8,NotepadText:b8,NotepadTextDashed:g8,Nut:M8,NutOff:x8,Octagon:v8,OctagonAlert:ar,OctagonMinus:w8,OctagonPause:nr,OctagonX:or,Omega:C8,Option:L8,Orbit:S8,Origami:I8,Package:D8,Package2:A8,PackageCheck:V8,PackageMinus:B8,PackageOpen:_8,PackagePlus:z8,PackageSearch:P8,PackageX:q8,PaintBucket:E8,PaintRoller:T8,Paintbrush:H8,PaintbrushVertical:rr,Palette:O8,Panda:j8,PanelBottom:N8,PanelBottomClose:F8,PanelBottomDashed:ir,PanelBottomOpen:R8,PanelLeft:dr,PanelLeftClose:lr,PanelLeftDashed:sr,PanelLeftOpen:cr,PanelLeftRightDashed:U8,PanelRight:G8,PanelRightClose:$8,PanelRightDashed:hr,PanelRightOpen:W8,PanelTop:Y8,PanelTopBottomDashed:X8,PanelTopClose:K8,PanelTopDashed:ur,PanelTopOpen:Z8,PanelsLeftBottom:J8,PanelsRightBottom:Q8,PanelsTopLeft:pr,Paperclip:e7,Parentheses:t7,ParkingMeter:a7,PartyPopper:n7,Pause:o7,PawPrint:r7,PcCase:i7,Pen:fr,PenLine:yr,PenOff:s7,PenTool:l7,Pencil:mr,PencilLine:c7,PencilOff:d7,PencilRuler:h7,Pentagon:u7,Percent:p7,PersonStanding:y7,PhilippinePeso:f7,Phone:dl,PhoneCall:m7,PhoneForwarded:k7,PhoneIncoming:g7,PhoneMissed:x7,PhoneOff:b7,PhoneOutgoing:M7,Pi:w7,Piano:v7,Pickaxe:C7,PictureInPicture:S7,PictureInPicture2:L7,PiggyBank:I7,Pilcrow:V7,PilcrowLeft:A7,PilcrowRight:B7,Pill:D7,PillBottle:_7,Pin:P7,PinOff:z7,Pipette:q7,Pizza:E7,Plane:hl,PlaneLanding:T7,PlaneTakeoff:H7,Play:O7,Plug:F7,Plug2:j7,PlugZap:kr,Plus:ul,Pocket:N7,PocketKnife:R7,Podcast:U7,Pointer:W7,PointerOff:$7,Popcorn:G7,Popsicle:X7,PoundSterling:Z7,Power:Y7,PowerOff:K7,Presentation:J7,Printer:tb,PrinterCheck:Q7,PrinterX:eb,Projector:ab,Proportions:rb,Puzzle:nb,Pyramid:ob,QrCode:ib,Quote:sb,Rabbit:cb,Radar:lb,Radiation:hb,Radical:db,Radio:yb,RadioReceiver:ub,RadioTower:pb,Radius:fb,RailSymbol:mb,Rainbow:kb,Rat:gb,Ratio:bb,Receipt:Bb,ReceiptCent:xb,ReceiptEuro:Mb,ReceiptIndianRupee:wb,ReceiptJapaneseYen:vb,ReceiptPoundSterling:Cb,ReceiptRussianRuble:Lb,ReceiptSwissFranc:Sb,ReceiptText:Ib,ReceiptTurkishLira:Ab,RectangleCircle:Vb,RectangleEllipsis:gr,RectangleGoggles:_b,RectangleHorizontal:zb,RectangleVertical:Pb,Recycle:qb,Redo:Eb,Redo2:Db,RedoDot:Tb,RefreshCcw:Ob,RefreshCcwDot:Hb,RefreshCw:Cs,RefreshCwOff:jb,Refrigerator:Rb,Regex:Fb,RemoveFormatting:Nb,Repeat:$b,Repeat1:Ub,Repeat2:Gb,Replace:Xb,ReplaceAll:Wb,Reply:Zb,ReplyAll:Kb,Rewind:Jb,Ribbon:Yb,Rocket:Qb,RockingChair:ex,RollerCoaster:tx,Rose:ax,Rotate3d:br,RotateCcw:rx,RotateCcwKey:nx,RotateCcwSquare:ox,RotateCw:sx,RotateCwSquare:ix,Route:cx,RouteOff:lx,Router:dx,Rows2:xr,Rows3:Mr,Rows4:hx,Rss:ux,Ruler:px,RulerDimensionLine:yx,RussianRuble:fx,Sailboat:mx,Salad:kx,Sandwich:bx,Satellite:xx,SatelliteDish:gx,SaudiRiyal:Mx,Save:Cx,SaveAll:vx,SaveOff:wx,Scale:Lx,Scale3d:wr,Scaling:Sx,Scan:qx,ScanBarcode:Ix,ScanEye:Ax,ScanFace:Bx,ScanHeart:Vx,ScanLine:_x,ScanQrCode:Px,ScanSearch:zx,ScanText:Dx,School:Ex,Scissors:Ox,ScissorsLineDashed:Tx,Scooter:Hx,ScreenShare:Fx,ScreenShareOff:jx,Scroll:Nx,ScrollText:Rx,Search:vr,SearchAlert:Ux,SearchCheck:Wx,SearchCode:$x,SearchSlash:Gx,SearchX:Xx,Section:Kx,Send:Yx,SendHorizontal:Cr,SendToBack:Zx,SeparatorHorizontal:Jx,SeparatorVertical:Qx,Server:pl,ServerCog:eM,ServerCrash:tM,ServerOff:nM,Settings:oM,Settings2:aM,Shapes:rM,Share:iM,Share2:yl,Sheet:sM,Shell:lM,ShelvingUnit:cM,Shield:bM,ShieldAlert:dM,ShieldBan:hM,ShieldCheck:uM,ShieldEllipsis:pM,ShieldHalf:yM,ShieldMinus:kM,ShieldOff:fM,ShieldPlus:mM,ShieldQuestionMark:Lr,ShieldUser:gM,ShieldX:Sr,Ship:MM,ShipWheel:xM,Shirt:wM,ShoppingBag:vM,ShoppingBasket:CM,ShoppingCart:fl,Shovel:SM,ShowerHead:LM,Shredder:IM,Shrimp:AM,Shrink:BM,Shrub:VM,Shuffle:_M,Sigma:zM,Signal:TM,SignalHigh:PM,SignalLow:qM,SignalMedium:DM,SignalZero:EM,Signature:HM,Signpost:jM,SignpostBig:OM,Siren:FM,SkipBack:NM,SkipForward:RM,Skull:$M,Slack:UM,Slash:WM,Slice:GM,SlidersHorizontal:ml,SlidersVertical:Ir,Smartphone:ZM,SmartphoneCharging:XM,SmartphoneNfc:KM,Smile:JM,SmilePlus:YM,Snail:QM,Snowflake:e9,SoapDispenserDroplet:t9,Sofa:a9,SolarPanel:n9,Soup:o9,Space:r9,Spade:i9,Sparkle:s9,Sparkles:Ar,Speaker:l9,Speech:c9,SpellCheck:u9,SpellCheck2:d9,Spline:p9,SplinePointer:h9,Split:y9,Spool:f9,Spotlight:m9,SprayCan:k9,Sprout:g9,Square:z9,SquareActivity:Br,SquareArrowDown:zr,SquareArrowDownLeft:Vr,SquareArrowDownRight:_r,SquareArrowLeft:Pr,SquareArrowOutDownLeft:qr,SquareArrowOutDownRight:Dr,SquareArrowOutUpLeft:Er,SquareArrowOutUpRight:Tr,SquareArrowRight:Hr,SquareArrowRightEnter:b9,SquareArrowRightExit:x9,SquareArrowUp:Fr,SquareArrowUpLeft:jr,SquareArrowUpRight:Or,SquareAsterisk:Rr,SquareBottomDashedScissors:Nr,SquareCenterlineDashedHorizontal:Ur,SquareCenterlineDashedVertical:$r,SquareChartGantt:Rt,SquareCheck:Gr,SquareCheckBig:Wr,SquareChevronDown:Xr,SquareChevronLeft:Kr,SquareChevronRight:Zr,SquareChevronUp:Yr,SquareCode:Jr,SquareDashed:ti,SquareDashedBottom:w9,SquareDashedBottomCode:M9,SquareDashedKanban:Qr,SquareDashedMousePointer:ei,SquareDashedTopSolid:v9,SquareDivide:ni,SquareDot:ai,SquareEqual:oi,SquareFunction:ri,SquareKanban:ii,SquareLibrary:si,SquareM:li,SquareMenu:ci,SquareMinus:di,SquareMousePointer:hi,SquareParking:pi,SquareParkingOff:ui,SquarePause:C9,SquarePen:at,SquarePercent:yi,SquarePi:fi,SquarePilcrow:mi,SquarePlay:ki,SquarePlus:gi,SquarePower:bi,SquareRadical:S9,SquareRoundCorner:L9,SquareScissors:xi,SquareSigma:Mi,SquareSlash:wi,SquareSplitHorizontal:vi,SquareSplitVertical:Ci,SquareSquare:I9,SquareStack:A9,SquareStar:V9,SquareStop:B9,SquareTerminal:Li,SquareUser:Ai,SquareUserRound:Si,SquareX:Ii,SquaresExclude:_9,SquaresIntersect:P9,SquaresSubtract:q9,SquaresUnite:D9,Squircle:T9,SquircleDashed:E9,Squirrel:H9,Stamp:O9,Star:N9,StarHalf:j9,StarOff:F9,StepBack:R9,StepForward:U9,Stethoscope:$9,Sticker:W9,StickyNote:G9,Stone:X9,Store:K9,StretchHorizontal:Y9,StretchVertical:Z9,Strikethrough:J9,Subscript:Q9,Sun:ow,SunDim:ew,SunMedium:tw,SunMoon:nw,SunSnow:aw,Sunrise:rw,Sunset:iw,Superscript:sw,SwatchBook:lw,SwissFranc:cw,SwitchCamera:hw,Sword:dw,Swords:uw,Syringe:pw,Table:ww,Table2:yw,TableCellsMerge:fw,TableCellsSplit:mw,TableColumnsSplit:kw,TableOfContents:gw,TableProperties:bw,TableRowsSplit:xw,Tablet:Mw,TabletSmartphone:vw,Tablets:Cw,Tag:Lw,Tags:Sw,Tally1:Iw,Tally2:Aw,Tally3:Bw,Tally4:Vw,Tally5:_w,Tangent:zw,Target:Pw,Telescope:qw,Tent:Ew,TentTree:Dw,Terminal:Tw,TestTube:Hw,TestTubeDiagonal:Bi,TestTubes:Ow,TextAlignCenter:zi,TextAlignEnd:Vi,TextAlignJustify:_i,TextAlignStart:Nt,TextCursor:Fw,TextCursorInput:jw,TextInitial:Pi,TextQuote:Nw,TextSearch:Rw,TextSelect:Di,TextWrap:qi,Theater:Uw,Thermometer:Gw,ThermometerSnowflake:$w,ThermometerSun:Ww,ThumbsDown:Kw,ThumbsUp:Xw,Ticket:nv,TicketCheck:Zw,TicketMinus:Yw,TicketPercent:Jw,TicketPlus:Qw,TicketSlash:ev,TicketX:tv,Tickets:ov,TicketsPlane:av,Timer:sv,TimerOff:rv,TimerReset:iv,ToggleLeft:kl,ToggleRight:lv,Toilet:cv,ToolCase:dv,Toolbox:hv,Tornado:uv,Torus:pv,Touchpad:fv,TouchpadOff:yv,TowelRack:mv,TowerControl:kv,ToyBrick:gv,Tractor:bv,TrafficCone:xv,TrainFront:Cv,TrainFrontTunnel:Mv,TrainTrack:wv,TramFront:Ei,Transgender:vv,Trash:Lv,Trash2:Ti,TreeDeciduous:Sv,TreePalm:Hi,TreePine:Iv,Trees:Av,Trello:Bv,TrendingDown:Vv,TrendingUp:zv,TrendingUpDown:_v,Triangle:Ev,TriangleAlert:Oi,TriangleDashed:Pv,TriangleRight:Dv,Trophy:qv,Truck:Hv,TruckElectric:Tv,TurkishLira:Ov,Turntable:jv,Turtle:Fv,Tv:Nv,TvMinimal:ji,TvMinimalPlay:Rv,Twitch:Uv,Twitter:Wv,Type:Gv,TypeOutline:$v,Umbrella:Kv,UmbrellaOff:Xv,Underline:Zv,Undo:Jv,Undo2:Yv,UndoDot:Qv,UnfoldHorizontal:eC,UnfoldVertical:tC,Ungroup:aC,University:Fi,Unlink:oC,Unlink2:nC,Unplug:rC,Upload:iC,Usb:sC,User:gl,UserCheck:lC,UserCog:cC,UserKey:dC,UserLock:hC,UserMinus:uC,UserPen:pC,UserPlus:yC,UserRound:Gi,UserRoundCheck:Ri,UserRoundCog:Ni,UserRoundKey:fC,UserRoundMinus:Ui,UserRoundPen:mC,UserRoundPlus:$i,UserRoundSearch:kC,UserRoundX:Wi,UserSearch:bC,UserStar:gC,UserX:xC,Users:MC,UsersRound:Xi,Utensils:Zi,UtensilsCrossed:Ki,UtilityPole:wC,Van:vC,Variable:LC,Vault:CC,VectorSquare:SC,Vegan:IC,VenetianMask:AC,Venus:BC,VenusAndMars:VC,Vibrate:zC,VibrateOff:_C,Video:qC,VideoOff:PC,Videotape:DC,View:EC,Voicemail:TC,Volleyball:jC,Volume:RC,Volume1:HC,Volume2:OC,VolumeOff:FC,VolumeX:NC,Vote:UC,Wallet:WC,WalletCards:$C,WalletMinimal:Yi,Wallpaper:GC,Wand:XC,WandSparkles:Ji,Warehouse:KC,WashingMachine:ZC,Watch:YC,Waves:tL,WavesArrowDown:JC,WavesArrowUp:QC,WavesLadder:eL,Waypoints:aL,Webcam:nL,Webhook:rL,WebhookOff:oL,Weight:sL,WeightTilde:iL,Wheat:cL,WheatOff:lL,WholeWord:dL,Wifi:gL,WifiCog:hL,WifiHigh:uL,WifiLow:yL,WifiOff:pL,WifiPen:fL,WifiSync:mL,WifiZero:kL,Wind:bL,WindArrowDown:xL,Wine:ML,WineOff:wL,Workflow:vL,Worm:CL,Wrench:LL,X:pt,XLineTop:SL,Youtube:IL,Zap:VL,ZapOff:AL,ZoomIn:BL,ZoomOut:_L},Symbol.toStringTag,{value:"Module"}));/**
|
|
8492
8492
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8493
8493
|
*
|
|
8494
8494
|
* This source code is licensed under the ISC license.
|
|
8495
8495
|
* See the LICENSE file in the root directory of this source tree.
|
|
8496
|
-
*/const aa=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:m1,AArrowDownIcon:m1,AArrowUp:k1,AArrowUpIcon:k1,ALargeSmall:g1,ALargeSmallIcon:g1,Accessibility:b1,AccessibilityIcon:b1,Activity:x1,ActivityIcon:x1,ActivitySquare:Br,ActivitySquareIcon:Br,AirVent:M1,AirVentIcon:M1,Airplay:w1,AirplayIcon:w1,AlarmCheck:Ra,AlarmCheckIcon:Ra,AlarmClock:C1,AlarmClockCheck:Ra,AlarmClockCheckIcon:Ra,AlarmClockIcon:C1,AlarmClockMinus:Na,AlarmClockMinusIcon:Na,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:Ua,AlarmClockPlusIcon:Ua,AlarmMinus:Na,AlarmMinusIcon:Na,AlarmPlus:Ua,AlarmPlusIcon:Ua,AlarmSmoke:L1,AlarmSmokeIcon:L1,Album:I1,AlbumIcon:I1,AlertCircle:qt,AlertCircleIcon:qt,AlertOctagon:ar,AlertOctagonIcon:ar,AlertTriangle:Oi,AlertTriangleIcon:Oi,AlignCenter:zi,AlignCenterHorizontal:S1,AlignCenterHorizontalIcon:S1,AlignCenterIcon:zi,AlignCenterVertical:A1,AlignCenterVerticalIcon:A1,AlignEndHorizontal:B1,AlignEndHorizontalIcon:B1,AlignEndVertical:V1,AlignEndVerticalIcon:V1,AlignHorizontalDistributeCenter:_1,AlignHorizontalDistributeCenterIcon:_1,AlignHorizontalDistributeEnd:z1,AlignHorizontalDistributeEndIcon:z1,AlignHorizontalDistributeStart:P1,AlignHorizontalDistributeStartIcon:P1,AlignHorizontalJustifyCenter:q1,AlignHorizontalJustifyCenterIcon:q1,AlignHorizontalJustifyEnd:D1,AlignHorizontalJustifyEndIcon:D1,AlignHorizontalJustifyStart:E1,AlignHorizontalJustifyStartIcon:E1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceAroundIcon:T1,AlignHorizontalSpaceBetween:H1,AlignHorizontalSpaceBetweenIcon:H1,AlignJustify:_i,AlignJustifyIcon:_i,AlignLeft:Rt,AlignLeftIcon:Rt,AlignRight:Vi,AlignRightIcon:Vi,AlignStartHorizontal:O1,AlignStartHorizontalIcon:O1,AlignStartVertical:j1,AlignStartVerticalIcon:j1,AlignVerticalDistributeCenter:F1,AlignVerticalDistributeCenterIcon:F1,AlignVerticalDistributeEnd:R1,AlignVerticalDistributeEndIcon:R1,AlignVerticalDistributeStart:N1,AlignVerticalDistributeStartIcon:N1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceAroundIcon:G1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:K1,AmbulanceIcon:K1,Ampersand:Z1,AmpersandIcon:Z1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:Q1,AmphoraIcon:Q1,Anchor:J1,AnchorIcon:J1,Angry:ec,AngryIcon:ec,Annoyed:tc,AnnoyedIcon:tc,Antenna:ac,AntennaIcon:ac,Anvil:nc,AnvilIcon:nc,Aperture:oc,ApertureIcon:oc,AppWindow:ic,AppWindowIcon:ic,AppWindowMac:rc,AppWindowMacIcon:rc,Apple:sc,AppleIcon:sc,Archive:dc,ArchiveIcon:dc,ArchiveRestore:lc,ArchiveRestoreIcon:lc,ArchiveX:cc,ArchiveXIcon:cc,AreaChart:rn,AreaChartIcon:rn,Armchair:hc,ArmchairIcon:hc,ArrowBigDown:pc,ArrowBigDownDash:uc,ArrowBigDownDashIcon:uc,ArrowBigDownIcon:pc,ArrowBigLeft:fc,ArrowBigLeftDash:yc,ArrowBigLeftDashIcon:yc,ArrowBigLeftIcon:fc,ArrowBigRight:kc,ArrowBigRightDash:mc,ArrowBigRightDashIcon:mc,ArrowBigRightIcon:kc,ArrowBigUp:gc,ArrowBigUpDash:bc,ArrowBigUpDashIcon:bc,ArrowBigUpIcon:gc,ArrowDown:Bc,ArrowDown01:Mc,ArrowDown01Icon:Mc,ArrowDown10:xc,ArrowDown10Icon:xc,ArrowDownAZ:$a,ArrowDownAZIcon:$a,ArrowDownAz:$a,ArrowDownAzIcon:$a,ArrowDownCircle:wn,ArrowDownCircleIcon:wn,ArrowDownFromLine:wc,ArrowDownFromLineIcon:wc,ArrowDownIcon:Bc,ArrowDownLeft:vc,ArrowDownLeftFromCircle:Cn,ArrowDownLeftFromCircleIcon:Cn,ArrowDownLeftFromSquare:qr,ArrowDownLeftFromSquareIcon:qr,ArrowDownLeftIcon:vc,ArrowDownLeftSquare:Vr,ArrowDownLeftSquareIcon:Vr,ArrowDownNarrowWide:Lc,ArrowDownNarrowWideIcon:Lc,ArrowDownRight:Cc,ArrowDownRightFromCircle:Ln,ArrowDownRightFromCircleIcon:Ln,ArrowDownRightFromSquare:Dr,ArrowDownRightFromSquareIcon:Dr,ArrowDownRightIcon:Cc,ArrowDownRightSquare:_r,ArrowDownRightSquareIcon:_r,ArrowDownSquare:zr,ArrowDownSquareIcon:zr,ArrowDownToDot:Sc,ArrowDownToDotIcon:Sc,ArrowDownToLine:Ic,ArrowDownToLineIcon:Ic,ArrowDownUp:Ac,ArrowDownUpIcon:Ac,ArrowDownWideNarrow:Wa,ArrowDownWideNarrowIcon:Wa,ArrowDownZA:Ga,ArrowDownZAIcon:Ga,ArrowDownZa:Ga,ArrowDownZaIcon:Ga,ArrowLeft:Pc,ArrowLeftCircle:vn,ArrowLeftCircleIcon:vn,ArrowLeftFromLine:Vc,ArrowLeftFromLineIcon:Vc,ArrowLeftIcon:Pc,ArrowLeftRight:zc,ArrowLeftRightIcon:zc,ArrowLeftSquare:Pr,ArrowLeftSquareIcon:Pr,ArrowLeftToLine:_c,ArrowLeftToLineIcon:_c,ArrowRight:Ys,ArrowRightCircle:An,ArrowRightCircleIcon:An,ArrowRightFromLine:qc,ArrowRightFromLineIcon:qc,ArrowRightIcon:Ys,ArrowRightLeft:Dc,ArrowRightLeftIcon:Dc,ArrowRightSquare:Hr,ArrowRightSquareIcon:Hr,ArrowRightToLine:Ec,ArrowRightToLineIcon:Ec,ArrowUp:Gc,ArrowUp01:Tc,ArrowUp01Icon:Tc,ArrowUp10:Hc,ArrowUp10Icon:Hc,ArrowUpAZ:Xa,ArrowUpAZIcon:Xa,ArrowUpAz:Xa,ArrowUpAzIcon:Xa,ArrowUpCircle:Bn,ArrowUpCircleIcon:Bn,ArrowUpDown:Oc,ArrowUpDownIcon:Oc,ArrowUpFromDot:jc,ArrowUpFromDotIcon:jc,ArrowUpFromLine:Fc,ArrowUpFromLineIcon:Fc,ArrowUpIcon:Gc,ArrowUpLeft:Rc,ArrowUpLeftFromCircle:Sn,ArrowUpLeftFromCircleIcon:Sn,ArrowUpLeftFromSquare:Er,ArrowUpLeftFromSquareIcon:Er,ArrowUpLeftIcon:Rc,ArrowUpLeftSquare:jr,ArrowUpLeftSquareIcon:jr,ArrowUpNarrowWide:Ka,ArrowUpNarrowWideIcon:Ka,ArrowUpRight:Nc,ArrowUpRightFromCircle:In,ArrowUpRightFromCircleIcon:In,ArrowUpRightFromSquare:Tr,ArrowUpRightFromSquareIcon:Tr,ArrowUpRightIcon:Nc,ArrowUpRightSquare:Or,ArrowUpRightSquareIcon:Or,ArrowUpSquare:Fr,ArrowUpSquareIcon:Fr,ArrowUpToLine:Uc,ArrowUpToLineIcon:Uc,ArrowUpWideNarrow:$c,ArrowUpWideNarrowIcon:$c,ArrowUpZA:Za,ArrowUpZAIcon:Za,ArrowUpZa:Za,ArrowUpZaIcon:Za,ArrowsUpFromLine:Wc,ArrowsUpFromLineIcon:Wc,Asterisk:Xc,AsteriskIcon:Xc,AsteriskSquare:Rr,AsteriskSquareIcon:Rr,AtSign:Kc,AtSignIcon:Kc,Atom:Zc,AtomIcon:Zc,AudioLines:Yc,AudioLinesIcon:Yc,AudioWaveform:Jc,AudioWaveformIcon:Jc,Award:Qc,AwardIcon:Qc,Axe:ed,AxeIcon:ed,Axis3D:Ya,Axis3DIcon:Ya,Axis3d:Ya,Axis3dIcon:Ya,Baby:ad,BabyIcon:ad,Backpack:td,BackpackIcon:td,Badge:gd,BadgeAlert:nd,BadgeAlertIcon:nd,BadgeCent:od,BadgeCentIcon:od,BadgeCheck:Ja,BadgeCheckIcon:Ja,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:Qa,BadgeHelpIcon:Qa,BadgeIcon:gd,BadgeIndianRupee:sd,BadgeIndianRupeeIcon:sd,BadgeInfo:ld,BadgeInfoIcon:ld,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeQuestionMark:Qa,BadgeQuestionMarkIcon:Qa,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:fd,BadgeSwissFrancIcon:fd,BadgeTurkishLira:md,BadgeTurkishLiraIcon:md,BadgeX:kd,BadgeXIcon:kd,BaggageClaim:bd,BaggageClaimIcon:bd,Balloon:xd,BalloonIcon:xd,Ban:wd,BanIcon:wd,Banana:Md,BananaIcon:Md,Bandage:vd,BandageIcon:vd,Banknote:Bd,BanknoteArrowDown:Cd,BanknoteArrowDownIcon:Cd,BanknoteArrowUp:Ld,BanknoteArrowUpIcon:Ld,BanknoteIcon:Bd,BanknoteX:Sd,BanknoteXIcon:Sd,BarChart:yn,BarChart2:fn,BarChart2Icon:fn,BarChart3:un,BarChart3Icon:un,BarChart4:hn,BarChart4Icon:hn,BarChartBig:dn,BarChartBigIcon:dn,BarChartHorizontal:cn,BarChartHorizontalBig:sn,BarChartHorizontalBigIcon:sn,BarChartHorizontalIcon:cn,BarChartIcon:yn,Barcode:Id,BarcodeIcon:Id,Barrel:Ad,BarrelIcon:Ad,Baseline:Vd,BaselineIcon:Vd,Bath:_d,BathIcon:_d,Battery:Hd,BatteryCharging:zd,BatteryChargingIcon:zd,BatteryFull:Pd,BatteryFullIcon:Pd,BatteryIcon:Hd,BatteryLow:qd,BatteryLowIcon:qd,BatteryMedium:Ed,BatteryMediumIcon:Ed,BatteryPlus:Dd,BatteryPlusIcon:Dd,BatteryWarning:Td,BatteryWarningIcon:Td,Beaker:Od,BeakerIcon:Od,Bean:Fd,BeanIcon:Fd,BeanOff:jd,BeanOffIcon:jd,Bed:Ud,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:Ud,BedSingle:Nd,BedSingleIcon:Nd,Beef:$d,BeefIcon:$d,Beer:Gd,BeerIcon:Gd,BeerOff:Wd,BeerOffIcon:Wd,Bell:Qd,BellDot:Xd,BellDotIcon:Xd,BellElectric:Kd,BellElectricIcon:Kd,BellIcon:Qd,BellMinus:Zd,BellMinusIcon:Zd,BellOff:Yd,BellOffIcon:Yd,BellPlus:Jd,BellPlusIcon:Jd,BellRing:e0,BellRingIcon:e0,BetweenHorizonalEnd:en,BetweenHorizonalEndIcon:en,BetweenHorizonalStart:tn,BetweenHorizonalStartIcon:tn,BetweenHorizontalEnd:en,BetweenHorizontalEndIcon:en,BetweenHorizontalStart:tn,BetweenHorizontalStartIcon:tn,BetweenVerticalEnd:t0,BetweenVerticalEndIcon:t0,BetweenVerticalStart:a0,BetweenVerticalStartIcon:a0,BicepsFlexed:n0,BicepsFlexedIcon:n0,Bike:o0,BikeIcon:o0,Binary:r0,BinaryIcon:r0,Binoculars:s0,BinocularsIcon:s0,Biohazard:i0,BiohazardIcon:i0,Bird:l0,BirdIcon:l0,Birdhouse:c0,BirdhouseIcon:c0,Bitcoin:d0,BitcoinIcon:d0,Blend:h0,BlendIcon:h0,Blinds:u0,BlindsIcon:u0,Blocks:y0,BlocksIcon:y0,Bluetooth:k0,BluetoothConnected:p0,BluetoothConnectedIcon:p0,BluetoothIcon:k0,BluetoothOff:f0,BluetoothOffIcon:f0,BluetoothSearching:m0,BluetoothSearchingIcon:m0,Bold:g0,BoldIcon:g0,Bolt:b0,BoltIcon:b0,Bomb:x0,BombIcon:x0,Bone:M0,BoneIcon:M0,Book:W0,BookA:w0,BookAIcon:w0,BookAlert:v0,BookAlertIcon:v0,BookAudio:C0,BookAudioIcon:C0,BookCheck:S0,BookCheckIcon:S0,BookCopy:L0,BookCopyIcon:L0,BookDashed:an,BookDashedIcon:an,BookDown:I0,BookDownIcon:I0,BookHeadphones:A0,BookHeadphonesIcon:A0,BookHeart:B0,BookHeartIcon:B0,BookIcon:W0,BookImage:V0,BookImageIcon:V0,BookKey:_0,BookKeyIcon:_0,BookLock:z0,BookLockIcon:z0,BookMarked:P0,BookMarkedIcon:P0,BookMinus:q0,BookMinusIcon:q0,BookOpen:T0,BookOpenCheck:D0,BookOpenCheckIcon:D0,BookOpenIcon:T0,BookOpenText:E0,BookOpenTextIcon:E0,BookPlus:H0,BookPlusIcon:H0,BookSearch:O0,BookSearchIcon:O0,BookTemplate:an,BookTemplateIcon:an,BookText:j0,BookTextIcon:j0,BookType:F0,BookTypeIcon:F0,BookUp:R0,BookUp2:N0,BookUp2Icon:N0,BookUpIcon:R0,BookUser:U0,BookUserIcon:U0,BookX:$0,BookXIcon:$0,Bookmark:Y0,BookmarkCheck:G0,BookmarkCheckIcon:G0,BookmarkIcon:Y0,BookmarkMinus:X0,BookmarkMinusIcon:X0,BookmarkPlus:K0,BookmarkPlusIcon:K0,BookmarkX:Z0,BookmarkXIcon:Z0,BoomBox:Q0,BoomBoxIcon:Q0,Bot:t2,BotIcon:t2,BotMessageSquare:J0,BotMessageSquareIcon:J0,BotOff:e2,BotOffIcon:e2,BottleWine:n2,BottleWineIcon:n2,BowArrow:a2,BowArrowIcon:a2,Box:o2,BoxIcon:o2,BoxSelect:ti,BoxSelectIcon:ti,Boxes:r2,BoxesIcon:r2,Braces:nn,BracesIcon:nn,Brackets:i2,BracketsIcon:i2,Brain:c2,BrainCircuit:l2,BrainCircuitIcon:l2,BrainCog:s2,BrainCogIcon:s2,BrainIcon:c2,BrickWall:h2,BrickWallFire:d2,BrickWallFireIcon:d2,BrickWallIcon:h2,BrickWallShield:u2,BrickWallShieldIcon:u2,Briefcase:f2,BriefcaseBusiness:p2,BriefcaseBusinessIcon:p2,BriefcaseConveyorBelt:y2,BriefcaseConveyorBeltIcon:y2,BriefcaseIcon:f2,BriefcaseMedical:m2,BriefcaseMedicalIcon:m2,BringToFront:k2,BringToFrontIcon:k2,Brush:b2,BrushCleaning:g2,BrushCleaningIcon:g2,BrushIcon:b2,Bubbles:x2,BubblesIcon:x2,Bug:v2,BugIcon:v2,BugOff:M2,BugOffIcon:M2,BugPlay:w2,BugPlayIcon:w2,Building:L2,Building2:C2,Building2Icon:C2,BuildingIcon:L2,Bus:I2,BusFront:S2,BusFrontIcon:S2,BusIcon:I2,Cable:B2,CableCar:A2,CableCarIcon:A2,CableIcon:B2,Cake:_2,CakeIcon:_2,CakeSlice:V2,CakeSliceIcon:V2,Calculator:z2,CalculatorIcon:z2,Calendar:Js,Calendar1:P2,Calendar1Icon:P2,CalendarArrowDown:E2,CalendarArrowDownIcon:E2,CalendarArrowUp:q2,CalendarArrowUpIcon:q2,CalendarCheck:T2,CalendarCheck2:D2,CalendarCheck2Icon:D2,CalendarCheckIcon:T2,CalendarClock:H2,CalendarClockIcon:H2,CalendarCog:j2,CalendarCogIcon:j2,CalendarDays:O2,CalendarDaysIcon:O2,CalendarFold:F2,CalendarFoldIcon:F2,CalendarHeart:R2,CalendarHeartIcon:R2,CalendarIcon:Js,CalendarMinus:U2,CalendarMinus2:N2,CalendarMinus2Icon:N2,CalendarMinusIcon:U2,CalendarOff:$2,CalendarOffIcon:$2,CalendarPlus:G2,CalendarPlus2:W2,CalendarPlus2Icon:W2,CalendarPlusIcon:G2,CalendarRange:X2,CalendarRangeIcon:X2,CalendarSearch:K2,CalendarSearchIcon:K2,CalendarSync:Z2,CalendarSyncIcon:Z2,CalendarX:J2,CalendarX2:Y2,CalendarX2Icon:Y2,CalendarXIcon:J2,Calendars:Q2,CalendarsIcon:Q2,Camera:th,CameraIcon:th,CameraOff:eh,CameraOffIcon:eh,CandlestickChart:ln,CandlestickChartIcon:ln,Candy:oh,CandyCane:ah,CandyCaneIcon:ah,CandyIcon:oh,CandyOff:nh,CandyOffIcon:nh,Cannabis:ih,CannabisIcon:ih,CannabisOff:rh,CannabisOffIcon:rh,Captions:on,CaptionsIcon:on,CaptionsOff:sh,CaptionsOffIcon:sh,Car:dh,CarFront:lh,CarFrontIcon:lh,CarIcon:dh,CarTaxiFront:ch,CarTaxiFrontIcon:ch,Caravan:hh,CaravanIcon:hh,CardSim:uh,CardSimIcon:uh,Carrot:ph,CarrotIcon:ph,CaseLower:yh,CaseLowerIcon:yh,CaseSensitive:fh,CaseSensitiveIcon:fh,CaseUpper:mh,CaseUpperIcon:mh,CassetteTape:kh,CassetteTapeIcon:kh,Cast:gh,CastIcon:gh,Castle:bh,CastleIcon:bh,Cat:xh,CatIcon:xh,Cctv:Mh,CctvIcon:Mh,ChartArea:rn,ChartAreaIcon:rn,ChartBar:cn,ChartBarBig:sn,ChartBarBigIcon:sn,ChartBarDecreasing:vh,ChartBarDecreasingIcon:vh,ChartBarIcon:cn,ChartBarIncreasing:wh,ChartBarIncreasingIcon:wh,ChartBarStacked:Ch,ChartBarStackedIcon:Ch,ChartCandlestick:ln,ChartCandlestickIcon:ln,ChartColumn:un,ChartColumnBig:dn,ChartColumnBigIcon:dn,ChartColumnDecreasing:Lh,ChartColumnDecreasingIcon:Lh,ChartColumnIcon:un,ChartColumnIncreasing:hn,ChartColumnIncreasingIcon:hn,ChartColumnStacked:Sh,ChartColumnStackedIcon:Sh,ChartGantt:Ih,ChartGanttIcon:Ih,ChartLine:pn,ChartLineIcon:pn,ChartNetwork:Ah,ChartNetworkIcon:Ah,ChartNoAxesColumn:fn,ChartNoAxesColumnDecreasing:Bh,ChartNoAxesColumnDecreasingIcon:Bh,ChartNoAxesColumnIcon:fn,ChartNoAxesColumnIncreasing:yn,ChartNoAxesColumnIncreasingIcon:yn,ChartNoAxesCombined:Vh,ChartNoAxesCombinedIcon:Vh,ChartNoAxesGantt:kn,ChartNoAxesGanttIcon:kn,ChartPie:mn,ChartPieIcon:mn,ChartScatter:gn,ChartScatterIcon:gn,ChartSpline:zh,ChartSplineIcon:zh,Check:ga,CheckCheck:_h,CheckCheckIcon:_h,CheckCircle:ba,CheckCircle2:Vn,CheckCircle2Icon:Vn,CheckCircleIcon:ba,CheckIcon:ga,CheckLine:Ph,CheckLineIcon:Ph,CheckSquare:Wr,CheckSquare2:Gr,CheckSquare2Icon:Gr,CheckSquareIcon:Wr,ChefHat:qh,ChefHatIcon:qh,Cherry:Dh,CherryIcon:Dh,ChessBishop:Eh,ChessBishopIcon:Eh,ChessKing:Th,ChessKingIcon:Th,ChessKnight:Hh,ChessKnightIcon:Hh,ChessPawn:Oh,ChessPawnIcon:Oh,ChessQueen:jh,ChessQueenIcon:jh,ChessRook:Fh,ChessRookIcon:Fh,ChevronDown:Pt,ChevronDownCircle:zn,ChevronDownCircleIcon:zn,ChevronDownIcon:Pt,ChevronDownSquare:Xr,ChevronDownSquareIcon:Xr,ChevronFirst:Rh,ChevronFirstIcon:Rh,ChevronLast:Nh,ChevronLastIcon:Nh,ChevronLeft:bn,ChevronLeftCircle:Pn,ChevronLeftCircleIcon:Pn,ChevronLeftIcon:bn,ChevronLeftSquare:Kr,ChevronLeftSquareIcon:Kr,ChevronRight:xn,ChevronRightCircle:_n,ChevronRightCircleIcon:_n,ChevronRightIcon:xn,ChevronRightSquare:Zr,ChevronRightSquareIcon:Zr,ChevronUp:Qs,ChevronUpCircle:qn,ChevronUpCircleIcon:qn,ChevronUpIcon:Qs,ChevronUpSquare:Yr,ChevronUpSquareIcon:Yr,ChevronsDown:$h,ChevronsDownIcon:$h,ChevronsDownUp:Uh,ChevronsDownUpIcon:Uh,ChevronsLeft:el,ChevronsLeftIcon:el,ChevronsLeftRight:Gh,ChevronsLeftRightEllipsis:Wh,ChevronsLeftRightEllipsisIcon:Wh,ChevronsLeftRightIcon:Gh,ChevronsRight:tl,ChevronsRightIcon:tl,ChevronsRightLeft:Xh,ChevronsRightLeftIcon:Xh,ChevronsUp:Zh,ChevronsUpDown:Kh,ChevronsUpDownIcon:Kh,ChevronsUpIcon:Zh,Chrome:Mn,ChromeIcon:Mn,Chromium:Mn,ChromiumIcon:Mn,Church:Jh,ChurchIcon:Jh,Cigarette:Qh,CigaretteIcon:Qh,CigaretteOff:Yh,CigaretteOffIcon:Yh,Circle:al,CircleAlert:qt,CircleAlertIcon:qt,CircleArrowDown:wn,CircleArrowDownIcon:wn,CircleArrowLeft:vn,CircleArrowLeftIcon:vn,CircleArrowOutDownLeft:Cn,CircleArrowOutDownLeftIcon:Cn,CircleArrowOutDownRight:Ln,CircleArrowOutDownRightIcon:Ln,CircleArrowOutUpLeft:Sn,CircleArrowOutUpLeftIcon:Sn,CircleArrowOutUpRight:In,CircleArrowOutUpRightIcon:In,CircleArrowRight:An,CircleArrowRightIcon:An,CircleArrowUp:Bn,CircleArrowUpIcon:Bn,CircleCheck:Vn,CircleCheckBig:ba,CircleCheckBigIcon:ba,CircleCheckIcon:Vn,CircleChevronDown:zn,CircleChevronDownIcon:zn,CircleChevronLeft:Pn,CircleChevronLeftIcon:Pn,CircleChevronRight:_n,CircleChevronRightIcon:_n,CircleChevronUp:qn,CircleChevronUpIcon:qn,CircleDashed:eu,CircleDashedIcon:eu,CircleDivide:Dn,CircleDivideIcon:Dn,CircleDollarSign:tu,CircleDollarSignIcon:tu,CircleDot:nu,CircleDotDashed:au,CircleDotDashedIcon:au,CircleDotIcon:nu,CircleEllipsis:ru,CircleEllipsisIcon:ru,CircleEqual:ou,CircleEqualIcon:ou,CircleFadingArrowUp:iu,CircleFadingArrowUpIcon:iu,CircleFadingPlus:su,CircleFadingPlusIcon:su,CircleGauge:En,CircleGaugeIcon:En,CircleHelp:Dt,CircleHelpIcon:Dt,CircleIcon:al,CircleMinus:Tn,CircleMinusIcon:Tn,CircleOff:lu,CircleOffIcon:lu,CircleParking:On,CircleParkingIcon:On,CircleParkingOff:Hn,CircleParkingOffIcon:Hn,CirclePause:jn,CirclePauseIcon:jn,CirclePercent:Fn,CirclePercentIcon:Fn,CirclePile:cu,CirclePileIcon:cu,CirclePlay:Rn,CirclePlayIcon:Rn,CirclePlus:Nn,CirclePlusIcon:Nn,CirclePoundSterling:du,CirclePoundSterlingIcon:du,CirclePower:Un,CirclePowerIcon:Un,CircleQuestionMark:Dt,CircleQuestionMarkIcon:Dt,CircleSlash:hu,CircleSlash2:$n,CircleSlash2Icon:$n,CircleSlashIcon:hu,CircleSlashed:$n,CircleSlashedIcon:$n,CircleSmall:uu,CircleSmallIcon:uu,CircleStar:pu,CircleStarIcon:pu,CircleStop:Wn,CircleStopIcon:Wn,CircleUser:Xn,CircleUserIcon:Xn,CircleUserRound:Gn,CircleUserRoundIcon:Gn,CircleX:Kn,CircleXIcon:Kn,CircuitBoard:yu,CircuitBoardIcon:yu,Citrus:fu,CitrusIcon:fu,Clapperboard:mu,ClapperboardIcon:mu,Clipboard:Su,ClipboardCheck:gu,ClipboardCheckIcon:gu,ClipboardClock:ku,ClipboardClockIcon:ku,ClipboardCopy:bu,ClipboardCopyIcon:bu,ClipboardEdit:Yn,ClipboardEditIcon:Yn,ClipboardIcon:Su,ClipboardList:xu,ClipboardListIcon:xu,ClipboardMinus:Mu,ClipboardMinusIcon:Mu,ClipboardPaste:wu,ClipboardPasteIcon:wu,ClipboardPen:Yn,ClipboardPenIcon:Yn,ClipboardPenLine:Zn,ClipboardPenLineIcon:Zn,ClipboardPlus:vu,ClipboardPlusIcon:vu,ClipboardSignature:Zn,ClipboardSignatureIcon:Zn,ClipboardType:Cu,ClipboardTypeIcon:Cu,ClipboardX:Lu,ClipboardXIcon:Lu,Clock:nl,Clock1:Iu,Clock10:Au,Clock10Icon:Au,Clock11:Bu,Clock11Icon:Bu,Clock12:Vu,Clock12Icon:Vu,Clock1Icon:Iu,Clock2:_u,Clock2Icon:_u,Clock3:zu,Clock3Icon:zu,Clock4:Pu,Clock4Icon:Pu,Clock5:qu,Clock5Icon:qu,Clock6:Du,Clock6Icon:Du,Clock7:Eu,Clock7Icon:Eu,Clock8:Tu,Clock8Icon:Tu,Clock9:Hu,Clock9Icon:Hu,ClockAlert:Ou,ClockAlertIcon:Ou,ClockArrowDown:ju,ClockArrowDownIcon:ju,ClockArrowUp:Fu,ClockArrowUpIcon:Fu,ClockCheck:Ru,ClockCheckIcon:Ru,ClockFading:Nu,ClockFadingIcon:Nu,ClockIcon:nl,ClockPlus:Uu,ClockPlusIcon:Uu,ClosedCaption:$u,ClosedCaptionIcon:$u,Cloud:cp,CloudAlert:Wu,CloudAlertIcon:Wu,CloudBackup:Gu,CloudBackupIcon:Gu,CloudCheck:Xu,CloudCheckIcon:Xu,CloudCog:Ku,CloudCogIcon:Ku,CloudDownload:Jn,CloudDownloadIcon:Jn,CloudDrizzle:Zu,CloudDrizzleIcon:Zu,CloudFog:Yu,CloudFogIcon:Yu,CloudHail:Ju,CloudHailIcon:Ju,CloudIcon:cp,CloudLightning:Qu,CloudLightningIcon:Qu,CloudMoon:tp,CloudMoonIcon:tp,CloudMoonRain:ep,CloudMoonRainIcon:ep,CloudOff:ap,CloudOffIcon:ap,CloudRain:op,CloudRainIcon:op,CloudRainWind:np,CloudRainWindIcon:np,CloudSnow:rp,CloudSnowIcon:rp,CloudSun:sp,CloudSunIcon:sp,CloudSunRain:ip,CloudSunRainIcon:ip,CloudSync:lp,CloudSyncIcon:lp,CloudUpload:xa,CloudUploadIcon:xa,Cloudy:dp,CloudyIcon:dp,Clover:hp,CloverIcon:hp,Club:up,ClubIcon:up,Code:pp,Code2:Qn,Code2Icon:Qn,CodeIcon:pp,CodeSquare:Jr,CodeSquareIcon:Jr,CodeXml:Qn,CodeXmlIcon:Qn,Codepen:yp,CodepenIcon:yp,Codesandbox:fp,CodesandboxIcon:fp,Coffee:mp,CoffeeIcon:mp,Cog:kp,CogIcon:kp,Coins:gp,CoinsIcon:gp,Columns:eo,Columns2:eo,Columns2Icon:eo,Columns3:to,Columns3Cog:Et,Columns3CogIcon:Et,Columns3Icon:to,Columns4:bp,Columns4Icon:bp,ColumnsIcon:eo,ColumnsSettings:Et,ColumnsSettingsIcon:Et,Combine:xp,CombineIcon:xp,Command:Mp,CommandIcon:Mp,Compass:wp,CompassIcon:wp,Component:vp,ComponentIcon:vp,Computer:Cp,ComputerIcon:Cp,ConciergeBell:Lp,ConciergeBellIcon:Lp,Cone:Sp,ConeIcon:Sp,Construction:Ip,ConstructionIcon:Ip,Contact:Ap,Contact2:ao,Contact2Icon:ao,ContactIcon:Ap,ContactRound:ao,ContactRoundIcon:ao,Container:Bp,ContainerIcon:Bp,Contrast:Vp,ContrastIcon:Vp,Cookie:zp,CookieIcon:zp,CookingPot:_p,CookingPotIcon:_p,Copy:Hp,CopyCheck:Pp,CopyCheckIcon:Pp,CopyIcon:Hp,CopyMinus:qp,CopyMinusIcon:qp,CopyPlus:Dp,CopyPlusIcon:Dp,CopySlash:Tp,CopySlashIcon:Tp,CopyX:Ep,CopyXIcon:Ep,Copyleft:Op,CopyleftIcon:Op,Copyright:jp,CopyrightIcon:jp,CornerDownLeft:Fp,CornerDownLeftIcon:Fp,CornerDownRight:Np,CornerDownRightIcon:Np,CornerLeftDown:Rp,CornerLeftDownIcon:Rp,CornerLeftUp:Up,CornerLeftUpIcon:Up,CornerRightDown:$p,CornerRightDownIcon:$p,CornerRightUp:Wp,CornerRightUpIcon:Wp,CornerUpLeft:Gp,CornerUpLeftIcon:Gp,CornerUpRight:Xp,CornerUpRightIcon:Xp,Cpu:xs,CpuIcon:xs,CreativeCommons:Kp,CreativeCommonsIcon:Kp,CreditCard:Zp,CreditCardIcon:Zp,Croissant:Yp,CroissantIcon:Yp,Crop:Jp,CropIcon:Jp,Cross:Qp,CrossIcon:Qp,Crosshair:ty,CrosshairIcon:ty,Crown:ey,CrownIcon:ey,Cuboid:ay,CuboidIcon:ay,CupSoda:ny,CupSodaIcon:ny,CurlyBraces:nn,CurlyBracesIcon:nn,Currency:oy,CurrencyIcon:oy,Cylinder:ry,CylinderIcon:ry,Dam:iy,DamIcon:iy,Database:dy,DatabaseBackup:sy,DatabaseBackupIcon:sy,DatabaseIcon:dy,DatabaseSearch:ly,DatabaseSearchIcon:ly,DatabaseZap:cy,DatabaseZapIcon:cy,DecimalsArrowLeft:hy,DecimalsArrowLeftIcon:hy,DecimalsArrowRight:uy,DecimalsArrowRightIcon:uy,Delete:py,DeleteIcon:py,Dessert:yy,DessertIcon:yy,Diameter:fy,DiameterIcon:fy,Diamond:gy,DiamondIcon:gy,DiamondMinus:my,DiamondMinusIcon:my,DiamondPercent:no,DiamondPercentIcon:no,DiamondPlus:ky,DiamondPlusIcon:ky,Dice1:by,Dice1Icon:by,Dice2:xy,Dice2Icon:xy,Dice3:My,Dice3Icon:My,Dice4:wy,Dice4Icon:wy,Dice5:vy,Dice5Icon:vy,Dice6:Cy,Dice6Icon:Cy,Dices:Ly,DicesIcon:Ly,Diff:Sy,DiffIcon:Sy,Disc:Vy,Disc2:Iy,Disc2Icon:Iy,Disc3:Ay,Disc3Icon:Ay,DiscAlbum:By,DiscAlbumIcon:By,DiscIcon:Vy,Divide:_y,DivideCircle:Dn,DivideCircleIcon:Dn,DivideIcon:_y,DivideSquare:ni,DivideSquareIcon:ni,Dna:Py,DnaIcon:Py,DnaOff:zy,DnaOffIcon:zy,Dock:qy,DockIcon:qy,Dog:Ey,DogIcon:Ey,DollarSign:Dy,DollarSignIcon:Dy,Donut:Hy,DonutIcon:Hy,DoorClosed:Oy,DoorClosedIcon:Oy,DoorClosedLocked:Ty,DoorClosedLockedIcon:Ty,DoorOpen:jy,DoorOpenIcon:jy,Dot:Fy,DotIcon:Fy,DotSquare:ai,DotSquareIcon:ai,Download:ol,DownloadCloud:Jn,DownloadCloudIcon:Jn,DownloadIcon:ol,DraftingCompass:Ry,DraftingCompassIcon:Ry,Drama:Uy,DramaIcon:Uy,Dribbble:Ny,DribbbleIcon:Ny,Drill:$y,DrillIcon:$y,Drone:Wy,DroneIcon:Wy,Droplet:Xy,DropletIcon:Xy,DropletOff:Gy,DropletOffIcon:Gy,Droplets:Ky,DropletsIcon:Ky,Drum:Zy,DrumIcon:Zy,Drumstick:Yy,DrumstickIcon:Yy,Dumbbell:Jy,DumbbellIcon:Jy,Ear:ef,EarIcon:ef,EarOff:Qy,EarOffIcon:Qy,Earth:oo,EarthIcon:oo,EarthLock:tf,EarthLockIcon:tf,Eclipse:af,EclipseIcon:af,Edit:at,Edit2:fr,Edit2Icon:fr,Edit3:yr,Edit3Icon:yr,EditIcon:at,Egg:of,EggFried:nf,EggFriedIcon:nf,EggIcon:of,EggOff:rf,EggOffIcon:rf,Ellipsis:Ma,EllipsisIcon:Ma,EllipsisVertical:ro,EllipsisVerticalIcon:ro,Equal:cf,EqualApproximately:lf,EqualApproximatelyIcon:lf,EqualIcon:cf,EqualNot:sf,EqualNotIcon:sf,EqualSquare:oi,EqualSquareIcon:oi,Eraser:df,EraserIcon:df,EthernetPort:hf,EthernetPortIcon:hf,Euro:uf,EuroIcon:uf,EvCharger:pf,EvChargerIcon:pf,Expand:yf,ExpandIcon:yf,ExternalLink:ff,ExternalLinkIcon:ff,Eye:Ms,EyeClosed:mf,EyeClosedIcon:mf,EyeIcon:Ms,EyeOff:rl,EyeOffIcon:rl,Facebook:kf,FacebookIcon:kf,Factory:gf,FactoryIcon:gf,Fan:bf,FanIcon:bf,FastForward:xf,FastForwardIcon:xf,Feather:Mf,FeatherIcon:Mf,Fence:wf,FenceIcon:wf,FerrisWheel:vf,FerrisWheelIcon:vf,Figma:Cf,FigmaIcon:Cf,File:Jf,FileArchive:Lf,FileArchiveIcon:Lf,FileAudio:Tt,FileAudio2:Tt,FileAudio2Icon:Tt,FileAudioIcon:Tt,FileAxis3D:io,FileAxis3DIcon:io,FileAxis3d:io,FileAxis3dIcon:io,FileBadge:so,FileBadge2:so,FileBadge2Icon:so,FileBadgeIcon:so,FileBarChart:ho,FileBarChart2:uo,FileBarChart2Icon:uo,FileBarChartIcon:ho,FileBox:Sf,FileBoxIcon:Sf,FileBraces:co,FileBracesCorner:lo,FileBracesCornerIcon:lo,FileBracesIcon:co,FileChartColumn:uo,FileChartColumnIcon:uo,FileChartColumnIncreasing:ho,FileChartColumnIncreasingIcon:ho,FileChartLine:po,FileChartLineIcon:po,FileChartPie:yo,FileChartPieIcon:yo,FileCheck:If,FileCheck2:fo,FileCheck2Icon:fo,FileCheckCorner:fo,FileCheckCornerIcon:fo,FileCheckIcon:If,FileClock:Af,FileClockIcon:Af,FileCode:Bf,FileCode2:mo,FileCode2Icon:mo,FileCodeCorner:mo,FileCodeCornerIcon:mo,FileCodeIcon:Bf,FileCog:ko,FileCog2:ko,FileCog2Icon:ko,FileCogIcon:ko,FileDiff:Vf,FileDiffIcon:Vf,FileDigit:zf,FileDigitIcon:zf,FileDown:_f,FileDownIcon:_f,FileEdit:Co,FileEditIcon:Co,FileExclamationPoint:go,FileExclamationPointIcon:go,FileHeadphone:Tt,FileHeadphoneIcon:Tt,FileHeart:Pf,FileHeartIcon:Pf,FileIcon:Jf,FileImage:qf,FileImageIcon:qf,FileInput:Df,FileInputIcon:Df,FileJson:co,FileJson2:lo,FileJson2Icon:lo,FileJsonIcon:co,FileKey:bo,FileKey2:bo,FileKey2Icon:bo,FileKeyIcon:bo,FileLineChart:po,FileLineChartIcon:po,FileLock:xo,FileLock2:xo,FileLock2Icon:xo,FileLockIcon:xo,FileMinus:Tf,FileMinus2:Mo,FileMinus2Icon:Mo,FileMinusCorner:Mo,FileMinusCornerIcon:Mo,FileMinusIcon:Tf,FileMusic:Ef,FileMusicIcon:Ef,FileOutput:Hf,FileOutputIcon:Hf,FilePen:Co,FilePenIcon:Co,FilePenLine:wo,FilePenLineIcon:wo,FilePieChart:yo,FilePieChartIcon:yo,FilePlay:vo,FilePlayIcon:vo,FilePlus:Of,FilePlus2:Lo,FilePlus2Icon:Lo,FilePlusCorner:Lo,FilePlusCornerIcon:Lo,FilePlusIcon:Of,FileQuestion:So,FileQuestionIcon:So,FileQuestionMark:So,FileQuestionMarkIcon:So,FileScan:jf,FileScanIcon:jf,FileSearch:Ff,FileSearch2:Io,FileSearch2Icon:Io,FileSearchCorner:Io,FileSearchCornerIcon:Io,FileSearchIcon:Ff,FileSignal:Ao,FileSignalIcon:Ao,FileSignature:wo,FileSignatureIcon:wo,FileSliders:Rf,FileSlidersIcon:Rf,FileSpreadsheet:Nf,FileSpreadsheetIcon:Nf,FileStack:Uf,FileStackIcon:Uf,FileSymlink:$f,FileSymlinkIcon:$f,FileTerminal:Wf,FileTerminalIcon:Wf,FileText:ws,FileTextIcon:ws,FileType:Gf,FileType2:Bo,FileType2Icon:Bo,FileTypeCorner:Bo,FileTypeCornerIcon:Bo,FileTypeIcon:Gf,FileUp:Xf,FileUpIcon:Xf,FileUser:Kf,FileUserIcon:Kf,FileVideo:vo,FileVideo2:Vo,FileVideo2Icon:Vo,FileVideoCamera:Vo,FileVideoCameraIcon:Vo,FileVideoIcon:vo,FileVolume:Zf,FileVolume2:Ao,FileVolume2Icon:Ao,FileVolumeIcon:Zf,FileWarning:go,FileWarningIcon:go,FileX:Yf,FileX2:_o,FileX2Icon:_o,FileXCorner:_o,FileXCornerIcon:_o,FileXIcon:Yf,Files:em,FilesIcon:em,Film:Qf,FilmIcon:Qf,Filter:Eo,FilterIcon:Eo,FilterX:Do,FilterXIcon:Do,Fingerprint:zo,FingerprintIcon:zo,FingerprintPattern:zo,FingerprintPatternIcon:zo,FireExtinguisher:tm,FireExtinguisherIcon:tm,Fish:om,FishIcon:om,FishOff:am,FishOffIcon:am,FishSymbol:nm,FishSymbolIcon:nm,FishingHook:rm,FishingHookIcon:rm,Flag:cm,FlagIcon:cm,FlagOff:im,FlagOffIcon:im,FlagTriangleLeft:sm,FlagTriangleLeftIcon:sm,FlagTriangleRight:lm,FlagTriangleRightIcon:lm,Flame:hm,FlameIcon:hm,FlameKindling:dm,FlameKindlingIcon:dm,Flashlight:pm,FlashlightIcon:pm,FlashlightOff:um,FlashlightOffIcon:um,FlaskConical:fm,FlaskConicalIcon:fm,FlaskConicalOff:ym,FlaskConicalOffIcon:ym,FlaskRound:mm,FlaskRoundIcon:mm,FlipHorizontal:Ur,FlipHorizontal2:km,FlipHorizontal2Icon:km,FlipHorizontalIcon:Ur,FlipVertical:$r,FlipVertical2:gm,FlipVertical2Icon:gm,FlipVerticalIcon:$r,Flower:xm,Flower2:bm,Flower2Icon:bm,FlowerIcon:xm,Focus:Mm,FocusIcon:Mm,FoldHorizontal:wm,FoldHorizontalIcon:wm,FoldVertical:vm,FoldVerticalIcon:vm,Folder:Ym,FolderArchive:Cm,FolderArchiveIcon:Cm,FolderCheck:Lm,FolderCheckIcon:Lm,FolderClock:Sm,FolderClockIcon:Sm,FolderClosed:Im,FolderClosedIcon:Im,FolderCode:Am,FolderCodeIcon:Am,FolderCog:Po,FolderCog2:Po,FolderCog2Icon:Po,FolderCogIcon:Po,FolderDot:Bm,FolderDotIcon:Bm,FolderDown:Vm,FolderDownIcon:Vm,FolderEdit:qo,FolderEditIcon:qo,FolderGit:zm,FolderGit2:_m,FolderGit2Icon:_m,FolderGitIcon:zm,FolderHeart:Pm,FolderHeartIcon:Pm,FolderIcon:Ym,FolderInput:qm,FolderInputIcon:qm,FolderKanban:Em,FolderKanbanIcon:Em,FolderKey:Dm,FolderKeyIcon:Dm,FolderLock:Tm,FolderLockIcon:Tm,FolderMinus:jm,FolderMinusIcon:jm,FolderOpen:Om,FolderOpenDot:Hm,FolderOpenDotIcon:Hm,FolderOpenIcon:Om,FolderOutput:Fm,FolderOutputIcon:Fm,FolderPen:qo,FolderPenIcon:qo,FolderPlus:Um,FolderPlusIcon:Um,FolderRoot:Rm,FolderRootIcon:Rm,FolderSearch:$m,FolderSearch2:Nm,FolderSearch2Icon:Nm,FolderSearchIcon:$m,FolderSymlink:Gm,FolderSymlinkIcon:Gm,FolderSync:Wm,FolderSyncIcon:Wm,FolderTree:Xm,FolderTreeIcon:Xm,FolderUp:Km,FolderUpIcon:Km,FolderX:Zm,FolderXIcon:Zm,Folders:Jm,FoldersIcon:Jm,Footprints:Qm,FootprintsIcon:Qm,ForkKnife:Zi,ForkKnifeCrossed:Ki,ForkKnifeCrossedIcon:Ki,ForkKnifeIcon:Zi,Forklift:ek,ForkliftIcon:ek,Form:tk,FormIcon:tk,FormInput:gr,FormInputIcon:gr,Forward:nk,ForwardIcon:nk,Frame:ak,FrameIcon:ak,Framer:ok,FramerIcon:ok,Frown:rk,FrownIcon:rk,Fuel:ik,FuelIcon:ik,Fullscreen:sk,FullscreenIcon:sk,FunctionSquare:ri,FunctionSquareIcon:ri,Funnel:Eo,FunnelIcon:Eo,FunnelPlus:lk,FunnelPlusIcon:lk,FunnelX:Do,FunnelXIcon:Do,GalleryHorizontal:dk,GalleryHorizontalEnd:ck,GalleryHorizontalEndIcon:ck,GalleryHorizontalIcon:dk,GalleryThumbnails:hk,GalleryThumbnailsIcon:hk,GalleryVertical:pk,GalleryVerticalEnd:uk,GalleryVerticalEndIcon:uk,GalleryVerticalIcon:pk,Gamepad:kk,Gamepad2:yk,Gamepad2Icon:yk,GamepadDirectional:fk,GamepadDirectionalIcon:fk,GamepadIcon:kk,GanttChart:kn,GanttChartIcon:kn,GanttChartSquare:Ft,GanttChartSquareIcon:Ft,Gauge:mk,GaugeCircle:En,GaugeCircleIcon:En,GaugeIcon:mk,Gavel:gk,GavelIcon:gk,Gem:bk,GemIcon:bk,GeorgianLari:xk,GeorgianLariIcon:xk,Ghost:Mk,GhostIcon:Mk,Gift:wk,GiftIcon:wk,GitBranch:Lk,GitBranchIcon:Lk,GitBranchMinus:vk,GitBranchMinusIcon:vk,GitBranchPlus:Ck,GitBranchPlusIcon:Ck,GitCommit:To,GitCommitHorizontal:To,GitCommitHorizontalIcon:To,GitCommitIcon:To,GitCommitVertical:Sk,GitCommitVerticalIcon:Sk,GitCompare:Ak,GitCompareArrows:Ik,GitCompareArrowsIcon:Ik,GitCompareIcon:Ak,GitFork:Bk,GitForkIcon:Bk,GitGraph:Vk,GitGraphIcon:Vk,GitMerge:zk,GitMergeConflict:_k,GitMergeConflictIcon:_k,GitMergeIcon:zk,GitPullRequest:Hk,GitPullRequestArrow:Pk,GitPullRequestArrowIcon:Pk,GitPullRequestClosed:qk,GitPullRequestClosedIcon:qk,GitPullRequestCreate:Ek,GitPullRequestCreateArrow:Dk,GitPullRequestCreateArrowIcon:Dk,GitPullRequestCreateIcon:Ek,GitPullRequestDraft:Tk,GitPullRequestDraftIcon:Tk,GitPullRequestIcon:Hk,Github:Ok,GithubIcon:Ok,Gitlab:jk,GitlabIcon:jk,GlassWater:Fk,GlassWaterIcon:Fk,Glasses:Rk,GlassesIcon:Rk,Globe:il,Globe2:oo,Globe2Icon:oo,GlobeIcon:il,GlobeLock:Nk,GlobeLockIcon:Nk,GlobeOff:Uk,GlobeOffIcon:Uk,GlobeX:$k,GlobeXIcon:$k,Goal:Wk,GoalIcon:Wk,Gpu:Xk,GpuIcon:Xk,Grab:Ro,GrabIcon:Ro,GraduationCap:Gk,GraduationCapIcon:Gk,Grape:Kk,GrapeIcon:Kk,Grid:Ht,Grid2X2:Fo,Grid2X2Check:Ho,Grid2X2CheckIcon:Ho,Grid2X2Icon:Fo,Grid2X2Plus:jo,Grid2X2PlusIcon:jo,Grid2X2X:Oo,Grid2X2XIcon:Oo,Grid2x2:Fo,Grid2x2Check:Ho,Grid2x2CheckIcon:Ho,Grid2x2Icon:Fo,Grid2x2Plus:jo,Grid2x2PlusIcon:jo,Grid2x2X:Oo,Grid2x2XIcon:Oo,Grid3X3:Ht,Grid3X3Icon:Ht,Grid3x2:Zk,Grid3x2Icon:Zk,Grid3x3:Ht,Grid3x3Icon:Ht,GridIcon:Ht,Grip:Qk,GripHorizontal:Yk,GripHorizontalIcon:Yk,GripIcon:Qk,GripVertical:Jk,GripVerticalIcon:Jk,Group:tg,GroupIcon:tg,Guitar:eg,GuitarIcon:eg,Ham:ag,HamIcon:ag,Hamburger:ng,HamburgerIcon:ng,Hammer:og,HammerIcon:og,Hand:dg,HandCoins:rg,HandCoinsIcon:rg,HandFist:ig,HandFistIcon:ig,HandGrab:Ro,HandGrabIcon:Ro,HandHeart:sg,HandHeartIcon:sg,HandHelping:No,HandHelpingIcon:No,HandIcon:dg,HandMetal:lg,HandMetalIcon:lg,HandPlatter:cg,HandPlatterIcon:cg,Handbag:hg,HandbagIcon:hg,Handshake:ug,HandshakeIcon:ug,HardDrive:fg,HardDriveDownload:pg,HardDriveDownloadIcon:pg,HardDriveIcon:fg,HardDriveUpload:yg,HardDriveUploadIcon:yg,HardHat:mg,HardHatIcon:mg,Hash:kg,HashIcon:kg,HatGlasses:gg,HatGlassesIcon:gg,Haze:bg,HazeIcon:bg,Hd:xg,HdIcon:xg,HdmiPort:Mg,HdmiPortIcon:Mg,Heading:Ag,Heading1:wg,Heading1Icon:wg,Heading2:vg,Heading2Icon:vg,Heading3:Cg,Heading3Icon:Cg,Heading4:Lg,Heading4Icon:Lg,Heading5:Sg,Heading5Icon:Sg,Heading6:Ig,Heading6Icon:Ig,HeadingIcon:Ag,HeadphoneOff:Bg,HeadphoneOffIcon:Bg,Headphones:Vg,HeadphonesIcon:Vg,Headset:_g,HeadsetIcon:_g,Heart:Hg,HeartCrack:zg,HeartCrackIcon:zg,HeartHandshake:qg,HeartHandshakeIcon:qg,HeartIcon:Hg,HeartMinus:Pg,HeartMinusIcon:Pg,HeartOff:Dg,HeartOffIcon:Dg,HeartPlus:Eg,HeartPlusIcon:Eg,HeartPulse:Tg,HeartPulseIcon:Tg,Heater:Og,HeaterIcon:Og,Helicopter:jg,HelicopterIcon:jg,HelpCircle:Dt,HelpCircleIcon:Dt,HelpingHand:No,HelpingHandIcon:No,Hexagon:Fg,HexagonIcon:Fg,Highlighter:Rg,HighlighterIcon:Rg,History:Ng,HistoryIcon:Ng,Home:Uo,HomeIcon:Uo,Hop:$g,HopIcon:$g,HopOff:Ug,HopOffIcon:Ug,Hospital:Wg,HospitalIcon:Wg,Hotel:Gg,HotelIcon:Gg,Hourglass:Xg,HourglassIcon:Xg,House:Uo,HouseHeart:Kg,HouseHeartIcon:Kg,HouseIcon:Uo,HousePlug:Zg,HousePlugIcon:Zg,HousePlus:Yg,HousePlusIcon:Yg,HouseWifi:Jg,HouseWifiIcon:Jg,IceCream:Wo,IceCream2:$o,IceCream2Icon:$o,IceCreamBowl:$o,IceCreamBowlIcon:$o,IceCreamCone:Wo,IceCreamConeIcon:Wo,IceCreamIcon:Wo,Icon:gB,IdCard:e4,IdCardIcon:e4,IdCardLanyard:Qg,IdCardLanyardIcon:Qg,Image:l4,ImageDown:t4,ImageDownIcon:t4,ImageIcon:l4,ImageMinus:a4,ImageMinusIcon:a4,ImageOff:n4,ImageOffIcon:n4,ImagePlay:o4,ImagePlayIcon:o4,ImagePlus:r4,ImagePlusIcon:r4,ImageUp:i4,ImageUpIcon:i4,ImageUpscale:s4,ImageUpscaleIcon:s4,Images:c4,ImagesIcon:c4,Import:h4,ImportIcon:h4,Inbox:d4,InboxIcon:d4,Indent:jt,IndentDecrease:Ot,IndentDecreaseIcon:Ot,IndentIcon:jt,IndentIncrease:jt,IndentIncreaseIcon:jt,IndianRupee:u4,IndianRupeeIcon:u4,Infinity:p4,InfinityIcon:p4,Info:y4,InfoIcon:y4,Inspect:hi,InspectIcon:hi,InspectionPanel:f4,InspectionPanelIcon:f4,Instagram:m4,InstagramIcon:m4,Italic:k4,ItalicIcon:k4,IterationCcw:g4,IterationCcwIcon:g4,IterationCw:b4,IterationCwIcon:b4,JapaneseYen:x4,JapaneseYenIcon:x4,Joystick:M4,JoystickIcon:M4,Kanban:w4,KanbanIcon:w4,KanbanSquare:ii,KanbanSquareDashed:Qr,KanbanSquareDashedIcon:Qr,KanbanSquareIcon:ii,Kayak:v4,KayakIcon:v4,Key:I4,KeyIcon:I4,KeyRound:C4,KeyRoundIcon:C4,KeySquare:L4,KeySquareIcon:L4,Keyboard:B4,KeyboardIcon:B4,KeyboardMusic:S4,KeyboardMusicIcon:S4,KeyboardOff:A4,KeyboardOffIcon:A4,Lamp:D4,LampCeiling:V4,LampCeilingIcon:V4,LampDesk:_4,LampDeskIcon:_4,LampFloor:P4,LampFloorIcon:P4,LampIcon:D4,LampWallDown:z4,LampWallDownIcon:z4,LampWallUp:q4,LampWallUpIcon:q4,LandPlot:E4,LandPlotIcon:E4,Landmark:H4,LandmarkIcon:H4,Languages:T4,LanguagesIcon:T4,Laptop:j4,Laptop2:Go,Laptop2Icon:Go,LaptopIcon:j4,LaptopMinimal:Go,LaptopMinimalCheck:O4,LaptopMinimalCheckIcon:O4,LaptopMinimalIcon:Go,Lasso:R4,LassoIcon:R4,LassoSelect:F4,LassoSelectIcon:F4,Laugh:N4,LaughIcon:N4,Layers:Xo,Layers2:U4,Layers2Icon:U4,Layers3:Xo,Layers3Icon:Xo,LayersIcon:Xo,LayersPlus:$4,LayersPlusIcon:$4,Layout:pr,LayoutDashboard:W4,LayoutDashboardIcon:W4,LayoutGrid:G4,LayoutGridIcon:G4,LayoutIcon:pr,LayoutList:X4,LayoutListIcon:X4,LayoutPanelLeft:K4,LayoutPanelLeftIcon:K4,LayoutPanelTop:Z4,LayoutPanelTopIcon:Z4,LayoutTemplate:Y4,LayoutTemplateIcon:Y4,Leaf:J4,LeafIcon:J4,LeafyGreen:Q4,LeafyGreenIcon:Q4,Lectern:e5,LecternIcon:e5,LensConcave:t5,LensConcaveIcon:t5,LensConvex:a5,LensConvexIcon:a5,LetterText:Pi,LetterTextIcon:Pi,Library:i5,LibraryBig:n5,LibraryBigIcon:n5,LibraryIcon:i5,LibrarySquare:si,LibrarySquareIcon:si,LifeBuoy:r5,LifeBuoyIcon:r5,Ligature:o5,LigatureIcon:o5,Lightbulb:l5,LightbulbIcon:l5,LightbulbOff:s5,LightbulbOffIcon:s5,LineChart:pn,LineChartIcon:pn,LineDotRightHorizontal:c5,LineDotRightHorizontalIcon:c5,LineSquiggle:d5,LineSquiggleIcon:d5,Link:sl,Link2:u5,Link2Icon:u5,Link2Off:h5,Link2OffIcon:h5,LinkIcon:sl,Linkedin:p5,LinkedinIcon:p5,List:z5,ListCheck:y5,ListCheckIcon:y5,ListChecks:f5,ListChecksIcon:f5,ListChevronsDownUp:k5,ListChevronsDownUpIcon:k5,ListChevronsUpDown:m5,ListChevronsUpDownIcon:m5,ListCollapse:g5,ListCollapseIcon:g5,ListEnd:b5,ListEndIcon:b5,ListFilter:x5,ListFilterIcon:x5,ListFilterPlus:M5,ListFilterPlusIcon:M5,ListIcon:z5,ListIndentDecrease:Ot,ListIndentDecreaseIcon:Ot,ListIndentIncrease:jt,ListIndentIncreaseIcon:jt,ListMinus:L5,ListMinusIcon:L5,ListMusic:w5,ListMusicIcon:w5,ListOrdered:v5,ListOrderedIcon:v5,ListPlus:C5,ListPlusIcon:C5,ListRestart:S5,ListRestartIcon:S5,ListStart:I5,ListStartIcon:I5,ListTodo:B5,ListTodoIcon:B5,ListTree:A5,ListTreeIcon:A5,ListVideo:V5,ListVideoIcon:V5,ListX:_5,ListXIcon:_5,Loader:q5,Loader2:Lt,Loader2Icon:Lt,LoaderCircle:Lt,LoaderCircleIcon:Lt,LoaderIcon:q5,LoaderPinwheel:P5,LoaderPinwheelIcon:P5,Locate:T5,LocateFixed:D5,LocateFixedIcon:D5,LocateIcon:T5,LocateOff:E5,LocateOffIcon:E5,LocationEdit:Jo,LocationEditIcon:Jo,Lock:O5,LockIcon:O5,LockKeyhole:H5,LockKeyholeIcon:H5,LockKeyholeOpen:Ko,LockKeyholeOpenIcon:Ko,LockOpen:Zo,LockOpenIcon:Zo,LogIn:j5,LogInIcon:j5,LogOut:F5,LogOutIcon:F5,Logs:R5,LogsIcon:R5,Lollipop:N5,LollipopIcon:N5,LucideAArrowDown:m1,LucideAArrowUp:k1,LucideALargeSmall:g1,LucideAccessibility:b1,LucideActivity:x1,LucideActivitySquare:Br,LucideAirVent:M1,LucideAirplay:w1,LucideAlarmCheck:Ra,LucideAlarmClock:C1,LucideAlarmClockCheck:Ra,LucideAlarmClockMinus:Na,LucideAlarmClockOff:v1,LucideAlarmClockPlus:Ua,LucideAlarmMinus:Na,LucideAlarmPlus:Ua,LucideAlarmSmoke:L1,LucideAlbum:I1,LucideAlertCircle:qt,LucideAlertOctagon:ar,LucideAlertTriangle:Oi,LucideAlignCenter:zi,LucideAlignCenterHorizontal:S1,LucideAlignCenterVertical:A1,LucideAlignEndHorizontal:B1,LucideAlignEndVertical:V1,LucideAlignHorizontalDistributeCenter:_1,LucideAlignHorizontalDistributeEnd:z1,LucideAlignHorizontalDistributeStart:P1,LucideAlignHorizontalJustifyCenter:q1,LucideAlignHorizontalJustifyEnd:D1,LucideAlignHorizontalJustifyStart:E1,LucideAlignHorizontalSpaceAround:T1,LucideAlignHorizontalSpaceBetween:H1,LucideAlignJustify:_i,LucideAlignLeft:Rt,LucideAlignRight:Vi,LucideAlignStartHorizontal:O1,LucideAlignStartVertical:j1,LucideAlignVerticalDistributeCenter:F1,LucideAlignVerticalDistributeEnd:R1,LucideAlignVerticalDistributeStart:N1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:G1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:K1,LucideAmpersand:Z1,LucideAmpersands:Y1,LucideAmphora:Q1,LucideAnchor:J1,LucideAngry:ec,LucideAnnoyed:tc,LucideAntenna:ac,LucideAnvil:nc,LucideAperture:oc,LucideAppWindow:ic,LucideAppWindowMac:rc,LucideApple:sc,LucideArchive:dc,LucideArchiveRestore:lc,LucideArchiveX:cc,LucideAreaChart:rn,LucideArmchair:hc,LucideArrowBigDown:pc,LucideArrowBigDownDash:uc,LucideArrowBigLeft:fc,LucideArrowBigLeftDash:yc,LucideArrowBigRight:kc,LucideArrowBigRightDash:mc,LucideArrowBigUp:gc,LucideArrowBigUpDash:bc,LucideArrowDown:Bc,LucideArrowDown01:Mc,LucideArrowDown10:xc,LucideArrowDownAZ:$a,LucideArrowDownAz:$a,LucideArrowDownCircle:wn,LucideArrowDownFromLine:wc,LucideArrowDownLeft:vc,LucideArrowDownLeftFromCircle:Cn,LucideArrowDownLeftFromSquare:qr,LucideArrowDownLeftSquare:Vr,LucideArrowDownNarrowWide:Lc,LucideArrowDownRight:Cc,LucideArrowDownRightFromCircle:Ln,LucideArrowDownRightFromSquare:Dr,LucideArrowDownRightSquare:_r,LucideArrowDownSquare:zr,LucideArrowDownToDot:Sc,LucideArrowDownToLine:Ic,LucideArrowDownUp:Ac,LucideArrowDownWideNarrow:Wa,LucideArrowDownZA:Ga,LucideArrowDownZa:Ga,LucideArrowLeft:Pc,LucideArrowLeftCircle:vn,LucideArrowLeftFromLine:Vc,LucideArrowLeftRight:zc,LucideArrowLeftSquare:Pr,LucideArrowLeftToLine:_c,LucideArrowRight:Ys,LucideArrowRightCircle:An,LucideArrowRightFromLine:qc,LucideArrowRightLeft:Dc,LucideArrowRightSquare:Hr,LucideArrowRightToLine:Ec,LucideArrowUp:Gc,LucideArrowUp01:Tc,LucideArrowUp10:Hc,LucideArrowUpAZ:Xa,LucideArrowUpAz:Xa,LucideArrowUpCircle:Bn,LucideArrowUpDown:Oc,LucideArrowUpFromDot:jc,LucideArrowUpFromLine:Fc,LucideArrowUpLeft:Rc,LucideArrowUpLeftFromCircle:Sn,LucideArrowUpLeftFromSquare:Er,LucideArrowUpLeftSquare:jr,LucideArrowUpNarrowWide:Ka,LucideArrowUpRight:Nc,LucideArrowUpRightFromCircle:In,LucideArrowUpRightFromSquare:Tr,LucideArrowUpRightSquare:Or,LucideArrowUpSquare:Fr,LucideArrowUpToLine:Uc,LucideArrowUpWideNarrow:$c,LucideArrowUpZA:Za,LucideArrowUpZa:Za,LucideArrowsUpFromLine:Wc,LucideAsterisk:Xc,LucideAsteriskSquare:Rr,LucideAtSign:Kc,LucideAtom:Zc,LucideAudioLines:Yc,LucideAudioWaveform:Jc,LucideAward:Qc,LucideAxe:ed,LucideAxis3D:Ya,LucideAxis3d:Ya,LucideBaby:ad,LucideBackpack:td,LucideBadge:gd,LucideBadgeAlert:nd,LucideBadgeCent:od,LucideBadgeCheck:Ja,LucideBadgeDollarSign:rd,LucideBadgeEuro:id,LucideBadgeHelp:Qa,LucideBadgeIndianRupee:sd,LucideBadgeInfo:ld,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeQuestionMark:Qa,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:fd,LucideBadgeTurkishLira:md,LucideBadgeX:kd,LucideBaggageClaim:bd,LucideBalloon:xd,LucideBan:wd,LucideBanana:Md,LucideBandage:vd,LucideBanknote:Bd,LucideBanknoteArrowDown:Cd,LucideBanknoteArrowUp:Ld,LucideBanknoteX:Sd,LucideBarChart:yn,LucideBarChart2:fn,LucideBarChart3:un,LucideBarChart4:hn,LucideBarChartBig:dn,LucideBarChartHorizontal:cn,LucideBarChartHorizontalBig:sn,LucideBarcode:Id,LucideBarrel:Ad,LucideBaseline:Vd,LucideBath:_d,LucideBattery:Hd,LucideBatteryCharging:zd,LucideBatteryFull:Pd,LucideBatteryLow:qd,LucideBatteryMedium:Ed,LucideBatteryPlus:Dd,LucideBatteryWarning:Td,LucideBeaker:Od,LucideBean:Fd,LucideBeanOff:jd,LucideBed:Ud,LucideBedDouble:Rd,LucideBedSingle:Nd,LucideBeef:$d,LucideBeer:Gd,LucideBeerOff:Wd,LucideBell:Qd,LucideBellDot:Xd,LucideBellElectric:Kd,LucideBellMinus:Zd,LucideBellOff:Yd,LucideBellPlus:Jd,LucideBellRing:e0,LucideBetweenHorizonalEnd:en,LucideBetweenHorizonalStart:tn,LucideBetweenHorizontalEnd:en,LucideBetweenHorizontalStart:tn,LucideBetweenVerticalEnd:t0,LucideBetweenVerticalStart:a0,LucideBicepsFlexed:n0,LucideBike:o0,LucideBinary:r0,LucideBinoculars:s0,LucideBiohazard:i0,LucideBird:l0,LucideBirdhouse:c0,LucideBitcoin:d0,LucideBlend:h0,LucideBlinds:u0,LucideBlocks:y0,LucideBluetooth:k0,LucideBluetoothConnected:p0,LucideBluetoothOff:f0,LucideBluetoothSearching:m0,LucideBold:g0,LucideBolt:b0,LucideBomb:x0,LucideBone:M0,LucideBook:W0,LucideBookA:w0,LucideBookAlert:v0,LucideBookAudio:C0,LucideBookCheck:S0,LucideBookCopy:L0,LucideBookDashed:an,LucideBookDown:I0,LucideBookHeadphones:A0,LucideBookHeart:B0,LucideBookImage:V0,LucideBookKey:_0,LucideBookLock:z0,LucideBookMarked:P0,LucideBookMinus:q0,LucideBookOpen:T0,LucideBookOpenCheck:D0,LucideBookOpenText:E0,LucideBookPlus:H0,LucideBookSearch:O0,LucideBookTemplate:an,LucideBookText:j0,LucideBookType:F0,LucideBookUp:R0,LucideBookUp2:N0,LucideBookUser:U0,LucideBookX:$0,LucideBookmark:Y0,LucideBookmarkCheck:G0,LucideBookmarkMinus:X0,LucideBookmarkPlus:K0,LucideBookmarkX:Z0,LucideBoomBox:Q0,LucideBot:t2,LucideBotMessageSquare:J0,LucideBotOff:e2,LucideBottleWine:n2,LucideBowArrow:a2,LucideBox:o2,LucideBoxSelect:ti,LucideBoxes:r2,LucideBraces:nn,LucideBrackets:i2,LucideBrain:c2,LucideBrainCircuit:l2,LucideBrainCog:s2,LucideBrickWall:h2,LucideBrickWallFire:d2,LucideBrickWallShield:u2,LucideBriefcase:f2,LucideBriefcaseBusiness:p2,LucideBriefcaseConveyorBelt:y2,LucideBriefcaseMedical:m2,LucideBringToFront:k2,LucideBrush:b2,LucideBrushCleaning:g2,LucideBubbles:x2,LucideBug:v2,LucideBugOff:M2,LucideBugPlay:w2,LucideBuilding:L2,LucideBuilding2:C2,LucideBus:I2,LucideBusFront:S2,LucideCable:B2,LucideCableCar:A2,LucideCake:_2,LucideCakeSlice:V2,LucideCalculator:z2,LucideCalendar:Js,LucideCalendar1:P2,LucideCalendarArrowDown:E2,LucideCalendarArrowUp:q2,LucideCalendarCheck:T2,LucideCalendarCheck2:D2,LucideCalendarClock:H2,LucideCalendarCog:j2,LucideCalendarDays:O2,LucideCalendarFold:F2,LucideCalendarHeart:R2,LucideCalendarMinus:U2,LucideCalendarMinus2:N2,LucideCalendarOff:$2,LucideCalendarPlus:G2,LucideCalendarPlus2:W2,LucideCalendarRange:X2,LucideCalendarSearch:K2,LucideCalendarSync:Z2,LucideCalendarX:J2,LucideCalendarX2:Y2,LucideCalendars:Q2,LucideCamera:th,LucideCameraOff:eh,LucideCandlestickChart:ln,LucideCandy:oh,LucideCandyCane:ah,LucideCandyOff:nh,LucideCannabis:ih,LucideCannabisOff:rh,LucideCaptions:on,LucideCaptionsOff:sh,LucideCar:dh,LucideCarFront:lh,LucideCarTaxiFront:ch,LucideCaravan:hh,LucideCardSim:uh,LucideCarrot:ph,LucideCaseLower:yh,LucideCaseSensitive:fh,LucideCaseUpper:mh,LucideCassetteTape:kh,LucideCast:gh,LucideCastle:bh,LucideCat:xh,LucideCctv:Mh,LucideChartArea:rn,LucideChartBar:cn,LucideChartBarBig:sn,LucideChartBarDecreasing:vh,LucideChartBarIncreasing:wh,LucideChartBarStacked:Ch,LucideChartCandlestick:ln,LucideChartColumn:un,LucideChartColumnBig:dn,LucideChartColumnDecreasing:Lh,LucideChartColumnIncreasing:hn,LucideChartColumnStacked:Sh,LucideChartGantt:Ih,LucideChartLine:pn,LucideChartNetwork:Ah,LucideChartNoAxesColumn:fn,LucideChartNoAxesColumnDecreasing:Bh,LucideChartNoAxesColumnIncreasing:yn,LucideChartNoAxesCombined:Vh,LucideChartNoAxesGantt:kn,LucideChartPie:mn,LucideChartScatter:gn,LucideChartSpline:zh,LucideCheck:ga,LucideCheckCheck:_h,LucideCheckCircle:ba,LucideCheckCircle2:Vn,LucideCheckLine:Ph,LucideCheckSquare:Wr,LucideCheckSquare2:Gr,LucideChefHat:qh,LucideCherry:Dh,LucideChessBishop:Eh,LucideChessKing:Th,LucideChessKnight:Hh,LucideChessPawn:Oh,LucideChessQueen:jh,LucideChessRook:Fh,LucideChevronDown:Pt,LucideChevronDownCircle:zn,LucideChevronDownSquare:Xr,LucideChevronFirst:Rh,LucideChevronLast:Nh,LucideChevronLeft:bn,LucideChevronLeftCircle:Pn,LucideChevronLeftSquare:Kr,LucideChevronRight:xn,LucideChevronRightCircle:_n,LucideChevronRightSquare:Zr,LucideChevronUp:Qs,LucideChevronUpCircle:qn,LucideChevronUpSquare:Yr,LucideChevronsDown:$h,LucideChevronsDownUp:Uh,LucideChevronsLeft:el,LucideChevronsLeftRight:Gh,LucideChevronsLeftRightEllipsis:Wh,LucideChevronsRight:tl,LucideChevronsRightLeft:Xh,LucideChevronsUp:Zh,LucideChevronsUpDown:Kh,LucideChrome:Mn,LucideChromium:Mn,LucideChurch:Jh,LucideCigarette:Qh,LucideCigaretteOff:Yh,LucideCircle:al,LucideCircleAlert:qt,LucideCircleArrowDown:wn,LucideCircleArrowLeft:vn,LucideCircleArrowOutDownLeft:Cn,LucideCircleArrowOutDownRight:Ln,LucideCircleArrowOutUpLeft:Sn,LucideCircleArrowOutUpRight:In,LucideCircleArrowRight:An,LucideCircleArrowUp:Bn,LucideCircleCheck:Vn,LucideCircleCheckBig:ba,LucideCircleChevronDown:zn,LucideCircleChevronLeft:Pn,LucideCircleChevronRight:_n,LucideCircleChevronUp:qn,LucideCircleDashed:eu,LucideCircleDivide:Dn,LucideCircleDollarSign:tu,LucideCircleDot:nu,LucideCircleDotDashed:au,LucideCircleEllipsis:ru,LucideCircleEqual:ou,LucideCircleFadingArrowUp:iu,LucideCircleFadingPlus:su,LucideCircleGauge:En,LucideCircleHelp:Dt,LucideCircleMinus:Tn,LucideCircleOff:lu,LucideCircleParking:On,LucideCircleParkingOff:Hn,LucideCirclePause:jn,LucideCirclePercent:Fn,LucideCirclePile:cu,LucideCirclePlay:Rn,LucideCirclePlus:Nn,LucideCirclePoundSterling:du,LucideCirclePower:Un,LucideCircleQuestionMark:Dt,LucideCircleSlash:hu,LucideCircleSlash2:$n,LucideCircleSlashed:$n,LucideCircleSmall:uu,LucideCircleStar:pu,LucideCircleStop:Wn,LucideCircleUser:Xn,LucideCircleUserRound:Gn,LucideCircleX:Kn,LucideCircuitBoard:yu,LucideCitrus:fu,LucideClapperboard:mu,LucideClipboard:Su,LucideClipboardCheck:gu,LucideClipboardClock:ku,LucideClipboardCopy:bu,LucideClipboardEdit:Yn,LucideClipboardList:xu,LucideClipboardMinus:Mu,LucideClipboardPaste:wu,LucideClipboardPen:Yn,LucideClipboardPenLine:Zn,LucideClipboardPlus:vu,LucideClipboardSignature:Zn,LucideClipboardType:Cu,LucideClipboardX:Lu,LucideClock:nl,LucideClock1:Iu,LucideClock10:Au,LucideClock11:Bu,LucideClock12:Vu,LucideClock2:_u,LucideClock3:zu,LucideClock4:Pu,LucideClock5:qu,LucideClock6:Du,LucideClock7:Eu,LucideClock8:Tu,LucideClock9:Hu,LucideClockAlert:Ou,LucideClockArrowDown:ju,LucideClockArrowUp:Fu,LucideClockCheck:Ru,LucideClockFading:Nu,LucideClockPlus:Uu,LucideClosedCaption:$u,LucideCloud:cp,LucideCloudAlert:Wu,LucideCloudBackup:Gu,LucideCloudCheck:Xu,LucideCloudCog:Ku,LucideCloudDownload:Jn,LucideCloudDrizzle:Zu,LucideCloudFog:Yu,LucideCloudHail:Ju,LucideCloudLightning:Qu,LucideCloudMoon:tp,LucideCloudMoonRain:ep,LucideCloudOff:ap,LucideCloudRain:op,LucideCloudRainWind:np,LucideCloudSnow:rp,LucideCloudSun:sp,LucideCloudSunRain:ip,LucideCloudSync:lp,LucideCloudUpload:xa,LucideCloudy:dp,LucideClover:hp,LucideClub:up,LucideCode:pp,LucideCode2:Qn,LucideCodeSquare:Jr,LucideCodeXml:Qn,LucideCodepen:yp,LucideCodesandbox:fp,LucideCoffee:mp,LucideCog:kp,LucideCoins:gp,LucideColumns:eo,LucideColumns2:eo,LucideColumns3:to,LucideColumns3Cog:Et,LucideColumns4:bp,LucideColumnsSettings:Et,LucideCombine:xp,LucideCommand:Mp,LucideCompass:wp,LucideComponent:vp,LucideComputer:Cp,LucideConciergeBell:Lp,LucideCone:Sp,LucideConstruction:Ip,LucideContact:Ap,LucideContact2:ao,LucideContactRound:ao,LucideContainer:Bp,LucideContrast:Vp,LucideCookie:zp,LucideCookingPot:_p,LucideCopy:Hp,LucideCopyCheck:Pp,LucideCopyMinus:qp,LucideCopyPlus:Dp,LucideCopySlash:Tp,LucideCopyX:Ep,LucideCopyleft:Op,LucideCopyright:jp,LucideCornerDownLeft:Fp,LucideCornerDownRight:Np,LucideCornerLeftDown:Rp,LucideCornerLeftUp:Up,LucideCornerRightDown:$p,LucideCornerRightUp:Wp,LucideCornerUpLeft:Gp,LucideCornerUpRight:Xp,LucideCpu:xs,LucideCreativeCommons:Kp,LucideCreditCard:Zp,LucideCroissant:Yp,LucideCrop:Jp,LucideCross:Qp,LucideCrosshair:ty,LucideCrown:ey,LucideCuboid:ay,LucideCupSoda:ny,LucideCurlyBraces:nn,LucideCurrency:oy,LucideCylinder:ry,LucideDam:iy,LucideDatabase:dy,LucideDatabaseBackup:sy,LucideDatabaseSearch:ly,LucideDatabaseZap:cy,LucideDecimalsArrowLeft:hy,LucideDecimalsArrowRight:uy,LucideDelete:py,LucideDessert:yy,LucideDiameter:fy,LucideDiamond:gy,LucideDiamondMinus:my,LucideDiamondPercent:no,LucideDiamondPlus:ky,LucideDice1:by,LucideDice2:xy,LucideDice3:My,LucideDice4:wy,LucideDice5:vy,LucideDice6:Cy,LucideDices:Ly,LucideDiff:Sy,LucideDisc:Vy,LucideDisc2:Iy,LucideDisc3:Ay,LucideDiscAlbum:By,LucideDivide:_y,LucideDivideCircle:Dn,LucideDivideSquare:ni,LucideDna:Py,LucideDnaOff:zy,LucideDock:qy,LucideDog:Ey,LucideDollarSign:Dy,LucideDonut:Hy,LucideDoorClosed:Oy,LucideDoorClosedLocked:Ty,LucideDoorOpen:jy,LucideDot:Fy,LucideDotSquare:ai,LucideDownload:ol,LucideDownloadCloud:Jn,LucideDraftingCompass:Ry,LucideDrama:Uy,LucideDribbble:Ny,LucideDrill:$y,LucideDrone:Wy,LucideDroplet:Xy,LucideDropletOff:Gy,LucideDroplets:Ky,LucideDrum:Zy,LucideDrumstick:Yy,LucideDumbbell:Jy,LucideEar:ef,LucideEarOff:Qy,LucideEarth:oo,LucideEarthLock:tf,LucideEclipse:af,LucideEdit:at,LucideEdit2:fr,LucideEdit3:yr,LucideEgg:of,LucideEggFried:nf,LucideEggOff:rf,LucideEllipsis:Ma,LucideEllipsisVertical:ro,LucideEqual:cf,LucideEqualApproximately:lf,LucideEqualNot:sf,LucideEqualSquare:oi,LucideEraser:df,LucideEthernetPort:hf,LucideEuro:uf,LucideEvCharger:pf,LucideExpand:yf,LucideExternalLink:ff,LucideEye:Ms,LucideEyeClosed:mf,LucideEyeOff:rl,LucideFacebook:kf,LucideFactory:gf,LucideFan:bf,LucideFastForward:xf,LucideFeather:Mf,LucideFence:wf,LucideFerrisWheel:vf,LucideFigma:Cf,LucideFile:Jf,LucideFileArchive:Lf,LucideFileAudio:Tt,LucideFileAudio2:Tt,LucideFileAxis3D:io,LucideFileAxis3d:io,LucideFileBadge:so,LucideFileBadge2:so,LucideFileBarChart:ho,LucideFileBarChart2:uo,LucideFileBox:Sf,LucideFileBraces:co,LucideFileBracesCorner:lo,LucideFileChartColumn:uo,LucideFileChartColumnIncreasing:ho,LucideFileChartLine:po,LucideFileChartPie:yo,LucideFileCheck:If,LucideFileCheck2:fo,LucideFileCheckCorner:fo,LucideFileClock:Af,LucideFileCode:Bf,LucideFileCode2:mo,LucideFileCodeCorner:mo,LucideFileCog:ko,LucideFileCog2:ko,LucideFileDiff:Vf,LucideFileDigit:zf,LucideFileDown:_f,LucideFileEdit:Co,LucideFileExclamationPoint:go,LucideFileHeadphone:Tt,LucideFileHeart:Pf,LucideFileImage:qf,LucideFileInput:Df,LucideFileJson:co,LucideFileJson2:lo,LucideFileKey:bo,LucideFileKey2:bo,LucideFileLineChart:po,LucideFileLock:xo,LucideFileLock2:xo,LucideFileMinus:Tf,LucideFileMinus2:Mo,LucideFileMinusCorner:Mo,LucideFileMusic:Ef,LucideFileOutput:Hf,LucideFilePen:Co,LucideFilePenLine:wo,LucideFilePieChart:yo,LucideFilePlay:vo,LucideFilePlus:Of,LucideFilePlus2:Lo,LucideFilePlusCorner:Lo,LucideFileQuestion:So,LucideFileQuestionMark:So,LucideFileScan:jf,LucideFileSearch:Ff,LucideFileSearch2:Io,LucideFileSearchCorner:Io,LucideFileSignal:Ao,LucideFileSignature:wo,LucideFileSliders:Rf,LucideFileSpreadsheet:Nf,LucideFileStack:Uf,LucideFileSymlink:$f,LucideFileTerminal:Wf,LucideFileText:ws,LucideFileType:Gf,LucideFileType2:Bo,LucideFileTypeCorner:Bo,LucideFileUp:Xf,LucideFileUser:Kf,LucideFileVideo:vo,LucideFileVideo2:Vo,LucideFileVideoCamera:Vo,LucideFileVolume:Zf,LucideFileVolume2:Ao,LucideFileWarning:go,LucideFileX:Yf,LucideFileX2:_o,LucideFileXCorner:_o,LucideFiles:em,LucideFilm:Qf,LucideFilter:Eo,LucideFilterX:Do,LucideFingerprint:zo,LucideFingerprintPattern:zo,LucideFireExtinguisher:tm,LucideFish:om,LucideFishOff:am,LucideFishSymbol:nm,LucideFishingHook:rm,LucideFlag:cm,LucideFlagOff:im,LucideFlagTriangleLeft:sm,LucideFlagTriangleRight:lm,LucideFlame:hm,LucideFlameKindling:dm,LucideFlashlight:pm,LucideFlashlightOff:um,LucideFlaskConical:fm,LucideFlaskConicalOff:ym,LucideFlaskRound:mm,LucideFlipHorizontal:Ur,LucideFlipHorizontal2:km,LucideFlipVertical:$r,LucideFlipVertical2:gm,LucideFlower:xm,LucideFlower2:bm,LucideFocus:Mm,LucideFoldHorizontal:wm,LucideFoldVertical:vm,LucideFolder:Ym,LucideFolderArchive:Cm,LucideFolderCheck:Lm,LucideFolderClock:Sm,LucideFolderClosed:Im,LucideFolderCode:Am,LucideFolderCog:Po,LucideFolderCog2:Po,LucideFolderDot:Bm,LucideFolderDown:Vm,LucideFolderEdit:qo,LucideFolderGit:zm,LucideFolderGit2:_m,LucideFolderHeart:Pm,LucideFolderInput:qm,LucideFolderKanban:Em,LucideFolderKey:Dm,LucideFolderLock:Tm,LucideFolderMinus:jm,LucideFolderOpen:Om,LucideFolderOpenDot:Hm,LucideFolderOutput:Fm,LucideFolderPen:qo,LucideFolderPlus:Um,LucideFolderRoot:Rm,LucideFolderSearch:$m,LucideFolderSearch2:Nm,LucideFolderSymlink:Gm,LucideFolderSync:Wm,LucideFolderTree:Xm,LucideFolderUp:Km,LucideFolderX:Zm,LucideFolders:Jm,LucideFootprints:Qm,LucideForkKnife:Zi,LucideForkKnifeCrossed:Ki,LucideForklift:ek,LucideForm:tk,LucideFormInput:gr,LucideForward:nk,LucideFrame:ak,LucideFramer:ok,LucideFrown:rk,LucideFuel:ik,LucideFullscreen:sk,LucideFunctionSquare:ri,LucideFunnel:Eo,LucideFunnelPlus:lk,LucideFunnelX:Do,LucideGalleryHorizontal:dk,LucideGalleryHorizontalEnd:ck,LucideGalleryThumbnails:hk,LucideGalleryVertical:pk,LucideGalleryVerticalEnd:uk,LucideGamepad:kk,LucideGamepad2:yk,LucideGamepadDirectional:fk,LucideGanttChart:kn,LucideGanttChartSquare:Ft,LucideGauge:mk,LucideGaugeCircle:En,LucideGavel:gk,LucideGem:bk,LucideGeorgianLari:xk,LucideGhost:Mk,LucideGift:wk,LucideGitBranch:Lk,LucideGitBranchMinus:vk,LucideGitBranchPlus:Ck,LucideGitCommit:To,LucideGitCommitHorizontal:To,LucideGitCommitVertical:Sk,LucideGitCompare:Ak,LucideGitCompareArrows:Ik,LucideGitFork:Bk,LucideGitGraph:Vk,LucideGitMerge:zk,LucideGitMergeConflict:_k,LucideGitPullRequest:Hk,LucideGitPullRequestArrow:Pk,LucideGitPullRequestClosed:qk,LucideGitPullRequestCreate:Ek,LucideGitPullRequestCreateArrow:Dk,LucideGitPullRequestDraft:Tk,LucideGithub:Ok,LucideGitlab:jk,LucideGlassWater:Fk,LucideGlasses:Rk,LucideGlobe:il,LucideGlobe2:oo,LucideGlobeLock:Nk,LucideGlobeOff:Uk,LucideGlobeX:$k,LucideGoal:Wk,LucideGpu:Xk,LucideGrab:Ro,LucideGraduationCap:Gk,LucideGrape:Kk,LucideGrid:Ht,LucideGrid2X2:Fo,LucideGrid2X2Check:Ho,LucideGrid2X2Plus:jo,LucideGrid2X2X:Oo,LucideGrid2x2:Fo,LucideGrid2x2Check:Ho,LucideGrid2x2Plus:jo,LucideGrid2x2X:Oo,LucideGrid3X3:Ht,LucideGrid3x2:Zk,LucideGrid3x3:Ht,LucideGrip:Qk,LucideGripHorizontal:Yk,LucideGripVertical:Jk,LucideGroup:tg,LucideGuitar:eg,LucideHam:ag,LucideHamburger:ng,LucideHammer:og,LucideHand:dg,LucideHandCoins:rg,LucideHandFist:ig,LucideHandGrab:Ro,LucideHandHeart:sg,LucideHandHelping:No,LucideHandMetal:lg,LucideHandPlatter:cg,LucideHandbag:hg,LucideHandshake:ug,LucideHardDrive:fg,LucideHardDriveDownload:pg,LucideHardDriveUpload:yg,LucideHardHat:mg,LucideHash:kg,LucideHatGlasses:gg,LucideHaze:bg,LucideHd:xg,LucideHdmiPort:Mg,LucideHeading:Ag,LucideHeading1:wg,LucideHeading2:vg,LucideHeading3:Cg,LucideHeading4:Lg,LucideHeading5:Sg,LucideHeading6:Ig,LucideHeadphoneOff:Bg,LucideHeadphones:Vg,LucideHeadset:_g,LucideHeart:Hg,LucideHeartCrack:zg,LucideHeartHandshake:qg,LucideHeartMinus:Pg,LucideHeartOff:Dg,LucideHeartPlus:Eg,LucideHeartPulse:Tg,LucideHeater:Og,LucideHelicopter:jg,LucideHelpCircle:Dt,LucideHelpingHand:No,LucideHexagon:Fg,LucideHighlighter:Rg,LucideHistory:Ng,LucideHome:Uo,LucideHop:$g,LucideHopOff:Ug,LucideHospital:Wg,LucideHotel:Gg,LucideHourglass:Xg,LucideHouse:Uo,LucideHouseHeart:Kg,LucideHousePlug:Zg,LucideHousePlus:Yg,LucideHouseWifi:Jg,LucideIceCream:Wo,LucideIceCream2:$o,LucideIceCreamBowl:$o,LucideIceCreamCone:Wo,LucideIdCard:e4,LucideIdCardLanyard:Qg,LucideImage:l4,LucideImageDown:t4,LucideImageMinus:a4,LucideImageOff:n4,LucideImagePlay:o4,LucideImagePlus:r4,LucideImageUp:i4,LucideImageUpscale:s4,LucideImages:c4,LucideImport:h4,LucideInbox:d4,LucideIndent:jt,LucideIndentDecrease:Ot,LucideIndentIncrease:jt,LucideIndianRupee:u4,LucideInfinity:p4,LucideInfo:y4,LucideInspect:hi,LucideInspectionPanel:f4,LucideInstagram:m4,LucideItalic:k4,LucideIterationCcw:g4,LucideIterationCw:b4,LucideJapaneseYen:x4,LucideJoystick:M4,LucideKanban:w4,LucideKanbanSquare:ii,LucideKanbanSquareDashed:Qr,LucideKayak:v4,LucideKey:I4,LucideKeyRound:C4,LucideKeySquare:L4,LucideKeyboard:B4,LucideKeyboardMusic:S4,LucideKeyboardOff:A4,LucideLamp:D4,LucideLampCeiling:V4,LucideLampDesk:_4,LucideLampFloor:P4,LucideLampWallDown:z4,LucideLampWallUp:q4,LucideLandPlot:E4,LucideLandmark:H4,LucideLanguages:T4,LucideLaptop:j4,LucideLaptop2:Go,LucideLaptopMinimal:Go,LucideLaptopMinimalCheck:O4,LucideLasso:R4,LucideLassoSelect:F4,LucideLaugh:N4,LucideLayers:Xo,LucideLayers2:U4,LucideLayers3:Xo,LucideLayersPlus:$4,LucideLayout:pr,LucideLayoutDashboard:W4,LucideLayoutGrid:G4,LucideLayoutList:X4,LucideLayoutPanelLeft:K4,LucideLayoutPanelTop:Z4,LucideLayoutTemplate:Y4,LucideLeaf:J4,LucideLeafyGreen:Q4,LucideLectern:e5,LucideLensConcave:t5,LucideLensConvex:a5,LucideLetterText:Pi,LucideLibrary:i5,LucideLibraryBig:n5,LucideLibrarySquare:si,LucideLifeBuoy:r5,LucideLigature:o5,LucideLightbulb:l5,LucideLightbulbOff:s5,LucideLineChart:pn,LucideLineDotRightHorizontal:c5,LucideLineSquiggle:d5,LucideLink:sl,LucideLink2:u5,LucideLink2Off:h5,LucideLinkedin:p5,LucideList:z5,LucideListCheck:y5,LucideListChecks:f5,LucideListChevronsDownUp:k5,LucideListChevronsUpDown:m5,LucideListCollapse:g5,LucideListEnd:b5,LucideListFilter:x5,LucideListFilterPlus:M5,LucideListIndentDecrease:Ot,LucideListIndentIncrease:jt,LucideListMinus:L5,LucideListMusic:w5,LucideListOrdered:v5,LucideListPlus:C5,LucideListRestart:S5,LucideListStart:I5,LucideListTodo:B5,LucideListTree:A5,LucideListVideo:V5,LucideListX:_5,LucideLoader:q5,LucideLoader2:Lt,LucideLoaderCircle:Lt,LucideLoaderPinwheel:P5,LucideLocate:T5,LucideLocateFixed:D5,LucideLocateOff:E5,LucideLocationEdit:Jo,LucideLock:O5,LucideLockKeyhole:H5,LucideLockKeyholeOpen:Ko,LucideLockOpen:Zo,LucideLogIn:j5,LucideLogOut:F5,LucideLogs:R5,LucideLollipop:N5,LucideLuggage:U5,LucideMSquare:li,LucideMagnet:$5,LucideMail:Q5,LucideMailCheck:W5,LucideMailMinus:X5,LucideMailOpen:G5,LucideMailPlus:K5,LucideMailQuestion:Yo,LucideMailQuestionMark:Yo,LucideMailSearch:Z5,LucideMailWarning:J5,LucideMailX:Y5,LucideMailbox:a3,LucideMails:e3,LucideMap:f3,LucideMapMinus:t3,LucideMapPin:ll,LucideMapPinCheck:n3,LucideMapPinCheckInside:o3,LucideMapPinHouse:r3,LucideMapPinMinus:s3,LucideMapPinMinusInside:i3,LucideMapPinOff:l3,LucideMapPinPen:Jo,LucideMapPinPlus:d3,LucideMapPinPlusInside:c3,LucideMapPinX:h3,LucideMapPinXInside:u3,LucideMapPinned:p3,LucideMapPlus:y3,LucideMars:g3,LucideMarsStroke:m3,LucideMartini:k3,LucideMaximize:x3,LucideMaximize2:b3,LucideMedal:M3,LucideMegaphone:v3,LucideMegaphoneOff:w3,LucideMeh:C3,LucideMemoryStick:L3,LucideMenu:S3,LucideMenuSquare:ci,LucideMerge:I3,LucideMessageCircle:H3,LucideMessageCircleCheck:A3,LucideMessageCircleCode:B3,LucideMessageCircleDashed:V3,LucideMessageCircleHeart:_3,LucideMessageCircleMore:P3,LucideMessageCircleOff:z3,LucideMessageCirclePlus:q3,LucideMessageCircleQuestion:Qo,LucideMessageCircleQuestionMark:Qo,LucideMessageCircleReply:D3,LucideMessageCircleWarning:E3,LucideMessageCircleX:T3,LucideMessageSquare:vs,LucideMessageSquareCheck:O3,LucideMessageSquareCode:j3,LucideMessageSquareDashed:F3,LucideMessageSquareDiff:R3,LucideMessageSquareDot:N3,LucideMessageSquareHeart:U3,LucideMessageSquareLock:$3,LucideMessageSquareMore:W3,LucideMessageSquareOff:G3,LucideMessageSquarePlus:X3,LucideMessageSquareQuote:K3,LucideMessageSquareReply:Z3,LucideMessageSquareShare:Y3,LucideMessageSquareText:Q3,LucideMessageSquareWarning:J3,LucideMessageSquareX:e6,LucideMessagesSquare:t6,LucideMetronome:a6,LucideMic:o6,LucideMic2:er,LucideMicOff:n6,LucideMicVocal:er,LucideMicrochip:r6,LucideMicroscope:i6,LucideMicrowave:s6,LucideMilestone:l6,LucideMilk:d6,LucideMilkOff:c6,LucideMinimize:h6,LucideMinimize2:u6,LucideMinus:cl,LucideMinusCircle:Tn,LucideMinusSquare:di,LucideMirrorRectangular:p6,LucideMirrorRound:y6,LucideMonitor:A6,LucideMonitorCheck:f6,LucideMonitorCloud:m6,LucideMonitorCog:k6,LucideMonitorDot:g6,LucideMonitorDown:b6,LucideMonitorOff:x6,LucideMonitorPause:M6,LucideMonitorPlay:w6,LucideMonitorSmartphone:v6,LucideMonitorSpeaker:C6,LucideMonitorStop:L6,LucideMonitorUp:S6,LucideMonitorX:I6,LucideMoon:V6,LucideMoonStar:B6,LucideMoreHorizontal:Ma,LucideMoreVertical:ro,LucideMotorbike:_6,LucideMountain:P6,LucideMountainSnow:z6,LucideMouse:R6,LucideMouseLeft:q6,LucideMouseOff:D6,LucideMousePointer:j6,LucideMousePointer2:T6,LucideMousePointer2Off:E6,LucideMousePointerBan:H6,LucideMousePointerClick:O6,LucideMousePointerSquareDashed:ei,LucideMouseRight:F6,LucideMove:t8,LucideMove3D:tr,LucideMove3d:tr,LucideMoveDiagonal:U6,LucideMoveDiagonal2:N6,LucideMoveDown:G6,LucideMoveDownLeft:$6,LucideMoveDownRight:W6,LucideMoveHorizontal:X6,LucideMoveLeft:K6,LucideMoveRight:Y6,LucideMoveUp:Q6,LucideMoveUpLeft:Z6,LucideMoveUpRight:J6,LucideMoveVertical:e8,LucideMusic:r8,LucideMusic2:a8,LucideMusic3:n8,LucideMusic4:o8,LucideNavigation:c8,LucideNavigation2:s8,LucideNavigation2Off:i8,LucideNavigationOff:l8,LucideNetwork:d8,LucideNewspaper:h8,LucideNfc:u8,LucideNonBinary:p8,LucideNotebook:k8,LucideNotebookPen:f8,LucideNotebookTabs:y8,LucideNotebookText:m8,LucideNotepadText:b8,LucideNotepadTextDashed:g8,LucideNut:M8,LucideNutOff:x8,LucideOctagon:v8,LucideOctagonAlert:ar,LucideOctagonMinus:w8,LucideOctagonPause:nr,LucideOctagonX:or,LucideOmega:C8,LucideOption:L8,LucideOrbit:S8,LucideOrigami:I8,LucideOutdent:Ot,LucidePackage:D8,LucidePackage2:A8,LucidePackageCheck:V8,LucidePackageMinus:B8,LucidePackageOpen:_8,LucidePackagePlus:z8,LucidePackageSearch:P8,LucidePackageX:q8,LucidePaintBucket:E8,LucidePaintRoller:T8,LucidePaintbrush:H8,LucidePaintbrush2:rr,LucidePaintbrushVertical:rr,LucidePalette:O8,LucidePalmtree:Hi,LucidePanda:j8,LucidePanelBottom:N8,LucidePanelBottomClose:F8,LucidePanelBottomDashed:ir,LucidePanelBottomInactive:ir,LucidePanelBottomOpen:R8,LucidePanelLeft:dr,LucidePanelLeftClose:lr,LucidePanelLeftDashed:sr,LucidePanelLeftInactive:sr,LucidePanelLeftOpen:cr,LucidePanelLeftRightDashed:U8,LucidePanelRight:G8,LucidePanelRightClose:$8,LucidePanelRightDashed:hr,LucidePanelRightInactive:hr,LucidePanelRightOpen:W8,LucidePanelTop:Y8,LucidePanelTopBottomDashed:X8,LucidePanelTopClose:K8,LucidePanelTopDashed:ur,LucidePanelTopInactive:ur,LucidePanelTopOpen:Z8,LucidePanelsLeftBottom:J8,LucidePanelsLeftRight:to,LucidePanelsRightBottom:Q8,LucidePanelsTopBottom:Mr,LucidePanelsTopLeft:pr,LucidePaperclip:e7,LucideParentheses:t7,LucideParkingCircle:On,LucideParkingCircleOff:Hn,LucideParkingMeter:a7,LucideParkingSquare:pi,LucideParkingSquareOff:ui,LucidePartyPopper:n7,LucidePause:o7,LucidePauseCircle:jn,LucidePauseOctagon:nr,LucidePawPrint:r7,LucidePcCase:i7,LucidePen:fr,LucidePenBox:at,LucidePenLine:yr,LucidePenOff:s7,LucidePenSquare:at,LucidePenTool:l7,LucidePencil:mr,LucidePencilLine:c7,LucidePencilOff:d7,LucidePencilRuler:h7,LucidePentagon:u7,LucidePercent:p7,LucidePercentCircle:Fn,LucidePercentDiamond:no,LucidePercentSquare:yi,LucidePersonStanding:y7,LucidePhilippinePeso:f7,LucidePhone:dl,LucidePhoneCall:m7,LucidePhoneForwarded:k7,LucidePhoneIncoming:g7,LucidePhoneMissed:x7,LucidePhoneOff:b7,LucidePhoneOutgoing:M7,LucidePi:w7,LucidePiSquare:fi,LucidePiano:v7,LucidePickaxe:C7,LucidePictureInPicture:S7,LucidePictureInPicture2:L7,LucidePieChart:mn,LucidePiggyBank:I7,LucidePilcrow:V7,LucidePilcrowLeft:A7,LucidePilcrowRight:B7,LucidePilcrowSquare:mi,LucidePill:D7,LucidePillBottle:_7,LucidePin:P7,LucidePinOff:z7,LucidePipette:q7,LucidePizza:E7,LucidePlane:hl,LucidePlaneLanding:T7,LucidePlaneTakeoff:H7,LucidePlay:O7,LucidePlayCircle:Rn,LucidePlaySquare:ki,LucidePlug:F7,LucidePlug2:j7,LucidePlugZap:kr,LucidePlugZap2:kr,LucidePlus:ul,LucidePlusCircle:Nn,LucidePlusSquare:gi,LucidePocket:N7,LucidePocketKnife:R7,LucidePodcast:U7,LucidePointer:W7,LucidePointerOff:$7,LucidePopcorn:G7,LucidePopsicle:X7,LucidePoundSterling:Z7,LucidePower:Y7,LucidePowerCircle:Un,LucidePowerOff:K7,LucidePowerSquare:bi,LucidePresentation:J7,LucidePrinter:tb,LucidePrinterCheck:Q7,LucidePrinterX:eb,LucideProjector:ab,LucideProportions:rb,LucidePuzzle:nb,LucidePyramid:ob,LucideQrCode:ib,LucideQuote:sb,LucideRabbit:cb,LucideRadar:lb,LucideRadiation:hb,LucideRadical:db,LucideRadio:yb,LucideRadioReceiver:ub,LucideRadioTower:pb,LucideRadius:fb,LucideRailSymbol:mb,LucideRainbow:kb,LucideRat:gb,LucideRatio:bb,LucideReceipt:Bb,LucideReceiptCent:xb,LucideReceiptEuro:Mb,LucideReceiptIndianRupee:wb,LucideReceiptJapaneseYen:vb,LucideReceiptPoundSterling:Cb,LucideReceiptRussianRuble:Lb,LucideReceiptSwissFranc:Sb,LucideReceiptText:Ib,LucideReceiptTurkishLira:Ab,LucideRectangleCircle:Vb,LucideRectangleEllipsis:gr,LucideRectangleGoggles:_b,LucideRectangleHorizontal:zb,LucideRectangleVertical:Pb,LucideRecycle:qb,LucideRedo:Eb,LucideRedo2:Db,LucideRedoDot:Tb,LucideRefreshCcw:Ob,LucideRefreshCcwDot:Hb,LucideRefreshCw:Cs,LucideRefreshCwOff:jb,LucideRefrigerator:Rb,LucideRegex:Fb,LucideRemoveFormatting:Nb,LucideRepeat:$b,LucideRepeat1:Ub,LucideRepeat2:Gb,LucideReplace:Xb,LucideReplaceAll:Wb,LucideReply:Zb,LucideReplyAll:Kb,LucideRewind:Jb,LucideRibbon:Yb,LucideRocket:Qb,LucideRockingChair:ex,LucideRollerCoaster:tx,LucideRose:ax,LucideRotate3D:br,LucideRotate3d:br,LucideRotateCcw:rx,LucideRotateCcwKey:nx,LucideRotateCcwSquare:ox,LucideRotateCw:sx,LucideRotateCwSquare:ix,LucideRoute:cx,LucideRouteOff:lx,LucideRouter:dx,LucideRows:xr,LucideRows2:xr,LucideRows3:Mr,LucideRows4:hx,LucideRss:ux,LucideRuler:px,LucideRulerDimensionLine:yx,LucideRussianRuble:fx,LucideSailboat:mx,LucideSalad:kx,LucideSandwich:bx,LucideSatellite:xx,LucideSatelliteDish:gx,LucideSaudiRiyal:Mx,LucideSave:Cx,LucideSaveAll:vx,LucideSaveOff:wx,LucideScale:Lx,LucideScale3D:wr,LucideScale3d:wr,LucideScaling:Sx,LucideScan:qx,LucideScanBarcode:Ix,LucideScanEye:Ax,LucideScanFace:Bx,LucideScanHeart:Vx,LucideScanLine:_x,LucideScanQrCode:Px,LucideScanSearch:zx,LucideScanText:Dx,LucideScatterChart:gn,LucideSchool:Ex,LucideSchool2:Fi,LucideScissors:Ox,LucideScissorsLineDashed:Tx,LucideScissorsSquare:xi,LucideScissorsSquareDashedBottom:Nr,LucideScooter:Hx,LucideScreenShare:Fx,LucideScreenShareOff:jx,LucideScroll:Nx,LucideScrollText:Rx,LucideSearch:vr,LucideSearchAlert:Ux,LucideSearchCheck:Wx,LucideSearchCode:$x,LucideSearchSlash:Gx,LucideSearchX:Xx,LucideSection:Kx,LucideSend:Yx,LucideSendHorizonal:Cr,LucideSendHorizontal:Cr,LucideSendToBack:Zx,LucideSeparatorHorizontal:Jx,LucideSeparatorVertical:Qx,LucideServer:pl,LucideServerCog:eM,LucideServerCrash:tM,LucideServerOff:nM,LucideSettings:oM,LucideSettings2:aM,LucideShapes:rM,LucideShare:iM,LucideShare2:yl,LucideSheet:sM,LucideShell:lM,LucideShelvingUnit:cM,LucideShield:bM,LucideShieldAlert:dM,LucideShieldBan:hM,LucideShieldCheck:uM,LucideShieldClose:Sr,LucideShieldEllipsis:pM,LucideShieldHalf:yM,LucideShieldMinus:kM,LucideShieldOff:fM,LucideShieldPlus:mM,LucideShieldQuestion:Lr,LucideShieldQuestionMark:Lr,LucideShieldUser:gM,LucideShieldX:Sr,LucideShip:MM,LucideShipWheel:xM,LucideShirt:wM,LucideShoppingBag:vM,LucideShoppingBasket:CM,LucideShoppingCart:fl,LucideShovel:SM,LucideShowerHead:LM,LucideShredder:IM,LucideShrimp:AM,LucideShrink:BM,LucideShrub:VM,LucideShuffle:_M,LucideSidebar:dr,LucideSidebarClose:lr,LucideSidebarOpen:cr,LucideSigma:zM,LucideSigmaSquare:Mi,LucideSignal:TM,LucideSignalHigh:PM,LucideSignalLow:qM,LucideSignalMedium:DM,LucideSignalZero:EM,LucideSignature:HM,LucideSignpost:jM,LucideSignpostBig:OM,LucideSiren:FM,LucideSkipBack:NM,LucideSkipForward:RM,LucideSkull:$M,LucideSlack:UM,LucideSlash:WM,LucideSlashSquare:wi,LucideSlice:GM,LucideSliders:Ir,LucideSlidersHorizontal:ml,LucideSlidersVertical:Ir,LucideSmartphone:ZM,LucideSmartphoneCharging:XM,LucideSmartphoneNfc:KM,LucideSmile:JM,LucideSmilePlus:YM,LucideSnail:QM,LucideSnowflake:e9,LucideSoapDispenserDroplet:t9,LucideSofa:a9,LucideSolarPanel:n9,LucideSortAsc:Ka,LucideSortDesc:Wa,LucideSoup:o9,LucideSpace:r9,LucideSpade:i9,LucideSparkle:s9,LucideSparkles:Ar,LucideSpeaker:l9,LucideSpeech:c9,LucideSpellCheck:u9,LucideSpellCheck2:d9,LucideSpline:p9,LucideSplinePointer:h9,LucideSplit:y9,LucideSplitSquareHorizontal:vi,LucideSplitSquareVertical:Ci,LucideSpool:f9,LucideSpotlight:m9,LucideSprayCan:k9,LucideSprout:g9,LucideSquare:z9,LucideSquareActivity:Br,LucideSquareArrowDown:zr,LucideSquareArrowDownLeft:Vr,LucideSquareArrowDownRight:_r,LucideSquareArrowLeft:Pr,LucideSquareArrowOutDownLeft:qr,LucideSquareArrowOutDownRight:Dr,LucideSquareArrowOutUpLeft:Er,LucideSquareArrowOutUpRight:Tr,LucideSquareArrowRight:Hr,LucideSquareArrowRightEnter:b9,LucideSquareArrowRightExit:x9,LucideSquareArrowUp:Fr,LucideSquareArrowUpLeft:jr,LucideSquareArrowUpRight:Or,LucideSquareAsterisk:Rr,LucideSquareBottomDashedScissors:Nr,LucideSquareCenterlineDashedHorizontal:Ur,LucideSquareCenterlineDashedVertical:$r,LucideSquareChartGantt:Ft,LucideSquareCheck:Gr,LucideSquareCheckBig:Wr,LucideSquareChevronDown:Xr,LucideSquareChevronLeft:Kr,LucideSquareChevronRight:Zr,LucideSquareChevronUp:Yr,LucideSquareCode:Jr,LucideSquareDashed:ti,LucideSquareDashedBottom:w9,LucideSquareDashedBottomCode:M9,LucideSquareDashedKanban:Qr,LucideSquareDashedMousePointer:ei,LucideSquareDashedTopSolid:v9,LucideSquareDivide:ni,LucideSquareDot:ai,LucideSquareEqual:oi,LucideSquareFunction:ri,LucideSquareGanttChart:Ft,LucideSquareKanban:ii,LucideSquareLibrary:si,LucideSquareM:li,LucideSquareMenu:ci,LucideSquareMinus:di,LucideSquareMousePointer:hi,LucideSquareParking:pi,LucideSquareParkingOff:ui,LucideSquarePause:C9,LucideSquarePen:at,LucideSquarePercent:yi,LucideSquarePi:fi,LucideSquarePilcrow:mi,LucideSquarePlay:ki,LucideSquarePlus:gi,LucideSquarePower:bi,LucideSquareRadical:S9,LucideSquareRoundCorner:L9,LucideSquareScissors:xi,LucideSquareSigma:Mi,LucideSquareSlash:wi,LucideSquareSplitHorizontal:vi,LucideSquareSplitVertical:Ci,LucideSquareSquare:I9,LucideSquareStack:A9,LucideSquareStar:V9,LucideSquareStop:B9,LucideSquareTerminal:Li,LucideSquareUser:Ai,LucideSquareUserRound:Si,LucideSquareX:Ii,LucideSquaresExclude:_9,LucideSquaresIntersect:P9,LucideSquaresSubtract:q9,LucideSquaresUnite:D9,LucideSquircle:T9,LucideSquircleDashed:E9,LucideSquirrel:H9,LucideStamp:O9,LucideStar:N9,LucideStarHalf:j9,LucideStarOff:F9,LucideStars:Ar,LucideStepBack:R9,LucideStepForward:U9,LucideStethoscope:$9,LucideSticker:W9,LucideStickyNote:G9,LucideStone:X9,LucideStopCircle:Wn,LucideStore:K9,LucideStretchHorizontal:Y9,LucideStretchVertical:Z9,LucideStrikethrough:J9,LucideSubscript:Q9,LucideSubtitles:on,LucideSun:ow,LucideSunDim:ew,LucideSunMedium:tw,LucideSunMoon:nw,LucideSunSnow:aw,LucideSunrise:rw,LucideSunset:iw,LucideSuperscript:sw,LucideSwatchBook:lw,LucideSwissFranc:cw,LucideSwitchCamera:hw,LucideSword:dw,LucideSwords:uw,LucideSyringe:pw,LucideTable:ww,LucideTable2:yw,LucideTableCellsMerge:fw,LucideTableCellsSplit:mw,LucideTableColumnsSplit:kw,LucideTableConfig:Et,LucideTableOfContents:gw,LucideTableProperties:bw,LucideTableRowsSplit:xw,LucideTablet:Mw,LucideTabletSmartphone:vw,LucideTablets:Cw,LucideTag:Lw,LucideTags:Sw,LucideTally1:Iw,LucideTally2:Aw,LucideTally3:Bw,LucideTally4:Vw,LucideTally5:_w,LucideTangent:zw,LucideTarget:Pw,LucideTelescope:qw,LucideTent:Ew,LucideTentTree:Dw,LucideTerminal:Tw,LucideTerminalSquare:Li,LucideTestTube:Hw,LucideTestTube2:Bi,LucideTestTubeDiagonal:Bi,LucideTestTubes:Ow,LucideText:Rt,LucideTextAlignCenter:zi,LucideTextAlignEnd:Vi,LucideTextAlignJustify:_i,LucideTextAlignStart:Rt,LucideTextCursor:Fw,LucideTextCursorInput:jw,LucideTextInitial:Pi,LucideTextQuote:Nw,LucideTextSearch:Rw,LucideTextSelect:Di,LucideTextSelection:Di,LucideTextWrap:qi,LucideTheater:Uw,LucideThermometer:Gw,LucideThermometerSnowflake:$w,LucideThermometerSun:Ww,LucideThumbsDown:Kw,LucideThumbsUp:Xw,LucideTicket:nv,LucideTicketCheck:Zw,LucideTicketMinus:Yw,LucideTicketPercent:Jw,LucideTicketPlus:Qw,LucideTicketSlash:ev,LucideTicketX:tv,LucideTickets:ov,LucideTicketsPlane:av,LucideTimer:sv,LucideTimerOff:rv,LucideTimerReset:iv,LucideToggleLeft:kl,LucideToggleRight:lv,LucideToilet:cv,LucideToolCase:dv,LucideToolbox:hv,LucideTornado:uv,LucideTorus:pv,LucideTouchpad:fv,LucideTouchpadOff:yv,LucideTowelRack:mv,LucideTowerControl:kv,LucideToyBrick:gv,LucideTractor:bv,LucideTrafficCone:xv,LucideTrain:Ei,LucideTrainFront:Cv,LucideTrainFrontTunnel:Mv,LucideTrainTrack:wv,LucideTramFront:Ei,LucideTransgender:vv,LucideTrash:Lv,LucideTrash2:Ti,LucideTreeDeciduous:Sv,LucideTreePalm:Hi,LucideTreePine:Iv,LucideTrees:Av,LucideTrello:Bv,LucideTrendingDown:Vv,LucideTrendingUp:zv,LucideTrendingUpDown:_v,LucideTriangle:Ev,LucideTriangleAlert:Oi,LucideTriangleDashed:Pv,LucideTriangleRight:Dv,LucideTrophy:qv,LucideTruck:Hv,LucideTruckElectric:Tv,LucideTurkishLira:Ov,LucideTurntable:jv,LucideTurtle:Fv,LucideTv:Nv,LucideTv2:ji,LucideTvMinimal:ji,LucideTvMinimalPlay:Rv,LucideTwitch:Uv,LucideTwitter:Wv,LucideType:Gv,LucideTypeOutline:$v,LucideUmbrella:Kv,LucideUmbrellaOff:Xv,LucideUnderline:Zv,LucideUndo:Jv,LucideUndo2:Yv,LucideUndoDot:Qv,LucideUnfoldHorizontal:eC,LucideUnfoldVertical:tC,LucideUngroup:aC,LucideUniversity:Fi,LucideUnlink:oC,LucideUnlink2:nC,LucideUnlock:Zo,LucideUnlockKeyhole:Ko,LucideUnplug:rC,LucideUpload:iC,LucideUploadCloud:xa,LucideUsb:sC,LucideUser:gl,LucideUser2:Gi,LucideUserCheck:lC,LucideUserCheck2:Ri,LucideUserCircle:Xn,LucideUserCircle2:Gn,LucideUserCog:cC,LucideUserCog2:Ni,LucideUserKey:dC,LucideUserLock:hC,LucideUserMinus:uC,LucideUserMinus2:Ui,LucideUserPen:pC,LucideUserPlus:yC,LucideUserPlus2:$i,LucideUserRound:Gi,LucideUserRoundCheck:Ri,LucideUserRoundCog:Ni,LucideUserRoundKey:fC,LucideUserRoundMinus:Ui,LucideUserRoundPen:mC,LucideUserRoundPlus:$i,LucideUserRoundSearch:kC,LucideUserRoundX:Wi,LucideUserSearch:bC,LucideUserSquare:Ai,LucideUserSquare2:Si,LucideUserStar:gC,LucideUserX:xC,LucideUserX2:Wi,LucideUsers:MC,LucideUsers2:Xi,LucideUsersRound:Xi,LucideUtensils:Zi,LucideUtensilsCrossed:Ki,LucideUtilityPole:wC,LucideVan:vC,LucideVariable:LC,LucideVault:CC,LucideVectorSquare:SC,LucideVegan:IC,LucideVenetianMask:AC,LucideVenus:BC,LucideVenusAndMars:VC,LucideVerified:Ja,LucideVibrate:zC,LucideVibrateOff:_C,LucideVideo:qC,LucideVideoOff:PC,LucideVideotape:DC,LucideView:EC,LucideVoicemail:TC,LucideVolleyball:jC,LucideVolume:RC,LucideVolume1:HC,LucideVolume2:OC,LucideVolumeOff:FC,LucideVolumeX:NC,LucideVote:UC,LucideWallet:WC,LucideWallet2:Yi,LucideWalletCards:$C,LucideWalletMinimal:Yi,LucideWallpaper:GC,LucideWand:XC,LucideWand2:Ji,LucideWandSparkles:Ji,LucideWarehouse:KC,LucideWashingMachine:ZC,LucideWatch:YC,LucideWaves:tL,LucideWavesArrowDown:JC,LucideWavesArrowUp:QC,LucideWavesLadder:eL,LucideWaypoints:aL,LucideWebcam:nL,LucideWebhook:rL,LucideWebhookOff:oL,LucideWeight:sL,LucideWeightTilde:iL,LucideWheat:cL,LucideWheatOff:lL,LucideWholeWord:dL,LucideWifi:gL,LucideWifiCog:hL,LucideWifiHigh:uL,LucideWifiLow:yL,LucideWifiOff:pL,LucideWifiPen:fL,LucideWifiSync:mL,LucideWifiZero:kL,LucideWind:bL,LucideWindArrowDown:xL,LucideWine:ML,LucideWineOff:wL,LucideWorkflow:vL,LucideWorm:CL,LucideWrapText:qi,LucideWrench:LL,LucideX:ut,LucideXCircle:Kn,LucideXLineTop:SL,LucideXOctagon:or,LucideXSquare:Ii,LucideYoutube:IL,LucideZap:VL,LucideZapOff:AL,LucideZoomIn:BL,LucideZoomOut:_L,Luggage:U5,LuggageIcon:U5,MSquare:li,MSquareIcon:li,Magnet:$5,MagnetIcon:$5,Mail:Q5,MailCheck:W5,MailCheckIcon:W5,MailIcon:Q5,MailMinus:X5,MailMinusIcon:X5,MailOpen:G5,MailOpenIcon:G5,MailPlus:K5,MailPlusIcon:K5,MailQuestion:Yo,MailQuestionIcon:Yo,MailQuestionMark:Yo,MailQuestionMarkIcon:Yo,MailSearch:Z5,MailSearchIcon:Z5,MailWarning:J5,MailWarningIcon:J5,MailX:Y5,MailXIcon:Y5,Mailbox:a3,MailboxIcon:a3,Mails:e3,MailsIcon:e3,Map:f3,MapIcon:f3,MapMinus:t3,MapMinusIcon:t3,MapPin:ll,MapPinCheck:n3,MapPinCheckIcon:n3,MapPinCheckInside:o3,MapPinCheckInsideIcon:o3,MapPinHouse:r3,MapPinHouseIcon:r3,MapPinIcon:ll,MapPinMinus:s3,MapPinMinusIcon:s3,MapPinMinusInside:i3,MapPinMinusInsideIcon:i3,MapPinOff:l3,MapPinOffIcon:l3,MapPinPen:Jo,MapPinPenIcon:Jo,MapPinPlus:d3,MapPinPlusIcon:d3,MapPinPlusInside:c3,MapPinPlusInsideIcon:c3,MapPinX:h3,MapPinXIcon:h3,MapPinXInside:u3,MapPinXInsideIcon:u3,MapPinned:p3,MapPinnedIcon:p3,MapPlus:y3,MapPlusIcon:y3,Mars:g3,MarsIcon:g3,MarsStroke:m3,MarsStrokeIcon:m3,Martini:k3,MartiniIcon:k3,Maximize:x3,Maximize2:b3,Maximize2Icon:b3,MaximizeIcon:x3,Medal:M3,MedalIcon:M3,Megaphone:v3,MegaphoneIcon:v3,MegaphoneOff:w3,MegaphoneOffIcon:w3,Meh:C3,MehIcon:C3,MemoryStick:L3,MemoryStickIcon:L3,Menu:S3,MenuIcon:S3,MenuSquare:ci,MenuSquareIcon:ci,Merge:I3,MergeIcon:I3,MessageCircle:H3,MessageCircleCheck:A3,MessageCircleCheckIcon:A3,MessageCircleCode:B3,MessageCircleCodeIcon:B3,MessageCircleDashed:V3,MessageCircleDashedIcon:V3,MessageCircleHeart:_3,MessageCircleHeartIcon:_3,MessageCircleIcon:H3,MessageCircleMore:P3,MessageCircleMoreIcon:P3,MessageCircleOff:z3,MessageCircleOffIcon:z3,MessageCirclePlus:q3,MessageCirclePlusIcon:q3,MessageCircleQuestion:Qo,MessageCircleQuestionIcon:Qo,MessageCircleQuestionMark:Qo,MessageCircleQuestionMarkIcon:Qo,MessageCircleReply:D3,MessageCircleReplyIcon:D3,MessageCircleWarning:E3,MessageCircleWarningIcon:E3,MessageCircleX:T3,MessageCircleXIcon:T3,MessageSquare:vs,MessageSquareCheck:O3,MessageSquareCheckIcon:O3,MessageSquareCode:j3,MessageSquareCodeIcon:j3,MessageSquareDashed:F3,MessageSquareDashedIcon:F3,MessageSquareDiff:R3,MessageSquareDiffIcon:R3,MessageSquareDot:N3,MessageSquareDotIcon:N3,MessageSquareHeart:U3,MessageSquareHeartIcon:U3,MessageSquareIcon:vs,MessageSquareLock:$3,MessageSquareLockIcon:$3,MessageSquareMore:W3,MessageSquareMoreIcon:W3,MessageSquareOff:G3,MessageSquareOffIcon:G3,MessageSquarePlus:X3,MessageSquarePlusIcon:X3,MessageSquareQuote:K3,MessageSquareQuoteIcon:K3,MessageSquareReply:Z3,MessageSquareReplyIcon:Z3,MessageSquareShare:Y3,MessageSquareShareIcon:Y3,MessageSquareText:Q3,MessageSquareTextIcon:Q3,MessageSquareWarning:J3,MessageSquareWarningIcon:J3,MessageSquareX:e6,MessageSquareXIcon:e6,MessagesSquare:t6,MessagesSquareIcon:t6,Metronome:a6,MetronomeIcon:a6,Mic:o6,Mic2:er,Mic2Icon:er,MicIcon:o6,MicOff:n6,MicOffIcon:n6,MicVocal:er,MicVocalIcon:er,Microchip:r6,MicrochipIcon:r6,Microscope:i6,MicroscopeIcon:i6,Microwave:s6,MicrowaveIcon:s6,Milestone:l6,MilestoneIcon:l6,Milk:d6,MilkIcon:d6,MilkOff:c6,MilkOffIcon:c6,Minimize:h6,Minimize2:u6,Minimize2Icon:u6,MinimizeIcon:h6,Minus:cl,MinusCircle:Tn,MinusCircleIcon:Tn,MinusIcon:cl,MinusSquare:di,MinusSquareIcon:di,MirrorRectangular:p6,MirrorRectangularIcon:p6,MirrorRound:y6,MirrorRoundIcon:y6,Monitor:A6,MonitorCheck:f6,MonitorCheckIcon:f6,MonitorCloud:m6,MonitorCloudIcon:m6,MonitorCog:k6,MonitorCogIcon:k6,MonitorDot:g6,MonitorDotIcon:g6,MonitorDown:b6,MonitorDownIcon:b6,MonitorIcon:A6,MonitorOff:x6,MonitorOffIcon:x6,MonitorPause:M6,MonitorPauseIcon:M6,MonitorPlay:w6,MonitorPlayIcon:w6,MonitorSmartphone:v6,MonitorSmartphoneIcon:v6,MonitorSpeaker:C6,MonitorSpeakerIcon:C6,MonitorStop:L6,MonitorStopIcon:L6,MonitorUp:S6,MonitorUpIcon:S6,MonitorX:I6,MonitorXIcon:I6,Moon:V6,MoonIcon:V6,MoonStar:B6,MoonStarIcon:B6,MoreHorizontal:Ma,MoreHorizontalIcon:Ma,MoreVertical:ro,MoreVerticalIcon:ro,Motorbike:_6,MotorbikeIcon:_6,Mountain:P6,MountainIcon:P6,MountainSnow:z6,MountainSnowIcon:z6,Mouse:R6,MouseIcon:R6,MouseLeft:q6,MouseLeftIcon:q6,MouseOff:D6,MouseOffIcon:D6,MousePointer:j6,MousePointer2:T6,MousePointer2Icon:T6,MousePointer2Off:E6,MousePointer2OffIcon:E6,MousePointerBan:H6,MousePointerBanIcon:H6,MousePointerClick:O6,MousePointerClickIcon:O6,MousePointerIcon:j6,MousePointerSquareDashed:ei,MousePointerSquareDashedIcon:ei,MouseRight:F6,MouseRightIcon:F6,Move:t8,Move3D:tr,Move3DIcon:tr,Move3d:tr,Move3dIcon:tr,MoveDiagonal:U6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:U6,MoveDown:G6,MoveDownIcon:G6,MoveDownLeft:$6,MoveDownLeftIcon:$6,MoveDownRight:W6,MoveDownRightIcon:W6,MoveHorizontal:X6,MoveHorizontalIcon:X6,MoveIcon:t8,MoveLeft:K6,MoveLeftIcon:K6,MoveRight:Y6,MoveRightIcon:Y6,MoveUp:Q6,MoveUpIcon:Q6,MoveUpLeft:Z6,MoveUpLeftIcon:Z6,MoveUpRight:J6,MoveUpRightIcon:J6,MoveVertical:e8,MoveVerticalIcon:e8,Music:r8,Music2:a8,Music2Icon:a8,Music3:n8,Music3Icon:n8,Music4:o8,Music4Icon:o8,MusicIcon:r8,Navigation:c8,Navigation2:s8,Navigation2Icon:s8,Navigation2Off:i8,Navigation2OffIcon:i8,NavigationIcon:c8,NavigationOff:l8,NavigationOffIcon:l8,Network:d8,NetworkIcon:d8,Newspaper:h8,NewspaperIcon:h8,Nfc:u8,NfcIcon:u8,NonBinary:p8,NonBinaryIcon:p8,Notebook:k8,NotebookIcon:k8,NotebookPen:f8,NotebookPenIcon:f8,NotebookTabs:y8,NotebookTabsIcon:y8,NotebookText:m8,NotebookTextIcon:m8,NotepadText:b8,NotepadTextDashed:g8,NotepadTextDashedIcon:g8,NotepadTextIcon:b8,Nut:M8,NutIcon:M8,NutOff:x8,NutOffIcon:x8,Octagon:v8,OctagonAlert:ar,OctagonAlertIcon:ar,OctagonIcon:v8,OctagonMinus:w8,OctagonMinusIcon:w8,OctagonPause:nr,OctagonPauseIcon:nr,OctagonX:or,OctagonXIcon:or,Omega:C8,OmegaIcon:C8,Option:L8,OptionIcon:L8,Orbit:S8,OrbitIcon:S8,Origami:I8,OrigamiIcon:I8,Outdent:Ot,OutdentIcon:Ot,Package:D8,Package2:A8,Package2Icon:A8,PackageCheck:V8,PackageCheckIcon:V8,PackageIcon:D8,PackageMinus:B8,PackageMinusIcon:B8,PackageOpen:_8,PackageOpenIcon:_8,PackagePlus:z8,PackagePlusIcon:z8,PackageSearch:P8,PackageSearchIcon:P8,PackageX:q8,PackageXIcon:q8,PaintBucket:E8,PaintBucketIcon:E8,PaintRoller:T8,PaintRollerIcon:T8,Paintbrush:H8,Paintbrush2:rr,Paintbrush2Icon:rr,PaintbrushIcon:H8,PaintbrushVertical:rr,PaintbrushVerticalIcon:rr,Palette:O8,PaletteIcon:O8,Palmtree:Hi,PalmtreeIcon:Hi,Panda:j8,PandaIcon:j8,PanelBottom:N8,PanelBottomClose:F8,PanelBottomCloseIcon:F8,PanelBottomDashed:ir,PanelBottomDashedIcon:ir,PanelBottomIcon:N8,PanelBottomInactive:ir,PanelBottomInactiveIcon:ir,PanelBottomOpen:R8,PanelBottomOpenIcon:R8,PanelLeft:dr,PanelLeftClose:lr,PanelLeftCloseIcon:lr,PanelLeftDashed:sr,PanelLeftDashedIcon:sr,PanelLeftIcon:dr,PanelLeftInactive:sr,PanelLeftInactiveIcon:sr,PanelLeftOpen:cr,PanelLeftOpenIcon:cr,PanelLeftRightDashed:U8,PanelLeftRightDashedIcon:U8,PanelRight:G8,PanelRightClose:$8,PanelRightCloseIcon:$8,PanelRightDashed:hr,PanelRightDashedIcon:hr,PanelRightIcon:G8,PanelRightInactive:hr,PanelRightInactiveIcon:hr,PanelRightOpen:W8,PanelRightOpenIcon:W8,PanelTop:Y8,PanelTopBottomDashed:X8,PanelTopBottomDashedIcon:X8,PanelTopClose:K8,PanelTopCloseIcon:K8,PanelTopDashed:ur,PanelTopDashedIcon:ur,PanelTopIcon:Y8,PanelTopInactive:ur,PanelTopInactiveIcon:ur,PanelTopOpen:Z8,PanelTopOpenIcon:Z8,PanelsLeftBottom:J8,PanelsLeftBottomIcon:J8,PanelsLeftRight:to,PanelsLeftRightIcon:to,PanelsRightBottom:Q8,PanelsRightBottomIcon:Q8,PanelsTopBottom:Mr,PanelsTopBottomIcon:Mr,PanelsTopLeft:pr,PanelsTopLeftIcon:pr,Paperclip:e7,PaperclipIcon:e7,Parentheses:t7,ParenthesesIcon:t7,ParkingCircle:On,ParkingCircleIcon:On,ParkingCircleOff:Hn,ParkingCircleOffIcon:Hn,ParkingMeter:a7,ParkingMeterIcon:a7,ParkingSquare:pi,ParkingSquareIcon:pi,ParkingSquareOff:ui,ParkingSquareOffIcon:ui,PartyPopper:n7,PartyPopperIcon:n7,Pause:o7,PauseCircle:jn,PauseCircleIcon:jn,PauseIcon:o7,PauseOctagon:nr,PauseOctagonIcon:nr,PawPrint:r7,PawPrintIcon:r7,PcCase:i7,PcCaseIcon:i7,Pen:fr,PenBox:at,PenBoxIcon:at,PenIcon:fr,PenLine:yr,PenLineIcon:yr,PenOff:s7,PenOffIcon:s7,PenSquare:at,PenSquareIcon:at,PenTool:l7,PenToolIcon:l7,Pencil:mr,PencilIcon:mr,PencilLine:c7,PencilLineIcon:c7,PencilOff:d7,PencilOffIcon:d7,PencilRuler:h7,PencilRulerIcon:h7,Pentagon:u7,PentagonIcon:u7,Percent:p7,PercentCircle:Fn,PercentCircleIcon:Fn,PercentDiamond:no,PercentDiamondIcon:no,PercentIcon:p7,PercentSquare:yi,PercentSquareIcon:yi,PersonStanding:y7,PersonStandingIcon:y7,PhilippinePeso:f7,PhilippinePesoIcon:f7,Phone:dl,PhoneCall:m7,PhoneCallIcon:m7,PhoneForwarded:k7,PhoneForwardedIcon:k7,PhoneIcon:dl,PhoneIncoming:g7,PhoneIncomingIcon:g7,PhoneMissed:x7,PhoneMissedIcon:x7,PhoneOff:b7,PhoneOffIcon:b7,PhoneOutgoing:M7,PhoneOutgoingIcon:M7,Pi:w7,PiIcon:w7,PiSquare:fi,PiSquareIcon:fi,Piano:v7,PianoIcon:v7,Pickaxe:C7,PickaxeIcon:C7,PictureInPicture:S7,PictureInPicture2:L7,PictureInPicture2Icon:L7,PictureInPictureIcon:S7,PieChart:mn,PieChartIcon:mn,PiggyBank:I7,PiggyBankIcon:I7,Pilcrow:V7,PilcrowIcon:V7,PilcrowLeft:A7,PilcrowLeftIcon:A7,PilcrowRight:B7,PilcrowRightIcon:B7,PilcrowSquare:mi,PilcrowSquareIcon:mi,Pill:D7,PillBottle:_7,PillBottleIcon:_7,PillIcon:D7,Pin:P7,PinIcon:P7,PinOff:z7,PinOffIcon:z7,Pipette:q7,PipetteIcon:q7,Pizza:E7,PizzaIcon:E7,Plane:hl,PlaneIcon:hl,PlaneLanding:T7,PlaneLandingIcon:T7,PlaneTakeoff:H7,PlaneTakeoffIcon:H7,Play:O7,PlayCircle:Rn,PlayCircleIcon:Rn,PlayIcon:O7,PlaySquare:ki,PlaySquareIcon:ki,Plug:F7,Plug2:j7,Plug2Icon:j7,PlugIcon:F7,PlugZap:kr,PlugZap2:kr,PlugZap2Icon:kr,PlugZapIcon:kr,Plus:ul,PlusCircle:Nn,PlusCircleIcon:Nn,PlusIcon:ul,PlusSquare:gi,PlusSquareIcon:gi,Pocket:N7,PocketIcon:N7,PocketKnife:R7,PocketKnifeIcon:R7,Podcast:U7,PodcastIcon:U7,Pointer:W7,PointerIcon:W7,PointerOff:$7,PointerOffIcon:$7,Popcorn:G7,PopcornIcon:G7,Popsicle:X7,PopsicleIcon:X7,PoundSterling:Z7,PoundSterlingIcon:Z7,Power:Y7,PowerCircle:Un,PowerCircleIcon:Un,PowerIcon:Y7,PowerOff:K7,PowerOffIcon:K7,PowerSquare:bi,PowerSquareIcon:bi,Presentation:J7,PresentationIcon:J7,Printer:tb,PrinterCheck:Q7,PrinterCheckIcon:Q7,PrinterIcon:tb,PrinterX:eb,PrinterXIcon:eb,Projector:ab,ProjectorIcon:ab,Proportions:rb,ProportionsIcon:rb,Puzzle:nb,PuzzleIcon:nb,Pyramid:ob,PyramidIcon:ob,QrCode:ib,QrCodeIcon:ib,Quote:sb,QuoteIcon:sb,Rabbit:cb,RabbitIcon:cb,Radar:lb,RadarIcon:lb,Radiation:hb,RadiationIcon:hb,Radical:db,RadicalIcon:db,Radio:yb,RadioIcon:yb,RadioReceiver:ub,RadioReceiverIcon:ub,RadioTower:pb,RadioTowerIcon:pb,Radius:fb,RadiusIcon:fb,RailSymbol:mb,RailSymbolIcon:mb,Rainbow:kb,RainbowIcon:kb,Rat:gb,RatIcon:gb,Ratio:bb,RatioIcon:bb,Receipt:Bb,ReceiptCent:xb,ReceiptCentIcon:xb,ReceiptEuro:Mb,ReceiptEuroIcon:Mb,ReceiptIcon:Bb,ReceiptIndianRupee:wb,ReceiptIndianRupeeIcon:wb,ReceiptJapaneseYen:vb,ReceiptJapaneseYenIcon:vb,ReceiptPoundSterling:Cb,ReceiptPoundSterlingIcon:Cb,ReceiptRussianRuble:Lb,ReceiptRussianRubleIcon:Lb,ReceiptSwissFranc:Sb,ReceiptSwissFrancIcon:Sb,ReceiptText:Ib,ReceiptTextIcon:Ib,ReceiptTurkishLira:Ab,ReceiptTurkishLiraIcon:Ab,RectangleCircle:Vb,RectangleCircleIcon:Vb,RectangleEllipsis:gr,RectangleEllipsisIcon:gr,RectangleGoggles:_b,RectangleGogglesIcon:_b,RectangleHorizontal:zb,RectangleHorizontalIcon:zb,RectangleVertical:Pb,RectangleVerticalIcon:Pb,Recycle:qb,RecycleIcon:qb,Redo:Eb,Redo2:Db,Redo2Icon:Db,RedoDot:Tb,RedoDotIcon:Tb,RedoIcon:Eb,RefreshCcw:Ob,RefreshCcwDot:Hb,RefreshCcwDotIcon:Hb,RefreshCcwIcon:Ob,RefreshCw:Cs,RefreshCwIcon:Cs,RefreshCwOff:jb,RefreshCwOffIcon:jb,Refrigerator:Rb,RefrigeratorIcon:Rb,Regex:Fb,RegexIcon:Fb,RemoveFormatting:Nb,RemoveFormattingIcon:Nb,Repeat:$b,Repeat1:Ub,Repeat1Icon:Ub,Repeat2:Gb,Repeat2Icon:Gb,RepeatIcon:$b,Replace:Xb,ReplaceAll:Wb,ReplaceAllIcon:Wb,ReplaceIcon:Xb,Reply:Zb,ReplyAll:Kb,ReplyAllIcon:Kb,ReplyIcon:Zb,Rewind:Jb,RewindIcon:Jb,Ribbon:Yb,RibbonIcon:Yb,Rocket:Qb,RocketIcon:Qb,RockingChair:ex,RockingChairIcon:ex,RollerCoaster:tx,RollerCoasterIcon:tx,Rose:ax,RoseIcon:ax,Rotate3D:br,Rotate3DIcon:br,Rotate3d:br,Rotate3dIcon:br,RotateCcw:rx,RotateCcwIcon:rx,RotateCcwKey:nx,RotateCcwKeyIcon:nx,RotateCcwSquare:ox,RotateCcwSquareIcon:ox,RotateCw:sx,RotateCwIcon:sx,RotateCwSquare:ix,RotateCwSquareIcon:ix,Route:cx,RouteIcon:cx,RouteOff:lx,RouteOffIcon:lx,Router:dx,RouterIcon:dx,Rows:xr,Rows2:xr,Rows2Icon:xr,Rows3:Mr,Rows3Icon:Mr,Rows4:hx,Rows4Icon:hx,RowsIcon:xr,Rss:ux,RssIcon:ux,Ruler:px,RulerDimensionLine:yx,RulerDimensionLineIcon:yx,RulerIcon:px,RussianRuble:fx,RussianRubleIcon:fx,Sailboat:mx,SailboatIcon:mx,Salad:kx,SaladIcon:kx,Sandwich:bx,SandwichIcon:bx,Satellite:xx,SatelliteDish:gx,SatelliteDishIcon:gx,SatelliteIcon:xx,SaudiRiyal:Mx,SaudiRiyalIcon:Mx,Save:Cx,SaveAll:vx,SaveAllIcon:vx,SaveIcon:Cx,SaveOff:wx,SaveOffIcon:wx,Scale:Lx,Scale3D:wr,Scale3DIcon:wr,Scale3d:wr,Scale3dIcon:wr,ScaleIcon:Lx,Scaling:Sx,ScalingIcon:Sx,Scan:qx,ScanBarcode:Ix,ScanBarcodeIcon:Ix,ScanEye:Ax,ScanEyeIcon:Ax,ScanFace:Bx,ScanFaceIcon:Bx,ScanHeart:Vx,ScanHeartIcon:Vx,ScanIcon:qx,ScanLine:_x,ScanLineIcon:_x,ScanQrCode:Px,ScanQrCodeIcon:Px,ScanSearch:zx,ScanSearchIcon:zx,ScanText:Dx,ScanTextIcon:Dx,ScatterChart:gn,ScatterChartIcon:gn,School:Ex,School2:Fi,School2Icon:Fi,SchoolIcon:Ex,Scissors:Ox,ScissorsIcon:Ox,ScissorsLineDashed:Tx,ScissorsLineDashedIcon:Tx,ScissorsSquare:xi,ScissorsSquareDashedBottom:Nr,ScissorsSquareDashedBottomIcon:Nr,ScissorsSquareIcon:xi,Scooter:Hx,ScooterIcon:Hx,ScreenShare:Fx,ScreenShareIcon:Fx,ScreenShareOff:jx,ScreenShareOffIcon:jx,Scroll:Nx,ScrollIcon:Nx,ScrollText:Rx,ScrollTextIcon:Rx,Search:vr,SearchAlert:Ux,SearchAlertIcon:Ux,SearchCheck:Wx,SearchCheckIcon:Wx,SearchCode:$x,SearchCodeIcon:$x,SearchIcon:vr,SearchSlash:Gx,SearchSlashIcon:Gx,SearchX:Xx,SearchXIcon:Xx,Section:Kx,SectionIcon:Kx,Send:Yx,SendHorizonal:Cr,SendHorizonalIcon:Cr,SendHorizontal:Cr,SendHorizontalIcon:Cr,SendIcon:Yx,SendToBack:Zx,SendToBackIcon:Zx,SeparatorHorizontal:Jx,SeparatorHorizontalIcon:Jx,SeparatorVertical:Qx,SeparatorVerticalIcon:Qx,Server:pl,ServerCog:eM,ServerCogIcon:eM,ServerCrash:tM,ServerCrashIcon:tM,ServerIcon:pl,ServerOff:nM,ServerOffIcon:nM,Settings:oM,Settings2:aM,Settings2Icon:aM,SettingsIcon:oM,Shapes:rM,ShapesIcon:rM,Share:iM,Share2:yl,Share2Icon:yl,ShareIcon:iM,Sheet:sM,SheetIcon:sM,Shell:lM,ShellIcon:lM,ShelvingUnit:cM,ShelvingUnitIcon:cM,Shield:bM,ShieldAlert:dM,ShieldAlertIcon:dM,ShieldBan:hM,ShieldBanIcon:hM,ShieldCheck:uM,ShieldCheckIcon:uM,ShieldClose:Sr,ShieldCloseIcon:Sr,ShieldEllipsis:pM,ShieldEllipsisIcon:pM,ShieldHalf:yM,ShieldHalfIcon:yM,ShieldIcon:bM,ShieldMinus:kM,ShieldMinusIcon:kM,ShieldOff:fM,ShieldOffIcon:fM,ShieldPlus:mM,ShieldPlusIcon:mM,ShieldQuestion:Lr,ShieldQuestionIcon:Lr,ShieldQuestionMark:Lr,ShieldQuestionMarkIcon:Lr,ShieldUser:gM,ShieldUserIcon:gM,ShieldX:Sr,ShieldXIcon:Sr,Ship:MM,ShipIcon:MM,ShipWheel:xM,ShipWheelIcon:xM,Shirt:wM,ShirtIcon:wM,ShoppingBag:vM,ShoppingBagIcon:vM,ShoppingBasket:CM,ShoppingBasketIcon:CM,ShoppingCart:fl,ShoppingCartIcon:fl,Shovel:SM,ShovelIcon:SM,ShowerHead:LM,ShowerHeadIcon:LM,Shredder:IM,ShredderIcon:IM,Shrimp:AM,ShrimpIcon:AM,Shrink:BM,ShrinkIcon:BM,Shrub:VM,ShrubIcon:VM,Shuffle:_M,ShuffleIcon:_M,Sidebar:dr,SidebarClose:lr,SidebarCloseIcon:lr,SidebarIcon:dr,SidebarOpen:cr,SidebarOpenIcon:cr,Sigma:zM,SigmaIcon:zM,SigmaSquare:Mi,SigmaSquareIcon:Mi,Signal:TM,SignalHigh:PM,SignalHighIcon:PM,SignalIcon:TM,SignalLow:qM,SignalLowIcon:qM,SignalMedium:DM,SignalMediumIcon:DM,SignalZero:EM,SignalZeroIcon:EM,Signature:HM,SignatureIcon:HM,Signpost:jM,SignpostBig:OM,SignpostBigIcon:OM,SignpostIcon:jM,Siren:FM,SirenIcon:FM,SkipBack:NM,SkipBackIcon:NM,SkipForward:RM,SkipForwardIcon:RM,Skull:$M,SkullIcon:$M,Slack:UM,SlackIcon:UM,Slash:WM,SlashIcon:WM,SlashSquare:wi,SlashSquareIcon:wi,Slice:GM,SliceIcon:GM,Sliders:Ir,SlidersHorizontal:ml,SlidersHorizontalIcon:ml,SlidersIcon:Ir,SlidersVertical:Ir,SlidersVerticalIcon:Ir,Smartphone:ZM,SmartphoneCharging:XM,SmartphoneChargingIcon:XM,SmartphoneIcon:ZM,SmartphoneNfc:KM,SmartphoneNfcIcon:KM,Smile:JM,SmileIcon:JM,SmilePlus:YM,SmilePlusIcon:YM,Snail:QM,SnailIcon:QM,Snowflake:e9,SnowflakeIcon:e9,SoapDispenserDroplet:t9,SoapDispenserDropletIcon:t9,Sofa:a9,SofaIcon:a9,SolarPanel:n9,SolarPanelIcon:n9,SortAsc:Ka,SortAscIcon:Ka,SortDesc:Wa,SortDescIcon:Wa,Soup:o9,SoupIcon:o9,Space:r9,SpaceIcon:r9,Spade:i9,SpadeIcon:i9,Sparkle:s9,SparkleIcon:s9,Sparkles:Ar,SparklesIcon:Ar,Speaker:l9,SpeakerIcon:l9,Speech:c9,SpeechIcon:c9,SpellCheck:u9,SpellCheck2:d9,SpellCheck2Icon:d9,SpellCheckIcon:u9,Spline:p9,SplineIcon:p9,SplinePointer:h9,SplinePointerIcon:h9,Split:y9,SplitIcon:y9,SplitSquareHorizontal:vi,SplitSquareHorizontalIcon:vi,SplitSquareVertical:Ci,SplitSquareVerticalIcon:Ci,Spool:f9,SpoolIcon:f9,Spotlight:m9,SpotlightIcon:m9,SprayCan:k9,SprayCanIcon:k9,Sprout:g9,SproutIcon:g9,Square:z9,SquareActivity:Br,SquareActivityIcon:Br,SquareArrowDown:zr,SquareArrowDownIcon:zr,SquareArrowDownLeft:Vr,SquareArrowDownLeftIcon:Vr,SquareArrowDownRight:_r,SquareArrowDownRightIcon:_r,SquareArrowLeft:Pr,SquareArrowLeftIcon:Pr,SquareArrowOutDownLeft:qr,SquareArrowOutDownLeftIcon:qr,SquareArrowOutDownRight:Dr,SquareArrowOutDownRightIcon:Dr,SquareArrowOutUpLeft:Er,SquareArrowOutUpLeftIcon:Er,SquareArrowOutUpRight:Tr,SquareArrowOutUpRightIcon:Tr,SquareArrowRight:Hr,SquareArrowRightEnter:b9,SquareArrowRightEnterIcon:b9,SquareArrowRightExit:x9,SquareArrowRightExitIcon:x9,SquareArrowRightIcon:Hr,SquareArrowUp:Fr,SquareArrowUpIcon:Fr,SquareArrowUpLeft:jr,SquareArrowUpLeftIcon:jr,SquareArrowUpRight:Or,SquareArrowUpRightIcon:Or,SquareAsterisk:Rr,SquareAsteriskIcon:Rr,SquareBottomDashedScissors:Nr,SquareBottomDashedScissorsIcon:Nr,SquareCenterlineDashedHorizontal:Ur,SquareCenterlineDashedHorizontalIcon:Ur,SquareCenterlineDashedVertical:$r,SquareCenterlineDashedVerticalIcon:$r,SquareChartGantt:Ft,SquareChartGanttIcon:Ft,SquareCheck:Gr,SquareCheckBig:Wr,SquareCheckBigIcon:Wr,SquareCheckIcon:Gr,SquareChevronDown:Xr,SquareChevronDownIcon:Xr,SquareChevronLeft:Kr,SquareChevronLeftIcon:Kr,SquareChevronRight:Zr,SquareChevronRightIcon:Zr,SquareChevronUp:Yr,SquareChevronUpIcon:Yr,SquareCode:Jr,SquareCodeIcon:Jr,SquareDashed:ti,SquareDashedBottom:w9,SquareDashedBottomCode:M9,SquareDashedBottomCodeIcon:M9,SquareDashedBottomIcon:w9,SquareDashedIcon:ti,SquareDashedKanban:Qr,SquareDashedKanbanIcon:Qr,SquareDashedMousePointer:ei,SquareDashedMousePointerIcon:ei,SquareDashedTopSolid:v9,SquareDashedTopSolidIcon:v9,SquareDivide:ni,SquareDivideIcon:ni,SquareDot:ai,SquareDotIcon:ai,SquareEqual:oi,SquareEqualIcon:oi,SquareFunction:ri,SquareFunctionIcon:ri,SquareGanttChart:Ft,SquareGanttChartIcon:Ft,SquareIcon:z9,SquareKanban:ii,SquareKanbanIcon:ii,SquareLibrary:si,SquareLibraryIcon:si,SquareM:li,SquareMIcon:li,SquareMenu:ci,SquareMenuIcon:ci,SquareMinus:di,SquareMinusIcon:di,SquareMousePointer:hi,SquareMousePointerIcon:hi,SquareParking:pi,SquareParkingIcon:pi,SquareParkingOff:ui,SquareParkingOffIcon:ui,SquarePause:C9,SquarePauseIcon:C9,SquarePen:at,SquarePenIcon:at,SquarePercent:yi,SquarePercentIcon:yi,SquarePi:fi,SquarePiIcon:fi,SquarePilcrow:mi,SquarePilcrowIcon:mi,SquarePlay:ki,SquarePlayIcon:ki,SquarePlus:gi,SquarePlusIcon:gi,SquarePower:bi,SquarePowerIcon:bi,SquareRadical:S9,SquareRadicalIcon:S9,SquareRoundCorner:L9,SquareRoundCornerIcon:L9,SquareScissors:xi,SquareScissorsIcon:xi,SquareSigma:Mi,SquareSigmaIcon:Mi,SquareSlash:wi,SquareSlashIcon:wi,SquareSplitHorizontal:vi,SquareSplitHorizontalIcon:vi,SquareSplitVertical:Ci,SquareSplitVerticalIcon:Ci,SquareSquare:I9,SquareSquareIcon:I9,SquareStack:A9,SquareStackIcon:A9,SquareStar:V9,SquareStarIcon:V9,SquareStop:B9,SquareStopIcon:B9,SquareTerminal:Li,SquareTerminalIcon:Li,SquareUser:Ai,SquareUserIcon:Ai,SquareUserRound:Si,SquareUserRoundIcon:Si,SquareX:Ii,SquareXIcon:Ii,SquaresExclude:_9,SquaresExcludeIcon:_9,SquaresIntersect:P9,SquaresIntersectIcon:P9,SquaresSubtract:q9,SquaresSubtractIcon:q9,SquaresUnite:D9,SquaresUniteIcon:D9,Squircle:T9,SquircleDashed:E9,SquircleDashedIcon:E9,SquircleIcon:T9,Squirrel:H9,SquirrelIcon:H9,Stamp:O9,StampIcon:O9,Star:N9,StarHalf:j9,StarHalfIcon:j9,StarIcon:N9,StarOff:F9,StarOffIcon:F9,Stars:Ar,StarsIcon:Ar,StepBack:R9,StepBackIcon:R9,StepForward:U9,StepForwardIcon:U9,Stethoscope:$9,StethoscopeIcon:$9,Sticker:W9,StickerIcon:W9,StickyNote:G9,StickyNoteIcon:G9,Stone:X9,StoneIcon:X9,StopCircle:Wn,StopCircleIcon:Wn,Store:K9,StoreIcon:K9,StretchHorizontal:Y9,StretchHorizontalIcon:Y9,StretchVertical:Z9,StretchVerticalIcon:Z9,Strikethrough:J9,StrikethroughIcon:J9,Subscript:Q9,SubscriptIcon:Q9,Subtitles:on,SubtitlesIcon:on,Sun:ow,SunDim:ew,SunDimIcon:ew,SunIcon:ow,SunMedium:tw,SunMediumIcon:tw,SunMoon:nw,SunMoonIcon:nw,SunSnow:aw,SunSnowIcon:aw,Sunrise:rw,SunriseIcon:rw,Sunset:iw,SunsetIcon:iw,Superscript:sw,SuperscriptIcon:sw,SwatchBook:lw,SwatchBookIcon:lw,SwissFranc:cw,SwissFrancIcon:cw,SwitchCamera:hw,SwitchCameraIcon:hw,Sword:dw,SwordIcon:dw,Swords:uw,SwordsIcon:uw,Syringe:pw,SyringeIcon:pw,Table:ww,Table2:yw,Table2Icon:yw,TableCellsMerge:fw,TableCellsMergeIcon:fw,TableCellsSplit:mw,TableCellsSplitIcon:mw,TableColumnsSplit:kw,TableColumnsSplitIcon:kw,TableConfig:Et,TableConfigIcon:Et,TableIcon:ww,TableOfContents:gw,TableOfContentsIcon:gw,TableProperties:bw,TablePropertiesIcon:bw,TableRowsSplit:xw,TableRowsSplitIcon:xw,Tablet:Mw,TabletIcon:Mw,TabletSmartphone:vw,TabletSmartphoneIcon:vw,Tablets:Cw,TabletsIcon:Cw,Tag:Lw,TagIcon:Lw,Tags:Sw,TagsIcon:Sw,Tally1:Iw,Tally1Icon:Iw,Tally2:Aw,Tally2Icon:Aw,Tally3:Bw,Tally3Icon:Bw,Tally4:Vw,Tally4Icon:Vw,Tally5:_w,Tally5Icon:_w,Tangent:zw,TangentIcon:zw,Target:Pw,TargetIcon:Pw,Telescope:qw,TelescopeIcon:qw,Tent:Ew,TentIcon:Ew,TentTree:Dw,TentTreeIcon:Dw,Terminal:Tw,TerminalIcon:Tw,TerminalSquare:Li,TerminalSquareIcon:Li,TestTube:Hw,TestTube2:Bi,TestTube2Icon:Bi,TestTubeDiagonal:Bi,TestTubeDiagonalIcon:Bi,TestTubeIcon:Hw,TestTubes:Ow,TestTubesIcon:Ow,Text:Rt,TextAlignCenter:zi,TextAlignCenterIcon:zi,TextAlignEnd:Vi,TextAlignEndIcon:Vi,TextAlignJustify:_i,TextAlignJustifyIcon:_i,TextAlignStart:Rt,TextAlignStartIcon:Rt,TextCursor:Fw,TextCursorIcon:Fw,TextCursorInput:jw,TextCursorInputIcon:jw,TextIcon:Rt,TextInitial:Pi,TextInitialIcon:Pi,TextQuote:Nw,TextQuoteIcon:Nw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:Di,TextSelectIcon:Di,TextSelection:Di,TextSelectionIcon:Di,TextWrap:qi,TextWrapIcon:qi,Theater:Uw,TheaterIcon:Uw,Thermometer:Gw,ThermometerIcon:Gw,ThermometerSnowflake:$w,ThermometerSnowflakeIcon:$w,ThermometerSun:Ww,ThermometerSunIcon:Ww,ThumbsDown:Kw,ThumbsDownIcon:Kw,ThumbsUp:Xw,ThumbsUpIcon:Xw,Ticket:nv,TicketCheck:Zw,TicketCheckIcon:Zw,TicketIcon:nv,TicketMinus:Yw,TicketMinusIcon:Yw,TicketPercent:Jw,TicketPercentIcon:Jw,TicketPlus:Qw,TicketPlusIcon:Qw,TicketSlash:ev,TicketSlashIcon:ev,TicketX:tv,TicketXIcon:tv,Tickets:ov,TicketsIcon:ov,TicketsPlane:av,TicketsPlaneIcon:av,Timer:sv,TimerIcon:sv,TimerOff:rv,TimerOffIcon:rv,TimerReset:iv,TimerResetIcon:iv,ToggleLeft:kl,ToggleLeftIcon:kl,ToggleRight:lv,ToggleRightIcon:lv,Toilet:cv,ToiletIcon:cv,ToolCase:dv,ToolCaseIcon:dv,Toolbox:hv,ToolboxIcon:hv,Tornado:uv,TornadoIcon:uv,Torus:pv,TorusIcon:pv,Touchpad:fv,TouchpadIcon:fv,TouchpadOff:yv,TouchpadOffIcon:yv,TowelRack:mv,TowelRackIcon:mv,TowerControl:kv,TowerControlIcon:kv,ToyBrick:gv,ToyBrickIcon:gv,Tractor:bv,TractorIcon:bv,TrafficCone:xv,TrafficConeIcon:xv,Train:Ei,TrainFront:Cv,TrainFrontIcon:Cv,TrainFrontTunnel:Mv,TrainFrontTunnelIcon:Mv,TrainIcon:Ei,TrainTrack:wv,TrainTrackIcon:wv,TramFront:Ei,TramFrontIcon:Ei,Transgender:vv,TransgenderIcon:vv,Trash:Lv,Trash2:Ti,Trash2Icon:Ti,TrashIcon:Lv,TreeDeciduous:Sv,TreeDeciduousIcon:Sv,TreePalm:Hi,TreePalmIcon:Hi,TreePine:Iv,TreePineIcon:Iv,Trees:Av,TreesIcon:Av,Trello:Bv,TrelloIcon:Bv,TrendingDown:Vv,TrendingDownIcon:Vv,TrendingUp:zv,TrendingUpDown:_v,TrendingUpDownIcon:_v,TrendingUpIcon:zv,Triangle:Ev,TriangleAlert:Oi,TriangleAlertIcon:Oi,TriangleDashed:Pv,TriangleDashedIcon:Pv,TriangleIcon:Ev,TriangleRight:Dv,TriangleRightIcon:Dv,Trophy:qv,TrophyIcon:qv,Truck:Hv,TruckElectric:Tv,TruckElectricIcon:Tv,TruckIcon:Hv,TurkishLira:Ov,TurkishLiraIcon:Ov,Turntable:jv,TurntableIcon:jv,Turtle:Fv,TurtleIcon:Fv,Tv:Nv,Tv2:ji,Tv2Icon:ji,TvIcon:Nv,TvMinimal:ji,TvMinimalIcon:ji,TvMinimalPlay:Rv,TvMinimalPlayIcon:Rv,Twitch:Uv,TwitchIcon:Uv,Twitter:Wv,TwitterIcon:Wv,Type:Gv,TypeIcon:Gv,TypeOutline:$v,TypeOutlineIcon:$v,Umbrella:Kv,UmbrellaIcon:Kv,UmbrellaOff:Xv,UmbrellaOffIcon:Xv,Underline:Zv,UnderlineIcon:Zv,Undo:Jv,Undo2:Yv,Undo2Icon:Yv,UndoDot:Qv,UndoDotIcon:Qv,UndoIcon:Jv,UnfoldHorizontal:eC,UnfoldHorizontalIcon:eC,UnfoldVertical:tC,UnfoldVerticalIcon:tC,Ungroup:aC,UngroupIcon:aC,University:Fi,UniversityIcon:Fi,Unlink:oC,Unlink2:nC,Unlink2Icon:nC,UnlinkIcon:oC,Unlock:Zo,UnlockIcon:Zo,UnlockKeyhole:Ko,UnlockKeyholeIcon:Ko,Unplug:rC,UnplugIcon:rC,Upload:iC,UploadCloud:xa,UploadCloudIcon:xa,UploadIcon:iC,Usb:sC,UsbIcon:sC,User:gl,User2:Gi,User2Icon:Gi,UserCheck:lC,UserCheck2:Ri,UserCheck2Icon:Ri,UserCheckIcon:lC,UserCircle:Xn,UserCircle2:Gn,UserCircle2Icon:Gn,UserCircleIcon:Xn,UserCog:cC,UserCog2:Ni,UserCog2Icon:Ni,UserCogIcon:cC,UserIcon:gl,UserKey:dC,UserKeyIcon:dC,UserLock:hC,UserLockIcon:hC,UserMinus:uC,UserMinus2:Ui,UserMinus2Icon:Ui,UserMinusIcon:uC,UserPen:pC,UserPenIcon:pC,UserPlus:yC,UserPlus2:$i,UserPlus2Icon:$i,UserPlusIcon:yC,UserRound:Gi,UserRoundCheck:Ri,UserRoundCheckIcon:Ri,UserRoundCog:Ni,UserRoundCogIcon:Ni,UserRoundIcon:Gi,UserRoundKey:fC,UserRoundKeyIcon:fC,UserRoundMinus:Ui,UserRoundMinusIcon:Ui,UserRoundPen:mC,UserRoundPenIcon:mC,UserRoundPlus:$i,UserRoundPlusIcon:$i,UserRoundSearch:kC,UserRoundSearchIcon:kC,UserRoundX:Wi,UserRoundXIcon:Wi,UserSearch:bC,UserSearchIcon:bC,UserSquare:Ai,UserSquare2:Si,UserSquare2Icon:Si,UserSquareIcon:Ai,UserStar:gC,UserStarIcon:gC,UserX:xC,UserX2:Wi,UserX2Icon:Wi,UserXIcon:xC,Users:MC,Users2:Xi,Users2Icon:Xi,UsersIcon:MC,UsersRound:Xi,UsersRoundIcon:Xi,Utensils:Zi,UtensilsCrossed:Ki,UtensilsCrossedIcon:Ki,UtensilsIcon:Zi,UtilityPole:wC,UtilityPoleIcon:wC,Van:vC,VanIcon:vC,Variable:LC,VariableIcon:LC,Vault:CC,VaultIcon:CC,VectorSquare:SC,VectorSquareIcon:SC,Vegan:IC,VeganIcon:IC,VenetianMask:AC,VenetianMaskIcon:AC,Venus:BC,VenusAndMars:VC,VenusAndMarsIcon:VC,VenusIcon:BC,Verified:Ja,VerifiedIcon:Ja,Vibrate:zC,VibrateIcon:zC,VibrateOff:_C,VibrateOffIcon:_C,Video:qC,VideoIcon:qC,VideoOff:PC,VideoOffIcon:PC,Videotape:DC,VideotapeIcon:DC,View:EC,ViewIcon:EC,Voicemail:TC,VoicemailIcon:TC,Volleyball:jC,VolleyballIcon:jC,Volume:RC,Volume1:HC,Volume1Icon:HC,Volume2:OC,Volume2Icon:OC,VolumeIcon:RC,VolumeOff:FC,VolumeOffIcon:FC,VolumeX:NC,VolumeXIcon:NC,Vote:UC,VoteIcon:UC,Wallet:WC,Wallet2:Yi,Wallet2Icon:Yi,WalletCards:$C,WalletCardsIcon:$C,WalletIcon:WC,WalletMinimal:Yi,WalletMinimalIcon:Yi,Wallpaper:GC,WallpaperIcon:GC,Wand:XC,Wand2:Ji,Wand2Icon:Ji,WandIcon:XC,WandSparkles:Ji,WandSparklesIcon:Ji,Warehouse:KC,WarehouseIcon:KC,WashingMachine:ZC,WashingMachineIcon:ZC,Watch:YC,WatchIcon:YC,Waves:tL,WavesArrowDown:JC,WavesArrowDownIcon:JC,WavesArrowUp:QC,WavesArrowUpIcon:QC,WavesIcon:tL,WavesLadder:eL,WavesLadderIcon:eL,Waypoints:aL,WaypointsIcon:aL,Webcam:nL,WebcamIcon:nL,Webhook:rL,WebhookIcon:rL,WebhookOff:oL,WebhookOffIcon:oL,Weight:sL,WeightIcon:sL,WeightTilde:iL,WeightTildeIcon:iL,Wheat:cL,WheatIcon:cL,WheatOff:lL,WheatOffIcon:lL,WholeWord:dL,WholeWordIcon:dL,Wifi:gL,WifiCog:hL,WifiCogIcon:hL,WifiHigh:uL,WifiHighIcon:uL,WifiIcon:gL,WifiLow:yL,WifiLowIcon:yL,WifiOff:pL,WifiOffIcon:pL,WifiPen:fL,WifiPenIcon:fL,WifiSync:mL,WifiSyncIcon:mL,WifiZero:kL,WifiZeroIcon:kL,Wind:bL,WindArrowDown:xL,WindArrowDownIcon:xL,WindIcon:bL,Wine:ML,WineIcon:ML,WineOff:wL,WineOffIcon:wL,Workflow:vL,WorkflowIcon:vL,Worm:CL,WormIcon:CL,WrapText:qi,WrapTextIcon:qi,Wrench:LL,WrenchIcon:LL,X:ut,XCircle:Kn,XCircleIcon:Kn,XIcon:ut,XLineTop:SL,XLineTopIcon:SL,XOctagon:or,XOctagonIcon:or,XSquare:Ii,XSquareIcon:Ii,Youtube:IL,YoutubeIcon:IL,Zap:VL,ZapIcon:VL,ZapOff:AL,ZapOffIcon:AL,ZoomIn:BL,ZoomInIcon:BL,ZoomOut:_L,ZoomOutIcon:_L,createLucideIcon:l,icons:xD},Symbol.toStringTag,{value:"Module"})),MD=["aria-busy"],wD={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},vD=["for"],CD={key:0,class:"ml-1 text-destructive"},LD={class:"relative"},SD={key:0,class:"flex items-center text-gray-500 gap-2"},ID=["id","placeholder","disabled","readonly","value"],AD={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},BD=["disabled"],VD={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},_D=["onMouseenter","onClick"],zD={key:0},PD={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},qD={key:0},DD={key:1},ED={key:2},TD={key:1,class:"mt-1 text-xs text-red-600"},cI=a.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.computed(()=>r.label??void 0),s=N=>{const ae=r[N];return ae===""||ae===!0||ae==="true"||ae===1||ae==="1"},c=a.ref(!1),d=a.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=a.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=a.computed(()=>n.disabled),p=a.computed(()=>s("required")),y=a.computed(()=>s("readonly")),f=a.computed(()=>n.returnObject||s("return-object")||s("returnObject")),m=a.computed(()=>p.value||s("aria-required")),k=a.computed(()=>n.error||n.errorMessage||r["error-message"]),g=a.computed(()=>r.placeholder??""),x=a.computed(()=>{const N=r.minChars??r["min-chars"];if(N==null||N==="")return 0;const ae=typeof N=="number"?N:Number.parseInt(String(N),10);return Number.isFinite(ae)&&ae>0?ae:0}),C=a.computed(()=>{const N=r.rules;return Array.isArray(N)?N:[]}),w=a.computed(()=>{const N=r.id||r.label;return N?`app-autocomplete-${N}-${Math.random().toString(36).slice(2,7)}`:void 0}),b=a.ref(n.modelValue),L=a.ref([]),S=a.ref(!1),v=a.ref(!1),M=a.computed(()=>r.items),I=a.computed(()=>{const N=z.value;return N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems?L.value:M.value??[]}),V=a.computed(()=>!!r.loading),_=a.computed(()=>V.value||S.value),B=a.computed(()=>{const{label:N,items:ae,loading:ce,rules:_e,"item-title":Le,"item-value":Z,itemTitle:te,itemValue:ne,minChars:fe,"min-chars":je,clearable:Jt,required:FS,"aria-required":GP,disabled:RS,readonly:XP,visible:Qe,"return-object":KP,returnObject:NS,class:ZP,"fetch-items":US,fetchItems:YP,error:$A,errorMessage:JP,"error-message":QP,...$S}=r||{};return $S}),D=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},z=a.computed(()=>{const N=n.endpoint||{};return{apiModule:n.apiModule||N.apiModule,apiAction:n.apiAction||N.apiAction,apiUrl:N.apiUrl,apiMethod:N.apiMethod||"GET"}}),G=a.ref(null),H=a.ref(null),O=a.ref(null),{floatingStyles:U}=f1(H,O,{placement:"bottom-start",whileElementsMounted:h1,middleware:[u1(4),Ks(),p1(),y1({apply({rects:N,elements:ae,availableHeight:ce}){Object.assign(ae.floating.style,{width:`${N.reference.width}px`,maxHeight:`${ce}px`})}})]}),J=a.ref(!1),T=a.ref(""),R=a.ref(-1),F=a.ref(null),Y=a.computed(()=>!x.value||(T.value||"").trim().length>=x.value?"":`Ketik minimal ${x.value} karakter`),Q=N=>{if(N==null)return"";if(typeof N=="string"||typeof N=="number")return String(N);const ae=d.value;return typeof ae=="function"?ae(N):(N==null?void 0:N[ae])??(N==null?void 0:N.name)??(N==null?void 0:N.nama)??(N==null?void 0:N.label)??(N==null?void 0:N.title)??"-"},re=N=>{if(N==null)return null;if(typeof N=="string"||typeof N=="number")return N;const ae=h.value;return typeof ae=="function"?ae(N):(N==null?void 0:N[ae])??(N==null?void 0:N.id)??(N==null?void 0:N.value)??(N==null?void 0:N.code)??null},he=a.computed(()=>{const N=b.value;if(N==null||N==="")return"";if(Array.isArray(N))return N.length?N.map(_e=>{if(f.value&&typeof _e=="object"||typeof _e=="object")return Q(_e);const Le=I.value.find(Z=>re(Z)==_e);return Le?Q(Le):String(_e)}).join(", "):"";if(typeof N=="object")return Q(N);const ae=I.value.find(ce=>re(ce)==N);return ae?Q(ae):String(N)}),pe=a.computed(()=>{const N=I.value||[],ae=(T.value||"").trim().toLowerCase(),ce=(he.value||"").toLowerCase(),_e=!ae||ae===ce;let Le=N;if(_e||(Le=N.filter(Z=>Q(Z).toLowerCase().includes(ae))),Le.length>0){const Z=te=>{const ne=re(te);return Array.isArray(b.value)?b.value.some(fe=>fe==ne):b.value==ne};Le=[...Le].sort((te,ne)=>{const fe=Z(te),je=Z(ne);return fe&&!je?-1:!fe&&je?1:0})}return Le}),Ve=N=>Array.isArray(N)?N.length===0:N==null||N==="",ue=N=>{if(F.value=null,p.value&&Ve(N)&&!C.value.length)return F.value="This field is required",!1;for(const ae of C.value){const ce=ae(N);if(ce===!1)return F.value="Invalid value",!1;if(typeof ce=="string")return F.value=ce,!1}return!0},W=async()=>{if(u.value||y.value)return;J.value=!0,R.value=pe.value.length?0:-1,T.value=he.value||"";const N=z.value,ae=N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems;n.autoFetchOnOpen&&ae&&!v.value&&(await Mt(),R.value=pe.value.length?0:-1)},q=()=>{J.value=!1,R.value=-1,T.value=he.value||""},$=N=>{const ae=f.value?N:re(N);let ce=ae;Array.isArray(b.value)&&(ce=[ae]),b.value=ce,o("update:modelValue",ce),F.value=null,ue(ce),T.value=Q(N),q()},ee=()=>{L.value=[],v.value=!1,b.value=Array.isArray(b.value)?[]:null,o("update:modelValue",b.value),T.value="",F.value=null},ye=()=>{c.value=!0,ee(),q(),setTimeout(()=>{c.value=!1},0)},Oe=N=>{if(u.value||y.value)return;const ae=N.target.value;T.value=ae,F.value&&(F.value=null),J.value||(J.value=!0),R.value=pe.value.length?0:-1;const ce=z.value.apiModule&&z.value.apiAction||z.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&ce&&!_.value&&!v.value&&Mt()},xt=N=>{var ce;if(u.value||y.value)return;const ae={ArrowDown:()=>{if(N.preventDefault(),!J.value){W();return}pe.value.length&&(R.value=Math.min(R.value+1,pe.value.length-1))},ArrowUp:()=>{!J.value||!pe.value.length||(N.preventDefault(),R.value=Math.max(R.value-1,0))},Enter:()=>{if(!J.value)return;N.preventDefault();const _e=pe.value[R.value];_e&&$(_e)},Escape:()=>{N.preventDefault(),q()},Tab:()=>{q()}};(ce=ae[N.key])==null||ce.call(ae)},Mt=async()=>{const N=z.value;if(N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems){S.value=!0;try{let ce;if(n.fetchItems){const _e=D()||{},Le={page:1,perPage:100,search:(T.value||"").trim(),..._e,...n.apiParams},Z=await n.fetchItems(Le),te=(Z==null?void 0:Z.data)??Z;ce=(te==null?void 0:te.data)??te}else{const Le=et().DCodeApi;if(typeof Le!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const te={page:1,perPage:100,...D()||{},...n.apiParams};let ne;N.apiUrl?ne=await Le("","",te,{_url:N.apiUrl,_method:N.apiMethod||"POST"}):ne=await Le(N.apiModule,N.apiAction,te);const fe=(ne==null?void 0:ne.data)??ne;ce=(fe==null?void 0:fe.data)??fe}L.value=Array.isArray(ce)?ce:[],v.value=!0}catch(ce){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",ce),F.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(ce==null?void 0:ce.message)||(ce==null?void 0:ce.toString())||"Failed to load options"}`,L.value=[],v.value=!0}finally{S.value=!1}}},pa=N=>{const ae=re(N);return f.value?b.value?Array.isArray(b.value)?b.value.some(ce=>re(ce)==ae):re(b.value)==ae:!1:Array.isArray(b.value)?b.value.some(ce=>ce==ae):b.value==ae};a.watch(()=>[D(),z.value,n.apiParams],([N,ae,ce],[_e,Le,Z])=>{const te=z.value;if(!(te.apiModule&&te.apiAction||te.apiUrl||n.fetchItems)){ee();return}const fe=JSON.stringify(N??null)===JSON.stringify(_e??null),je=JSON.stringify(ce??null)===JSON.stringify(Z??null);fe&&je||(ee(),je||Mt())},{deep:!0}),a.watch(()=>n.modelValue,(N,ae)=>{b.value=N,!c.value&&(N==null||N==="")&&ae!=null&&n.apiModule&&n.apiAction&&(L.value=[],v.value=!1),T.value=he.value||""},{immediate:!0});const ya=z.value;(ya.apiModule&&ya.apiAction||ya.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!Ve(n.modelValue))&&Mt();const Ws=N=>{const ae=G.value,ce=O.value,_e=N.target;ae&&ae.contains(_e)||ce&&ce.contains(_e)||J.value&&q()},Ql=a.computed(()=>{const N=n.modelValue;return N==null?!1:typeof N=="string"?N.trim().length>0:Array.isArray(N)?N.length>0:typeof N=="object"?Object.keys(N).length>0:!0}),e1=a.computed(()=>!!n.clearable&&Ql.value&&!n.disabled);return a.onMounted(()=>{document.addEventListener("mousedown",Ws)}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",Ws)}),(N,ae)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:G,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",wD)):a.createCommentVNode("",!0),ae[6]||(ae[6]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createElementBlock("label",{key:0,for:w.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(i.value)+" ",1),m.value?(a.openBlock(),a.createElementBlock("span",CD,"*")):a.createCommentVNode("",!0)],8,vD)):a.createCommentVNode("",!0),a.createElementVNode("div",LD,[a.createElementVNode("div",{ref_key:"reference",ref:H,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",F.value||k.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||N.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",SD,[a.renderSlot(N.$slots,"prepend-inner",{},()=>[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps(B.value,{id:w.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:J.value?T.value:he.value||T.value,onFocus:ae[0]||(ae[0]=()=>{J.value||W()}),onClick:ae[1]||(ae[1]=()=>{J.value||W()}),onInput:Oe,onKeydown:xt,onBlur:ae[2]||(ae[2]=()=>ue(b.value))}),null,16,ID),_.value?(a.openBlock(),a.createElementBlock("svg",AD,[...ae[7]||(ae[7]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):e1.value?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:ae[3]||(ae[3]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(ye,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:ae[4]||(ae[4]=ce=>J.value?q():W()),"aria-label":"Toggle"},[a.createVNode(a.unref(Pt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":J.value}])},null,8,["class"])],8,BD))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[J.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:O,style:a.normalizeStyle(a.unref(U)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",VD,[pe.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(pe.value,(ce,_e)=>(a.openBlock(),a.createElementBlock("button",{key:re(ce)??_e,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",_e===R.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:Le=>R.value=_e,onMousedown:ae[5]||(ae[5]=a.withModifiers(()=>{},["prevent"])),onClick:Le=>$(ce)},[a.createTextVNode(a.toDisplayString(Q(ce))+" ",1),pa(ce)?(a.openBlock(),a.createElementBlock("span",zD," ✓ ")):a.createCommentVNode("",!0)],42,_D))),128)):a.renderSlot(N.$slots,"no-data",{key:1},()=>[a.createElementVNode("div",PD,[_.value?(a.openBlock(),a.createElementBlock("span",qD,"Loading data…")):Y.value?(a.openBlock(),a.createElementBlock("span",DD,a.toDisplayString(Y.value),1)):(a.openBlock(),a.createElementBlock("span",ED,"No data available"))])])])],4)):a.createCommentVNode("",!0)]))]),F.value||k.value?(a.openBlock(),a.createElementBlock("p",TD,a.toDisplayString(F.value||k.value),1)):a.createCommentVNode("",!0)],64))],10,MD)),[[a.vShow,e.visible]])}}),HD=["aria-busy"],OD={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},jD=["for"],FD={key:0,class:"ml-1 text-destructive"},RD={class:"relative"},ND={key:0,class:"flex items-center text-gray-500 gap-2"},UD=["id","placeholder","disabled","value"],$D={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},WD=["disabled"],GD={key:0,class:"p-3 space-y-2"},XD=["onMouseenter","onClick"],KD={class:"flex items-center space-x-3"},ZD={class:"flex-1"},YD={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},JD={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},QD={key:0},eE={key:2,class:"p-3 text-center"},tE={class:"inline-flex items-center space-x-2"},aE={class:"text-sm text-gray-500"},nE={key:3,class:"p-3 text-center"},oE={class:"text-xs text-gray-400"},rE={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},iE={key:1,class:"mt-1 text-xs text-red-600"},sE={key:2,class:"mt-1 text-xs text-gray-500"},bB=a.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.ref(),s=a.ref(),c=a.ref(),d=a.ref(),h=a.ref(),u=a.computed(()=>{const R=n.label||n.placeholder;return R?`app-infinite-autocomplete-${R}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=a.ref(""),y=a.ref([]),f=a.ref(!1),m=a.ref(!1),k=a.ref(-1),g=a.ref(1),x=a.ref(!0),C=a.ref(0),w=a.ref(),{floatingStyles:b}=f1(d,h,{placement:"bottom-start",whileElementsMounted:h1,middleware:[u1(4),Ks(),p1(),y1({apply({rects:R,elements:F}){Object.assign(F.floating.style,{width:`${R.reference.width}px`})}})]});a.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const L=a.computed(()=>p.value?y.value.filter(R=>I(R).toLowerCase().includes(p.value.toLowerCase())):y.value),S=a.computed(()=>{if(m.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const R=y.value.find(F=>V(F)===n.modelValue);return R?I(R):String(n.modelValue)}}return""}),v=()=>{m.value=!0},M=()=>{m.value=!1},I=R=>typeof n.itemTitle=="function"?n.itemTitle(R):R[n.itemTitle]||"",V=R=>typeof n.itemValue=="function"?n.itemValue(R):R[n.itemValue]||R,_=R=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(R):R[n.itemSubtitle]||"":"",B=R=>n.modelValue?n.returnObject?V(R)===V(n.modelValue):V(R)===n.modelValue:!1,D=R=>{var Y;const F=n.returnObject?R:V(R);o("update:modelValue",F),o("select",R),m.value=!1,p.value="",(Y=i.value)==null||Y.blur()},z=()=>{var R;o("update:modelValue",null),p.value="",(R=i.value)==null||R.focus()},G=R=>{m.value=!0,o("focus",R),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&T(!0)},H=R=>{setTimeout(()=>{m.value=!1,o("blur",R)},200)},O=R=>{const F=R.target;p.value=F.value,w.value&&clearTimeout(w.value),w.value=setTimeout(()=>{o("search",p.value),g.value=1,x.value=!0,T(!0)},n.debounceMs)},U=R=>{if(m.value)switch(R.key){case"ArrowDown":R.preventDefault(),k.value=Math.min(k.value+1,L.value.length-1);break;case"ArrowUp":R.preventDefault(),k.value=Math.max(k.value-1,0);break;case"Enter":R.preventDefault(),k.value>=0&&L.value[k.value]&&D(L.value[k.value]);break;case"Escape":m.value=!1;break}},J=R=>{if(!x.value||f.value)return;const F=R.target,{scrollTop:Y,scrollHeight:Q,clientHeight:re}=F;Y+re>=Q-n.threshold&&T()},T=async(R=!1)=>{var F,Y;if(!f.value){f.value=!0;try{let Q=[];if(n.fetchItems)Q=await n.fetchItems();else{const re=et(),he=((F=n.endpoint)==null?void 0:F.apiModule)||n.apiModule,pe=((Y=n.endpoint)==null?void 0:Y.apiAction)||n.apiAction;if(!he||!pe)throw new Error("API module and action are required");const Ve={page:R?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},ue=await re.apiUrl(`/${he}/${pe}`,"GET",Ve);Q=ue.data||ue.items||ue||[],C.value=ue.total||ue.totalItems||Q.length}R?(y.value=Q,g.value=1):(y.value.push(...Q),g.value++),x.value=Q.length>=n.pageSize,x.value||o("end-of-results"),o("load-more",{items:Q,page:g.value,hasMore:x.value,total:C.value})}catch(Q){console.error("Error fetching items:",Q),o("error",Q)}finally{f.value=!1}}};return a.onMounted(()=>{n.autoFetchOnMount&&T()}),a.onUnmounted(()=>{w.value&&clearTimeout(w.value)}),a.watch(()=>n.modelValue,R=>{R||(p.value="")}),(R,F)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:c,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",OD)):a.createCommentVNode("",!0),F[3]||(F[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",FD,"*")):a.createCommentVNode("",!0)],8,jD)):a.createCommentVNode("",!0),a.createElementVNode("div",RD,[a.createElementVNode("div",{ref_key:"reference",ref:d,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[e.disabled?"opacity-60 cursor-not-allowed":"",e.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(a.openBlock(),a.createElementBlock("div",ND,[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({ref_key:"inputRef",ref:i},R.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",e.disabled?"cursor-not-allowed":"cursor-text"],placeholder:e.placeholder,disabled:e.disabled,value:S.value,onFocus:G,onBlur:H,onInput:O,onKeydown:U}),null,16,UD),f.value?(a.openBlock(),a.createElementBlock("svg",$D,[...F[4]||(F[4]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):e.clearable&&e.modelValue?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:F[0]||(F[0]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(z,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:e.disabled,onClick:F[1]||(F[1]=Y=>m.value?M():v()),"aria-label":"Toggle"},[a.createVNode(a.unref(Pt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":m.value}])},null,8,["class"])],8,WD))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[m.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:a.normalizeStyle(a.unref(b)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:J},[f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",GD,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(5,Y=>a.createElementVNode("div",{key:Y,class:"flex items-center space-x-3"},[...F[5]||(F[5]=[a.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),a.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):L.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(L.value,(Y,Q)=>(a.openBlock(),a.createElementBlock("button",{key:V(Y)??Q,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",Q===k.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:re=>k.value=Q,onMousedown:F[2]||(F[2]=a.withModifiers(()=>{},["prevent"])),onClick:re=>D(Y)},[a.renderSlot(R.$slots,"item",{item:Y,index:Q},()=>[a.createElementVNode("div",KD,[a.createElementVNode("div",ZD,[a.createElementVNode("div",YD,a.toDisplayString(I(Y)),1),e.itemSubtitle?(a.openBlock(),a.createElementBlock("div",JD,a.toDisplayString(_(Y)),1)):a.createCommentVNode("",!0)])])]),B(Y)?(a.openBlock(),a.createElementBlock("span",QD," ✓ ")):a.createCommentVNode("",!0)],42,XD))),128)):a.createCommentVNode("",!0),f.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",eE,[a.createElementVNode("div",tE,[F[6]||(F[6]=a.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),a.createElementVNode("span",aE,a.toDisplayString(e.loadingText),1)])])):a.createCommentVNode("",!0),!x.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",nE,[a.createElementVNode("div",oE,a.toDisplayString(e.endOfResultsText),1)])):!f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",rE,a.toDisplayString(e.noResultsText),1)):a.createCommentVNode("",!0)],544)],4)):a.createCommentVNode("",!0)]))]),e.error?(a.openBlock(),a.createElementBlock("p",iE,a.toDisplayString(e.errorMessage||e.error),1)):e.helperText?(a.openBlock(),a.createElementBlock("p",sE,a.toDisplayString(e.helperText),1)):a.createCommentVNode("",!0)],64))],10,HD)),[[a.vShow,e.visible]])}});function xB(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=xB(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function MB(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=xB(e))&&(o&&(o+=" "),o+=t);return o}const lE=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},cE=(e,t)=>({classGroupId:e,validator:t}),wB=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),zL="-",vB=[],dE="arbitrary..",hE=e=>{const t=pE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return uE(s);const c=s.split(zL),d=c[0]===""&&c.length>1?1:0;return CB(c,d,t)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?lE(h,d):d:h||vB}return n[s]||vB}}},CB=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const h=CB(e,t+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=t===0?e.join(zL):e.slice(t).join(zL),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},uE=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?dE+o:void 0})(),pE=e=>{const{theme:t,classGroups:n}=e;return yE(n,t)},yE=(e,t)=>{const n=wB();for(const o in e){const r=e[o];dI(r,n,o,t)}return n},dI=(e,t,n,o)=>{const r=e.length;for(let i=0;i<r;i++){const s=e[i];fE(s,t,n,o)}},fE=(e,t,n,o)=>{if(typeof e=="string"){mE(e,t,n);return}if(typeof e=="function"){kE(e,t,n,o);return}gE(e,t,n,o)},mE=(e,t,n)=>{const o=e===""?t:LB(t,e);o.classGroupId=n},kE=(e,t,n,o)=>{if(bE(e)){dI(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(cE(n,e))},gE=(e,t,n,o)=>{const r=Object.entries(e),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];dI(d,LB(t,c),n,o)}},LB=(e,t)=>{let n=e;const o=t.split(zL),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=wB(),n.nextPart.set(s,c)),n=c}return n},bE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,xE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},hI="!",SB=":",ME=[],IB=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),wE=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let k=0;k<u;k++){const g=r[k];if(s===0&&c===0){if(g===SB){i.push(r.slice(d,k)),d=k+1;continue}if(g==="/"){h=k;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(hI)?(y=p.slice(0,-1),f=!0):p.startsWith(hI)&&(y=p.slice(1),f=!0);const m=h&&h>d?h-d:void 0;return IB(i,f,y,m)};if(t){const r=t+SB,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):IB(ME,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},vE=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=t.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},CE=e=>({cache:xE(e.cacheSize),parseClassName:wE(e),sortModifiers:vE(e),...hE(e)}),LE=/\s+/,SE=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],c=e.trim().split(LE);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!k,x=o(g?m.substring(0,k):m);if(!x){if(!g){d=u+(d.length>0?" "+d:d);continue}if(x=o(m),!x){d=u+(d.length>0?" "+d:d);continue}g=!1}const C=y.length===0?"":y.length===1?y[0]:i(y).join(":"),w=f?C+hI:C,b=w+x;if(s.indexOf(b)>-1)continue;s.push(b);const L=r(x,g);for(let S=0;S<L.length;++S){const v=L[S];s.push(w+v)}d=u+(d.length>0?" "+d:d)}return d},IE=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=AB(n))&&(r&&(r+=" "),r+=o);return r},AB=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=AB(e[o]))&&(n&&(n+=" "),n+=t);return n},AE=(e,...t)=>{let n,o,r,i;const s=d=>{const h=t.reduce((u,p)=>p(u),e());return n=CE(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=SE(d,n);return r(d,u),u};return i=s,(...d)=>i(IE(...d))},BE=[],$e=e=>{const t=n=>n[e]||BE;return t.isThemeGetter=!0,t},BB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,VB=/^\((?:(\w[\w-]*):)?(.+)\)$/i,VE=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,_E=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zE=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wa=e=>VE.test(e),be=e=>!!e&&!Number.isNaN(Number(e)),va=e=>!!e&&Number.isInteger(Number(e)),uI=e=>e.endsWith("%")&&be(e.slice(0,-1)),na=e=>_E.test(e),_B=()=>!0,EE=e=>zE.test(e)&&!PE.test(e),pI=()=>!1,TE=e=>qE.test(e),HE=e=>DE.test(e),OE=e=>!ie(e)&&!se(e),jE=e=>Ca(e,TB,pI),ie=e=>BB.test(e),Qi=e=>Ca(e,HB,EE),zB=e=>Ca(e,XE,be),FE=e=>Ca(e,jB,_B),RE=e=>Ca(e,OB,pI),PB=e=>Ca(e,DB,pI),NE=e=>Ca(e,EB,HE),PL=e=>Ca(e,FB,TE),se=e=>VB.test(e),bl=e=>es(e,HB),UE=e=>es(e,OB),qB=e=>es(e,DB),$E=e=>es(e,TB),WE=e=>es(e,EB),qL=e=>es(e,FB,!0),GE=e=>es(e,jB,!0),Ca=(e,t,n)=>{const o=BB.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},es=(e,t,n=!1)=>{const o=VB.exec(e);return o?o[1]?t(o[1]):n:!1},DB=e=>e==="position"||e==="percentage",EB=e=>e==="image"||e==="url",TB=e=>e==="length"||e==="size"||e==="bg-size",HB=e=>e==="length",XE=e=>e==="number",OB=e=>e==="family-name",jB=e=>e==="number"||e==="weight",FB=e=>e==="shadow",KE=AE(()=>{const e=$e("color"),t=$e("font"),n=$e("text"),o=$e("font-weight"),r=$e("tracking"),i=$e("leading"),s=$e("breakpoint"),c=$e("container"),d=$e("spacing"),h=$e("radius"),u=$e("shadow"),p=$e("inset-shadow"),y=$e("text-shadow"),f=$e("drop-shadow"),m=$e("blur"),k=$e("perspective"),g=$e("aspect"),x=$e("ease"),C=$e("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...b(),se,ie],S=()=>["auto","hidden","clip","visible","scroll"],v=()=>["auto","contain","none"],M=()=>[se,ie,d],I=()=>[wa,"full","auto",...M()],V=()=>[va,"none","subgrid",se,ie],_=()=>["auto",{span:["full",va,se,ie]},va,se,ie],B=()=>[va,"auto",se,ie],D=()=>["auto","min","max","fr",se,ie],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...M()],O=()=>[wa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],U=()=>[wa,"screen","full","dvw","lvw","svw","min","max","fit",...M()],J=()=>[wa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],T=()=>[e,se,ie],R=()=>[...b(),qB,PB,{position:[se,ie]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",$E,jE,{size:[se,ie]}],Q=()=>[uI,bl,Qi],re=()=>["","none","full",h,se,ie],he=()=>["",be,bl,Qi],pe=()=>["solid","dashed","dotted","double"],Ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[be,uI,qB,PB],W=()=>["","none",m,se,ie],q=()=>["none",be,se,ie],$=()=>["none",be,se,ie],ee=()=>[be,se,ie],ye=()=>[wa,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[na],breakpoint:[na],color:[_B],container:[na],"drop-shadow":[na],ease:["in","out","in-out"],font:[OE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[na],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[na],shadow:[na],spacing:["px",be],text:[na],"text-shadow":[na],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",wa,ie,se,g]}],container:["container"],columns:[{columns:[be,ie,se,c]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:v()}],"overscroll-x":[{"overscroll-x":v()}],"overscroll-y":[{"overscroll-y":v()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[va,"auto",se,ie]}],basis:[{basis:[wa,"full","auto",c,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,wa,"auto","initial","none",ie]}],grow:[{grow:["",be,se,ie]}],shrink:[{shrink:["",be,se,ie]}],order:[{order:[va,"first","last","none",se,ie]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...U()]}],"min-inline-size":[{"min-inline":["auto",...U()]}],"max-inline-size":[{"max-inline":["none",...U()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[c,"screen",...O()]}],"min-w":[{"min-w":[c,"screen","none",...O()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,bl,Qi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,GE,FE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",uI,ie]}],"font-family":[{font:[UE,RE,t]}],"font-features":[{"font-features":[ie]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,se,ie]}],"line-clamp":[{"line-clamp":[be,"none",se,zB]}],leading:[{leading:[i,...M()]}],"list-image":[{"list-image":["none",se,ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",se,Qi]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[be,"auto",se,ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",se,ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},va,se,ie],radial:["",se,ie],conic:[va,se,ie]},WE,NE]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:Q()}],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,se,ie]}],"outline-w":[{outline:["",be,bl,Qi]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,qL,PL]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",p,qL,PL]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[be,Qi]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",y,qL,PL]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[be,se,ie]}],"mix-blend":[{"mix-blend":[...Ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[se,ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,ie]}],filter:[{filter:["","none",se,ie]}],blur:[{blur:W()}],brightness:[{brightness:[be,se,ie]}],contrast:[{contrast:[be,se,ie]}],"drop-shadow":[{"drop-shadow":["","none",f,qL,PL]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",be,se,ie]}],"hue-rotate":[{"hue-rotate":[be,se,ie]}],invert:[{invert:["",be,se,ie]}],saturate:[{saturate:[be,se,ie]}],sepia:[{sepia:["",be,se,ie]}],"backdrop-filter":[{"backdrop-filter":["","none",se,ie]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[be,se,ie]}],"backdrop-contrast":[{"backdrop-contrast":[be,se,ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,se,ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,se,ie]}],"backdrop-invert":[{"backdrop-invert":["",be,se,ie]}],"backdrop-opacity":[{"backdrop-opacity":[be,se,ie]}],"backdrop-saturate":[{"backdrop-saturate":[be,se,ie]}],"backdrop-sepia":[{"backdrop-sepia":["",be,se,ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",se,ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",se,ie]}],ease:[{ease:["linear","initial",x,se,ie]}],delay:[{delay:[be,se,ie]}],animate:[{animate:["none",C,se,ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,se,ie]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[se,ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ye()}],"translate-x":[{"translate-x":ye()}],"translate-y":[{"translate-y":ye()}],"translate-z":[{"translate-z":ye()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",se,ie]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",se,ie]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[be,bl,Qi,zB]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function xe(...e){return KE(MB(e))}function ZE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yI={},fI={},DL={exports:{}},RB;function YE(){if(RB)return DL.exports;RB=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return DL.exports=t(),DL.exports.createColors=t,DL.exports}var NB;function JE(){return NB||(NB=1,(function(e){var t={};Object.defineProperty(e,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(e,{dim:function(){return c},default:function(){return d}});const o=r(YE());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&t.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(fI)),fI}var UB;function QE(){return UB||(UB=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const t=n(JE());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(yI)),yI}var mI,$B;function eT(){if($B)return mI;$B=1;let e=QE();return mI=(e.__esModule?e:{default:e}).default,mI}var tT=eT();const aT=ZE(tT),WB=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,GB=MB,xl=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return GB(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=WB(u)||WB(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(m=>{let[k,g]=m;return Array.isArray(g)?g.includes({...i,...c}[k]):{...i,...c}[k]===g})?[...h,p,y]:h},[]);return GB(e,s,d,n==null?void 0:n.class,n==null?void 0:n.className)};function XB(e){return typeof e=="string"?`'${e}'`:new nT().serialize(e)}const nT=(function(){var t;class e{constructor(){cq(this,t,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=t1(this,t).get(o);return r===void 0&&(t1(this,t).set(o,`#${t1(this,t).size}`),r=this.serializeObject(o),t1(this,t).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return e})();function oT(e,t){return e===t||XB(e)===XB(t)}function KB(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function pt(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[s=>{const c=a.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(a.provide(o,s),s)]}function ct(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function kI(e,t,n){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(r)}function gI(e){return e==null}function bI(e){return e?e.flatMap(t=>t.type===a.Fragment?bI(t.children):[t]):[]}const[EL]=pt("ConfigProvider");function rT(e,t){var n;const o=a.shallowRef();return a.watchEffect(()=>{o.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),a.readonly(o)}function Ls(e,t){return a.getCurrentScope()?(a.onScopeDispose(e,t),!0):!1}function iT(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return Ls(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function sT(e){let t=!1,n;const o=a.effectScope(!0);return((...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n))}const xI=new WeakMap,lT=(...e)=>{var t;const n=e[0],o=(t=a.getCurrentInstance())===null||t===void 0?void 0:t.proxy,r=o??a.getCurrentScope();if(r==null&&!a.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&xI.has(r)&&n in xI.get(r)?xI.get(r)[n]:a.inject(...e)},yt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const cT=e=>typeof e<"u",dT=Object.prototype.toString,hT=e=>dT.call(e)==="[object Object]",ZB=uT();function uT(){var e,t,n;return yt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function pT(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=e.slice(o.length),i=Number.parseFloat(o)+t;return Number.isNaN(i)?e:i+r}function Ml(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function MI(e){return Array.isArray(e)?e:[e]}function YB(e){return a.getCurrentInstance()}function yT(e){if(!yt)return e;let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(t+=1,o||(o=a.effectScope(!0),n=o.run(()=>e(...i))),Ls(r),n))}function fT(e){return a.isRef(e)?a.reactive(new Proxy({},{get(t,n,o){return a.unref(Reflect.get(e.value,n,o))},set(t,n,o){return a.isRef(e.value[n])&&!a.isRef(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):a.reactive(e)}function mT(e){return fT(a.computed(e))}function He(e,...t){const n=t.flat(),o=n[0];return mT(()=>Object.fromEntries(typeof o=="function"?Object.entries(a.toRefs(e)).filter(([r,i])=>!o(a.toValue(i),r)):Object.entries(a.toRefs(e)).filter(r=>!n.includes(r[0]))))}function JB(e,t=1e4){return a.customRef((n,o)=>{let r=a.toValue(e),i;const s=()=>setTimeout(()=>{r=a.toValue(e),o()},a.toValue(t));return Ls(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function kT(e,t){YB()&&a.onBeforeUnmount(e,t)}function gT(e,t=!0,n){YB()?a.onMounted(e,n):t?e():a.nextTick(e)}function QB(e,t,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=a.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&e(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...u)},a.toValue(t))}return o&&(i.value=!0,yt&&h()),Ls(d),{isPending:a.shallowReadonly(i),start:h,stop:d}}function bT(e,t,n){return a.watch(e,t,{...n,immediate:!0})}const Ss=yt?window:void 0;function Nt(e){var t;const n=a.toValue(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function wl(...e){const t=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=a.computed(()=>{const o=MI(a.toValue(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return bT(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Nt(i)))!==null&&o!==void 0?o:[Ss].filter(i=>i!=null),MI(a.toValue(n.value?e[1]:e[0])),MI(a.unref(n.value?e[2]:e[1])),a.toValue(n.value?e[3]:e[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=hT(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>t(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function eV(){const e=a.shallowRef(!1),t=a.getCurrentInstance();return t&&a.onMounted(()=>{e.value=!0},t),e}function tV(e){const t=eV();return a.computed(()=>(t.value,!!e()))}function xT(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function MT(...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=Ss,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=xT(t);return wl(r,i,u=>{u.repeat&&a.toValue(c)||d(u)&&n(u)},s)}const wT=Symbol("vueuse-ssr-width");function aV(){const e=a.hasInjectionContext()?lT(wT,null):null;return typeof e=="number"?e:void 0}function vl(e,t={}){const{window:n=Ss,ssrWidth:o=aV()}=t,r=tV(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=a.shallowRef(typeof o=="number"),s=a.shallowRef(),c=a.shallowRef(!1),d=h=>{c.value=h.matches};return a.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=a.toValue(e).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=Ml(p[1])),y&&f&&(f=o<=Ml(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(a.toValue(e)),c.value=s.value.matches)}),wl(s,"change",d,{passive:!0}),a.computed(()=>c.value)}const vT={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function CT(e,t={}){function n(f,m){let k=a.toValue(e[a.toValue(f)]);return m!=null&&(k=pT(k,m)),typeof k=="number"&&(k=`${k}px`),k}const{window:o=Ss,strategy:r="min-width",ssrWidth:i=aV()}=t,s=typeof i=="number",c=s?a.shallowRef(!1):{value:!0};s&&gT(()=>c.value=!!o);function d(f,m){return!c.value&&s?f==="min"?i>=Ml(m):i<=Ml(m):o?o.matchMedia(`(${f}-width: ${m})`).matches:!1}const h=f=>vl(()=>`(min-width: ${n(f)})`,t),u=f=>vl(()=>`(max-width: ${n(f)})`,t),p=Object.keys(e).reduce((f,m)=>(Object.defineProperty(f,m,{get:()=>r==="min-width"?h(m):u(m),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(e).map(m=>[m,p[m],Ml(n(m))]).sort((m,k)=>m[2]-k[2]);return a.computed(()=>f.filter(([,m])=>m.value).map(([m])=>m))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return vl(()=>`(min-width: ${n(f,.1)})`,t)},smaller(f){return vl(()=>`(max-width: ${n(f,-.1)})`,t)},between(f,m){return vl(()=>`(min-width: ${n(f)}) and (max-width: ${n(m,-.1)})`,t)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,m){return d("min",n(f))&&d("max",n(m,-.1))},current:y,active(){const f=y();return a.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function LT(e){return JSON.parse(JSON.stringify(e))}function ST(e,t,n={}){const{window:o=Ss,...r}=n;let i;const s=tV(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=a.watch(a.computed(()=>{const u=a.toValue(e);return Array.isArray(u)?u.map(p=>Nt(p)):[Nt(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(t);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return Ls(h),{isSupported:s,stop:h}}function Is(e,t,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=a.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let m=d;t||(t="modelValue"),m=m||`update:${t.toString()}`;const k=C=>s?typeof s=="function"?s(C):LT(C):C,g=()=>cT(e[t])?k(e[t]):u,x=C=>{p?p(C)&&f(m,C):f(m,C)};if(c){const C=a.ref(g());let w=!1;return a.watch(()=>e[t],b=>{w||(w=!0,C.value=k(b),a.nextTick(()=>w=!1))}),a.watch(C,b=>{!w&&(b!==e[t]||h)&&x(b)},{deep:h}),C}else return a.computed({get(){return g()},set(C){x(C)}})}function wI(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function vI(e,t,n=".",o){if(!wI(t))return vI(e,{},n,o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:wI(s)&&wI(r[i])?r[i]=vI(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function IT(e){return(...t)=>t.reduce((n,o)=>vI(n,o,"",e),{})}const AT=IT(),BT=yT(()=>{const e=a.ref(new Map),t=a.ref(),n=a.computed(()=>{for(const s of e.value.values())if(s)return!0;return!1}),o=EL({scrollBody:a.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",ZB&&(r==null||r()),t.value=void 0};return a.watch(n,(s,c)=>{var p;if(!yt)return;if(!s){c&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?AT({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),ZB&&(r=wl(document,"touchmove",y=>VT(y),{passive:!1})),a.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function nV(e){const t=Math.random().toString(36).substring(2,7),n=BT();n.value.set(t,e??!1);const o=a.computed({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return kT(()=>{n.value.delete(t)}),o}function oV(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:oV(n)}}function VT(e){const t=e||window.event,n=t.target;return n instanceof Element&&oV(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function _T(e){const t=EL({dir:a.ref("ltr")});return a.computed(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function TL(e){const t=a.getCurrentInstance(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(r=>{o[a.toHandlerKey(a.camelize(r))]=(...i)=>e(r,...i)}),o}let CI=0;function zT(){a.watchEffect(e=>{if(!yt)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??rV()),document.body.insertAdjacentElement("beforeend",t[1]??rV()),CI++,e(()=>{CI===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),CI--})})}function rV(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function PT(e){return a.computed(()=>{var t;return a.toValue(e)?!!((t=Nt(e))!=null&&t.closest("form")):!0})}function ke(){const e=a.getCurrentInstance(),t=a.ref(),n=a.computed(()=>{var s,c;return["#text","#comment"].includes((s=t.value)==null?void 0:s.$el.nodeName)?(c=t.value)==null?void 0:c.$el.nextElementSibling:Nt(t)}),o=Object.assign({},e.exposed),r={};for(const s in e.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function i(s){if(t.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});e.exposed=d}}return{forwardRef:i,currentRef:t,currentElement:n}}function nt(e){const t=a.getCurrentInstance(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((r,i)=>{const s=(t==null?void 0:t.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=a.toRef(e);return a.computed(()=>{const r={},i=(t==null?void 0:t.vnode.props)??{};return Object.keys(i).forEach(s=>{r[a.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function St(e,t){const n=nt(e),o=t?TL(t):{};return a.computed(()=>({...n.value,...o}))}function qT(e,t){const n=JB(!1,300);Ls(()=>{n.value=!1});const o=a.ref(null),r=iT();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=DT(u,h.getBoundingClientRect()),y=ET(u,p,1),f=TT(d.getBoundingClientRect()),m=OT([...y,...f]);o.value=m,n.value=!0}return a.watchEffect(c=>{if(e.value&&t.value){const d=u=>s(u,t.value),h=u=>s(u,e.value);e.value.addEventListener("pointerleave",d),t.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=e.value)==null||u.removeEventListener("pointerleave",d),(p=t.value)==null||p.removeEventListener("pointerleave",h)})}}),a.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,x;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=e.value)==null?void 0:g.contains(p))||((x=t.value)==null?void 0:x.contains(p)),m=!HT(y,o.value),k=!!p.closest("[data-grace-area-trigger]");f?i():(m||k)&&(i(),r.trigger())};(d=e.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=e.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function DT(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function ET(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function TT(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function HT(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i].x,d=t[i].y,h=t[s].x,u=t[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function OT(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),jT(t)}function jT(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var FT=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},As=new WeakMap,HL=new WeakMap,OL={},LI=0,iV=function(e){return e&&(e.host||iV(e.parentNode))},RT=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=iV(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},NT=function(e,t,n,o){var r=RT(t,Array.isArray(e)?e:[e]);OL[n]||(OL[n]=new WeakMap);var i=OL[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),m=f!==null&&f!=="false",k=(As.get(y)||0)+1,g=(i.get(y)||0)+1;As.set(y,k),i.set(y,g),s.push(y),k===1&&m&&HL.set(y,!0),g===1&&y.setAttribute(n,"true"),m||y.setAttribute(o,"true")}catch(x){console.error("aria-hidden: cannot operate on ",y,x)}})};return u(t),c.clear(),LI++,function(){s.forEach(function(p){var y=As.get(p)-1,f=i.get(p)-1;As.set(p,y),i.set(p,f),y||(HL.has(p)||p.removeAttribute(o),HL.delete(p)),f||p.removeAttribute(n)}),LI--,LI||(As=new WeakMap,As=new WeakMap,HL=new WeakMap,OL={})}},UT=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=FT(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),NT(o,r,n,"aria-hidden")):function(){return null}};function sV(e){let t;a.watch(()=>Nt(e),n=>{n?t=UT(n):t&&t()}),a.onUnmounted(()=>{t&&t()})}let $T=0;function Bs(e,t="reka"){var o;if("useId"in a1)return`${t}-${(o=a1.useId)==null?void 0:o.call(a1)}`;const n=EL({useId:void 0});return n.useId?`${t}-${n.useId()}`:`${t}-${++$T}`}function WT(e){const t=a.ref(),n=a.computed(()=>{var r;return((r=t.value)==null?void 0:r.width)??0}),o=a.computed(()=>{var r;return((r=t.value)==null?void 0:r.height)??0});return a.onMounted(()=>{const r=Nt(e);if(r){t.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;t.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else t.value=void 0}),{width:n,height:o}}function GT(e,t){const n=a.ref(e);function o(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function lV(e){const t=JB("",1e3);return{search:t,handleTypeaheadSearch:(r,i)=>{t.value=t.value+r;{const s=ct(),c=i.map(y=>{var f,m;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((m=y.ref.textContent)==null?void 0:m.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=KT(h,t.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{t.value=""}}}function XT(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function KT(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=XT(e,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function ZT(e,t){var g;const n=a.ref({}),o=a.ref("none"),r=a.ref(e),i=e.value?"mounted":"unmounted";let s;const c=((g=t.value)==null?void 0:g.ownerDocument.defaultView)??Ss,{state:d,dispatch:h}=GT(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=x=>{var C;if(yt){const w=new CustomEvent(x,{bubbles:!1,cancelable:!1});(C=t.value)==null||C.dispatchEvent(w)}};a.watch(e,async(x,C)=>{var b;const w=C!==x;if(await a.nextTick(),w){const L=o.value,S=jL(t.value);x?(h("MOUNT"),u("enter"),S==="none"&&u("after-enter")):S==="none"||S==="undefined"||((b=n.value)==null?void 0:b.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):C&&L!==S?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=x=>{const C=jL(t.value),w=C.includes(CSS.escape(x.animationName)),b=d.value==="mounted"?"enter":"leave";if(x.target===t.value&&w&&(u(`after-${b}`),h("ANIMATION_END"),!r.value)){const L=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var S;((S=t.value)==null?void 0:S.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=L)})}x.target===t.value&&C==="none"&&h("ANIMATION_END")},y=x=>{x.target===t.value&&(o.value=jL(t.value))},f=a.watch(t,(x,C)=>{x?(n.value=getComputedStyle(x),x.addEventListener("animationstart",y),x.addEventListener("animationcancel",p),x.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),C==null||C.removeEventListener("animationstart",y),C==null||C.removeEventListener("animationcancel",p),C==null||C.removeEventListener("animationend",p))},{immediate:!0}),m=a.watch(d,()=>{const x=jL(t.value);o.value=d.value==="mounted"?x:"none"});return a.onUnmounted(()=>{f(),m()}),{isPresent:a.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function jL(e){return e&&getComputedStyle(e).animationName||"none"}var FL=a.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var h;const{present:o,forceMount:r}=a.toRefs(e),i=a.ref(),{isPresent:s}=ZT(o,i);n({present:s});let c=t.default({present:s.value});c=bI(c||[]);const d=a.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8496
|
+
*/const na=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:m1,AArrowDownIcon:m1,AArrowUp:k1,AArrowUpIcon:k1,ALargeSmall:g1,ALargeSmallIcon:g1,Accessibility:b1,AccessibilityIcon:b1,Activity:x1,ActivityIcon:x1,ActivitySquare:Br,ActivitySquareIcon:Br,AirVent:M1,AirVentIcon:M1,Airplay:w1,AirplayIcon:w1,AlarmCheck:Ra,AlarmCheckIcon:Ra,AlarmClock:C1,AlarmClockCheck:Ra,AlarmClockCheckIcon:Ra,AlarmClockIcon:C1,AlarmClockMinus:Na,AlarmClockMinusIcon:Na,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:Ua,AlarmClockPlusIcon:Ua,AlarmMinus:Na,AlarmMinusIcon:Na,AlarmPlus:Ua,AlarmPlusIcon:Ua,AlarmSmoke:L1,AlarmSmokeIcon:L1,Album:I1,AlbumIcon:I1,AlertCircle:Dt,AlertCircleIcon:Dt,AlertOctagon:ar,AlertOctagonIcon:ar,AlertTriangle:Oi,AlertTriangleIcon:Oi,AlignCenter:zi,AlignCenterHorizontal:S1,AlignCenterHorizontalIcon:S1,AlignCenterIcon:zi,AlignCenterVertical:A1,AlignCenterVerticalIcon:A1,AlignEndHorizontal:B1,AlignEndHorizontalIcon:B1,AlignEndVertical:V1,AlignEndVerticalIcon:V1,AlignHorizontalDistributeCenter:_1,AlignHorizontalDistributeCenterIcon:_1,AlignHorizontalDistributeEnd:z1,AlignHorizontalDistributeEndIcon:z1,AlignHorizontalDistributeStart:P1,AlignHorizontalDistributeStartIcon:P1,AlignHorizontalJustifyCenter:q1,AlignHorizontalJustifyCenterIcon:q1,AlignHorizontalJustifyEnd:D1,AlignHorizontalJustifyEndIcon:D1,AlignHorizontalJustifyStart:E1,AlignHorizontalJustifyStartIcon:E1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceAroundIcon:T1,AlignHorizontalSpaceBetween:H1,AlignHorizontalSpaceBetweenIcon:H1,AlignJustify:_i,AlignJustifyIcon:_i,AlignLeft:Nt,AlignLeftIcon:Nt,AlignRight:Vi,AlignRightIcon:Vi,AlignStartHorizontal:O1,AlignStartHorizontalIcon:O1,AlignStartVertical:j1,AlignStartVerticalIcon:j1,AlignVerticalDistributeCenter:F1,AlignVerticalDistributeCenterIcon:F1,AlignVerticalDistributeEnd:R1,AlignVerticalDistributeEndIcon:R1,AlignVerticalDistributeStart:N1,AlignVerticalDistributeStartIcon:N1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceAroundIcon:G1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:K1,AmbulanceIcon:K1,Ampersand:Z1,AmpersandIcon:Z1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:Q1,AmphoraIcon:Q1,Anchor:J1,AnchorIcon:J1,Angry:ec,AngryIcon:ec,Annoyed:tc,AnnoyedIcon:tc,Antenna:ac,AntennaIcon:ac,Anvil:nc,AnvilIcon:nc,Aperture:oc,ApertureIcon:oc,AppWindow:ic,AppWindowIcon:ic,AppWindowMac:rc,AppWindowMacIcon:rc,Apple:sc,AppleIcon:sc,Archive:dc,ArchiveIcon:dc,ArchiveRestore:lc,ArchiveRestoreIcon:lc,ArchiveX:cc,ArchiveXIcon:cc,AreaChart:rn,AreaChartIcon:rn,Armchair:hc,ArmchairIcon:hc,ArrowBigDown:pc,ArrowBigDownDash:uc,ArrowBigDownDashIcon:uc,ArrowBigDownIcon:pc,ArrowBigLeft:fc,ArrowBigLeftDash:yc,ArrowBigLeftDashIcon:yc,ArrowBigLeftIcon:fc,ArrowBigRight:kc,ArrowBigRightDash:mc,ArrowBigRightDashIcon:mc,ArrowBigRightIcon:kc,ArrowBigUp:gc,ArrowBigUpDash:bc,ArrowBigUpDashIcon:bc,ArrowBigUpIcon:gc,ArrowDown:Bc,ArrowDown01:Mc,ArrowDown01Icon:Mc,ArrowDown10:xc,ArrowDown10Icon:xc,ArrowDownAZ:$a,ArrowDownAZIcon:$a,ArrowDownAz:$a,ArrowDownAzIcon:$a,ArrowDownCircle:wn,ArrowDownCircleIcon:wn,ArrowDownFromLine:wc,ArrowDownFromLineIcon:wc,ArrowDownIcon:Bc,ArrowDownLeft:vc,ArrowDownLeftFromCircle:Cn,ArrowDownLeftFromCircleIcon:Cn,ArrowDownLeftFromSquare:qr,ArrowDownLeftFromSquareIcon:qr,ArrowDownLeftIcon:vc,ArrowDownLeftSquare:Vr,ArrowDownLeftSquareIcon:Vr,ArrowDownNarrowWide:Lc,ArrowDownNarrowWideIcon:Lc,ArrowDownRight:Cc,ArrowDownRightFromCircle:Ln,ArrowDownRightFromCircleIcon:Ln,ArrowDownRightFromSquare:Dr,ArrowDownRightFromSquareIcon:Dr,ArrowDownRightIcon:Cc,ArrowDownRightSquare:_r,ArrowDownRightSquareIcon:_r,ArrowDownSquare:zr,ArrowDownSquareIcon:zr,ArrowDownToDot:Sc,ArrowDownToDotIcon:Sc,ArrowDownToLine:Ic,ArrowDownToLineIcon:Ic,ArrowDownUp:Ac,ArrowDownUpIcon:Ac,ArrowDownWideNarrow:Wa,ArrowDownWideNarrowIcon:Wa,ArrowDownZA:Ga,ArrowDownZAIcon:Ga,ArrowDownZa:Ga,ArrowDownZaIcon:Ga,ArrowLeft:Pc,ArrowLeftCircle:vn,ArrowLeftCircleIcon:vn,ArrowLeftFromLine:Vc,ArrowLeftFromLineIcon:Vc,ArrowLeftIcon:Pc,ArrowLeftRight:zc,ArrowLeftRightIcon:zc,ArrowLeftSquare:Pr,ArrowLeftSquareIcon:Pr,ArrowLeftToLine:_c,ArrowLeftToLineIcon:_c,ArrowRight:Ys,ArrowRightCircle:An,ArrowRightCircleIcon:An,ArrowRightFromLine:qc,ArrowRightFromLineIcon:qc,ArrowRightIcon:Ys,ArrowRightLeft:Dc,ArrowRightLeftIcon:Dc,ArrowRightSquare:Hr,ArrowRightSquareIcon:Hr,ArrowRightToLine:Ec,ArrowRightToLineIcon:Ec,ArrowUp:Gc,ArrowUp01:Tc,ArrowUp01Icon:Tc,ArrowUp10:Hc,ArrowUp10Icon:Hc,ArrowUpAZ:Xa,ArrowUpAZIcon:Xa,ArrowUpAz:Xa,ArrowUpAzIcon:Xa,ArrowUpCircle:Bn,ArrowUpCircleIcon:Bn,ArrowUpDown:Oc,ArrowUpDownIcon:Oc,ArrowUpFromDot:jc,ArrowUpFromDotIcon:jc,ArrowUpFromLine:Fc,ArrowUpFromLineIcon:Fc,ArrowUpIcon:Gc,ArrowUpLeft:Rc,ArrowUpLeftFromCircle:Sn,ArrowUpLeftFromCircleIcon:Sn,ArrowUpLeftFromSquare:Er,ArrowUpLeftFromSquareIcon:Er,ArrowUpLeftIcon:Rc,ArrowUpLeftSquare:jr,ArrowUpLeftSquareIcon:jr,ArrowUpNarrowWide:Ka,ArrowUpNarrowWideIcon:Ka,ArrowUpRight:Nc,ArrowUpRightFromCircle:In,ArrowUpRightFromCircleIcon:In,ArrowUpRightFromSquare:Tr,ArrowUpRightFromSquareIcon:Tr,ArrowUpRightIcon:Nc,ArrowUpRightSquare:Or,ArrowUpRightSquareIcon:Or,ArrowUpSquare:Fr,ArrowUpSquareIcon:Fr,ArrowUpToLine:Uc,ArrowUpToLineIcon:Uc,ArrowUpWideNarrow:$c,ArrowUpWideNarrowIcon:$c,ArrowUpZA:Za,ArrowUpZAIcon:Za,ArrowUpZa:Za,ArrowUpZaIcon:Za,ArrowsUpFromLine:Wc,ArrowsUpFromLineIcon:Wc,Asterisk:Xc,AsteriskIcon:Xc,AsteriskSquare:Rr,AsteriskSquareIcon:Rr,AtSign:Kc,AtSignIcon:Kc,Atom:Zc,AtomIcon:Zc,AudioLines:Yc,AudioLinesIcon:Yc,AudioWaveform:Jc,AudioWaveformIcon:Jc,Award:Qc,AwardIcon:Qc,Axe:ed,AxeIcon:ed,Axis3D:Ya,Axis3DIcon:Ya,Axis3d:Ya,Axis3dIcon:Ya,Baby:ad,BabyIcon:ad,Backpack:td,BackpackIcon:td,Badge:gd,BadgeAlert:nd,BadgeAlertIcon:nd,BadgeCent:od,BadgeCentIcon:od,BadgeCheck:Ja,BadgeCheckIcon:Ja,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:Qa,BadgeHelpIcon:Qa,BadgeIcon:gd,BadgeIndianRupee:sd,BadgeIndianRupeeIcon:sd,BadgeInfo:ld,BadgeInfoIcon:ld,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeQuestionMark:Qa,BadgeQuestionMarkIcon:Qa,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:fd,BadgeSwissFrancIcon:fd,BadgeTurkishLira:md,BadgeTurkishLiraIcon:md,BadgeX:kd,BadgeXIcon:kd,BaggageClaim:bd,BaggageClaimIcon:bd,Balloon:xd,BalloonIcon:xd,Ban:wd,BanIcon:wd,Banana:Md,BananaIcon:Md,Bandage:vd,BandageIcon:vd,Banknote:Bd,BanknoteArrowDown:Cd,BanknoteArrowDownIcon:Cd,BanknoteArrowUp:Ld,BanknoteArrowUpIcon:Ld,BanknoteIcon:Bd,BanknoteX:Sd,BanknoteXIcon:Sd,BarChart:yn,BarChart2:fn,BarChart2Icon:fn,BarChart3:un,BarChart3Icon:un,BarChart4:hn,BarChart4Icon:hn,BarChartBig:dn,BarChartBigIcon:dn,BarChartHorizontal:cn,BarChartHorizontalBig:sn,BarChartHorizontalBigIcon:sn,BarChartHorizontalIcon:cn,BarChartIcon:yn,Barcode:Id,BarcodeIcon:Id,Barrel:Ad,BarrelIcon:Ad,Baseline:Vd,BaselineIcon:Vd,Bath:_d,BathIcon:_d,Battery:Hd,BatteryCharging:zd,BatteryChargingIcon:zd,BatteryFull:Pd,BatteryFullIcon:Pd,BatteryIcon:Hd,BatteryLow:qd,BatteryLowIcon:qd,BatteryMedium:Ed,BatteryMediumIcon:Ed,BatteryPlus:Dd,BatteryPlusIcon:Dd,BatteryWarning:Td,BatteryWarningIcon:Td,Beaker:Od,BeakerIcon:Od,Bean:Fd,BeanIcon:Fd,BeanOff:jd,BeanOffIcon:jd,Bed:Ud,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:Ud,BedSingle:Nd,BedSingleIcon:Nd,Beef:$d,BeefIcon:$d,Beer:Gd,BeerIcon:Gd,BeerOff:Wd,BeerOffIcon:Wd,Bell:Qd,BellDot:Xd,BellDotIcon:Xd,BellElectric:Kd,BellElectricIcon:Kd,BellIcon:Qd,BellMinus:Zd,BellMinusIcon:Zd,BellOff:Yd,BellOffIcon:Yd,BellPlus:Jd,BellPlusIcon:Jd,BellRing:e0,BellRingIcon:e0,BetweenHorizonalEnd:en,BetweenHorizonalEndIcon:en,BetweenHorizonalStart:tn,BetweenHorizonalStartIcon:tn,BetweenHorizontalEnd:en,BetweenHorizontalEndIcon:en,BetweenHorizontalStart:tn,BetweenHorizontalStartIcon:tn,BetweenVerticalEnd:t0,BetweenVerticalEndIcon:t0,BetweenVerticalStart:a0,BetweenVerticalStartIcon:a0,BicepsFlexed:n0,BicepsFlexedIcon:n0,Bike:o0,BikeIcon:o0,Binary:r0,BinaryIcon:r0,Binoculars:s0,BinocularsIcon:s0,Biohazard:i0,BiohazardIcon:i0,Bird:l0,BirdIcon:l0,Birdhouse:c0,BirdhouseIcon:c0,Bitcoin:d0,BitcoinIcon:d0,Blend:h0,BlendIcon:h0,Blinds:u0,BlindsIcon:u0,Blocks:y0,BlocksIcon:y0,Bluetooth:k0,BluetoothConnected:p0,BluetoothConnectedIcon:p0,BluetoothIcon:k0,BluetoothOff:f0,BluetoothOffIcon:f0,BluetoothSearching:m0,BluetoothSearchingIcon:m0,Bold:g0,BoldIcon:g0,Bolt:b0,BoltIcon:b0,Bomb:x0,BombIcon:x0,Bone:M0,BoneIcon:M0,Book:W0,BookA:w0,BookAIcon:w0,BookAlert:v0,BookAlertIcon:v0,BookAudio:C0,BookAudioIcon:C0,BookCheck:S0,BookCheckIcon:S0,BookCopy:L0,BookCopyIcon:L0,BookDashed:an,BookDashedIcon:an,BookDown:I0,BookDownIcon:I0,BookHeadphones:A0,BookHeadphonesIcon:A0,BookHeart:B0,BookHeartIcon:B0,BookIcon:W0,BookImage:V0,BookImageIcon:V0,BookKey:_0,BookKeyIcon:_0,BookLock:z0,BookLockIcon:z0,BookMarked:P0,BookMarkedIcon:P0,BookMinus:q0,BookMinusIcon:q0,BookOpen:T0,BookOpenCheck:D0,BookOpenCheckIcon:D0,BookOpenIcon:T0,BookOpenText:E0,BookOpenTextIcon:E0,BookPlus:H0,BookPlusIcon:H0,BookSearch:O0,BookSearchIcon:O0,BookTemplate:an,BookTemplateIcon:an,BookText:j0,BookTextIcon:j0,BookType:F0,BookTypeIcon:F0,BookUp:R0,BookUp2:N0,BookUp2Icon:N0,BookUpIcon:R0,BookUser:U0,BookUserIcon:U0,BookX:$0,BookXIcon:$0,Bookmark:Y0,BookmarkCheck:G0,BookmarkCheckIcon:G0,BookmarkIcon:Y0,BookmarkMinus:X0,BookmarkMinusIcon:X0,BookmarkPlus:K0,BookmarkPlusIcon:K0,BookmarkX:Z0,BookmarkXIcon:Z0,BoomBox:Q0,BoomBoxIcon:Q0,Bot:t2,BotIcon:t2,BotMessageSquare:J0,BotMessageSquareIcon:J0,BotOff:e2,BotOffIcon:e2,BottleWine:n2,BottleWineIcon:n2,BowArrow:a2,BowArrowIcon:a2,Box:o2,BoxIcon:o2,BoxSelect:ti,BoxSelectIcon:ti,Boxes:r2,BoxesIcon:r2,Braces:nn,BracesIcon:nn,Brackets:i2,BracketsIcon:i2,Brain:c2,BrainCircuit:l2,BrainCircuitIcon:l2,BrainCog:s2,BrainCogIcon:s2,BrainIcon:c2,BrickWall:h2,BrickWallFire:d2,BrickWallFireIcon:d2,BrickWallIcon:h2,BrickWallShield:u2,BrickWallShieldIcon:u2,Briefcase:f2,BriefcaseBusiness:p2,BriefcaseBusinessIcon:p2,BriefcaseConveyorBelt:y2,BriefcaseConveyorBeltIcon:y2,BriefcaseIcon:f2,BriefcaseMedical:m2,BriefcaseMedicalIcon:m2,BringToFront:k2,BringToFrontIcon:k2,Brush:b2,BrushCleaning:g2,BrushCleaningIcon:g2,BrushIcon:b2,Bubbles:x2,BubblesIcon:x2,Bug:v2,BugIcon:v2,BugOff:M2,BugOffIcon:M2,BugPlay:w2,BugPlayIcon:w2,Building:L2,Building2:C2,Building2Icon:C2,BuildingIcon:L2,Bus:I2,BusFront:S2,BusFrontIcon:S2,BusIcon:I2,Cable:B2,CableCar:A2,CableCarIcon:A2,CableIcon:B2,Cake:_2,CakeIcon:_2,CakeSlice:V2,CakeSliceIcon:V2,Calculator:z2,CalculatorIcon:z2,Calendar:Js,Calendar1:P2,Calendar1Icon:P2,CalendarArrowDown:E2,CalendarArrowDownIcon:E2,CalendarArrowUp:q2,CalendarArrowUpIcon:q2,CalendarCheck:T2,CalendarCheck2:D2,CalendarCheck2Icon:D2,CalendarCheckIcon:T2,CalendarClock:H2,CalendarClockIcon:H2,CalendarCog:j2,CalendarCogIcon:j2,CalendarDays:O2,CalendarDaysIcon:O2,CalendarFold:F2,CalendarFoldIcon:F2,CalendarHeart:R2,CalendarHeartIcon:R2,CalendarIcon:Js,CalendarMinus:U2,CalendarMinus2:N2,CalendarMinus2Icon:N2,CalendarMinusIcon:U2,CalendarOff:$2,CalendarOffIcon:$2,CalendarPlus:G2,CalendarPlus2:W2,CalendarPlus2Icon:W2,CalendarPlusIcon:G2,CalendarRange:X2,CalendarRangeIcon:X2,CalendarSearch:K2,CalendarSearchIcon:K2,CalendarSync:Z2,CalendarSyncIcon:Z2,CalendarX:J2,CalendarX2:Y2,CalendarX2Icon:Y2,CalendarXIcon:J2,Calendars:Q2,CalendarsIcon:Q2,Camera:th,CameraIcon:th,CameraOff:eh,CameraOffIcon:eh,CandlestickChart:ln,CandlestickChartIcon:ln,Candy:oh,CandyCane:ah,CandyCaneIcon:ah,CandyIcon:oh,CandyOff:nh,CandyOffIcon:nh,Cannabis:ih,CannabisIcon:ih,CannabisOff:rh,CannabisOffIcon:rh,Captions:on,CaptionsIcon:on,CaptionsOff:sh,CaptionsOffIcon:sh,Car:dh,CarFront:lh,CarFrontIcon:lh,CarIcon:dh,CarTaxiFront:ch,CarTaxiFrontIcon:ch,Caravan:hh,CaravanIcon:hh,CardSim:uh,CardSimIcon:uh,Carrot:ph,CarrotIcon:ph,CaseLower:yh,CaseLowerIcon:yh,CaseSensitive:fh,CaseSensitiveIcon:fh,CaseUpper:mh,CaseUpperIcon:mh,CassetteTape:kh,CassetteTapeIcon:kh,Cast:gh,CastIcon:gh,Castle:bh,CastleIcon:bh,Cat:xh,CatIcon:xh,Cctv:Mh,CctvIcon:Mh,ChartArea:rn,ChartAreaIcon:rn,ChartBar:cn,ChartBarBig:sn,ChartBarBigIcon:sn,ChartBarDecreasing:vh,ChartBarDecreasingIcon:vh,ChartBarIcon:cn,ChartBarIncreasing:wh,ChartBarIncreasingIcon:wh,ChartBarStacked:Ch,ChartBarStackedIcon:Ch,ChartCandlestick:ln,ChartCandlestickIcon:ln,ChartColumn:un,ChartColumnBig:dn,ChartColumnBigIcon:dn,ChartColumnDecreasing:Lh,ChartColumnDecreasingIcon:Lh,ChartColumnIcon:un,ChartColumnIncreasing:hn,ChartColumnIncreasingIcon:hn,ChartColumnStacked:Sh,ChartColumnStackedIcon:Sh,ChartGantt:Ih,ChartGanttIcon:Ih,ChartLine:pn,ChartLineIcon:pn,ChartNetwork:Ah,ChartNetworkIcon:Ah,ChartNoAxesColumn:fn,ChartNoAxesColumnDecreasing:Bh,ChartNoAxesColumnDecreasingIcon:Bh,ChartNoAxesColumnIcon:fn,ChartNoAxesColumnIncreasing:yn,ChartNoAxesColumnIncreasingIcon:yn,ChartNoAxesCombined:Vh,ChartNoAxesCombinedIcon:Vh,ChartNoAxesGantt:kn,ChartNoAxesGanttIcon:kn,ChartPie:mn,ChartPieIcon:mn,ChartScatter:gn,ChartScatterIcon:gn,ChartSpline:zh,ChartSplineIcon:zh,Check:ga,CheckCheck:_h,CheckCheckIcon:_h,CheckCircle:ba,CheckCircle2:Vn,CheckCircle2Icon:Vn,CheckCircleIcon:ba,CheckIcon:ga,CheckLine:Ph,CheckLineIcon:Ph,CheckSquare:Wr,CheckSquare2:Gr,CheckSquare2Icon:Gr,CheckSquareIcon:Wr,ChefHat:qh,ChefHatIcon:qh,Cherry:Dh,CherryIcon:Dh,ChessBishop:Eh,ChessBishopIcon:Eh,ChessKing:Th,ChessKingIcon:Th,ChessKnight:Hh,ChessKnightIcon:Hh,ChessPawn:Oh,ChessPawnIcon:Oh,ChessQueen:jh,ChessQueenIcon:jh,ChessRook:Fh,ChessRookIcon:Fh,ChevronDown:qt,ChevronDownCircle:zn,ChevronDownCircleIcon:zn,ChevronDownIcon:qt,ChevronDownSquare:Xr,ChevronDownSquareIcon:Xr,ChevronFirst:Rh,ChevronFirstIcon:Rh,ChevronLast:Nh,ChevronLastIcon:Nh,ChevronLeft:bn,ChevronLeftCircle:Pn,ChevronLeftCircleIcon:Pn,ChevronLeftIcon:bn,ChevronLeftSquare:Kr,ChevronLeftSquareIcon:Kr,ChevronRight:xn,ChevronRightCircle:_n,ChevronRightCircleIcon:_n,ChevronRightIcon:xn,ChevronRightSquare:Zr,ChevronRightSquareIcon:Zr,ChevronUp:Qs,ChevronUpCircle:qn,ChevronUpCircleIcon:qn,ChevronUpIcon:Qs,ChevronUpSquare:Yr,ChevronUpSquareIcon:Yr,ChevronsDown:$h,ChevronsDownIcon:$h,ChevronsDownUp:Uh,ChevronsDownUpIcon:Uh,ChevronsLeft:el,ChevronsLeftIcon:el,ChevronsLeftRight:Gh,ChevronsLeftRightEllipsis:Wh,ChevronsLeftRightEllipsisIcon:Wh,ChevronsLeftRightIcon:Gh,ChevronsRight:tl,ChevronsRightIcon:tl,ChevronsRightLeft:Xh,ChevronsRightLeftIcon:Xh,ChevronsUp:Zh,ChevronsUpDown:Kh,ChevronsUpDownIcon:Kh,ChevronsUpIcon:Zh,Chrome:Mn,ChromeIcon:Mn,Chromium:Mn,ChromiumIcon:Mn,Church:Jh,ChurchIcon:Jh,Cigarette:Qh,CigaretteIcon:Qh,CigaretteOff:Yh,CigaretteOffIcon:Yh,Circle:al,CircleAlert:Dt,CircleAlertIcon:Dt,CircleArrowDown:wn,CircleArrowDownIcon:wn,CircleArrowLeft:vn,CircleArrowLeftIcon:vn,CircleArrowOutDownLeft:Cn,CircleArrowOutDownLeftIcon:Cn,CircleArrowOutDownRight:Ln,CircleArrowOutDownRightIcon:Ln,CircleArrowOutUpLeft:Sn,CircleArrowOutUpLeftIcon:Sn,CircleArrowOutUpRight:In,CircleArrowOutUpRightIcon:In,CircleArrowRight:An,CircleArrowRightIcon:An,CircleArrowUp:Bn,CircleArrowUpIcon:Bn,CircleCheck:Vn,CircleCheckBig:ba,CircleCheckBigIcon:ba,CircleCheckIcon:Vn,CircleChevronDown:zn,CircleChevronDownIcon:zn,CircleChevronLeft:Pn,CircleChevronLeftIcon:Pn,CircleChevronRight:_n,CircleChevronRightIcon:_n,CircleChevronUp:qn,CircleChevronUpIcon:qn,CircleDashed:eu,CircleDashedIcon:eu,CircleDivide:Dn,CircleDivideIcon:Dn,CircleDollarSign:tu,CircleDollarSignIcon:tu,CircleDot:nu,CircleDotDashed:au,CircleDotDashedIcon:au,CircleDotIcon:nu,CircleEllipsis:ru,CircleEllipsisIcon:ru,CircleEqual:ou,CircleEqualIcon:ou,CircleFadingArrowUp:iu,CircleFadingArrowUpIcon:iu,CircleFadingPlus:su,CircleFadingPlusIcon:su,CircleGauge:En,CircleGaugeIcon:En,CircleHelp:Et,CircleHelpIcon:Et,CircleIcon:al,CircleMinus:Tn,CircleMinusIcon:Tn,CircleOff:lu,CircleOffIcon:lu,CircleParking:On,CircleParkingIcon:On,CircleParkingOff:Hn,CircleParkingOffIcon:Hn,CirclePause:jn,CirclePauseIcon:jn,CirclePercent:Fn,CirclePercentIcon:Fn,CirclePile:cu,CirclePileIcon:cu,CirclePlay:Rn,CirclePlayIcon:Rn,CirclePlus:Nn,CirclePlusIcon:Nn,CirclePoundSterling:du,CirclePoundSterlingIcon:du,CirclePower:Un,CirclePowerIcon:Un,CircleQuestionMark:Et,CircleQuestionMarkIcon:Et,CircleSlash:hu,CircleSlash2:$n,CircleSlash2Icon:$n,CircleSlashIcon:hu,CircleSlashed:$n,CircleSlashedIcon:$n,CircleSmall:uu,CircleSmallIcon:uu,CircleStar:pu,CircleStarIcon:pu,CircleStop:Wn,CircleStopIcon:Wn,CircleUser:Xn,CircleUserIcon:Xn,CircleUserRound:Gn,CircleUserRoundIcon:Gn,CircleX:Kn,CircleXIcon:Kn,CircuitBoard:yu,CircuitBoardIcon:yu,Citrus:fu,CitrusIcon:fu,Clapperboard:mu,ClapperboardIcon:mu,Clipboard:Su,ClipboardCheck:gu,ClipboardCheckIcon:gu,ClipboardClock:ku,ClipboardClockIcon:ku,ClipboardCopy:bu,ClipboardCopyIcon:bu,ClipboardEdit:Yn,ClipboardEditIcon:Yn,ClipboardIcon:Su,ClipboardList:xu,ClipboardListIcon:xu,ClipboardMinus:Mu,ClipboardMinusIcon:Mu,ClipboardPaste:wu,ClipboardPasteIcon:wu,ClipboardPen:Yn,ClipboardPenIcon:Yn,ClipboardPenLine:Zn,ClipboardPenLineIcon:Zn,ClipboardPlus:vu,ClipboardPlusIcon:vu,ClipboardSignature:Zn,ClipboardSignatureIcon:Zn,ClipboardType:Cu,ClipboardTypeIcon:Cu,ClipboardX:Lu,ClipboardXIcon:Lu,Clock:nl,Clock1:Iu,Clock10:Au,Clock10Icon:Au,Clock11:Bu,Clock11Icon:Bu,Clock12:Vu,Clock12Icon:Vu,Clock1Icon:Iu,Clock2:_u,Clock2Icon:_u,Clock3:zu,Clock3Icon:zu,Clock4:Pu,Clock4Icon:Pu,Clock5:qu,Clock5Icon:qu,Clock6:Du,Clock6Icon:Du,Clock7:Eu,Clock7Icon:Eu,Clock8:Tu,Clock8Icon:Tu,Clock9:Hu,Clock9Icon:Hu,ClockAlert:Ou,ClockAlertIcon:Ou,ClockArrowDown:ju,ClockArrowDownIcon:ju,ClockArrowUp:Fu,ClockArrowUpIcon:Fu,ClockCheck:Ru,ClockCheckIcon:Ru,ClockFading:Nu,ClockFadingIcon:Nu,ClockIcon:nl,ClockPlus:Uu,ClockPlusIcon:Uu,ClosedCaption:$u,ClosedCaptionIcon:$u,Cloud:cp,CloudAlert:Wu,CloudAlertIcon:Wu,CloudBackup:Gu,CloudBackupIcon:Gu,CloudCheck:Xu,CloudCheckIcon:Xu,CloudCog:Ku,CloudCogIcon:Ku,CloudDownload:Jn,CloudDownloadIcon:Jn,CloudDrizzle:Zu,CloudDrizzleIcon:Zu,CloudFog:Yu,CloudFogIcon:Yu,CloudHail:Ju,CloudHailIcon:Ju,CloudIcon:cp,CloudLightning:Qu,CloudLightningIcon:Qu,CloudMoon:tp,CloudMoonIcon:tp,CloudMoonRain:ep,CloudMoonRainIcon:ep,CloudOff:ap,CloudOffIcon:ap,CloudRain:op,CloudRainIcon:op,CloudRainWind:np,CloudRainWindIcon:np,CloudSnow:rp,CloudSnowIcon:rp,CloudSun:sp,CloudSunIcon:sp,CloudSunRain:ip,CloudSunRainIcon:ip,CloudSync:lp,CloudSyncIcon:lp,CloudUpload:xa,CloudUploadIcon:xa,Cloudy:dp,CloudyIcon:dp,Clover:hp,CloverIcon:hp,Club:up,ClubIcon:up,Code:pp,Code2:Qn,Code2Icon:Qn,CodeIcon:pp,CodeSquare:Jr,CodeSquareIcon:Jr,CodeXml:Qn,CodeXmlIcon:Qn,Codepen:yp,CodepenIcon:yp,Codesandbox:fp,CodesandboxIcon:fp,Coffee:mp,CoffeeIcon:mp,Cog:kp,CogIcon:kp,Coins:gp,CoinsIcon:gp,Columns:eo,Columns2:eo,Columns2Icon:eo,Columns3:to,Columns3Cog:Tt,Columns3CogIcon:Tt,Columns3Icon:to,Columns4:bp,Columns4Icon:bp,ColumnsIcon:eo,ColumnsSettings:Tt,ColumnsSettingsIcon:Tt,Combine:xp,CombineIcon:xp,Command:Mp,CommandIcon:Mp,Compass:wp,CompassIcon:wp,Component:vp,ComponentIcon:vp,Computer:Cp,ComputerIcon:Cp,ConciergeBell:Lp,ConciergeBellIcon:Lp,Cone:Sp,ConeIcon:Sp,Construction:Ip,ConstructionIcon:Ip,Contact:Ap,Contact2:ao,Contact2Icon:ao,ContactIcon:Ap,ContactRound:ao,ContactRoundIcon:ao,Container:Bp,ContainerIcon:Bp,Contrast:Vp,ContrastIcon:Vp,Cookie:zp,CookieIcon:zp,CookingPot:_p,CookingPotIcon:_p,Copy:Hp,CopyCheck:Pp,CopyCheckIcon:Pp,CopyIcon:Hp,CopyMinus:qp,CopyMinusIcon:qp,CopyPlus:Dp,CopyPlusIcon:Dp,CopySlash:Tp,CopySlashIcon:Tp,CopyX:Ep,CopyXIcon:Ep,Copyleft:Op,CopyleftIcon:Op,Copyright:jp,CopyrightIcon:jp,CornerDownLeft:Fp,CornerDownLeftIcon:Fp,CornerDownRight:Np,CornerDownRightIcon:Np,CornerLeftDown:Rp,CornerLeftDownIcon:Rp,CornerLeftUp:Up,CornerLeftUpIcon:Up,CornerRightDown:$p,CornerRightDownIcon:$p,CornerRightUp:Wp,CornerRightUpIcon:Wp,CornerUpLeft:Gp,CornerUpLeftIcon:Gp,CornerUpRight:Xp,CornerUpRightIcon:Xp,Cpu:xs,CpuIcon:xs,CreativeCommons:Kp,CreativeCommonsIcon:Kp,CreditCard:Zp,CreditCardIcon:Zp,Croissant:Yp,CroissantIcon:Yp,Crop:Jp,CropIcon:Jp,Cross:Qp,CrossIcon:Qp,Crosshair:ty,CrosshairIcon:ty,Crown:ey,CrownIcon:ey,Cuboid:ay,CuboidIcon:ay,CupSoda:ny,CupSodaIcon:ny,CurlyBraces:nn,CurlyBracesIcon:nn,Currency:oy,CurrencyIcon:oy,Cylinder:ry,CylinderIcon:ry,Dam:iy,DamIcon:iy,Database:dy,DatabaseBackup:sy,DatabaseBackupIcon:sy,DatabaseIcon:dy,DatabaseSearch:ly,DatabaseSearchIcon:ly,DatabaseZap:cy,DatabaseZapIcon:cy,DecimalsArrowLeft:hy,DecimalsArrowLeftIcon:hy,DecimalsArrowRight:uy,DecimalsArrowRightIcon:uy,Delete:py,DeleteIcon:py,Dessert:yy,DessertIcon:yy,Diameter:fy,DiameterIcon:fy,Diamond:gy,DiamondIcon:gy,DiamondMinus:my,DiamondMinusIcon:my,DiamondPercent:no,DiamondPercentIcon:no,DiamondPlus:ky,DiamondPlusIcon:ky,Dice1:by,Dice1Icon:by,Dice2:xy,Dice2Icon:xy,Dice3:My,Dice3Icon:My,Dice4:wy,Dice4Icon:wy,Dice5:vy,Dice5Icon:vy,Dice6:Cy,Dice6Icon:Cy,Dices:Ly,DicesIcon:Ly,Diff:Sy,DiffIcon:Sy,Disc:Vy,Disc2:Iy,Disc2Icon:Iy,Disc3:Ay,Disc3Icon:Ay,DiscAlbum:By,DiscAlbumIcon:By,DiscIcon:Vy,Divide:_y,DivideCircle:Dn,DivideCircleIcon:Dn,DivideIcon:_y,DivideSquare:ni,DivideSquareIcon:ni,Dna:Py,DnaIcon:Py,DnaOff:zy,DnaOffIcon:zy,Dock:qy,DockIcon:qy,Dog:Ey,DogIcon:Ey,DollarSign:Dy,DollarSignIcon:Dy,Donut:Hy,DonutIcon:Hy,DoorClosed:Oy,DoorClosedIcon:Oy,DoorClosedLocked:Ty,DoorClosedLockedIcon:Ty,DoorOpen:jy,DoorOpenIcon:jy,Dot:Fy,DotIcon:Fy,DotSquare:ai,DotSquareIcon:ai,Download:ol,DownloadCloud:Jn,DownloadCloudIcon:Jn,DownloadIcon:ol,DraftingCompass:Ry,DraftingCompassIcon:Ry,Drama:Uy,DramaIcon:Uy,Dribbble:Ny,DribbbleIcon:Ny,Drill:$y,DrillIcon:$y,Drone:Wy,DroneIcon:Wy,Droplet:Xy,DropletIcon:Xy,DropletOff:Gy,DropletOffIcon:Gy,Droplets:Ky,DropletsIcon:Ky,Drum:Zy,DrumIcon:Zy,Drumstick:Yy,DrumstickIcon:Yy,Dumbbell:Jy,DumbbellIcon:Jy,Ear:ef,EarIcon:ef,EarOff:Qy,EarOffIcon:Qy,Earth:oo,EarthIcon:oo,EarthLock:tf,EarthLockIcon:tf,Eclipse:af,EclipseIcon:af,Edit:at,Edit2:fr,Edit2Icon:fr,Edit3:yr,Edit3Icon:yr,EditIcon:at,Egg:of,EggFried:nf,EggFriedIcon:nf,EggIcon:of,EggOff:rf,EggOffIcon:rf,Ellipsis:Ma,EllipsisIcon:Ma,EllipsisVertical:ro,EllipsisVerticalIcon:ro,Equal:cf,EqualApproximately:lf,EqualApproximatelyIcon:lf,EqualIcon:cf,EqualNot:sf,EqualNotIcon:sf,EqualSquare:oi,EqualSquareIcon:oi,Eraser:df,EraserIcon:df,EthernetPort:hf,EthernetPortIcon:hf,Euro:uf,EuroIcon:uf,EvCharger:pf,EvChargerIcon:pf,Expand:yf,ExpandIcon:yf,ExternalLink:ff,ExternalLinkIcon:ff,Eye:Ms,EyeClosed:mf,EyeClosedIcon:mf,EyeIcon:Ms,EyeOff:rl,EyeOffIcon:rl,Facebook:kf,FacebookIcon:kf,Factory:gf,FactoryIcon:gf,Fan:bf,FanIcon:bf,FastForward:xf,FastForwardIcon:xf,Feather:Mf,FeatherIcon:Mf,Fence:wf,FenceIcon:wf,FerrisWheel:vf,FerrisWheelIcon:vf,Figma:Cf,FigmaIcon:Cf,File:Jf,FileArchive:Lf,FileArchiveIcon:Lf,FileAudio:Ht,FileAudio2:Ht,FileAudio2Icon:Ht,FileAudioIcon:Ht,FileAxis3D:io,FileAxis3DIcon:io,FileAxis3d:io,FileAxis3dIcon:io,FileBadge:so,FileBadge2:so,FileBadge2Icon:so,FileBadgeIcon:so,FileBarChart:ho,FileBarChart2:uo,FileBarChart2Icon:uo,FileBarChartIcon:ho,FileBox:Sf,FileBoxIcon:Sf,FileBraces:co,FileBracesCorner:lo,FileBracesCornerIcon:lo,FileBracesIcon:co,FileChartColumn:uo,FileChartColumnIcon:uo,FileChartColumnIncreasing:ho,FileChartColumnIncreasingIcon:ho,FileChartLine:po,FileChartLineIcon:po,FileChartPie:yo,FileChartPieIcon:yo,FileCheck:If,FileCheck2:fo,FileCheck2Icon:fo,FileCheckCorner:fo,FileCheckCornerIcon:fo,FileCheckIcon:If,FileClock:Af,FileClockIcon:Af,FileCode:Bf,FileCode2:mo,FileCode2Icon:mo,FileCodeCorner:mo,FileCodeCornerIcon:mo,FileCodeIcon:Bf,FileCog:ko,FileCog2:ko,FileCog2Icon:ko,FileCogIcon:ko,FileDiff:Vf,FileDiffIcon:Vf,FileDigit:zf,FileDigitIcon:zf,FileDown:_f,FileDownIcon:_f,FileEdit:Co,FileEditIcon:Co,FileExclamationPoint:go,FileExclamationPointIcon:go,FileHeadphone:Ht,FileHeadphoneIcon:Ht,FileHeart:Pf,FileHeartIcon:Pf,FileIcon:Jf,FileImage:qf,FileImageIcon:qf,FileInput:Df,FileInputIcon:Df,FileJson:co,FileJson2:lo,FileJson2Icon:lo,FileJsonIcon:co,FileKey:bo,FileKey2:bo,FileKey2Icon:bo,FileKeyIcon:bo,FileLineChart:po,FileLineChartIcon:po,FileLock:xo,FileLock2:xo,FileLock2Icon:xo,FileLockIcon:xo,FileMinus:Tf,FileMinus2:Mo,FileMinus2Icon:Mo,FileMinusCorner:Mo,FileMinusCornerIcon:Mo,FileMinusIcon:Tf,FileMusic:Ef,FileMusicIcon:Ef,FileOutput:Hf,FileOutputIcon:Hf,FilePen:Co,FilePenIcon:Co,FilePenLine:wo,FilePenLineIcon:wo,FilePieChart:yo,FilePieChartIcon:yo,FilePlay:vo,FilePlayIcon:vo,FilePlus:Of,FilePlus2:Lo,FilePlus2Icon:Lo,FilePlusCorner:Lo,FilePlusCornerIcon:Lo,FilePlusIcon:Of,FileQuestion:So,FileQuestionIcon:So,FileQuestionMark:So,FileQuestionMarkIcon:So,FileScan:jf,FileScanIcon:jf,FileSearch:Ff,FileSearch2:Io,FileSearch2Icon:Io,FileSearchCorner:Io,FileSearchCornerIcon:Io,FileSearchIcon:Ff,FileSignal:Ao,FileSignalIcon:Ao,FileSignature:wo,FileSignatureIcon:wo,FileSliders:Rf,FileSlidersIcon:Rf,FileSpreadsheet:Nf,FileSpreadsheetIcon:Nf,FileStack:Uf,FileStackIcon:Uf,FileSymlink:$f,FileSymlinkIcon:$f,FileTerminal:Wf,FileTerminalIcon:Wf,FileText:ws,FileTextIcon:ws,FileType:Gf,FileType2:Bo,FileType2Icon:Bo,FileTypeCorner:Bo,FileTypeCornerIcon:Bo,FileTypeIcon:Gf,FileUp:Xf,FileUpIcon:Xf,FileUser:Kf,FileUserIcon:Kf,FileVideo:vo,FileVideo2:Vo,FileVideo2Icon:Vo,FileVideoCamera:Vo,FileVideoCameraIcon:Vo,FileVideoIcon:vo,FileVolume:Zf,FileVolume2:Ao,FileVolume2Icon:Ao,FileVolumeIcon:Zf,FileWarning:go,FileWarningIcon:go,FileX:Yf,FileX2:_o,FileX2Icon:_o,FileXCorner:_o,FileXCornerIcon:_o,FileXIcon:Yf,Files:em,FilesIcon:em,Film:Qf,FilmIcon:Qf,Filter:Eo,FilterIcon:Eo,FilterX:Do,FilterXIcon:Do,Fingerprint:zo,FingerprintIcon:zo,FingerprintPattern:zo,FingerprintPatternIcon:zo,FireExtinguisher:tm,FireExtinguisherIcon:tm,Fish:om,FishIcon:om,FishOff:am,FishOffIcon:am,FishSymbol:nm,FishSymbolIcon:nm,FishingHook:rm,FishingHookIcon:rm,Flag:cm,FlagIcon:cm,FlagOff:im,FlagOffIcon:im,FlagTriangleLeft:sm,FlagTriangleLeftIcon:sm,FlagTriangleRight:lm,FlagTriangleRightIcon:lm,Flame:hm,FlameIcon:hm,FlameKindling:dm,FlameKindlingIcon:dm,Flashlight:pm,FlashlightIcon:pm,FlashlightOff:um,FlashlightOffIcon:um,FlaskConical:fm,FlaskConicalIcon:fm,FlaskConicalOff:ym,FlaskConicalOffIcon:ym,FlaskRound:mm,FlaskRoundIcon:mm,FlipHorizontal:Ur,FlipHorizontal2:km,FlipHorizontal2Icon:km,FlipHorizontalIcon:Ur,FlipVertical:$r,FlipVertical2:gm,FlipVertical2Icon:gm,FlipVerticalIcon:$r,Flower:xm,Flower2:bm,Flower2Icon:bm,FlowerIcon:xm,Focus:Mm,FocusIcon:Mm,FoldHorizontal:wm,FoldHorizontalIcon:wm,FoldVertical:vm,FoldVerticalIcon:vm,Folder:Ym,FolderArchive:Cm,FolderArchiveIcon:Cm,FolderCheck:Lm,FolderCheckIcon:Lm,FolderClock:Sm,FolderClockIcon:Sm,FolderClosed:Im,FolderClosedIcon:Im,FolderCode:Am,FolderCodeIcon:Am,FolderCog:Po,FolderCog2:Po,FolderCog2Icon:Po,FolderCogIcon:Po,FolderDot:Bm,FolderDotIcon:Bm,FolderDown:Vm,FolderDownIcon:Vm,FolderEdit:qo,FolderEditIcon:qo,FolderGit:zm,FolderGit2:_m,FolderGit2Icon:_m,FolderGitIcon:zm,FolderHeart:Pm,FolderHeartIcon:Pm,FolderIcon:Ym,FolderInput:qm,FolderInputIcon:qm,FolderKanban:Em,FolderKanbanIcon:Em,FolderKey:Dm,FolderKeyIcon:Dm,FolderLock:Tm,FolderLockIcon:Tm,FolderMinus:jm,FolderMinusIcon:jm,FolderOpen:Om,FolderOpenDot:Hm,FolderOpenDotIcon:Hm,FolderOpenIcon:Om,FolderOutput:Fm,FolderOutputIcon:Fm,FolderPen:qo,FolderPenIcon:qo,FolderPlus:Um,FolderPlusIcon:Um,FolderRoot:Rm,FolderRootIcon:Rm,FolderSearch:$m,FolderSearch2:Nm,FolderSearch2Icon:Nm,FolderSearchIcon:$m,FolderSymlink:Gm,FolderSymlinkIcon:Gm,FolderSync:Wm,FolderSyncIcon:Wm,FolderTree:Xm,FolderTreeIcon:Xm,FolderUp:Km,FolderUpIcon:Km,FolderX:Zm,FolderXIcon:Zm,Folders:Jm,FoldersIcon:Jm,Footprints:Qm,FootprintsIcon:Qm,ForkKnife:Zi,ForkKnifeCrossed:Ki,ForkKnifeCrossedIcon:Ki,ForkKnifeIcon:Zi,Forklift:ek,ForkliftIcon:ek,Form:tk,FormIcon:tk,FormInput:gr,FormInputIcon:gr,Forward:nk,ForwardIcon:nk,Frame:ak,FrameIcon:ak,Framer:ok,FramerIcon:ok,Frown:rk,FrownIcon:rk,Fuel:ik,FuelIcon:ik,Fullscreen:sk,FullscreenIcon:sk,FunctionSquare:ri,FunctionSquareIcon:ri,Funnel:Eo,FunnelIcon:Eo,FunnelPlus:lk,FunnelPlusIcon:lk,FunnelX:Do,FunnelXIcon:Do,GalleryHorizontal:dk,GalleryHorizontalEnd:ck,GalleryHorizontalEndIcon:ck,GalleryHorizontalIcon:dk,GalleryThumbnails:hk,GalleryThumbnailsIcon:hk,GalleryVertical:pk,GalleryVerticalEnd:uk,GalleryVerticalEndIcon:uk,GalleryVerticalIcon:pk,Gamepad:kk,Gamepad2:yk,Gamepad2Icon:yk,GamepadDirectional:fk,GamepadDirectionalIcon:fk,GamepadIcon:kk,GanttChart:kn,GanttChartIcon:kn,GanttChartSquare:Rt,GanttChartSquareIcon:Rt,Gauge:mk,GaugeCircle:En,GaugeCircleIcon:En,GaugeIcon:mk,Gavel:gk,GavelIcon:gk,Gem:bk,GemIcon:bk,GeorgianLari:xk,GeorgianLariIcon:xk,Ghost:Mk,GhostIcon:Mk,Gift:wk,GiftIcon:wk,GitBranch:Lk,GitBranchIcon:Lk,GitBranchMinus:vk,GitBranchMinusIcon:vk,GitBranchPlus:Ck,GitBranchPlusIcon:Ck,GitCommit:To,GitCommitHorizontal:To,GitCommitHorizontalIcon:To,GitCommitIcon:To,GitCommitVertical:Sk,GitCommitVerticalIcon:Sk,GitCompare:Ak,GitCompareArrows:Ik,GitCompareArrowsIcon:Ik,GitCompareIcon:Ak,GitFork:Bk,GitForkIcon:Bk,GitGraph:Vk,GitGraphIcon:Vk,GitMerge:zk,GitMergeConflict:_k,GitMergeConflictIcon:_k,GitMergeIcon:zk,GitPullRequest:Hk,GitPullRequestArrow:Pk,GitPullRequestArrowIcon:Pk,GitPullRequestClosed:qk,GitPullRequestClosedIcon:qk,GitPullRequestCreate:Ek,GitPullRequestCreateArrow:Dk,GitPullRequestCreateArrowIcon:Dk,GitPullRequestCreateIcon:Ek,GitPullRequestDraft:Tk,GitPullRequestDraftIcon:Tk,GitPullRequestIcon:Hk,Github:Ok,GithubIcon:Ok,Gitlab:jk,GitlabIcon:jk,GlassWater:Fk,GlassWaterIcon:Fk,Glasses:Rk,GlassesIcon:Rk,Globe:il,Globe2:oo,Globe2Icon:oo,GlobeIcon:il,GlobeLock:Nk,GlobeLockIcon:Nk,GlobeOff:Uk,GlobeOffIcon:Uk,GlobeX:$k,GlobeXIcon:$k,Goal:Wk,GoalIcon:Wk,Gpu:Xk,GpuIcon:Xk,Grab:Ro,GrabIcon:Ro,GraduationCap:Gk,GraduationCapIcon:Gk,Grape:Kk,GrapeIcon:Kk,Grid:Ot,Grid2X2:Fo,Grid2X2Check:Ho,Grid2X2CheckIcon:Ho,Grid2X2Icon:Fo,Grid2X2Plus:jo,Grid2X2PlusIcon:jo,Grid2X2X:Oo,Grid2X2XIcon:Oo,Grid2x2:Fo,Grid2x2Check:Ho,Grid2x2CheckIcon:Ho,Grid2x2Icon:Fo,Grid2x2Plus:jo,Grid2x2PlusIcon:jo,Grid2x2X:Oo,Grid2x2XIcon:Oo,Grid3X3:Ot,Grid3X3Icon:Ot,Grid3x2:Zk,Grid3x2Icon:Zk,Grid3x3:Ot,Grid3x3Icon:Ot,GridIcon:Ot,Grip:Qk,GripHorizontal:Yk,GripHorizontalIcon:Yk,GripIcon:Qk,GripVertical:Jk,GripVerticalIcon:Jk,Group:tg,GroupIcon:tg,Guitar:eg,GuitarIcon:eg,Ham:ag,HamIcon:ag,Hamburger:ng,HamburgerIcon:ng,Hammer:og,HammerIcon:og,Hand:dg,HandCoins:rg,HandCoinsIcon:rg,HandFist:ig,HandFistIcon:ig,HandGrab:Ro,HandGrabIcon:Ro,HandHeart:sg,HandHeartIcon:sg,HandHelping:No,HandHelpingIcon:No,HandIcon:dg,HandMetal:lg,HandMetalIcon:lg,HandPlatter:cg,HandPlatterIcon:cg,Handbag:hg,HandbagIcon:hg,Handshake:ug,HandshakeIcon:ug,HardDrive:fg,HardDriveDownload:pg,HardDriveDownloadIcon:pg,HardDriveIcon:fg,HardDriveUpload:yg,HardDriveUploadIcon:yg,HardHat:mg,HardHatIcon:mg,Hash:kg,HashIcon:kg,HatGlasses:gg,HatGlassesIcon:gg,Haze:bg,HazeIcon:bg,Hd:xg,HdIcon:xg,HdmiPort:Mg,HdmiPortIcon:Mg,Heading:Ag,Heading1:wg,Heading1Icon:wg,Heading2:vg,Heading2Icon:vg,Heading3:Cg,Heading3Icon:Cg,Heading4:Lg,Heading4Icon:Lg,Heading5:Sg,Heading5Icon:Sg,Heading6:Ig,Heading6Icon:Ig,HeadingIcon:Ag,HeadphoneOff:Bg,HeadphoneOffIcon:Bg,Headphones:Vg,HeadphonesIcon:Vg,Headset:_g,HeadsetIcon:_g,Heart:Hg,HeartCrack:zg,HeartCrackIcon:zg,HeartHandshake:qg,HeartHandshakeIcon:qg,HeartIcon:Hg,HeartMinus:Pg,HeartMinusIcon:Pg,HeartOff:Dg,HeartOffIcon:Dg,HeartPlus:Eg,HeartPlusIcon:Eg,HeartPulse:Tg,HeartPulseIcon:Tg,Heater:Og,HeaterIcon:Og,Helicopter:jg,HelicopterIcon:jg,HelpCircle:Et,HelpCircleIcon:Et,HelpingHand:No,HelpingHandIcon:No,Hexagon:Fg,HexagonIcon:Fg,Highlighter:Rg,HighlighterIcon:Rg,History:Ng,HistoryIcon:Ng,Home:Uo,HomeIcon:Uo,Hop:$g,HopIcon:$g,HopOff:Ug,HopOffIcon:Ug,Hospital:Wg,HospitalIcon:Wg,Hotel:Gg,HotelIcon:Gg,Hourglass:Xg,HourglassIcon:Xg,House:Uo,HouseHeart:Kg,HouseHeartIcon:Kg,HouseIcon:Uo,HousePlug:Zg,HousePlugIcon:Zg,HousePlus:Yg,HousePlusIcon:Yg,HouseWifi:Jg,HouseWifiIcon:Jg,IceCream:Wo,IceCream2:$o,IceCream2Icon:$o,IceCreamBowl:$o,IceCreamBowlIcon:$o,IceCreamCone:Wo,IceCreamConeIcon:Wo,IceCreamIcon:Wo,Icon:gB,IdCard:e4,IdCardIcon:e4,IdCardLanyard:Qg,IdCardLanyardIcon:Qg,Image:l4,ImageDown:t4,ImageDownIcon:t4,ImageIcon:l4,ImageMinus:a4,ImageMinusIcon:a4,ImageOff:n4,ImageOffIcon:n4,ImagePlay:o4,ImagePlayIcon:o4,ImagePlus:r4,ImagePlusIcon:r4,ImageUp:i4,ImageUpIcon:i4,ImageUpscale:s4,ImageUpscaleIcon:s4,Images:c4,ImagesIcon:c4,Import:h4,ImportIcon:h4,Inbox:d4,InboxIcon:d4,Indent:Ft,IndentDecrease:jt,IndentDecreaseIcon:jt,IndentIcon:Ft,IndentIncrease:Ft,IndentIncreaseIcon:Ft,IndianRupee:u4,IndianRupeeIcon:u4,Infinity:p4,InfinityIcon:p4,Info:y4,InfoIcon:y4,Inspect:hi,InspectIcon:hi,InspectionPanel:f4,InspectionPanelIcon:f4,Instagram:m4,InstagramIcon:m4,Italic:k4,ItalicIcon:k4,IterationCcw:g4,IterationCcwIcon:g4,IterationCw:b4,IterationCwIcon:b4,JapaneseYen:x4,JapaneseYenIcon:x4,Joystick:M4,JoystickIcon:M4,Kanban:w4,KanbanIcon:w4,KanbanSquare:ii,KanbanSquareDashed:Qr,KanbanSquareDashedIcon:Qr,KanbanSquareIcon:ii,Kayak:v4,KayakIcon:v4,Key:I4,KeyIcon:I4,KeyRound:C4,KeyRoundIcon:C4,KeySquare:L4,KeySquareIcon:L4,Keyboard:B4,KeyboardIcon:B4,KeyboardMusic:S4,KeyboardMusicIcon:S4,KeyboardOff:A4,KeyboardOffIcon:A4,Lamp:D4,LampCeiling:V4,LampCeilingIcon:V4,LampDesk:_4,LampDeskIcon:_4,LampFloor:P4,LampFloorIcon:P4,LampIcon:D4,LampWallDown:z4,LampWallDownIcon:z4,LampWallUp:q4,LampWallUpIcon:q4,LandPlot:E4,LandPlotIcon:E4,Landmark:H4,LandmarkIcon:H4,Languages:T4,LanguagesIcon:T4,Laptop:j4,Laptop2:Go,Laptop2Icon:Go,LaptopIcon:j4,LaptopMinimal:Go,LaptopMinimalCheck:O4,LaptopMinimalCheckIcon:O4,LaptopMinimalIcon:Go,Lasso:R4,LassoIcon:R4,LassoSelect:F4,LassoSelectIcon:F4,Laugh:N4,LaughIcon:N4,Layers:Xo,Layers2:U4,Layers2Icon:U4,Layers3:Xo,Layers3Icon:Xo,LayersIcon:Xo,LayersPlus:$4,LayersPlusIcon:$4,Layout:pr,LayoutDashboard:W4,LayoutDashboardIcon:W4,LayoutGrid:G4,LayoutGridIcon:G4,LayoutIcon:pr,LayoutList:X4,LayoutListIcon:X4,LayoutPanelLeft:K4,LayoutPanelLeftIcon:K4,LayoutPanelTop:Z4,LayoutPanelTopIcon:Z4,LayoutTemplate:Y4,LayoutTemplateIcon:Y4,Leaf:J4,LeafIcon:J4,LeafyGreen:Q4,LeafyGreenIcon:Q4,Lectern:e5,LecternIcon:e5,LensConcave:t5,LensConcaveIcon:t5,LensConvex:a5,LensConvexIcon:a5,LetterText:Pi,LetterTextIcon:Pi,Library:i5,LibraryBig:n5,LibraryBigIcon:n5,LibraryIcon:i5,LibrarySquare:si,LibrarySquareIcon:si,LifeBuoy:r5,LifeBuoyIcon:r5,Ligature:o5,LigatureIcon:o5,Lightbulb:l5,LightbulbIcon:l5,LightbulbOff:s5,LightbulbOffIcon:s5,LineChart:pn,LineChartIcon:pn,LineDotRightHorizontal:c5,LineDotRightHorizontalIcon:c5,LineSquiggle:d5,LineSquiggleIcon:d5,Link:sl,Link2:u5,Link2Icon:u5,Link2Off:h5,Link2OffIcon:h5,LinkIcon:sl,Linkedin:p5,LinkedinIcon:p5,List:z5,ListCheck:y5,ListCheckIcon:y5,ListChecks:f5,ListChecksIcon:f5,ListChevronsDownUp:k5,ListChevronsDownUpIcon:k5,ListChevronsUpDown:m5,ListChevronsUpDownIcon:m5,ListCollapse:g5,ListCollapseIcon:g5,ListEnd:b5,ListEndIcon:b5,ListFilter:x5,ListFilterIcon:x5,ListFilterPlus:M5,ListFilterPlusIcon:M5,ListIcon:z5,ListIndentDecrease:jt,ListIndentDecreaseIcon:jt,ListIndentIncrease:Ft,ListIndentIncreaseIcon:Ft,ListMinus:L5,ListMinusIcon:L5,ListMusic:w5,ListMusicIcon:w5,ListOrdered:v5,ListOrderedIcon:v5,ListPlus:C5,ListPlusIcon:C5,ListRestart:S5,ListRestartIcon:S5,ListStart:I5,ListStartIcon:I5,ListTodo:B5,ListTodoIcon:B5,ListTree:A5,ListTreeIcon:A5,ListVideo:V5,ListVideoIcon:V5,ListX:_5,ListXIcon:_5,Loader:q5,Loader2:St,Loader2Icon:St,LoaderCircle:St,LoaderCircleIcon:St,LoaderIcon:q5,LoaderPinwheel:P5,LoaderPinwheelIcon:P5,Locate:T5,LocateFixed:D5,LocateFixedIcon:D5,LocateIcon:T5,LocateOff:E5,LocateOffIcon:E5,LocationEdit:Jo,LocationEditIcon:Jo,Lock:O5,LockIcon:O5,LockKeyhole:H5,LockKeyholeIcon:H5,LockKeyholeOpen:Ko,LockKeyholeOpenIcon:Ko,LockOpen:Zo,LockOpenIcon:Zo,LogIn:j5,LogInIcon:j5,LogOut:F5,LogOutIcon:F5,Logs:R5,LogsIcon:R5,Lollipop:N5,LollipopIcon:N5,LucideAArrowDown:m1,LucideAArrowUp:k1,LucideALargeSmall:g1,LucideAccessibility:b1,LucideActivity:x1,LucideActivitySquare:Br,LucideAirVent:M1,LucideAirplay:w1,LucideAlarmCheck:Ra,LucideAlarmClock:C1,LucideAlarmClockCheck:Ra,LucideAlarmClockMinus:Na,LucideAlarmClockOff:v1,LucideAlarmClockPlus:Ua,LucideAlarmMinus:Na,LucideAlarmPlus:Ua,LucideAlarmSmoke:L1,LucideAlbum:I1,LucideAlertCircle:Dt,LucideAlertOctagon:ar,LucideAlertTriangle:Oi,LucideAlignCenter:zi,LucideAlignCenterHorizontal:S1,LucideAlignCenterVertical:A1,LucideAlignEndHorizontal:B1,LucideAlignEndVertical:V1,LucideAlignHorizontalDistributeCenter:_1,LucideAlignHorizontalDistributeEnd:z1,LucideAlignHorizontalDistributeStart:P1,LucideAlignHorizontalJustifyCenter:q1,LucideAlignHorizontalJustifyEnd:D1,LucideAlignHorizontalJustifyStart:E1,LucideAlignHorizontalSpaceAround:T1,LucideAlignHorizontalSpaceBetween:H1,LucideAlignJustify:_i,LucideAlignLeft:Nt,LucideAlignRight:Vi,LucideAlignStartHorizontal:O1,LucideAlignStartVertical:j1,LucideAlignVerticalDistributeCenter:F1,LucideAlignVerticalDistributeEnd:R1,LucideAlignVerticalDistributeStart:N1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:G1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:K1,LucideAmpersand:Z1,LucideAmpersands:Y1,LucideAmphora:Q1,LucideAnchor:J1,LucideAngry:ec,LucideAnnoyed:tc,LucideAntenna:ac,LucideAnvil:nc,LucideAperture:oc,LucideAppWindow:ic,LucideAppWindowMac:rc,LucideApple:sc,LucideArchive:dc,LucideArchiveRestore:lc,LucideArchiveX:cc,LucideAreaChart:rn,LucideArmchair:hc,LucideArrowBigDown:pc,LucideArrowBigDownDash:uc,LucideArrowBigLeft:fc,LucideArrowBigLeftDash:yc,LucideArrowBigRight:kc,LucideArrowBigRightDash:mc,LucideArrowBigUp:gc,LucideArrowBigUpDash:bc,LucideArrowDown:Bc,LucideArrowDown01:Mc,LucideArrowDown10:xc,LucideArrowDownAZ:$a,LucideArrowDownAz:$a,LucideArrowDownCircle:wn,LucideArrowDownFromLine:wc,LucideArrowDownLeft:vc,LucideArrowDownLeftFromCircle:Cn,LucideArrowDownLeftFromSquare:qr,LucideArrowDownLeftSquare:Vr,LucideArrowDownNarrowWide:Lc,LucideArrowDownRight:Cc,LucideArrowDownRightFromCircle:Ln,LucideArrowDownRightFromSquare:Dr,LucideArrowDownRightSquare:_r,LucideArrowDownSquare:zr,LucideArrowDownToDot:Sc,LucideArrowDownToLine:Ic,LucideArrowDownUp:Ac,LucideArrowDownWideNarrow:Wa,LucideArrowDownZA:Ga,LucideArrowDownZa:Ga,LucideArrowLeft:Pc,LucideArrowLeftCircle:vn,LucideArrowLeftFromLine:Vc,LucideArrowLeftRight:zc,LucideArrowLeftSquare:Pr,LucideArrowLeftToLine:_c,LucideArrowRight:Ys,LucideArrowRightCircle:An,LucideArrowRightFromLine:qc,LucideArrowRightLeft:Dc,LucideArrowRightSquare:Hr,LucideArrowRightToLine:Ec,LucideArrowUp:Gc,LucideArrowUp01:Tc,LucideArrowUp10:Hc,LucideArrowUpAZ:Xa,LucideArrowUpAz:Xa,LucideArrowUpCircle:Bn,LucideArrowUpDown:Oc,LucideArrowUpFromDot:jc,LucideArrowUpFromLine:Fc,LucideArrowUpLeft:Rc,LucideArrowUpLeftFromCircle:Sn,LucideArrowUpLeftFromSquare:Er,LucideArrowUpLeftSquare:jr,LucideArrowUpNarrowWide:Ka,LucideArrowUpRight:Nc,LucideArrowUpRightFromCircle:In,LucideArrowUpRightFromSquare:Tr,LucideArrowUpRightSquare:Or,LucideArrowUpSquare:Fr,LucideArrowUpToLine:Uc,LucideArrowUpWideNarrow:$c,LucideArrowUpZA:Za,LucideArrowUpZa:Za,LucideArrowsUpFromLine:Wc,LucideAsterisk:Xc,LucideAsteriskSquare:Rr,LucideAtSign:Kc,LucideAtom:Zc,LucideAudioLines:Yc,LucideAudioWaveform:Jc,LucideAward:Qc,LucideAxe:ed,LucideAxis3D:Ya,LucideAxis3d:Ya,LucideBaby:ad,LucideBackpack:td,LucideBadge:gd,LucideBadgeAlert:nd,LucideBadgeCent:od,LucideBadgeCheck:Ja,LucideBadgeDollarSign:rd,LucideBadgeEuro:id,LucideBadgeHelp:Qa,LucideBadgeIndianRupee:sd,LucideBadgeInfo:ld,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeQuestionMark:Qa,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:fd,LucideBadgeTurkishLira:md,LucideBadgeX:kd,LucideBaggageClaim:bd,LucideBalloon:xd,LucideBan:wd,LucideBanana:Md,LucideBandage:vd,LucideBanknote:Bd,LucideBanknoteArrowDown:Cd,LucideBanknoteArrowUp:Ld,LucideBanknoteX:Sd,LucideBarChart:yn,LucideBarChart2:fn,LucideBarChart3:un,LucideBarChart4:hn,LucideBarChartBig:dn,LucideBarChartHorizontal:cn,LucideBarChartHorizontalBig:sn,LucideBarcode:Id,LucideBarrel:Ad,LucideBaseline:Vd,LucideBath:_d,LucideBattery:Hd,LucideBatteryCharging:zd,LucideBatteryFull:Pd,LucideBatteryLow:qd,LucideBatteryMedium:Ed,LucideBatteryPlus:Dd,LucideBatteryWarning:Td,LucideBeaker:Od,LucideBean:Fd,LucideBeanOff:jd,LucideBed:Ud,LucideBedDouble:Rd,LucideBedSingle:Nd,LucideBeef:$d,LucideBeer:Gd,LucideBeerOff:Wd,LucideBell:Qd,LucideBellDot:Xd,LucideBellElectric:Kd,LucideBellMinus:Zd,LucideBellOff:Yd,LucideBellPlus:Jd,LucideBellRing:e0,LucideBetweenHorizonalEnd:en,LucideBetweenHorizonalStart:tn,LucideBetweenHorizontalEnd:en,LucideBetweenHorizontalStart:tn,LucideBetweenVerticalEnd:t0,LucideBetweenVerticalStart:a0,LucideBicepsFlexed:n0,LucideBike:o0,LucideBinary:r0,LucideBinoculars:s0,LucideBiohazard:i0,LucideBird:l0,LucideBirdhouse:c0,LucideBitcoin:d0,LucideBlend:h0,LucideBlinds:u0,LucideBlocks:y0,LucideBluetooth:k0,LucideBluetoothConnected:p0,LucideBluetoothOff:f0,LucideBluetoothSearching:m0,LucideBold:g0,LucideBolt:b0,LucideBomb:x0,LucideBone:M0,LucideBook:W0,LucideBookA:w0,LucideBookAlert:v0,LucideBookAudio:C0,LucideBookCheck:S0,LucideBookCopy:L0,LucideBookDashed:an,LucideBookDown:I0,LucideBookHeadphones:A0,LucideBookHeart:B0,LucideBookImage:V0,LucideBookKey:_0,LucideBookLock:z0,LucideBookMarked:P0,LucideBookMinus:q0,LucideBookOpen:T0,LucideBookOpenCheck:D0,LucideBookOpenText:E0,LucideBookPlus:H0,LucideBookSearch:O0,LucideBookTemplate:an,LucideBookText:j0,LucideBookType:F0,LucideBookUp:R0,LucideBookUp2:N0,LucideBookUser:U0,LucideBookX:$0,LucideBookmark:Y0,LucideBookmarkCheck:G0,LucideBookmarkMinus:X0,LucideBookmarkPlus:K0,LucideBookmarkX:Z0,LucideBoomBox:Q0,LucideBot:t2,LucideBotMessageSquare:J0,LucideBotOff:e2,LucideBottleWine:n2,LucideBowArrow:a2,LucideBox:o2,LucideBoxSelect:ti,LucideBoxes:r2,LucideBraces:nn,LucideBrackets:i2,LucideBrain:c2,LucideBrainCircuit:l2,LucideBrainCog:s2,LucideBrickWall:h2,LucideBrickWallFire:d2,LucideBrickWallShield:u2,LucideBriefcase:f2,LucideBriefcaseBusiness:p2,LucideBriefcaseConveyorBelt:y2,LucideBriefcaseMedical:m2,LucideBringToFront:k2,LucideBrush:b2,LucideBrushCleaning:g2,LucideBubbles:x2,LucideBug:v2,LucideBugOff:M2,LucideBugPlay:w2,LucideBuilding:L2,LucideBuilding2:C2,LucideBus:I2,LucideBusFront:S2,LucideCable:B2,LucideCableCar:A2,LucideCake:_2,LucideCakeSlice:V2,LucideCalculator:z2,LucideCalendar:Js,LucideCalendar1:P2,LucideCalendarArrowDown:E2,LucideCalendarArrowUp:q2,LucideCalendarCheck:T2,LucideCalendarCheck2:D2,LucideCalendarClock:H2,LucideCalendarCog:j2,LucideCalendarDays:O2,LucideCalendarFold:F2,LucideCalendarHeart:R2,LucideCalendarMinus:U2,LucideCalendarMinus2:N2,LucideCalendarOff:$2,LucideCalendarPlus:G2,LucideCalendarPlus2:W2,LucideCalendarRange:X2,LucideCalendarSearch:K2,LucideCalendarSync:Z2,LucideCalendarX:J2,LucideCalendarX2:Y2,LucideCalendars:Q2,LucideCamera:th,LucideCameraOff:eh,LucideCandlestickChart:ln,LucideCandy:oh,LucideCandyCane:ah,LucideCandyOff:nh,LucideCannabis:ih,LucideCannabisOff:rh,LucideCaptions:on,LucideCaptionsOff:sh,LucideCar:dh,LucideCarFront:lh,LucideCarTaxiFront:ch,LucideCaravan:hh,LucideCardSim:uh,LucideCarrot:ph,LucideCaseLower:yh,LucideCaseSensitive:fh,LucideCaseUpper:mh,LucideCassetteTape:kh,LucideCast:gh,LucideCastle:bh,LucideCat:xh,LucideCctv:Mh,LucideChartArea:rn,LucideChartBar:cn,LucideChartBarBig:sn,LucideChartBarDecreasing:vh,LucideChartBarIncreasing:wh,LucideChartBarStacked:Ch,LucideChartCandlestick:ln,LucideChartColumn:un,LucideChartColumnBig:dn,LucideChartColumnDecreasing:Lh,LucideChartColumnIncreasing:hn,LucideChartColumnStacked:Sh,LucideChartGantt:Ih,LucideChartLine:pn,LucideChartNetwork:Ah,LucideChartNoAxesColumn:fn,LucideChartNoAxesColumnDecreasing:Bh,LucideChartNoAxesColumnIncreasing:yn,LucideChartNoAxesCombined:Vh,LucideChartNoAxesGantt:kn,LucideChartPie:mn,LucideChartScatter:gn,LucideChartSpline:zh,LucideCheck:ga,LucideCheckCheck:_h,LucideCheckCircle:ba,LucideCheckCircle2:Vn,LucideCheckLine:Ph,LucideCheckSquare:Wr,LucideCheckSquare2:Gr,LucideChefHat:qh,LucideCherry:Dh,LucideChessBishop:Eh,LucideChessKing:Th,LucideChessKnight:Hh,LucideChessPawn:Oh,LucideChessQueen:jh,LucideChessRook:Fh,LucideChevronDown:qt,LucideChevronDownCircle:zn,LucideChevronDownSquare:Xr,LucideChevronFirst:Rh,LucideChevronLast:Nh,LucideChevronLeft:bn,LucideChevronLeftCircle:Pn,LucideChevronLeftSquare:Kr,LucideChevronRight:xn,LucideChevronRightCircle:_n,LucideChevronRightSquare:Zr,LucideChevronUp:Qs,LucideChevronUpCircle:qn,LucideChevronUpSquare:Yr,LucideChevronsDown:$h,LucideChevronsDownUp:Uh,LucideChevronsLeft:el,LucideChevronsLeftRight:Gh,LucideChevronsLeftRightEllipsis:Wh,LucideChevronsRight:tl,LucideChevronsRightLeft:Xh,LucideChevronsUp:Zh,LucideChevronsUpDown:Kh,LucideChrome:Mn,LucideChromium:Mn,LucideChurch:Jh,LucideCigarette:Qh,LucideCigaretteOff:Yh,LucideCircle:al,LucideCircleAlert:Dt,LucideCircleArrowDown:wn,LucideCircleArrowLeft:vn,LucideCircleArrowOutDownLeft:Cn,LucideCircleArrowOutDownRight:Ln,LucideCircleArrowOutUpLeft:Sn,LucideCircleArrowOutUpRight:In,LucideCircleArrowRight:An,LucideCircleArrowUp:Bn,LucideCircleCheck:Vn,LucideCircleCheckBig:ba,LucideCircleChevronDown:zn,LucideCircleChevronLeft:Pn,LucideCircleChevronRight:_n,LucideCircleChevronUp:qn,LucideCircleDashed:eu,LucideCircleDivide:Dn,LucideCircleDollarSign:tu,LucideCircleDot:nu,LucideCircleDotDashed:au,LucideCircleEllipsis:ru,LucideCircleEqual:ou,LucideCircleFadingArrowUp:iu,LucideCircleFadingPlus:su,LucideCircleGauge:En,LucideCircleHelp:Et,LucideCircleMinus:Tn,LucideCircleOff:lu,LucideCircleParking:On,LucideCircleParkingOff:Hn,LucideCirclePause:jn,LucideCirclePercent:Fn,LucideCirclePile:cu,LucideCirclePlay:Rn,LucideCirclePlus:Nn,LucideCirclePoundSterling:du,LucideCirclePower:Un,LucideCircleQuestionMark:Et,LucideCircleSlash:hu,LucideCircleSlash2:$n,LucideCircleSlashed:$n,LucideCircleSmall:uu,LucideCircleStar:pu,LucideCircleStop:Wn,LucideCircleUser:Xn,LucideCircleUserRound:Gn,LucideCircleX:Kn,LucideCircuitBoard:yu,LucideCitrus:fu,LucideClapperboard:mu,LucideClipboard:Su,LucideClipboardCheck:gu,LucideClipboardClock:ku,LucideClipboardCopy:bu,LucideClipboardEdit:Yn,LucideClipboardList:xu,LucideClipboardMinus:Mu,LucideClipboardPaste:wu,LucideClipboardPen:Yn,LucideClipboardPenLine:Zn,LucideClipboardPlus:vu,LucideClipboardSignature:Zn,LucideClipboardType:Cu,LucideClipboardX:Lu,LucideClock:nl,LucideClock1:Iu,LucideClock10:Au,LucideClock11:Bu,LucideClock12:Vu,LucideClock2:_u,LucideClock3:zu,LucideClock4:Pu,LucideClock5:qu,LucideClock6:Du,LucideClock7:Eu,LucideClock8:Tu,LucideClock9:Hu,LucideClockAlert:Ou,LucideClockArrowDown:ju,LucideClockArrowUp:Fu,LucideClockCheck:Ru,LucideClockFading:Nu,LucideClockPlus:Uu,LucideClosedCaption:$u,LucideCloud:cp,LucideCloudAlert:Wu,LucideCloudBackup:Gu,LucideCloudCheck:Xu,LucideCloudCog:Ku,LucideCloudDownload:Jn,LucideCloudDrizzle:Zu,LucideCloudFog:Yu,LucideCloudHail:Ju,LucideCloudLightning:Qu,LucideCloudMoon:tp,LucideCloudMoonRain:ep,LucideCloudOff:ap,LucideCloudRain:op,LucideCloudRainWind:np,LucideCloudSnow:rp,LucideCloudSun:sp,LucideCloudSunRain:ip,LucideCloudSync:lp,LucideCloudUpload:xa,LucideCloudy:dp,LucideClover:hp,LucideClub:up,LucideCode:pp,LucideCode2:Qn,LucideCodeSquare:Jr,LucideCodeXml:Qn,LucideCodepen:yp,LucideCodesandbox:fp,LucideCoffee:mp,LucideCog:kp,LucideCoins:gp,LucideColumns:eo,LucideColumns2:eo,LucideColumns3:to,LucideColumns3Cog:Tt,LucideColumns4:bp,LucideColumnsSettings:Tt,LucideCombine:xp,LucideCommand:Mp,LucideCompass:wp,LucideComponent:vp,LucideComputer:Cp,LucideConciergeBell:Lp,LucideCone:Sp,LucideConstruction:Ip,LucideContact:Ap,LucideContact2:ao,LucideContactRound:ao,LucideContainer:Bp,LucideContrast:Vp,LucideCookie:zp,LucideCookingPot:_p,LucideCopy:Hp,LucideCopyCheck:Pp,LucideCopyMinus:qp,LucideCopyPlus:Dp,LucideCopySlash:Tp,LucideCopyX:Ep,LucideCopyleft:Op,LucideCopyright:jp,LucideCornerDownLeft:Fp,LucideCornerDownRight:Np,LucideCornerLeftDown:Rp,LucideCornerLeftUp:Up,LucideCornerRightDown:$p,LucideCornerRightUp:Wp,LucideCornerUpLeft:Gp,LucideCornerUpRight:Xp,LucideCpu:xs,LucideCreativeCommons:Kp,LucideCreditCard:Zp,LucideCroissant:Yp,LucideCrop:Jp,LucideCross:Qp,LucideCrosshair:ty,LucideCrown:ey,LucideCuboid:ay,LucideCupSoda:ny,LucideCurlyBraces:nn,LucideCurrency:oy,LucideCylinder:ry,LucideDam:iy,LucideDatabase:dy,LucideDatabaseBackup:sy,LucideDatabaseSearch:ly,LucideDatabaseZap:cy,LucideDecimalsArrowLeft:hy,LucideDecimalsArrowRight:uy,LucideDelete:py,LucideDessert:yy,LucideDiameter:fy,LucideDiamond:gy,LucideDiamondMinus:my,LucideDiamondPercent:no,LucideDiamondPlus:ky,LucideDice1:by,LucideDice2:xy,LucideDice3:My,LucideDice4:wy,LucideDice5:vy,LucideDice6:Cy,LucideDices:Ly,LucideDiff:Sy,LucideDisc:Vy,LucideDisc2:Iy,LucideDisc3:Ay,LucideDiscAlbum:By,LucideDivide:_y,LucideDivideCircle:Dn,LucideDivideSquare:ni,LucideDna:Py,LucideDnaOff:zy,LucideDock:qy,LucideDog:Ey,LucideDollarSign:Dy,LucideDonut:Hy,LucideDoorClosed:Oy,LucideDoorClosedLocked:Ty,LucideDoorOpen:jy,LucideDot:Fy,LucideDotSquare:ai,LucideDownload:ol,LucideDownloadCloud:Jn,LucideDraftingCompass:Ry,LucideDrama:Uy,LucideDribbble:Ny,LucideDrill:$y,LucideDrone:Wy,LucideDroplet:Xy,LucideDropletOff:Gy,LucideDroplets:Ky,LucideDrum:Zy,LucideDrumstick:Yy,LucideDumbbell:Jy,LucideEar:ef,LucideEarOff:Qy,LucideEarth:oo,LucideEarthLock:tf,LucideEclipse:af,LucideEdit:at,LucideEdit2:fr,LucideEdit3:yr,LucideEgg:of,LucideEggFried:nf,LucideEggOff:rf,LucideEllipsis:Ma,LucideEllipsisVertical:ro,LucideEqual:cf,LucideEqualApproximately:lf,LucideEqualNot:sf,LucideEqualSquare:oi,LucideEraser:df,LucideEthernetPort:hf,LucideEuro:uf,LucideEvCharger:pf,LucideExpand:yf,LucideExternalLink:ff,LucideEye:Ms,LucideEyeClosed:mf,LucideEyeOff:rl,LucideFacebook:kf,LucideFactory:gf,LucideFan:bf,LucideFastForward:xf,LucideFeather:Mf,LucideFence:wf,LucideFerrisWheel:vf,LucideFigma:Cf,LucideFile:Jf,LucideFileArchive:Lf,LucideFileAudio:Ht,LucideFileAudio2:Ht,LucideFileAxis3D:io,LucideFileAxis3d:io,LucideFileBadge:so,LucideFileBadge2:so,LucideFileBarChart:ho,LucideFileBarChart2:uo,LucideFileBox:Sf,LucideFileBraces:co,LucideFileBracesCorner:lo,LucideFileChartColumn:uo,LucideFileChartColumnIncreasing:ho,LucideFileChartLine:po,LucideFileChartPie:yo,LucideFileCheck:If,LucideFileCheck2:fo,LucideFileCheckCorner:fo,LucideFileClock:Af,LucideFileCode:Bf,LucideFileCode2:mo,LucideFileCodeCorner:mo,LucideFileCog:ko,LucideFileCog2:ko,LucideFileDiff:Vf,LucideFileDigit:zf,LucideFileDown:_f,LucideFileEdit:Co,LucideFileExclamationPoint:go,LucideFileHeadphone:Ht,LucideFileHeart:Pf,LucideFileImage:qf,LucideFileInput:Df,LucideFileJson:co,LucideFileJson2:lo,LucideFileKey:bo,LucideFileKey2:bo,LucideFileLineChart:po,LucideFileLock:xo,LucideFileLock2:xo,LucideFileMinus:Tf,LucideFileMinus2:Mo,LucideFileMinusCorner:Mo,LucideFileMusic:Ef,LucideFileOutput:Hf,LucideFilePen:Co,LucideFilePenLine:wo,LucideFilePieChart:yo,LucideFilePlay:vo,LucideFilePlus:Of,LucideFilePlus2:Lo,LucideFilePlusCorner:Lo,LucideFileQuestion:So,LucideFileQuestionMark:So,LucideFileScan:jf,LucideFileSearch:Ff,LucideFileSearch2:Io,LucideFileSearchCorner:Io,LucideFileSignal:Ao,LucideFileSignature:wo,LucideFileSliders:Rf,LucideFileSpreadsheet:Nf,LucideFileStack:Uf,LucideFileSymlink:$f,LucideFileTerminal:Wf,LucideFileText:ws,LucideFileType:Gf,LucideFileType2:Bo,LucideFileTypeCorner:Bo,LucideFileUp:Xf,LucideFileUser:Kf,LucideFileVideo:vo,LucideFileVideo2:Vo,LucideFileVideoCamera:Vo,LucideFileVolume:Zf,LucideFileVolume2:Ao,LucideFileWarning:go,LucideFileX:Yf,LucideFileX2:_o,LucideFileXCorner:_o,LucideFiles:em,LucideFilm:Qf,LucideFilter:Eo,LucideFilterX:Do,LucideFingerprint:zo,LucideFingerprintPattern:zo,LucideFireExtinguisher:tm,LucideFish:om,LucideFishOff:am,LucideFishSymbol:nm,LucideFishingHook:rm,LucideFlag:cm,LucideFlagOff:im,LucideFlagTriangleLeft:sm,LucideFlagTriangleRight:lm,LucideFlame:hm,LucideFlameKindling:dm,LucideFlashlight:pm,LucideFlashlightOff:um,LucideFlaskConical:fm,LucideFlaskConicalOff:ym,LucideFlaskRound:mm,LucideFlipHorizontal:Ur,LucideFlipHorizontal2:km,LucideFlipVertical:$r,LucideFlipVertical2:gm,LucideFlower:xm,LucideFlower2:bm,LucideFocus:Mm,LucideFoldHorizontal:wm,LucideFoldVertical:vm,LucideFolder:Ym,LucideFolderArchive:Cm,LucideFolderCheck:Lm,LucideFolderClock:Sm,LucideFolderClosed:Im,LucideFolderCode:Am,LucideFolderCog:Po,LucideFolderCog2:Po,LucideFolderDot:Bm,LucideFolderDown:Vm,LucideFolderEdit:qo,LucideFolderGit:zm,LucideFolderGit2:_m,LucideFolderHeart:Pm,LucideFolderInput:qm,LucideFolderKanban:Em,LucideFolderKey:Dm,LucideFolderLock:Tm,LucideFolderMinus:jm,LucideFolderOpen:Om,LucideFolderOpenDot:Hm,LucideFolderOutput:Fm,LucideFolderPen:qo,LucideFolderPlus:Um,LucideFolderRoot:Rm,LucideFolderSearch:$m,LucideFolderSearch2:Nm,LucideFolderSymlink:Gm,LucideFolderSync:Wm,LucideFolderTree:Xm,LucideFolderUp:Km,LucideFolderX:Zm,LucideFolders:Jm,LucideFootprints:Qm,LucideForkKnife:Zi,LucideForkKnifeCrossed:Ki,LucideForklift:ek,LucideForm:tk,LucideFormInput:gr,LucideForward:nk,LucideFrame:ak,LucideFramer:ok,LucideFrown:rk,LucideFuel:ik,LucideFullscreen:sk,LucideFunctionSquare:ri,LucideFunnel:Eo,LucideFunnelPlus:lk,LucideFunnelX:Do,LucideGalleryHorizontal:dk,LucideGalleryHorizontalEnd:ck,LucideGalleryThumbnails:hk,LucideGalleryVertical:pk,LucideGalleryVerticalEnd:uk,LucideGamepad:kk,LucideGamepad2:yk,LucideGamepadDirectional:fk,LucideGanttChart:kn,LucideGanttChartSquare:Rt,LucideGauge:mk,LucideGaugeCircle:En,LucideGavel:gk,LucideGem:bk,LucideGeorgianLari:xk,LucideGhost:Mk,LucideGift:wk,LucideGitBranch:Lk,LucideGitBranchMinus:vk,LucideGitBranchPlus:Ck,LucideGitCommit:To,LucideGitCommitHorizontal:To,LucideGitCommitVertical:Sk,LucideGitCompare:Ak,LucideGitCompareArrows:Ik,LucideGitFork:Bk,LucideGitGraph:Vk,LucideGitMerge:zk,LucideGitMergeConflict:_k,LucideGitPullRequest:Hk,LucideGitPullRequestArrow:Pk,LucideGitPullRequestClosed:qk,LucideGitPullRequestCreate:Ek,LucideGitPullRequestCreateArrow:Dk,LucideGitPullRequestDraft:Tk,LucideGithub:Ok,LucideGitlab:jk,LucideGlassWater:Fk,LucideGlasses:Rk,LucideGlobe:il,LucideGlobe2:oo,LucideGlobeLock:Nk,LucideGlobeOff:Uk,LucideGlobeX:$k,LucideGoal:Wk,LucideGpu:Xk,LucideGrab:Ro,LucideGraduationCap:Gk,LucideGrape:Kk,LucideGrid:Ot,LucideGrid2X2:Fo,LucideGrid2X2Check:Ho,LucideGrid2X2Plus:jo,LucideGrid2X2X:Oo,LucideGrid2x2:Fo,LucideGrid2x2Check:Ho,LucideGrid2x2Plus:jo,LucideGrid2x2X:Oo,LucideGrid3X3:Ot,LucideGrid3x2:Zk,LucideGrid3x3:Ot,LucideGrip:Qk,LucideGripHorizontal:Yk,LucideGripVertical:Jk,LucideGroup:tg,LucideGuitar:eg,LucideHam:ag,LucideHamburger:ng,LucideHammer:og,LucideHand:dg,LucideHandCoins:rg,LucideHandFist:ig,LucideHandGrab:Ro,LucideHandHeart:sg,LucideHandHelping:No,LucideHandMetal:lg,LucideHandPlatter:cg,LucideHandbag:hg,LucideHandshake:ug,LucideHardDrive:fg,LucideHardDriveDownload:pg,LucideHardDriveUpload:yg,LucideHardHat:mg,LucideHash:kg,LucideHatGlasses:gg,LucideHaze:bg,LucideHd:xg,LucideHdmiPort:Mg,LucideHeading:Ag,LucideHeading1:wg,LucideHeading2:vg,LucideHeading3:Cg,LucideHeading4:Lg,LucideHeading5:Sg,LucideHeading6:Ig,LucideHeadphoneOff:Bg,LucideHeadphones:Vg,LucideHeadset:_g,LucideHeart:Hg,LucideHeartCrack:zg,LucideHeartHandshake:qg,LucideHeartMinus:Pg,LucideHeartOff:Dg,LucideHeartPlus:Eg,LucideHeartPulse:Tg,LucideHeater:Og,LucideHelicopter:jg,LucideHelpCircle:Et,LucideHelpingHand:No,LucideHexagon:Fg,LucideHighlighter:Rg,LucideHistory:Ng,LucideHome:Uo,LucideHop:$g,LucideHopOff:Ug,LucideHospital:Wg,LucideHotel:Gg,LucideHourglass:Xg,LucideHouse:Uo,LucideHouseHeart:Kg,LucideHousePlug:Zg,LucideHousePlus:Yg,LucideHouseWifi:Jg,LucideIceCream:Wo,LucideIceCream2:$o,LucideIceCreamBowl:$o,LucideIceCreamCone:Wo,LucideIdCard:e4,LucideIdCardLanyard:Qg,LucideImage:l4,LucideImageDown:t4,LucideImageMinus:a4,LucideImageOff:n4,LucideImagePlay:o4,LucideImagePlus:r4,LucideImageUp:i4,LucideImageUpscale:s4,LucideImages:c4,LucideImport:h4,LucideInbox:d4,LucideIndent:Ft,LucideIndentDecrease:jt,LucideIndentIncrease:Ft,LucideIndianRupee:u4,LucideInfinity:p4,LucideInfo:y4,LucideInspect:hi,LucideInspectionPanel:f4,LucideInstagram:m4,LucideItalic:k4,LucideIterationCcw:g4,LucideIterationCw:b4,LucideJapaneseYen:x4,LucideJoystick:M4,LucideKanban:w4,LucideKanbanSquare:ii,LucideKanbanSquareDashed:Qr,LucideKayak:v4,LucideKey:I4,LucideKeyRound:C4,LucideKeySquare:L4,LucideKeyboard:B4,LucideKeyboardMusic:S4,LucideKeyboardOff:A4,LucideLamp:D4,LucideLampCeiling:V4,LucideLampDesk:_4,LucideLampFloor:P4,LucideLampWallDown:z4,LucideLampWallUp:q4,LucideLandPlot:E4,LucideLandmark:H4,LucideLanguages:T4,LucideLaptop:j4,LucideLaptop2:Go,LucideLaptopMinimal:Go,LucideLaptopMinimalCheck:O4,LucideLasso:R4,LucideLassoSelect:F4,LucideLaugh:N4,LucideLayers:Xo,LucideLayers2:U4,LucideLayers3:Xo,LucideLayersPlus:$4,LucideLayout:pr,LucideLayoutDashboard:W4,LucideLayoutGrid:G4,LucideLayoutList:X4,LucideLayoutPanelLeft:K4,LucideLayoutPanelTop:Z4,LucideLayoutTemplate:Y4,LucideLeaf:J4,LucideLeafyGreen:Q4,LucideLectern:e5,LucideLensConcave:t5,LucideLensConvex:a5,LucideLetterText:Pi,LucideLibrary:i5,LucideLibraryBig:n5,LucideLibrarySquare:si,LucideLifeBuoy:r5,LucideLigature:o5,LucideLightbulb:l5,LucideLightbulbOff:s5,LucideLineChart:pn,LucideLineDotRightHorizontal:c5,LucideLineSquiggle:d5,LucideLink:sl,LucideLink2:u5,LucideLink2Off:h5,LucideLinkedin:p5,LucideList:z5,LucideListCheck:y5,LucideListChecks:f5,LucideListChevronsDownUp:k5,LucideListChevronsUpDown:m5,LucideListCollapse:g5,LucideListEnd:b5,LucideListFilter:x5,LucideListFilterPlus:M5,LucideListIndentDecrease:jt,LucideListIndentIncrease:Ft,LucideListMinus:L5,LucideListMusic:w5,LucideListOrdered:v5,LucideListPlus:C5,LucideListRestart:S5,LucideListStart:I5,LucideListTodo:B5,LucideListTree:A5,LucideListVideo:V5,LucideListX:_5,LucideLoader:q5,LucideLoader2:St,LucideLoaderCircle:St,LucideLoaderPinwheel:P5,LucideLocate:T5,LucideLocateFixed:D5,LucideLocateOff:E5,LucideLocationEdit:Jo,LucideLock:O5,LucideLockKeyhole:H5,LucideLockKeyholeOpen:Ko,LucideLockOpen:Zo,LucideLogIn:j5,LucideLogOut:F5,LucideLogs:R5,LucideLollipop:N5,LucideLuggage:U5,LucideMSquare:li,LucideMagnet:$5,LucideMail:Q5,LucideMailCheck:W5,LucideMailMinus:X5,LucideMailOpen:G5,LucideMailPlus:K5,LucideMailQuestion:Yo,LucideMailQuestionMark:Yo,LucideMailSearch:Z5,LucideMailWarning:J5,LucideMailX:Y5,LucideMailbox:a3,LucideMails:e3,LucideMap:f3,LucideMapMinus:t3,LucideMapPin:ll,LucideMapPinCheck:n3,LucideMapPinCheckInside:o3,LucideMapPinHouse:r3,LucideMapPinMinus:s3,LucideMapPinMinusInside:i3,LucideMapPinOff:l3,LucideMapPinPen:Jo,LucideMapPinPlus:d3,LucideMapPinPlusInside:c3,LucideMapPinX:h3,LucideMapPinXInside:u3,LucideMapPinned:p3,LucideMapPlus:y3,LucideMars:g3,LucideMarsStroke:m3,LucideMartini:k3,LucideMaximize:x3,LucideMaximize2:b3,LucideMedal:M3,LucideMegaphone:v3,LucideMegaphoneOff:w3,LucideMeh:C3,LucideMemoryStick:L3,LucideMenu:S3,LucideMenuSquare:ci,LucideMerge:I3,LucideMessageCircle:H3,LucideMessageCircleCheck:A3,LucideMessageCircleCode:B3,LucideMessageCircleDashed:V3,LucideMessageCircleHeart:_3,LucideMessageCircleMore:P3,LucideMessageCircleOff:z3,LucideMessageCirclePlus:q3,LucideMessageCircleQuestion:Qo,LucideMessageCircleQuestionMark:Qo,LucideMessageCircleReply:D3,LucideMessageCircleWarning:E3,LucideMessageCircleX:T3,LucideMessageSquare:vs,LucideMessageSquareCheck:O3,LucideMessageSquareCode:j3,LucideMessageSquareDashed:F3,LucideMessageSquareDiff:R3,LucideMessageSquareDot:N3,LucideMessageSquareHeart:U3,LucideMessageSquareLock:$3,LucideMessageSquareMore:W3,LucideMessageSquareOff:G3,LucideMessageSquarePlus:X3,LucideMessageSquareQuote:K3,LucideMessageSquareReply:Z3,LucideMessageSquareShare:Y3,LucideMessageSquareText:Q3,LucideMessageSquareWarning:J3,LucideMessageSquareX:e6,LucideMessagesSquare:t6,LucideMetronome:a6,LucideMic:o6,LucideMic2:er,LucideMicOff:n6,LucideMicVocal:er,LucideMicrochip:r6,LucideMicroscope:i6,LucideMicrowave:s6,LucideMilestone:l6,LucideMilk:d6,LucideMilkOff:c6,LucideMinimize:h6,LucideMinimize2:u6,LucideMinus:cl,LucideMinusCircle:Tn,LucideMinusSquare:di,LucideMirrorRectangular:p6,LucideMirrorRound:y6,LucideMonitor:A6,LucideMonitorCheck:f6,LucideMonitorCloud:m6,LucideMonitorCog:k6,LucideMonitorDot:g6,LucideMonitorDown:b6,LucideMonitorOff:x6,LucideMonitorPause:M6,LucideMonitorPlay:w6,LucideMonitorSmartphone:v6,LucideMonitorSpeaker:C6,LucideMonitorStop:L6,LucideMonitorUp:S6,LucideMonitorX:I6,LucideMoon:V6,LucideMoonStar:B6,LucideMoreHorizontal:Ma,LucideMoreVertical:ro,LucideMotorbike:_6,LucideMountain:P6,LucideMountainSnow:z6,LucideMouse:R6,LucideMouseLeft:q6,LucideMouseOff:D6,LucideMousePointer:j6,LucideMousePointer2:T6,LucideMousePointer2Off:E6,LucideMousePointerBan:H6,LucideMousePointerClick:O6,LucideMousePointerSquareDashed:ei,LucideMouseRight:F6,LucideMove:t8,LucideMove3D:tr,LucideMove3d:tr,LucideMoveDiagonal:U6,LucideMoveDiagonal2:N6,LucideMoveDown:G6,LucideMoveDownLeft:$6,LucideMoveDownRight:W6,LucideMoveHorizontal:X6,LucideMoveLeft:K6,LucideMoveRight:Y6,LucideMoveUp:Q6,LucideMoveUpLeft:Z6,LucideMoveUpRight:J6,LucideMoveVertical:e8,LucideMusic:r8,LucideMusic2:a8,LucideMusic3:n8,LucideMusic4:o8,LucideNavigation:c8,LucideNavigation2:s8,LucideNavigation2Off:i8,LucideNavigationOff:l8,LucideNetwork:d8,LucideNewspaper:h8,LucideNfc:u8,LucideNonBinary:p8,LucideNotebook:k8,LucideNotebookPen:f8,LucideNotebookTabs:y8,LucideNotebookText:m8,LucideNotepadText:b8,LucideNotepadTextDashed:g8,LucideNut:M8,LucideNutOff:x8,LucideOctagon:v8,LucideOctagonAlert:ar,LucideOctagonMinus:w8,LucideOctagonPause:nr,LucideOctagonX:or,LucideOmega:C8,LucideOption:L8,LucideOrbit:S8,LucideOrigami:I8,LucideOutdent:jt,LucidePackage:D8,LucidePackage2:A8,LucidePackageCheck:V8,LucidePackageMinus:B8,LucidePackageOpen:_8,LucidePackagePlus:z8,LucidePackageSearch:P8,LucidePackageX:q8,LucidePaintBucket:E8,LucidePaintRoller:T8,LucidePaintbrush:H8,LucidePaintbrush2:rr,LucidePaintbrushVertical:rr,LucidePalette:O8,LucidePalmtree:Hi,LucidePanda:j8,LucidePanelBottom:N8,LucidePanelBottomClose:F8,LucidePanelBottomDashed:ir,LucidePanelBottomInactive:ir,LucidePanelBottomOpen:R8,LucidePanelLeft:dr,LucidePanelLeftClose:lr,LucidePanelLeftDashed:sr,LucidePanelLeftInactive:sr,LucidePanelLeftOpen:cr,LucidePanelLeftRightDashed:U8,LucidePanelRight:G8,LucidePanelRightClose:$8,LucidePanelRightDashed:hr,LucidePanelRightInactive:hr,LucidePanelRightOpen:W8,LucidePanelTop:Y8,LucidePanelTopBottomDashed:X8,LucidePanelTopClose:K8,LucidePanelTopDashed:ur,LucidePanelTopInactive:ur,LucidePanelTopOpen:Z8,LucidePanelsLeftBottom:J8,LucidePanelsLeftRight:to,LucidePanelsRightBottom:Q8,LucidePanelsTopBottom:Mr,LucidePanelsTopLeft:pr,LucidePaperclip:e7,LucideParentheses:t7,LucideParkingCircle:On,LucideParkingCircleOff:Hn,LucideParkingMeter:a7,LucideParkingSquare:pi,LucideParkingSquareOff:ui,LucidePartyPopper:n7,LucidePause:o7,LucidePauseCircle:jn,LucidePauseOctagon:nr,LucidePawPrint:r7,LucidePcCase:i7,LucidePen:fr,LucidePenBox:at,LucidePenLine:yr,LucidePenOff:s7,LucidePenSquare:at,LucidePenTool:l7,LucidePencil:mr,LucidePencilLine:c7,LucidePencilOff:d7,LucidePencilRuler:h7,LucidePentagon:u7,LucidePercent:p7,LucidePercentCircle:Fn,LucidePercentDiamond:no,LucidePercentSquare:yi,LucidePersonStanding:y7,LucidePhilippinePeso:f7,LucidePhone:dl,LucidePhoneCall:m7,LucidePhoneForwarded:k7,LucidePhoneIncoming:g7,LucidePhoneMissed:x7,LucidePhoneOff:b7,LucidePhoneOutgoing:M7,LucidePi:w7,LucidePiSquare:fi,LucidePiano:v7,LucidePickaxe:C7,LucidePictureInPicture:S7,LucidePictureInPicture2:L7,LucidePieChart:mn,LucidePiggyBank:I7,LucidePilcrow:V7,LucidePilcrowLeft:A7,LucidePilcrowRight:B7,LucidePilcrowSquare:mi,LucidePill:D7,LucidePillBottle:_7,LucidePin:P7,LucidePinOff:z7,LucidePipette:q7,LucidePizza:E7,LucidePlane:hl,LucidePlaneLanding:T7,LucidePlaneTakeoff:H7,LucidePlay:O7,LucidePlayCircle:Rn,LucidePlaySquare:ki,LucidePlug:F7,LucidePlug2:j7,LucidePlugZap:kr,LucidePlugZap2:kr,LucidePlus:ul,LucidePlusCircle:Nn,LucidePlusSquare:gi,LucidePocket:N7,LucidePocketKnife:R7,LucidePodcast:U7,LucidePointer:W7,LucidePointerOff:$7,LucidePopcorn:G7,LucidePopsicle:X7,LucidePoundSterling:Z7,LucidePower:Y7,LucidePowerCircle:Un,LucidePowerOff:K7,LucidePowerSquare:bi,LucidePresentation:J7,LucidePrinter:tb,LucidePrinterCheck:Q7,LucidePrinterX:eb,LucideProjector:ab,LucideProportions:rb,LucidePuzzle:nb,LucidePyramid:ob,LucideQrCode:ib,LucideQuote:sb,LucideRabbit:cb,LucideRadar:lb,LucideRadiation:hb,LucideRadical:db,LucideRadio:yb,LucideRadioReceiver:ub,LucideRadioTower:pb,LucideRadius:fb,LucideRailSymbol:mb,LucideRainbow:kb,LucideRat:gb,LucideRatio:bb,LucideReceipt:Bb,LucideReceiptCent:xb,LucideReceiptEuro:Mb,LucideReceiptIndianRupee:wb,LucideReceiptJapaneseYen:vb,LucideReceiptPoundSterling:Cb,LucideReceiptRussianRuble:Lb,LucideReceiptSwissFranc:Sb,LucideReceiptText:Ib,LucideReceiptTurkishLira:Ab,LucideRectangleCircle:Vb,LucideRectangleEllipsis:gr,LucideRectangleGoggles:_b,LucideRectangleHorizontal:zb,LucideRectangleVertical:Pb,LucideRecycle:qb,LucideRedo:Eb,LucideRedo2:Db,LucideRedoDot:Tb,LucideRefreshCcw:Ob,LucideRefreshCcwDot:Hb,LucideRefreshCw:Cs,LucideRefreshCwOff:jb,LucideRefrigerator:Rb,LucideRegex:Fb,LucideRemoveFormatting:Nb,LucideRepeat:$b,LucideRepeat1:Ub,LucideRepeat2:Gb,LucideReplace:Xb,LucideReplaceAll:Wb,LucideReply:Zb,LucideReplyAll:Kb,LucideRewind:Jb,LucideRibbon:Yb,LucideRocket:Qb,LucideRockingChair:ex,LucideRollerCoaster:tx,LucideRose:ax,LucideRotate3D:br,LucideRotate3d:br,LucideRotateCcw:rx,LucideRotateCcwKey:nx,LucideRotateCcwSquare:ox,LucideRotateCw:sx,LucideRotateCwSquare:ix,LucideRoute:cx,LucideRouteOff:lx,LucideRouter:dx,LucideRows:xr,LucideRows2:xr,LucideRows3:Mr,LucideRows4:hx,LucideRss:ux,LucideRuler:px,LucideRulerDimensionLine:yx,LucideRussianRuble:fx,LucideSailboat:mx,LucideSalad:kx,LucideSandwich:bx,LucideSatellite:xx,LucideSatelliteDish:gx,LucideSaudiRiyal:Mx,LucideSave:Cx,LucideSaveAll:vx,LucideSaveOff:wx,LucideScale:Lx,LucideScale3D:wr,LucideScale3d:wr,LucideScaling:Sx,LucideScan:qx,LucideScanBarcode:Ix,LucideScanEye:Ax,LucideScanFace:Bx,LucideScanHeart:Vx,LucideScanLine:_x,LucideScanQrCode:Px,LucideScanSearch:zx,LucideScanText:Dx,LucideScatterChart:gn,LucideSchool:Ex,LucideSchool2:Fi,LucideScissors:Ox,LucideScissorsLineDashed:Tx,LucideScissorsSquare:xi,LucideScissorsSquareDashedBottom:Nr,LucideScooter:Hx,LucideScreenShare:Fx,LucideScreenShareOff:jx,LucideScroll:Nx,LucideScrollText:Rx,LucideSearch:vr,LucideSearchAlert:Ux,LucideSearchCheck:Wx,LucideSearchCode:$x,LucideSearchSlash:Gx,LucideSearchX:Xx,LucideSection:Kx,LucideSend:Yx,LucideSendHorizonal:Cr,LucideSendHorizontal:Cr,LucideSendToBack:Zx,LucideSeparatorHorizontal:Jx,LucideSeparatorVertical:Qx,LucideServer:pl,LucideServerCog:eM,LucideServerCrash:tM,LucideServerOff:nM,LucideSettings:oM,LucideSettings2:aM,LucideShapes:rM,LucideShare:iM,LucideShare2:yl,LucideSheet:sM,LucideShell:lM,LucideShelvingUnit:cM,LucideShield:bM,LucideShieldAlert:dM,LucideShieldBan:hM,LucideShieldCheck:uM,LucideShieldClose:Sr,LucideShieldEllipsis:pM,LucideShieldHalf:yM,LucideShieldMinus:kM,LucideShieldOff:fM,LucideShieldPlus:mM,LucideShieldQuestion:Lr,LucideShieldQuestionMark:Lr,LucideShieldUser:gM,LucideShieldX:Sr,LucideShip:MM,LucideShipWheel:xM,LucideShirt:wM,LucideShoppingBag:vM,LucideShoppingBasket:CM,LucideShoppingCart:fl,LucideShovel:SM,LucideShowerHead:LM,LucideShredder:IM,LucideShrimp:AM,LucideShrink:BM,LucideShrub:VM,LucideShuffle:_M,LucideSidebar:dr,LucideSidebarClose:lr,LucideSidebarOpen:cr,LucideSigma:zM,LucideSigmaSquare:Mi,LucideSignal:TM,LucideSignalHigh:PM,LucideSignalLow:qM,LucideSignalMedium:DM,LucideSignalZero:EM,LucideSignature:HM,LucideSignpost:jM,LucideSignpostBig:OM,LucideSiren:FM,LucideSkipBack:NM,LucideSkipForward:RM,LucideSkull:$M,LucideSlack:UM,LucideSlash:WM,LucideSlashSquare:wi,LucideSlice:GM,LucideSliders:Ir,LucideSlidersHorizontal:ml,LucideSlidersVertical:Ir,LucideSmartphone:ZM,LucideSmartphoneCharging:XM,LucideSmartphoneNfc:KM,LucideSmile:JM,LucideSmilePlus:YM,LucideSnail:QM,LucideSnowflake:e9,LucideSoapDispenserDroplet:t9,LucideSofa:a9,LucideSolarPanel:n9,LucideSortAsc:Ka,LucideSortDesc:Wa,LucideSoup:o9,LucideSpace:r9,LucideSpade:i9,LucideSparkle:s9,LucideSparkles:Ar,LucideSpeaker:l9,LucideSpeech:c9,LucideSpellCheck:u9,LucideSpellCheck2:d9,LucideSpline:p9,LucideSplinePointer:h9,LucideSplit:y9,LucideSplitSquareHorizontal:vi,LucideSplitSquareVertical:Ci,LucideSpool:f9,LucideSpotlight:m9,LucideSprayCan:k9,LucideSprout:g9,LucideSquare:z9,LucideSquareActivity:Br,LucideSquareArrowDown:zr,LucideSquareArrowDownLeft:Vr,LucideSquareArrowDownRight:_r,LucideSquareArrowLeft:Pr,LucideSquareArrowOutDownLeft:qr,LucideSquareArrowOutDownRight:Dr,LucideSquareArrowOutUpLeft:Er,LucideSquareArrowOutUpRight:Tr,LucideSquareArrowRight:Hr,LucideSquareArrowRightEnter:b9,LucideSquareArrowRightExit:x9,LucideSquareArrowUp:Fr,LucideSquareArrowUpLeft:jr,LucideSquareArrowUpRight:Or,LucideSquareAsterisk:Rr,LucideSquareBottomDashedScissors:Nr,LucideSquareCenterlineDashedHorizontal:Ur,LucideSquareCenterlineDashedVertical:$r,LucideSquareChartGantt:Rt,LucideSquareCheck:Gr,LucideSquareCheckBig:Wr,LucideSquareChevronDown:Xr,LucideSquareChevronLeft:Kr,LucideSquareChevronRight:Zr,LucideSquareChevronUp:Yr,LucideSquareCode:Jr,LucideSquareDashed:ti,LucideSquareDashedBottom:w9,LucideSquareDashedBottomCode:M9,LucideSquareDashedKanban:Qr,LucideSquareDashedMousePointer:ei,LucideSquareDashedTopSolid:v9,LucideSquareDivide:ni,LucideSquareDot:ai,LucideSquareEqual:oi,LucideSquareFunction:ri,LucideSquareGanttChart:Rt,LucideSquareKanban:ii,LucideSquareLibrary:si,LucideSquareM:li,LucideSquareMenu:ci,LucideSquareMinus:di,LucideSquareMousePointer:hi,LucideSquareParking:pi,LucideSquareParkingOff:ui,LucideSquarePause:C9,LucideSquarePen:at,LucideSquarePercent:yi,LucideSquarePi:fi,LucideSquarePilcrow:mi,LucideSquarePlay:ki,LucideSquarePlus:gi,LucideSquarePower:bi,LucideSquareRadical:S9,LucideSquareRoundCorner:L9,LucideSquareScissors:xi,LucideSquareSigma:Mi,LucideSquareSlash:wi,LucideSquareSplitHorizontal:vi,LucideSquareSplitVertical:Ci,LucideSquareSquare:I9,LucideSquareStack:A9,LucideSquareStar:V9,LucideSquareStop:B9,LucideSquareTerminal:Li,LucideSquareUser:Ai,LucideSquareUserRound:Si,LucideSquareX:Ii,LucideSquaresExclude:_9,LucideSquaresIntersect:P9,LucideSquaresSubtract:q9,LucideSquaresUnite:D9,LucideSquircle:T9,LucideSquircleDashed:E9,LucideSquirrel:H9,LucideStamp:O9,LucideStar:N9,LucideStarHalf:j9,LucideStarOff:F9,LucideStars:Ar,LucideStepBack:R9,LucideStepForward:U9,LucideStethoscope:$9,LucideSticker:W9,LucideStickyNote:G9,LucideStone:X9,LucideStopCircle:Wn,LucideStore:K9,LucideStretchHorizontal:Y9,LucideStretchVertical:Z9,LucideStrikethrough:J9,LucideSubscript:Q9,LucideSubtitles:on,LucideSun:ow,LucideSunDim:ew,LucideSunMedium:tw,LucideSunMoon:nw,LucideSunSnow:aw,LucideSunrise:rw,LucideSunset:iw,LucideSuperscript:sw,LucideSwatchBook:lw,LucideSwissFranc:cw,LucideSwitchCamera:hw,LucideSword:dw,LucideSwords:uw,LucideSyringe:pw,LucideTable:ww,LucideTable2:yw,LucideTableCellsMerge:fw,LucideTableCellsSplit:mw,LucideTableColumnsSplit:kw,LucideTableConfig:Tt,LucideTableOfContents:gw,LucideTableProperties:bw,LucideTableRowsSplit:xw,LucideTablet:Mw,LucideTabletSmartphone:vw,LucideTablets:Cw,LucideTag:Lw,LucideTags:Sw,LucideTally1:Iw,LucideTally2:Aw,LucideTally3:Bw,LucideTally4:Vw,LucideTally5:_w,LucideTangent:zw,LucideTarget:Pw,LucideTelescope:qw,LucideTent:Ew,LucideTentTree:Dw,LucideTerminal:Tw,LucideTerminalSquare:Li,LucideTestTube:Hw,LucideTestTube2:Bi,LucideTestTubeDiagonal:Bi,LucideTestTubes:Ow,LucideText:Nt,LucideTextAlignCenter:zi,LucideTextAlignEnd:Vi,LucideTextAlignJustify:_i,LucideTextAlignStart:Nt,LucideTextCursor:Fw,LucideTextCursorInput:jw,LucideTextInitial:Pi,LucideTextQuote:Nw,LucideTextSearch:Rw,LucideTextSelect:Di,LucideTextSelection:Di,LucideTextWrap:qi,LucideTheater:Uw,LucideThermometer:Gw,LucideThermometerSnowflake:$w,LucideThermometerSun:Ww,LucideThumbsDown:Kw,LucideThumbsUp:Xw,LucideTicket:nv,LucideTicketCheck:Zw,LucideTicketMinus:Yw,LucideTicketPercent:Jw,LucideTicketPlus:Qw,LucideTicketSlash:ev,LucideTicketX:tv,LucideTickets:ov,LucideTicketsPlane:av,LucideTimer:sv,LucideTimerOff:rv,LucideTimerReset:iv,LucideToggleLeft:kl,LucideToggleRight:lv,LucideToilet:cv,LucideToolCase:dv,LucideToolbox:hv,LucideTornado:uv,LucideTorus:pv,LucideTouchpad:fv,LucideTouchpadOff:yv,LucideTowelRack:mv,LucideTowerControl:kv,LucideToyBrick:gv,LucideTractor:bv,LucideTrafficCone:xv,LucideTrain:Ei,LucideTrainFront:Cv,LucideTrainFrontTunnel:Mv,LucideTrainTrack:wv,LucideTramFront:Ei,LucideTransgender:vv,LucideTrash:Lv,LucideTrash2:Ti,LucideTreeDeciduous:Sv,LucideTreePalm:Hi,LucideTreePine:Iv,LucideTrees:Av,LucideTrello:Bv,LucideTrendingDown:Vv,LucideTrendingUp:zv,LucideTrendingUpDown:_v,LucideTriangle:Ev,LucideTriangleAlert:Oi,LucideTriangleDashed:Pv,LucideTriangleRight:Dv,LucideTrophy:qv,LucideTruck:Hv,LucideTruckElectric:Tv,LucideTurkishLira:Ov,LucideTurntable:jv,LucideTurtle:Fv,LucideTv:Nv,LucideTv2:ji,LucideTvMinimal:ji,LucideTvMinimalPlay:Rv,LucideTwitch:Uv,LucideTwitter:Wv,LucideType:Gv,LucideTypeOutline:$v,LucideUmbrella:Kv,LucideUmbrellaOff:Xv,LucideUnderline:Zv,LucideUndo:Jv,LucideUndo2:Yv,LucideUndoDot:Qv,LucideUnfoldHorizontal:eC,LucideUnfoldVertical:tC,LucideUngroup:aC,LucideUniversity:Fi,LucideUnlink:oC,LucideUnlink2:nC,LucideUnlock:Zo,LucideUnlockKeyhole:Ko,LucideUnplug:rC,LucideUpload:iC,LucideUploadCloud:xa,LucideUsb:sC,LucideUser:gl,LucideUser2:Gi,LucideUserCheck:lC,LucideUserCheck2:Ri,LucideUserCircle:Xn,LucideUserCircle2:Gn,LucideUserCog:cC,LucideUserCog2:Ni,LucideUserKey:dC,LucideUserLock:hC,LucideUserMinus:uC,LucideUserMinus2:Ui,LucideUserPen:pC,LucideUserPlus:yC,LucideUserPlus2:$i,LucideUserRound:Gi,LucideUserRoundCheck:Ri,LucideUserRoundCog:Ni,LucideUserRoundKey:fC,LucideUserRoundMinus:Ui,LucideUserRoundPen:mC,LucideUserRoundPlus:$i,LucideUserRoundSearch:kC,LucideUserRoundX:Wi,LucideUserSearch:bC,LucideUserSquare:Ai,LucideUserSquare2:Si,LucideUserStar:gC,LucideUserX:xC,LucideUserX2:Wi,LucideUsers:MC,LucideUsers2:Xi,LucideUsersRound:Xi,LucideUtensils:Zi,LucideUtensilsCrossed:Ki,LucideUtilityPole:wC,LucideVan:vC,LucideVariable:LC,LucideVault:CC,LucideVectorSquare:SC,LucideVegan:IC,LucideVenetianMask:AC,LucideVenus:BC,LucideVenusAndMars:VC,LucideVerified:Ja,LucideVibrate:zC,LucideVibrateOff:_C,LucideVideo:qC,LucideVideoOff:PC,LucideVideotape:DC,LucideView:EC,LucideVoicemail:TC,LucideVolleyball:jC,LucideVolume:RC,LucideVolume1:HC,LucideVolume2:OC,LucideVolumeOff:FC,LucideVolumeX:NC,LucideVote:UC,LucideWallet:WC,LucideWallet2:Yi,LucideWalletCards:$C,LucideWalletMinimal:Yi,LucideWallpaper:GC,LucideWand:XC,LucideWand2:Ji,LucideWandSparkles:Ji,LucideWarehouse:KC,LucideWashingMachine:ZC,LucideWatch:YC,LucideWaves:tL,LucideWavesArrowDown:JC,LucideWavesArrowUp:QC,LucideWavesLadder:eL,LucideWaypoints:aL,LucideWebcam:nL,LucideWebhook:rL,LucideWebhookOff:oL,LucideWeight:sL,LucideWeightTilde:iL,LucideWheat:cL,LucideWheatOff:lL,LucideWholeWord:dL,LucideWifi:gL,LucideWifiCog:hL,LucideWifiHigh:uL,LucideWifiLow:yL,LucideWifiOff:pL,LucideWifiPen:fL,LucideWifiSync:mL,LucideWifiZero:kL,LucideWind:bL,LucideWindArrowDown:xL,LucideWine:ML,LucideWineOff:wL,LucideWorkflow:vL,LucideWorm:CL,LucideWrapText:qi,LucideWrench:LL,LucideX:pt,LucideXCircle:Kn,LucideXLineTop:SL,LucideXOctagon:or,LucideXSquare:Ii,LucideYoutube:IL,LucideZap:VL,LucideZapOff:AL,LucideZoomIn:BL,LucideZoomOut:_L,Luggage:U5,LuggageIcon:U5,MSquare:li,MSquareIcon:li,Magnet:$5,MagnetIcon:$5,Mail:Q5,MailCheck:W5,MailCheckIcon:W5,MailIcon:Q5,MailMinus:X5,MailMinusIcon:X5,MailOpen:G5,MailOpenIcon:G5,MailPlus:K5,MailPlusIcon:K5,MailQuestion:Yo,MailQuestionIcon:Yo,MailQuestionMark:Yo,MailQuestionMarkIcon:Yo,MailSearch:Z5,MailSearchIcon:Z5,MailWarning:J5,MailWarningIcon:J5,MailX:Y5,MailXIcon:Y5,Mailbox:a3,MailboxIcon:a3,Mails:e3,MailsIcon:e3,Map:f3,MapIcon:f3,MapMinus:t3,MapMinusIcon:t3,MapPin:ll,MapPinCheck:n3,MapPinCheckIcon:n3,MapPinCheckInside:o3,MapPinCheckInsideIcon:o3,MapPinHouse:r3,MapPinHouseIcon:r3,MapPinIcon:ll,MapPinMinus:s3,MapPinMinusIcon:s3,MapPinMinusInside:i3,MapPinMinusInsideIcon:i3,MapPinOff:l3,MapPinOffIcon:l3,MapPinPen:Jo,MapPinPenIcon:Jo,MapPinPlus:d3,MapPinPlusIcon:d3,MapPinPlusInside:c3,MapPinPlusInsideIcon:c3,MapPinX:h3,MapPinXIcon:h3,MapPinXInside:u3,MapPinXInsideIcon:u3,MapPinned:p3,MapPinnedIcon:p3,MapPlus:y3,MapPlusIcon:y3,Mars:g3,MarsIcon:g3,MarsStroke:m3,MarsStrokeIcon:m3,Martini:k3,MartiniIcon:k3,Maximize:x3,Maximize2:b3,Maximize2Icon:b3,MaximizeIcon:x3,Medal:M3,MedalIcon:M3,Megaphone:v3,MegaphoneIcon:v3,MegaphoneOff:w3,MegaphoneOffIcon:w3,Meh:C3,MehIcon:C3,MemoryStick:L3,MemoryStickIcon:L3,Menu:S3,MenuIcon:S3,MenuSquare:ci,MenuSquareIcon:ci,Merge:I3,MergeIcon:I3,MessageCircle:H3,MessageCircleCheck:A3,MessageCircleCheckIcon:A3,MessageCircleCode:B3,MessageCircleCodeIcon:B3,MessageCircleDashed:V3,MessageCircleDashedIcon:V3,MessageCircleHeart:_3,MessageCircleHeartIcon:_3,MessageCircleIcon:H3,MessageCircleMore:P3,MessageCircleMoreIcon:P3,MessageCircleOff:z3,MessageCircleOffIcon:z3,MessageCirclePlus:q3,MessageCirclePlusIcon:q3,MessageCircleQuestion:Qo,MessageCircleQuestionIcon:Qo,MessageCircleQuestionMark:Qo,MessageCircleQuestionMarkIcon:Qo,MessageCircleReply:D3,MessageCircleReplyIcon:D3,MessageCircleWarning:E3,MessageCircleWarningIcon:E3,MessageCircleX:T3,MessageCircleXIcon:T3,MessageSquare:vs,MessageSquareCheck:O3,MessageSquareCheckIcon:O3,MessageSquareCode:j3,MessageSquareCodeIcon:j3,MessageSquareDashed:F3,MessageSquareDashedIcon:F3,MessageSquareDiff:R3,MessageSquareDiffIcon:R3,MessageSquareDot:N3,MessageSquareDotIcon:N3,MessageSquareHeart:U3,MessageSquareHeartIcon:U3,MessageSquareIcon:vs,MessageSquareLock:$3,MessageSquareLockIcon:$3,MessageSquareMore:W3,MessageSquareMoreIcon:W3,MessageSquareOff:G3,MessageSquareOffIcon:G3,MessageSquarePlus:X3,MessageSquarePlusIcon:X3,MessageSquareQuote:K3,MessageSquareQuoteIcon:K3,MessageSquareReply:Z3,MessageSquareReplyIcon:Z3,MessageSquareShare:Y3,MessageSquareShareIcon:Y3,MessageSquareText:Q3,MessageSquareTextIcon:Q3,MessageSquareWarning:J3,MessageSquareWarningIcon:J3,MessageSquareX:e6,MessageSquareXIcon:e6,MessagesSquare:t6,MessagesSquareIcon:t6,Metronome:a6,MetronomeIcon:a6,Mic:o6,Mic2:er,Mic2Icon:er,MicIcon:o6,MicOff:n6,MicOffIcon:n6,MicVocal:er,MicVocalIcon:er,Microchip:r6,MicrochipIcon:r6,Microscope:i6,MicroscopeIcon:i6,Microwave:s6,MicrowaveIcon:s6,Milestone:l6,MilestoneIcon:l6,Milk:d6,MilkIcon:d6,MilkOff:c6,MilkOffIcon:c6,Minimize:h6,Minimize2:u6,Minimize2Icon:u6,MinimizeIcon:h6,Minus:cl,MinusCircle:Tn,MinusCircleIcon:Tn,MinusIcon:cl,MinusSquare:di,MinusSquareIcon:di,MirrorRectangular:p6,MirrorRectangularIcon:p6,MirrorRound:y6,MirrorRoundIcon:y6,Monitor:A6,MonitorCheck:f6,MonitorCheckIcon:f6,MonitorCloud:m6,MonitorCloudIcon:m6,MonitorCog:k6,MonitorCogIcon:k6,MonitorDot:g6,MonitorDotIcon:g6,MonitorDown:b6,MonitorDownIcon:b6,MonitorIcon:A6,MonitorOff:x6,MonitorOffIcon:x6,MonitorPause:M6,MonitorPauseIcon:M6,MonitorPlay:w6,MonitorPlayIcon:w6,MonitorSmartphone:v6,MonitorSmartphoneIcon:v6,MonitorSpeaker:C6,MonitorSpeakerIcon:C6,MonitorStop:L6,MonitorStopIcon:L6,MonitorUp:S6,MonitorUpIcon:S6,MonitorX:I6,MonitorXIcon:I6,Moon:V6,MoonIcon:V6,MoonStar:B6,MoonStarIcon:B6,MoreHorizontal:Ma,MoreHorizontalIcon:Ma,MoreVertical:ro,MoreVerticalIcon:ro,Motorbike:_6,MotorbikeIcon:_6,Mountain:P6,MountainIcon:P6,MountainSnow:z6,MountainSnowIcon:z6,Mouse:R6,MouseIcon:R6,MouseLeft:q6,MouseLeftIcon:q6,MouseOff:D6,MouseOffIcon:D6,MousePointer:j6,MousePointer2:T6,MousePointer2Icon:T6,MousePointer2Off:E6,MousePointer2OffIcon:E6,MousePointerBan:H6,MousePointerBanIcon:H6,MousePointerClick:O6,MousePointerClickIcon:O6,MousePointerIcon:j6,MousePointerSquareDashed:ei,MousePointerSquareDashedIcon:ei,MouseRight:F6,MouseRightIcon:F6,Move:t8,Move3D:tr,Move3DIcon:tr,Move3d:tr,Move3dIcon:tr,MoveDiagonal:U6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:U6,MoveDown:G6,MoveDownIcon:G6,MoveDownLeft:$6,MoveDownLeftIcon:$6,MoveDownRight:W6,MoveDownRightIcon:W6,MoveHorizontal:X6,MoveHorizontalIcon:X6,MoveIcon:t8,MoveLeft:K6,MoveLeftIcon:K6,MoveRight:Y6,MoveRightIcon:Y6,MoveUp:Q6,MoveUpIcon:Q6,MoveUpLeft:Z6,MoveUpLeftIcon:Z6,MoveUpRight:J6,MoveUpRightIcon:J6,MoveVertical:e8,MoveVerticalIcon:e8,Music:r8,Music2:a8,Music2Icon:a8,Music3:n8,Music3Icon:n8,Music4:o8,Music4Icon:o8,MusicIcon:r8,Navigation:c8,Navigation2:s8,Navigation2Icon:s8,Navigation2Off:i8,Navigation2OffIcon:i8,NavigationIcon:c8,NavigationOff:l8,NavigationOffIcon:l8,Network:d8,NetworkIcon:d8,Newspaper:h8,NewspaperIcon:h8,Nfc:u8,NfcIcon:u8,NonBinary:p8,NonBinaryIcon:p8,Notebook:k8,NotebookIcon:k8,NotebookPen:f8,NotebookPenIcon:f8,NotebookTabs:y8,NotebookTabsIcon:y8,NotebookText:m8,NotebookTextIcon:m8,NotepadText:b8,NotepadTextDashed:g8,NotepadTextDashedIcon:g8,NotepadTextIcon:b8,Nut:M8,NutIcon:M8,NutOff:x8,NutOffIcon:x8,Octagon:v8,OctagonAlert:ar,OctagonAlertIcon:ar,OctagonIcon:v8,OctagonMinus:w8,OctagonMinusIcon:w8,OctagonPause:nr,OctagonPauseIcon:nr,OctagonX:or,OctagonXIcon:or,Omega:C8,OmegaIcon:C8,Option:L8,OptionIcon:L8,Orbit:S8,OrbitIcon:S8,Origami:I8,OrigamiIcon:I8,Outdent:jt,OutdentIcon:jt,Package:D8,Package2:A8,Package2Icon:A8,PackageCheck:V8,PackageCheckIcon:V8,PackageIcon:D8,PackageMinus:B8,PackageMinusIcon:B8,PackageOpen:_8,PackageOpenIcon:_8,PackagePlus:z8,PackagePlusIcon:z8,PackageSearch:P8,PackageSearchIcon:P8,PackageX:q8,PackageXIcon:q8,PaintBucket:E8,PaintBucketIcon:E8,PaintRoller:T8,PaintRollerIcon:T8,Paintbrush:H8,Paintbrush2:rr,Paintbrush2Icon:rr,PaintbrushIcon:H8,PaintbrushVertical:rr,PaintbrushVerticalIcon:rr,Palette:O8,PaletteIcon:O8,Palmtree:Hi,PalmtreeIcon:Hi,Panda:j8,PandaIcon:j8,PanelBottom:N8,PanelBottomClose:F8,PanelBottomCloseIcon:F8,PanelBottomDashed:ir,PanelBottomDashedIcon:ir,PanelBottomIcon:N8,PanelBottomInactive:ir,PanelBottomInactiveIcon:ir,PanelBottomOpen:R8,PanelBottomOpenIcon:R8,PanelLeft:dr,PanelLeftClose:lr,PanelLeftCloseIcon:lr,PanelLeftDashed:sr,PanelLeftDashedIcon:sr,PanelLeftIcon:dr,PanelLeftInactive:sr,PanelLeftInactiveIcon:sr,PanelLeftOpen:cr,PanelLeftOpenIcon:cr,PanelLeftRightDashed:U8,PanelLeftRightDashedIcon:U8,PanelRight:G8,PanelRightClose:$8,PanelRightCloseIcon:$8,PanelRightDashed:hr,PanelRightDashedIcon:hr,PanelRightIcon:G8,PanelRightInactive:hr,PanelRightInactiveIcon:hr,PanelRightOpen:W8,PanelRightOpenIcon:W8,PanelTop:Y8,PanelTopBottomDashed:X8,PanelTopBottomDashedIcon:X8,PanelTopClose:K8,PanelTopCloseIcon:K8,PanelTopDashed:ur,PanelTopDashedIcon:ur,PanelTopIcon:Y8,PanelTopInactive:ur,PanelTopInactiveIcon:ur,PanelTopOpen:Z8,PanelTopOpenIcon:Z8,PanelsLeftBottom:J8,PanelsLeftBottomIcon:J8,PanelsLeftRight:to,PanelsLeftRightIcon:to,PanelsRightBottom:Q8,PanelsRightBottomIcon:Q8,PanelsTopBottom:Mr,PanelsTopBottomIcon:Mr,PanelsTopLeft:pr,PanelsTopLeftIcon:pr,Paperclip:e7,PaperclipIcon:e7,Parentheses:t7,ParenthesesIcon:t7,ParkingCircle:On,ParkingCircleIcon:On,ParkingCircleOff:Hn,ParkingCircleOffIcon:Hn,ParkingMeter:a7,ParkingMeterIcon:a7,ParkingSquare:pi,ParkingSquareIcon:pi,ParkingSquareOff:ui,ParkingSquareOffIcon:ui,PartyPopper:n7,PartyPopperIcon:n7,Pause:o7,PauseCircle:jn,PauseCircleIcon:jn,PauseIcon:o7,PauseOctagon:nr,PauseOctagonIcon:nr,PawPrint:r7,PawPrintIcon:r7,PcCase:i7,PcCaseIcon:i7,Pen:fr,PenBox:at,PenBoxIcon:at,PenIcon:fr,PenLine:yr,PenLineIcon:yr,PenOff:s7,PenOffIcon:s7,PenSquare:at,PenSquareIcon:at,PenTool:l7,PenToolIcon:l7,Pencil:mr,PencilIcon:mr,PencilLine:c7,PencilLineIcon:c7,PencilOff:d7,PencilOffIcon:d7,PencilRuler:h7,PencilRulerIcon:h7,Pentagon:u7,PentagonIcon:u7,Percent:p7,PercentCircle:Fn,PercentCircleIcon:Fn,PercentDiamond:no,PercentDiamondIcon:no,PercentIcon:p7,PercentSquare:yi,PercentSquareIcon:yi,PersonStanding:y7,PersonStandingIcon:y7,PhilippinePeso:f7,PhilippinePesoIcon:f7,Phone:dl,PhoneCall:m7,PhoneCallIcon:m7,PhoneForwarded:k7,PhoneForwardedIcon:k7,PhoneIcon:dl,PhoneIncoming:g7,PhoneIncomingIcon:g7,PhoneMissed:x7,PhoneMissedIcon:x7,PhoneOff:b7,PhoneOffIcon:b7,PhoneOutgoing:M7,PhoneOutgoingIcon:M7,Pi:w7,PiIcon:w7,PiSquare:fi,PiSquareIcon:fi,Piano:v7,PianoIcon:v7,Pickaxe:C7,PickaxeIcon:C7,PictureInPicture:S7,PictureInPicture2:L7,PictureInPicture2Icon:L7,PictureInPictureIcon:S7,PieChart:mn,PieChartIcon:mn,PiggyBank:I7,PiggyBankIcon:I7,Pilcrow:V7,PilcrowIcon:V7,PilcrowLeft:A7,PilcrowLeftIcon:A7,PilcrowRight:B7,PilcrowRightIcon:B7,PilcrowSquare:mi,PilcrowSquareIcon:mi,Pill:D7,PillBottle:_7,PillBottleIcon:_7,PillIcon:D7,Pin:P7,PinIcon:P7,PinOff:z7,PinOffIcon:z7,Pipette:q7,PipetteIcon:q7,Pizza:E7,PizzaIcon:E7,Plane:hl,PlaneIcon:hl,PlaneLanding:T7,PlaneLandingIcon:T7,PlaneTakeoff:H7,PlaneTakeoffIcon:H7,Play:O7,PlayCircle:Rn,PlayCircleIcon:Rn,PlayIcon:O7,PlaySquare:ki,PlaySquareIcon:ki,Plug:F7,Plug2:j7,Plug2Icon:j7,PlugIcon:F7,PlugZap:kr,PlugZap2:kr,PlugZap2Icon:kr,PlugZapIcon:kr,Plus:ul,PlusCircle:Nn,PlusCircleIcon:Nn,PlusIcon:ul,PlusSquare:gi,PlusSquareIcon:gi,Pocket:N7,PocketIcon:N7,PocketKnife:R7,PocketKnifeIcon:R7,Podcast:U7,PodcastIcon:U7,Pointer:W7,PointerIcon:W7,PointerOff:$7,PointerOffIcon:$7,Popcorn:G7,PopcornIcon:G7,Popsicle:X7,PopsicleIcon:X7,PoundSterling:Z7,PoundSterlingIcon:Z7,Power:Y7,PowerCircle:Un,PowerCircleIcon:Un,PowerIcon:Y7,PowerOff:K7,PowerOffIcon:K7,PowerSquare:bi,PowerSquareIcon:bi,Presentation:J7,PresentationIcon:J7,Printer:tb,PrinterCheck:Q7,PrinterCheckIcon:Q7,PrinterIcon:tb,PrinterX:eb,PrinterXIcon:eb,Projector:ab,ProjectorIcon:ab,Proportions:rb,ProportionsIcon:rb,Puzzle:nb,PuzzleIcon:nb,Pyramid:ob,PyramidIcon:ob,QrCode:ib,QrCodeIcon:ib,Quote:sb,QuoteIcon:sb,Rabbit:cb,RabbitIcon:cb,Radar:lb,RadarIcon:lb,Radiation:hb,RadiationIcon:hb,Radical:db,RadicalIcon:db,Radio:yb,RadioIcon:yb,RadioReceiver:ub,RadioReceiverIcon:ub,RadioTower:pb,RadioTowerIcon:pb,Radius:fb,RadiusIcon:fb,RailSymbol:mb,RailSymbolIcon:mb,Rainbow:kb,RainbowIcon:kb,Rat:gb,RatIcon:gb,Ratio:bb,RatioIcon:bb,Receipt:Bb,ReceiptCent:xb,ReceiptCentIcon:xb,ReceiptEuro:Mb,ReceiptEuroIcon:Mb,ReceiptIcon:Bb,ReceiptIndianRupee:wb,ReceiptIndianRupeeIcon:wb,ReceiptJapaneseYen:vb,ReceiptJapaneseYenIcon:vb,ReceiptPoundSterling:Cb,ReceiptPoundSterlingIcon:Cb,ReceiptRussianRuble:Lb,ReceiptRussianRubleIcon:Lb,ReceiptSwissFranc:Sb,ReceiptSwissFrancIcon:Sb,ReceiptText:Ib,ReceiptTextIcon:Ib,ReceiptTurkishLira:Ab,ReceiptTurkishLiraIcon:Ab,RectangleCircle:Vb,RectangleCircleIcon:Vb,RectangleEllipsis:gr,RectangleEllipsisIcon:gr,RectangleGoggles:_b,RectangleGogglesIcon:_b,RectangleHorizontal:zb,RectangleHorizontalIcon:zb,RectangleVertical:Pb,RectangleVerticalIcon:Pb,Recycle:qb,RecycleIcon:qb,Redo:Eb,Redo2:Db,Redo2Icon:Db,RedoDot:Tb,RedoDotIcon:Tb,RedoIcon:Eb,RefreshCcw:Ob,RefreshCcwDot:Hb,RefreshCcwDotIcon:Hb,RefreshCcwIcon:Ob,RefreshCw:Cs,RefreshCwIcon:Cs,RefreshCwOff:jb,RefreshCwOffIcon:jb,Refrigerator:Rb,RefrigeratorIcon:Rb,Regex:Fb,RegexIcon:Fb,RemoveFormatting:Nb,RemoveFormattingIcon:Nb,Repeat:$b,Repeat1:Ub,Repeat1Icon:Ub,Repeat2:Gb,Repeat2Icon:Gb,RepeatIcon:$b,Replace:Xb,ReplaceAll:Wb,ReplaceAllIcon:Wb,ReplaceIcon:Xb,Reply:Zb,ReplyAll:Kb,ReplyAllIcon:Kb,ReplyIcon:Zb,Rewind:Jb,RewindIcon:Jb,Ribbon:Yb,RibbonIcon:Yb,Rocket:Qb,RocketIcon:Qb,RockingChair:ex,RockingChairIcon:ex,RollerCoaster:tx,RollerCoasterIcon:tx,Rose:ax,RoseIcon:ax,Rotate3D:br,Rotate3DIcon:br,Rotate3d:br,Rotate3dIcon:br,RotateCcw:rx,RotateCcwIcon:rx,RotateCcwKey:nx,RotateCcwKeyIcon:nx,RotateCcwSquare:ox,RotateCcwSquareIcon:ox,RotateCw:sx,RotateCwIcon:sx,RotateCwSquare:ix,RotateCwSquareIcon:ix,Route:cx,RouteIcon:cx,RouteOff:lx,RouteOffIcon:lx,Router:dx,RouterIcon:dx,Rows:xr,Rows2:xr,Rows2Icon:xr,Rows3:Mr,Rows3Icon:Mr,Rows4:hx,Rows4Icon:hx,RowsIcon:xr,Rss:ux,RssIcon:ux,Ruler:px,RulerDimensionLine:yx,RulerDimensionLineIcon:yx,RulerIcon:px,RussianRuble:fx,RussianRubleIcon:fx,Sailboat:mx,SailboatIcon:mx,Salad:kx,SaladIcon:kx,Sandwich:bx,SandwichIcon:bx,Satellite:xx,SatelliteDish:gx,SatelliteDishIcon:gx,SatelliteIcon:xx,SaudiRiyal:Mx,SaudiRiyalIcon:Mx,Save:Cx,SaveAll:vx,SaveAllIcon:vx,SaveIcon:Cx,SaveOff:wx,SaveOffIcon:wx,Scale:Lx,Scale3D:wr,Scale3DIcon:wr,Scale3d:wr,Scale3dIcon:wr,ScaleIcon:Lx,Scaling:Sx,ScalingIcon:Sx,Scan:qx,ScanBarcode:Ix,ScanBarcodeIcon:Ix,ScanEye:Ax,ScanEyeIcon:Ax,ScanFace:Bx,ScanFaceIcon:Bx,ScanHeart:Vx,ScanHeartIcon:Vx,ScanIcon:qx,ScanLine:_x,ScanLineIcon:_x,ScanQrCode:Px,ScanQrCodeIcon:Px,ScanSearch:zx,ScanSearchIcon:zx,ScanText:Dx,ScanTextIcon:Dx,ScatterChart:gn,ScatterChartIcon:gn,School:Ex,School2:Fi,School2Icon:Fi,SchoolIcon:Ex,Scissors:Ox,ScissorsIcon:Ox,ScissorsLineDashed:Tx,ScissorsLineDashedIcon:Tx,ScissorsSquare:xi,ScissorsSquareDashedBottom:Nr,ScissorsSquareDashedBottomIcon:Nr,ScissorsSquareIcon:xi,Scooter:Hx,ScooterIcon:Hx,ScreenShare:Fx,ScreenShareIcon:Fx,ScreenShareOff:jx,ScreenShareOffIcon:jx,Scroll:Nx,ScrollIcon:Nx,ScrollText:Rx,ScrollTextIcon:Rx,Search:vr,SearchAlert:Ux,SearchAlertIcon:Ux,SearchCheck:Wx,SearchCheckIcon:Wx,SearchCode:$x,SearchCodeIcon:$x,SearchIcon:vr,SearchSlash:Gx,SearchSlashIcon:Gx,SearchX:Xx,SearchXIcon:Xx,Section:Kx,SectionIcon:Kx,Send:Yx,SendHorizonal:Cr,SendHorizonalIcon:Cr,SendHorizontal:Cr,SendHorizontalIcon:Cr,SendIcon:Yx,SendToBack:Zx,SendToBackIcon:Zx,SeparatorHorizontal:Jx,SeparatorHorizontalIcon:Jx,SeparatorVertical:Qx,SeparatorVerticalIcon:Qx,Server:pl,ServerCog:eM,ServerCogIcon:eM,ServerCrash:tM,ServerCrashIcon:tM,ServerIcon:pl,ServerOff:nM,ServerOffIcon:nM,Settings:oM,Settings2:aM,Settings2Icon:aM,SettingsIcon:oM,Shapes:rM,ShapesIcon:rM,Share:iM,Share2:yl,Share2Icon:yl,ShareIcon:iM,Sheet:sM,SheetIcon:sM,Shell:lM,ShellIcon:lM,ShelvingUnit:cM,ShelvingUnitIcon:cM,Shield:bM,ShieldAlert:dM,ShieldAlertIcon:dM,ShieldBan:hM,ShieldBanIcon:hM,ShieldCheck:uM,ShieldCheckIcon:uM,ShieldClose:Sr,ShieldCloseIcon:Sr,ShieldEllipsis:pM,ShieldEllipsisIcon:pM,ShieldHalf:yM,ShieldHalfIcon:yM,ShieldIcon:bM,ShieldMinus:kM,ShieldMinusIcon:kM,ShieldOff:fM,ShieldOffIcon:fM,ShieldPlus:mM,ShieldPlusIcon:mM,ShieldQuestion:Lr,ShieldQuestionIcon:Lr,ShieldQuestionMark:Lr,ShieldQuestionMarkIcon:Lr,ShieldUser:gM,ShieldUserIcon:gM,ShieldX:Sr,ShieldXIcon:Sr,Ship:MM,ShipIcon:MM,ShipWheel:xM,ShipWheelIcon:xM,Shirt:wM,ShirtIcon:wM,ShoppingBag:vM,ShoppingBagIcon:vM,ShoppingBasket:CM,ShoppingBasketIcon:CM,ShoppingCart:fl,ShoppingCartIcon:fl,Shovel:SM,ShovelIcon:SM,ShowerHead:LM,ShowerHeadIcon:LM,Shredder:IM,ShredderIcon:IM,Shrimp:AM,ShrimpIcon:AM,Shrink:BM,ShrinkIcon:BM,Shrub:VM,ShrubIcon:VM,Shuffle:_M,ShuffleIcon:_M,Sidebar:dr,SidebarClose:lr,SidebarCloseIcon:lr,SidebarIcon:dr,SidebarOpen:cr,SidebarOpenIcon:cr,Sigma:zM,SigmaIcon:zM,SigmaSquare:Mi,SigmaSquareIcon:Mi,Signal:TM,SignalHigh:PM,SignalHighIcon:PM,SignalIcon:TM,SignalLow:qM,SignalLowIcon:qM,SignalMedium:DM,SignalMediumIcon:DM,SignalZero:EM,SignalZeroIcon:EM,Signature:HM,SignatureIcon:HM,Signpost:jM,SignpostBig:OM,SignpostBigIcon:OM,SignpostIcon:jM,Siren:FM,SirenIcon:FM,SkipBack:NM,SkipBackIcon:NM,SkipForward:RM,SkipForwardIcon:RM,Skull:$M,SkullIcon:$M,Slack:UM,SlackIcon:UM,Slash:WM,SlashIcon:WM,SlashSquare:wi,SlashSquareIcon:wi,Slice:GM,SliceIcon:GM,Sliders:Ir,SlidersHorizontal:ml,SlidersHorizontalIcon:ml,SlidersIcon:Ir,SlidersVertical:Ir,SlidersVerticalIcon:Ir,Smartphone:ZM,SmartphoneCharging:XM,SmartphoneChargingIcon:XM,SmartphoneIcon:ZM,SmartphoneNfc:KM,SmartphoneNfcIcon:KM,Smile:JM,SmileIcon:JM,SmilePlus:YM,SmilePlusIcon:YM,Snail:QM,SnailIcon:QM,Snowflake:e9,SnowflakeIcon:e9,SoapDispenserDroplet:t9,SoapDispenserDropletIcon:t9,Sofa:a9,SofaIcon:a9,SolarPanel:n9,SolarPanelIcon:n9,SortAsc:Ka,SortAscIcon:Ka,SortDesc:Wa,SortDescIcon:Wa,Soup:o9,SoupIcon:o9,Space:r9,SpaceIcon:r9,Spade:i9,SpadeIcon:i9,Sparkle:s9,SparkleIcon:s9,Sparkles:Ar,SparklesIcon:Ar,Speaker:l9,SpeakerIcon:l9,Speech:c9,SpeechIcon:c9,SpellCheck:u9,SpellCheck2:d9,SpellCheck2Icon:d9,SpellCheckIcon:u9,Spline:p9,SplineIcon:p9,SplinePointer:h9,SplinePointerIcon:h9,Split:y9,SplitIcon:y9,SplitSquareHorizontal:vi,SplitSquareHorizontalIcon:vi,SplitSquareVertical:Ci,SplitSquareVerticalIcon:Ci,Spool:f9,SpoolIcon:f9,Spotlight:m9,SpotlightIcon:m9,SprayCan:k9,SprayCanIcon:k9,Sprout:g9,SproutIcon:g9,Square:z9,SquareActivity:Br,SquareActivityIcon:Br,SquareArrowDown:zr,SquareArrowDownIcon:zr,SquareArrowDownLeft:Vr,SquareArrowDownLeftIcon:Vr,SquareArrowDownRight:_r,SquareArrowDownRightIcon:_r,SquareArrowLeft:Pr,SquareArrowLeftIcon:Pr,SquareArrowOutDownLeft:qr,SquareArrowOutDownLeftIcon:qr,SquareArrowOutDownRight:Dr,SquareArrowOutDownRightIcon:Dr,SquareArrowOutUpLeft:Er,SquareArrowOutUpLeftIcon:Er,SquareArrowOutUpRight:Tr,SquareArrowOutUpRightIcon:Tr,SquareArrowRight:Hr,SquareArrowRightEnter:b9,SquareArrowRightEnterIcon:b9,SquareArrowRightExit:x9,SquareArrowRightExitIcon:x9,SquareArrowRightIcon:Hr,SquareArrowUp:Fr,SquareArrowUpIcon:Fr,SquareArrowUpLeft:jr,SquareArrowUpLeftIcon:jr,SquareArrowUpRight:Or,SquareArrowUpRightIcon:Or,SquareAsterisk:Rr,SquareAsteriskIcon:Rr,SquareBottomDashedScissors:Nr,SquareBottomDashedScissorsIcon:Nr,SquareCenterlineDashedHorizontal:Ur,SquareCenterlineDashedHorizontalIcon:Ur,SquareCenterlineDashedVertical:$r,SquareCenterlineDashedVerticalIcon:$r,SquareChartGantt:Rt,SquareChartGanttIcon:Rt,SquareCheck:Gr,SquareCheckBig:Wr,SquareCheckBigIcon:Wr,SquareCheckIcon:Gr,SquareChevronDown:Xr,SquareChevronDownIcon:Xr,SquareChevronLeft:Kr,SquareChevronLeftIcon:Kr,SquareChevronRight:Zr,SquareChevronRightIcon:Zr,SquareChevronUp:Yr,SquareChevronUpIcon:Yr,SquareCode:Jr,SquareCodeIcon:Jr,SquareDashed:ti,SquareDashedBottom:w9,SquareDashedBottomCode:M9,SquareDashedBottomCodeIcon:M9,SquareDashedBottomIcon:w9,SquareDashedIcon:ti,SquareDashedKanban:Qr,SquareDashedKanbanIcon:Qr,SquareDashedMousePointer:ei,SquareDashedMousePointerIcon:ei,SquareDashedTopSolid:v9,SquareDashedTopSolidIcon:v9,SquareDivide:ni,SquareDivideIcon:ni,SquareDot:ai,SquareDotIcon:ai,SquareEqual:oi,SquareEqualIcon:oi,SquareFunction:ri,SquareFunctionIcon:ri,SquareGanttChart:Rt,SquareGanttChartIcon:Rt,SquareIcon:z9,SquareKanban:ii,SquareKanbanIcon:ii,SquareLibrary:si,SquareLibraryIcon:si,SquareM:li,SquareMIcon:li,SquareMenu:ci,SquareMenuIcon:ci,SquareMinus:di,SquareMinusIcon:di,SquareMousePointer:hi,SquareMousePointerIcon:hi,SquareParking:pi,SquareParkingIcon:pi,SquareParkingOff:ui,SquareParkingOffIcon:ui,SquarePause:C9,SquarePauseIcon:C9,SquarePen:at,SquarePenIcon:at,SquarePercent:yi,SquarePercentIcon:yi,SquarePi:fi,SquarePiIcon:fi,SquarePilcrow:mi,SquarePilcrowIcon:mi,SquarePlay:ki,SquarePlayIcon:ki,SquarePlus:gi,SquarePlusIcon:gi,SquarePower:bi,SquarePowerIcon:bi,SquareRadical:S9,SquareRadicalIcon:S9,SquareRoundCorner:L9,SquareRoundCornerIcon:L9,SquareScissors:xi,SquareScissorsIcon:xi,SquareSigma:Mi,SquareSigmaIcon:Mi,SquareSlash:wi,SquareSlashIcon:wi,SquareSplitHorizontal:vi,SquareSplitHorizontalIcon:vi,SquareSplitVertical:Ci,SquareSplitVerticalIcon:Ci,SquareSquare:I9,SquareSquareIcon:I9,SquareStack:A9,SquareStackIcon:A9,SquareStar:V9,SquareStarIcon:V9,SquareStop:B9,SquareStopIcon:B9,SquareTerminal:Li,SquareTerminalIcon:Li,SquareUser:Ai,SquareUserIcon:Ai,SquareUserRound:Si,SquareUserRoundIcon:Si,SquareX:Ii,SquareXIcon:Ii,SquaresExclude:_9,SquaresExcludeIcon:_9,SquaresIntersect:P9,SquaresIntersectIcon:P9,SquaresSubtract:q9,SquaresSubtractIcon:q9,SquaresUnite:D9,SquaresUniteIcon:D9,Squircle:T9,SquircleDashed:E9,SquircleDashedIcon:E9,SquircleIcon:T9,Squirrel:H9,SquirrelIcon:H9,Stamp:O9,StampIcon:O9,Star:N9,StarHalf:j9,StarHalfIcon:j9,StarIcon:N9,StarOff:F9,StarOffIcon:F9,Stars:Ar,StarsIcon:Ar,StepBack:R9,StepBackIcon:R9,StepForward:U9,StepForwardIcon:U9,Stethoscope:$9,StethoscopeIcon:$9,Sticker:W9,StickerIcon:W9,StickyNote:G9,StickyNoteIcon:G9,Stone:X9,StoneIcon:X9,StopCircle:Wn,StopCircleIcon:Wn,Store:K9,StoreIcon:K9,StretchHorizontal:Y9,StretchHorizontalIcon:Y9,StretchVertical:Z9,StretchVerticalIcon:Z9,Strikethrough:J9,StrikethroughIcon:J9,Subscript:Q9,SubscriptIcon:Q9,Subtitles:on,SubtitlesIcon:on,Sun:ow,SunDim:ew,SunDimIcon:ew,SunIcon:ow,SunMedium:tw,SunMediumIcon:tw,SunMoon:nw,SunMoonIcon:nw,SunSnow:aw,SunSnowIcon:aw,Sunrise:rw,SunriseIcon:rw,Sunset:iw,SunsetIcon:iw,Superscript:sw,SuperscriptIcon:sw,SwatchBook:lw,SwatchBookIcon:lw,SwissFranc:cw,SwissFrancIcon:cw,SwitchCamera:hw,SwitchCameraIcon:hw,Sword:dw,SwordIcon:dw,Swords:uw,SwordsIcon:uw,Syringe:pw,SyringeIcon:pw,Table:ww,Table2:yw,Table2Icon:yw,TableCellsMerge:fw,TableCellsMergeIcon:fw,TableCellsSplit:mw,TableCellsSplitIcon:mw,TableColumnsSplit:kw,TableColumnsSplitIcon:kw,TableConfig:Tt,TableConfigIcon:Tt,TableIcon:ww,TableOfContents:gw,TableOfContentsIcon:gw,TableProperties:bw,TablePropertiesIcon:bw,TableRowsSplit:xw,TableRowsSplitIcon:xw,Tablet:Mw,TabletIcon:Mw,TabletSmartphone:vw,TabletSmartphoneIcon:vw,Tablets:Cw,TabletsIcon:Cw,Tag:Lw,TagIcon:Lw,Tags:Sw,TagsIcon:Sw,Tally1:Iw,Tally1Icon:Iw,Tally2:Aw,Tally2Icon:Aw,Tally3:Bw,Tally3Icon:Bw,Tally4:Vw,Tally4Icon:Vw,Tally5:_w,Tally5Icon:_w,Tangent:zw,TangentIcon:zw,Target:Pw,TargetIcon:Pw,Telescope:qw,TelescopeIcon:qw,Tent:Ew,TentIcon:Ew,TentTree:Dw,TentTreeIcon:Dw,Terminal:Tw,TerminalIcon:Tw,TerminalSquare:Li,TerminalSquareIcon:Li,TestTube:Hw,TestTube2:Bi,TestTube2Icon:Bi,TestTubeDiagonal:Bi,TestTubeDiagonalIcon:Bi,TestTubeIcon:Hw,TestTubes:Ow,TestTubesIcon:Ow,Text:Nt,TextAlignCenter:zi,TextAlignCenterIcon:zi,TextAlignEnd:Vi,TextAlignEndIcon:Vi,TextAlignJustify:_i,TextAlignJustifyIcon:_i,TextAlignStart:Nt,TextAlignStartIcon:Nt,TextCursor:Fw,TextCursorIcon:Fw,TextCursorInput:jw,TextCursorInputIcon:jw,TextIcon:Nt,TextInitial:Pi,TextInitialIcon:Pi,TextQuote:Nw,TextQuoteIcon:Nw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:Di,TextSelectIcon:Di,TextSelection:Di,TextSelectionIcon:Di,TextWrap:qi,TextWrapIcon:qi,Theater:Uw,TheaterIcon:Uw,Thermometer:Gw,ThermometerIcon:Gw,ThermometerSnowflake:$w,ThermometerSnowflakeIcon:$w,ThermometerSun:Ww,ThermometerSunIcon:Ww,ThumbsDown:Kw,ThumbsDownIcon:Kw,ThumbsUp:Xw,ThumbsUpIcon:Xw,Ticket:nv,TicketCheck:Zw,TicketCheckIcon:Zw,TicketIcon:nv,TicketMinus:Yw,TicketMinusIcon:Yw,TicketPercent:Jw,TicketPercentIcon:Jw,TicketPlus:Qw,TicketPlusIcon:Qw,TicketSlash:ev,TicketSlashIcon:ev,TicketX:tv,TicketXIcon:tv,Tickets:ov,TicketsIcon:ov,TicketsPlane:av,TicketsPlaneIcon:av,Timer:sv,TimerIcon:sv,TimerOff:rv,TimerOffIcon:rv,TimerReset:iv,TimerResetIcon:iv,ToggleLeft:kl,ToggleLeftIcon:kl,ToggleRight:lv,ToggleRightIcon:lv,Toilet:cv,ToiletIcon:cv,ToolCase:dv,ToolCaseIcon:dv,Toolbox:hv,ToolboxIcon:hv,Tornado:uv,TornadoIcon:uv,Torus:pv,TorusIcon:pv,Touchpad:fv,TouchpadIcon:fv,TouchpadOff:yv,TouchpadOffIcon:yv,TowelRack:mv,TowelRackIcon:mv,TowerControl:kv,TowerControlIcon:kv,ToyBrick:gv,ToyBrickIcon:gv,Tractor:bv,TractorIcon:bv,TrafficCone:xv,TrafficConeIcon:xv,Train:Ei,TrainFront:Cv,TrainFrontIcon:Cv,TrainFrontTunnel:Mv,TrainFrontTunnelIcon:Mv,TrainIcon:Ei,TrainTrack:wv,TrainTrackIcon:wv,TramFront:Ei,TramFrontIcon:Ei,Transgender:vv,TransgenderIcon:vv,Trash:Lv,Trash2:Ti,Trash2Icon:Ti,TrashIcon:Lv,TreeDeciduous:Sv,TreeDeciduousIcon:Sv,TreePalm:Hi,TreePalmIcon:Hi,TreePine:Iv,TreePineIcon:Iv,Trees:Av,TreesIcon:Av,Trello:Bv,TrelloIcon:Bv,TrendingDown:Vv,TrendingDownIcon:Vv,TrendingUp:zv,TrendingUpDown:_v,TrendingUpDownIcon:_v,TrendingUpIcon:zv,Triangle:Ev,TriangleAlert:Oi,TriangleAlertIcon:Oi,TriangleDashed:Pv,TriangleDashedIcon:Pv,TriangleIcon:Ev,TriangleRight:Dv,TriangleRightIcon:Dv,Trophy:qv,TrophyIcon:qv,Truck:Hv,TruckElectric:Tv,TruckElectricIcon:Tv,TruckIcon:Hv,TurkishLira:Ov,TurkishLiraIcon:Ov,Turntable:jv,TurntableIcon:jv,Turtle:Fv,TurtleIcon:Fv,Tv:Nv,Tv2:ji,Tv2Icon:ji,TvIcon:Nv,TvMinimal:ji,TvMinimalIcon:ji,TvMinimalPlay:Rv,TvMinimalPlayIcon:Rv,Twitch:Uv,TwitchIcon:Uv,Twitter:Wv,TwitterIcon:Wv,Type:Gv,TypeIcon:Gv,TypeOutline:$v,TypeOutlineIcon:$v,Umbrella:Kv,UmbrellaIcon:Kv,UmbrellaOff:Xv,UmbrellaOffIcon:Xv,Underline:Zv,UnderlineIcon:Zv,Undo:Jv,Undo2:Yv,Undo2Icon:Yv,UndoDot:Qv,UndoDotIcon:Qv,UndoIcon:Jv,UnfoldHorizontal:eC,UnfoldHorizontalIcon:eC,UnfoldVertical:tC,UnfoldVerticalIcon:tC,Ungroup:aC,UngroupIcon:aC,University:Fi,UniversityIcon:Fi,Unlink:oC,Unlink2:nC,Unlink2Icon:nC,UnlinkIcon:oC,Unlock:Zo,UnlockIcon:Zo,UnlockKeyhole:Ko,UnlockKeyholeIcon:Ko,Unplug:rC,UnplugIcon:rC,Upload:iC,UploadCloud:xa,UploadCloudIcon:xa,UploadIcon:iC,Usb:sC,UsbIcon:sC,User:gl,User2:Gi,User2Icon:Gi,UserCheck:lC,UserCheck2:Ri,UserCheck2Icon:Ri,UserCheckIcon:lC,UserCircle:Xn,UserCircle2:Gn,UserCircle2Icon:Gn,UserCircleIcon:Xn,UserCog:cC,UserCog2:Ni,UserCog2Icon:Ni,UserCogIcon:cC,UserIcon:gl,UserKey:dC,UserKeyIcon:dC,UserLock:hC,UserLockIcon:hC,UserMinus:uC,UserMinus2:Ui,UserMinus2Icon:Ui,UserMinusIcon:uC,UserPen:pC,UserPenIcon:pC,UserPlus:yC,UserPlus2:$i,UserPlus2Icon:$i,UserPlusIcon:yC,UserRound:Gi,UserRoundCheck:Ri,UserRoundCheckIcon:Ri,UserRoundCog:Ni,UserRoundCogIcon:Ni,UserRoundIcon:Gi,UserRoundKey:fC,UserRoundKeyIcon:fC,UserRoundMinus:Ui,UserRoundMinusIcon:Ui,UserRoundPen:mC,UserRoundPenIcon:mC,UserRoundPlus:$i,UserRoundPlusIcon:$i,UserRoundSearch:kC,UserRoundSearchIcon:kC,UserRoundX:Wi,UserRoundXIcon:Wi,UserSearch:bC,UserSearchIcon:bC,UserSquare:Ai,UserSquare2:Si,UserSquare2Icon:Si,UserSquareIcon:Ai,UserStar:gC,UserStarIcon:gC,UserX:xC,UserX2:Wi,UserX2Icon:Wi,UserXIcon:xC,Users:MC,Users2:Xi,Users2Icon:Xi,UsersIcon:MC,UsersRound:Xi,UsersRoundIcon:Xi,Utensils:Zi,UtensilsCrossed:Ki,UtensilsCrossedIcon:Ki,UtensilsIcon:Zi,UtilityPole:wC,UtilityPoleIcon:wC,Van:vC,VanIcon:vC,Variable:LC,VariableIcon:LC,Vault:CC,VaultIcon:CC,VectorSquare:SC,VectorSquareIcon:SC,Vegan:IC,VeganIcon:IC,VenetianMask:AC,VenetianMaskIcon:AC,Venus:BC,VenusAndMars:VC,VenusAndMarsIcon:VC,VenusIcon:BC,Verified:Ja,VerifiedIcon:Ja,Vibrate:zC,VibrateIcon:zC,VibrateOff:_C,VibrateOffIcon:_C,Video:qC,VideoIcon:qC,VideoOff:PC,VideoOffIcon:PC,Videotape:DC,VideotapeIcon:DC,View:EC,ViewIcon:EC,Voicemail:TC,VoicemailIcon:TC,Volleyball:jC,VolleyballIcon:jC,Volume:RC,Volume1:HC,Volume1Icon:HC,Volume2:OC,Volume2Icon:OC,VolumeIcon:RC,VolumeOff:FC,VolumeOffIcon:FC,VolumeX:NC,VolumeXIcon:NC,Vote:UC,VoteIcon:UC,Wallet:WC,Wallet2:Yi,Wallet2Icon:Yi,WalletCards:$C,WalletCardsIcon:$C,WalletIcon:WC,WalletMinimal:Yi,WalletMinimalIcon:Yi,Wallpaper:GC,WallpaperIcon:GC,Wand:XC,Wand2:Ji,Wand2Icon:Ji,WandIcon:XC,WandSparkles:Ji,WandSparklesIcon:Ji,Warehouse:KC,WarehouseIcon:KC,WashingMachine:ZC,WashingMachineIcon:ZC,Watch:YC,WatchIcon:YC,Waves:tL,WavesArrowDown:JC,WavesArrowDownIcon:JC,WavesArrowUp:QC,WavesArrowUpIcon:QC,WavesIcon:tL,WavesLadder:eL,WavesLadderIcon:eL,Waypoints:aL,WaypointsIcon:aL,Webcam:nL,WebcamIcon:nL,Webhook:rL,WebhookIcon:rL,WebhookOff:oL,WebhookOffIcon:oL,Weight:sL,WeightIcon:sL,WeightTilde:iL,WeightTildeIcon:iL,Wheat:cL,WheatIcon:cL,WheatOff:lL,WheatOffIcon:lL,WholeWord:dL,WholeWordIcon:dL,Wifi:gL,WifiCog:hL,WifiCogIcon:hL,WifiHigh:uL,WifiHighIcon:uL,WifiIcon:gL,WifiLow:yL,WifiLowIcon:yL,WifiOff:pL,WifiOffIcon:pL,WifiPen:fL,WifiPenIcon:fL,WifiSync:mL,WifiSyncIcon:mL,WifiZero:kL,WifiZeroIcon:kL,Wind:bL,WindArrowDown:xL,WindArrowDownIcon:xL,WindIcon:bL,Wine:ML,WineIcon:ML,WineOff:wL,WineOffIcon:wL,Workflow:vL,WorkflowIcon:vL,Worm:CL,WormIcon:CL,WrapText:qi,WrapTextIcon:qi,Wrench:LL,WrenchIcon:LL,X:pt,XCircle:Kn,XCircleIcon:Kn,XIcon:pt,XLineTop:SL,XLineTopIcon:SL,XOctagon:or,XOctagonIcon:or,XSquare:Ii,XSquareIcon:Ii,Youtube:IL,YoutubeIcon:IL,Zap:VL,ZapIcon:VL,ZapOff:AL,ZapOffIcon:AL,ZoomIn:BL,ZoomInIcon:BL,ZoomOut:_L,ZoomOutIcon:_L,createLucideIcon:l,icons:xD},Symbol.toStringTag,{value:"Module"})),MD=["aria-busy"],wD={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},vD=["for"],CD={key:0,class:"ml-1 text-destructive"},LD={class:"relative"},SD={key:0,class:"flex items-center text-gray-500 gap-2"},ID=["id","placeholder","disabled","readonly","value"],AD={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},BD=["disabled"],VD={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},_D=["onMouseenter","onClick"],zD={key:0},PD={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},qD={key:0},DD={key:1},ED={key:2},TD={key:1,class:"mt-1 text-xs text-red-600"},cI=a.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.computed(()=>r.label??void 0),s=N=>{const ae=r[N];return ae===""||ae===!0||ae==="true"||ae===1||ae==="1"},c=a.ref(!1),d=a.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=a.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=a.computed(()=>n.disabled),p=a.computed(()=>s("required")),y=a.computed(()=>s("readonly")),f=a.computed(()=>n.returnObject||s("return-object")||s("returnObject")),m=a.computed(()=>p.value||s("aria-required")),k=a.computed(()=>n.error||n.errorMessage||r["error-message"]),g=a.computed(()=>r.placeholder??""),x=a.computed(()=>{const N=r.minChars??r["min-chars"];if(N==null||N==="")return 0;const ae=typeof N=="number"?N:Number.parseInt(String(N),10);return Number.isFinite(ae)&&ae>0?ae:0}),C=a.computed(()=>{const N=r.rules;return Array.isArray(N)?N:[]}),w=a.computed(()=>{const N=r.id||r.label;return N?`app-autocomplete-${N}-${Math.random().toString(36).slice(2,7)}`:void 0}),b=a.ref(n.modelValue),L=a.ref([]),S=a.ref(!1),v=a.ref(!1),M=a.computed(()=>r.items),I=a.computed(()=>{const N=z.value;return N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems?L.value:M.value??[]}),V=a.computed(()=>!!r.loading),_=a.computed(()=>V.value||S.value),B=a.computed(()=>{const{label:N,items:ae,loading:de,rules:ze,"item-title":Le,"item-value":Z,itemTitle:te,itemValue:ne,minChars:fe,"min-chars":je,clearable:Qt,required:FS,"aria-required":GP,disabled:RS,readonly:XP,visible:Qe,"return-object":KP,returnObject:NS,class:ZP,"fetch-items":US,fetchItems:YP,error:$A,errorMessage:JP,"error-message":QP,...$S}=r||{};return $S}),D=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},z=a.computed(()=>{const N=n.endpoint||{};return{apiModule:n.apiModule||N.apiModule,apiAction:n.apiAction||N.apiAction,apiUrl:N.apiUrl,apiMethod:N.apiMethod||"GET"}}),G=a.ref(null),H=a.ref(null),j=a.ref(null),{floatingStyles:U}=f1(H,j,{placement:"bottom-start",whileElementsMounted:h1,middleware:[u1(4),Ks(),p1(),y1({apply({rects:N,elements:ae,availableHeight:de}){Object.assign(ae.floating.style,{width:`${N.reference.width}px`,maxHeight:`${de}px`})}})]}),J=a.ref(!1),E=a.ref(""),R=a.ref(-1),F=a.ref(null),Y=a.computed(()=>!x.value||(E.value||"").trim().length>=x.value?"":`Ketik minimal ${x.value} karakter`),Q=N=>{if(N==null)return"";if(typeof N=="string"||typeof N=="number")return String(N);const ae=d.value;return typeof ae=="function"?ae(N):(N==null?void 0:N[ae])??(N==null?void 0:N.name)??(N==null?void 0:N.nama)??(N==null?void 0:N.label)??(N==null?void 0:N.title)??"-"},re=N=>{if(N==null)return null;if(typeof N=="string"||typeof N=="number")return N;const ae=h.value;return typeof ae=="function"?ae(N):(N==null?void 0:N[ae])??(N==null?void 0:N.id)??(N==null?void 0:N.value)??(N==null?void 0:N.code)??null},he=a.computed(()=>{const N=b.value;if(N==null||N==="")return"";if(Array.isArray(N))return N.length?N.map(ze=>{if(f.value&&typeof ze=="object"||typeof ze=="object")return Q(ze);const Le=I.value.find(Z=>re(Z)==ze);return Le?Q(Le):String(ze)}).join(", "):"";if(typeof N=="object")return Q(N);const ae=I.value.find(de=>re(de)==N);return ae?Q(ae):String(N)}),pe=a.computed(()=>{const N=I.value||[],ae=(E.value||"").trim().toLowerCase(),de=(he.value||"").toLowerCase(),ze=!ae||ae===de;let Le=N;if(ze||(Le=N.filter(Z=>Q(Z).toLowerCase().includes(ae))),Le.length>0){const Z=te=>{const ne=re(te);return Array.isArray(b.value)?b.value.some(fe=>fe==ne):b.value==ne};Le=[...Le].sort((te,ne)=>{const fe=Z(te),je=Z(ne);return fe&&!je?-1:!fe&&je?1:0})}return Le}),_e=N=>Array.isArray(N)?N.length===0:N==null||N==="",ue=N=>{if(F.value=null,p.value&&_e(N)&&!C.value.length)return F.value="This field is required",!1;for(const ae of C.value){const de=ae(N);if(de===!1)return F.value="Invalid value",!1;if(typeof de=="string")return F.value=de,!1}return!0},W=async()=>{if(u.value||y.value)return;J.value=!0,R.value=pe.value.length?0:-1,E.value=he.value||"";const N=z.value,ae=N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems;n.autoFetchOnOpen&&ae&&!v.value&&(await wt(),R.value=pe.value.length?0:-1)},q=()=>{J.value=!1,R.value=-1,E.value=he.value||""},$=N=>{const ae=f.value?N:re(N);let de=ae;Array.isArray(b.value)&&(de=[ae]),b.value=de,o("update:modelValue",de),F.value=null,ue(de),E.value=Q(N),q()},ee=()=>{L.value=[],v.value=!1,b.value=Array.isArray(b.value)?[]:null,o("update:modelValue",b.value),E.value="",F.value=null},ye=()=>{c.value=!0,ee(),q(),setTimeout(()=>{c.value=!1},0)},Oe=N=>{if(u.value||y.value)return;const ae=N.target.value;E.value=ae,F.value&&(F.value=null),J.value||(J.value=!0),R.value=pe.value.length?0:-1;const de=z.value.apiModule&&z.value.apiAction||z.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&de&&!_.value&&!v.value&&wt()},Mt=N=>{var de;if(u.value||y.value)return;const ae={ArrowDown:()=>{if(N.preventDefault(),!J.value){W();return}pe.value.length&&(R.value=Math.min(R.value+1,pe.value.length-1))},ArrowUp:()=>{!J.value||!pe.value.length||(N.preventDefault(),R.value=Math.max(R.value-1,0))},Enter:()=>{if(!J.value)return;N.preventDefault();const ze=pe.value[R.value];ze&&$(ze)},Escape:()=>{N.preventDefault(),q()},Tab:()=>{q()}};(de=ae[N.key])==null||de.call(ae)},wt=async()=>{const N=z.value;if(N.apiModule&&N.apiAction||N.apiUrl||n.fetchItems){S.value=!0;try{let de;if(n.fetchItems){const ze=D()||{},Le={page:1,perPage:100,search:(E.value||"").trim(),...ze,...n.apiParams},Z=await n.fetchItems(Le),te=(Z==null?void 0:Z.data)??Z;de=(te==null?void 0:te.data)??te}else{const Le=et().DCodeApi;if(typeof Le!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const te={page:1,perPage:100,...D()||{},...n.apiParams};let ne;N.apiUrl?ne=await Le("","",te,{_url:N.apiUrl,_method:N.apiMethod||"POST"}):ne=await Le(N.apiModule,N.apiAction,te);const fe=(ne==null?void 0:ne.data)??ne;de=(fe==null?void 0:fe.data)??fe}L.value=Array.isArray(de)?de:[],v.value=!0}catch(de){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",de),F.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(de==null?void 0:de.message)||(de==null?void 0:de.toString())||"Failed to load options"}`,L.value=[],v.value=!0}finally{S.value=!1}}},pa=N=>{const ae=re(N);return f.value?b.value?Array.isArray(b.value)?b.value.some(de=>re(de)==ae):re(b.value)==ae:!1:Array.isArray(b.value)?b.value.some(de=>de==ae):b.value==ae};a.watch(()=>[D(),z.value,n.apiParams],([N,ae,de],[ze,Le,Z])=>{const te=z.value;if(!(te.apiModule&&te.apiAction||te.apiUrl||n.fetchItems)){ee();return}const fe=JSON.stringify(N??null)===JSON.stringify(ze??null),je=JSON.stringify(de??null)===JSON.stringify(Z??null);fe&&je||(ee(),je||wt())},{deep:!0}),a.watch(()=>n.modelValue,(N,ae)=>{b.value=N,!c.value&&(N==null||N==="")&&ae!=null&&n.apiModule&&n.apiAction&&(L.value=[],v.value=!1),E.value=he.value||""},{immediate:!0});const ya=z.value;(ya.apiModule&&ya.apiAction||ya.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!_e(n.modelValue))&&wt();const Ws=N=>{const ae=G.value,de=j.value,ze=N.target;ae&&ae.contains(ze)||de&&de.contains(ze)||J.value&&q()},Ql=a.computed(()=>{const N=n.modelValue;return N==null?!1:typeof N=="string"?N.trim().length>0:Array.isArray(N)?N.length>0:typeof N=="object"?Object.keys(N).length>0:!0}),e1=a.computed(()=>!!n.clearable&&Ql.value&&!n.disabled);return a.onMounted(()=>{document.addEventListener("mousedown",Ws)}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",Ws)}),(N,ae)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:G,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",wD)):a.createCommentVNode("",!0),ae[6]||(ae[6]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createElementBlock("label",{key:0,for:w.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(i.value)+" ",1),m.value?(a.openBlock(),a.createElementBlock("span",CD,"*")):a.createCommentVNode("",!0)],8,vD)):a.createCommentVNode("",!0),a.createElementVNode("div",LD,[a.createElementVNode("div",{ref_key:"reference",ref:H,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",F.value||k.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||N.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",SD,[a.renderSlot(N.$slots,"prepend-inner",{},()=>[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps(B.value,{id:w.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:J.value?E.value:he.value||E.value,onFocus:ae[0]||(ae[0]=()=>{J.value||W()}),onClick:ae[1]||(ae[1]=()=>{J.value||W()}),onInput:Oe,onKeydown:Mt,onBlur:ae[2]||(ae[2]=()=>ue(b.value))}),null,16,ID),_.value?(a.openBlock(),a.createElementBlock("svg",AD,[...ae[7]||(ae[7]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):e1.value?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:ae[3]||(ae[3]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(ye,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:ae[4]||(ae[4]=de=>J.value?q():W()),"aria-label":"Toggle"},[a.createVNode(a.unref(qt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":J.value}])},null,8,["class"])],8,BD))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[J.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:j,style:a.normalizeStyle(a.unref(U)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",VD,[pe.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(pe.value,(de,ze)=>(a.openBlock(),a.createElementBlock("button",{key:re(de)??ze,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",ze===R.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:Le=>R.value=ze,onMousedown:ae[5]||(ae[5]=a.withModifiers(()=>{},["prevent"])),onClick:Le=>$(de)},[a.createTextVNode(a.toDisplayString(Q(de))+" ",1),pa(de)?(a.openBlock(),a.createElementBlock("span",zD," ✓ ")):a.createCommentVNode("",!0)],42,_D))),128)):a.renderSlot(N.$slots,"no-data",{key:1},()=>[a.createElementVNode("div",PD,[_.value?(a.openBlock(),a.createElementBlock("span",qD,"Loading data…")):Y.value?(a.openBlock(),a.createElementBlock("span",DD,a.toDisplayString(Y.value),1)):(a.openBlock(),a.createElementBlock("span",ED,"No data available"))])])])],4)):a.createCommentVNode("",!0)]))]),F.value||k.value?(a.openBlock(),a.createElementBlock("p",TD,a.toDisplayString(F.value||k.value),1)):a.createCommentVNode("",!0)],64))],10,MD)),[[a.vShow,e.visible]])}}),HD=["aria-busy"],OD={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},jD=["for"],FD={key:0,class:"ml-1 text-destructive"},RD={class:"relative"},ND={key:0,class:"flex items-center text-gray-500 gap-2"},UD=["id","placeholder","disabled","value"],$D={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},WD=["disabled"],GD={key:0,class:"p-3 space-y-2"},XD=["onMouseenter","onClick"],KD={class:"flex items-center space-x-3"},ZD={class:"flex-1"},YD={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},JD={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},QD={key:0},eE={key:2,class:"p-3 text-center"},tE={class:"inline-flex items-center space-x-2"},aE={class:"text-sm text-gray-500"},nE={key:3,class:"p-3 text-center"},oE={class:"text-xs text-gray-400"},rE={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},iE={key:1,class:"mt-1 text-xs text-red-600"},sE={key:2,class:"mt-1 text-xs text-gray-500"},bB=a.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.ref(),s=a.ref(),c=a.ref(),d=a.ref(),h=a.ref(),u=a.computed(()=>{const R=n.label||n.placeholder;return R?`app-infinite-autocomplete-${R}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=a.ref(""),y=a.ref([]),f=a.ref(!1),m=a.ref(!1),k=a.ref(-1),g=a.ref(1),x=a.ref(!0),C=a.ref(0),w=a.ref(),{floatingStyles:b}=f1(d,h,{placement:"bottom-start",whileElementsMounted:h1,middleware:[u1(4),Ks(),p1(),y1({apply({rects:R,elements:F}){Object.assign(F.floating.style,{width:`${R.reference.width}px`})}})]});a.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const L=a.computed(()=>p.value?y.value.filter(R=>I(R).toLowerCase().includes(p.value.toLowerCase())):y.value),S=a.computed(()=>{if(m.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const R=y.value.find(F=>V(F)===n.modelValue);return R?I(R):String(n.modelValue)}}return""}),v=()=>{m.value=!0},M=()=>{m.value=!1},I=R=>typeof n.itemTitle=="function"?n.itemTitle(R):R[n.itemTitle]||"",V=R=>typeof n.itemValue=="function"?n.itemValue(R):R[n.itemValue]||R,_=R=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(R):R[n.itemSubtitle]||"":"",B=R=>n.modelValue?n.returnObject?V(R)===V(n.modelValue):V(R)===n.modelValue:!1,D=R=>{var Y;const F=n.returnObject?R:V(R);o("update:modelValue",F),o("select",R),m.value=!1,p.value="",(Y=i.value)==null||Y.blur()},z=()=>{var R;o("update:modelValue",null),p.value="",(R=i.value)==null||R.focus()},G=R=>{m.value=!0,o("focus",R),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&E(!0)},H=R=>{setTimeout(()=>{m.value=!1,o("blur",R)},200)},j=R=>{const F=R.target;p.value=F.value,w.value&&clearTimeout(w.value),w.value=setTimeout(()=>{o("search",p.value),g.value=1,x.value=!0,E(!0)},n.debounceMs)},U=R=>{if(m.value)switch(R.key){case"ArrowDown":R.preventDefault(),k.value=Math.min(k.value+1,L.value.length-1);break;case"ArrowUp":R.preventDefault(),k.value=Math.max(k.value-1,0);break;case"Enter":R.preventDefault(),k.value>=0&&L.value[k.value]&&D(L.value[k.value]);break;case"Escape":m.value=!1;break}},J=R=>{if(!x.value||f.value)return;const F=R.target,{scrollTop:Y,scrollHeight:Q,clientHeight:re}=F;Y+re>=Q-n.threshold&&E()},E=async(R=!1)=>{var F,Y;if(!f.value){f.value=!0;try{let Q=[];if(n.fetchItems)Q=await n.fetchItems();else{const re=et(),he=((F=n.endpoint)==null?void 0:F.apiModule)||n.apiModule,pe=((Y=n.endpoint)==null?void 0:Y.apiAction)||n.apiAction;if(!he||!pe)throw new Error("API module and action are required");const _e={page:R?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},ue=await re.apiUrl(`/${he}/${pe}`,"GET",_e);Q=ue.data||ue.items||ue||[],C.value=ue.total||ue.totalItems||Q.length}R?(y.value=Q,g.value=1):(y.value.push(...Q),g.value++),x.value=Q.length>=n.pageSize,x.value||o("end-of-results"),o("load-more",{items:Q,page:g.value,hasMore:x.value,total:C.value})}catch(Q){console.error("Error fetching items:",Q),o("error",Q)}finally{f.value=!1}}};return a.onMounted(()=>{n.autoFetchOnMount&&E()}),a.onUnmounted(()=>{w.value&&clearTimeout(w.value)}),a.watch(()=>n.modelValue,R=>{R||(p.value="")}),(R,F)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:c,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",OD)):a.createCommentVNode("",!0),F[3]||(F[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",FD,"*")):a.createCommentVNode("",!0)],8,jD)):a.createCommentVNode("",!0),a.createElementVNode("div",RD,[a.createElementVNode("div",{ref_key:"reference",ref:d,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[e.disabled?"opacity-60 cursor-not-allowed":"",e.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(a.openBlock(),a.createElementBlock("div",ND,[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({ref_key:"inputRef",ref:i},R.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",e.disabled?"cursor-not-allowed":"cursor-text"],placeholder:e.placeholder,disabled:e.disabled,value:S.value,onFocus:G,onBlur:H,onInput:j,onKeydown:U}),null,16,UD),f.value?(a.openBlock(),a.createElementBlock("svg",$D,[...F[4]||(F[4]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):e.clearable&&e.modelValue?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:F[0]||(F[0]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(z,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:e.disabled,onClick:F[1]||(F[1]=Y=>m.value?M():v()),"aria-label":"Toggle"},[a.createVNode(a.unref(qt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":m.value}])},null,8,["class"])],8,WD))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[m.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:a.normalizeStyle(a.unref(b)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:J},[f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",GD,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(5,Y=>a.createElementVNode("div",{key:Y,class:"flex items-center space-x-3"},[...F[5]||(F[5]=[a.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),a.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):L.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(L.value,(Y,Q)=>(a.openBlock(),a.createElementBlock("button",{key:V(Y)??Q,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",Q===k.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:re=>k.value=Q,onMousedown:F[2]||(F[2]=a.withModifiers(()=>{},["prevent"])),onClick:re=>D(Y)},[a.renderSlot(R.$slots,"item",{item:Y,index:Q},()=>[a.createElementVNode("div",KD,[a.createElementVNode("div",ZD,[a.createElementVNode("div",YD,a.toDisplayString(I(Y)),1),e.itemSubtitle?(a.openBlock(),a.createElementBlock("div",JD,a.toDisplayString(_(Y)),1)):a.createCommentVNode("",!0)])])]),B(Y)?(a.openBlock(),a.createElementBlock("span",QD," ✓ ")):a.createCommentVNode("",!0)],42,XD))),128)):a.createCommentVNode("",!0),f.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",eE,[a.createElementVNode("div",tE,[F[6]||(F[6]=a.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),a.createElementVNode("span",aE,a.toDisplayString(e.loadingText),1)])])):a.createCommentVNode("",!0),!x.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",nE,[a.createElementVNode("div",oE,a.toDisplayString(e.endOfResultsText),1)])):!f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",rE,a.toDisplayString(e.noResultsText),1)):a.createCommentVNode("",!0)],544)],4)):a.createCommentVNode("",!0)]))]),e.error?(a.openBlock(),a.createElementBlock("p",iE,a.toDisplayString(e.errorMessage||e.error),1)):e.helperText?(a.openBlock(),a.createElementBlock("p",sE,a.toDisplayString(e.helperText),1)):a.createCommentVNode("",!0)],64))],10,HD)),[[a.vShow,e.visible]])}});function xB(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=xB(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function MB(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=xB(e))&&(o&&(o+=" "),o+=t);return o}const lE=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},cE=(e,t)=>({classGroupId:e,validator:t}),wB=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),zL="-",vB=[],dE="arbitrary..",hE=e=>{const t=pE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return uE(s);const c=s.split(zL),d=c[0]===""&&c.length>1?1:0;return CB(c,d,t)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?lE(h,d):d:h||vB}return n[s]||vB}}},CB=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const h=CB(e,t+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=t===0?e.join(zL):e.slice(t).join(zL),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},uE=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?dE+o:void 0})(),pE=e=>{const{theme:t,classGroups:n}=e;return yE(n,t)},yE=(e,t)=>{const n=wB();for(const o in e){const r=e[o];dI(r,n,o,t)}return n},dI=(e,t,n,o)=>{const r=e.length;for(let i=0;i<r;i++){const s=e[i];fE(s,t,n,o)}},fE=(e,t,n,o)=>{if(typeof e=="string"){mE(e,t,n);return}if(typeof e=="function"){kE(e,t,n,o);return}gE(e,t,n,o)},mE=(e,t,n)=>{const o=e===""?t:LB(t,e);o.classGroupId=n},kE=(e,t,n,o)=>{if(bE(e)){dI(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(cE(n,e))},gE=(e,t,n,o)=>{const r=Object.entries(e),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];dI(d,LB(t,c),n,o)}},LB=(e,t)=>{let n=e;const o=t.split(zL),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=wB(),n.nextPart.set(s,c)),n=c}return n},bE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,xE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},hI="!",SB=":",ME=[],IB=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),wE=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let k=0;k<u;k++){const g=r[k];if(s===0&&c===0){if(g===SB){i.push(r.slice(d,k)),d=k+1;continue}if(g==="/"){h=k;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(hI)?(y=p.slice(0,-1),f=!0):p.startsWith(hI)&&(y=p.slice(1),f=!0);const m=h&&h>d?h-d:void 0;return IB(i,f,y,m)};if(t){const r=t+SB,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):IB(ME,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},vE=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=t.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},CE=e=>({cache:xE(e.cacheSize),parseClassName:wE(e),sortModifiers:vE(e),...hE(e)}),LE=/\s+/,SE=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],c=e.trim().split(LE);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!k,x=o(g?m.substring(0,k):m);if(!x){if(!g){d=u+(d.length>0?" "+d:d);continue}if(x=o(m),!x){d=u+(d.length>0?" "+d:d);continue}g=!1}const C=y.length===0?"":y.length===1?y[0]:i(y).join(":"),w=f?C+hI:C,b=w+x;if(s.indexOf(b)>-1)continue;s.push(b);const L=r(x,g);for(let S=0;S<L.length;++S){const v=L[S];s.push(w+v)}d=u+(d.length>0?" "+d:d)}return d},IE=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=AB(n))&&(r&&(r+=" "),r+=o);return r},AB=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=AB(e[o]))&&(n&&(n+=" "),n+=t);return n},AE=(e,...t)=>{let n,o,r,i;const s=d=>{const h=t.reduce((u,p)=>p(u),e());return n=CE(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=SE(d,n);return r(d,u),u};return i=s,(...d)=>i(IE(...d))},BE=[],Ue=e=>{const t=n=>n[e]||BE;return t.isThemeGetter=!0,t},BB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,VB=/^\((?:(\w[\w-]*):)?(.+)\)$/i,VE=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,_E=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zE=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wa=e=>VE.test(e),be=e=>!!e&&!Number.isNaN(Number(e)),va=e=>!!e&&Number.isInteger(Number(e)),uI=e=>e.endsWith("%")&&be(e.slice(0,-1)),oa=e=>_E.test(e),_B=()=>!0,EE=e=>zE.test(e)&&!PE.test(e),pI=()=>!1,TE=e=>qE.test(e),HE=e=>DE.test(e),OE=e=>!ie(e)&&!se(e),jE=e=>Ca(e,TB,pI),ie=e=>BB.test(e),Qi=e=>Ca(e,HB,EE),zB=e=>Ca(e,XE,be),FE=e=>Ca(e,jB,_B),RE=e=>Ca(e,OB,pI),PB=e=>Ca(e,DB,pI),NE=e=>Ca(e,EB,HE),PL=e=>Ca(e,FB,TE),se=e=>VB.test(e),bl=e=>es(e,HB),UE=e=>es(e,OB),qB=e=>es(e,DB),$E=e=>es(e,TB),WE=e=>es(e,EB),qL=e=>es(e,FB,!0),GE=e=>es(e,jB,!0),Ca=(e,t,n)=>{const o=BB.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},es=(e,t,n=!1)=>{const o=VB.exec(e);return o?o[1]?t(o[1]):n:!1},DB=e=>e==="position"||e==="percentage",EB=e=>e==="image"||e==="url",TB=e=>e==="length"||e==="size"||e==="bg-size",HB=e=>e==="length",XE=e=>e==="number",OB=e=>e==="family-name",jB=e=>e==="number"||e==="weight",FB=e=>e==="shadow",KE=AE(()=>{const e=Ue("color"),t=Ue("font"),n=Ue("text"),o=Ue("font-weight"),r=Ue("tracking"),i=Ue("leading"),s=Ue("breakpoint"),c=Ue("container"),d=Ue("spacing"),h=Ue("radius"),u=Ue("shadow"),p=Ue("inset-shadow"),y=Ue("text-shadow"),f=Ue("drop-shadow"),m=Ue("blur"),k=Ue("perspective"),g=Ue("aspect"),x=Ue("ease"),C=Ue("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...b(),se,ie],S=()=>["auto","hidden","clip","visible","scroll"],v=()=>["auto","contain","none"],M=()=>[se,ie,d],I=()=>[wa,"full","auto",...M()],V=()=>[va,"none","subgrid",se,ie],_=()=>["auto",{span:["full",va,se,ie]},va,se,ie],B=()=>[va,"auto",se,ie],D=()=>["auto","min","max","fr",se,ie],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...M()],j=()=>[wa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],U=()=>[wa,"screen","full","dvw","lvw","svw","min","max","fit",...M()],J=()=>[wa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],E=()=>[e,se,ie],R=()=>[...b(),qB,PB,{position:[se,ie]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",$E,jE,{size:[se,ie]}],Q=()=>[uI,bl,Qi],re=()=>["","none","full",h,se,ie],he=()=>["",be,bl,Qi],pe=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[be,uI,qB,PB],W=()=>["","none",m,se,ie],q=()=>["none",be,se,ie],$=()=>["none",be,se,ie],ee=()=>[be,se,ie],ye=()=>[wa,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[oa],breakpoint:[oa],color:[_B],container:[oa],"drop-shadow":[oa],ease:["in","out","in-out"],font:[OE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[oa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[oa],shadow:[oa],spacing:["px",be],text:[oa],"text-shadow":[oa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",wa,ie,se,g]}],container:["container"],columns:[{columns:[be,ie,se,c]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:v()}],"overscroll-x":[{"overscroll-x":v()}],"overscroll-y":[{"overscroll-y":v()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[va,"auto",se,ie]}],basis:[{basis:[wa,"full","auto",c,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,wa,"auto","initial","none",ie]}],grow:[{grow:["",be,se,ie]}],shrink:[{shrink:["",be,se,ie]}],order:[{order:[va,"first","last","none",se,ie]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],"inline-size":[{inline:["auto",...U()]}],"min-inline-size":[{"min-inline":["auto",...U()]}],"max-inline-size":[{"max-inline":["none",...U()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[c,"screen",...j()]}],"min-w":[{"min-w":[c,"screen","none",...j()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,bl,Qi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,GE,FE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",uI,ie]}],"font-family":[{font:[UE,RE,t]}],"font-features":[{"font-features":[ie]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,se,ie]}],"line-clamp":[{"line-clamp":[be,"none",se,zB]}],leading:[{leading:[i,...M()]}],"list-image":[{"list-image":["none",se,ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",se,Qi]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[be,"auto",se,ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",se,ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},va,se,ie],radial:["",se,ie],conic:[va,se,ie]},WE,NE]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:Q()}],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,se,ie]}],"outline-w":[{outline:["",be,bl,Qi]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",u,qL,PL]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",p,qL,PL]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[be,Qi]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",y,qL,PL]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[be,se,ie]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[se,ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,ie]}],filter:[{filter:["","none",se,ie]}],blur:[{blur:W()}],brightness:[{brightness:[be,se,ie]}],contrast:[{contrast:[be,se,ie]}],"drop-shadow":[{"drop-shadow":["","none",f,qL,PL]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",be,se,ie]}],"hue-rotate":[{"hue-rotate":[be,se,ie]}],invert:[{invert:["",be,se,ie]}],saturate:[{saturate:[be,se,ie]}],sepia:[{sepia:["",be,se,ie]}],"backdrop-filter":[{"backdrop-filter":["","none",se,ie]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[be,se,ie]}],"backdrop-contrast":[{"backdrop-contrast":[be,se,ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,se,ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,se,ie]}],"backdrop-invert":[{"backdrop-invert":["",be,se,ie]}],"backdrop-opacity":[{"backdrop-opacity":[be,se,ie]}],"backdrop-saturate":[{"backdrop-saturate":[be,se,ie]}],"backdrop-sepia":[{"backdrop-sepia":["",be,se,ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",se,ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",se,ie]}],ease:[{ease:["linear","initial",x,se,ie]}],delay:[{delay:[be,se,ie]}],animate:[{animate:["none",C,se,ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,se,ie]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[se,ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ye()}],"translate-x":[{"translate-x":ye()}],"translate-y":[{"translate-y":ye()}],"translate-z":[{"translate-z":ye()}],"translate-none":["translate-none"],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",se,ie]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",se,ie]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[be,bl,Qi,zB]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function xe(...e){return KE(MB(e))}function ZE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yI={},fI={},DL={exports:{}},RB;function YE(){if(RB)return DL.exports;RB=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return DL.exports=t(),DL.exports.createColors=t,DL.exports}var NB;function JE(){return NB||(NB=1,(function(e){var t={};Object.defineProperty(e,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(e,{dim:function(){return c},default:function(){return d}});const o=r(YE());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&t.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(fI)),fI}var UB;function QE(){return UB||(UB=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const t=n(JE());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(yI)),yI}var mI,$B;function eT(){if($B)return mI;$B=1;let e=QE();return mI=(e.__esModule?e:{default:e}).default,mI}var tT=eT();const aT=ZE(tT),WB=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,GB=MB,xl=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return GB(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=WB(u)||WB(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(m=>{let[k,g]=m;return Array.isArray(g)?g.includes({...i,...c}[k]):{...i,...c}[k]===g})?[...h,p,y]:h},[]);return GB(e,s,d,n==null?void 0:n.class,n==null?void 0:n.className)};function XB(e){return typeof e=="string"?`'${e}'`:new nT().serialize(e)}const nT=(function(){var t;class e{constructor(){cq(this,t,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=t1(this,t).get(o);return r===void 0&&(t1(this,t).set(o,`#${t1(this,t).size}`),r=this.serializeObject(o),t1(this,t).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return e})();function oT(e,t){return e===t||XB(e)===XB(t)}function KB(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function yt(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[s=>{const c=a.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(a.provide(o,s),s)]}function ct(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function kI(e,t,n){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(r)}function gI(e){return e==null}function bI(e){return e?e.flatMap(t=>t.type===a.Fragment?bI(t.children):[t]):[]}const[EL]=yt("ConfigProvider");function rT(e,t){var n;const o=a.shallowRef();return a.watchEffect(()=>{o.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),a.readonly(o)}function Ls(e,t){return a.getCurrentScope()?(a.onScopeDispose(e,t),!0):!1}function iT(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return Ls(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function sT(e){let t=!1,n;const o=a.effectScope(!0);return((...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n))}const xI=new WeakMap,lT=(...e)=>{var t;const n=e[0],o=(t=a.getCurrentInstance())===null||t===void 0?void 0:t.proxy,r=o??a.getCurrentScope();if(r==null&&!a.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&xI.has(r)&&n in xI.get(r)?xI.get(r)[n]:a.inject(...e)},ft=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const cT=e=>typeof e<"u",dT=Object.prototype.toString,hT=e=>dT.call(e)==="[object Object]",ZB=uT();function uT(){var e,t,n;return ft&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function pT(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=e.slice(o.length),i=Number.parseFloat(o)+t;return Number.isNaN(i)?e:i+r}function Ml(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function MI(e){return Array.isArray(e)?e:[e]}function YB(e){return a.getCurrentInstance()}function yT(e){if(!ft)return e;let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(t+=1,o||(o=a.effectScope(!0),n=o.run(()=>e(...i))),Ls(r),n))}function fT(e){return a.isRef(e)?a.reactive(new Proxy({},{get(t,n,o){return a.unref(Reflect.get(e.value,n,o))},set(t,n,o){return a.isRef(e.value[n])&&!a.isRef(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):a.reactive(e)}function mT(e){return fT(a.computed(e))}function He(e,...t){const n=t.flat(),o=n[0];return mT(()=>Object.fromEntries(typeof o=="function"?Object.entries(a.toRefs(e)).filter(([r,i])=>!o(a.toValue(i),r)):Object.entries(a.toRefs(e)).filter(r=>!n.includes(r[0]))))}function JB(e,t=1e4){return a.customRef((n,o)=>{let r=a.toValue(e),i;const s=()=>setTimeout(()=>{r=a.toValue(e),o()},a.toValue(t));return Ls(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function kT(e,t){YB()&&a.onBeforeUnmount(e,t)}function gT(e,t=!0,n){YB()?a.onMounted(e,n):t?e():a.nextTick(e)}function QB(e,t,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=a.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&e(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...u)},a.toValue(t))}return o&&(i.value=!0,ft&&h()),Ls(d),{isPending:a.shallowReadonly(i),start:h,stop:d}}function bT(e,t,n){return a.watch(e,t,{...n,immediate:!0})}const Ss=ft?window:void 0;function Ut(e){var t;const n=a.toValue(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function wl(...e){const t=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=a.computed(()=>{const o=MI(a.toValue(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return bT(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Ut(i)))!==null&&o!==void 0?o:[Ss].filter(i=>i!=null),MI(a.toValue(n.value?e[1]:e[0])),MI(a.unref(n.value?e[2]:e[1])),a.toValue(n.value?e[3]:e[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=hT(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>t(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function eV(){const e=a.shallowRef(!1),t=a.getCurrentInstance();return t&&a.onMounted(()=>{e.value=!0},t),e}function tV(e){const t=eV();return a.computed(()=>(t.value,!!e()))}function xT(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function MT(...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=Ss,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=xT(t);return wl(r,i,u=>{u.repeat&&a.toValue(c)||d(u)&&n(u)},s)}const wT=Symbol("vueuse-ssr-width");function aV(){const e=a.hasInjectionContext()?lT(wT,null):null;return typeof e=="number"?e:void 0}function vl(e,t={}){const{window:n=Ss,ssrWidth:o=aV()}=t,r=tV(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=a.shallowRef(typeof o=="number"),s=a.shallowRef(),c=a.shallowRef(!1),d=h=>{c.value=h.matches};return a.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=a.toValue(e).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=Ml(p[1])),y&&f&&(f=o<=Ml(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(a.toValue(e)),c.value=s.value.matches)}),wl(s,"change",d,{passive:!0}),a.computed(()=>c.value)}const vT={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function CT(e,t={}){function n(f,m){let k=a.toValue(e[a.toValue(f)]);return m!=null&&(k=pT(k,m)),typeof k=="number"&&(k=`${k}px`),k}const{window:o=Ss,strategy:r="min-width",ssrWidth:i=aV()}=t,s=typeof i=="number",c=s?a.shallowRef(!1):{value:!0};s&&gT(()=>c.value=!!o);function d(f,m){return!c.value&&s?f==="min"?i>=Ml(m):i<=Ml(m):o?o.matchMedia(`(${f}-width: ${m})`).matches:!1}const h=f=>vl(()=>`(min-width: ${n(f)})`,t),u=f=>vl(()=>`(max-width: ${n(f)})`,t),p=Object.keys(e).reduce((f,m)=>(Object.defineProperty(f,m,{get:()=>r==="min-width"?h(m):u(m),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(e).map(m=>[m,p[m],Ml(n(m))]).sort((m,k)=>m[2]-k[2]);return a.computed(()=>f.filter(([,m])=>m.value).map(([m])=>m))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return vl(()=>`(min-width: ${n(f,.1)})`,t)},smaller(f){return vl(()=>`(max-width: ${n(f,-.1)})`,t)},between(f,m){return vl(()=>`(min-width: ${n(f)}) and (max-width: ${n(m,-.1)})`,t)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,m){return d("min",n(f))&&d("max",n(m,-.1))},current:y,active(){const f=y();return a.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function LT(e){return JSON.parse(JSON.stringify(e))}function ST(e,t,n={}){const{window:o=Ss,...r}=n;let i;const s=tV(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=a.watch(a.computed(()=>{const u=a.toValue(e);return Array.isArray(u)?u.map(p=>Ut(p)):[Ut(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(t);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return Ls(h),{isSupported:s,stop:h}}function Is(e,t,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=a.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let m=d;t||(t="modelValue"),m=m||`update:${t.toString()}`;const k=C=>s?typeof s=="function"?s(C):LT(C):C,g=()=>cT(e[t])?k(e[t]):u,x=C=>{p?p(C)&&f(m,C):f(m,C)};if(c){const C=a.ref(g());let w=!1;return a.watch(()=>e[t],b=>{w||(w=!0,C.value=k(b),a.nextTick(()=>w=!1))}),a.watch(C,b=>{!w&&(b!==e[t]||h)&&x(b)},{deep:h}),C}else return a.computed({get(){return g()},set(C){x(C)}})}function wI(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function vI(e,t,n=".",o){if(!wI(t))return vI(e,{},n,o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:wI(s)&&wI(r[i])?r[i]=vI(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function IT(e){return(...t)=>t.reduce((n,o)=>vI(n,o,"",e),{})}const AT=IT(),BT=yT(()=>{const e=a.ref(new Map),t=a.ref(),n=a.computed(()=>{for(const s of e.value.values())if(s)return!0;return!1}),o=EL({scrollBody:a.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",ZB&&(r==null||r()),t.value=void 0};return a.watch(n,(s,c)=>{var p;if(!ft)return;if(!s){c&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?AT({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),ZB&&(r=wl(document,"touchmove",y=>VT(y),{passive:!1})),a.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function nV(e){const t=Math.random().toString(36).substring(2,7),n=BT();n.value.set(t,e??!1);const o=a.computed({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return kT(()=>{n.value.delete(t)}),o}function oV(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:oV(n)}}function VT(e){const t=e||window.event,n=t.target;return n instanceof Element&&oV(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function _T(e){const t=EL({dir:a.ref("ltr")});return a.computed(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function TL(e){const t=a.getCurrentInstance(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(r=>{o[a.toHandlerKey(a.camelize(r))]=(...i)=>e(r,...i)}),o}let CI=0;function zT(){a.watchEffect(e=>{if(!ft)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??rV()),document.body.insertAdjacentElement("beforeend",t[1]??rV()),CI++,e(()=>{CI===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),CI--})})}function rV(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function PT(e){return a.computed(()=>{var t;return a.toValue(e)?!!((t=Ut(e))!=null&&t.closest("form")):!0})}function ke(){const e=a.getCurrentInstance(),t=a.ref(),n=a.computed(()=>{var s,c;return["#text","#comment"].includes((s=t.value)==null?void 0:s.$el.nodeName)?(c=t.value)==null?void 0:c.$el.nextElementSibling:Ut(t)}),o=Object.assign({},e.exposed),r={};for(const s in e.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function i(s){if(t.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});e.exposed=d}}return{forwardRef:i,currentRef:t,currentElement:n}}function nt(e){const t=a.getCurrentInstance(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((r,i)=>{const s=(t==null?void 0:t.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=a.toRef(e);return a.computed(()=>{const r={},i=(t==null?void 0:t.vnode.props)??{};return Object.keys(i).forEach(s=>{r[a.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function It(e,t){const n=nt(e),o=t?TL(t):{};return a.computed(()=>({...n.value,...o}))}function qT(e,t){const n=JB(!1,300);Ls(()=>{n.value=!1});const o=a.ref(null),r=iT();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=DT(u,h.getBoundingClientRect()),y=ET(u,p,1),f=TT(d.getBoundingClientRect()),m=OT([...y,...f]);o.value=m,n.value=!0}return a.watchEffect(c=>{if(e.value&&t.value){const d=u=>s(u,t.value),h=u=>s(u,e.value);e.value.addEventListener("pointerleave",d),t.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=e.value)==null||u.removeEventListener("pointerleave",d),(p=t.value)==null||p.removeEventListener("pointerleave",h)})}}),a.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,x;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=e.value)==null?void 0:g.contains(p))||((x=t.value)==null?void 0:x.contains(p)),m=!HT(y,o.value),k=!!p.closest("[data-grace-area-trigger]");f?i():(m||k)&&(i(),r.trigger())};(d=e.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=e.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function DT(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function ET(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function TT(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function HT(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i].x,d=t[i].y,h=t[s].x,u=t[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function OT(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),jT(t)}function jT(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var FT=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},As=new WeakMap,HL=new WeakMap,OL={},LI=0,iV=function(e){return e&&(e.host||iV(e.parentNode))},RT=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=iV(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},NT=function(e,t,n,o){var r=RT(t,Array.isArray(e)?e:[e]);OL[n]||(OL[n]=new WeakMap);var i=OL[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),m=f!==null&&f!=="false",k=(As.get(y)||0)+1,g=(i.get(y)||0)+1;As.set(y,k),i.set(y,g),s.push(y),k===1&&m&&HL.set(y,!0),g===1&&y.setAttribute(n,"true"),m||y.setAttribute(o,"true")}catch(x){console.error("aria-hidden: cannot operate on ",y,x)}})};return u(t),c.clear(),LI++,function(){s.forEach(function(p){var y=As.get(p)-1,f=i.get(p)-1;As.set(p,y),i.set(p,f),y||(HL.has(p)||p.removeAttribute(o),HL.delete(p)),f||p.removeAttribute(n)}),LI--,LI||(As=new WeakMap,As=new WeakMap,HL=new WeakMap,OL={})}},UT=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=FT(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),NT(o,r,n,"aria-hidden")):function(){return null}};function sV(e){let t;a.watch(()=>Ut(e),n=>{n?t=UT(n):t&&t()}),a.onUnmounted(()=>{t&&t()})}let $T=0;function Bs(e,t="reka"){var o;if("useId"in a1)return`${t}-${(o=a1.useId)==null?void 0:o.call(a1)}`;const n=EL({useId:void 0});return n.useId?`${t}-${n.useId()}`:`${t}-${++$T}`}function WT(e){const t=a.ref(),n=a.computed(()=>{var r;return((r=t.value)==null?void 0:r.width)??0}),o=a.computed(()=>{var r;return((r=t.value)==null?void 0:r.height)??0});return a.onMounted(()=>{const r=Ut(e);if(r){t.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;t.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else t.value=void 0}),{width:n,height:o}}function GT(e,t){const n=a.ref(e);function o(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function lV(e){const t=JB("",1e3);return{search:t,handleTypeaheadSearch:(r,i)=>{t.value=t.value+r;{const s=ct(),c=i.map(y=>{var f,m;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((m=y.ref.textContent)==null?void 0:m.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=KT(h,t.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{t.value=""}}}function XT(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function KT(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=XT(e,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function ZT(e,t){var g;const n=a.ref({}),o=a.ref("none"),r=a.ref(e),i=e.value?"mounted":"unmounted";let s;const c=((g=t.value)==null?void 0:g.ownerDocument.defaultView)??Ss,{state:d,dispatch:h}=GT(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=x=>{var C;if(ft){const w=new CustomEvent(x,{bubbles:!1,cancelable:!1});(C=t.value)==null||C.dispatchEvent(w)}};a.watch(e,async(x,C)=>{var b;const w=C!==x;if(await a.nextTick(),w){const L=o.value,S=jL(t.value);x?(h("MOUNT"),u("enter"),S==="none"&&u("after-enter")):S==="none"||S==="undefined"||((b=n.value)==null?void 0:b.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):C&&L!==S?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=x=>{const C=jL(t.value),w=C.includes(CSS.escape(x.animationName)),b=d.value==="mounted"?"enter":"leave";if(x.target===t.value&&w&&(u(`after-${b}`),h("ANIMATION_END"),!r.value)){const L=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var S;((S=t.value)==null?void 0:S.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=L)})}x.target===t.value&&C==="none"&&h("ANIMATION_END")},y=x=>{x.target===t.value&&(o.value=jL(t.value))},f=a.watch(t,(x,C)=>{x?(n.value=getComputedStyle(x),x.addEventListener("animationstart",y),x.addEventListener("animationcancel",p),x.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),C==null||C.removeEventListener("animationstart",y),C==null||C.removeEventListener("animationcancel",p),C==null||C.removeEventListener("animationend",p))},{immediate:!0}),m=a.watch(d,()=>{const x=jL(t.value);o.value=d.value==="mounted"?x:"none"});return a.onUnmounted(()=>{f(),m()}),{isPresent:a.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function jL(e){return e&&getComputedStyle(e).animationName||"none"}var FL=a.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var h;const{present:o,forceMount:r}=a.toRefs(e),i=a.ref(),{isPresent:s}=ZT(o,i);n({present:s});let c=t.default({present:s.value});c=bI(c||[]);const d=a.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8497
8497
|
`)].join(`
|
|
8498
|
-
`))}return()=>r.value||o.value||s.value?a.h(t.default({present:s.value})[0],{ref:u=>{const p=Nt(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const SI=a.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var d;if(!n.default)return null;const o=bI(n.default()),r=o.findIndex(h=>h.type!==a.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?a.mergeProps(t,i.props):t,c=a.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),YT=["area","img","input"],we=a.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&YT.includes(o)?()=>a.h(o,t):o!=="template"?()=>a.h(e.as,t,{default:n.default}):()=>a.h(SI,t,{default:n.default})}});function cV(){const e=a.ref(),t=a.computed(()=>{var n,o;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(o=e.value)==null?void 0:o.$el.nextElementSibling:Nt(e)});return{primitiveElement:e,currentElement:t}}const[Ut,JT]=pt("DialogRoot");var QT=a.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=Is(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),s=a.ref(),{modal:c}=a.toRefs(n);return JT({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>a.renderSlot(d.$slots,"default",{open:a.unref(r),close:()=>r.value=!1})}}),dV=QT,eH=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=Ut();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),hV=eH;const tH="dismissableLayer.pointerDownOutside",aH="dismissableLayer.focusOutside";function uV(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function nH(e,t,n=!0){var s;const o=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1),i=a.ref(()=>{});return a.watchEffect(c=>{if(!yt||!a.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(t!=null&&t.value)||!p)){if(uV(t.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){kI(tH,e,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{a.toValue(n)&&(r.value=!0)}}}function oH(e,t,n=!0){var i;const o=((i=t==null?void 0:t.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1);return a.watchEffect(s=>{if(!yt||!a.toValue(n))return;const c=async d=>{if(!(t!=null&&t.value))return;await a.nextTick(),await a.nextTick();const h=d.target;!t.value||!h||uV(t.value,h)||d.target&&!r.value&&kI(aH,e,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{a.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{a.toValue(n)&&(r.value=!1)}}}const ft=a.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var rH=a.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:i}=ke(),s=a.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=a.computed(()=>ft.layersRoot),d=a.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=a.computed(()=>ft.layersWithOutsidePointerEventsDisabled.size>0),u=a.computed(()=>{const f=Array.from(c.value),[m]=[...ft.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(m);return d.value>=k}),p=nH(async f=>{const m=[...ft.branches].some(k=>k==null?void 0:k.contains(f.target));!u.value||m||(o("pointerDownOutside",f),o("interactOutside",f),await a.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=oH(f=>{[...ft.branches].some(k=>k==null?void 0:k.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return MT("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),a.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(ft.layersWithOutsidePointerEventsDisabled.size===0&&(ft.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),ft.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&ft.layersWithOutsidePointerEventsDisabled.size===1&&!gI(ft.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=ft.originalBodyPointerEvents)}))}),a.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),ft.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,m)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:a.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:a.unref(y).onFocusCapture,onBlurCapture:a.unref(y).onBlurCapture,onPointerdownCapture:a.unref(p).onPointerDownCapture},{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),II=rH;const iH=sT(()=>a.ref([]));function sH(){const e=iH();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=pV(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=pV(e.value,t),(n=e.value[0])==null||n.resume()}}}function pV(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}const AI="focusScope.autoFocusOnMount",BI="focusScope.autoFocusOnUnmount",yV={bubbles:!1,cancelable:!0};function lH(e,{select:t=!1}={}){const n=ct();for(const o of e)if(La(o,{select:t}),ct()!==n)return!0}function cH(e){const t=fV(e),n=mV(t,e),o=mV(t.reverse(),e);return[n,o]}function fV(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function mV(e,t){for(const n of e)if(!dH(n,{upTo:t}))return n}function dH(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hH(e){return e instanceof HTMLInputElement&&"select"in e}function La(e,{select:t=!1}={}){if(e&&e.focus){const n=ct();e.focus({preventScroll:!0}),e!==n&&hH(e)&&t&&e.select()}}var uH=a.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:r,currentElement:i}=ke(),s=a.ref(null),c=sH(),d=a.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});a.watchEffect(u=>{if(!yt)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const x=g.target;p.contains(x)?s.value=x:La(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const x=g.relatedTarget;x!==null&&(p.contains(x)||La(s.value,{select:!0}))}function m(g){p.contains(s.value)||La(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const k=new MutationObserver(m);p&&k.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),k.disconnect()})}),a.watchEffect(async u=>{const p=i.value;if(await a.nextTick(),!p)return;c.add(d);const y=ct();if(!p.contains(y)){const m=new CustomEvent(AI,yV);p.addEventListener(AI,k=>o("mountAutoFocus",k)),p.dispatchEvent(m),m.defaultPrevented||(lH(fV(p),{select:!0}),ct()===y&&La(p))}u(()=>{p.removeEventListener(AI,g=>o("mountAutoFocus",g));const m=new CustomEvent(BI,yV),k=g=>{o("unmountAutoFocus",g)};p.addEventListener(BI,k),p.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||La(y??document.body,{select:!0}),p.removeEventListener(BI,k),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=ct();if(p&&y){const f=u.currentTarget,[m,k]=cH(f);m&&k?!u.shiftKey&&y===k?(u.preventDefault(),n.loop&&La(m,{select:!0})):u.shiftKey&&y===m&&(u.preventDefault(),n.loop&&La(k,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(a.openBlock(),a.createBlock(a.unref(we),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),kV=uH;function pH(e){return e?"open":"closed"}function gV(e){const t=ct();for(const n of e)if(n===t||(n.focus(),ct()!==t))return}const yH="DialogTitle",fH="DialogContent";function mH({titleName:e=yH,contentName:t=fH,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${t}\` requires a \`${e}\` for the component to be accessible for screen reader users.
|
|
8498
|
+
`))}return()=>r.value||o.value||s.value?a.h(t.default({present:s.value})[0],{ref:u=>{const p=Ut(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const SI=a.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var d;if(!n.default)return null;const o=bI(n.default()),r=o.findIndex(h=>h.type!==a.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?a.mergeProps(t,i.props):t,c=a.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),YT=["area","img","input"],we=a.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&YT.includes(o)?()=>a.h(o,t):o!=="template"?()=>a.h(e.as,t,{default:n.default}):()=>a.h(SI,t,{default:n.default})}});function cV(){const e=a.ref(),t=a.computed(()=>{var n,o;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(o=e.value)==null?void 0:o.$el.nextElementSibling:Ut(e)});return{primitiveElement:e,currentElement:t}}const[$t,JT]=yt("DialogRoot");var QT=a.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=Is(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),s=a.ref(),{modal:c}=a.toRefs(n);return JT({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>a.renderSlot(d.$slots,"default",{open:a.unref(r),close:()=>r.value=!1})}}),dV=QT,eH=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),hV=eH;const tH="dismissableLayer.pointerDownOutside",aH="dismissableLayer.focusOutside";function uV(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function nH(e,t,n=!0){var s;const o=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1),i=a.ref(()=>{});return a.watchEffect(c=>{if(!ft||!a.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(t!=null&&t.value)||!p)){if(uV(t.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){kI(tH,e,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{a.toValue(n)&&(r.value=!0)}}}function oH(e,t,n=!0){var i;const o=((i=t==null?void 0:t.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1);return a.watchEffect(s=>{if(!ft||!a.toValue(n))return;const c=async d=>{if(!(t!=null&&t.value))return;await a.nextTick(),await a.nextTick();const h=d.target;!t.value||!h||uV(t.value,h)||d.target&&!r.value&&kI(aH,e,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{a.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{a.toValue(n)&&(r.value=!1)}}}const mt=a.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var rH=a.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:i}=ke(),s=a.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=a.computed(()=>mt.layersRoot),d=a.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=a.computed(()=>mt.layersWithOutsidePointerEventsDisabled.size>0),u=a.computed(()=>{const f=Array.from(c.value),[m]=[...mt.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(m);return d.value>=k}),p=nH(async f=>{const m=[...mt.branches].some(k=>k==null?void 0:k.contains(f.target));!u.value||m||(o("pointerDownOutside",f),o("interactOutside",f),await a.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=oH(f=>{[...mt.branches].some(k=>k==null?void 0:k.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return MT("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),a.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(mt.layersWithOutsidePointerEventsDisabled.size===0&&(mt.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),mt.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&mt.layersWithOutsidePointerEventsDisabled.size===1&&!gI(mt.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=mt.originalBodyPointerEvents)}))}),a.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),mt.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,m)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:a.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:a.unref(y).onFocusCapture,onBlurCapture:a.unref(y).onBlurCapture,onPointerdownCapture:a.unref(p).onPointerDownCapture},{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),II=rH;const iH=sT(()=>a.ref([]));function sH(){const e=iH();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=pV(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=pV(e.value,t),(n=e.value[0])==null||n.resume()}}}function pV(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}const AI="focusScope.autoFocusOnMount",BI="focusScope.autoFocusOnUnmount",yV={bubbles:!1,cancelable:!0};function lH(e,{select:t=!1}={}){const n=ct();for(const o of e)if(La(o,{select:t}),ct()!==n)return!0}function cH(e){const t=fV(e),n=mV(t,e),o=mV(t.reverse(),e);return[n,o]}function fV(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function mV(e,t){for(const n of e)if(!dH(n,{upTo:t}))return n}function dH(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hH(e){return e instanceof HTMLInputElement&&"select"in e}function La(e,{select:t=!1}={}){if(e&&e.focus){const n=ct();e.focus({preventScroll:!0}),e!==n&&hH(e)&&t&&e.select()}}var uH=a.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:r,currentElement:i}=ke(),s=a.ref(null),c=sH(),d=a.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});a.watchEffect(u=>{if(!ft)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const x=g.target;p.contains(x)?s.value=x:La(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const x=g.relatedTarget;x!==null&&(p.contains(x)||La(s.value,{select:!0}))}function m(g){p.contains(s.value)||La(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const k=new MutationObserver(m);p&&k.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),k.disconnect()})}),a.watchEffect(async u=>{const p=i.value;if(await a.nextTick(),!p)return;c.add(d);const y=ct();if(!p.contains(y)){const m=new CustomEvent(AI,yV);p.addEventListener(AI,k=>o("mountAutoFocus",k)),p.dispatchEvent(m),m.defaultPrevented||(lH(fV(p),{select:!0}),ct()===y&&La(p))}u(()=>{p.removeEventListener(AI,g=>o("mountAutoFocus",g));const m=new CustomEvent(BI,yV),k=g=>{o("unmountAutoFocus",g)};p.addEventListener(BI,k),p.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||La(y??document.body,{select:!0}),p.removeEventListener(BI,k),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=ct();if(p&&y){const f=u.currentTarget,[m,k]=cH(f);m&&k?!u.shiftKey&&y===k?(u.preventDefault(),n.loop&&La(m,{select:!0})):u.shiftKey&&y===m&&(u.preventDefault(),n.loop&&La(k,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(a.openBlock(),a.createBlock(a.unref(we),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),kV=uH;function pH(e){return e?"open":"closed"}function gV(e){const t=ct();for(const n of e)if(n===t||(n.focus(),ct()!==t))return}const yH="DialogTitle",fH="DialogContent";function mH({titleName:e=yH,contentName:t=fH,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${t}\` requires a \`${e}\` for the component to be accessible for screen reader users.
|
|
8499
8499
|
|
|
8500
8500
|
If you want to hide the \`${e}\`, you can wrap it with our VisuallyHidden component.
|
|
8501
8501
|
|
|
8502
|
-
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`;a.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var kH={},gH=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ut(),{forwardRef:i,currentElement:s}=ke();return r.titleId||(r.titleId=Bs(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=Bs(void 0,"reka-dialog-description")),a.onMounted(()=>{r.contentElement=s,ct()!==document.body&&(r.triggerElement.value=ct())}),kH.NODE_ENV!=="production"&&mH({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(a.openBlock(),a.createBlock(a.unref(kV),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(II),a.mergeProps({id:a.unref(r).contentId,ref:a.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(r).descriptionId,"aria-labelledby":a.unref(r).titleId,"data-state":a.unref(pH)(a.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),bV=gH,bH=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ut(),i=TL(o),{forwardRef:s,currentElement:c}=ke();return sV(c),(d,h)=>(a.openBlock(),a.createBlock(bV,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=a.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),xH=bH,MH=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=TL(t);ke();const i=Ut(),s=a.ref(!1),c=a.ref(!1);return(d,h)=>(a.openBlock(),a.createBlock(bV,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=a.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=a.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),wH=MH,vH=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ut(),i=TL(o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(FL),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(xH,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(wH,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),xV=vH,CH=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;ke();const n=Ut();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{id:a.unref(n).descriptionId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),MV=CH,LH=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Ut();return nV(!0),ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),{as:n.as,"as-child":n.asChild,"data-state":a.unref(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),SH=LH,IH=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Ut(),{forwardRef:n}=ke();return(o,r)=>{var i;return(i=a.unref(t))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(FL),{key:0,present:o.forceMount||a.unref(t).open.value},{default:a.withCtx(()=>[a.createVNode(SH,a.mergeProps(o.$attrs,{ref:a.unref(n),as:o.as,"as-child":o.asChild}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("v-if",!0)}}}),wV=IH,AH=a.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=eV();return(n,o)=>a.unref(t)||n.forceMount?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[a.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):a.createCommentVNode("v-if",!0)}}),VI=AH,BH=a.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vV=BH,VH=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=Ut();return ke(),(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),CV=VH,_H=a.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ut(),{forwardRef:o,currentElement:r}=ke();return n.contentId||(n.contentId=Bs(void 0,"reka-dialog-content")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value||!1,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).open.value?"open":"closed",onClick:a.unref(n).onOpenToggle}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),zH=_H;const[LV,PH]=pt("AvatarRoot");var qH=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return ke(),PH({imageLoadingStatus:a.ref("idle")}),(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{"as-child":t.asChild,as:t.as},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as-child","as"]))}}),DH=qH,EH=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=LV();ke();const o=a.ref(t.delayMs===void 0);return a.watchEffect(r=>{if(t.delayMs&&yt){const i=window.setTimeout(()=>{o.value=!0},t.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(we),{key:0,"as-child":r.asChild,as:r.as},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("v-if",!0)}}),TH=EH;function SV(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function HH(e,{referrerPolicy:t,crossOrigin:n}={}){const o=a.ref(!1),r=a.ref(null),i=a.computed(()=>o.value?(!r.value&&yt&&(r.value=new window.Image),r.value):null),s=a.ref(SV(i.value,e.value)),c=d=>()=>{o.value&&(s.value=d)};return a.onMounted(()=>{o.value=!0,a.watchEffect(d=>{const h=i.value;if(!h)return;s.value=SV(h,e.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),t!=null&&t.value&&(h.referrerPolicy=t.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),a.onUnmounted(()=>{o.value=!1}),s}var OH=a.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,o=t,{src:r,referrerPolicy:i,crossOrigin:s}=a.toRefs(n);ke();const c=LV(),d=HH(r,{referrerPolicy:i,crossOrigin:s});return a.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(we),{role:"img","as-child":h.asChild,as:h.as,src:a.unref(r),referrerpolicy:a.unref(i),crossorigin:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[a.vShow,a.unref(d)==="loaded"]])}}),jH=OH;const IV="data-reka-collection-item";function Vs(e={}){const{key:t="",isProvider:n=!1}=e,o=`${t}CollectionProvider`;let r;if(n){const u=a.ref(new Map);r={collectionRef:a.ref(),itemMap:u},a.provide(o,r)}else r=a.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${IV}]`)),m=Array.from(r.itemMap.value.values()).sort((k,g)=>y.indexOf(k.ref)-y.indexOf(g.ref));return u?m:m.filter(k=>k.ref.dataset.disabled!=="")},s=a.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=cV();return a.watch(m,()=>{r.collectionRef.value=m.value}),()=>a.h(SI,{ref:f,...y},p)}}),c=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=cV();return a.watchEffect(k=>{if(m.value){const g=a.markRaw(m.value);r.itemMap.value.set(g,{ref:m.value,value:u.value}),k(()=>r.itemMap.value.delete(g))}}),()=>a.h(SI,{...y,[IV]:"",ref:f},p)}}),d=a.computed(()=>Array.from(r.itemMap.value.values())),h=a.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var FH=a.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),AV=FH;const[BV,RH]=pt("PopperRoot");var NH=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=a.ref();return RH({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>a.renderSlot(n.$slots,"default")}}),VV=NH,UH=a.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:o}=ke(),r=BV();return a.watchPostEffect(()=>{r.onAnchorChange(t.reference??o.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),_V=UH;function $H(e){return e!==null}function WH(e){return{name:"transformOrigin",options:e,fn(t){var g,x,C;const{placement:n,rects:o,middlewareData:r}=t,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[h,u]=_I(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((x=r.arrow)==null?void 0:x.x)??0)+c/2,f=(((C=r.arrow)==null?void 0:C.y)??0)+d/2;let m="",k="";return h==="bottom"?(m=s?p:`${y}px`,k=`${-d}px`):h==="top"?(m=s?p:`${y}px`,k=`${o.floating.height+d}px`):h==="right"?(m=`${-d}px`,k=s?p:`${f}px`):h==="left"&&(m=`${o.floating.width+d}px`,k=s?p:`${f}px`),{data:{x:m,y:k}}}}}function _I(e){const[t,n="center"]=e.split("-");return[t,n]}const GH={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Wee,XH]=pt("PopperContent");var KH=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...GH}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,r=BV(),{forwardRef:i,currentElement:s}=ke(),c=a.ref(),d=a.ref(),{width:h,height:u}=WT(d),p=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=a.computed(()=>({padding:y.value,boundary:f.value.filter($H),altBoundary:f.value.length>0})),k=a.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=rT(()=>[u1({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Ks({...m.value,...k.value}),n.avoidCollisions&&p1({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?uD():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&Ks({...m.value,...k.value}),y1({...m.value,apply:({elements:B,rects:D,availableWidth:z,availableHeight:G})=>{const{width:H,height:O}=D.reference,U=B.floating.style;U.setProperty("--reka-popper-available-width",`${z}px`),U.setProperty("--reka-popper-available-height",`${G}px`),U.setProperty("--reka-popper-anchor-width",`${H}px`),U.setProperty("--reka-popper-anchor-height",`${O}px`)}}),d.value&&fD({element:d.value,padding:n.arrowPadding}),WH({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&dD({strategy:"referenceHidden",...m.value})]),x=a.computed(()=>n.reference??r.anchor.value),{floatingStyles:C,placement:w,isPositioned:b,middlewareData:L}=f1(x,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...B)=>h1(...B,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),S=a.computed(()=>_I(w.value)[0]),v=a.computed(()=>_I(w.value)[1]);a.watchPostEffect(()=>{b.value&&o("placed")});const M=a.computed(()=>{var D;const B=((D=L.value.arrow)==null?void 0:D.centerOffset)!==0;return n.hideShiftedArrow&&B}),I=a.ref("");a.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const V=a.computed(()=>{var B;return((B=L.value.arrow)==null?void 0:B.x)??0}),_=a.computed(()=>{var B;return((B=L.value.arrow)==null?void 0:B.y)??0});return XH({placedSide:S,onArrowChange:B=>d.value=B,arrowX:V,arrowY:_,shouldHideArrow:M}),(B,D)=>{var z,G,H;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(C),transform:a.unref(b)?a.unref(C).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(z=a.unref(L).transformOrigin)==null?void 0:z.x,(G=a.unref(L).transformOrigin)==null?void 0:G.y].join(" "),...((H=a.unref(L).hide)==null?void 0:H.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(i)},B.$attrs,{"as-child":n.asChild,as:B.as,"data-side":S.value,"data-align":v.value,style:{animation:a.unref(b)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(B.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),zV=KH;function ZH(e){const t=EL({nonce:a.ref()});return a.computed(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}var YH=a.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),JH=YH,QH=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"data-type":"ellipsis"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=a.createTextVNode("…"))])]),_:3},16))}}),eO=QH;const[_s,tO]=pt("PaginationRoot");var aO=a.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(e,{emit:t}){const n=e,o=t,{siblingCount:r,disabled:i,showEdges:s}=a.toRefs(n);ke();const c=Is(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=a.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return tO({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(we),{as:h.as,"as-child":h.asChild},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default",{page:a.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),nO=aO,oO=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=_s();ke();const o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),rO=oO,iO=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=_s();ke();const o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).pageCount.value))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),sO=iO;function Sa(e,t){const n=t-e+1;return Array.from({length:n},(o,r)=>r+e)}function lO(e){return e.map(t=>typeof t=="number"?{type:"page",value:t}:{type:"ellipsis"})}const RL="ellipsis";function cO(e,t,n,o){const i=t,s=Math.max(e-n,1),c=Math.min(e+n,i);if(o){const h=Math.min(2*n+5,t)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...Sa(1,h),RL,i];if(u&&!p){const f=Sa(i-h+1,i);return[1,RL,...f]}if(u&&p){const f=Sa(s,c);return[1,RL,...f,RL,i]}return Sa(1,i)}else{const d=n*2+1;return t<d?Sa(1,i):e<=n+1?Sa(1,d):t-e<=n?Sa(t-d+1,i):Sa(s,c)}}var dO=a.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>lO(cO(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),hO=dO,uO=a.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===t.value),r=a.computed(()=>n.disabled.value);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&a.unref(n).onPageChange(i.value))}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),pO=uO,yO=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value+1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),fO=yO,mO=a.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value-1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),kO=mO;const gO=[" ","Enter","ArrowUp","ArrowDown"],bO=[" ","Enter"],It=10;function Cl(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(o=>zI(o,t,n)):zI(e,t,n)}function zI(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?(e==null?void 0:e[n])===(t==null?void 0:t[n]):oT(e,t)}function xO(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const MO={key:0,value:""},[Ia,PV]=pt("SelectRoot");var wO=a.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,o=t,{required:r,disabled:i,multiple:s,dir:c}=a.toRefs(n),d=Is(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=Is(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=a.ref(),p=a.ref(),y=a.ref({x:0,y:0}),f=a.computed(()=>{var b;return s.value&&Array.isArray(d.value)?((b=d.value)==null?void 0:b.length)===0:gI(d.value)});Vs({isProvider:!0});const m=_T(c),k=PT(u),g=a.ref(new Set),x=a.computed(()=>Array.from(g.value).map(b=>b.value).join(";"));function C(b){if(s.value){const L=Array.isArray(d.value)?[...d.value]:[],S=L.findIndex(v=>zI(v,b,n.by));S===-1?L.push(b):L.splice(S,1),d.value=[...L]}else d.value=b}function w(b){return Array.from(g.value).find(L=>Cl(b,L.value,n.by))}return PV({triggerElement:u,onTriggerChange:b=>{u.value=b},valueElement:p,onValueElementChange:b=>{p.value=b},contentId:"",modelValue:d,onValueChange:C,by:n.by,open:h,multiple:s,required:r,onOpenChange:b=>{h.value=b},dir:m,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:b=>{const L=w(b.value);L&&g.value.delete(L),g.value.add(b)},onOptionRemove:b=>{const L=w(b.value);L&&g.value.delete(L)}}),(b,L)=>(a.openBlock(),a.createBlock(a.unref(VV),null,{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default",{modelValue:a.unref(d),open:a.unref(h)}),a.unref(k)?(a.openBlock(),a.createBlock(LO,{key:x.value,"aria-hidden":"true",tabindex:"-1",multiple:a.unref(s),required:a.unref(r),name:b.name,autocomplete:b.autocomplete,disabled:a.unref(i),value:a.unref(d)},{default:a.withCtx(()=>[a.unref(gI)(a.unref(d))?(a.openBlock(),a.createElementBlock("option",MO)):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Array.from(g.value),S=>(a.openBlock(),a.createElementBlock("option",a.mergeProps({key:S.value??""},{ref_for:!0},S),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):a.createCommentVNode("v-if",!0)]),_:3}))}}),vO=wO,CO=a.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=a.ref(),o=Ia();a.watch(()=>t.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(a.openBlock(),a.createBlock(a.unref(AV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("select",a.mergeProps({ref_key:"selectElement",ref:n},t,{onInput:r}),[a.renderSlot(i.$slots,"default")],16)]),_:3}))}}),LO=CO,SO=a.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:It},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=nt(e);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(zV),a.mergeProps(a.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),IO=SO;const AO={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ts,qV]=pt("SelectContent");var BO=a.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Ia();zT(),nV(n.bodyLock);const{CollectionSlot:i,getItems:s}=Vs(),c=a.ref();sV(c);const{search:d,handleTypeaheadSearch:h}=lV(),u=a.ref(),p=a.ref(),y=a.ref(),f=a.ref(!1),m=a.ref(!1),k=a.ref(!1);function g(){p.value&&c.value&&gV([p.value,c.value])}a.watch(f,()=>{g()});const{onOpenChange:x,triggerPointerDownPosRef:C}=r;a.watchEffect(S=>{if(!c.value)return;let v={x:0,y:0};const M=V=>{var _,B;v={x:Math.abs(Math.round(V.pageX)-(((_=C.value)==null?void 0:_.x)??0)),y:Math.abs(Math.round(V.pageY)-(((B=C.value)==null?void 0:B.y)??0))}},I=V=>{var _;V.pointerType!=="touch"&&(v.x<=10&&v.y<=10?V.preventDefault():(_=c.value)!=null&&_.contains(V.target)||x(!1),document.removeEventListener("pointermove",M),C.value=null)};C.value!==null&&(document.addEventListener("pointermove",M),document.addEventListener("pointerup",I,{capture:!0,once:!0})),S(()=>{document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",I,{capture:!0})})});function w(S){const v=S.ctrlKey||S.altKey||S.metaKey;if(S.key==="Tab"&&S.preventDefault(),!v&&S.key.length===1&&h(S.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(S.key)){let I=[...s().map(V=>V.ref)];if(["ArrowUp","End"].includes(S.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(S.key)){const V=S.target,_=I.indexOf(V);I=I.slice(_+1)}setTimeout(()=>gV(I)),S.preventDefault()}}const b=a.computed(()=>n.position==="popper"?n:{}),L=nt(b.value);return qV({content:c,viewport:u,onViewportChange:S=>{u.value=S},itemRefCallback:(S,v,M)=>{const I=!m.value&&!M,V=Cl(r.modelValue.value,v,r.by);if(r.multiple.value){if(k.value)return;(V||I)&&(p.value=S,V&&(k.value=!0))}else(V||I)&&(p.value=S);I&&(m.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var S;(S=c.value)==null||S.focus()},itemTextRefCallback:(S,v,M)=>{const I=!m.value&&!M;(Cl(r.modelValue.value,v,r.by)||I)&&(y.value=S)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(S,v)=>(a.openBlock(),a.createBlock(a.unref(i),null,{default:a.withCtx(()=>[a.createVNode(a.unref(kV),{"as-child":"",onMountAutoFocus:v[6]||(v[6]=a.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:v[7]||(v[7]=M=>{var I;o("closeAutoFocus",M),!M.defaultPrevented&&((I=a.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),M.preventDefault())})},{default:a.withCtx(()=>[a.createVNode(a.unref(II),{"as-child":"","disable-outside-pointer-events":S.disableOutsidePointerEvents,onFocusOutside:v[2]||(v[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:v[3]||(v[3]=M=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:v[4]||(v[4]=M=>o("escapeKeyDown",M)),onPointerDownOutside:v[5]||(v[5]=M=>o("pointerDownOutside",M))},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.position==="popper"?IO:PO),a.mergeProps({...S.$attrs,...a.unref(L)},{id:a.unref(r).contentId,ref:M=>{const I=a.unref(Nt)(M);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":a.unref(r).open.value?"open":"closed",dir:a.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:v[0]||(v[0]=a.withModifiers(()=>{},["prevent"])),onPlaced:v[1]||(v[1]=M=>f.value=!0),onKeydown:w}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),VO=BO;const[PI,_O]=pt("SelectItemAlignedPosition");var zO=a.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,o=t,{getItems:r}=Vs(),i=Ia(),s=ts(),c=a.ref(!1),d=a.ref(!0),h=a.ref(),{forwardRef:u,currentElement:p}=ke(),{viewport:y,selectedItem:f,selectedItemText:m,focusSelectedItem:k}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const w=i.triggerElement.value.getBoundingClientRect(),b=p.value.getBoundingClientRect(),L=i.valueElement.value.getBoundingClientRect(),S=m.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const pe=S.left-b.left,Ve=L.left-pe,ue=w.left-Ve,W=w.width+ue,q=Math.max(W,b.width),$=window.innerWidth-It,ee=KB(Ve,It,Math.max(It,$-q));h.value.style.minWidth=`${W}px`,h.value.style.left=`${ee}px`}else{const pe=b.right-S.right,Ve=window.innerWidth-L.right-pe,ue=window.innerWidth-w.right-Ve,W=w.width+ue,q=Math.max(W,b.width),$=window.innerWidth-It,ee=KB(Ve,It,Math.max(It,$-q));h.value.style.minWidth=`${W}px`,h.value.style.right=`${ee}px`}const v=r().map(pe=>pe.ref),M=window.innerHeight-It*2,I=y.value.scrollHeight,V=window.getComputedStyle(p.value),_=Number.parseInt(V.borderTopWidth,10),B=Number.parseInt(V.paddingTop,10),D=Number.parseInt(V.borderBottomWidth,10),z=Number.parseInt(V.paddingBottom,10),G=_+B+I+z+D,H=Math.min(f.value.offsetHeight*5,G),O=window.getComputedStyle(y.value),U=Number.parseInt(O.paddingTop,10),J=Number.parseInt(O.paddingBottom,10),T=w.top+w.height/2-It,R=M-T,F=f.value.offsetHeight/2,Y=f.value.offsetTop+F,Q=_+B+Y,re=G-Q;if(Q<=T){const pe=f.value===v[v.length-1];h.value.style.bottom="0px";const Ve=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,ue=Math.max(R,F+(pe?J:0)+Ve+D),W=Q+ue;h.value.style.height=`${W}px`}else{const pe=f.value===v[0];h.value.style.top="0px";const ue=Math.max(T,_+y.value.offsetTop+(pe?U:0)+F)+re;h.value.style.height=`${ue}px`,y.value.scrollTop=Q-T+y.value.offsetTop}h.value.style.margin=`${It}px 0`,h.value.style.minHeight=`${H}px`,h.value.style.maxHeight=`${M}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const x=a.ref("");a.onMounted(async()=>{await a.nextTick(),g(),p.value&&(x.value=window.getComputedStyle(p.value).zIndex)});function C(w){w&&d.value===!0&&(g(),k==null||k(),d.value=!1)}return ST(i.triggerElement,()=>{g()}),_O({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:C}),(w,b)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:a.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:x.value})},[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...n}),{default:a.withCtx(()=>[a.renderSlot(w.$slots,"default")]),_:3},16)],4))}}),PO=zO,qO=a.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return PV(e.context),qV(AO),(n,o)=>a.renderSlot(n.$slots,"default")}}),DO=qO;const EO={key:1};var TO=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=St(n,t),i=Ia(),s=a.ref();a.onMounted(()=>{s.value=new DocumentFragment});const c=a.ref(),d=a.computed(()=>n.forceMount||i.open.value),h=a.ref(d.value);return a.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(a.openBlock(),a.createBlock(a.unref(FL),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:a.withCtx(()=>[a.createVNode(VO,a.normalizeProps(a.guardReactiveProps({...a.unref(r),...u.$attrs})),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(a.openBlock(),a.createElementBlock("div",EO,[(a.openBlock(),a.createBlock(a.Teleport,{to:s.value},[a.createVNode(DO,{context:a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):a.createCommentVNode("v-if",!0)}}}),HO=TO,OO=a.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{"aria-hidden":"true",as:t.as,"as-child":t.asChild},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default",{},()=>[n[0]||(n[0]=a.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),jO=OO;const[DV,FO]=pt("SelectItem");var RO=a.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,{disabled:r}=a.toRefs(n),i=Ia(),s=ts(),{forwardRef:c,currentElement:d}=ke(),{CollectionItem:h}=Vs(),u=a.computed(()=>{var b;return Cl((b=i.modelValue)==null?void 0:b.value,n.value,i.by)}),p=a.ref(!1),y=a.ref(n.textValue??""),f=Bs(void 0,"reka-select-item-text"),m="select.select";async function k(b){if(b.defaultPrevented)return;const L={originalEvent:b,value:n.value};kI(m,g,L)}async function g(b){await a.nextTick(),o("select",b),!b.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function x(b){var L,S;await a.nextTick(),!b.defaultPrevented&&(r.value?(L=s.onItemLeave)==null||L.call(s):(S=b.currentTarget)==null||S.focus({preventScroll:!0}))}async function C(b){var L;await a.nextTick(),!b.defaultPrevented&&b.currentTarget===ct()&&((L=s.onItemLeave)==null||L.call(s))}async function w(b){var S;await a.nextTick(),!(b.defaultPrevented||((S=s.searchRef)==null?void 0:S.value)!==""&&b.key===" ")&&(bO.includes(b.key)&&k(b),b.key===" "&&b.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),FO({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:b=>{y.value=((y.value||(b==null?void 0:b.textContent))??"").trim()}}),(b,L)=>(a.openBlock(),a.createBlock(a.unref(h),{value:{textValue:y.value}},{default:a.withCtx(()=>[a.createVNode(a.unref(we),{ref:a.unref(c),role:"option","aria-labelledby":a.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":a.unref(r)||void 0,"data-disabled":a.unref(r)?"":void 0,tabindex:a.unref(r)?void 0:-1,as:b.as,"as-child":b.asChild,onFocus:L[0]||(L[0]=S=>p.value=!0),onBlur:L[1]||(L[1]=S=>p.value=!1),onPointerup:k,onPointerdown:L[2]||(L[2]=S=>{S.currentTarget.focus({preventScroll:!0})}),onTouchend:L[3]||(L[3]=a.withModifiers(()=>{},["prevent","stop"])),onPointermove:x,onPointerleave:C,onKeydown:w},{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),NO=RO,UO=a.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=DV();return(o,r)=>a.unref(n).isSelected.value?(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({key:0,"aria-hidden":"true"},t),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16)):a.createCommentVNode("v-if",!0)}}),$O=UO,WO=a.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Ia(),o=ts(),r=DV(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return a.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),a.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({id:a.unref(r).textId,ref:a.unref(i)},{...t,...d.$attrs}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),GO=WO,XO=a.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),KO=XO,ZO=a.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const n=t,{getItems:o}=Vs(),r=ts(),i=a.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}a.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===ct());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return a.onBeforeUnmount(()=>s()),(h,u)=>{var p;return a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16)}}}),EV=ZO,YO=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ts(),n=t.position==="item-aligned"?PI():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=t.viewport)!=null&&c.value&&((d=t.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=t.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(EV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(t);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),JO=YO,QO=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ts(),n=t.position==="item-aligned"?PI():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=t.viewport)!=null&&c.value&&((d=t.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=t.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(EV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(t);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),ej=QO,tj=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ia(),{forwardRef:o,currentElement:r}=ke(),i=a.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||t.disabled});n.contentId||(n.contentId=Bs(void 0,"reka-select-content")),a.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=Vs(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=lV();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(a.openBlock(),a.createBlock(a.unref(_V),{"as-child":"",reference:y.reference},{default:a.withCtx(()=>{var m,k,g,x;return[a.createVNode(a.unref(we),{ref:a.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":a.unref(n).contentId,"aria-expanded":a.unref(n).open.value||!1,"aria-required":(m=a.unref(n).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:i.value,dir:(k=a.unref(n))==null?void 0:k.dir.value,"data-state":(g=a.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":a.unref(xO)((x=a.unref(n).modelValue)==null?void 0:x.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=C=>{var w;(w=C==null?void 0:C.currentTarget)==null||w.focus()}),onPointerdown:f[1]||(f[1]=C=>{if(C.pointerType==="touch")return C.preventDefault();const w=C.target;w.hasPointerCapture(C.pointerId)&&w.releasePointerCapture(C.pointerId),C.button===0&&C.ctrlKey===!1&&(p(C),C.preventDefault())}),onPointerup:f[2]||(f[2]=a.withModifiers(C=>{C.pointerType==="touch"&&p(C)},["prevent"])),onKeydown:f[3]||(f[3]=C=>{const w=a.unref(c)!=="";!(C.ctrlKey||C.altKey||C.metaKey)&&C.key.length===1&&w&&C.key===" "||(a.unref(d)(C.key,a.unref(s)()),a.unref(gO).includes(C.key)&&(u(),C.preventDefault()))})},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),aj=tj,nj=a.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:n,currentElement:o}=ke(),r=Ia();a.onMounted(()=>{r.valueElement=o});const i=a.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>Cl(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=a.computed(()=>i.value.length?i.value.join(", "):t.placeholder);return(c,d)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:t.placeholder},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:a.unref(r).modelValue.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),oj=nj,rj=a.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:n}=a.toRefs(t),o=ZH(n),r=ts(),i=r.position==="item-aligned"?PI():void 0,{forwardRef:s,currentElement:c}=ke();a.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=a.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const m=Math.abs(d.value-p.scrollTop);if(m>0){const k=window.innerHeight-It*2,g=Number.parseFloat(f.value.style.minHeight),x=Number.parseFloat(f.value.style.height),C=Math.max(g,x);if(C<k){const w=C+m,b=Math.min(k,w),L=w-b;f.value.style.height=`${b}px`,f.value.style.bottom==="0px"&&(p.scrollTop=L>0?L:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16),a.createVNode(a.unref(we),{as:"style",nonce:a.unref(o)},{default:a.withCtx(()=>p[0]||(p[0]=[a.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),ij=rj,sj=a.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=a.computed(()=>o(t.orientation)?t.orientation:"horizontal"),i=a.computed(()=>r.value==="vertical"?t.orientation:void 0),s=a.computed(()=>t.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),lj=sj,cj=a.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(lj,a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),dj=cj;const[qI,hj]=pt("TooltipProvider");var uj=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=a.toRefs(t);ke();const d=a.ref(!0),h=a.ref(!1),{start:u,stop:p}=QB(()=>{d.value=!0},o,{immediate:!1});return hj({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>a.renderSlot(y.$slots,"default")}}),pj=uj;const TV="tooltip.open",[NL,yj]=pt("TooltipRoot");var fj=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;ke();const r=qI(),i=a.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=a.computed(()=>n.disabled??r.disabled.value),d=a.computed(()=>n.delayDuration??r.delayDuration.value),h=a.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=Is(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(u,w=>{r.onClose&&(w?(r.onOpen(),document.dispatchEvent(new CustomEvent(TV))):r.onClose())});const p=a.ref(!1),y=a.ref(),f=a.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:m,stop:k}=QB(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){k(),p.value=!1,u.value=!0}function x(){k(),u.value=!1}function C(){m()}return yj({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(w){y.value=w},onTriggerEnter(){r.isOpenDelayed.value?C():g()},onTriggerLeave(){i.value?x():k()},onOpen:g,onClose:x,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(w,b)=>(a.openBlock(),a.createBlock(a.unref(VV),null,{default:a.withCtx(()=>[a.renderSlot(w.$slots,"default",{open:a.unref(u)})]),_:3}))}}),mj=fj,kj=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=NL(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=a.computed(()=>{const{ariaLabel:h,...u}=n;return u});return a.onMounted(()=>{wl(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),wl(window,TV,r.onClose)}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(II),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;a.unref(r).disableClosingTrigger.value&&((y=a.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>a.unref(r).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(zV),a.mergeProps({ref:a.unref(i),"data-state":a.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default"),a.createVNode(a.unref(AV),{id:a.unref(r).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),HV=kj,gj=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const n=nt(e),{forwardRef:o,currentElement:r}=ke(),{trigger:i,onClose:s}=NL(),c=qI(),{isPointerInTransit:d,onPointerExit:h}=qT(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(a.openBlock(),a.createBlock(HV,a.mergeProps({ref:a.unref(o)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),bj=gj,xj=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=NL(),i=St(n,o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(FL),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r).disableHoverableContent.value?HV:bj),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Mj=xj,wj=a.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vj=wj,Cj=a.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=NL(),o=qI();n.contentId||(n.contentId=Bs(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=ke(),s=a.ref(!1),c=a.ref(!1),d=a.computed(()=>n.disabled.value?{}:{click:k,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:m});a.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var x,C;s.value||n.ignoreNonKeyboardFocus.value&&!((C=(x=g.target).matches)!=null&&C.call(x,":focus-visible"))||n.onOpen()}function m(){n.onClose()}function k(){n.disableClosingTrigger.value||n.onClose()}return(g,x)=>(a.openBlock(),a.createBlock(a.unref(_V),{"as-child":"",reference:g.reference},{default:a.withCtx(()=>[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(r),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},a.toHandlers(d.value)),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Lj=Cj;const Ne=a.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),{as:e.as,"as-child":e.asChild,class:a.normalizeClass(a.unref(xe)(a.unref(zs)({variant:e.variant,size:e.size}),t.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),zs=xl("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),OV=a.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=St(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(mj),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),jV=a.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=St(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vj),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Mj),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),FV=a.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(pj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),RV=a.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(Lj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Sj={class:"relative z-10"},Ij="font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",Aj=a.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},borderColor:{default:""},rounded:{default:"lg"},borderStyle:{default:"solid"},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(e){const t=a.useAttrs(),n=e,o=a.computed(()=>n.icon&&aa[n.icon]||null),r=a.computed(()=>!!n.tooltip),i=a.computed(()=>n.visible??!0),s=a.computed(()=>{const F=String(n.variant||"default").toLowerCase();return F==="tonal"?"secondary":F==="elevated"?"default":F}),c=a.computed(()=>String(n.bgColor||"").toLowerCase()),d=a.computed(()=>String(n.type||"button").toLowerCase()),h=a.computed(()=>{const{class:F,...Y}=t;return Y}),u=a.computed(()=>xe(t.class)),p=a.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=a.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=a.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),m=a.computed(()=>n.rounded?n.rounded.startsWith("rounded")?n.rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl","2xl":"rounded-2xl","3xl":"rounded-3xl",full:"rounded-full"}[n.rounded]||`rounded-${n.rounded}`:""),k=a.computed(()=>!n.borderStyle||n.borderStyle==="solid"?"":{dashed:"border-2 border-dashed",dotted:"border-2 border-dotted",double:"border-4 border-double",none:"border-0 border-none"}[n.borderStyle]||""),g=a.computed(()=>xe("inline-flex items-center justify-center bg-gray-200 dark:bg-gray-700 animate-pulse",m.value,y.value,f.value,p.value)),x=a.computed(()=>{const Y=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return Y?Y[0]:null}),C=a.computed(()=>{const Y=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return Y?Y[0]:null}),w=a.computed(()=>!!x.value),b=a.computed(()=>/\bborder-/.test(u.value??"")),L=a.computed(()=>/\bhover:/.test(u.value??"")),S=a.computed(()=>{const F=u.value??"";return s.value!=="outline"?F:F.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),v=a.ref(null),M=F=>{const Y=F.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return Y?{r:Number(Y[1]),g:Number(Y[2]),b:Number(Y[3]),a:Y[4]?Number(Y[4]):1}:null},I=(F,Y)=>{const Q=M(F);if(!Q)return F;const re=he=>Math.max(0,Math.min(255,Math.round(he)));return`rgba(${re(Q.r*(1-Y))}, ${re(Q.g*(1-Y))}, ${re(Q.b*(1-Y))}, ${Q.a})`},V=F=>{if(globalThis.window===void 0)return null;const Y=document.createElement("div");Y.className=F,Y.style.position="absolute",Y.style.visibility="hidden",Y.style.pointerEvents="none",Y.style.width="1px",Y.style.height="1px",document.body.appendChild(Y);const Q=globalThis.getComputedStyle(Y).backgroundColor;return Y.remove(),!Q||Q==="transparent"||Q==="rgba(0, 0, 0, 0)"?null:Q},_=[50,100,200,300,400,500,600,700,800,900,950],B=F=>{const Y=_.indexOf(F);return Y===-1?F:_[Math.min(_.length-1,Y+2)]},D=(F,Y)=>{const Q=aT[F];if(!Q)return null;if(typeof Q=="string")return Q;if(!Y)return null;const re=Q[Y];return typeof re=="string"?re:null},z=(F,Y=!1)=>{if(!F)return null;const Q=Y?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,re=F.match(Q);return re?{colorName:re[1],shade:re[2]?Number.parseInt(re[2],10):null}:null},G=()=>{const F=x.value;if(!F){v.value=null;return}const Y=z(F),Q=Y==null?void 0:Y.colorName,re=(Y==null?void 0:Y.shade)??null,he=(Q?D(Q,re):null)??V(F);if(!he){v.value=null;return}let pe;const Ve=z(C.value,!0),ue=Ve?D(Ve.colorName,Ve.shade??null):null;if(ue)pe=ue;else if(Q&&re){const W=B(re);pe=D(Q,W)??I(he,.2)}else pe=I(he,.2);v.value={"--btn-color":he,"--btn-color-hover":pe}};a.onMounted(()=>{G()}),a.watch([x,C],async()=>{await a.nextTick(),G()});const H=a.computed(()=>{const F=/\bdark:bg-/.test(u.value??"");return!w.value||s.value==="outline"||F?"":v.value?"dcode-btn--fill dcode-btn--fill-hover":L.value?"":"hover:brightness-90"}),O=a.computed(()=>{if(!w.value||s.value!=="outline")return"";const F=["dcode-btn--outline","dcode-btn--outline-hover"];return b.value||F.push("border"),!v.value&&!L.value&&F.push("hover:brightness-90"),F.join(" ")}),U=a.computed(()=>v.value??void 0),J={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-900"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-900"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-900"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-900"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-900"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-900"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-900"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"},transparent:{bg:"bg-transparent",text:"text-inherit",hover:"hover:bg-gray-100/10 hover:text-inherit dark:hover:bg-gray-800/10 dark:hover:text-inherit",border:"border-current"}},T=a.computed(()=>{const F=[],Y=c.value?J[c.value]:null;if(Y)F.push(Y.bg,Y.hover),F.push(n.textColor||Y.text),n.borderColor?F.push(n.borderColor):Y.border&&F.push(Y.border);else if(c.value&&F.push(c.value),n.textColor&&F.push(n.textColor),n.borderColor)F.push(n.borderColor);else if(c.value&&c.value.startsWith("bg-")){const Q=c.value.replace(/^bg-/,"border-");Q!==c.value&&F.push(Q)}return F.join(" ")}),R=a.computed(()=>xe(Ij,m.value,k.value,S.value,H.value,O.value,T.value));return(F,Y)=>i.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.skeleton?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(g.value),"aria-hidden":"true"},null,2)):(a.openBlock(),a.createBlock(a.unref(FV),{key:1,"delay-duration":0},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createBlock(a.unref(OV),{key:0},{default:a.withCtx(()=>[a.createVNode(a.unref(RV),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ne),a.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:R.value,style:U.value},h.value),{default:a.withCtx(()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),a.createVNode(a.unref(jV),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:a.withCtx(()=>[a.createElementVNode("span",Sj,a.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(a.openBlock(),a.createBlock(a.unref(Ne),a.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:R.value,style:U.value},h.value),{default:a.withCtx(()=>[a.renderSlot(F.$slots,"default",{},()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):a.createCommentVNode("",!0)}}),$t=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},oa=$t(Aj,[["__scopeId","data-v-a866d2a3"]]),Bj={key:0,class:"flex items-center justify-between mb-4"},Vj={class:"flex flex-col gap-1"},_j={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},zj={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},Pj={key:0,class:"flex items-center gap-2"},qj={class:"relative z-10"},Dj={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},Ej={name:"DCodeCard"},NV=a.defineComponent({...Ej,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(e){const t=e,n=a.computed(()=>{switch(t.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,e.padding,{"shadow-md":e.shadow},{"border-transparent":!e.border},{"border-neutral-200 dark:border-neutral-800":e.border&&e.level===1},{"border-neutral-300 dark:border-neutral-700":e.border&&e.level!==1}]])},[e.title||o.$slots.header||o.$slots.actions?(a.openBlock(),a.createElementBlock("div",Bj,[a.createElementVNode("div",Vj,[a.renderSlot(o.$slots,"header",{},()=>[e.title?(a.openBlock(),a.createElementBlock("h3",_j,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),e.subtitle?(a.openBlock(),a.createElementBlock("p",zj,a.toDisplayString(e.subtitle),1)):a.createCommentVNode("",!0)])]),o.$slots.actions?(a.openBlock(),a.createElementBlock("div",Pj,[a.renderSlot(o.$slots,"actions")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",qj,[a.renderSlot(o.$slots,"default")]),o.$slots.footer?(a.openBlock(),a.createElementBlock("div",Dj,[a.renderSlot(o.$slots,"footer")])):a.createCommentVNode("",!0)],2))}});/*!
|
|
8502
|
+
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`;a.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var kH={},gH=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=$t(),{forwardRef:i,currentElement:s}=ke();return r.titleId||(r.titleId=Bs(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=Bs(void 0,"reka-dialog-description")),a.onMounted(()=>{r.contentElement=s,ct()!==document.body&&(r.triggerElement.value=ct())}),kH.NODE_ENV!=="production"&&mH({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(a.openBlock(),a.createBlock(a.unref(kV),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(II),a.mergeProps({id:a.unref(r).contentId,ref:a.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(r).descriptionId,"aria-labelledby":a.unref(r).titleId,"data-state":a.unref(pH)(a.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),bV=gH,bH=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=$t(),i=TL(o),{forwardRef:s,currentElement:c}=ke();return sV(c),(d,h)=>(a.openBlock(),a.createBlock(bV,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=a.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),xH=bH,MH=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=TL(t);ke();const i=$t(),s=a.ref(!1),c=a.ref(!1);return(d,h)=>(a.openBlock(),a.createBlock(bV,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=a.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=a.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),wH=MH,vH=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=$t(),i=TL(o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(FL),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(xH,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(wH,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),xV=vH,CH=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{id:a.unref(n).descriptionId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),MV=CH,LH=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=$t();return nV(!0),ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),{as:n.as,"as-child":n.asChild,"data-state":a.unref(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),SH=LH,IH=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=$t(),{forwardRef:n}=ke();return(o,r)=>{var i;return(i=a.unref(t))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(FL),{key:0,present:o.forceMount||a.unref(t).open.value},{default:a.withCtx(()=>[a.createVNode(SH,a.mergeProps(o.$attrs,{ref:a.unref(n),as:o.as,"as-child":o.asChild}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("v-if",!0)}}}),wV=IH,AH=a.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=eV();return(n,o)=>a.unref(t)||n.forceMount?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[a.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):a.createCommentVNode("v-if",!0)}}),VI=AH,BH=a.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vV=BH,VH=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=$t();return ke(),(o,r)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),CV=VH,_H=a.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=$t(),{forwardRef:o,currentElement:r}=ke();return n.contentId||(n.contentId=Bs(void 0,"reka-dialog-content")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value||!1,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).open.value?"open":"closed",onClick:a.unref(n).onOpenToggle}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),zH=_H;const[LV,PH]=yt("AvatarRoot");var qH=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return ke(),PH({imageLoadingStatus:a.ref("idle")}),(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{"as-child":t.asChild,as:t.as},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as-child","as"]))}}),DH=qH,EH=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=LV();ke();const o=a.ref(t.delayMs===void 0);return a.watchEffect(r=>{if(t.delayMs&&ft){const i=window.setTimeout(()=>{o.value=!0},t.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(we),{key:0,"as-child":r.asChild,as:r.as},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("v-if",!0)}}),TH=EH;function SV(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function HH(e,{referrerPolicy:t,crossOrigin:n}={}){const o=a.ref(!1),r=a.ref(null),i=a.computed(()=>o.value?(!r.value&&ft&&(r.value=new window.Image),r.value):null),s=a.ref(SV(i.value,e.value)),c=d=>()=>{o.value&&(s.value=d)};return a.onMounted(()=>{o.value=!0,a.watchEffect(d=>{const h=i.value;if(!h)return;s.value=SV(h,e.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),t!=null&&t.value&&(h.referrerPolicy=t.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),a.onUnmounted(()=>{o.value=!1}),s}var OH=a.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,o=t,{src:r,referrerPolicy:i,crossOrigin:s}=a.toRefs(n);ke();const c=LV(),d=HH(r,{referrerPolicy:i,crossOrigin:s});return a.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(we),{role:"img","as-child":h.asChild,as:h.as,src:a.unref(r),referrerpolicy:a.unref(i),crossorigin:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[a.vShow,a.unref(d)==="loaded"]])}}),jH=OH;const IV="data-reka-collection-item";function Vs(e={}){const{key:t="",isProvider:n=!1}=e,o=`${t}CollectionProvider`;let r;if(n){const u=a.ref(new Map);r={collectionRef:a.ref(),itemMap:u},a.provide(o,r)}else r=a.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${IV}]`)),m=Array.from(r.itemMap.value.values()).sort((k,g)=>y.indexOf(k.ref)-y.indexOf(g.ref));return u?m:m.filter(k=>k.ref.dataset.disabled!=="")},s=a.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=cV();return a.watch(m,()=>{r.collectionRef.value=m.value}),()=>a.h(SI,{ref:f,...y},p)}}),c=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=cV();return a.watchEffect(k=>{if(m.value){const g=a.markRaw(m.value);r.itemMap.value.set(g,{ref:m.value,value:u.value}),k(()=>r.itemMap.value.delete(g))}}),()=>a.h(SI,{...y,[IV]:"",ref:f},p)}}),d=a.computed(()=>Array.from(r.itemMap.value.values())),h=a.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var FH=a.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),AV=FH;const[BV,RH]=yt("PopperRoot");var NH=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=a.ref();return RH({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>a.renderSlot(n.$slots,"default")}}),VV=NH,UH=a.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:o}=ke(),r=BV();return a.watchPostEffect(()=>{r.onAnchorChange(t.reference??o.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),_V=UH;function $H(e){return e!==null}function WH(e){return{name:"transformOrigin",options:e,fn(t){var g,x,C;const{placement:n,rects:o,middlewareData:r}=t,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[h,u]=_I(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((x=r.arrow)==null?void 0:x.x)??0)+c/2,f=(((C=r.arrow)==null?void 0:C.y)??0)+d/2;let m="",k="";return h==="bottom"?(m=s?p:`${y}px`,k=`${-d}px`):h==="top"?(m=s?p:`${y}px`,k=`${o.floating.height+d}px`):h==="right"?(m=`${-d}px`,k=s?p:`${f}px`):h==="left"&&(m=`${o.floating.width+d}px`,k=s?p:`${f}px`),{data:{x:m,y:k}}}}}function _I(e){const[t,n="center"]=e.split("-");return[t,n]}const GH={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Wee,XH]=yt("PopperContent");var KH=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...GH}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,r=BV(),{forwardRef:i,currentElement:s}=ke(),c=a.ref(),d=a.ref(),{width:h,height:u}=WT(d),p=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=a.computed(()=>({padding:y.value,boundary:f.value.filter($H),altBoundary:f.value.length>0})),k=a.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=rT(()=>[u1({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Ks({...m.value,...k.value}),n.avoidCollisions&&p1({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?uD():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&Ks({...m.value,...k.value}),y1({...m.value,apply:({elements:B,rects:D,availableWidth:z,availableHeight:G})=>{const{width:H,height:j}=D.reference,U=B.floating.style;U.setProperty("--reka-popper-available-width",`${z}px`),U.setProperty("--reka-popper-available-height",`${G}px`),U.setProperty("--reka-popper-anchor-width",`${H}px`),U.setProperty("--reka-popper-anchor-height",`${j}px`)}}),d.value&&fD({element:d.value,padding:n.arrowPadding}),WH({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&dD({strategy:"referenceHidden",...m.value})]),x=a.computed(()=>n.reference??r.anchor.value),{floatingStyles:C,placement:w,isPositioned:b,middlewareData:L}=f1(x,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...B)=>h1(...B,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),S=a.computed(()=>_I(w.value)[0]),v=a.computed(()=>_I(w.value)[1]);a.watchPostEffect(()=>{b.value&&o("placed")});const M=a.computed(()=>{var D;const B=((D=L.value.arrow)==null?void 0:D.centerOffset)!==0;return n.hideShiftedArrow&&B}),I=a.ref("");a.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const V=a.computed(()=>{var B;return((B=L.value.arrow)==null?void 0:B.x)??0}),_=a.computed(()=>{var B;return((B=L.value.arrow)==null?void 0:B.y)??0});return XH({placedSide:S,onArrowChange:B=>d.value=B,arrowX:V,arrowY:_,shouldHideArrow:M}),(B,D)=>{var z,G,H;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(C),transform:a.unref(b)?a.unref(C).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(z=a.unref(L).transformOrigin)==null?void 0:z.x,(G=a.unref(L).transformOrigin)==null?void 0:G.y].join(" "),...((H=a.unref(L).hide)==null?void 0:H.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(i)},B.$attrs,{"as-child":n.asChild,as:B.as,"data-side":S.value,"data-align":v.value,style:{animation:a.unref(b)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(B.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),zV=KH;function ZH(e){const t=EL({nonce:a.ref()});return a.computed(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}var YH=a.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),JH=YH,QH=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"data-type":"ellipsis"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=a.createTextVNode("…"))])]),_:3},16))}}),eO=QH;const[_s,tO]=yt("PaginationRoot");var aO=a.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(e,{emit:t}){const n=e,o=t,{siblingCount:r,disabled:i,showEdges:s}=a.toRefs(n);ke();const c=Is(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=a.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return tO({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(we),{as:h.as,"as-child":h.asChild},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default",{page:a.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),nO=aO,oO=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=_s();ke();const o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),rO=oO,iO=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=_s();ke();const o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).pageCount.value))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),sO=iO;function Sa(e,t){const n=t-e+1;return Array.from({length:n},(o,r)=>r+e)}function lO(e){return e.map(t=>typeof t=="number"?{type:"page",value:t}:{type:"ellipsis"})}const RL="ellipsis";function cO(e,t,n,o){const i=t,s=Math.max(e-n,1),c=Math.min(e+n,i);if(o){const h=Math.min(2*n+5,t)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...Sa(1,h),RL,i];if(u&&!p){const f=Sa(i-h+1,i);return[1,RL,...f]}if(u&&p){const f=Sa(s,c);return[1,RL,...f,RL,i]}return Sa(1,i)}else{const d=n*2+1;return t<d?Sa(1,i):e<=n+1?Sa(1,d):t-e<=n?Sa(t-d+1,i):Sa(s,c)}}var dO=a.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>lO(cO(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),hO=dO,uO=a.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===t.value),r=a.computed(()=>n.disabled.value);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&a.unref(n).onPageChange(i.value))}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),pO=uO,yO=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value+1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),fO=yO,mO=a.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;ke();const n=_s(),o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps(t,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value-1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),kO=mO;const gO=[" ","Enter","ArrowUp","ArrowDown"],bO=[" ","Enter"],At=10;function Cl(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(o=>zI(o,t,n)):zI(e,t,n)}function zI(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?(e==null?void 0:e[n])===(t==null?void 0:t[n]):oT(e,t)}function xO(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const MO={key:0,value:""},[Ia,PV]=yt("SelectRoot");var wO=a.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,o=t,{required:r,disabled:i,multiple:s,dir:c}=a.toRefs(n),d=Is(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=Is(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=a.ref(),p=a.ref(),y=a.ref({x:0,y:0}),f=a.computed(()=>{var b;return s.value&&Array.isArray(d.value)?((b=d.value)==null?void 0:b.length)===0:gI(d.value)});Vs({isProvider:!0});const m=_T(c),k=PT(u),g=a.ref(new Set),x=a.computed(()=>Array.from(g.value).map(b=>b.value).join(";"));function C(b){if(s.value){const L=Array.isArray(d.value)?[...d.value]:[],S=L.findIndex(v=>zI(v,b,n.by));S===-1?L.push(b):L.splice(S,1),d.value=[...L]}else d.value=b}function w(b){return Array.from(g.value).find(L=>Cl(b,L.value,n.by))}return PV({triggerElement:u,onTriggerChange:b=>{u.value=b},valueElement:p,onValueElementChange:b=>{p.value=b},contentId:"",modelValue:d,onValueChange:C,by:n.by,open:h,multiple:s,required:r,onOpenChange:b=>{h.value=b},dir:m,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:b=>{const L=w(b.value);L&&g.value.delete(L),g.value.add(b)},onOptionRemove:b=>{const L=w(b.value);L&&g.value.delete(L)}}),(b,L)=>(a.openBlock(),a.createBlock(a.unref(VV),null,{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default",{modelValue:a.unref(d),open:a.unref(h)}),a.unref(k)?(a.openBlock(),a.createBlock(LO,{key:x.value,"aria-hidden":"true",tabindex:"-1",multiple:a.unref(s),required:a.unref(r),name:b.name,autocomplete:b.autocomplete,disabled:a.unref(i),value:a.unref(d)},{default:a.withCtx(()=>[a.unref(gI)(a.unref(d))?(a.openBlock(),a.createElementBlock("option",MO)):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Array.from(g.value),S=>(a.openBlock(),a.createElementBlock("option",a.mergeProps({key:S.value??""},{ref_for:!0},S),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):a.createCommentVNode("v-if",!0)]),_:3}))}}),vO=wO,CO=a.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=a.ref(),o=Ia();a.watch(()=>t.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(a.openBlock(),a.createBlock(a.unref(AV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("select",a.mergeProps({ref_key:"selectElement",ref:n},t,{onInput:r}),[a.renderSlot(i.$slots,"default")],16)]),_:3}))}}),LO=CO,SO=a.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:At},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=nt(e);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(zV),a.mergeProps(a.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),IO=SO;const AO={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ts,qV]=yt("SelectContent");var BO=a.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Ia();zT(),nV(n.bodyLock);const{CollectionSlot:i,getItems:s}=Vs(),c=a.ref();sV(c);const{search:d,handleTypeaheadSearch:h}=lV(),u=a.ref(),p=a.ref(),y=a.ref(),f=a.ref(!1),m=a.ref(!1),k=a.ref(!1);function g(){p.value&&c.value&&gV([p.value,c.value])}a.watch(f,()=>{g()});const{onOpenChange:x,triggerPointerDownPosRef:C}=r;a.watchEffect(S=>{if(!c.value)return;let v={x:0,y:0};const M=V=>{var _,B;v={x:Math.abs(Math.round(V.pageX)-(((_=C.value)==null?void 0:_.x)??0)),y:Math.abs(Math.round(V.pageY)-(((B=C.value)==null?void 0:B.y)??0))}},I=V=>{var _;V.pointerType!=="touch"&&(v.x<=10&&v.y<=10?V.preventDefault():(_=c.value)!=null&&_.contains(V.target)||x(!1),document.removeEventListener("pointermove",M),C.value=null)};C.value!==null&&(document.addEventListener("pointermove",M),document.addEventListener("pointerup",I,{capture:!0,once:!0})),S(()=>{document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",I,{capture:!0})})});function w(S){const v=S.ctrlKey||S.altKey||S.metaKey;if(S.key==="Tab"&&S.preventDefault(),!v&&S.key.length===1&&h(S.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(S.key)){let I=[...s().map(V=>V.ref)];if(["ArrowUp","End"].includes(S.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(S.key)){const V=S.target,_=I.indexOf(V);I=I.slice(_+1)}setTimeout(()=>gV(I)),S.preventDefault()}}const b=a.computed(()=>n.position==="popper"?n:{}),L=nt(b.value);return qV({content:c,viewport:u,onViewportChange:S=>{u.value=S},itemRefCallback:(S,v,M)=>{const I=!m.value&&!M,V=Cl(r.modelValue.value,v,r.by);if(r.multiple.value){if(k.value)return;(V||I)&&(p.value=S,V&&(k.value=!0))}else(V||I)&&(p.value=S);I&&(m.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var S;(S=c.value)==null||S.focus()},itemTextRefCallback:(S,v,M)=>{const I=!m.value&&!M;(Cl(r.modelValue.value,v,r.by)||I)&&(y.value=S)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(S,v)=>(a.openBlock(),a.createBlock(a.unref(i),null,{default:a.withCtx(()=>[a.createVNode(a.unref(kV),{"as-child":"",onMountAutoFocus:v[6]||(v[6]=a.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:v[7]||(v[7]=M=>{var I;o("closeAutoFocus",M),!M.defaultPrevented&&((I=a.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),M.preventDefault())})},{default:a.withCtx(()=>[a.createVNode(a.unref(II),{"as-child":"","disable-outside-pointer-events":S.disableOutsidePointerEvents,onFocusOutside:v[2]||(v[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:v[3]||(v[3]=M=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:v[4]||(v[4]=M=>o("escapeKeyDown",M)),onPointerDownOutside:v[5]||(v[5]=M=>o("pointerDownOutside",M))},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.position==="popper"?IO:PO),a.mergeProps({...S.$attrs,...a.unref(L)},{id:a.unref(r).contentId,ref:M=>{const I=a.unref(Ut)(M);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":a.unref(r).open.value?"open":"closed",dir:a.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:v[0]||(v[0]=a.withModifiers(()=>{},["prevent"])),onPlaced:v[1]||(v[1]=M=>f.value=!0),onKeydown:w}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),VO=BO;const[PI,_O]=yt("SelectItemAlignedPosition");var zO=a.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,o=t,{getItems:r}=Vs(),i=Ia(),s=ts(),c=a.ref(!1),d=a.ref(!0),h=a.ref(),{forwardRef:u,currentElement:p}=ke(),{viewport:y,selectedItem:f,selectedItemText:m,focusSelectedItem:k}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const w=i.triggerElement.value.getBoundingClientRect(),b=p.value.getBoundingClientRect(),L=i.valueElement.value.getBoundingClientRect(),S=m.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const pe=S.left-b.left,_e=L.left-pe,ue=w.left-_e,W=w.width+ue,q=Math.max(W,b.width),$=window.innerWidth-At,ee=KB(_e,At,Math.max(At,$-q));h.value.style.minWidth=`${W}px`,h.value.style.left=`${ee}px`}else{const pe=b.right-S.right,_e=window.innerWidth-L.right-pe,ue=window.innerWidth-w.right-_e,W=w.width+ue,q=Math.max(W,b.width),$=window.innerWidth-At,ee=KB(_e,At,Math.max(At,$-q));h.value.style.minWidth=`${W}px`,h.value.style.right=`${ee}px`}const v=r().map(pe=>pe.ref),M=window.innerHeight-At*2,I=y.value.scrollHeight,V=window.getComputedStyle(p.value),_=Number.parseInt(V.borderTopWidth,10),B=Number.parseInt(V.paddingTop,10),D=Number.parseInt(V.borderBottomWidth,10),z=Number.parseInt(V.paddingBottom,10),G=_+B+I+z+D,H=Math.min(f.value.offsetHeight*5,G),j=window.getComputedStyle(y.value),U=Number.parseInt(j.paddingTop,10),J=Number.parseInt(j.paddingBottom,10),E=w.top+w.height/2-At,R=M-E,F=f.value.offsetHeight/2,Y=f.value.offsetTop+F,Q=_+B+Y,re=G-Q;if(Q<=E){const pe=f.value===v[v.length-1];h.value.style.bottom="0px";const _e=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,ue=Math.max(R,F+(pe?J:0)+_e+D),W=Q+ue;h.value.style.height=`${W}px`}else{const pe=f.value===v[0];h.value.style.top="0px";const ue=Math.max(E,_+y.value.offsetTop+(pe?U:0)+F)+re;h.value.style.height=`${ue}px`,y.value.scrollTop=Q-E+y.value.offsetTop}h.value.style.margin=`${At}px 0`,h.value.style.minHeight=`${H}px`,h.value.style.maxHeight=`${M}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const x=a.ref("");a.onMounted(async()=>{await a.nextTick(),g(),p.value&&(x.value=window.getComputedStyle(p.value).zIndex)});function C(w){w&&d.value===!0&&(g(),k==null||k(),d.value=!1)}return ST(i.triggerElement,()=>{g()}),_O({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:C}),(w,b)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:a.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:x.value})},[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...n}),{default:a.withCtx(()=>[a.renderSlot(w.$slots,"default")]),_:3},16)],4))}}),PO=zO,qO=a.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return PV(e.context),qV(AO),(n,o)=>a.renderSlot(n.$slots,"default")}}),DO=qO;const EO={key:1};var TO=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=It(n,t),i=Ia(),s=a.ref();a.onMounted(()=>{s.value=new DocumentFragment});const c=a.ref(),d=a.computed(()=>n.forceMount||i.open.value),h=a.ref(d.value);return a.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(a.openBlock(),a.createBlock(a.unref(FL),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:a.withCtx(()=>[a.createVNode(VO,a.normalizeProps(a.guardReactiveProps({...a.unref(r),...u.$attrs})),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(a.openBlock(),a.createElementBlock("div",EO,[(a.openBlock(),a.createBlock(a.Teleport,{to:s.value},[a.createVNode(DO,{context:a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):a.createCommentVNode("v-if",!0)}}}),HO=TO,OO=a.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(we),{"aria-hidden":"true",as:t.as,"as-child":t.asChild},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default",{},()=>[n[0]||(n[0]=a.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),jO=OO;const[DV,FO]=yt("SelectItem");var RO=a.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,{disabled:r}=a.toRefs(n),i=Ia(),s=ts(),{forwardRef:c,currentElement:d}=ke(),{CollectionItem:h}=Vs(),u=a.computed(()=>{var b;return Cl((b=i.modelValue)==null?void 0:b.value,n.value,i.by)}),p=a.ref(!1),y=a.ref(n.textValue??""),f=Bs(void 0,"reka-select-item-text"),m="select.select";async function k(b){if(b.defaultPrevented)return;const L={originalEvent:b,value:n.value};kI(m,g,L)}async function g(b){await a.nextTick(),o("select",b),!b.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function x(b){var L,S;await a.nextTick(),!b.defaultPrevented&&(r.value?(L=s.onItemLeave)==null||L.call(s):(S=b.currentTarget)==null||S.focus({preventScroll:!0}))}async function C(b){var L;await a.nextTick(),!b.defaultPrevented&&b.currentTarget===ct()&&((L=s.onItemLeave)==null||L.call(s))}async function w(b){var S;await a.nextTick(),!(b.defaultPrevented||((S=s.searchRef)==null?void 0:S.value)!==""&&b.key===" ")&&(bO.includes(b.key)&&k(b),b.key===" "&&b.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),FO({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:b=>{y.value=((y.value||(b==null?void 0:b.textContent))??"").trim()}}),(b,L)=>(a.openBlock(),a.createBlock(a.unref(h),{value:{textValue:y.value}},{default:a.withCtx(()=>[a.createVNode(a.unref(we),{ref:a.unref(c),role:"option","aria-labelledby":a.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":a.unref(r)||void 0,"data-disabled":a.unref(r)?"":void 0,tabindex:a.unref(r)?void 0:-1,as:b.as,"as-child":b.asChild,onFocus:L[0]||(L[0]=S=>p.value=!0),onBlur:L[1]||(L[1]=S=>p.value=!1),onPointerup:k,onPointerdown:L[2]||(L[2]=S=>{S.currentTarget.focus({preventScroll:!0})}),onTouchend:L[3]||(L[3]=a.withModifiers(()=>{},["prevent","stop"])),onPointermove:x,onPointerleave:C,onKeydown:w},{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),NO=RO,UO=a.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=DV();return(o,r)=>a.unref(n).isSelected.value?(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({key:0,"aria-hidden":"true"},t),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16)):a.createCommentVNode("v-if",!0)}}),$O=UO,WO=a.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Ia(),o=ts(),r=DV(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return a.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),a.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({id:a.unref(r).textId,ref:a.unref(i)},{...t,...d.$attrs}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),GO=WO,XO=a.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),KO=XO,ZO=a.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const n=t,{getItems:o}=Vs(),r=ts(),i=a.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}a.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===ct());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return a.onBeforeUnmount(()=>s()),(h,u)=>{var p;return a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16)}}}),EV=ZO,YO=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ts(),n=t.position==="item-aligned"?PI():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=t.viewport)!=null&&c.value&&((d=t.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=t.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(EV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(t);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),JO=YO,QO=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ts(),n=t.position==="item-aligned"?PI():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=t.viewport)!=null&&c.value&&((d=t.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=t.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(EV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(t);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),ej=QO,tj=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ia(),{forwardRef:o,currentElement:r}=ke(),i=a.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||t.disabled});n.contentId||(n.contentId=Bs(void 0,"reka-select-content")),a.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=Vs(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=lV();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(a.openBlock(),a.createBlock(a.unref(_V),{"as-child":"",reference:y.reference},{default:a.withCtx(()=>{var m,k,g,x;return[a.createVNode(a.unref(we),{ref:a.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":a.unref(n).contentId,"aria-expanded":a.unref(n).open.value||!1,"aria-required":(m=a.unref(n).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:i.value,dir:(k=a.unref(n))==null?void 0:k.dir.value,"data-state":(g=a.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":a.unref(xO)((x=a.unref(n).modelValue)==null?void 0:x.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=C=>{var w;(w=C==null?void 0:C.currentTarget)==null||w.focus()}),onPointerdown:f[1]||(f[1]=C=>{if(C.pointerType==="touch")return C.preventDefault();const w=C.target;w.hasPointerCapture(C.pointerId)&&w.releasePointerCapture(C.pointerId),C.button===0&&C.ctrlKey===!1&&(p(C),C.preventDefault())}),onPointerup:f[2]||(f[2]=a.withModifiers(C=>{C.pointerType==="touch"&&p(C)},["prevent"])),onKeydown:f[3]||(f[3]=C=>{const w=a.unref(c)!=="";!(C.ctrlKey||C.altKey||C.metaKey)&&C.key.length===1&&w&&C.key===" "||(a.unref(d)(C.key,a.unref(s)()),a.unref(gO).includes(C.key)&&(u(),C.preventDefault()))})},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),aj=tj,nj=a.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:n,currentElement:o}=ke(),r=Ia();a.onMounted(()=>{r.valueElement=o});const i=a.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>Cl(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=a.computed(()=>i.value.length?i.value.join(", "):t.placeholder);return(c,d)=>(a.openBlock(),a.createBlock(a.unref(we),{ref:a.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:t.placeholder},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:a.unref(r).modelValue.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),oj=nj,rj=a.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:n}=a.toRefs(t),o=ZH(n),r=ts(),i=r.position==="item-aligned"?PI():void 0,{forwardRef:s,currentElement:c}=ke();a.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=a.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const m=Math.abs(d.value-p.scrollTop);if(m>0){const k=window.innerHeight-At*2,g=Number.parseFloat(f.value.style.minHeight),x=Number.parseFloat(f.value.style.height),C=Math.max(g,x);if(C<k){const w=C+m,b=Math.min(k,w),L=w-b;f.value.style.height=`${b}px`,f.value.style.bottom==="0px"&&(p.scrollTop=L>0?L:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16),a.createVNode(a.unref(we),{as:"style",nonce:a.unref(o)},{default:a.withCtx(()=>p[0]||(p[0]=[a.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),ij=rj,sj=a.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=a.computed(()=>o(t.orientation)?t.orientation:"horizontal"),i=a.computed(()=>r.value==="vertical"?t.orientation:void 0),s=a.computed(()=>t.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(a.openBlock(),a.createBlock(a.unref(we),a.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),lj=sj,cj=a.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(lj,a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),dj=cj;const[qI,hj]=yt("TooltipProvider");var uj=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=a.toRefs(t);ke();const d=a.ref(!0),h=a.ref(!1),{start:u,stop:p}=QB(()=>{d.value=!0},o,{immediate:!1});return hj({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>a.renderSlot(y.$slots,"default")}}),pj=uj;const TV="tooltip.open",[NL,yj]=yt("TooltipRoot");var fj=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;ke();const r=qI(),i=a.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=a.computed(()=>n.disabled??r.disabled.value),d=a.computed(()=>n.delayDuration??r.delayDuration.value),h=a.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=Is(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(u,w=>{r.onClose&&(w?(r.onOpen(),document.dispatchEvent(new CustomEvent(TV))):r.onClose())});const p=a.ref(!1),y=a.ref(),f=a.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:m,stop:k}=QB(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){k(),p.value=!1,u.value=!0}function x(){k(),u.value=!1}function C(){m()}return yj({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(w){y.value=w},onTriggerEnter(){r.isOpenDelayed.value?C():g()},onTriggerLeave(){i.value?x():k()},onOpen:g,onClose:x,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(w,b)=>(a.openBlock(),a.createBlock(a.unref(VV),null,{default:a.withCtx(()=>[a.renderSlot(w.$slots,"default",{open:a.unref(u)})]),_:3}))}}),mj=fj,kj=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=NL(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=a.computed(()=>{const{ariaLabel:h,...u}=n;return u});return a.onMounted(()=>{wl(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),wl(window,TV,r.onClose)}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(II),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;a.unref(r).disableClosingTrigger.value&&((y=a.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>a.unref(r).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(zV),a.mergeProps({ref:a.unref(i),"data-state":a.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default"),a.createVNode(a.unref(AV),{id:a.unref(r).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),HV=kj,gj=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const n=nt(e),{forwardRef:o,currentElement:r}=ke(),{trigger:i,onClose:s}=NL(),c=qI(),{isPointerInTransit:d,onPointerExit:h}=qT(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(a.openBlock(),a.createBlock(HV,a.mergeProps({ref:a.unref(o)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),bj=gj,xj=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=NL(),i=It(n,o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(FL),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r).disableHoverableContent.value?HV:bj),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Mj=xj,wj=a.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VI),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),vj=wj,Cj=a.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=NL(),o=qI();n.contentId||(n.contentId=Bs(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=ke(),s=a.ref(!1),c=a.ref(!1),d=a.computed(()=>n.disabled.value?{}:{click:k,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:m});a.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var x,C;s.value||n.ignoreNonKeyboardFocus.value&&!((C=(x=g.target).matches)!=null&&C.call(x,":focus-visible"))||n.onOpen()}function m(){n.onClose()}function k(){n.disableClosingTrigger.value||n.onClose()}return(g,x)=>(a.openBlock(),a.createBlock(a.unref(_V),{"as-child":"",reference:g.reference},{default:a.withCtx(()=>[a.createVNode(a.unref(we),a.mergeProps({ref:a.unref(r),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},a.toHandlers(d.value)),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Lj=Cj;const Xe=a.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(we),{as:e.as,"as-child":e.asChild,class:a.normalizeClass(a.unref(xe)(a.unref(zs)({variant:e.variant,size:e.size}),t.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),zs=xl("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),OV=a.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=It(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(mj),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),jV=a.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=It(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vj),null,{default:a.withCtx(()=>[a.createVNode(a.unref(Mj),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),FV=a.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(pj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),RV=a.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(Lj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Sj={class:"relative z-10"},Ij="font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",Aj=a.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},borderColor:{default:""},rounded:{default:"lg"},borderStyle:{default:"solid"},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(e){const t=a.useAttrs(),n=e,o=a.computed(()=>n.icon&&na[n.icon]||null),r=a.computed(()=>!!n.tooltip),i=a.computed(()=>n.visible??!0),s=a.computed(()=>{const F=String(n.variant||"default").toLowerCase();return F==="tonal"?"secondary":F==="elevated"?"default":F}),c=a.computed(()=>String(n.bgColor||"").toLowerCase()),d=a.computed(()=>String(n.type||"button").toLowerCase()),h=a.computed(()=>{const{class:F,...Y}=t;return Y}),u=a.computed(()=>xe(t.class)),p=a.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=a.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=a.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),m=a.computed(()=>n.rounded?n.rounded.startsWith("rounded")?n.rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl","2xl":"rounded-2xl","3xl":"rounded-3xl",full:"rounded-full"}[n.rounded]||`rounded-${n.rounded}`:""),k=a.computed(()=>!n.borderStyle||n.borderStyle==="solid"?"":{dashed:"border-2 border-dashed",dotted:"border-2 border-dotted",double:"border-4 border-double",none:"border-0 border-none"}[n.borderStyle]||""),g=a.computed(()=>xe("inline-flex items-center justify-center bg-gray-200 dark:bg-gray-700 animate-pulse",m.value,y.value,f.value,p.value)),x=a.computed(()=>{const Y=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return Y?Y[0]:null}),C=a.computed(()=>{const Y=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return Y?Y[0]:null}),w=a.computed(()=>!!x.value),b=a.computed(()=>/\bborder-/.test(u.value??"")),L=a.computed(()=>/\bhover:/.test(u.value??"")),S=a.computed(()=>{const F=u.value??"";return s.value!=="outline"?F:F.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),v=a.ref(null),M=F=>{const Y=F.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return Y?{r:Number(Y[1]),g:Number(Y[2]),b:Number(Y[3]),a:Y[4]?Number(Y[4]):1}:null},I=(F,Y)=>{const Q=M(F);if(!Q)return F;const re=he=>Math.max(0,Math.min(255,Math.round(he)));return`rgba(${re(Q.r*(1-Y))}, ${re(Q.g*(1-Y))}, ${re(Q.b*(1-Y))}, ${Q.a})`},V=F=>{if(globalThis.window===void 0)return null;const Y=document.createElement("div");Y.className=F,Y.style.position="absolute",Y.style.visibility="hidden",Y.style.pointerEvents="none",Y.style.width="1px",Y.style.height="1px",document.body.appendChild(Y);const Q=globalThis.getComputedStyle(Y).backgroundColor;return Y.remove(),!Q||Q==="transparent"||Q==="rgba(0, 0, 0, 0)"?null:Q},_=[50,100,200,300,400,500,600,700,800,900,950],B=F=>{const Y=_.indexOf(F);return Y===-1?F:_[Math.min(_.length-1,Y+2)]},D=(F,Y)=>{const Q=aT[F];if(!Q)return null;if(typeof Q=="string")return Q;if(!Y)return null;const re=Q[Y];return typeof re=="string"?re:null},z=(F,Y=!1)=>{if(!F)return null;const Q=Y?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,re=F.match(Q);return re?{colorName:re[1],shade:re[2]?Number.parseInt(re[2],10):null}:null},G=()=>{const F=x.value;if(!F){v.value=null;return}const Y=z(F),Q=Y==null?void 0:Y.colorName,re=(Y==null?void 0:Y.shade)??null,he=(Q?D(Q,re):null)??V(F);if(!he){v.value=null;return}let pe;const _e=z(C.value,!0),ue=_e?D(_e.colorName,_e.shade??null):null;if(ue)pe=ue;else if(Q&&re){const W=B(re);pe=D(Q,W)??I(he,.2)}else pe=I(he,.2);v.value={"--btn-color":he,"--btn-color-hover":pe}};a.onMounted(()=>{G()}),a.watch([x,C],async()=>{await a.nextTick(),G()});const H=a.computed(()=>{const F=/\bdark:bg-/.test(u.value??"");return!w.value||s.value==="outline"||F?"":v.value?"dcode-btn--fill dcode-btn--fill-hover":L.value?"":"hover:brightness-90"}),j=a.computed(()=>{if(!w.value||s.value!=="outline")return"";const F=["dcode-btn--outline","dcode-btn--outline-hover"];return b.value||F.push("border"),!v.value&&!L.value&&F.push("hover:brightness-90"),F.join(" ")}),U=a.computed(()=>v.value??void 0),J={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-900"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-900"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-900"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-900"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-900"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-900"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-900"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"},transparent:{bg:"bg-transparent",text:"text-inherit",hover:"hover:bg-gray-100/10 hover:text-inherit dark:hover:bg-gray-800/10 dark:hover:text-inherit",border:"border-current"}},E=a.computed(()=>{const F=[],Y=c.value?J[c.value]:null;if(Y)F.push(Y.bg,Y.hover),F.push(n.textColor||Y.text),n.borderColor?F.push(n.borderColor):Y.border&&F.push(Y.border);else if(c.value&&F.push(c.value),n.textColor&&F.push(n.textColor),n.borderColor)F.push(n.borderColor);else if(c.value&&c.value.startsWith("bg-")){const Q=c.value.replace(/^bg-/,"border-");Q!==c.value&&F.push(Q)}return F.join(" ")}),R=a.computed(()=>xe(Ij,m.value,k.value,S.value,H.value,j.value,E.value));return(F,Y)=>i.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.skeleton?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(g.value),"aria-hidden":"true"},null,2)):(a.openBlock(),a.createBlock(a.unref(FV),{key:1,"delay-duration":0},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createBlock(a.unref(OV),{key:0},{default:a.withCtx(()=>[a.createVNode(a.unref(RV),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Xe),a.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:R.value,style:U.value},h.value),{default:a.withCtx(()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),a.createVNode(a.unref(jV),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:a.withCtx(()=>[a.createElementVNode("span",Sj,a.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(a.openBlock(),a.createBlock(a.unref(Xe),a.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:R.value,style:U.value},h.value),{default:a.withCtx(()=>[a.renderSlot(F.$slots,"default",{},()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):a.createCommentVNode("",!0)}}),Wt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},dt=Wt(Aj,[["__scopeId","data-v-a866d2a3"]]),Bj={key:0,class:"flex items-center justify-between mb-4"},Vj={class:"flex flex-col gap-1"},_j={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},zj={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},Pj={key:0,class:"flex items-center gap-2"},qj={class:"relative z-10"},Dj={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},Ej={name:"DCodeCard"},NV=a.defineComponent({...Ej,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(e){const t=e,n=a.computed(()=>{switch(t.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,e.padding,{"shadow-md":e.shadow},{"border-transparent":!e.border},{"border-neutral-200 dark:border-neutral-800":e.border&&e.level===1},{"border-neutral-300 dark:border-neutral-700":e.border&&e.level!==1}]])},[e.title||o.$slots.header||o.$slots.actions?(a.openBlock(),a.createElementBlock("div",Bj,[a.createElementVNode("div",Vj,[a.renderSlot(o.$slots,"header",{},()=>[e.title?(a.openBlock(),a.createElementBlock("h3",_j,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),e.subtitle?(a.openBlock(),a.createElementBlock("p",zj,a.toDisplayString(e.subtitle),1)):a.createCommentVNode("",!0)])]),o.$slots.actions?(a.openBlock(),a.createElementBlock("div",Pj,[a.renderSlot(o.$slots,"actions")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",qj,[a.renderSlot(o.$slots,"default")]),o.$slots.footer?(a.openBlock(),a.createElementBlock("div",Dj,[a.renderSlot(o.$slots,"footer")])):a.createCommentVNode("",!0)],2))}});/*!
|
|
8503
8503
|
* @kurkle/color v0.3.4
|
|
8504
8504
|
* https://github.com/kurkle/color#readme
|
|
8505
8505
|
* (c) 2024 Jukka Kurkela
|
|
8506
8506
|
* Released under the MIT License
|
|
8507
|
-
*/function Ll(e){return e+.5|0}const Aa=(e,t,n)=>Math.max(Math.min(e,n),t);function Sl(e){return Aa(Ll(e*2.55),0,255)}function Ba(e){return Aa(Ll(e*255),0,255)}function ra(e){return Aa(Ll(e/2.55)/100,0,1)}function UV(e){return Aa(Ll(e*100),0,100)}const
|
|
8507
|
+
*/function Ll(e){return e+.5|0}const Aa=(e,t,n)=>Math.max(Math.min(e,n),t);function Sl(e){return Aa(Ll(e*2.55),0,255)}function Ba(e){return Aa(Ll(e*255),0,255)}function ra(e){return Aa(Ll(e/2.55)/100,0,1)}function UV(e){return Aa(Ll(e*100),0,100)}const kt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},DI=[..."0123456789ABCDEF"],Tj=e=>DI[e&15],Hj=e=>DI[(e&240)>>4]+DI[e&15],UL=e=>(e&240)>>4===(e&15),Oj=e=>UL(e.r)&&UL(e.g)&&UL(e.b)&&UL(e.a);function jj(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&kt[e[1]]*17,g:255&kt[e[2]]*17,b:255&kt[e[3]]*17,a:t===5?kt[e[4]]*17:255}:(t===7||t===9)&&(n={r:kt[e[1]]<<4|kt[e[2]],g:kt[e[3]]<<4|kt[e[4]],b:kt[e[5]]<<4|kt[e[6]],a:t===9?kt[e[7]]<<4|kt[e[8]]:255})),n}const Fj=(e,t)=>e<255?t(e):"";function Rj(e){var t=Oj(e)?Tj:Hj;return e?"#"+t(e.r)+t(e.g)+t(e.b)+Fj(e.a,t):void 0}const Nj=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function $V(e,t,n){const o=t*Math.min(n,1-n),r=(i,s=(i+e/30)%12)=>n-o*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function Uj(e,t,n){const o=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[o(5),o(3),o(1)]}function $j(e,t,n){const o=$V(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)o[r]*=1-t-n,o[r]+=t;return o}function Wj(e,t,n,o,r){return e===r?(t-n)/o+(t<n?6:0):t===r?(n-e)/o+2:(e-t)/o+4}function EI(e){const n=e.r/255,o=e.g/255,r=e.b/255,i=Math.max(n,o,r),s=Math.min(n,o,r),c=(i+s)/2;let d,h,u;return i!==s&&(u=i-s,h=c>.5?u/(2-i-s):u/(i+s),d=Wj(n,o,r,u,i),d=d*60+.5),[d|0,h||0,c]}function TI(e,t,n,o){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,o)).map(Ba)}function HI(e,t,n){return TI($V,e,t,n)}function Gj(e,t,n){return TI($j,e,t,n)}function Xj(e,t,n){return TI(Uj,e,t,n)}function WV(e){return(e%360+360)%360}function Kj(e){const t=Nj.exec(e);let n=255,o;if(!t)return;t[5]!==o&&(n=t[6]?Sl(+t[5]):Ba(+t[5]));const r=WV(+t[2]),i=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?o=Gj(r,i,s):t[1]==="hsv"?o=Xj(r,i,s):o=HI(r,i,s),{r:o[0],g:o[1],b:o[2],a:n}}function Zj(e,t){var n=EI(e);n[0]=WV(n[0]+t),n=HI(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Yj(e){if(!e)return;const t=EI(e),n=t[0],o=UV(t[1]),r=UV(t[2]);return e.a<255?`hsla(${n}, ${o}%, ${r}%, ${ra(e.a)})`:`hsl(${n}, ${o}%, ${r}%)`}const GV={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},XV={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Jj(){const e={},t=Object.keys(XV),n=Object.keys(GV);let o,r,i,s,c;for(o=0;o<t.length;o++){for(s=c=t[o],r=0;r<n.length;r++)i=n[r],c=c.replace(i,GV[i]);i=parseInt(XV[s],16),e[c]=[i>>16&255,i>>8&255,i&255]}return e}let $L;function Qj(e){$L||($L=Jj(),$L.transparent=[0,0,0,0]);const t=$L[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const eF=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function tF(e){const t=eF.exec(e);let n=255,o,r,i;if(t){if(t[7]!==o){const s=+t[7];n=t[8]?Sl(s):Aa(s*255,0,255)}return o=+t[1],r=+t[3],i=+t[5],o=255&(t[2]?Sl(o):Aa(o,0,255)),r=255&(t[4]?Sl(r):Aa(r,0,255)),i=255&(t[6]?Sl(i):Aa(i,0,255)),{r:o,g:r,b:i,a:n}}}function aF(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ra(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const OI=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ps=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function nF(e,t,n){const o=Ps(ra(e.r)),r=Ps(ra(e.g)),i=Ps(ra(e.b));return{r:Ba(OI(o+n*(Ps(ra(t.r))-o))),g:Ba(OI(r+n*(Ps(ra(t.g))-r))),b:Ba(OI(i+n*(Ps(ra(t.b))-i))),a:e.a+n*(t.a-e.a)}}function WL(e,t,n){if(e){let o=EI(e);o[t]=Math.max(0,Math.min(o[t]+o[t]*n,t===0?360:1)),o=HI(o),e.r=o[0],e.g=o[1],e.b=o[2]}}function KV(e,t){return e&&Object.assign(t||{},e)}function ZV(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ba(e[3]))):(t=KV(e,{r:0,g:0,b:0,a:1}),t.a=Ba(t.a)),t}function oF(e){return e.charAt(0)==="r"?tF(e):Kj(e)}class Il{constructor(t){if(t instanceof Il)return t;const n=typeof t;let o;n==="object"?o=ZV(t):n==="string"&&(o=jj(t)||Qj(t)||oF(t)),this._rgb=o,this._valid=!!o}get valid(){return this._valid}get rgb(){var t=KV(this._rgb);return t&&(t.a=ra(t.a)),t}set rgb(t){this._rgb=ZV(t)}rgbString(){return this._valid?aF(this._rgb):void 0}hexString(){return this._valid?Rj(this._rgb):void 0}hslString(){return this._valid?Yj(this._rgb):void 0}mix(t,n){if(t){const o=this.rgb,r=t.rgb;let i;const s=n===i?.5:n,c=2*s-1,d=o.a-r.a,h=((c*d===-1?c:(c+d)/(1+c*d))+1)/2;i=1-h,o.r=255&h*o.r+i*r.r+.5,o.g=255&h*o.g+i*r.g+.5,o.b=255&h*o.b+i*r.b+.5,o.a=s*o.a+(1-s)*r.a,this.rgb=o}return this}interpolate(t,n){return t&&(this._rgb=nF(this._rgb,t._rgb,n)),this}clone(){return new Il(this.rgb)}alpha(t){return this._rgb.a=Ba(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=Ll(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return WL(this._rgb,2,t),this}darken(t){return WL(this._rgb,2,-t),this}saturate(t){return WL(this._rgb,1,t),this}desaturate(t){return WL(this._rgb,1,-t),this}rotate(t){return Zj(this._rgb,t),this}}/*!
|
|
8508
8508
|
* Chart.js v4.5.1
|
|
8509
8509
|
* https://www.chartjs.org
|
|
8510
8510
|
* (c) 2025 Chart.js Contributors
|
|
8511
8511
|
* Released under the MIT License
|
|
8512
|
-
*/function ia(){}const rF=(()=>{let e=0;return()=>e++})();function Se(e){return e==null}function Ue(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Me(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Ke(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Wt(e,t){return Ke(e)?e:t}function ge(e,t){return typeof e>"u"?t:e}const iF=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,YV=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function qe(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Ie(e,t,n,o){let r,i,s;if(Ue(e))for(i=e.length,r=0;r<i;r++)t.call(n,e[r],r);else if(Me(e))for(s=Object.keys(e),i=s.length,r=0;r<i;r++)t.call(n,e[s[r]],s[r])}function GL(e,t){let n,o,r,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,o=e.length;n<o;++n)if(r=e[n],i=t[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function XL(e){if(Ue(e))return e.map(XL);if(Me(e)){const t=Object.create(null),n=Object.keys(e),o=n.length;let r=0;for(;r<o;++r)t[n[r]]=XL(e[n[r]]);return t}return e}function JV(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function sF(e,t,n,o){if(!JV(e))return;const r=t[e],i=n[e];Me(r)&&Me(i)?Al(r,i,o):t[e]=XL(i)}function Al(e,t,n){const o=Ue(t)?t:[t],r=o.length;if(!Me(e))return e;n=n||{};const i=n.merger||sF;let s;for(let c=0;c<r;++c){if(s=o[c],!Me(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],e,s,n)}return e}function Bl(e,t){return Al(e,t,{merger:lF})}function lF(e,t,n){if(!JV(e))return;const o=t[e],r=n[e];Me(o)&&Me(r)?Bl(o,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=XL(r))}const QV={"":e=>e,x:e=>e.x,y:e=>e.y};function cF(e){const t=e.split("."),n=[];let o="";for(const r of t)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function dF(e){const t=cF(e);return n=>{for(const o of t){if(o==="")break;n=n&&n[o]}return n}}function as(e,t){return(QV[t]||(QV[t]=dF(t)))(e)}function jI(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Vl=e=>typeof e<"u",Va=e=>typeof e=="function",e_=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function hF(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Ae=Math.PI,Te=2*Ae,uF=Te+Ae,KL=Number.POSITIVE_INFINITY,pF=Ae/180,We=Ae/2,ns=Ae/4,t_=Ae*2/3,a_=Math.log10,Gt=Math.sign;function _l(e,t,n){return Math.abs(e-t)<n}function n_(e){const t=Math.round(e);e=_l(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(a_(e))),o=e/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function yF(e){const t=[],n=Math.sqrt(e);let o;for(o=1;o<n;o++)e%o===0&&(t.push(o),t.push(e/o));return n===(n|0)&&t.push(n),t.sort((r,i)=>r-i).pop(),t}function fF(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function zl(e){return!fF(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function mF(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function kF(e,t,n){let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function sa(e){return e*(Ae/180)}function gF(e){return e*(180/Ae)}function o_(e){if(!Ke(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function r_(e,t){const n=t.x-e.x,o=t.y-e.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Ae&&(i+=Te),{angle:i,distance:r}}function FI(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function bF(e,t){return(e-t+uF)%Te-Ae}function dt(e){return(e%Te+Te)%Te}function Pl(e,t,n,o){const r=dt(e),i=dt(t),s=dt(n),c=dt(i-r),d=dt(s-r),h=dt(r-i),u=dt(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ze(e,t,n){return Math.max(t,Math.min(n,e))}function xF(e){return Ze(e,-32768,32767)}function la(e,t,n,o=1e-6){return e>=Math.min(t,n)-o&&e<=Math.max(t,n)+o}function RI(e,t,n){n=n||(s=>e[s]<t);let o=e.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const os=(e,t,n,o)=>RI(e,n,o?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),MF=(e,t,n)=>RI(e,n,o=>e[o][t]>=n);function wF(e,t,n){let o=0,r=e.length;for(;o<r&&e[o]<t;)o++;for(;r>o&&e[r-1]>n;)r--;return o>0||r<e.length?e.slice(o,r):e}const i_=["push","pop","shift","splice","unshift"];function vF(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),i_.forEach(n=>{const o="_onData"+jI(n),r=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return e._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function s_(e,t){const n=e._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(t);r!==-1&&o.splice(r,1),!(o.length>0)&&(i_.forEach(i=>{delete e[i]}),delete e._chartjs)}function l_(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const c_=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function d_(e,t){let n=[],o=!1;return function(...r){n=r,o||(o=!0,c_.call(window,()=>{o=!1,e.apply(t,n)}))}}function CF(e,t){let n;return function(...o){return t?(clearTimeout(n),n=setTimeout(e,t,o)):e.apply(this,o),t}}const NI=e=>e==="start"?"left":e==="end"?"right":"center",Ye=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,LF=(e,t,n,o)=>e===(o?"left":"right")?n:e==="center"?(t+n)/2:t;function SF(e,t,n){const o=t.length;let r=0,i=o;if(e._sorted){const{iScale:s,vScale:c,_parsed:d}=e,h=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:m}=s.getUserBounds();if(f){if(r=Math.min(os(d,u,p).lo,n?o:os(t,u,s.getPixelForValue(p)).lo),h){const k=d.slice(0,r+1).reverse().findIndex(g=>!Se(g[c.axis]));r-=Math.max(0,k)}r=Ze(r,0,o-1)}if(m){let k=Math.max(os(d,s.axis,y,!0).hi+1,n?0:os(t,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(k-1).findIndex(x=>!Se(x[c.axis]));k+=Math.max(0,g)}i=Ze(k,r,o)-r}else i=o-r}return{start:r,count:i}}function IF(e){const{xScale:t,yScale:n,_scaleRanges:o}=e,r={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!o)return e._scaleRanges=r,!0;const i=o.xmin!==t.min||o.xmax!==t.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const ZL=e=>e===0||e===1,h_=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Te/n)),u_=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Te/n)+1,ql={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*We)+1,easeOutSine:e=>Math.sin(e*We),easeInOutSine:e=>-.5*(Math.cos(Ae*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ZL(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ZL(e)?e:h_(e,.075,.3),easeOutElastic:e=>ZL(e)?e:u_(e,.075,.3),easeInOutElastic(e){return ZL(e)?e:e<.5?.5*h_(e*2,.1125,.45):.5+.5*u_(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-ql.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?ql.easeInBounce(e*2)*.5:ql.easeOutBounce(e*2-1)*.5+.5};function UI(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function p_(e){return UI(e)?e:new Il(e)}function $I(e){return UI(e)?e:new Il(e).saturate(.5).darken(.1).hexString()}const AF=["x","y","borderWidth","radius","tension"],BF=["color","borderColor","backgroundColor"];function VF(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:BF},numbers:{type:"number",properties:AF}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function _F(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const y_=new Map;function zF(e,t){t=t||{};const n=e+JSON.stringify(t);let o=y_.get(n);return o||(o=new Intl.NumberFormat(e,t),y_.set(n,o)),o}function WI(e,t,n){return zF(t,n).format(e)}const PF={values(e){return Ue(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const o=this.chart.options.locale;let r,i=e;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=qF(e,n)}const s=a_(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),WI(e,o,d)}};function qF(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var f_={formatters:PF};function DF(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:f_.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const rs=Object.create(null),GI=Object.create(null);function Dl(e,t){if(!t)return e;const n=t.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];e=e[i]||(e[i]=Object.create(null))}return e}function XI(e,t,n){return typeof t=="string"?Al(Dl(e,t),n):Al(Dl(e,""),t)}class EF{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>$I(r.backgroundColor),this.hoverBorderColor=(o,r)=>$I(r.borderColor),this.hoverColor=(o,r)=>$I(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return XI(this,t,n)}get(t){return Dl(this,t)}describe(t,n){return XI(GI,t,n)}override(t,n){return XI(rs,t,n)}route(t,n,o,r){const i=Dl(this,t),s=Dl(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return Me(d)?Object.assign({},h,d):ge(d,h)},set(d){this[c]=d}}})}apply(t){t.forEach(n=>n(this))}}var Fe=new EF({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[VF,_F,DF]);function TF(e){return!e||Se(e.size)||Se(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function m_(e,t,n,o,r){let i=t[r];return i||(i=t[r]=e.measureText(r).width,n.push(r)),i>o&&(o=i),o}function is(e,t,n){const o=e.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((t-r)*o)/o+r}function k_(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function KI(e,t,n,o){g_(e,t,n,o,null)}function g_(e,t,n,o,r){let i,s,c,d,h,u,p,y;const f=t.pointStyle,m=t.rotation,k=t.radius;let g=(m||0)*pF;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,o),e.rotate(g),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),e.restore();return}if(!(isNaN(k)||k<=0)){switch(e.beginPath(),f){default:r?e.ellipse(n,o,r/2,k,0,0,Te):e.arc(n,o,k,0,Te),e.closePath();break;case"triangle":u=r?r/2:k,e.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=t_,e.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=t_,e.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),e.closePath();break;case"rectRounded":h=k*.516,d=k-h,s=Math.cos(g+ns)*d,p=Math.cos(g+ns)*(r?r/2-h:d),c=Math.sin(g+ns)*d,y=Math.sin(g+ns)*(r?r/2-h:d),e.arc(n-p,o-c,h,g-Ae,g-We),e.arc(n+y,o-s,h,g-We,g),e.arc(n+p,o+c,h,g,g+We),e.arc(n-y,o+s,h,g+We,g+Ae),e.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*k,u=r?r/2:d,e.rect(n-u,o-d,2*u,2*d);break}g+=ns;case"rectRot":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+y,o-s),e.lineTo(n+p,o+c),e.lineTo(n-y,o+s),e.closePath();break;case"crossRot":g+=ns;case"cross":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s),g+=ns,p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*k,c=Math.sin(g)*k,e.moveTo(n-s,o-c),e.lineTo(n+s,o+c);break;case"dash":e.moveTo(n,o),e.lineTo(n+Math.cos(g)*(r?r/2:k),o+Math.sin(g)*k);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function El(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function YL(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function JL(e){e.restore()}function HF(e,t,n,o,r){if(!t)return e.lineTo(n.x,n.y);if(r==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else r==="after"!=!!o?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function OF(e,t,n,o){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(o?t.cp1x:t.cp2x,o?t.cp1y:t.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function jF(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Se(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function FF(e,t,n,o,r){if(r.strikethrough||r.underline){const i=e.measureText(o),s=t-i.actualBoundingBoxLeft,c=t+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,u),e.lineTo(c,u),e.stroke()}}function RF(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Tl(e,t,n,o,r,i={}){const s=Ue(t)?t:[t],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(e.save(),e.font=r.string,jF(e,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&RF(e,i.backdrop),c&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),Se(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(h,n,o,i.maxWidth)),e.fillText(h,n,o,i.maxWidth),FF(e,n,o,h,i),o+=Number(r.lineHeight);e.restore()}function QL(e,t){const{x:n,y:o,w:r,h:i,radius:s}=t;e.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Ae,Ae,!0),e.lineTo(n,o+i-s.bottomLeft),e.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Ae,We,!0),e.lineTo(n+r-s.bottomRight,o+i),e.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,We,0,!0),e.lineTo(n+r,o+s.topRight),e.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-We,!0),e.lineTo(n+s.topLeft,o)}const NF=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,UF=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function $F(e,t){const n=(""+e).match(NF);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const WF=e=>+e||0;function ZI(e,t){const n={},o=Me(t),r=o?Object.keys(t):t,i=Me(e)?o?s=>ge(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of r)n[s]=WF(i(s));return n}function b_(e){return ZI(e,{top:"y",right:"x",bottom:"y",left:"x"})}function qs(e){return ZI(e,["topLeft","topRight","bottomLeft","bottomRight"])}function kt(e){const t=b_(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Je(e,t){e=e||{},t=t||Fe.font;let n=ge(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let o=ge(e.style,t.style);o&&!(""+o).match(UF)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:ge(e.family,t.family),lineHeight:$F(ge(e.lineHeight,t.lineHeight),n),size:n,style:o,weight:ge(e.weight,t.weight),string:""};return r.string=TF(r),r}function eS(e,t,n,o){let r,i,s;for(r=0,i=e.length;r<i;++r)if(s=e[r],s!==void 0&&s!==void 0)return s}function GF(e,t,n){const{min:o,max:r}=e,i=YV(t,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function ss(e,t){return Object.assign(Object.create(e),t)}function YI(e,t=[""],n,o,r=()=>e[0]){const i=n||e;typeof o>"u"&&(o=C_("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>YI([c,...e],t,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete e[0][d],!0},get(c,d){return M_(c,d,()=>tR(d,t,e,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(c,d){return L_(c).includes(d)},ownKeys(c){return L_(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function Ds(e,t,n,o){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:x_(e,o),setContext:i=>Ds(e,i,n,o),override:i=>Ds(e.override(i),t,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete e[s],!0},get(i,s,c){return M_(i,s,()=>KF(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(i,s,c){return e[s]=c,delete i[s],!0}})}function x_(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:o=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:o,isScriptable:Va(n)?n:()=>n,isIndexable:Va(o)?o:()=>o}}const XF=(e,t)=>e?e+jI(t):t,JI=(e,t)=>Me(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function M_(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const o=n();return e[t]=o,o}function KF(e,t,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=e;let c=o[t];return Va(c)&&s.isScriptable(t)&&(c=ZF(t,c,e,n)),Ue(c)&&c.length&&(c=YF(t,c,e,s.isIndexable)),JI(t,c)&&(c=Ds(c,r,i&&i[t],s)),c}function ZF(e,t,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(e))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+e);c.add(e);let d=t(i,s||o);return c.delete(e),JI(e,d)&&(d=QI(r._scopes,r,e,d)),d}function YF(e,t,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(e))return t[i.index%t.length];if(Me(t[0])){const d=t,h=r._scopes.filter(u=>u!==d);t=[];for(const u of d){const p=QI(h,r,e,u);t.push(Ds(p,i,s&&s[e],c))}}return t}function w_(e,t,n){return Va(e)?e(t,n):e}const JF=(e,t)=>e===!0?t:typeof e=="string"?as(t,e):void 0;function QF(e,t,n,o,r){for(const i of t){const s=JF(n,i);if(s){e.add(s);const c=w_(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function QI(e,t,n,o){const r=t._rootScopes,i=w_(t._fallback,n,o),s=[...e,...r],c=new Set;c.add(o);let d=v_(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=v_(c,s,i,d,o),d===null)?!1:YI(Array.from(c),[""],r,i,()=>eR(t,n,o))}function v_(e,t,n,o,r){for(;n;)n=QF(e,t,n,o,r);return n}function eR(e,t,n){const o=e._getTarget();t in o||(o[t]={});const r=o[t];return Ue(r)&&Me(n)?n:r||{}}function tR(e,t,n,o){let r;for(const i of t)if(r=C_(XF(i,e),n),typeof r<"u")return JI(e,r)?QI(n,o,e,r):r}function C_(e,t){for(const n of t){if(!n)continue;const o=n[e];if(typeof o<"u")return o}}function L_(e){let t=e._keys;return t||(t=e._keys=aR(e._scopes)),t}function aR(e){const t=new Set;for(const n of e)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))t.add(o);return Array.from(t)}const nR=Number.EPSILON||1e-14,Es=(e,t)=>t<e.length&&!e[t].skip&&e[t],S_=e=>e==="x"?"y":"x";function oR(e,t,n,o){const r=e.skip?t:e,i=t,s=n.skip?t:n,c=FI(i,r),d=FI(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function rR(e,t,n){const o=e.length;let r,i,s,c,d,h=Es(e,0);for(let u=0;u<o-1;++u)if(d=h,h=Es(e,u+1),!(!d||!h)){if(_l(t[u],0,nR)){n[u]=n[u+1]=0;continue}r=n[u]/t[u],i=n[u+1]/t[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*t[u],n[u+1]=i*s*t[u])}}function iR(e,t,n="x"){const o=S_(n),r=e.length;let i,s,c,d=Es(e,0);for(let h=0;h<r;++h){if(s=c,c=d,d=Es(e,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*t[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*t[h])}}function sR(e,t="x"){const n=S_(t),o=e.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=Es(e,0);for(s=0;s<o;++s)if(c=d,d=h,h=Es(e,s+1),!!d){if(h){const u=h[t]-d[t];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?Gt(r[s-1])!==Gt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}rR(e,r,i),iR(e,i,t)}function tS(e,t,n){return Math.max(Math.min(e,n),t)}function lR(e,t){let n,o,r,i,s,c=El(e[0],t);for(n=0,o=e.length;n<o;++n)s=i,i=c,c=n<o-1&&El(e[n+1],t),i&&(r=e[n],s&&(r.cp1x=tS(r.cp1x,t.left,t.right),r.cp1y=tS(r.cp1y,t.top,t.bottom)),c&&(r.cp2x=tS(r.cp2x,t.left,t.right),r.cp2y=tS(r.cp2y,t.top,t.bottom)))}function cR(e,t,n,o,r){let i,s,c,d;if(t.spanGaps&&(e=e.filter(h=>!h.skip)),t.cubicInterpolationMode==="monotone")sR(e,r);else{let h=o?e[e.length-1]:e[0];for(i=0,s=e.length;i<s;++i)c=e[i],d=oR(h,c,e[Math.min(i+1,s-(o?0:1))%s],t.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}t.capBezierPoints&&lR(e,n)}function eA(){return typeof window<"u"&&typeof document<"u"}function tA(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function aS(e,t,n){let o;return typeof e=="string"?(o=parseInt(e,10),e.indexOf("%")!==-1&&(o=o/100*t.parentNode[n])):o=e,o}const nS=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function dR(e,t){return nS(e).getPropertyValue(t)}const hR=["top","right","bottom","left"];function ls(e,t,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=hR[r];o[i]=parseFloat(e[t+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const uR=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function pR(e,t){const n=e.touches,o=n&&n.length?n[0]:e,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(uR(r,i,e.target))c=r,d=i;else{const h=t.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function cs(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:o}=t,r=nS(n),i=r.boxSizing==="border-box",s=ls(r,"padding"),c=ls(r,"border","width"),{x:d,y:h,box:u}=pR(e,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:m}=t;return i&&(f-=s.width+c.width,m-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/m*n.height/o)}}function yR(e,t,n){let o,r;if(t===void 0||n===void 0){const i=e&&tA(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const s=i.getBoundingClientRect(),c=nS(i),d=ls(c,"border","width"),h=ls(c,"padding");t=s.width-h.width-d.width,n=s.height-h.height-d.height,o=aS(c.maxWidth,i,"clientWidth"),r=aS(c.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:o||KL,maxHeight:r||KL}}const _a=e=>Math.round(e*10)/10;function fR(e,t,n,o){const r=nS(e),i=ls(r,"margin"),s=aS(r.maxWidth,e,"clientWidth")||KL,c=aS(r.maxHeight,e,"clientHeight")||KL,d=yR(e,t,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=ls(r,"border","width"),f=ls(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=_a(Math.min(h,s,d.maxWidth)),u=_a(Math.min(u,c,d.maxHeight)),h&&!u&&(u=_a(h/2)),(t!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=_a(Math.floor(u*o))),{width:h,height:u}}function I_(e,t,n){const o=t||1,r=_a(e.height*o),i=_a(e.width*o);e.height=_a(e.height),e.width=_a(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(e.currentDevicePixelRatio=o,s.height=r,s.width=i,e.ctx.setTransform(o,0,0,o,0,0),!0):!1}const mR=(function(){let e=!1;try{const t={get passive(){return e=!0,!1}};eA()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function A_(e,t){const n=dR(e,t),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function ds(e,t,n,o){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function kR(e,t,n,o){return{x:e.x+n*(t.x-e.x),y:o==="middle"?n<.5?e.y:t.y:o==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function gR(e,t,n,o){const r={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},s=ds(e,r,n),c=ds(r,i,n),d=ds(i,t,n),h=ds(s,c,n),u=ds(c,d,n);return ds(h,u,n)}const bR=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},xR=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ts(e,t,n){return e?bR(t,n):xR()}function B_(e,t){let n,o;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=o)}function V_(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function __(e){return e==="angle"?{between:Pl,compare:bF,normalize:dt}:{between:la,compare:(t,n)=>t-n,normalize:t=>t}}function z_({start:e,end:t,count:n,loop:o,style:r}){return{start:e%n,end:t%n,loop:o&&(t-e+1)%n===0,style:r}}function MR(e,t,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=__(o),d=t.length;let{start:h,end:u,loop:p}=e,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(t[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:e.style}}function P_(e,t,n){if(!n)return[e];const{property:o,start:r,end:i}=n,s=t.length,{compare:c,between:d,normalize:h}=__(o),{start:u,end:p,loop:y,style:f}=MR(e,t,n),m=[];let k=!1,g=null,x,C,w;const b=()=>d(r,w,x)&&c(r,w)!==0,L=()=>c(i,x)===0||d(i,w,x),S=()=>k||b(),v=()=>!k||L();for(let M=u,I=u;M<=p;++M)C=t[M%s],!C.skip&&(x=h(C[o]),x!==w&&(k=d(x,r,i),g===null&&S()&&(g=c(x,r)===0?M:I),g!==null&&v()&&(m.push(z_({start:g,end:M,loop:y,count:s,style:f})),g=null),I=M,w=x));return g!==null&&m.push(z_({start:g,end:p,loop:y,count:s,style:f})),m}function q_(e,t){const n=[],o=e.segments;for(let r=0;r<o.length;r++){const i=P_(o[r],e.points,t);i.length&&n.push(...i)}return n}function wR(e,t,n,o){let r=0,i=t-1;if(n&&!o)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,n&&(i+=r);i>r&&e[i%t].skip;)i--;return i%=t,{start:r,end:i}}function vR(e,t,n,o){const r=e.length,i=[];let s=t,c=e[t],d;for(d=t+1;d<=n;++d){const h=e[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:t%r,end:(d-1)%r,loop:o}),t=s=h.stop?d:null):(s=d,c.skip&&(t=d)),c=h}return s!==null&&i.push({start:t%r,end:s%r,loop:o}),i}function CR(e,t){const n=e.points,o=e.options.spanGaps,r=n.length;if(!r)return[];const i=!!e._loop,{start:s,end:c}=wR(n,r,i,o);if(o===!0)return D_(e,[{start:s,end:c,loop:i}],n,t);const d=c<s?c+r:c,h=!!e._fullLoop&&s===0&&c===r-1;return D_(e,vR(n,s,d,h),n,t)}function D_(e,t,n,o){return!o||!o.setContext||!n?t:LR(e,t,n,o)}function LR(e,t,n,o){const r=e._chart.getContext(),i=E_(e.options),{_datasetIndex:s,options:{spanGaps:c}}=e,d=n.length,h=[];let u=i,p=t[0].start,y=p;function f(m,k,g,x){const C=c?-1:1;if(m!==k){for(m+=d;n[m%d].skip;)m-=C;for(;n[k%d].skip;)k+=C;m%d!==k%d&&(h.push({start:m%d,end:k%d,loop:g,style:x}),u=x,p=k%d)}}for(const m of t){p=c?p:m.start;let k=n[p%d],g;for(y=p+1;y<=m.end;y++){const x=n[y%d];g=E_(o.setContext(ss(r,{type:"segment",p0:k,p1:x,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),SR(g,u)&&f(p,y-1,m.loop,u),k=x,u=g}p<y-1&&f(p,y-1,m.loop,u)}return h}function E_(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function SR(e,t){if(!t)return!1;const n=[],o=function(r,i){return UI(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,o)!==JSON.stringify(t,o)}function oS(e,t,n){return e.options.clip?e[n]:t[n]}function IR(e,t){const{xScale:n,yScale:o}=e;return n&&o?{left:oS(n,t,"left"),right:oS(n,t,"right"),top:oS(o,t,"top"),bottom:oS(o,t,"bottom")}:t}function T_(e,t){const n=t._clip;if(n.disabled)return!1;const o=IR(t,e.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8512
|
+
*/function ia(){}const rF=(()=>{let e=0;return()=>e++})();function Ie(e){return e==null}function Ne(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Me(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Ke(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Gt(e,t){return Ke(e)?e:t}function ge(e,t){return typeof e>"u"?t:e}const iF=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,YV=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function qe(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Ae(e,t,n,o){let r,i,s;if(Ne(e))for(i=e.length,r=0;r<i;r++)t.call(n,e[r],r);else if(Me(e))for(s=Object.keys(e),i=s.length,r=0;r<i;r++)t.call(n,e[s[r]],s[r])}function GL(e,t){let n,o,r,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,o=e.length;n<o;++n)if(r=e[n],i=t[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function XL(e){if(Ne(e))return e.map(XL);if(Me(e)){const t=Object.create(null),n=Object.keys(e),o=n.length;let r=0;for(;r<o;++r)t[n[r]]=XL(e[n[r]]);return t}return e}function JV(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function sF(e,t,n,o){if(!JV(e))return;const r=t[e],i=n[e];Me(r)&&Me(i)?Al(r,i,o):t[e]=XL(i)}function Al(e,t,n){const o=Ne(t)?t:[t],r=o.length;if(!Me(e))return e;n=n||{};const i=n.merger||sF;let s;for(let c=0;c<r;++c){if(s=o[c],!Me(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],e,s,n)}return e}function Bl(e,t){return Al(e,t,{merger:lF})}function lF(e,t,n){if(!JV(e))return;const o=t[e],r=n[e];Me(o)&&Me(r)?Bl(o,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=XL(r))}const QV={"":e=>e,x:e=>e.x,y:e=>e.y};function cF(e){const t=e.split("."),n=[];let o="";for(const r of t)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function dF(e){const t=cF(e);return n=>{for(const o of t){if(o==="")break;n=n&&n[o]}return n}}function as(e,t){return(QV[t]||(QV[t]=dF(t)))(e)}function jI(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Vl=e=>typeof e<"u",Va=e=>typeof e=="function",e_=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function hF(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Be=Math.PI,Te=2*Be,uF=Te+Be,KL=Number.POSITIVE_INFINITY,pF=Be/180,$e=Be/2,ns=Be/4,t_=Be*2/3,a_=Math.log10,Xt=Math.sign;function _l(e,t,n){return Math.abs(e-t)<n}function n_(e){const t=Math.round(e);e=_l(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(a_(e))),o=e/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function yF(e){const t=[],n=Math.sqrt(e);let o;for(o=1;o<n;o++)e%o===0&&(t.push(o),t.push(e/o));return n===(n|0)&&t.push(n),t.sort((r,i)=>r-i).pop(),t}function fF(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function zl(e){return!fF(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function mF(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function kF(e,t,n){let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function sa(e){return e*(Be/180)}function gF(e){return e*(180/Be)}function o_(e){if(!Ke(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function r_(e,t){const n=t.x-e.x,o=t.y-e.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Be&&(i+=Te),{angle:i,distance:r}}function FI(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function bF(e,t){return(e-t+uF)%Te-Be}function ht(e){return(e%Te+Te)%Te}function Pl(e,t,n,o){const r=ht(e),i=ht(t),s=ht(n),c=ht(i-r),d=ht(s-r),h=ht(r-i),u=ht(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ze(e,t,n){return Math.max(t,Math.min(n,e))}function xF(e){return Ze(e,-32768,32767)}function la(e,t,n,o=1e-6){return e>=Math.min(t,n)-o&&e<=Math.max(t,n)+o}function RI(e,t,n){n=n||(s=>e[s]<t);let o=e.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const os=(e,t,n,o)=>RI(e,n,o?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),MF=(e,t,n)=>RI(e,n,o=>e[o][t]>=n);function wF(e,t,n){let o=0,r=e.length;for(;o<r&&e[o]<t;)o++;for(;r>o&&e[r-1]>n;)r--;return o>0||r<e.length?e.slice(o,r):e}const i_=["push","pop","shift","splice","unshift"];function vF(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),i_.forEach(n=>{const o="_onData"+jI(n),r=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return e._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function s_(e,t){const n=e._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(t);r!==-1&&o.splice(r,1),!(o.length>0)&&(i_.forEach(i=>{delete e[i]}),delete e._chartjs)}function l_(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const c_=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function d_(e,t){let n=[],o=!1;return function(...r){n=r,o||(o=!0,c_.call(window,()=>{o=!1,e.apply(t,n)}))}}function CF(e,t){let n;return function(...o){return t?(clearTimeout(n),n=setTimeout(e,t,o)):e.apply(this,o),t}}const NI=e=>e==="start"?"left":e==="end"?"right":"center",Ye=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,LF=(e,t,n,o)=>e===(o?"left":"right")?n:e==="center"?(t+n)/2:t;function SF(e,t,n){const o=t.length;let r=0,i=o;if(e._sorted){const{iScale:s,vScale:c,_parsed:d}=e,h=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:m}=s.getUserBounds();if(f){if(r=Math.min(os(d,u,p).lo,n?o:os(t,u,s.getPixelForValue(p)).lo),h){const k=d.slice(0,r+1).reverse().findIndex(g=>!Ie(g[c.axis]));r-=Math.max(0,k)}r=Ze(r,0,o-1)}if(m){let k=Math.max(os(d,s.axis,y,!0).hi+1,n?0:os(t,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(k-1).findIndex(x=>!Ie(x[c.axis]));k+=Math.max(0,g)}i=Ze(k,r,o)-r}else i=o-r}return{start:r,count:i}}function IF(e){const{xScale:t,yScale:n,_scaleRanges:o}=e,r={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!o)return e._scaleRanges=r,!0;const i=o.xmin!==t.min||o.xmax!==t.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const ZL=e=>e===0||e===1,h_=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Te/n)),u_=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Te/n)+1,ql={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*$e)+1,easeOutSine:e=>Math.sin(e*$e),easeInOutSine:e=>-.5*(Math.cos(Be*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ZL(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ZL(e)?e:h_(e,.075,.3),easeOutElastic:e=>ZL(e)?e:u_(e,.075,.3),easeInOutElastic(e){return ZL(e)?e:e<.5?.5*h_(e*2,.1125,.45):.5+.5*u_(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-ql.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?ql.easeInBounce(e*2)*.5:ql.easeOutBounce(e*2-1)*.5+.5};function UI(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function p_(e){return UI(e)?e:new Il(e)}function $I(e){return UI(e)?e:new Il(e).saturate(.5).darken(.1).hexString()}const AF=["x","y","borderWidth","radius","tension"],BF=["color","borderColor","backgroundColor"];function VF(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:BF},numbers:{type:"number",properties:AF}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function _F(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const y_=new Map;function zF(e,t){t=t||{};const n=e+JSON.stringify(t);let o=y_.get(n);return o||(o=new Intl.NumberFormat(e,t),y_.set(n,o)),o}function WI(e,t,n){return zF(t,n).format(e)}const PF={values(e){return Ne(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const o=this.chart.options.locale;let r,i=e;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=qF(e,n)}const s=a_(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),WI(e,o,d)}};function qF(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var f_={formatters:PF};function DF(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:f_.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const rs=Object.create(null),GI=Object.create(null);function Dl(e,t){if(!t)return e;const n=t.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];e=e[i]||(e[i]=Object.create(null))}return e}function XI(e,t,n){return typeof t=="string"?Al(Dl(e,t),n):Al(Dl(e,""),t)}class EF{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>$I(r.backgroundColor),this.hoverBorderColor=(o,r)=>$I(r.borderColor),this.hoverColor=(o,r)=>$I(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return XI(this,t,n)}get(t){return Dl(this,t)}describe(t,n){return XI(GI,t,n)}override(t,n){return XI(rs,t,n)}route(t,n,o,r){const i=Dl(this,t),s=Dl(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return Me(d)?Object.assign({},h,d):ge(d,h)},set(d){this[c]=d}}})}apply(t){t.forEach(n=>n(this))}}var Fe=new EF({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[VF,_F,DF]);function TF(e){return!e||Ie(e.size)||Ie(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function m_(e,t,n,o,r){let i=t[r];return i||(i=t[r]=e.measureText(r).width,n.push(r)),i>o&&(o=i),o}function is(e,t,n){const o=e.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((t-r)*o)/o+r}function k_(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function KI(e,t,n,o){g_(e,t,n,o,null)}function g_(e,t,n,o,r){let i,s,c,d,h,u,p,y;const f=t.pointStyle,m=t.rotation,k=t.radius;let g=(m||0)*pF;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,o),e.rotate(g),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),e.restore();return}if(!(isNaN(k)||k<=0)){switch(e.beginPath(),f){default:r?e.ellipse(n,o,r/2,k,0,0,Te):e.arc(n,o,k,0,Te),e.closePath();break;case"triangle":u=r?r/2:k,e.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=t_,e.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=t_,e.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),e.closePath();break;case"rectRounded":h=k*.516,d=k-h,s=Math.cos(g+ns)*d,p=Math.cos(g+ns)*(r?r/2-h:d),c=Math.sin(g+ns)*d,y=Math.sin(g+ns)*(r?r/2-h:d),e.arc(n-p,o-c,h,g-Be,g-$e),e.arc(n+y,o-s,h,g-$e,g),e.arc(n+p,o+c,h,g,g+$e),e.arc(n-y,o+s,h,g+$e,g+Be),e.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*k,u=r?r/2:d,e.rect(n-u,o-d,2*u,2*d);break}g+=ns;case"rectRot":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+y,o-s),e.lineTo(n+p,o+c),e.lineTo(n-y,o+s),e.closePath();break;case"crossRot":g+=ns;case"cross":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s),g+=ns,p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),e.moveTo(n-p,o-c),e.lineTo(n+p,o+c),e.moveTo(n+y,o-s),e.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*k,c=Math.sin(g)*k,e.moveTo(n-s,o-c),e.lineTo(n+s,o+c);break;case"dash":e.moveTo(n,o),e.lineTo(n+Math.cos(g)*(r?r/2:k),o+Math.sin(g)*k);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function El(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function YL(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function JL(e){e.restore()}function HF(e,t,n,o,r){if(!t)return e.lineTo(n.x,n.y);if(r==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else r==="after"!=!!o?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function OF(e,t,n,o){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(o?t.cp1x:t.cp2x,o?t.cp1y:t.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function jF(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Ie(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function FF(e,t,n,o,r){if(r.strikethrough||r.underline){const i=e.measureText(o),s=t-i.actualBoundingBoxLeft,c=t+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,u),e.lineTo(c,u),e.stroke()}}function RF(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Tl(e,t,n,o,r,i={}){const s=Ne(t)?t:[t],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(e.save(),e.font=r.string,jF(e,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&RF(e,i.backdrop),c&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),Ie(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(h,n,o,i.maxWidth)),e.fillText(h,n,o,i.maxWidth),FF(e,n,o,h,i),o+=Number(r.lineHeight);e.restore()}function QL(e,t){const{x:n,y:o,w:r,h:i,radius:s}=t;e.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Be,Be,!0),e.lineTo(n,o+i-s.bottomLeft),e.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Be,$e,!0),e.lineTo(n+r-s.bottomRight,o+i),e.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,$e,0,!0),e.lineTo(n+r,o+s.topRight),e.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-$e,!0),e.lineTo(n+s.topLeft,o)}const NF=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,UF=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function $F(e,t){const n=(""+e).match(NF);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const WF=e=>+e||0;function ZI(e,t){const n={},o=Me(t),r=o?Object.keys(t):t,i=Me(e)?o?s=>ge(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of r)n[s]=WF(i(s));return n}function b_(e){return ZI(e,{top:"y",right:"x",bottom:"y",left:"x"})}function qs(e){return ZI(e,["topLeft","topRight","bottomLeft","bottomRight"])}function gt(e){const t=b_(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Je(e,t){e=e||{},t=t||Fe.font;let n=ge(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let o=ge(e.style,t.style);o&&!(""+o).match(UF)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:ge(e.family,t.family),lineHeight:$F(ge(e.lineHeight,t.lineHeight),n),size:n,style:o,weight:ge(e.weight,t.weight),string:""};return r.string=TF(r),r}function eS(e,t,n,o){let r,i,s;for(r=0,i=e.length;r<i;++r)if(s=e[r],s!==void 0&&s!==void 0)return s}function GF(e,t,n){const{min:o,max:r}=e,i=YV(t,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function ss(e,t){return Object.assign(Object.create(e),t)}function YI(e,t=[""],n,o,r=()=>e[0]){const i=n||e;typeof o>"u"&&(o=C_("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>YI([c,...e],t,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete e[0][d],!0},get(c,d){return M_(c,d,()=>tR(d,t,e,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(c,d){return L_(c).includes(d)},ownKeys(c){return L_(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function Ds(e,t,n,o){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:x_(e,o),setContext:i=>Ds(e,i,n,o),override:i=>Ds(e.override(i),t,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete e[s],!0},get(i,s,c){return M_(i,s,()=>KF(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(i,s,c){return e[s]=c,delete i[s],!0}})}function x_(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:o=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:o,isScriptable:Va(n)?n:()=>n,isIndexable:Va(o)?o:()=>o}}const XF=(e,t)=>e?e+jI(t):t,JI=(e,t)=>Me(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function M_(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const o=n();return e[t]=o,o}function KF(e,t,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=e;let c=o[t];return Va(c)&&s.isScriptable(t)&&(c=ZF(t,c,e,n)),Ne(c)&&c.length&&(c=YF(t,c,e,s.isIndexable)),JI(t,c)&&(c=Ds(c,r,i&&i[t],s)),c}function ZF(e,t,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(e))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+e);c.add(e);let d=t(i,s||o);return c.delete(e),JI(e,d)&&(d=QI(r._scopes,r,e,d)),d}function YF(e,t,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(e))return t[i.index%t.length];if(Me(t[0])){const d=t,h=r._scopes.filter(u=>u!==d);t=[];for(const u of d){const p=QI(h,r,e,u);t.push(Ds(p,i,s&&s[e],c))}}return t}function w_(e,t,n){return Va(e)?e(t,n):e}const JF=(e,t)=>e===!0?t:typeof e=="string"?as(t,e):void 0;function QF(e,t,n,o,r){for(const i of t){const s=JF(n,i);if(s){e.add(s);const c=w_(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function QI(e,t,n,o){const r=t._rootScopes,i=w_(t._fallback,n,o),s=[...e,...r],c=new Set;c.add(o);let d=v_(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=v_(c,s,i,d,o),d===null)?!1:YI(Array.from(c),[""],r,i,()=>eR(t,n,o))}function v_(e,t,n,o,r){for(;n;)n=QF(e,t,n,o,r);return n}function eR(e,t,n){const o=e._getTarget();t in o||(o[t]={});const r=o[t];return Ne(r)&&Me(n)?n:r||{}}function tR(e,t,n,o){let r;for(const i of t)if(r=C_(XF(i,e),n),typeof r<"u")return JI(e,r)?QI(n,o,e,r):r}function C_(e,t){for(const n of t){if(!n)continue;const o=n[e];if(typeof o<"u")return o}}function L_(e){let t=e._keys;return t||(t=e._keys=aR(e._scopes)),t}function aR(e){const t=new Set;for(const n of e)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))t.add(o);return Array.from(t)}const nR=Number.EPSILON||1e-14,Es=(e,t)=>t<e.length&&!e[t].skip&&e[t],S_=e=>e==="x"?"y":"x";function oR(e,t,n,o){const r=e.skip?t:e,i=t,s=n.skip?t:n,c=FI(i,r),d=FI(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function rR(e,t,n){const o=e.length;let r,i,s,c,d,h=Es(e,0);for(let u=0;u<o-1;++u)if(d=h,h=Es(e,u+1),!(!d||!h)){if(_l(t[u],0,nR)){n[u]=n[u+1]=0;continue}r=n[u]/t[u],i=n[u+1]/t[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*t[u],n[u+1]=i*s*t[u])}}function iR(e,t,n="x"){const o=S_(n),r=e.length;let i,s,c,d=Es(e,0);for(let h=0;h<r;++h){if(s=c,c=d,d=Es(e,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*t[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*t[h])}}function sR(e,t="x"){const n=S_(t),o=e.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=Es(e,0);for(s=0;s<o;++s)if(c=d,d=h,h=Es(e,s+1),!!d){if(h){const u=h[t]-d[t];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?Xt(r[s-1])!==Xt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}rR(e,r,i),iR(e,i,t)}function tS(e,t,n){return Math.max(Math.min(e,n),t)}function lR(e,t){let n,o,r,i,s,c=El(e[0],t);for(n=0,o=e.length;n<o;++n)s=i,i=c,c=n<o-1&&El(e[n+1],t),i&&(r=e[n],s&&(r.cp1x=tS(r.cp1x,t.left,t.right),r.cp1y=tS(r.cp1y,t.top,t.bottom)),c&&(r.cp2x=tS(r.cp2x,t.left,t.right),r.cp2y=tS(r.cp2y,t.top,t.bottom)))}function cR(e,t,n,o,r){let i,s,c,d;if(t.spanGaps&&(e=e.filter(h=>!h.skip)),t.cubicInterpolationMode==="monotone")sR(e,r);else{let h=o?e[e.length-1]:e[0];for(i=0,s=e.length;i<s;++i)c=e[i],d=oR(h,c,e[Math.min(i+1,s-(o?0:1))%s],t.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}t.capBezierPoints&&lR(e,n)}function eA(){return typeof window<"u"&&typeof document<"u"}function tA(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function aS(e,t,n){let o;return typeof e=="string"?(o=parseInt(e,10),e.indexOf("%")!==-1&&(o=o/100*t.parentNode[n])):o=e,o}const nS=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function dR(e,t){return nS(e).getPropertyValue(t)}const hR=["top","right","bottom","left"];function ls(e,t,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=hR[r];o[i]=parseFloat(e[t+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const uR=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function pR(e,t){const n=e.touches,o=n&&n.length?n[0]:e,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(uR(r,i,e.target))c=r,d=i;else{const h=t.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function cs(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:o}=t,r=nS(n),i=r.boxSizing==="border-box",s=ls(r,"padding"),c=ls(r,"border","width"),{x:d,y:h,box:u}=pR(e,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:m}=t;return i&&(f-=s.width+c.width,m-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/m*n.height/o)}}function yR(e,t,n){let o,r;if(t===void 0||n===void 0){const i=e&&tA(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const s=i.getBoundingClientRect(),c=nS(i),d=ls(c,"border","width"),h=ls(c,"padding");t=s.width-h.width-d.width,n=s.height-h.height-d.height,o=aS(c.maxWidth,i,"clientWidth"),r=aS(c.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:o||KL,maxHeight:r||KL}}const _a=e=>Math.round(e*10)/10;function fR(e,t,n,o){const r=nS(e),i=ls(r,"margin"),s=aS(r.maxWidth,e,"clientWidth")||KL,c=aS(r.maxHeight,e,"clientHeight")||KL,d=yR(e,t,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=ls(r,"border","width"),f=ls(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=_a(Math.min(h,s,d.maxWidth)),u=_a(Math.min(u,c,d.maxHeight)),h&&!u&&(u=_a(h/2)),(t!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=_a(Math.floor(u*o))),{width:h,height:u}}function I_(e,t,n){const o=t||1,r=_a(e.height*o),i=_a(e.width*o);e.height=_a(e.height),e.width=_a(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(e.currentDevicePixelRatio=o,s.height=r,s.width=i,e.ctx.setTransform(o,0,0,o,0,0),!0):!1}const mR=(function(){let e=!1;try{const t={get passive(){return e=!0,!1}};eA()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function A_(e,t){const n=dR(e,t),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function ds(e,t,n,o){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function kR(e,t,n,o){return{x:e.x+n*(t.x-e.x),y:o==="middle"?n<.5?e.y:t.y:o==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function gR(e,t,n,o){const r={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},s=ds(e,r,n),c=ds(r,i,n),d=ds(i,t,n),h=ds(s,c,n),u=ds(c,d,n);return ds(h,u,n)}const bR=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},xR=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ts(e,t,n){return e?bR(t,n):xR()}function B_(e,t){let n,o;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=o)}function V_(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function __(e){return e==="angle"?{between:Pl,compare:bF,normalize:ht}:{between:la,compare:(t,n)=>t-n,normalize:t=>t}}function z_({start:e,end:t,count:n,loop:o,style:r}){return{start:e%n,end:t%n,loop:o&&(t-e+1)%n===0,style:r}}function MR(e,t,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=__(o),d=t.length;let{start:h,end:u,loop:p}=e,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(t[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:e.style}}function P_(e,t,n){if(!n)return[e];const{property:o,start:r,end:i}=n,s=t.length,{compare:c,between:d,normalize:h}=__(o),{start:u,end:p,loop:y,style:f}=MR(e,t,n),m=[];let k=!1,g=null,x,C,w;const b=()=>d(r,w,x)&&c(r,w)!==0,L=()=>c(i,x)===0||d(i,w,x),S=()=>k||b(),v=()=>!k||L();for(let M=u,I=u;M<=p;++M)C=t[M%s],!C.skip&&(x=h(C[o]),x!==w&&(k=d(x,r,i),g===null&&S()&&(g=c(x,r)===0?M:I),g!==null&&v()&&(m.push(z_({start:g,end:M,loop:y,count:s,style:f})),g=null),I=M,w=x));return g!==null&&m.push(z_({start:g,end:p,loop:y,count:s,style:f})),m}function q_(e,t){const n=[],o=e.segments;for(let r=0;r<o.length;r++){const i=P_(o[r],e.points,t);i.length&&n.push(...i)}return n}function wR(e,t,n,o){let r=0,i=t-1;if(n&&!o)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,n&&(i+=r);i>r&&e[i%t].skip;)i--;return i%=t,{start:r,end:i}}function vR(e,t,n,o){const r=e.length,i=[];let s=t,c=e[t],d;for(d=t+1;d<=n;++d){const h=e[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:t%r,end:(d-1)%r,loop:o}),t=s=h.stop?d:null):(s=d,c.skip&&(t=d)),c=h}return s!==null&&i.push({start:t%r,end:s%r,loop:o}),i}function CR(e,t){const n=e.points,o=e.options.spanGaps,r=n.length;if(!r)return[];const i=!!e._loop,{start:s,end:c}=wR(n,r,i,o);if(o===!0)return D_(e,[{start:s,end:c,loop:i}],n,t);const d=c<s?c+r:c,h=!!e._fullLoop&&s===0&&c===r-1;return D_(e,vR(n,s,d,h),n,t)}function D_(e,t,n,o){return!o||!o.setContext||!n?t:LR(e,t,n,o)}function LR(e,t,n,o){const r=e._chart.getContext(),i=E_(e.options),{_datasetIndex:s,options:{spanGaps:c}}=e,d=n.length,h=[];let u=i,p=t[0].start,y=p;function f(m,k,g,x){const C=c?-1:1;if(m!==k){for(m+=d;n[m%d].skip;)m-=C;for(;n[k%d].skip;)k+=C;m%d!==k%d&&(h.push({start:m%d,end:k%d,loop:g,style:x}),u=x,p=k%d)}}for(const m of t){p=c?p:m.start;let k=n[p%d],g;for(y=p+1;y<=m.end;y++){const x=n[y%d];g=E_(o.setContext(ss(r,{type:"segment",p0:k,p1:x,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),SR(g,u)&&f(p,y-1,m.loop,u),k=x,u=g}p<y-1&&f(p,y-1,m.loop,u)}return h}function E_(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function SR(e,t){if(!t)return!1;const n=[],o=function(r,i){return UI(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,o)!==JSON.stringify(t,o)}function oS(e,t,n){return e.options.clip?e[n]:t[n]}function IR(e,t){const{xScale:n,yScale:o}=e;return n&&o?{left:oS(n,t,"left"),right:oS(n,t,"right"),top:oS(o,t,"top"),bottom:oS(o,t,"bottom")}:t}function T_(e,t){const n=t._clip;if(n.disabled)return!1;const o=IR(t,e.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8513
8513
|
* Chart.js v4.5.1
|
|
8514
8514
|
* https://www.chartjs.org
|
|
8515
8515
|
* (c) 2025 Chart.js Contributors
|
|
8516
8516
|
* Released under the MIT License
|
|
8517
|
-
*/class AR{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=c_.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(t),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,t,"progress")),i.length||(o.running=!1,this._notify(r,o,t,"complete"),o.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let o=n.get(t);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,o)),o}listen(t,n,o){this._getAnims(t).listeners[n].push(o)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ca=new AR;const H_="transparent",BR={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const o=p_(e||H_),r=o.valid&&p_(t||H_);return r&&r.valid?r.mix(o,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class VR{constructor(t,n,o,r){const i=n[o];r=eS([t.to,r,i,t.from]);const s=eS([t.from,i,r]);this._active=!0,this._fn=t.fn||BR[t.type||typeof s],this._easing=ql[t.easing]||ql.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(t,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=eS([t.to,n,r,t.from]),this._from=eS([t.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,o)=>{t.push({res:n,rej:o})})}_notify(t){const n=t?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class O_{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Me(t))return;const n=Object.keys(Fe.animation),o=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!Me(i))return;const s={};for(const c of n)s[c]=i[c];(Ue(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(t,n){const o=n.options,r=zR(t,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&_R(t.options.$animations,o).then(()=>{t.options=o},()=>{}),i}_createAnimations(t,n){const o=this._properties,r=[],i=t.$animations||(t.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(t,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){t[h]=u;continue}i[h]=p=new VR(y,t,h,u),r.push(p)}return r}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const o=this._createAnimations(t,n);if(o.length)return ca.add(this._chart,o),!0}}function _R(e,t){const n=[],o=Object.keys(t);for(let r=0;r<o.length;r++){const i=e[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function zR(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function j_(e,t){const n=e&&e.options||{},o=n.reverse,r=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:o?i:r,end:o?r:i}}function PR(e,t,n){if(n===!1)return!1;const o=j_(e,n),r=j_(t,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function qR(e){let t,n,o,r;return Me(e)?(t=e.top,n=e.right,o=e.bottom,r=e.left):t=n=o=r=e,{top:t,right:n,bottom:o,left:r,disabled:e===!1}}function F_(e,t){const n=[],o=e._getSortedDatasetMetas(t);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function R_(e,t,n,o={}){const r=e.keys,i=o.mode==="single";let s,c,d,h;if(t===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=e.values[d],Ke(h)&&(i||t===0||Gt(t)===Gt(h))&&(t+=h)}return!u&&!o.all?0:t}function DR(e,t){const{iScale:n,vScale:o}=t,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(e),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:e[u]};return c}function aA(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function ER(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function TR(e){const{min:t,max:n,minDefined:o,maxDefined:r}=e.getUserBounds();return{min:o?t:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function HR(e,t,n){const o=e[t]||(e[t]={});return o[n]||(o[n]={})}function N_(e,t,n,o){for(const r of t.getMatchingVisibleMetas(o).reverse()){const i=e[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function U_(e,t){const{chart:n,_cachedMeta:o}=e,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=ER(i,s,o),p=t.length;let y;for(let f=0;f<p;++f){const m=t[f],{[d]:k,[h]:g}=m,x=m._stacks||(m._stacks={});y=x[h]=HR(r,u,k),y[c]=g,y._top=N_(y,s,!0,o.type),y._bottom=N_(y,s,!1,o.type);const C=y._visualValues||(y._visualValues={});C[c]=g}}function nA(e,t){const n=e.scales;return Object.keys(n).filter(o=>n[o].axis===t).shift()}function OR(e,t){return ss(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function jR(e,t,n){return ss(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Hl(e,t){const n=e.controller.index,o=e.vScale&&e.vScale.axis;if(o){t=t||e._parsed;for(const r of t){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const oA=e=>e==="reset"||e==="none",$_=(e,t)=>t?e:Object.assign({},e),FR=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:F_(n,!0),values:null};class hs{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=aA(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Hl(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,m)=>p==="x"?y:p==="r"?m:f,i=n.xAxisID=ge(o.xAxisID,nA(t,"x")),s=n.yAxisID=ge(o.yAxisID,nA(t,"y")),c=n.rAxisID=ge(o.rAxisID,nA(t,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&s_(this._data,this),t._stacked&&Hl(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),o=this._data;if(Me(n)){const r=this._cachedMeta;this._data=DR(n,r)}else if(o!==n){if(o){s_(o,this);const r=this._cachedMeta;Hl(r),r._parsed=[]}n&&Object.isExtensible(n)&&vF(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=aA(n.vScale,n),n.stack!==o.stack&&(r=!0,Hl(n),n.stack=o.stack),this._resyncElements(t),(r||i!==n._stacked)&&(U_(this,n._parsed),n._stacked=aA(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),o=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=t===0&&n===r.length?!0:o._sorted,h=t>0&&o._parsed[t-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{Ue(r[t])?y=this.parseArrayData(o,r,t,n):Me(r[t])?y=this.parseObjectData(o,r,t,n):y=this.parsePrimitiveData(o,r,t,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+t]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&U_(this,y)}parsePrimitiveData(t,n,o,r){const{iScale:i,vScale:s}=t,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,m;for(y=0,f=r;y<f;++y)m=y+o,p[y]={[c]:u||i.parse(h[m],m),[d]:s.parse(n[m],m)};return p}parseArrayData(t,n,o,r){const{xScale:i,yScale:s}=t,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(t,n,o,r){const{xScale:i,yScale:s}=t,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(as(f,c),y),y:s.parse(as(f,d),y)};return h}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,o){const r=this.chart,i=this._cachedMeta,s=n[t.axis],c={keys:F_(r,!0),values:n._stacks[t.axis]._visualValues};return R_(c,s,i.index,{mode:o})}updateRangeFromParsed(t,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=R_(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&t===o.iScale,s=r.length,c=this._getOtherScale(t),d=FR(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=TR(c);let y,f;function m(){f=r[y];const k=f[c.axis];return!Ke(f[t.axis])||u>k||p<k}for(y=0;y<s&&!(!m()&&(this.updateRangeFromParsed(h,t,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!m()){this.updateRangeFromParsed(h,t,f,d);break}}return h}getAllParsedValues(t){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][t.axis],Ke(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(t);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=qR(ge(this.options.clip,PR(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(t,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(t,i))}for(u=0;u<s.length;++u)s[u].draw(t,i)}getStyle(t,n){const o=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(t||0,o)}getContext(t,n,o){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];i=s.$context||(s.$context=jR(this.getContext(),t,s)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=OR(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=t+"-"+n,c=i[s],d=this.enableOptionSharing&&Vl(o);if(c)return $_(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,t),p=r?[`${t}Hover`,"hover",t,""]:[t,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Fe.elements[t]),m=()=>this.getContext(o,r,n),k=h.resolveNamedOptions(y,f,m,p);return k.$shared&&(k.$shared=d,i[s]=Object.freeze($_(k,d))),k}_resolveAnimations(t,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(t,o,n))}const h=new O_(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||oA(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const o=this.resolveDataElementOptions(t,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(t,n,o,r){oA(r)?Object.assign(t,o):this._resolveAnimations(n,r).update(t,o)}updateSharedOptions(t,n,o){t&&!oA(n)&&this._resolveAnimations(void 0,n).update(t,o)}_setStyle(t,n,o,r){t.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,o){this._setStyle(t,o,"active",!1)}setHoverStyle(t,n,o){this._setStyle(t,o,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,n,o=!0){const r=this._cachedMeta,i=r.data,s=t+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=t;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(t,n),o&&this.updateElements(i,t,n,"reset")}updateElements(t,n,o,r){}_removeElements(t,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(t,n);o._stacked&&Hl(o,r)}o.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,o,r]=t;this[n](o,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",t,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}le(hs,"defaults",{}),le(hs,"datasetElementType",null),le(hs,"dataElementType",null);function RR(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(e));e._cache.$bar=l_(o.sort((r,i)=>r-i))}return e._cache.$bar}function NR(e){const t=e.iScale,n=RR(t,e.type);let o=t._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(Vl(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=t.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=t.ticks.length;r<i;++r)s=t.getPixelForTick(r),d();return o}function UR(e,t,n,o){const r=n.barThickness;let i,s;return Se(r)?(i=t.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:t.pixels[e]-i/2}}function $R(e,t,n,o){const r=t.pixels,i=r[e];let s=e>0?r[e-1]:null,c=e<r.length-1?r[e+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?t.end-t.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function WR(e,t,n,o){const r=n.parse(e[0],o),i=n.parse(e[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),t[n.axis]=h,t._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function W_(e,t,n,o){return Ue(e)?WR(e,t,n,o):t[n.axis]=n.parse(e,o),t}function G_(e,t,n,o){const r=e.iScale,i=e.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=t[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(W_(y,p,i,h));return d}function rA(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function GR(e,t,n){return e!==0?Gt(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function XR(e){let t,n,o,r,i;return e.horizontal?(t=e.base>e.x,n="left",o="right"):(t=e.base<e.y,n="bottom",o="top"),t?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:t,top:r,bottom:i}}function KR(e,t,n,o){let r=t.borderSkipped;const i={};if(!r){e.borderSkipped=i;return}if(r===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=XR(e);r==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[X_(u,s,c,d)]=!0,r=h)),i[X_(r,s,c,d)]=!0,e.borderSkipped=i}function X_(e,t,n,o){return o?(e=ZR(e,t,n),e=K_(e,n,t)):e=K_(e,t,n),e}function ZR(e,t,n){return e===t?n:e===n?t:e}function K_(e,t,n){return e==="start"?t:e==="end"?n:e}function YR(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class rS extends hs{parsePrimitiveData(t,n,o,r){return G_(t,n,o,r)}parseArrayData(t,n,o,r){return G_(t,n,o,r)}parseObjectData(t,n,o,r){const{iScale:i,vScale:s}=t,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,m,k;for(y=o,f=o+r;y<f;++y)k=n[y],m={},m[i.axis]=i.parse(as(k,h),y),p.push(W_(as(k,u),m,s,y));return p}updateRangeFromParsed(t,n,o,r){super.updateRangeFromParsed(t,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(t),s=i._custom,c=rA(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const m=this.getParsed(f),k=i||Se(m[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),x=(m._stacks||{})[c.axis],C={horizontal:h,base:k.base,enableBorderRadius:!x||rA(m._custom)||s===x._top||s===x._bottom,x:h?k.head:g.center,y:h?g.center:k.head,height:h?g.size:Math.abs(k.size),width:h?Math.abs(k.size):g.size};y&&(C.options=p||this.resolveDataElementOptions(f,t[f].active?"active":r));const w=C.options||t[f].options;KR(C,w,x,s),YR(C,w,u.ratio),this.updateElement(t[f],f,C,r)}}_getStacks(t,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Se(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(t).filter(o=>t[o].axis===n).shift()}_getAxis(){const t={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)t[ge(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(t)}_getStackIndex(t,n,o){const r=this._getStacks(t,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=t.barThickness;return{min:c||NR(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:t.grouped,ratio:c?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(t),h=d._custom,u=rA(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,m,k;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&Gt(p)!==Gt(h.barEnd)&&(y=0),y+=p);const g=!Se(i)&&!u?i:y;let x=n.getPixelForValue(g);if(this.chart.getDataVisibility(t)?m=n.getPixelForValue(y+f):m=x,k=m-x,Math.abs(k)<s){k=GR(k,n,c)*s,p===c&&(x-=k/2);const C=n.getPixelForDecimal(0),w=n.getPixelForDecimal(1),b=Math.min(C,w),L=Math.max(C,w);x=Math.max(Math.min(x,L),b),m=x+k,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(m)-n.getValueForPixel(x))}if(x===n.getPixelForValue(c)){const C=Gt(k)*n.getLineWidthForValue(c)/2;x+=C,k-=C}return{size:k,base:x,head:m,center:m+k/2}}_calculateBarIndexPixels(t,n){const o=n.scale,r=this.options,i=r.skipNull,s=ge(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(t):n.stackCount,p=r.barThickness==="flex"?$R(t,n,r,u*h):UR(t,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(ge(y,this.getFirstScaleIdForIndexAxis())),m=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+f;c=p.start+p.chunk*m+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(t)[o.axis],t),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const t=this._cachedMeta,n=t.vScale,o=t.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}le(rS,"id","bar"),le(rS,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),le(rS,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function JR(e,t,n){let o=1,r=1,i=0,s=0;if(t<Te){const c=e,d=c+t,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(w,b,L)=>Pl(w,c,d,!0)?1:Math.max(b,b*n,L,L*n),m=(w,b,L)=>Pl(w,c,d,!0)?-1:Math.min(b,b*n,L,L*n),k=f(0,h,p),g=f(We,u,y),x=m(Ae,h,p),C=m(Ae+We,u,y);o=(k-x)/2,r=(g-C)/2,i=-(k+x)/2,s=-(g+C)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class Hs extends hs{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(Me(o[t])){const{key:d="value"}=this._parsing;i=h=>+as(o[h],d)}let s,c;for(s=t,c=t+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return sa(this.options.rotation-90)}_getCircumference(){return sa(this.options.circumference)}_getRotationExtents(){let t=Te,n=-Te;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();t=Math.min(t,i),n=Math.max(n,i+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(iF(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:m,offsetY:k}=JR(p,u,d),g=(o.width-s)/y,x=(o.height-s)/f,C=Math.max(Math.min(g,x)/2,0),w=YV(this.options.radius,C),b=Math.max(w*d,0),L=(w-b)/this._getVisibleDatasetWeightTotal();this.offsetX=m*w,this.offsetY=k*w,r.total=this.calculateTotal(),this.outerRadius=w-L*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-L*h,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(t)||r._parsed[t]===null||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/Te)}updateElements(t,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,m=y?0:this.outerRadius,{sharedOptions:k,includeOptions:g}=this._getSharedOptions(n,r);let x=this._getRotation(),C;for(C=0;C<n;++C)x+=this._circumference(C,i);for(C=n;C<n+o;++C){const w=this._circumference(C,i),b=t[C],L={x:u+this.offsetX,y:p+this.offsetY,startAngle:x,endAngle:x+w,circumference:w,outerRadius:m,innerRadius:f};g&&(L.options=k||this.resolveDataElementOptions(C,b.active?"active":r)),x+=w,this.updateElement(b,C,L,r)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let o=0,r;for(r=0;r<n.length;r++){const i=t._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?Te*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=WI(n._parsed[t],o.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const o=this.chart;let r,i,s,c,d;if(!t){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),t=s.data,c=s.controller;break}}if(!t)return 0;for(r=0,i=t.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let o=0,r=t.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let o=0;o<t;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(t){return Math.max(ge(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}le(Hs,"id","doughnut"),le(Hs,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),le(Hs,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),le(Hs,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=t.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=t.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!t.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(t,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class iS extends hs{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=SF(n,r,s);this._drawStart=c,this._drawCount=d,IF(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},t),this.updateElements(r,c,d,t)}updateElements(t,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:m,segment:k}=this.options,g=zl(m)?m:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||i||r==="none",C=n+o,w=t.length;let b=n>0&&this.getParsed(n-1);for(let L=0;L<w;++L){const S=t[L],v=x?S:{};if(L<n||L>=C){v.skip=!0;continue}const M=this.getParsed(L),I=Se(M[f]),V=v[y]=s.getPixelForValue(M[y],L),_=v[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,M,d):M[f],L);v.skip=isNaN(V)||isNaN(_)||I,v.stop=L>0&&Math.abs(M[y]-b[y])>g,k&&(v.parsed=M,v.raw=h.data[L]),p&&(v.options=u||this.resolveDataElementOptions(L,S.active?"active":r)),x||this.updateElement(S,L,v,r),b=M}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,o=n.options&&n.options.borderWidth||0,r=t.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}le(iS,"id","line"),le(iS,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),le(iS,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class iA extends Hs{}le(iA,"id","pie"),le(iA,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function us(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class sA{constructor(t){le(this,"options");this.options=t||{}}static override(t){Object.assign(sA.prototype,t)}init(){}formats(){return us()}parse(){return us()}format(){return us()}add(){return us()}diff(){return us()}startOf(){return us()}endOf(){return us()}}var QR={_date:sA};function eN(e,t,n,o){const{controller:r,data:i,_sorted:s}=e,c=r._cachedMeta.iScale,d=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(c&&t===c.axis&&t!=="r"&&s&&i.length){const h=c._reversePixels?MF:os;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(t);if(p){const y=h(i,t,n-p),f=h(i,t,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,t,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=e,f=y.slice(0,u.lo+1).reverse().findIndex(k=>!Se(k[p.axis]));u.lo-=Math.max(0,f);const m=y.slice(u.hi).findIndex(k=>!Se(k[p.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:i.length-1}}function sS(e,t,n,o,r){const i=e.getSortedVisibleDatasetMetas(),s=n[t];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=eN(i[c],t,s,r);for(let f=p;f<=y;++f){const m=u[f];m.skip||o(m,h,f)}}}function tN(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(o,r){const i=t?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function lA(e,t,n,o,r){const i=[];return!r&&!e.isPointInArea(t)||sS(e,n,t,function(c,d,h){!r&&!El(c,e.chartArea,0)||c.inRange(t.x,t.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function aN(e,t,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=r_(s,{x:t.x,y:t.y});Pl(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return sS(e,n,t,i),r}function nN(e,t,n,o,r,i){let s=[];const c=tN(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(t.x,t.y,r);if(o&&!f)return;const m=u.getCenterPoint(r);if(!(!!i||e.isPointInArea(m))&&!f)return;const g=c(t,m);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return sS(e,n,t,h),s}function cA(e,t,n,o,r,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!o?aN(e,t,n,r):nN(e,t,n,o,r,i)}function Z_(e,t,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return sS(e,n,t,(d,h,u)=>{d[s]&&d[s](t[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(t.x,t.y,r))}),o&&!c?[]:i}var oN={modes:{index(e,t,n,o){const r=cs(t,e),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?lA(e,r,i,o,s):cA(e,r,i,!1,o,s),d=[];return c.length?(e.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?lA(e,r,i,o,s):cA(e,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=e.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return lA(e,r,i,o,s)},nearest(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return cA(e,r,i,n.intersect,o,s)},x(e,t,n,o){const r=cs(t,e);return Z_(e,r,"x",n.intersect,o)},y(e,t,n,o){const r=cs(t,e);return Z_(e,r,"y",n.intersect,o)}}};const Y_=["left","top","right","bottom"];function Ol(e,t){return e.filter(n=>n.pos===t)}function J_(e,t){return e.filter(n=>Y_.indexOf(n.pos)===-1&&n.box.axis===t)}function jl(e,t){return e.sort((n,o)=>{const r=t?o:n,i=t?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function rN(e){const t=[];let n,o,r,i,s,c;for(n=0,o=(e||[]).length;n<o;++n)r=e[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,t.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return t}function iN(e){const t={};for(const n of e){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!Y_.includes(r))continue;const s=t[o]||(t[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return t}function sN(e,t){const n=iN(e),{vBoxMaxWidth:o,hBoxMaxHeight:r}=t;let i,s,c;for(i=0,s=e.length;i<s;++i){c=e[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&t.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&t.availableHeight)}return n}function lN(e){const t=rN(e),n=jl(t.filter(h=>h.box.fullSize),!0),o=jl(Ol(t,"left"),!0),r=jl(Ol(t,"right")),i=jl(Ol(t,"top"),!0),s=jl(Ol(t,"bottom")),c=J_(t,"x"),d=J_(t,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:Ol(t,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function Q_(e,t,n,o){return Math.max(e[n],t[n])+Math.max(e[o],t[o])}function ez(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function cN(e,t,n,o){const{pos:r,box:i}=n,s=e.maxPadding;if(!Me(r)){n.size&&(e[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,e[r]+=n.size}i.getPadding&&ez(s,i.getPadding());const c=Math.max(0,t.outerWidth-Q_(s,e,"left","right")),d=Math.max(0,t.outerHeight-Q_(s,e,"top","bottom")),h=c!==e.w,u=d!==e.h;return e.w=c,e.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function dN(e){const t=e.maxPadding;function n(o){const r=Math.max(t[o]-e[o],0);return e[o]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function hN(e,t){const n=t.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(t[s],n[s])}),i}return o(e?["left","right"]:["top","bottom"])}function Fl(e,t,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=e.length,h=0;i<s;++i){c=e[i],d=c.box,d.update(c.width||t.w,c.height||t.h,hN(c.horizontal,t));const{same:p,other:y}=cN(t,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&Fl(r,t,n,o)||u}function lS(e,t,n,o,r){e.top=n,e.left=t,e.right=t+o,e.bottom=n+r,e.width=o,e.height=r}function tz(e,t,n,o){const r=n.padding;let{x:i,y:s}=t;for(const c of e){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=t.w*u,y=h.size||d.height;Vl(h.start)&&(s=h.start),d.fullSize?lS(d,r.left,s,n.outerWidth-r.right-r.left,y):lS(d,t.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=t.h*u,y=h.size||d.width;Vl(h.start)&&(i=h.start),d.fullSize?lS(d,i,r.top,y,n.outerHeight-r.bottom-r.top):lS(d,i,t.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}t.x=i,t.y=s}var gt={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,o){if(!e)return;const r=kt(e.options.layout.padding),i=Math.max(t-r.width,0),s=Math.max(n-r.height,0),c=lN(e.boxes),d=c.vertical,h=c.horizontal;Ie(e.boxes,k=>{typeof k.beforeLayout=="function"&&k.beforeLayout()});const u=d.reduce((k,g)=>g.box.options&&g.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);ez(y,kt(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),m=sN(d.concat(h),p);Fl(c.fullSize,f,p,m),Fl(d,f,p,m),Fl(h,f,p,m)&&Fl(d,f,p,m),dN(f),tz(c.leftAndTop,f,p,m),f.x+=f.w,f.y+=f.h,tz(c.rightAndBottom,f,p,m),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Ie(c.chartArea,k=>{const g=k.box;Object.assign(g,e.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class az{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,o){}removeEventListener(t,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,o,r){return n=Math.max(0,n||t.width),o=o||t.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(t){return!0}updateConfig(t){}}class uN extends az{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const cS="$chartjs",pN={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},nz=e=>e===null||e==="";function yN(e,t){const n=e.style,o=e.getAttribute("height"),r=e.getAttribute("width");if(e[cS]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",nz(r)){const i=A_(e,"width");i!==void 0&&(e.width=i)}if(nz(o))if(e.style.height==="")e.height=e.width/(t||2);else{const i=A_(e,"height");i!==void 0&&(e.height=i)}return e}const oz=mR?{passive:!0}:!1;function fN(e,t,n){e&&e.addEventListener(t,n,oz)}function mN(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,oz)}function kN(e,t){const n=pN[e.type]||e.type,{x:o,y:r}=cs(e,t);return{type:n,chart:t,native:e,x:o!==void 0?o:null,y:r!==void 0?r:null}}function dS(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function gN(e,t,n){const o=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||dS(c.addedNodes,o),s=s&&!dS(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function bN(e,t,n){const o=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||dS(c.removedNodes,o),s=s&&!dS(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Rl=new Map;let rz=0;function iz(){const e=window.devicePixelRatio;e!==rz&&(rz=e,Rl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function xN(e,t){Rl.size||window.addEventListener("resize",iz),Rl.set(e,t)}function MN(e){Rl.delete(e),Rl.size||window.removeEventListener("resize",iz)}function wN(e,t,n){const o=e.canvas,r=o&&tA(o);if(!r)return;const i=d_((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),xN(e,i),s}function dA(e,t,n){n&&n.disconnect(),t==="resize"&&MN(e)}function vN(e,t,n){const o=e.canvas,r=d_(i=>{e.ctx!==null&&n(kN(i,e))},e);return fN(o,t,r),r}class CN extends az{acquireContext(t,n){const o=t&&t.getContext&&t.getContext("2d");return o&&o.canvas===t?(yN(t,n),o):null}releaseContext(t){const n=t.canvas;if(!n[cS])return!1;const o=n[cS].initial;["height","width"].forEach(i=>{const s=o[i];Se(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[cS],!0}addEventListener(t,n,o){this.removeEventListener(t,n);const r=t.$proxies||(t.$proxies={}),s={attach:gN,detach:bN,resize:wN}[n]||vN;r[n]=s(t,n,o)}removeEventListener(t,n){const o=t.$proxies||(t.$proxies={}),r=o[n];if(!r)return;({attach:dA,detach:dA,resize:dA}[n]||mN)(t,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,o,r){return fR(t,n,o,r)}isAttached(t){const n=t&&tA(t);return!!(n&&n.isConnected)}}function LN(e){return!eA()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?uN:CN}let da=(jS=class{constructor(){le(this,"x");le(this,"y");le(this,"active",!1);le(this,"options");le(this,"$animations")}tooltipPosition(t){const{x:n,y:o}=this.getProps(["x","y"],t);return{x:n,y:o}}hasValue(){return zl(this.x)&&zl(this.y)}getProps(t,n){const o=this.$animations;if(!n||!o)return this;const r={};return t.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},le(jS,"defaults",{}),le(jS,"defaultRoutes"),jS);function SN(e,t){const n=e.options.ticks,o=IN(e),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?BN(t):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return VN(t,h,i,s/r),h;const u=AN(i,t,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(hS(t,h,u,Se(f)?0:c-f,c),p=0,y=s-1;p<y;p++)hS(t,h,u,i[p],i[p+1]);return hS(t,h,u,d,Se(f)?t.length:d+f),h}return hS(t,h,u),h}function IN(e){const t=e.options.offset,n=e._tickSize(),o=e._length/n+(t?0:1),r=e._maxLength/n;return Math.floor(Math.min(o,r))}function AN(e,t,n){const o=_N(e),r=t.length/n;if(!o)return Math.max(r,1);const i=yF(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function BN(e){const t=[];let n,o;for(n=0,o=e.length;n<o;n++)e[n].major&&t.push(n);return t}function VN(e,t,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<e.length;s++)s===i&&(t.push(e[s]),r++,i=n[r*o])}function hS(e,t,n,o,r){const i=ge(o,0),s=Math.min(ge(r,e.length),e.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(t.push(e[h]),c++,u=Math.round(i+c*n))}function _N(e){const t=e.length;let n,o;if(t<2)return!1;for(o=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==o)return!1;return o}const zN=e=>e==="left"?"right":e==="right"?"left":e,sz=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,lz=(e,t)=>Math.min(t||e,e);function cz(e,t){const n=[],o=e.length/t,r=e.length;let i=0;for(;i<r;i+=o)n.push(e[Math.floor(i)]);return n}function PN(e,t,n){const o=e.ticks.length,r=Math.min(t,o-1),i=e._startPixel,s=e._endPixel,c=1e-6;let d=e.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):t===0?h=(e.getPixelForTick(1)-d)/2:h=(d-e.getPixelForTick(r-1))/2,d+=r<t?h:-h,d<i-c||d>s+c)))return d}function qN(e,t){Ie(e,n=>{const o=n.gc,r=o.length/2;let i;if(r>t){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function Nl(e){return e.drawTicks?e.tickLength:0}function dz(e,t){if(!e.display)return 0;const n=Je(e.font,t),o=kt(e.padding);return(Ue(e.text)?e.text.length:1)*n.lineHeight+o.height}function DN(e,t){return ss(e,{scale:t,type:"scale"})}function EN(e,t,n){return ss(e,{tick:n,index:t,type:"tick"})}function TN(e,t,n){let o=NI(e);return(n&&t!=="right"||!n&&t==="right")&&(o=zN(o)),o}function HN(e,t,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=e,{chartArea:h,scales:u}=d;let p=0,y,f,m;const k=s-r,g=c-i;if(e.isHorizontal()){if(f=Ye(o,i,c),Me(n)){const x=Object.keys(n)[0],C=n[x];m=u[x].getPixelForValue(C)+k-t}else n==="center"?m=(h.bottom+h.top)/2+k-t:m=sz(e,n,t);y=c-i}else{if(Me(n)){const x=Object.keys(n)[0],C=n[x];f=u[x].getPixelForValue(C)-g+t}else n==="center"?f=(h.left+h.right)/2-g+t:f=sz(e,n,t);m=Ye(o,s,r),p=n==="left"?-We:We}return{titleX:f,titleY:m,maxWidth:y,rotation:p}}class Os extends da{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return t=Wt(t,Number.POSITIVE_INFINITY),n=Wt(n,Number.NEGATIVE_INFINITY),o=Wt(o,Number.POSITIVE_INFINITY),r=Wt(r,Number.NEGATIVE_INFINITY),{min:Wt(t,o),max:Wt(n,r),minDefined:Ke(t),maxDefined:Ke(n)}}getMinMax(t){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,t),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Wt(n,Wt(o,n)),max:Wt(o,Wt(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){qe(this.options.beforeUpdate,[this])}update(t,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GF(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?cz(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=SN(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,t=!t),this._startPixel=n,this._endPixel=o,this._reversePixels=t,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){qe(this.options.afterUpdate,[this])}beforeSetDimensions(){qe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){qe(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),qe(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){qe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let o,r,i;for(o=0,r=t.length;o<r;o++)i=t[o],i.label=qe(n.callback,[i.value,o,t],this)}afterTickToLabelConversion(){qe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){qe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,o=lz(this.ticks.length,t.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ze(this.chart.width-p,0,this.maxWidth);c=t.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(t.offset?.5:1)),d=this.maxHeight-Nl(t.grid)-n.padding-dz(t.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=gF(Math.min(Math.asin(Ze((u.highest.height+6)/c,-1,1)),Math.asin(Ze(d/h,-1,1))-Math.asin(Ze(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){qe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){qe(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=dz(r,n.options.font);if(c?(t.width=this.maxWidth,t.height=Nl(i)+d):(t.height=this.maxHeight,t.width=Nl(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,m=sa(this.labelRotation),k=Math.cos(m),g=Math.sin(m);if(c){const x=o.mirror?0:g*p.width+k*y.height;t.height=Math.min(this.maxHeight,t.height+x+f)}else{const x=o.mirror?0:k*p.width+g*y.height;t.width=Math.min(this.maxWidth,t.width+x+f)}this._calculatePadding(h,u,g,k)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*t.width,f=o*n.height):(y=o*t.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=t.width:i!=="inner"&&(y=t.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=t.height/2;i==="start"?(u=0,p=t.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){qe(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,o;for(n=0,o=t.length;n<o;n++)Se(t[n].label)&&(t.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=cz(o,n)),this._labelSizes=t=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/lz(n,o));let h=0,u=0,p,y,f,m,k,g,x,C,w,b,L;for(p=0;p<n;p+=d){if(m=t[p].label,k=this._resolveTickFontOptions(p),r.font=g=k.string,x=i[g]=i[g]||{data:{},gc:[]},C=k.lineHeight,w=b=0,!Se(m)&&!Ue(m))w=m_(r,x.data,x.gc,w,m),b=C;else if(Ue(m))for(y=0,f=m.length;y<f;++y)L=m[y],!Se(L)&&!Ue(L)&&(w=m_(r,x.data,x.gc,w,L),b+=C);s.push(w),c.push(b),h=Math.max(w,h),u=Math.max(b,u)}qN(i,n);const S=s.indexOf(h),v=c.indexOf(u),M=I=>({width:s[I]||0,height:c[I]||0});return{first:M(0),last:M(n-1),widest:M(S),highest:M(v),widths:s,heights:c}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return xF(this._alignToPixels?is(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const o=n[t];return o.$context||(o.$context=EN(this.getContext(),t,o))}return this.$context||(this.$context=DN(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=sa(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=t.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=Nl(i),f=[],m=c.setContext(this.getContext()),k=m.display?m.width:0,g=k/2,x=function(H){return is(o,H,k)};let C,w,b,L,S,v,M,I,V,_,B,D;if(s==="top")C=x(this.bottom),v=this.bottom-y,I=C-g,_=x(t.top)+g,D=t.bottom;else if(s==="bottom")C=x(this.top),_=t.top,D=x(t.bottom)-g,v=C+g,I=this.top+y;else if(s==="left")C=x(this.right),S=this.right-y,M=C-g,V=x(t.left)+g,B=t.right;else if(s==="right")C=x(this.left),V=t.left,B=x(t.right)-g,S=C+g,M=this.left+y;else if(n==="x"){if(s==="center")C=x((t.top+t.bottom)/2+.5);else if(Me(s)){const H=Object.keys(s)[0],O=s[H];C=x(this.chart.scales[H].getPixelForValue(O))}_=t.top,D=t.bottom,v=C+g,I=v+y}else if(n==="y"){if(s==="center")C=x((t.left+t.right)/2);else if(Me(s)){const H=Object.keys(s)[0],O=s[H];C=x(this.chart.scales[H].getPixelForValue(O))}S=C-g,M=S-y,V=t.left,B=t.right}const z=ge(r.ticks.maxTicksLimit,p),G=Math.max(1,Math.ceil(p/z));for(w=0;w<p;w+=G){const H=this.getContext(w),O=i.setContext(H),U=c.setContext(H),J=O.lineWidth,T=O.color,R=U.dash||[],F=U.dashOffset,Y=O.tickWidth,Q=O.tickColor,re=O.tickBorderDash||[],he=O.tickBorderDashOffset;b=PN(this,w,d),b!==void 0&&(L=is(o,b,J),h?S=M=V=B=L:v=I=_=D=L,f.push({tx1:S,ty1:v,tx2:M,ty2:I,x1:V,y1:_,x2:B,y2:D,width:J,color:T,borderDash:R,borderDashOffset:F,tickWidth:Y,tickColor:Q,tickBorderDash:re,tickBorderDashOffset:he}))}return this._ticksLength=p,this._borderValue=C,f}_computeLabelItems(t){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=Nl(o.grid),f=y+u,m=p?-u:f,k=-sa(this.labelRotation),g=[];let x,C,w,b,L,S,v,M,I,V,_,B,D="middle";if(r==="top")S=this.bottom-m,v=this._getXAxisLabelAlignment();else if(r==="bottom")S=this.top+m,v=this._getXAxisLabelAlignment();else if(r==="left"){const G=this._getYAxisLabelAlignment(y);v=G.textAlign,L=G.x}else if(r==="right"){const G=this._getYAxisLabelAlignment(y);v=G.textAlign,L=G.x}else if(n==="x"){if(r==="center")S=(t.top+t.bottom)/2+f;else if(Me(r)){const G=Object.keys(r)[0],H=r[G];S=this.chart.scales[G].getPixelForValue(H)+f}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")L=(t.left+t.right)/2-f;else if(Me(r)){const G=Object.keys(r)[0],H=r[G];L=this.chart.scales[G].getPixelForValue(H)}v=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?D="top":d==="end"&&(D="bottom"));const z=this._getLabelSizes();for(x=0,C=c.length;x<C;++x){w=c[x],b=w.label;const G=i.setContext(this.getContext(x));M=this.getPixelForTick(x)+i.labelOffset,I=this._resolveTickFontOptions(x),V=I.lineHeight,_=Ue(b)?b.length:1;const H=_/2,O=G.color,U=G.textStrokeColor,J=G.textStrokeWidth;let T=v;s?(L=M,v==="inner"&&(x===C-1?T=this.options.reverse?"left":"right":x===0?T=this.options.reverse?"right":"left":T="center"),r==="top"?h==="near"||k!==0?B=-_*V+V/2:h==="center"?B=-z.highest.height/2-H*V+V:B=-z.highest.height+V/2:h==="near"||k!==0?B=V/2:h==="center"?B=z.highest.height/2-H*V:B=z.highest.height-_*V,p&&(B*=-1),k!==0&&!G.showLabelBackdrop&&(L+=V/2*Math.sin(k))):(S=M,B=(1-_)*V/2);let R;if(G.showLabelBackdrop){const F=kt(G.backdropPadding),Y=z.heights[x],Q=z.widths[x];let re=B-F.top,he=0-F.left;switch(D){case"middle":re-=Y/2;break;case"bottom":re-=Y;break}switch(v){case"center":he-=Q/2;break;case"right":he-=Q;break;case"inner":x===C-1?he-=Q:x>0&&(he-=Q/2);break}R={left:he,top:re,width:Q+F.width,height:Y+F.height,color:G.backdropColor}}g.push({label:b,font:I,textOffset:B,options:{rotation:k,color:O,strokeColor:U,strokeWidth:J,textAlign:T,textBaseline:D,translation:[L,S],backdrop:R}})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-sa(this.labelRotation))return t==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=t+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(o,r,i,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===t);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=is(t,this.left,s)-s/2,u=is(t,this.right,c)+c/2,p=y=d):(p=is(t,this.top,s)-s/2,y=is(t,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&YL(o,r);const i=this.getLabelItems(t);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;Tl(o,h,0,u,d,c)}r&&JL(o)}drawTitle(){const{ctx:t,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Je(o.font),s=kt(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||Me(n)?(d+=s.bottom,Ue(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=HN(this,d,n,c);Tl(t,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:TN(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,o=ge(t.grid&&t.grid.z,-1),r=ge(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Os.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!t||c.type===t)&&r.push(c)}return r}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Je(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class uS{constructor(t,n,o){this.type=t,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let o;FN(n)&&(o=this.register(n));const r=this.items,i=t.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,ON(t,s,o),this.override&&Fe.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,o=t.id,r=this.scope;o in n&&delete n[o],r&&o in Fe[r]&&(delete Fe[r][o],this.override&&delete rs[o])}}function ON(e,t,n){const o=Al(Object.create(null),[n?Fe.get(n):{},Fe.get(t),e.defaults]);Fe.set(t,o),e.defaultRoutes&&jN(t,e.defaultRoutes),e.descriptors&&Fe.describe(t,e.descriptors)}function jN(e,t){Object.keys(t).forEach(n=>{const o=n.split("."),r=o.pop(),i=[e].concat(o).join("."),s=t[n].split("."),c=s.pop(),d=s.join(".");Fe.route(i,r,d,c)})}function FN(e){return"id"in e&&"defaults"in e}class RN{constructor(){this.controllers=new uS(hs,"datasets",!0),this.elements=new uS(da,"elements"),this.plugins=new uS(Object,"plugins"),this.scales=new uS(Os,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(t,i,r):Ie(r,s=>{const c=o||this._getRegistryForType(s);this._exec(t,c,s)})})}_exec(t,n,o){const r=jI(t);qe(o["before"+r],[],o),n[t](o),qe(o["after"+r],[],o)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(t))return o}return this.plugins}_get(t,n,o){const r=n.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+o+".");return r}}var Xt=new RN;class NN{constructor(){this._init=void 0}notify(t,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const i=r?this._descriptors(t).filter(r):this._descriptors(t),s=this._notify(i,t,n,o);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),s}_notify(t,n,o,r){r=r||{};for(const i of t){const s=i.plugin,c=s[o],d=[n,r,i.options];if(qe(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Se(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const o=t&&t.config,r=ge(o.options&&o.options.plugins,{}),i=UN(o);return r===!1&&!n?[]:WN(t,i,r,n)}_notifyStateChanges(t){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),t,"stop"),this._notify(r(o,n),t,"start")}}function UN(e){const t={},n=[],o=Object.keys(Xt.plugins.items);for(let i=0;i<o.length;i++)n.push(Xt.getPlugin(o[i]));const r=e.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function $N(e,t){return!t&&e===!1?null:e===!0?{}:e}function WN(e,{plugins:t,localIds:n},o,r){const i=[],s=e.getContext();for(const c of t){const d=c.id,h=$N(o[d],r);h!==null&&i.push({plugin:c,options:GN(e.config,{plugin:c,local:n[d]},h,s)})}return i}function GN(e,{plugin:t,local:n},o,r){const i=e.pluginScopeKeys(t),s=e.getOptionScopes(o,i);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function hA(e,t){const n=Fe.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function XN(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function KN(e,t){return e===t?"_index_":"_value_"}function hz(e){if(e==="x"||e==="y"||e==="r")return e}function ZN(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function uA(e,...t){if(hz(e))return e;for(const n of t){const o=n.axis||ZN(n.position)||e.length>1&&hz(e[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function uz(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function YN(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(o=>o.xAxisID===e||o.yAxisID===e);if(n.length)return uz(e,"x",n[0])||uz(e,"y",n[0])}return{}}function JN(e,t){const n=rs[e.type]||{scales:{}},o=t.scales||{},r=hA(e.type,t),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!Me(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=uA(s,c,YN(s,e),Fe.scales[c.type]),h=KN(d,r),u=n.scales||{};i[s]=Bl(Object.create(null),[{axis:d},c,u[d],u[h]])}),e.data.datasets.forEach(s=>{const c=s.type||e.type,d=s.indexAxis||hA(c,t),u=(rs[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=XN(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),Bl(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];Bl(c,[Fe.scales[c.type],Fe.scale])}),i}function pz(e){const t=e.options||(e.options={});t.plugins=ge(t.plugins,{}),t.scales=JN(e,t)}function yz(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function QN(e){return e=e||{},e.data=yz(e.data),pz(e),e}const fz=new Map,mz=new Set;function pS(e,t){let n=fz.get(e);return n||(n=t(),fz.set(e,n),mz.add(n)),n}const Ul=(e,t,n)=>{const o=as(t,n);o!==void 0&&e.add(o)};class eU{constructor(t){this._config=QN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=yz(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),pz(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return pS(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return pS(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return pS(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,o=this.type;return pS(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const o=this._scopeCache;let r=o.get(t);return(!r||n)&&(r=new Map,o.set(t,r)),r}getOptionScopes(t,n,o){const{options:r,type:i}=this,s=this._cachedScopes(t,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{t&&(d.add(t),u.forEach(p=>Ul(d,t,p))),u.forEach(p=>Ul(d,r,p)),u.forEach(p=>Ul(d,rs[i]||{},p)),u.forEach(p=>Ul(d,Fe,p)),u.forEach(p=>Ul(d,GI,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),mz.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:t,type:n}=this;return[t,rs[n]||{},Fe.datasets[n]||{},{type:n},Fe,GI]}resolveNamedOptions(t,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=kz(this._resolverCache,t,r);let d=s;if(aU(s,n)){i.$shared=!1,o=Va(o)?o():o;const h=this.createResolver(t,o,c);d=Ds(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(t,n,o=[""],r){const{resolver:i}=kz(this._resolverCache,t,o);return Me(n)?Ds(i,n,void 0,r):i}}function kz(e,t,n){let o=e.get(t);o||(o=new Map,e.set(t,o));const r=n.join();let i=o.get(r);return i||(i={resolver:YI(t,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const tU=e=>Me(e)&&Object.getOwnPropertyNames(e).some(t=>Va(e[t]));function aU(e,t){const{isScriptable:n,isIndexable:o}=x_(e);for(const r of t){const i=n(r),s=o(r),c=(s||i)&&e[r];if(i&&(Va(c)||tU(c))||s&&Ue(c))return!0}return!1}var nU="4.5.1";const oU=["top","bottom","left","right","chartArea"];function gz(e,t){return e==="top"||e==="bottom"||oU.indexOf(e)===-1&&t==="x"}function bz(e,t){return function(n,o){return n[e]===o[e]?n[t]-o[t]:n[e]-o[e]}}function xz(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),qe(n&&n.onComplete,[e],t)}function rU(e){const t=e.chart,n=t.options.animation;qe(n&&n.onProgress,[e],t)}function Mz(e){return eA()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const yS={},wz=e=>{const t=Mz(e);return Object.values(yS).filter(n=>n.canvas===t).pop()};function iU(e,t,n){const o=Object.keys(e);for(const r of o){const i=+r;if(i>=t){const s=e[r];delete e[r],(n>0||i>t)&&(e[i+n]=s)}}}function sU(e,t,n,o){return!n||e.type==="mouseout"?null:o?t:e}class ha{static register(...t){Xt.add(...t),vz()}static unregister(...t){Xt.remove(...t),vz()}constructor(t,n){const o=this.config=new eU(n),r=Mz(t),i=wz(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||LN(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=rF(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new NN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=CF(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],yS[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}ca.listen(this,"complete",xz),ca.listen(this,"progress",rU),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Se(t)?n&&i?i:r?o/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Xt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():I_(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return k_(this.canvas,this.ctx),this}stop(){return ca.stop(this),this}resize(t,n){ca.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,t,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,I_(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),qe(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Ie(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const t=this.options,n=t.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=uA(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Ie(i,s=>{const c=s.options,d=c.id,h=uA(d,c),u=ge(c.type,s.dtype);(c.position===void 0||gz(c.position,h)!==gz(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Xt.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,t)}),Ie(r,(s,c)=>{s||delete o[c]}),Ie(o,s=>{gt.configure(this,s,s.options),gt.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,o=t.length;if(t.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);t.splice(n,o-n)}this._sortedMetasets=t.slice(0).sort(bz("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||hA(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Xt.getController(c),{datasetElementType:h,dataElementType:u}=Fe.datasets[c];Object.assign(d,{dataElementType:Xt.getElement(u),datasetElementType:h&&Xt.getElement(h)}),s.controller=new d(this,o),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){Ie(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Ie(i,h=>{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(bz("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Ie(this.scales,t=>{gt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(t.events);(!e_(n,o)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;iU(t,r,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(t.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!e_(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;gt.update(this,this.width,this.height,t);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Ie(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,Va(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const o=this.getDatasetMeta(t),r={meta:o,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ca.has(this)?this.attached&&!ca.running(this)&&ca.start(this):(this.draw(),xz({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!t||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,o={meta:t,index:t.index,cancelable:!0},r=T_(this,t);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&YL(n,r),t.controller.draw(),r&&JL(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return El(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,o,r){const i=oN.modes[n];return typeof i=="function"?i(this,t,o,r):[]}getDatasetMeta(t){const n=this.data.datasets[t],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=ss(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const o=this.getDatasetMeta(t);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(t,n){const o=this.getDatasetMeta(t);o.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(t),s=i.controller._resolveAnimations(void 0,r);Vl(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(t,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===t?r:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),ca.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),k_(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete yS[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),t[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Ie(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),t[d]=h},r=(d,h)=>{t[d]&&(n.removeEventListener(this,d,h),delete t[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Ie(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Ie(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=t.length;c<d;++c){s=t[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],o=t.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!GL(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(t,n,o){return this._plugins.notify(this,t,n,o)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,t),c=o?t:i(t,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(t,n){const o={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},r=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(t,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(t,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(t,r,o,s),d=hF(t),h=sU(t,this._lastEvent,o,d);o&&(this._lastEvent=null,qe(i.onHover,[t,c,this],this),d&&qe(i.onClick,[t,c,this],this));const u=!GL(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(t,n,o,r){if(t.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}le(ha,"defaults",Fe),le(ha,"instances",yS),le(ha,"overrides",rs),le(ha,"registry",Xt),le(ha,"version",nU),le(ha,"getChart",wz);function vz(){return Ie(ha.instances,e=>e._plugins.invalidate())}function lU(e,t,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=t,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,dt(o-n));if(e.beginPath(),e.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,dt(o-n));e.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*dt(o-n));if(u==="round")e.arc(r,i,y,n-Ae/2,o+Ae/2,!0);else if(u==="bevel"){const f=2*y*y,m=-f*Math.cos(n+Ae/2)+r,k=-f*Math.sin(n+Ae/2)+i,g=f*Math.cos(o+Ae/2)+r,x=f*Math.sin(o+Ae/2)+i;e.lineTo(m,k),e.lineTo(g,x)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function cU(e,t,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=t;let h=r/c;e.beginPath(),e.arc(i,s,c,o-h,n+h),d>r?(h=r/d,e.arc(i,s,d,n+h,o-h,!0)):e.arc(i,s,r,n+We,o-We),e.closePath(),e.clip()}function dU(e){return ZI(e,["outerStart","outerEnd","innerStart","innerEnd"])}function hU(e,t,n,o){const r=dU(e.options.borderRadius),i=(n-t)/2,s=Math.min(i,o*t/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ze(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ze(r.innerStart,0,s),innerEnd:Ze(r.innerEnd,0,s)}}function js(e,t,n,o){return{x:n+e*Math.cos(t),y:o+e*Math.sin(t)}}function fS(e,t,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=t,p=Math.max(t.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const m=r-d;if(o){const G=u>0?u-o:0,H=p>0?p-o:0,O=(G+H)/2,U=O!==0?m*O/(O+o):m;f=(m-U)/2}const k=Math.max(.001,m*p-n/Ae)/p,g=(m-k)/2,x=d+g+f,C=r-g-f,{outerStart:w,outerEnd:b,innerStart:L,innerEnd:S}=hU(t,y,p,C-x),v=p-w,M=p-b,I=x+w/v,V=C-b/M,_=y+L,B=y+S,D=x+L/_,z=C-S/B;if(e.beginPath(),i){const G=(I+V)/2;if(e.arc(s,c,p,I,G),e.arc(s,c,p,G,V),b>0){const J=js(M,V,s,c);e.arc(J.x,J.y,b,V,C+We)}const H=js(B,C,s,c);if(e.lineTo(H.x,H.y),S>0){const J=js(B,z,s,c);e.arc(J.x,J.y,S,C+We,z+Math.PI)}const O=(C-S/y+(x+L/y))/2;if(e.arc(s,c,y,C-S/y,O,!0),e.arc(s,c,y,O,x+L/y,!0),L>0){const J=js(_,D,s,c);e.arc(J.x,J.y,L,D+Math.PI,x-We)}const U=js(v,x,s,c);if(e.lineTo(U.x,U.y),w>0){const J=js(v,I,s,c);e.arc(J.x,J.y,w,x-We,I)}}else{e.moveTo(s,c);const G=Math.cos(I)*p+s,H=Math.sin(I)*p+c;e.lineTo(G,H);const O=Math.cos(V)*p+s,U=Math.sin(V)*p+c;e.lineTo(O,U)}e.closePath()}function uU(e,t,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=t;let d=t.endAngle;if(i){fS(e,t,n,o,d,r);for(let h=0;h<i;++h)e.fill();isNaN(c)||(d=s+(c%Te||Te))}return fS(e,t,n,o,d,r),e.fill(),d}function pU(e,t,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=t,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,m=d.borderAlign==="inner";if(!h)return;e.setLineDash(p||[]),e.lineDashOffset=y,m?(e.lineWidth=h*2,e.lineJoin=u||"round"):(e.lineWidth=h,e.lineJoin=u||"bevel");let k=t.endAngle;if(i){fS(e,t,n,o,k,r);for(let g=0;g<i;++g)e.stroke();isNaN(c)||(k=s+(c%Te||Te))}m&&cU(e,t,k),d.selfJoin&&k-s>=Ae&&f===0&&u!=="miter"&&lU(e,t,k),i||(fS(e,t,n,o,k,r),e.stroke())}class $l extends da{constructor(n){super();le(this,"circumference");le(this,"endAngle");le(this,"fullCircles");le(this,"innerRadius");le(this,"outerRadius");le(this,"pixelMargin");le(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=r_(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,m=ge(y,h-d),k=Pl(s,d,h)&&d!==h,g=m>=Te||k,x=la(c,u+f,p+f);return g&&x}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>Te?Math.floor(r/Te):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Ae,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,uU(n,this,u,s,c),pU(n,this,u,s,c),n.restore()}}le($l,"id","arc"),le($l,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),le($l,"defaultRoutes",{backgroundColor:"backgroundColor"}),le($l,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Cz(e,t,n=t){e.lineCap=ge(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ge(n.borderDash,t.borderDash)),e.lineDashOffset=ge(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ge(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ge(n.borderWidth,t.borderWidth),e.strokeStyle=ge(n.borderColor,t.borderColor)}function yU(e,t,n){e.lineTo(n.x,n.y)}function fU(e){return e.stepped?HF:e.tension||e.cubicInterpolationMode==="monotone"?OF:yU}function Lz(e,t,n={}){const o=e.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=t,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:t.loop,ilen:h<d&&!u?o+h-d:h-d}}function mU(e,t,n,o){const{points:r,options:i}=t,{count:s,start:c,loop:d,ilen:h}=Lz(r,n,o),u=fU(i);let{move:p=!0,reverse:y}=o||{},f,m,k;for(f=0;f<=h;++f)m=r[(c+(y?h-f:f))%s],!m.skip&&(p?(e.moveTo(m.x,m.y),p=!1):u(e,k,m,y,i.stepped),k=m);return d&&(m=r[(c+(y?h:0))%s],u(e,k,m,y,i.stepped)),!!d}function kU(e,t,n,o){const r=t.points,{count:i,start:s,ilen:c}=Lz(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,m,k,g,x;const C=b=>(s+(h?c-b:b))%i,w=()=>{k!==g&&(e.lineTo(u,g),e.lineTo(u,k),e.lineTo(u,x))};for(d&&(f=r[C(0)],e.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[C(y)],f.skip)continue;const b=f.x,L=f.y,S=b|0;S===m?(L<k?k=L:L>g&&(g=L),u=(p*u+b)/++p):(w(),e.lineTo(b,L),m=S,p=0,k=g=L),x=L}w()}function pA(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?kU:mU}function gU(e){return e.stepped?kR:e.tension||e.cubicInterpolationMode==="monotone"?gR:ds}function bU(e,t,n,o){let r=t._path;r||(r=t._path=new Path2D,t.path(r,n,o)&&r.closePath()),Cz(e,t.options),e.stroke(r)}function xU(e,t,n,o){const{segments:r,options:i}=t,s=pA(t);for(const c of r)Cz(e,i,c.style),e.beginPath(),s(e,t,c,{start:n,end:n+o-1})&&e.closePath(),e.stroke()}const MU=typeof Path2D=="function";function wU(e,t,n,o){MU&&!t.options.segment?bU(e,t,n,o):xU(e,t,n,o)}class za extends da{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;cR(this._points,o,t,r,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=CR(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,o=t.length;return o&&n[t[o-1].end]}interpolate(t,n){const o=this.options,r=t[n],i=this.points,s=q_(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=gU(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],m=i[y];if(f===m){c.push(f);continue}const k=Math.abs((r-f[n])/(m[n]-f[n])),g=d(f,m,k,o.stepped);g[n]=t[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(t,n,o){return pA(this)(t,this,n,o)}path(t,n,o){const r=this.segments,i=pA(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(t,this,c,{start:n,end:n+o-1});return!!s}draw(t,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),wU(t,this,o,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}le(za,"id","line"),le(za,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),le(za,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),le(za,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function Sz(e,t,n,o){const r=e.options,{[n]:i}=e.getProps([n],o);return Math.abs(t-i)<r.radius+r.hitRadius}class mS extends da{constructor(n){super();le(this,"parsed");le(this,"skip");le(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return Sz(this,n,"x",o)}inYRange(n,o){return Sz(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!El(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,KI(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}le(mS,"id","point"),le(mS,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),le(mS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Iz(e,t){const{x:n,y:o,base:r,width:i,height:s}=e.getProps(["x","y","base","width","height"],t);let c,d,h,u,p;return e.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Pa(e,t,n,o){return e?0:Ze(t,n,o)}function vU(e,t,n){const o=e.options.borderWidth,r=e.borderSkipped,i=b_(o);return{t:Pa(r.top,i.top,0,n),r:Pa(r.right,i.right,0,t),b:Pa(r.bottom,i.bottom,0,n),l:Pa(r.left,i.left,0,t)}}function CU(e,t,n){const{enableBorderRadius:o}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,i=qs(r),s=Math.min(t,n),c=e.borderSkipped,d=o||Me(r);return{topLeft:Pa(!d||c.top||c.left,i.topLeft,0,s),topRight:Pa(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Pa(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Pa(!d||c.bottom||c.right,i.bottomRight,0,s)}}function LU(e){const t=Iz(e),n=t.right-t.left,o=t.bottom-t.top,r=vU(e,n/2,o/2),i=CU(e,n/2,o/2);return{outer:{x:t.left,y:t.top,w:n,h:o,radius:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function yA(e,t,n,o){const r=t===null,i=n===null,c=e&&!(r&&i)&&Iz(e,o);return c&&(r||la(t,c.left,c.right))&&(i||la(n,c.top,c.bottom))}function SU(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function IU(e,t){e.rect(t.x,t.y,t.w,t.h)}function fA(e,t,n={}){const o=e.x!==n.x?-t:0,r=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-o,s=(e.y+e.h!==n.y+n.h?t:0)-r;return{x:e.x+o,y:e.y+r,w:e.w+i,h:e.h+s,radius:e.radius}}class kS extends da{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=LU(this),c=SU(s.radius)?QL:IU;t.save(),(s.w!==i.w||s.h!==i.h)&&(t.beginPath(),c(t,fA(s,n,i)),t.clip(),c(t,fA(i,-n,s)),t.fillStyle=o,t.fill("evenodd")),t.beginPath(),c(t,fA(i,n)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,n,o){return yA(this,t,n,o)}inXRange(t,n){return yA(this,t,null,n)}inYRange(t,n){return yA(this,null,t,n)}getCenterPoint(t){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}le(kS,"id","bar"),le(kS,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),le(kS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function AU(e,t,n){const o=e.segments,r=e.points,i=t.points,s=[];for(const c of o){let{start:d,end:h}=c;h=gS(d,h,r);const u=mA(n,r[d],r[h],c.loop);if(!t.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=q_(t,u);for(const y of p){const f=mA(n,i[y.start],i[y.end],y.loop),m=P_(c,r,f);for(const k of m)s.push({source:k,target:y,start:{[n]:Az(u,f,"start",Math.max)},end:{[n]:Az(u,f,"end",Math.min)}})}}return s}function mA(e,t,n,o){if(o)return;let r=t[e],i=n[e];return e==="angle"&&(r=dt(r),i=dt(i)),{property:e,start:r,end:i}}function BU(e,t){const{x:n=null,y:o=null}=e||{},r=t.points,i=[];return t.segments.forEach(({start:s,end:c})=>{c=gS(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function gS(e,t,n){for(;t>e;t--){const o=n[t];if(!isNaN(o.x)&&!isNaN(o.y))break}return t}function Az(e,t,n,o){return e&&t?o(e[n],t[n]):e?e[n]:t?t[n]:0}function Bz(e,t){let n=[],o=!1;return Ue(e)?(o=!0,n=e):n=BU(e,t),n.length?new za({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function Vz(e){return e&&e.fill!==!1}function VU(e,t,n){let r=e[t].fill;const i=[t];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Ke(r))return r;if(s=e[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function _U(e,t,n){const o=DU(e);if(Me(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return Ke(r)&&Math.floor(r)===r?zU(o[0],t,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function zU(e,t,n,o){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=o?!1:n}function PU(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Me(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function qU(e,t,n){let o;return e==="start"?o=n:e==="end"?o=t.options.reverse?t.min:t.max:Me(e)?o=e.value:o=t.getBaseValue(),o}function DU(e){const t=e.options,n=t.fill;let o=ge(n&&n.target,n);return o===void 0&&(o=!!t.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function EU(e){const{scale:t,index:n,line:o}=e,r=[],i=o.segments,s=o.points,c=TU(t,n);c.push(Bz({x:null,y:t.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)HU(r,s[u],c)}return new za({points:r,options:{}})}function TU(e,t){const n=[],o=e.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function HU(e,t,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=OU(i,t,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(e.push(d),!c)break}}e.push(...o)}function OU(e,t,n){const o=e.interpolate(t,n);if(!o)return{};const r=o[n],i=e.segments,s=e.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(la(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class _z{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:Te},t.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(t){const{x:n,y:o,radius:r}=this,i=t.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function jU(e){const{chart:t,fill:n,line:o}=e;if(Ke(n))return FU(t,n);if(n==="stack")return EU(e);if(n==="shape")return!0;const r=RU(e);return r instanceof _z?r:Bz(r,o)}function FU(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function RU(e){return(e.scale||{}).getPointPositionForValue?UU(e):NU(e)}function NU(e){const{scale:t={},fill:n}=e,o=PU(n,t);if(Ke(o)){const r=t.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function UU(e){const{scale:t,fill:n}=e,o=t.options,r=t.getLabels().length,i=o.reverse?t.max:t.min,s=qU(n,t,i),c=[];if(o.grid.circular){const d=t.getPointPositionForValue(0,i);return new _z({x:d.x,y:d.y,radius:t.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(t.getPointPositionForValue(d,s));return c}function kA(e,t,n){const o=jU(t),{chart:r,index:i,line:s,scale:c,axis:d}=t,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},m=r.getDatasetMeta(i),k=T_(r,m);o&&s.points.length&&(YL(e,n),$U(e,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:k}),JL(e))}function $U(e,t){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=t,h=n._loop?"angle":t.axis;e.save();let u=i;i!==r&&(h==="x"?(zz(e,o,s.top),gA(e,{line:n,target:o,color:r,scale:c,property:h,clip:d}),e.restore(),e.save(),zz(e,o,s.bottom)):h==="y"&&(Pz(e,o,s.left),gA(e,{line:n,target:o,color:i,scale:c,property:h,clip:d}),e.restore(),e.save(),Pz(e,o,s.right),u=r)),gA(e,{line:n,target:o,color:u,scale:c,property:h,clip:d}),e.restore()}function zz(e,t,n){const{segments:o,points:r}=t;let i=!0,s=!1;e.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[gS(d,h,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(u.x,n),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,c,{move:s}),s?e.closePath():e.lineTo(p.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Pz(e,t,n){const{segments:o,points:r}=t;let i=!0,s=!1;e.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[gS(d,h,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(n,u.y),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,c,{move:s}),s?e.closePath():e.lineTo(n,p.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function gA(e,t){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=t,d=AU(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,m=o!==!0;e.save(),e.fillStyle=f,WU(e,s,c,m&&mA(r,p,y)),e.beginPath();const k=!!n.pathSegment(e,h);let g;if(m){k?e.closePath():qz(e,o,y,r);const x=!!o.pathSegment(e,u,{move:k,reverse:!0});g=k&&x,g||qz(e,o,p,r)}e.closePath(),e.fill(g?"evenodd":"nonzero"),e.restore()}}function WU(e,t,n,o){const r=t.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),e.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),e.rect(d,h,u-d,p-h),e.clip()}}function qz(e,t,n,o){const r=t.interpolate(n,o);r&&e.lineTo(r.x,r.y)}var GU={id:"filler",afterDatasetsUpdate(e,t,n){const o=(e.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=e.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof za&&(d={visible:e.isDatasetVisible(s),index:s,fill:_U(c,s,o),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=VU(r,s,n.propagate))},beforeDraw(e,t,n){const o=n.drawTime==="beforeDraw",r=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&kA(e.ctx,c,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=e.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;Vz(i)&&kA(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const o=t.meta.$filler;!Vz(o)||n.drawTime!=="beforeDatasetDraw"||kA(e.ctx,o,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Dz=(e,t)=>{let{boxHeight:n=t,boxWidth:o=t}=e;return e.usePointStyle&&(n=Math.min(n,t),o=e.pointStyleWidth||Math.min(o,t)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(t,n)}},XU=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class Ez extends da{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,o){this.maxWidth=t,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=qe(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(o=>t.filter(o,this.chart.data))),t.sort&&(n=n.sort((o,r)=>t.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const o=t.labels,r=Je(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=Dz(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=t;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((m,k)=>{const g=o+n/2+i.measureText(m.text).width;(k===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(k>0?0:1)]=0,f+=u,y++),d[k]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(t,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-t;let p=c,y=0,f=0,m=0,k=0;return this.legendItems.forEach((g,x)=>{const{itemWidth:C,itemHeight:w}=KU(o,n,i,g,r);x>0&&f+w+2*c>u&&(p+=y+c,h.push({width:y,height:f}),m+=y+c,k++,y=f=0),d[x]={left:m,top:f,col:k,width:C,height:w},y=Math.max(y,C),f+=w+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=Ts(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=Ye(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=Ye(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+t+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=Ye(o,this.top+t+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=Ye(o,this.top+t+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;YL(t,this),this._draw(),JL(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=t,c=Fe.color,d=Ts(t.rtl,this.left,this.width),h=Je(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:m,boxHeight:k,itemHeight:g}=Dz(s,p),x=function(S,v,M){if(isNaN(m)||m<=0||isNaN(k)||k<0)return;r.save();const I=ge(M.lineWidth,1);if(r.fillStyle=ge(M.fillStyle,c),r.lineCap=ge(M.lineCap,"butt"),r.lineDashOffset=ge(M.lineDashOffset,0),r.lineJoin=ge(M.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=ge(M.strokeStyle,c),r.setLineDash(ge(M.lineDash,[])),s.usePointStyle){const V={radius:k*Math.SQRT2/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:I},_=d.xPlus(S,m/2),B=v+y;g_(r,V,_,B,s.pointStyleWidth&&m)}else{const V=v+Math.max((p-k)/2,0),_=d.leftForLtr(S,m),B=qs(M.borderRadius);r.beginPath(),Object.values(B).some(D=>D!==0)?QL(r,{x:_,y:V,w:m,h:k,radius:B}):r.rect(_,V,m,k),r.fill(),I!==0&&r.stroke()}r.restore()},C=function(S,v,M){Tl(r,M.text,S,v+g/2,h,{strikethrough:M.hidden,textAlign:d.textAlign(M.textAlign)})},w=this.isHorizontal(),b=this._computeTitleHeight();w?f={x:Ye(i,this.left+u,this.right-o[0]),y:this.top+u+b,line:0}:f={x:this.left+u,y:Ye(i,this.top+b+u,this.bottom-n[0].height),line:0},B_(this.ctx,t.textDirection);const L=g+u;this.legendItems.forEach((S,v)=>{r.strokeStyle=S.fontColor,r.fillStyle=S.fontColor;const M=r.measureText(S.text).width,I=d.textAlign(S.textAlign||(S.textAlign=s.textAlign)),V=m+y+M;let _=f.x,B=f.y;d.setWidth(this.width),w?v>0&&_+V+u>this.right&&(B=f.y+=L,f.line++,_=f.x=Ye(i,this.left+u,this.right-o[f.line])):v>0&&B+L>this.bottom&&(_=f.x=_+n[f.line].width+u,f.line++,B=f.y=Ye(i,this.top+b+u,this.bottom-n[f.line].height));const D=d.x(_);if(x(D,B,S),_=LF(I,_+m+y,w?_+V:this.right,t.rtl),C(d.x(_),B,S),w)f.x+=V+u;else if(typeof S.text!="string"){const z=h.lineHeight;f.y+=Tz(S,z)+u}else f.y+=L}),V_(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,o=Je(n.font),r=kt(n.padding);if(!n.display)return;const i=Ts(t.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=Ye(t.align,p,this.right-y);else{const m=this.columnSizes.reduce((k,g)=>Math.max(k,g.height),0);u=h+Ye(t.align,this.top,this.bottom-m-t.labels.padding-this._computeTitleHeight())}const f=Ye(c,p,p+y);s.textAlign=i.textAlign(NI(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,Tl(s,n.text,f,u,o)}_computeTitleHeight(){const t=this.options.title,n=Je(t.font),o=kt(t.padding);return t.display?n.lineHeight+o.height:0}_getLegendItemAt(t,n){let o,r,i;if(la(t,this.left,this.right)&&la(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],la(t,r.left,r.left+r.width)&&la(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(t){const n=this.options;if(!JU(t.type,n))return;const o=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,i=XU(r,o);r&&!i&&qe(n.onLeave,[t,r,this],this),this._hoveredItem=o,o&&!i&&qe(n.onHover,[t,o,this],this)}else o&&qe(n.onClick,[t,o,this],this)}}function KU(e,t,n,o,r){const i=ZU(o,e,t,n),s=YU(r,o,t.lineHeight);return{itemWidth:i,itemHeight:s}}function ZU(e,t,n,o){let r=e.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),t+n.size/2+o.measureText(r).width}function YU(e,t,n){let o=e;return typeof t.text!="string"&&(o=Tz(t,n)),o}function Tz(e,t){const n=e.text?e.text.length:0;return t*n}function JU(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var QU={id:"legend",_element:Ez,start(e,t,n){const o=e.legend=new Ez({ctx:e.ctx,options:n,chart:e});gt.configure(e,o,n),gt.addBox(e,o)},stop(e){gt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const o=e.legend;gt.configure(e,o,n),o.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const o=t.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),t.hidden=!0):(r.show(o),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return e._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=kt(h.borderWidth);return{text:t[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Hz extends da{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const r=Ue(o.text)?o.text.length:1;this._padding=kt(o.padding);const i=r*Je(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=Ye(c,o,i),p=n+t,h=i-o):(s.position==="left"?(u=o+t,p=Ye(c,r,n),d=Ae*-.5):(u=i-t,p=Ye(c,n,r),d=Ae*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const o=Je(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);Tl(t,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:NI(n.align),textBaseline:"middle",translation:[s,c]})}}function e$(e,t){const n=new Hz({ctx:e.ctx,options:t,chart:e});gt.configure(e,n,t),gt.addBox(e,n),e.titleBlock=n}var t$={id:"title",_element:Hz,start(e,t,n){e$(e,n)},stop(e){const t=e.titleBlock;gt.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const o=e.titleBlock;gt.configure(e,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Wl={average(e){if(!e.length)return!1;let t,n,o=new Set,r=0,i=0;for(t=0,n=e.length;t<n;++t){const c=e[t].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,o=t.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=e.length;i<s;++i){const d=e[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=FI(t,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Kt(e,t){return t&&(Ue(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function ua(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
8517
|
+
*/class AR{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=c_.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(t),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,t,"progress")),i.length||(o.running=!1,this._notify(r,o,t,"complete"),o.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let o=n.get(t);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,o)),o}listen(t,n,o){this._getAnims(t).listeners[n].push(o)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ca=new AR;const H_="transparent",BR={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const o=p_(e||H_),r=o.valid&&p_(t||H_);return r&&r.valid?r.mix(o,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class VR{constructor(t,n,o,r){const i=n[o];r=eS([t.to,r,i,t.from]);const s=eS([t.from,i,r]);this._active=!0,this._fn=t.fn||BR[t.type||typeof s],this._easing=ql[t.easing]||ql.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(t,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=eS([t.to,n,r,t.from]),this._from=eS([t.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,o)=>{t.push({res:n,rej:o})})}_notify(t){const n=t?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class O_{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Me(t))return;const n=Object.keys(Fe.animation),o=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!Me(i))return;const s={};for(const c of n)s[c]=i[c];(Ne(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(t,n){const o=n.options,r=zR(t,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&_R(t.options.$animations,o).then(()=>{t.options=o},()=>{}),i}_createAnimations(t,n){const o=this._properties,r=[],i=t.$animations||(t.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(t,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){t[h]=u;continue}i[h]=p=new VR(y,t,h,u),r.push(p)}return r}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const o=this._createAnimations(t,n);if(o.length)return ca.add(this._chart,o),!0}}function _R(e,t){const n=[],o=Object.keys(t);for(let r=0;r<o.length;r++){const i=e[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function zR(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function j_(e,t){const n=e&&e.options||{},o=n.reverse,r=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:o?i:r,end:o?r:i}}function PR(e,t,n){if(n===!1)return!1;const o=j_(e,n),r=j_(t,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function qR(e){let t,n,o,r;return Me(e)?(t=e.top,n=e.right,o=e.bottom,r=e.left):t=n=o=r=e,{top:t,right:n,bottom:o,left:r,disabled:e===!1}}function F_(e,t){const n=[],o=e._getSortedDatasetMetas(t);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function R_(e,t,n,o={}){const r=e.keys,i=o.mode==="single";let s,c,d,h;if(t===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=e.values[d],Ke(h)&&(i||t===0||Xt(t)===Xt(h))&&(t+=h)}return!u&&!o.all?0:t}function DR(e,t){const{iScale:n,vScale:o}=t,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(e),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:e[u]};return c}function aA(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function ER(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function TR(e){const{min:t,max:n,minDefined:o,maxDefined:r}=e.getUserBounds();return{min:o?t:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function HR(e,t,n){const o=e[t]||(e[t]={});return o[n]||(o[n]={})}function N_(e,t,n,o){for(const r of t.getMatchingVisibleMetas(o).reverse()){const i=e[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function U_(e,t){const{chart:n,_cachedMeta:o}=e,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=ER(i,s,o),p=t.length;let y;for(let f=0;f<p;++f){const m=t[f],{[d]:k,[h]:g}=m,x=m._stacks||(m._stacks={});y=x[h]=HR(r,u,k),y[c]=g,y._top=N_(y,s,!0,o.type),y._bottom=N_(y,s,!1,o.type);const C=y._visualValues||(y._visualValues={});C[c]=g}}function nA(e,t){const n=e.scales;return Object.keys(n).filter(o=>n[o].axis===t).shift()}function OR(e,t){return ss(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function jR(e,t,n){return ss(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Hl(e,t){const n=e.controller.index,o=e.vScale&&e.vScale.axis;if(o){t=t||e._parsed;for(const r of t){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const oA=e=>e==="reset"||e==="none",$_=(e,t)=>t?e:Object.assign({},e),FR=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:F_(n,!0),values:null};class hs{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=aA(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Hl(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,m)=>p==="x"?y:p==="r"?m:f,i=n.xAxisID=ge(o.xAxisID,nA(t,"x")),s=n.yAxisID=ge(o.yAxisID,nA(t,"y")),c=n.rAxisID=ge(o.rAxisID,nA(t,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&s_(this._data,this),t._stacked&&Hl(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),o=this._data;if(Me(n)){const r=this._cachedMeta;this._data=DR(n,r)}else if(o!==n){if(o){s_(o,this);const r=this._cachedMeta;Hl(r),r._parsed=[]}n&&Object.isExtensible(n)&&vF(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=aA(n.vScale,n),n.stack!==o.stack&&(r=!0,Hl(n),n.stack=o.stack),this._resyncElements(t),(r||i!==n._stacked)&&(U_(this,n._parsed),n._stacked=aA(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),o=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=t===0&&n===r.length?!0:o._sorted,h=t>0&&o._parsed[t-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{Ne(r[t])?y=this.parseArrayData(o,r,t,n):Me(r[t])?y=this.parseObjectData(o,r,t,n):y=this.parsePrimitiveData(o,r,t,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+t]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&U_(this,y)}parsePrimitiveData(t,n,o,r){const{iScale:i,vScale:s}=t,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,m;for(y=0,f=r;y<f;++y)m=y+o,p[y]={[c]:u||i.parse(h[m],m),[d]:s.parse(n[m],m)};return p}parseArrayData(t,n,o,r){const{xScale:i,yScale:s}=t,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(t,n,o,r){const{xScale:i,yScale:s}=t,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(as(f,c),y),y:s.parse(as(f,d),y)};return h}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,o){const r=this.chart,i=this._cachedMeta,s=n[t.axis],c={keys:F_(r,!0),values:n._stacks[t.axis]._visualValues};return R_(c,s,i.index,{mode:o})}updateRangeFromParsed(t,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=R_(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&t===o.iScale,s=r.length,c=this._getOtherScale(t),d=FR(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=TR(c);let y,f;function m(){f=r[y];const k=f[c.axis];return!Ke(f[t.axis])||u>k||p<k}for(y=0;y<s&&!(!m()&&(this.updateRangeFromParsed(h,t,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!m()){this.updateRangeFromParsed(h,t,f,d);break}}return h}getAllParsedValues(t){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][t.axis],Ke(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(t);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=qR(ge(this.options.clip,PR(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(t,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(t,i))}for(u=0;u<s.length;++u)s[u].draw(t,i)}getStyle(t,n){const o=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(t||0,o)}getContext(t,n,o){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];i=s.$context||(s.$context=jR(this.getContext(),t,s)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=OR(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=t+"-"+n,c=i[s],d=this.enableOptionSharing&&Vl(o);if(c)return $_(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,t),p=r?[`${t}Hover`,"hover",t,""]:[t,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Fe.elements[t]),m=()=>this.getContext(o,r,n),k=h.resolveNamedOptions(y,f,m,p);return k.$shared&&(k.$shared=d,i[s]=Object.freeze($_(k,d))),k}_resolveAnimations(t,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(t,o,n))}const h=new O_(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||oA(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const o=this.resolveDataElementOptions(t,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(t,n,o,r){oA(r)?Object.assign(t,o):this._resolveAnimations(n,r).update(t,o)}updateSharedOptions(t,n,o){t&&!oA(n)&&this._resolveAnimations(void 0,n).update(t,o)}_setStyle(t,n,o,r){t.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,o){this._setStyle(t,o,"active",!1)}setHoverStyle(t,n,o){this._setStyle(t,o,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,n,o=!0){const r=this._cachedMeta,i=r.data,s=t+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=t;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(t,n),o&&this.updateElements(i,t,n,"reset")}updateElements(t,n,o,r){}_removeElements(t,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(t,n);o._stacked&&Hl(o,r)}o.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,o,r]=t;this[n](o,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",t,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}le(hs,"defaults",{}),le(hs,"datasetElementType",null),le(hs,"dataElementType",null);function RR(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(e));e._cache.$bar=l_(o.sort((r,i)=>r-i))}return e._cache.$bar}function NR(e){const t=e.iScale,n=RR(t,e.type);let o=t._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(Vl(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=t.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=t.ticks.length;r<i;++r)s=t.getPixelForTick(r),d();return o}function UR(e,t,n,o){const r=n.barThickness;let i,s;return Ie(r)?(i=t.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:t.pixels[e]-i/2}}function $R(e,t,n,o){const r=t.pixels,i=r[e];let s=e>0?r[e-1]:null,c=e<r.length-1?r[e+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?t.end-t.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function WR(e,t,n,o){const r=n.parse(e[0],o),i=n.parse(e[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),t[n.axis]=h,t._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function W_(e,t,n,o){return Ne(e)?WR(e,t,n,o):t[n.axis]=n.parse(e,o),t}function G_(e,t,n,o){const r=e.iScale,i=e.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=t[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(W_(y,p,i,h));return d}function rA(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function GR(e,t,n){return e!==0?Xt(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function XR(e){let t,n,o,r,i;return e.horizontal?(t=e.base>e.x,n="left",o="right"):(t=e.base<e.y,n="bottom",o="top"),t?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:t,top:r,bottom:i}}function KR(e,t,n,o){let r=t.borderSkipped;const i={};if(!r){e.borderSkipped=i;return}if(r===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=XR(e);r==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[X_(u,s,c,d)]=!0,r=h)),i[X_(r,s,c,d)]=!0,e.borderSkipped=i}function X_(e,t,n,o){return o?(e=ZR(e,t,n),e=K_(e,n,t)):e=K_(e,t,n),e}function ZR(e,t,n){return e===t?n:e===n?t:e}function K_(e,t,n){return e==="start"?t:e==="end"?n:e}function YR(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class rS extends hs{parsePrimitiveData(t,n,o,r){return G_(t,n,o,r)}parseArrayData(t,n,o,r){return G_(t,n,o,r)}parseObjectData(t,n,o,r){const{iScale:i,vScale:s}=t,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,m,k;for(y=o,f=o+r;y<f;++y)k=n[y],m={},m[i.axis]=i.parse(as(k,h),y),p.push(W_(as(k,u),m,s,y));return p}updateRangeFromParsed(t,n,o,r){super.updateRangeFromParsed(t,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(t),s=i._custom,c=rA(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const m=this.getParsed(f),k=i||Ie(m[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),x=(m._stacks||{})[c.axis],C={horizontal:h,base:k.base,enableBorderRadius:!x||rA(m._custom)||s===x._top||s===x._bottom,x:h?k.head:g.center,y:h?g.center:k.head,height:h?g.size:Math.abs(k.size),width:h?Math.abs(k.size):g.size};y&&(C.options=p||this.resolveDataElementOptions(f,t[f].active?"active":r));const w=C.options||t[f].options;KR(C,w,x,s),YR(C,w,u.ratio),this.updateElement(t[f],f,C,r)}}_getStacks(t,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Ie(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(t).filter(o=>t[o].axis===n).shift()}_getAxis(){const t={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)t[ge(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(t)}_getStackIndex(t,n,o){const r=this._getStacks(t,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=t.barThickness;return{min:c||NR(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:t.grouped,ratio:c?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(t),h=d._custom,u=rA(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,m,k;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&Xt(p)!==Xt(h.barEnd)&&(y=0),y+=p);const g=!Ie(i)&&!u?i:y;let x=n.getPixelForValue(g);if(this.chart.getDataVisibility(t)?m=n.getPixelForValue(y+f):m=x,k=m-x,Math.abs(k)<s){k=GR(k,n,c)*s,p===c&&(x-=k/2);const C=n.getPixelForDecimal(0),w=n.getPixelForDecimal(1),b=Math.min(C,w),L=Math.max(C,w);x=Math.max(Math.min(x,L),b),m=x+k,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(m)-n.getValueForPixel(x))}if(x===n.getPixelForValue(c)){const C=Xt(k)*n.getLineWidthForValue(c)/2;x+=C,k-=C}return{size:k,base:x,head:m,center:m+k/2}}_calculateBarIndexPixels(t,n){const o=n.scale,r=this.options,i=r.skipNull,s=ge(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(t):n.stackCount,p=r.barThickness==="flex"?$R(t,n,r,u*h):UR(t,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(ge(y,this.getFirstScaleIdForIndexAxis())),m=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+f;c=p.start+p.chunk*m+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(t)[o.axis],t),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const t=this._cachedMeta,n=t.vScale,o=t.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}le(rS,"id","bar"),le(rS,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),le(rS,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function JR(e,t,n){let o=1,r=1,i=0,s=0;if(t<Te){const c=e,d=c+t,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(w,b,L)=>Pl(w,c,d,!0)?1:Math.max(b,b*n,L,L*n),m=(w,b,L)=>Pl(w,c,d,!0)?-1:Math.min(b,b*n,L,L*n),k=f(0,h,p),g=f($e,u,y),x=m(Be,h,p),C=m(Be+$e,u,y);o=(k-x)/2,r=(g-C)/2,i=-(k+x)/2,s=-(g+C)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class Hs extends hs{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(Me(o[t])){const{key:d="value"}=this._parsing;i=h=>+as(o[h],d)}let s,c;for(s=t,c=t+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return sa(this.options.rotation-90)}_getCircumference(){return sa(this.options.circumference)}_getRotationExtents(){let t=Te,n=-Te;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();t=Math.min(t,i),n=Math.max(n,i+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(iF(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:m,offsetY:k}=JR(p,u,d),g=(o.width-s)/y,x=(o.height-s)/f,C=Math.max(Math.min(g,x)/2,0),w=YV(this.options.radius,C),b=Math.max(w*d,0),L=(w-b)/this._getVisibleDatasetWeightTotal();this.offsetX=m*w,this.offsetY=k*w,r.total=this.calculateTotal(),this.outerRadius=w-L*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-L*h,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(t)||r._parsed[t]===null||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/Te)}updateElements(t,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,m=y?0:this.outerRadius,{sharedOptions:k,includeOptions:g}=this._getSharedOptions(n,r);let x=this._getRotation(),C;for(C=0;C<n;++C)x+=this._circumference(C,i);for(C=n;C<n+o;++C){const w=this._circumference(C,i),b=t[C],L={x:u+this.offsetX,y:p+this.offsetY,startAngle:x,endAngle:x+w,circumference:w,outerRadius:m,innerRadius:f};g&&(L.options=k||this.resolveDataElementOptions(C,b.active?"active":r)),x+=w,this.updateElement(b,C,L,r)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let o=0,r;for(r=0;r<n.length;r++){const i=t._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?Te*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=WI(n._parsed[t],o.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const o=this.chart;let r,i,s,c,d;if(!t){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),t=s.data,c=s.controller;break}}if(!t)return 0;for(r=0,i=t.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let o=0,r=t.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let o=0;o<t;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(t){return Math.max(ge(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}le(Hs,"id","doughnut"),le(Hs,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),le(Hs,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),le(Hs,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=t.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=t.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!t.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(t,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class iS extends hs{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=SF(n,r,s);this._drawStart=c,this._drawCount=d,IF(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},t),this.updateElements(r,c,d,t)}updateElements(t,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:m,segment:k}=this.options,g=zl(m)?m:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||i||r==="none",C=n+o,w=t.length;let b=n>0&&this.getParsed(n-1);for(let L=0;L<w;++L){const S=t[L],v=x?S:{};if(L<n||L>=C){v.skip=!0;continue}const M=this.getParsed(L),I=Ie(M[f]),V=v[y]=s.getPixelForValue(M[y],L),_=v[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,M,d):M[f],L);v.skip=isNaN(V)||isNaN(_)||I,v.stop=L>0&&Math.abs(M[y]-b[y])>g,k&&(v.parsed=M,v.raw=h.data[L]),p&&(v.options=u||this.resolveDataElementOptions(L,S.active?"active":r)),x||this.updateElement(S,L,v,r),b=M}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,o=n.options&&n.options.borderWidth||0,r=t.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}le(iS,"id","line"),le(iS,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),le(iS,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class iA extends Hs{}le(iA,"id","pie"),le(iA,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function us(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class sA{constructor(t){le(this,"options");this.options=t||{}}static override(t){Object.assign(sA.prototype,t)}init(){}formats(){return us()}parse(){return us()}format(){return us()}add(){return us()}diff(){return us()}startOf(){return us()}endOf(){return us()}}var QR={_date:sA};function eN(e,t,n,o){const{controller:r,data:i,_sorted:s}=e,c=r._cachedMeta.iScale,d=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(c&&t===c.axis&&t!=="r"&&s&&i.length){const h=c._reversePixels?MF:os;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(t);if(p){const y=h(i,t,n-p),f=h(i,t,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,t,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=e,f=y.slice(0,u.lo+1).reverse().findIndex(k=>!Ie(k[p.axis]));u.lo-=Math.max(0,f);const m=y.slice(u.hi).findIndex(k=>!Ie(k[p.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:i.length-1}}function sS(e,t,n,o,r){const i=e.getSortedVisibleDatasetMetas(),s=n[t];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=eN(i[c],t,s,r);for(let f=p;f<=y;++f){const m=u[f];m.skip||o(m,h,f)}}}function tN(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(o,r){const i=t?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function lA(e,t,n,o,r){const i=[];return!r&&!e.isPointInArea(t)||sS(e,n,t,function(c,d,h){!r&&!El(c,e.chartArea,0)||c.inRange(t.x,t.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function aN(e,t,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=r_(s,{x:t.x,y:t.y});Pl(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return sS(e,n,t,i),r}function nN(e,t,n,o,r,i){let s=[];const c=tN(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(t.x,t.y,r);if(o&&!f)return;const m=u.getCenterPoint(r);if(!(!!i||e.isPointInArea(m))&&!f)return;const g=c(t,m);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return sS(e,n,t,h),s}function cA(e,t,n,o,r,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!o?aN(e,t,n,r):nN(e,t,n,o,r,i)}function Z_(e,t,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return sS(e,n,t,(d,h,u)=>{d[s]&&d[s](t[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(t.x,t.y,r))}),o&&!c?[]:i}var oN={modes:{index(e,t,n,o){const r=cs(t,e),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?lA(e,r,i,o,s):cA(e,r,i,!1,o,s),d=[];return c.length?(e.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?lA(e,r,i,o,s):cA(e,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=e.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return lA(e,r,i,o,s)},nearest(e,t,n,o){const r=cs(t,e),i=n.axis||"xy",s=n.includeInvisible||!1;return cA(e,r,i,n.intersect,o,s)},x(e,t,n,o){const r=cs(t,e);return Z_(e,r,"x",n.intersect,o)},y(e,t,n,o){const r=cs(t,e);return Z_(e,r,"y",n.intersect,o)}}};const Y_=["left","top","right","bottom"];function Ol(e,t){return e.filter(n=>n.pos===t)}function J_(e,t){return e.filter(n=>Y_.indexOf(n.pos)===-1&&n.box.axis===t)}function jl(e,t){return e.sort((n,o)=>{const r=t?o:n,i=t?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function rN(e){const t=[];let n,o,r,i,s,c;for(n=0,o=(e||[]).length;n<o;++n)r=e[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,t.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return t}function iN(e){const t={};for(const n of e){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!Y_.includes(r))continue;const s=t[o]||(t[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return t}function sN(e,t){const n=iN(e),{vBoxMaxWidth:o,hBoxMaxHeight:r}=t;let i,s,c;for(i=0,s=e.length;i<s;++i){c=e[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&t.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&t.availableHeight)}return n}function lN(e){const t=rN(e),n=jl(t.filter(h=>h.box.fullSize),!0),o=jl(Ol(t,"left"),!0),r=jl(Ol(t,"right")),i=jl(Ol(t,"top"),!0),s=jl(Ol(t,"bottom")),c=J_(t,"x"),d=J_(t,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:Ol(t,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function Q_(e,t,n,o){return Math.max(e[n],t[n])+Math.max(e[o],t[o])}function ez(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function cN(e,t,n,o){const{pos:r,box:i}=n,s=e.maxPadding;if(!Me(r)){n.size&&(e[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,e[r]+=n.size}i.getPadding&&ez(s,i.getPadding());const c=Math.max(0,t.outerWidth-Q_(s,e,"left","right")),d=Math.max(0,t.outerHeight-Q_(s,e,"top","bottom")),h=c!==e.w,u=d!==e.h;return e.w=c,e.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function dN(e){const t=e.maxPadding;function n(o){const r=Math.max(t[o]-e[o],0);return e[o]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function hN(e,t){const n=t.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(t[s],n[s])}),i}return o(e?["left","right"]:["top","bottom"])}function Fl(e,t,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=e.length,h=0;i<s;++i){c=e[i],d=c.box,d.update(c.width||t.w,c.height||t.h,hN(c.horizontal,t));const{same:p,other:y}=cN(t,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&Fl(r,t,n,o)||u}function lS(e,t,n,o,r){e.top=n,e.left=t,e.right=t+o,e.bottom=n+r,e.width=o,e.height=r}function tz(e,t,n,o){const r=n.padding;let{x:i,y:s}=t;for(const c of e){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=t.w*u,y=h.size||d.height;Vl(h.start)&&(s=h.start),d.fullSize?lS(d,r.left,s,n.outerWidth-r.right-r.left,y):lS(d,t.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=t.h*u,y=h.size||d.width;Vl(h.start)&&(i=h.start),d.fullSize?lS(d,i,r.top,y,n.outerHeight-r.bottom-r.top):lS(d,i,t.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}t.x=i,t.y=s}var bt={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,o){if(!e)return;const r=gt(e.options.layout.padding),i=Math.max(t-r.width,0),s=Math.max(n-r.height,0),c=lN(e.boxes),d=c.vertical,h=c.horizontal;Ae(e.boxes,k=>{typeof k.beforeLayout=="function"&&k.beforeLayout()});const u=d.reduce((k,g)=>g.box.options&&g.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);ez(y,gt(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),m=sN(d.concat(h),p);Fl(c.fullSize,f,p,m),Fl(d,f,p,m),Fl(h,f,p,m)&&Fl(d,f,p,m),dN(f),tz(c.leftAndTop,f,p,m),f.x+=f.w,f.y+=f.h,tz(c.rightAndBottom,f,p,m),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Ae(c.chartArea,k=>{const g=k.box;Object.assign(g,e.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class az{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,o){}removeEventListener(t,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,o,r){return n=Math.max(0,n||t.width),o=o||t.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(t){return!0}updateConfig(t){}}class uN extends az{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const cS="$chartjs",pN={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},nz=e=>e===null||e==="";function yN(e,t){const n=e.style,o=e.getAttribute("height"),r=e.getAttribute("width");if(e[cS]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",nz(r)){const i=A_(e,"width");i!==void 0&&(e.width=i)}if(nz(o))if(e.style.height==="")e.height=e.width/(t||2);else{const i=A_(e,"height");i!==void 0&&(e.height=i)}return e}const oz=mR?{passive:!0}:!1;function fN(e,t,n){e&&e.addEventListener(t,n,oz)}function mN(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,oz)}function kN(e,t){const n=pN[e.type]||e.type,{x:o,y:r}=cs(e,t);return{type:n,chart:t,native:e,x:o!==void 0?o:null,y:r!==void 0?r:null}}function dS(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function gN(e,t,n){const o=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||dS(c.addedNodes,o),s=s&&!dS(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function bN(e,t,n){const o=e.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||dS(c.removedNodes,o),s=s&&!dS(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Rl=new Map;let rz=0;function iz(){const e=window.devicePixelRatio;e!==rz&&(rz=e,Rl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function xN(e,t){Rl.size||window.addEventListener("resize",iz),Rl.set(e,t)}function MN(e){Rl.delete(e),Rl.size||window.removeEventListener("resize",iz)}function wN(e,t,n){const o=e.canvas,r=o&&tA(o);if(!r)return;const i=d_((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),xN(e,i),s}function dA(e,t,n){n&&n.disconnect(),t==="resize"&&MN(e)}function vN(e,t,n){const o=e.canvas,r=d_(i=>{e.ctx!==null&&n(kN(i,e))},e);return fN(o,t,r),r}class CN extends az{acquireContext(t,n){const o=t&&t.getContext&&t.getContext("2d");return o&&o.canvas===t?(yN(t,n),o):null}releaseContext(t){const n=t.canvas;if(!n[cS])return!1;const o=n[cS].initial;["height","width"].forEach(i=>{const s=o[i];Ie(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[cS],!0}addEventListener(t,n,o){this.removeEventListener(t,n);const r=t.$proxies||(t.$proxies={}),s={attach:gN,detach:bN,resize:wN}[n]||vN;r[n]=s(t,n,o)}removeEventListener(t,n){const o=t.$proxies||(t.$proxies={}),r=o[n];if(!r)return;({attach:dA,detach:dA,resize:dA}[n]||mN)(t,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,o,r){return fR(t,n,o,r)}isAttached(t){const n=t&&tA(t);return!!(n&&n.isConnected)}}function LN(e){return!eA()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?uN:CN}let da=(jS=class{constructor(){le(this,"x");le(this,"y");le(this,"active",!1);le(this,"options");le(this,"$animations")}tooltipPosition(t){const{x:n,y:o}=this.getProps(["x","y"],t);return{x:n,y:o}}hasValue(){return zl(this.x)&&zl(this.y)}getProps(t,n){const o=this.$animations;if(!n||!o)return this;const r={};return t.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},le(jS,"defaults",{}),le(jS,"defaultRoutes"),jS);function SN(e,t){const n=e.options.ticks,o=IN(e),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?BN(t):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return VN(t,h,i,s/r),h;const u=AN(i,t,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(hS(t,h,u,Ie(f)?0:c-f,c),p=0,y=s-1;p<y;p++)hS(t,h,u,i[p],i[p+1]);return hS(t,h,u,d,Ie(f)?t.length:d+f),h}return hS(t,h,u),h}function IN(e){const t=e.options.offset,n=e._tickSize(),o=e._length/n+(t?0:1),r=e._maxLength/n;return Math.floor(Math.min(o,r))}function AN(e,t,n){const o=_N(e),r=t.length/n;if(!o)return Math.max(r,1);const i=yF(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function BN(e){const t=[];let n,o;for(n=0,o=e.length;n<o;n++)e[n].major&&t.push(n);return t}function VN(e,t,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<e.length;s++)s===i&&(t.push(e[s]),r++,i=n[r*o])}function hS(e,t,n,o,r){const i=ge(o,0),s=Math.min(ge(r,e.length),e.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(t.push(e[h]),c++,u=Math.round(i+c*n))}function _N(e){const t=e.length;let n,o;if(t<2)return!1;for(o=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==o)return!1;return o}const zN=e=>e==="left"?"right":e==="right"?"left":e,sz=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,lz=(e,t)=>Math.min(t||e,e);function cz(e,t){const n=[],o=e.length/t,r=e.length;let i=0;for(;i<r;i+=o)n.push(e[Math.floor(i)]);return n}function PN(e,t,n){const o=e.ticks.length,r=Math.min(t,o-1),i=e._startPixel,s=e._endPixel,c=1e-6;let d=e.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):t===0?h=(e.getPixelForTick(1)-d)/2:h=(d-e.getPixelForTick(r-1))/2,d+=r<t?h:-h,d<i-c||d>s+c)))return d}function qN(e,t){Ae(e,n=>{const o=n.gc,r=o.length/2;let i;if(r>t){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function Nl(e){return e.drawTicks?e.tickLength:0}function dz(e,t){if(!e.display)return 0;const n=Je(e.font,t),o=gt(e.padding);return(Ne(e.text)?e.text.length:1)*n.lineHeight+o.height}function DN(e,t){return ss(e,{scale:t,type:"scale"})}function EN(e,t,n){return ss(e,{tick:n,index:t,type:"tick"})}function TN(e,t,n){let o=NI(e);return(n&&t!=="right"||!n&&t==="right")&&(o=zN(o)),o}function HN(e,t,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=e,{chartArea:h,scales:u}=d;let p=0,y,f,m;const k=s-r,g=c-i;if(e.isHorizontal()){if(f=Ye(o,i,c),Me(n)){const x=Object.keys(n)[0],C=n[x];m=u[x].getPixelForValue(C)+k-t}else n==="center"?m=(h.bottom+h.top)/2+k-t:m=sz(e,n,t);y=c-i}else{if(Me(n)){const x=Object.keys(n)[0],C=n[x];f=u[x].getPixelForValue(C)-g+t}else n==="center"?f=(h.left+h.right)/2-g+t:f=sz(e,n,t);m=Ye(o,s,r),p=n==="left"?-$e:$e}return{titleX:f,titleY:m,maxWidth:y,rotation:p}}class Os extends da{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return t=Gt(t,Number.POSITIVE_INFINITY),n=Gt(n,Number.NEGATIVE_INFINITY),o=Gt(o,Number.POSITIVE_INFINITY),r=Gt(r,Number.NEGATIVE_INFINITY),{min:Gt(t,o),max:Gt(n,r),minDefined:Ke(t),maxDefined:Ke(n)}}getMinMax(t){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,t),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Gt(n,Gt(o,n)),max:Gt(o,Gt(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){qe(this.options.beforeUpdate,[this])}update(t,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GF(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?cz(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=SN(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,t=!t),this._startPixel=n,this._endPixel=o,this._reversePixels=t,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){qe(this.options.afterUpdate,[this])}beforeSetDimensions(){qe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){qe(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),qe(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){qe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let o,r,i;for(o=0,r=t.length;o<r;o++)i=t[o],i.label=qe(n.callback,[i.value,o,t],this)}afterTickToLabelConversion(){qe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){qe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,o=lz(this.ticks.length,t.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ze(this.chart.width-p,0,this.maxWidth);c=t.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(t.offset?.5:1)),d=this.maxHeight-Nl(t.grid)-n.padding-dz(t.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=gF(Math.min(Math.asin(Ze((u.highest.height+6)/c,-1,1)),Math.asin(Ze(d/h,-1,1))-Math.asin(Ze(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){qe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){qe(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=dz(r,n.options.font);if(c?(t.width=this.maxWidth,t.height=Nl(i)+d):(t.height=this.maxHeight,t.width=Nl(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,m=sa(this.labelRotation),k=Math.cos(m),g=Math.sin(m);if(c){const x=o.mirror?0:g*p.width+k*y.height;t.height=Math.min(this.maxHeight,t.height+x+f)}else{const x=o.mirror?0:k*p.width+g*y.height;t.width=Math.min(this.maxWidth,t.width+x+f)}this._calculatePadding(h,u,g,k)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*t.width,f=o*n.height):(y=o*t.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=t.width:i!=="inner"&&(y=t.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=t.height/2;i==="start"?(u=0,p=t.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){qe(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,o;for(n=0,o=t.length;n<o;n++)Ie(t[n].label)&&(t.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=cz(o,n)),this._labelSizes=t=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/lz(n,o));let h=0,u=0,p,y,f,m,k,g,x,C,w,b,L;for(p=0;p<n;p+=d){if(m=t[p].label,k=this._resolveTickFontOptions(p),r.font=g=k.string,x=i[g]=i[g]||{data:{},gc:[]},C=k.lineHeight,w=b=0,!Ie(m)&&!Ne(m))w=m_(r,x.data,x.gc,w,m),b=C;else if(Ne(m))for(y=0,f=m.length;y<f;++y)L=m[y],!Ie(L)&&!Ne(L)&&(w=m_(r,x.data,x.gc,w,L),b+=C);s.push(w),c.push(b),h=Math.max(w,h),u=Math.max(b,u)}qN(i,n);const S=s.indexOf(h),v=c.indexOf(u),M=I=>({width:s[I]||0,height:c[I]||0});return{first:M(0),last:M(n-1),widest:M(S),highest:M(v),widths:s,heights:c}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return xF(this._alignToPixels?is(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const o=n[t];return o.$context||(o.$context=EN(this.getContext(),t,o))}return this.$context||(this.$context=DN(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=sa(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=t.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=Nl(i),f=[],m=c.setContext(this.getContext()),k=m.display?m.width:0,g=k/2,x=function(H){return is(o,H,k)};let C,w,b,L,S,v,M,I,V,_,B,D;if(s==="top")C=x(this.bottom),v=this.bottom-y,I=C-g,_=x(t.top)+g,D=t.bottom;else if(s==="bottom")C=x(this.top),_=t.top,D=x(t.bottom)-g,v=C+g,I=this.top+y;else if(s==="left")C=x(this.right),S=this.right-y,M=C-g,V=x(t.left)+g,B=t.right;else if(s==="right")C=x(this.left),V=t.left,B=x(t.right)-g,S=C+g,M=this.left+y;else if(n==="x"){if(s==="center")C=x((t.top+t.bottom)/2+.5);else if(Me(s)){const H=Object.keys(s)[0],j=s[H];C=x(this.chart.scales[H].getPixelForValue(j))}_=t.top,D=t.bottom,v=C+g,I=v+y}else if(n==="y"){if(s==="center")C=x((t.left+t.right)/2);else if(Me(s)){const H=Object.keys(s)[0],j=s[H];C=x(this.chart.scales[H].getPixelForValue(j))}S=C-g,M=S-y,V=t.left,B=t.right}const z=ge(r.ticks.maxTicksLimit,p),G=Math.max(1,Math.ceil(p/z));for(w=0;w<p;w+=G){const H=this.getContext(w),j=i.setContext(H),U=c.setContext(H),J=j.lineWidth,E=j.color,R=U.dash||[],F=U.dashOffset,Y=j.tickWidth,Q=j.tickColor,re=j.tickBorderDash||[],he=j.tickBorderDashOffset;b=PN(this,w,d),b!==void 0&&(L=is(o,b,J),h?S=M=V=B=L:v=I=_=D=L,f.push({tx1:S,ty1:v,tx2:M,ty2:I,x1:V,y1:_,x2:B,y2:D,width:J,color:E,borderDash:R,borderDashOffset:F,tickWidth:Y,tickColor:Q,tickBorderDash:re,tickBorderDashOffset:he}))}return this._ticksLength=p,this._borderValue=C,f}_computeLabelItems(t){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=Nl(o.grid),f=y+u,m=p?-u:f,k=-sa(this.labelRotation),g=[];let x,C,w,b,L,S,v,M,I,V,_,B,D="middle";if(r==="top")S=this.bottom-m,v=this._getXAxisLabelAlignment();else if(r==="bottom")S=this.top+m,v=this._getXAxisLabelAlignment();else if(r==="left"){const G=this._getYAxisLabelAlignment(y);v=G.textAlign,L=G.x}else if(r==="right"){const G=this._getYAxisLabelAlignment(y);v=G.textAlign,L=G.x}else if(n==="x"){if(r==="center")S=(t.top+t.bottom)/2+f;else if(Me(r)){const G=Object.keys(r)[0],H=r[G];S=this.chart.scales[G].getPixelForValue(H)+f}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")L=(t.left+t.right)/2-f;else if(Me(r)){const G=Object.keys(r)[0],H=r[G];L=this.chart.scales[G].getPixelForValue(H)}v=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?D="top":d==="end"&&(D="bottom"));const z=this._getLabelSizes();for(x=0,C=c.length;x<C;++x){w=c[x],b=w.label;const G=i.setContext(this.getContext(x));M=this.getPixelForTick(x)+i.labelOffset,I=this._resolveTickFontOptions(x),V=I.lineHeight,_=Ne(b)?b.length:1;const H=_/2,j=G.color,U=G.textStrokeColor,J=G.textStrokeWidth;let E=v;s?(L=M,v==="inner"&&(x===C-1?E=this.options.reverse?"left":"right":x===0?E=this.options.reverse?"right":"left":E="center"),r==="top"?h==="near"||k!==0?B=-_*V+V/2:h==="center"?B=-z.highest.height/2-H*V+V:B=-z.highest.height+V/2:h==="near"||k!==0?B=V/2:h==="center"?B=z.highest.height/2-H*V:B=z.highest.height-_*V,p&&(B*=-1),k!==0&&!G.showLabelBackdrop&&(L+=V/2*Math.sin(k))):(S=M,B=(1-_)*V/2);let R;if(G.showLabelBackdrop){const F=gt(G.backdropPadding),Y=z.heights[x],Q=z.widths[x];let re=B-F.top,he=0-F.left;switch(D){case"middle":re-=Y/2;break;case"bottom":re-=Y;break}switch(v){case"center":he-=Q/2;break;case"right":he-=Q;break;case"inner":x===C-1?he-=Q:x>0&&(he-=Q/2);break}R={left:he,top:re,width:Q+F.width,height:Y+F.height,color:G.backdropColor}}g.push({label:b,font:I,textOffset:B,options:{rotation:k,color:j,strokeColor:U,strokeWidth:J,textAlign:E,textBaseline:D,translation:[L,S],backdrop:R}})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-sa(this.labelRotation))return t==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=t+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(o,r,i,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===t);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=is(t,this.left,s)-s/2,u=is(t,this.right,c)+c/2,p=y=d):(p=is(t,this.top,s)-s/2,y=is(t,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&YL(o,r);const i=this.getLabelItems(t);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;Tl(o,h,0,u,d,c)}r&&JL(o)}drawTitle(){const{ctx:t,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Je(o.font),s=gt(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||Me(n)?(d+=s.bottom,Ne(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=HN(this,d,n,c);Tl(t,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:TN(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,o=ge(t.grid&&t.grid.z,-1),r=ge(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Os.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!t||c.type===t)&&r.push(c)}return r}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Je(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class uS{constructor(t,n,o){this.type=t,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let o;FN(n)&&(o=this.register(n));const r=this.items,i=t.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,ON(t,s,o),this.override&&Fe.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,o=t.id,r=this.scope;o in n&&delete n[o],r&&o in Fe[r]&&(delete Fe[r][o],this.override&&delete rs[o])}}function ON(e,t,n){const o=Al(Object.create(null),[n?Fe.get(n):{},Fe.get(t),e.defaults]);Fe.set(t,o),e.defaultRoutes&&jN(t,e.defaultRoutes),e.descriptors&&Fe.describe(t,e.descriptors)}function jN(e,t){Object.keys(t).forEach(n=>{const o=n.split("."),r=o.pop(),i=[e].concat(o).join("."),s=t[n].split("."),c=s.pop(),d=s.join(".");Fe.route(i,r,d,c)})}function FN(e){return"id"in e&&"defaults"in e}class RN{constructor(){this.controllers=new uS(hs,"datasets",!0),this.elements=new uS(da,"elements"),this.plugins=new uS(Object,"plugins"),this.scales=new uS(Os,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(t,i,r):Ae(r,s=>{const c=o||this._getRegistryForType(s);this._exec(t,c,s)})})}_exec(t,n,o){const r=jI(t);qe(o["before"+r],[],o),n[t](o),qe(o["after"+r],[],o)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(t))return o}return this.plugins}_get(t,n,o){const r=n.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+o+".");return r}}var Kt=new RN;class NN{constructor(){this._init=void 0}notify(t,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const i=r?this._descriptors(t).filter(r):this._descriptors(t),s=this._notify(i,t,n,o);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),s}_notify(t,n,o,r){r=r||{};for(const i of t){const s=i.plugin,c=s[o],d=[n,r,i.options];if(qe(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const o=t&&t.config,r=ge(o.options&&o.options.plugins,{}),i=UN(o);return r===!1&&!n?[]:WN(t,i,r,n)}_notifyStateChanges(t){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),t,"stop"),this._notify(r(o,n),t,"start")}}function UN(e){const t={},n=[],o=Object.keys(Kt.plugins.items);for(let i=0;i<o.length;i++)n.push(Kt.getPlugin(o[i]));const r=e.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function $N(e,t){return!t&&e===!1?null:e===!0?{}:e}function WN(e,{plugins:t,localIds:n},o,r){const i=[],s=e.getContext();for(const c of t){const d=c.id,h=$N(o[d],r);h!==null&&i.push({plugin:c,options:GN(e.config,{plugin:c,local:n[d]},h,s)})}return i}function GN(e,{plugin:t,local:n},o,r){const i=e.pluginScopeKeys(t),s=e.getOptionScopes(o,i);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function hA(e,t){const n=Fe.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function XN(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function KN(e,t){return e===t?"_index_":"_value_"}function hz(e){if(e==="x"||e==="y"||e==="r")return e}function ZN(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function uA(e,...t){if(hz(e))return e;for(const n of t){const o=n.axis||ZN(n.position)||e.length>1&&hz(e[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function uz(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function YN(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(o=>o.xAxisID===e||o.yAxisID===e);if(n.length)return uz(e,"x",n[0])||uz(e,"y",n[0])}return{}}function JN(e,t){const n=rs[e.type]||{scales:{}},o=t.scales||{},r=hA(e.type,t),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!Me(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=uA(s,c,YN(s,e),Fe.scales[c.type]),h=KN(d,r),u=n.scales||{};i[s]=Bl(Object.create(null),[{axis:d},c,u[d],u[h]])}),e.data.datasets.forEach(s=>{const c=s.type||e.type,d=s.indexAxis||hA(c,t),u=(rs[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=XN(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),Bl(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];Bl(c,[Fe.scales[c.type],Fe.scale])}),i}function pz(e){const t=e.options||(e.options={});t.plugins=ge(t.plugins,{}),t.scales=JN(e,t)}function yz(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function QN(e){return e=e||{},e.data=yz(e.data),pz(e),e}const fz=new Map,mz=new Set;function pS(e,t){let n=fz.get(e);return n||(n=t(),fz.set(e,n),mz.add(n)),n}const Ul=(e,t,n)=>{const o=as(t,n);o!==void 0&&e.add(o)};class eU{constructor(t){this._config=QN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=yz(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),pz(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return pS(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return pS(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return pS(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,o=this.type;return pS(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const o=this._scopeCache;let r=o.get(t);return(!r||n)&&(r=new Map,o.set(t,r)),r}getOptionScopes(t,n,o){const{options:r,type:i}=this,s=this._cachedScopes(t,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{t&&(d.add(t),u.forEach(p=>Ul(d,t,p))),u.forEach(p=>Ul(d,r,p)),u.forEach(p=>Ul(d,rs[i]||{},p)),u.forEach(p=>Ul(d,Fe,p)),u.forEach(p=>Ul(d,GI,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),mz.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:t,type:n}=this;return[t,rs[n]||{},Fe.datasets[n]||{},{type:n},Fe,GI]}resolveNamedOptions(t,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=kz(this._resolverCache,t,r);let d=s;if(aU(s,n)){i.$shared=!1,o=Va(o)?o():o;const h=this.createResolver(t,o,c);d=Ds(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(t,n,o=[""],r){const{resolver:i}=kz(this._resolverCache,t,o);return Me(n)?Ds(i,n,void 0,r):i}}function kz(e,t,n){let o=e.get(t);o||(o=new Map,e.set(t,o));const r=n.join();let i=o.get(r);return i||(i={resolver:YI(t,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const tU=e=>Me(e)&&Object.getOwnPropertyNames(e).some(t=>Va(e[t]));function aU(e,t){const{isScriptable:n,isIndexable:o}=x_(e);for(const r of t){const i=n(r),s=o(r),c=(s||i)&&e[r];if(i&&(Va(c)||tU(c))||s&&Ne(c))return!0}return!1}var nU="4.5.1";const oU=["top","bottom","left","right","chartArea"];function gz(e,t){return e==="top"||e==="bottom"||oU.indexOf(e)===-1&&t==="x"}function bz(e,t){return function(n,o){return n[e]===o[e]?n[t]-o[t]:n[e]-o[e]}}function xz(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),qe(n&&n.onComplete,[e],t)}function rU(e){const t=e.chart,n=t.options.animation;qe(n&&n.onProgress,[e],t)}function Mz(e){return eA()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const yS={},wz=e=>{const t=Mz(e);return Object.values(yS).filter(n=>n.canvas===t).pop()};function iU(e,t,n){const o=Object.keys(e);for(const r of o){const i=+r;if(i>=t){const s=e[r];delete e[r],(n>0||i>t)&&(e[i+n]=s)}}}function sU(e,t,n,o){return!n||e.type==="mouseout"?null:o?t:e}class ha{static register(...t){Kt.add(...t),vz()}static unregister(...t){Kt.remove(...t),vz()}constructor(t,n){const o=this.config=new eU(n),r=Mz(t),i=wz(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||LN(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=rF(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new NN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=CF(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],yS[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}ca.listen(this,"complete",xz),ca.listen(this,"progress",rU),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Ie(t)?n&&i?i:r?o/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Kt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():I_(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return k_(this.canvas,this.ctx),this}stop(){return ca.stop(this),this}resize(t,n){ca.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,t,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,I_(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),qe(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Ae(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const t=this.options,n=t.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=uA(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Ae(i,s=>{const c=s.options,d=c.id,h=uA(d,c),u=ge(c.type,s.dtype);(c.position===void 0||gz(c.position,h)!==gz(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Kt.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,t)}),Ae(r,(s,c)=>{s||delete o[c]}),Ae(o,s=>{bt.configure(this,s,s.options),bt.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,o=t.length;if(t.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);t.splice(n,o-n)}this._sortedMetasets=t.slice(0).sort(bz("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||hA(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Kt.getController(c),{datasetElementType:h,dataElementType:u}=Fe.datasets[c];Object.assign(d,{dataElementType:Kt.getElement(u),datasetElementType:h&&Kt.getElement(h)}),s.controller=new d(this,o),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){Ae(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Ae(i,h=>{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(bz("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Ae(this.scales,t=>{bt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(t.events);(!e_(n,o)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;iU(t,r,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(t.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!e_(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;bt.update(this,this.width,this.height,t);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Ae(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,Va(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const o=this.getDatasetMeta(t),r={meta:o,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ca.has(this)?this.attached&&!ca.running(this)&&ca.start(this):(this.draw(),xz({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!t||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,o={meta:t,index:t.index,cancelable:!0},r=T_(this,t);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&YL(n,r),t.controller.draw(),r&&JL(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return El(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,o,r){const i=oN.modes[n];return typeof i=="function"?i(this,t,o,r):[]}getDatasetMeta(t){const n=this.data.datasets[t],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=ss(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const o=this.getDatasetMeta(t);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(t,n){const o=this.getDatasetMeta(t);o.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(t),s=i.controller._resolveAnimations(void 0,r);Vl(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(t,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===t?r:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),ca.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),k_(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete yS[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),t[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Ae(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),t[d]=h},r=(d,h)=>{t[d]&&(n.removeEventListener(this,d,h),delete t[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Ae(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Ae(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=t.length;c<d;++c){s=t[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],o=t.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!GL(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(t,n,o){return this._plugins.notify(this,t,n,o)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,t),c=o?t:i(t,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(t,n){const o={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},r=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(t,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(t,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(t,r,o,s),d=hF(t),h=sU(t,this._lastEvent,o,d);o&&(this._lastEvent=null,qe(i.onHover,[t,c,this],this),d&&qe(i.onClick,[t,c,this],this));const u=!GL(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(t,n,o,r){if(t.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}le(ha,"defaults",Fe),le(ha,"instances",yS),le(ha,"overrides",rs),le(ha,"registry",Kt),le(ha,"version",nU),le(ha,"getChart",wz);function vz(){return Ae(ha.instances,e=>e._plugins.invalidate())}function lU(e,t,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=t,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,ht(o-n));if(e.beginPath(),e.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,ht(o-n));e.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*ht(o-n));if(u==="round")e.arc(r,i,y,n-Be/2,o+Be/2,!0);else if(u==="bevel"){const f=2*y*y,m=-f*Math.cos(n+Be/2)+r,k=-f*Math.sin(n+Be/2)+i,g=f*Math.cos(o+Be/2)+r,x=f*Math.sin(o+Be/2)+i;e.lineTo(m,k),e.lineTo(g,x)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function cU(e,t,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=t;let h=r/c;e.beginPath(),e.arc(i,s,c,o-h,n+h),d>r?(h=r/d,e.arc(i,s,d,n+h,o-h,!0)):e.arc(i,s,r,n+$e,o-$e),e.closePath(),e.clip()}function dU(e){return ZI(e,["outerStart","outerEnd","innerStart","innerEnd"])}function hU(e,t,n,o){const r=dU(e.options.borderRadius),i=(n-t)/2,s=Math.min(i,o*t/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ze(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ze(r.innerStart,0,s),innerEnd:Ze(r.innerEnd,0,s)}}function js(e,t,n,o){return{x:n+e*Math.cos(t),y:o+e*Math.sin(t)}}function fS(e,t,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=t,p=Math.max(t.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const m=r-d;if(o){const G=u>0?u-o:0,H=p>0?p-o:0,j=(G+H)/2,U=j!==0?m*j/(j+o):m;f=(m-U)/2}const k=Math.max(.001,m*p-n/Be)/p,g=(m-k)/2,x=d+g+f,C=r-g-f,{outerStart:w,outerEnd:b,innerStart:L,innerEnd:S}=hU(t,y,p,C-x),v=p-w,M=p-b,I=x+w/v,V=C-b/M,_=y+L,B=y+S,D=x+L/_,z=C-S/B;if(e.beginPath(),i){const G=(I+V)/2;if(e.arc(s,c,p,I,G),e.arc(s,c,p,G,V),b>0){const J=js(M,V,s,c);e.arc(J.x,J.y,b,V,C+$e)}const H=js(B,C,s,c);if(e.lineTo(H.x,H.y),S>0){const J=js(B,z,s,c);e.arc(J.x,J.y,S,C+$e,z+Math.PI)}const j=(C-S/y+(x+L/y))/2;if(e.arc(s,c,y,C-S/y,j,!0),e.arc(s,c,y,j,x+L/y,!0),L>0){const J=js(_,D,s,c);e.arc(J.x,J.y,L,D+Math.PI,x-$e)}const U=js(v,x,s,c);if(e.lineTo(U.x,U.y),w>0){const J=js(v,I,s,c);e.arc(J.x,J.y,w,x-$e,I)}}else{e.moveTo(s,c);const G=Math.cos(I)*p+s,H=Math.sin(I)*p+c;e.lineTo(G,H);const j=Math.cos(V)*p+s,U=Math.sin(V)*p+c;e.lineTo(j,U)}e.closePath()}function uU(e,t,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=t;let d=t.endAngle;if(i){fS(e,t,n,o,d,r);for(let h=0;h<i;++h)e.fill();isNaN(c)||(d=s+(c%Te||Te))}return fS(e,t,n,o,d,r),e.fill(),d}function pU(e,t,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=t,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,m=d.borderAlign==="inner";if(!h)return;e.setLineDash(p||[]),e.lineDashOffset=y,m?(e.lineWidth=h*2,e.lineJoin=u||"round"):(e.lineWidth=h,e.lineJoin=u||"bevel");let k=t.endAngle;if(i){fS(e,t,n,o,k,r);for(let g=0;g<i;++g)e.stroke();isNaN(c)||(k=s+(c%Te||Te))}m&&cU(e,t,k),d.selfJoin&&k-s>=Be&&f===0&&u!=="miter"&&lU(e,t,k),i||(fS(e,t,n,o,k,r),e.stroke())}class $l extends da{constructor(n){super();le(this,"circumference");le(this,"endAngle");le(this,"fullCircles");le(this,"innerRadius");le(this,"outerRadius");le(this,"pixelMargin");le(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=r_(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,m=ge(y,h-d),k=Pl(s,d,h)&&d!==h,g=m>=Te||k,x=la(c,u+f,p+f);return g&&x}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>Te?Math.floor(r/Te):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Be,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,uU(n,this,u,s,c),pU(n,this,u,s,c),n.restore()}}le($l,"id","arc"),le($l,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),le($l,"defaultRoutes",{backgroundColor:"backgroundColor"}),le($l,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Cz(e,t,n=t){e.lineCap=ge(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ge(n.borderDash,t.borderDash)),e.lineDashOffset=ge(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ge(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ge(n.borderWidth,t.borderWidth),e.strokeStyle=ge(n.borderColor,t.borderColor)}function yU(e,t,n){e.lineTo(n.x,n.y)}function fU(e){return e.stepped?HF:e.tension||e.cubicInterpolationMode==="monotone"?OF:yU}function Lz(e,t,n={}){const o=e.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=t,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:t.loop,ilen:h<d&&!u?o+h-d:h-d}}function mU(e,t,n,o){const{points:r,options:i}=t,{count:s,start:c,loop:d,ilen:h}=Lz(r,n,o),u=fU(i);let{move:p=!0,reverse:y}=o||{},f,m,k;for(f=0;f<=h;++f)m=r[(c+(y?h-f:f))%s],!m.skip&&(p?(e.moveTo(m.x,m.y),p=!1):u(e,k,m,y,i.stepped),k=m);return d&&(m=r[(c+(y?h:0))%s],u(e,k,m,y,i.stepped)),!!d}function kU(e,t,n,o){const r=t.points,{count:i,start:s,ilen:c}=Lz(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,m,k,g,x;const C=b=>(s+(h?c-b:b))%i,w=()=>{k!==g&&(e.lineTo(u,g),e.lineTo(u,k),e.lineTo(u,x))};for(d&&(f=r[C(0)],e.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[C(y)],f.skip)continue;const b=f.x,L=f.y,S=b|0;S===m?(L<k?k=L:L>g&&(g=L),u=(p*u+b)/++p):(w(),e.lineTo(b,L),m=S,p=0,k=g=L),x=L}w()}function pA(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?kU:mU}function gU(e){return e.stepped?kR:e.tension||e.cubicInterpolationMode==="monotone"?gR:ds}function bU(e,t,n,o){let r=t._path;r||(r=t._path=new Path2D,t.path(r,n,o)&&r.closePath()),Cz(e,t.options),e.stroke(r)}function xU(e,t,n,o){const{segments:r,options:i}=t,s=pA(t);for(const c of r)Cz(e,i,c.style),e.beginPath(),s(e,t,c,{start:n,end:n+o-1})&&e.closePath(),e.stroke()}const MU=typeof Path2D=="function";function wU(e,t,n,o){MU&&!t.options.segment?bU(e,t,n,o):xU(e,t,n,o)}class za extends da{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;cR(this._points,o,t,r,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=CR(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,o=t.length;return o&&n[t[o-1].end]}interpolate(t,n){const o=this.options,r=t[n],i=this.points,s=q_(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=gU(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],m=i[y];if(f===m){c.push(f);continue}const k=Math.abs((r-f[n])/(m[n]-f[n])),g=d(f,m,k,o.stepped);g[n]=t[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(t,n,o){return pA(this)(t,this,n,o)}path(t,n,o){const r=this.segments,i=pA(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(t,this,c,{start:n,end:n+o-1});return!!s}draw(t,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),wU(t,this,o,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}le(za,"id","line"),le(za,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),le(za,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),le(za,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function Sz(e,t,n,o){const r=e.options,{[n]:i}=e.getProps([n],o);return Math.abs(t-i)<r.radius+r.hitRadius}class mS extends da{constructor(n){super();le(this,"parsed");le(this,"skip");le(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return Sz(this,n,"x",o)}inYRange(n,o){return Sz(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!El(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,KI(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}le(mS,"id","point"),le(mS,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),le(mS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Iz(e,t){const{x:n,y:o,base:r,width:i,height:s}=e.getProps(["x","y","base","width","height"],t);let c,d,h,u,p;return e.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Pa(e,t,n,o){return e?0:Ze(t,n,o)}function vU(e,t,n){const o=e.options.borderWidth,r=e.borderSkipped,i=b_(o);return{t:Pa(r.top,i.top,0,n),r:Pa(r.right,i.right,0,t),b:Pa(r.bottom,i.bottom,0,n),l:Pa(r.left,i.left,0,t)}}function CU(e,t,n){const{enableBorderRadius:o}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,i=qs(r),s=Math.min(t,n),c=e.borderSkipped,d=o||Me(r);return{topLeft:Pa(!d||c.top||c.left,i.topLeft,0,s),topRight:Pa(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Pa(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Pa(!d||c.bottom||c.right,i.bottomRight,0,s)}}function LU(e){const t=Iz(e),n=t.right-t.left,o=t.bottom-t.top,r=vU(e,n/2,o/2),i=CU(e,n/2,o/2);return{outer:{x:t.left,y:t.top,w:n,h:o,radius:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function yA(e,t,n,o){const r=t===null,i=n===null,c=e&&!(r&&i)&&Iz(e,o);return c&&(r||la(t,c.left,c.right))&&(i||la(n,c.top,c.bottom))}function SU(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function IU(e,t){e.rect(t.x,t.y,t.w,t.h)}function fA(e,t,n={}){const o=e.x!==n.x?-t:0,r=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-o,s=(e.y+e.h!==n.y+n.h?t:0)-r;return{x:e.x+o,y:e.y+r,w:e.w+i,h:e.h+s,radius:e.radius}}class kS extends da{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=LU(this),c=SU(s.radius)?QL:IU;t.save(),(s.w!==i.w||s.h!==i.h)&&(t.beginPath(),c(t,fA(s,n,i)),t.clip(),c(t,fA(i,-n,s)),t.fillStyle=o,t.fill("evenodd")),t.beginPath(),c(t,fA(i,n)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,n,o){return yA(this,t,n,o)}inXRange(t,n){return yA(this,t,null,n)}inYRange(t,n){return yA(this,null,t,n)}getCenterPoint(t){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}le(kS,"id","bar"),le(kS,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),le(kS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function AU(e,t,n){const o=e.segments,r=e.points,i=t.points,s=[];for(const c of o){let{start:d,end:h}=c;h=gS(d,h,r);const u=mA(n,r[d],r[h],c.loop);if(!t.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=q_(t,u);for(const y of p){const f=mA(n,i[y.start],i[y.end],y.loop),m=P_(c,r,f);for(const k of m)s.push({source:k,target:y,start:{[n]:Az(u,f,"start",Math.max)},end:{[n]:Az(u,f,"end",Math.min)}})}}return s}function mA(e,t,n,o){if(o)return;let r=t[e],i=n[e];return e==="angle"&&(r=ht(r),i=ht(i)),{property:e,start:r,end:i}}function BU(e,t){const{x:n=null,y:o=null}=e||{},r=t.points,i=[];return t.segments.forEach(({start:s,end:c})=>{c=gS(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function gS(e,t,n){for(;t>e;t--){const o=n[t];if(!isNaN(o.x)&&!isNaN(o.y))break}return t}function Az(e,t,n,o){return e&&t?o(e[n],t[n]):e?e[n]:t?t[n]:0}function Bz(e,t){let n=[],o=!1;return Ne(e)?(o=!0,n=e):n=BU(e,t),n.length?new za({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function Vz(e){return e&&e.fill!==!1}function VU(e,t,n){let r=e[t].fill;const i=[t];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Ke(r))return r;if(s=e[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function _U(e,t,n){const o=DU(e);if(Me(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return Ke(r)&&Math.floor(r)===r?zU(o[0],t,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function zU(e,t,n,o){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=o?!1:n}function PU(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Me(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function qU(e,t,n){let o;return e==="start"?o=n:e==="end"?o=t.options.reverse?t.min:t.max:Me(e)?o=e.value:o=t.getBaseValue(),o}function DU(e){const t=e.options,n=t.fill;let o=ge(n&&n.target,n);return o===void 0&&(o=!!t.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function EU(e){const{scale:t,index:n,line:o}=e,r=[],i=o.segments,s=o.points,c=TU(t,n);c.push(Bz({x:null,y:t.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)HU(r,s[u],c)}return new za({points:r,options:{}})}function TU(e,t){const n=[],o=e.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function HU(e,t,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=OU(i,t,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(e.push(d),!c)break}}e.push(...o)}function OU(e,t,n){const o=e.interpolate(t,n);if(!o)return{};const r=o[n],i=e.segments,s=e.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(la(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class _z{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:Te},t.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(t){const{x:n,y:o,radius:r}=this,i=t.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function jU(e){const{chart:t,fill:n,line:o}=e;if(Ke(n))return FU(t,n);if(n==="stack")return EU(e);if(n==="shape")return!0;const r=RU(e);return r instanceof _z?r:Bz(r,o)}function FU(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function RU(e){return(e.scale||{}).getPointPositionForValue?UU(e):NU(e)}function NU(e){const{scale:t={},fill:n}=e,o=PU(n,t);if(Ke(o)){const r=t.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function UU(e){const{scale:t,fill:n}=e,o=t.options,r=t.getLabels().length,i=o.reverse?t.max:t.min,s=qU(n,t,i),c=[];if(o.grid.circular){const d=t.getPointPositionForValue(0,i);return new _z({x:d.x,y:d.y,radius:t.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(t.getPointPositionForValue(d,s));return c}function kA(e,t,n){const o=jU(t),{chart:r,index:i,line:s,scale:c,axis:d}=t,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},m=r.getDatasetMeta(i),k=T_(r,m);o&&s.points.length&&(YL(e,n),$U(e,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:k}),JL(e))}function $U(e,t){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=t,h=n._loop?"angle":t.axis;e.save();let u=i;i!==r&&(h==="x"?(zz(e,o,s.top),gA(e,{line:n,target:o,color:r,scale:c,property:h,clip:d}),e.restore(),e.save(),zz(e,o,s.bottom)):h==="y"&&(Pz(e,o,s.left),gA(e,{line:n,target:o,color:i,scale:c,property:h,clip:d}),e.restore(),e.save(),Pz(e,o,s.right),u=r)),gA(e,{line:n,target:o,color:u,scale:c,property:h,clip:d}),e.restore()}function zz(e,t,n){const{segments:o,points:r}=t;let i=!0,s=!1;e.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[gS(d,h,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(u.x,n),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,c,{move:s}),s?e.closePath():e.lineTo(p.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Pz(e,t,n){const{segments:o,points:r}=t;let i=!0,s=!1;e.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[gS(d,h,r)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(n,u.y),e.lineTo(u.x,u.y)),s=!!t.pathSegment(e,c,{move:s}),s?e.closePath():e.lineTo(n,p.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function gA(e,t){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=t,d=AU(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,m=o!==!0;e.save(),e.fillStyle=f,WU(e,s,c,m&&mA(r,p,y)),e.beginPath();const k=!!n.pathSegment(e,h);let g;if(m){k?e.closePath():qz(e,o,y,r);const x=!!o.pathSegment(e,u,{move:k,reverse:!0});g=k&&x,g||qz(e,o,p,r)}e.closePath(),e.fill(g?"evenodd":"nonzero"),e.restore()}}function WU(e,t,n,o){const r=t.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),e.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),e.rect(d,h,u-d,p-h),e.clip()}}function qz(e,t,n,o){const r=t.interpolate(n,o);r&&e.lineTo(r.x,r.y)}var GU={id:"filler",afterDatasetsUpdate(e,t,n){const o=(e.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=e.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof za&&(d={visible:e.isDatasetVisible(s),index:s,fill:_U(c,s,o),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=VU(r,s,n.propagate))},beforeDraw(e,t,n){const o=n.drawTime==="beforeDraw",r=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&kA(e.ctx,c,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=e.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;Vz(i)&&kA(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const o=t.meta.$filler;!Vz(o)||n.drawTime!=="beforeDatasetDraw"||kA(e.ctx,o,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Dz=(e,t)=>{let{boxHeight:n=t,boxWidth:o=t}=e;return e.usePointStyle&&(n=Math.min(n,t),o=e.pointStyleWidth||Math.min(o,t)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(t,n)}},XU=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class Ez extends da{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,o){this.maxWidth=t,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=qe(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(o=>t.filter(o,this.chart.data))),t.sort&&(n=n.sort((o,r)=>t.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const o=t.labels,r=Je(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=Dz(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=t;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((m,k)=>{const g=o+n/2+i.measureText(m.text).width;(k===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(k>0?0:1)]=0,f+=u,y++),d[k]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(t,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-t;let p=c,y=0,f=0,m=0,k=0;return this.legendItems.forEach((g,x)=>{const{itemWidth:C,itemHeight:w}=KU(o,n,i,g,r);x>0&&f+w+2*c>u&&(p+=y+c,h.push({width:y,height:f}),m+=y+c,k++,y=f=0),d[x]={left:m,top:f,col:k,width:C,height:w},y=Math.max(y,C),f+=w+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=Ts(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=Ye(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=Ye(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+t+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=Ye(o,this.top+t+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=Ye(o,this.top+t+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;YL(t,this),this._draw(),JL(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=t,c=Fe.color,d=Ts(t.rtl,this.left,this.width),h=Je(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:m,boxHeight:k,itemHeight:g}=Dz(s,p),x=function(S,v,M){if(isNaN(m)||m<=0||isNaN(k)||k<0)return;r.save();const I=ge(M.lineWidth,1);if(r.fillStyle=ge(M.fillStyle,c),r.lineCap=ge(M.lineCap,"butt"),r.lineDashOffset=ge(M.lineDashOffset,0),r.lineJoin=ge(M.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=ge(M.strokeStyle,c),r.setLineDash(ge(M.lineDash,[])),s.usePointStyle){const V={radius:k*Math.SQRT2/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:I},_=d.xPlus(S,m/2),B=v+y;g_(r,V,_,B,s.pointStyleWidth&&m)}else{const V=v+Math.max((p-k)/2,0),_=d.leftForLtr(S,m),B=qs(M.borderRadius);r.beginPath(),Object.values(B).some(D=>D!==0)?QL(r,{x:_,y:V,w:m,h:k,radius:B}):r.rect(_,V,m,k),r.fill(),I!==0&&r.stroke()}r.restore()},C=function(S,v,M){Tl(r,M.text,S,v+g/2,h,{strikethrough:M.hidden,textAlign:d.textAlign(M.textAlign)})},w=this.isHorizontal(),b=this._computeTitleHeight();w?f={x:Ye(i,this.left+u,this.right-o[0]),y:this.top+u+b,line:0}:f={x:this.left+u,y:Ye(i,this.top+b+u,this.bottom-n[0].height),line:0},B_(this.ctx,t.textDirection);const L=g+u;this.legendItems.forEach((S,v)=>{r.strokeStyle=S.fontColor,r.fillStyle=S.fontColor;const M=r.measureText(S.text).width,I=d.textAlign(S.textAlign||(S.textAlign=s.textAlign)),V=m+y+M;let _=f.x,B=f.y;d.setWidth(this.width),w?v>0&&_+V+u>this.right&&(B=f.y+=L,f.line++,_=f.x=Ye(i,this.left+u,this.right-o[f.line])):v>0&&B+L>this.bottom&&(_=f.x=_+n[f.line].width+u,f.line++,B=f.y=Ye(i,this.top+b+u,this.bottom-n[f.line].height));const D=d.x(_);if(x(D,B,S),_=LF(I,_+m+y,w?_+V:this.right,t.rtl),C(d.x(_),B,S),w)f.x+=V+u;else if(typeof S.text!="string"){const z=h.lineHeight;f.y+=Tz(S,z)+u}else f.y+=L}),V_(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,o=Je(n.font),r=gt(n.padding);if(!n.display)return;const i=Ts(t.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=Ye(t.align,p,this.right-y);else{const m=this.columnSizes.reduce((k,g)=>Math.max(k,g.height),0);u=h+Ye(t.align,this.top,this.bottom-m-t.labels.padding-this._computeTitleHeight())}const f=Ye(c,p,p+y);s.textAlign=i.textAlign(NI(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,Tl(s,n.text,f,u,o)}_computeTitleHeight(){const t=this.options.title,n=Je(t.font),o=gt(t.padding);return t.display?n.lineHeight+o.height:0}_getLegendItemAt(t,n){let o,r,i;if(la(t,this.left,this.right)&&la(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],la(t,r.left,r.left+r.width)&&la(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(t){const n=this.options;if(!JU(t.type,n))return;const o=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,i=XU(r,o);r&&!i&&qe(n.onLeave,[t,r,this],this),this._hoveredItem=o,o&&!i&&qe(n.onHover,[t,o,this],this)}else o&&qe(n.onClick,[t,o,this],this)}}function KU(e,t,n,o,r){const i=ZU(o,e,t,n),s=YU(r,o,t.lineHeight);return{itemWidth:i,itemHeight:s}}function ZU(e,t,n,o){let r=e.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),t+n.size/2+o.measureText(r).width}function YU(e,t,n){let o=e;return typeof t.text!="string"&&(o=Tz(t,n)),o}function Tz(e,t){const n=e.text?e.text.length:0;return t*n}function JU(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var QU={id:"legend",_element:Ez,start(e,t,n){const o=e.legend=new Ez({ctx:e.ctx,options:n,chart:e});bt.configure(e,o,n),bt.addBox(e,o)},stop(e){bt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const o=e.legend;bt.configure(e,o,n),o.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const o=t.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),t.hidden=!0):(r.show(o),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return e._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=gt(h.borderWidth);return{text:t[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Hz extends da{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const r=Ne(o.text)?o.text.length:1;this._padding=gt(o.padding);const i=r*Je(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=Ye(c,o,i),p=n+t,h=i-o):(s.position==="left"?(u=o+t,p=Ye(c,r,n),d=Be*-.5):(u=i-t,p=Ye(c,n,r),d=Be*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const o=Je(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);Tl(t,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:NI(n.align),textBaseline:"middle",translation:[s,c]})}}function e$(e,t){const n=new Hz({ctx:e.ctx,options:t,chart:e});bt.configure(e,n,t),bt.addBox(e,n),e.titleBlock=n}var t$={id:"title",_element:Hz,start(e,t,n){e$(e,n)},stop(e){const t=e.titleBlock;bt.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const o=e.titleBlock;bt.configure(e,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Wl={average(e){if(!e.length)return!1;let t,n,o=new Set,r=0,i=0;for(t=0,n=e.length;t<n;++t){const c=e[t].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,o=t.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=e.length;i<s;++i){const d=e[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=FI(t,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Zt(e,t){return t&&(Ne(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function ua(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
8518
8518
|
`)>-1?e.split(`
|
|
8519
|
-
`):e}function a$(e,t){const{element:n,datasetIndex:o,index:r}=t,i=e.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:e,label:s,parsed:i.getParsed(r),raw:e.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function Oz(e,t){const n=e.chart.ctx,{body:o,footer:r,title:i}=e,{boxWidth:s,boxHeight:c}=t,d=Je(t.bodyFont),h=Je(t.titleFont),u=Je(t.footerFont),p=i.length,y=r.length,f=o.length,m=kt(t.padding);let k=m.height,g=0,x=o.reduce((b,L)=>b+L.before.length+L.lines.length+L.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*h.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const b=t.displayColors?Math.max(c,d.lineHeight):d.lineHeight;k+=f*b+(x-f)*d.lineHeight+(x-1)*t.bodySpacing}y&&(k+=t.footerMarginTop+y*u.lineHeight+(y-1)*t.footerSpacing);let C=0;const w=function(b){g=Math.max(g,n.measureText(b).width+C)};return n.save(),n.font=h.string,Ie(e.title,w),n.font=d.string,Ie(e.beforeBody.concat(e.afterBody),w),C=t.displayColors?s+2+t.boxPadding:0,Ie(o,b=>{Ie(b.before,w),Ie(b.lines,w),Ie(b.after,w)}),C=0,n.font=u.string,Ie(e.footer,w),n.restore(),g+=m.width,{width:g,height:k}}function n$(e,t){const{y:n,height:o}=t;return n<o/2?"top":n>e.height-o/2?"bottom":"center"}function o$(e,t,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(e==="left"&&r+i+s>t.width||e==="right"&&r-i-s<0)return!0}function r$(e,t,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=e;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),o$(h,e,t,n)&&(h="center"),h}function jz(e,t,n){const o=n.yAlign||t.yAlign||n$(e,n);return{xAlign:n.xAlign||t.xAlign||r$(e,t,n,o),yAlign:o}}function i$(e,t){let{x:n,width:o}=e;return t==="right"?n-=o:t==="center"&&(n-=o/2),n}function s$(e,t,n){let{y:o,height:r}=e;return t==="top"?o+=n:t==="bottom"?o-=r+n:o-=r/2,o}function Fz(e,t,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=e,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=qs(s);let m=i$(t,c);const k=s$(t,d,h);return d==="center"?c==="left"?m+=h:c==="right"&&(m-=h):c==="left"?m-=Math.max(u,y)+r:c==="right"&&(m+=Math.max(p,f)+r),{x:Ze(m,0,o.width-t.width),y:Ze(k,0,o.height-t.height)}}function bS(e,t,n){const o=kt(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-o.right:e.x+o.left}function Rz(e){return Kt([],ua(e))}function l$(e,t,n){return ss(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Nz(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Uz={beforeTitle:ia,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(o>0&&t.dataIndex<o)return n[t.dataIndex]}return""},afterTitle:ia,beforeBody:ia,beforeLabel:ia,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Se(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:ia,afterBody:ia,beforeFooter:ia,footer:ia,afterFooter:ia};function ot(e,t,n,o){const r=e[t].call(n,o);return typeof r>"u"?Uz[t].call(n,o):r}class bA extends da{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new O_(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=l$(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:o}=n,r=ot(o,"beforeTitle",this,t),i=ot(o,"title",this,t),s=ot(o,"afterTitle",this,t);let c=[];return c=Kt(c,ua(r)),c=Kt(c,ua(i)),c=Kt(c,ua(s)),c}getBeforeBody(t,n){return Rz(ot(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:o}=n,r=[];return Ie(t,i=>{const s={before:[],lines:[],after:[]},c=Nz(o,i);Kt(s.before,ua(ot(c,"beforeLabel",this,i))),Kt(s.lines,ot(c,"label",this,i)),Kt(s.after,ua(ot(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(t,n){return Rz(ot(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:o}=n,r=ot(o,"beforeFooter",this,t),i=ot(o,"footer",this,t),s=ot(o,"afterFooter",this,t);let c=[];return c=Kt(c,ua(r)),c=Kt(c,ua(i)),c=Kt(c,ua(s)),c}_createItems(t){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(a$(this.chart,n[d]));return t.filter&&(c=c.filter((u,p,y)=>t.filter(u,p,y,o))),t.itemSort&&(c=c.sort((u,p)=>t.itemSort(u,p,o))),Ie(c,u=>{const p=Nz(t.callbacks,u);r.push(ot(p,"labelColor",this,u)),i.push(ot(p,"labelPointStyle",this,u)),s.push(ot(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(t,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=Wl[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=Oz(this,o),h=Object.assign({},c,d),u=jz(this.chart,o,h),p=Fz(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,o,r){const i=this.getCaretPosition(t,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=qs(c),{x:y,y:f}=t,{width:m,height:k}=n;let g,x,C,w,b,L;return i==="center"?(b=f+k/2,r==="left"?(g=y,x=g-s,w=b+s,L=b-s):(g=y+m,x=g+s,w=b-s,L=b+s),C=g):(r==="left"?x=y+Math.max(d,u)+s:r==="right"?x=y+m-Math.max(h,p)-s:x=this.caretX,i==="top"?(w=f,b=w-s,g=x-s,C=x+s):(w=f+k,b=w+s,g=x+s,C=x-s),L=w),{x1:g,x2:x,x3:C,y1:w,y2:b,y3:L}}drawTitle(t,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=Ts(o.rtl,this.x,this.width);for(t.x=bS(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Je(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+c,d+1===i&&(t.y+=o.titleMarginBottom-c)}}_drawColorBox(t,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Je(i.bodyFont),p=bS(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,m=n.y+f;if(i.usePointStyle){const k={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,x=m+d/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,KI(t,k,g,x),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,KI(t,k,g,x)}else{t.lineWidth=Me(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const k=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),x=qs(s.borderRadius);Object.values(x).some(C=>C!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,QL(t,{x:k,y:m,w:h,h:d,radius:x}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),QL(t,{x:g,y:m+1,w:h-2,h:d-2,radius:x}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(k,m,h,d),t.strokeRect(k,m,h,d),t.fillStyle=s.backgroundColor,t.fillRect(g,m+1,h-2,d-2))}t.fillStyle=this.labelTextColors[o]}drawBody(t,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Je(o.bodyFont);let y=p.lineHeight,f=0;const m=Ts(o.rtl,this.x,this.width),k=function(M){n.fillText(M,m.x(t.x+f),t.y+y/2),t.y+=y+i},g=m.textAlign(s);let x,C,w,b,L,S,v;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,t.x=bS(this,g,o),n.fillStyle=o.bodyColor,Ie(this.beforeBody,k),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,b=0,S=r.length;b<S;++b){for(x=r[b],C=this.labelTextColors[b],n.fillStyle=C,Ie(x.before,k),w=x.lines,c&&w.length&&(this._drawColorBox(n,t,b,m,o),y=Math.max(p.lineHeight,d)),L=0,v=w.length;L<v;++L)k(w[L]),y=p.lineHeight;Ie(x.after,k)}f=0,y=p.lineHeight,Ie(this.afterBody,k),t.y-=i}drawFooter(t,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=Ts(o.rtl,this.x,this.width);for(t.x=bS(this,o.footerAlign,o),t.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Je(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+o.footerSpacing}}drawBackground(t,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=t,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:m}=qs(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(t,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(t,n,o,r),n.lineTo(c+h,d+u-m),n.quadraticCurveTo(c+h,d+u,c+h-m,d+u),s==="bottom"&&this.drawCaret(t,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(t,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=Wl[t.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=Oz(this,t),d=Object.assign({},s,this._size),h=jz(n,t,d),u=Fz(t,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=kt(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(t.save(),t.globalAlpha=o,this.drawBackground(i,t,r,n),B_(t,n.textDirection),i.y+=s.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),V_(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const o=this._active,r=t.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!GL(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(t,i,n,o),c=this._positionChanged(s,t),d=n||!GL(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),d}_getActiveElements(t,n,o,r){const i=this.options;if(t.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:o,caretY:r,options:i}=this,s=Wl[i.position].call(this,t,n);return s!==!1&&(o!==s.x||r!==s.y)}}le(bA,"positioners",Wl);var c$={id:"tooltip",_element:bA,positioners:Wl,afterInit(e,t,n){n&&(e.tooltip=new bA({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Uz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const d$=(e,t,n,o)=>(typeof t=="string"?(n=e.push(t)-1,o.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function h$(e,t,n,o){const r=e.indexOf(t);if(r===-1)return d$(e,t,n,o);const i=e.lastIndexOf(t);return r!==i?n:r}const u$=(e,t)=>e===null?null:Ze(Math.round(e),0,t);function $z(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class xA extends Os{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Se(t))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===t?n:h$(o,t,ge(n,t),this._addedLabels),u$(n,o.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const t=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=t;s<=n;s++)r.push({value:s});return r}getLabelForValue(t){return $z.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}le(xA,"id","category"),le(xA,"defaults",{ticks:{callback:$z}});function p$(e,t){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=e,f=i||1,m=u-1,{min:k,max:g}=t,x=!Se(s),C=!Se(c),w=!Se(h),b=(g-k)/(p+1);let L=n_((g-k)/m/f)*f,S,v,M,I;if(L<1e-14&&!x&&!C)return[{value:k},{value:g}];I=Math.ceil(g/L)-Math.floor(k/L),I>m&&(L=n_(I*L/m/f)*f),Se(d)||(S=Math.pow(10,d),L=Math.ceil(L*S)/S),r==="ticks"?(v=Math.floor(k/L)*L,M=Math.ceil(g/L)*L):(v=k,M=g),x&&C&&i&&mF((c-s)/i,L/1e3)?(I=Math.round(Math.min((c-s)/L,u)),L=(c-s)/I,v=s,M=c):w?(v=x?s:v,M=C?c:M,I=h-1,L=(M-v)/I):(I=(M-v)/L,_l(I,Math.round(I),L/1e3)?I=Math.round(I):I=Math.ceil(I));const V=Math.max(o_(L),o_(v));S=Math.pow(10,Se(d)?V:d),v=Math.round(v*S)/S,M=Math.round(M*S)/S;let _=0;for(x&&(y&&v!==s?(n.push({value:s}),v<s&&_++,_l(Math.round((v+_*L)*S)/S,s,Wz(s,b,e))&&_++):v<s&&_++);_<I;++_){const B=Math.round((v+_*L)*S)/S;if(C&&B>c)break;n.push({value:B})}return C&&y&&M!==c?n.length&&_l(n[n.length-1].value,c,Wz(c,b,e))?n[n.length-1].value=c:n.push({value:c}):(!C||M===c)&&n.push({value:M}),n}function Wz(e,t,{horizontal:n,minRotation:o}){const r=sa(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/i,s)}class y$ extends Os{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Se(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(t){const d=Gt(r),h=Gt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),t||s(r-d)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=t,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=p$(r,i);return t.bounds==="ticks"&&kF(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&t.length){const r=(o-n)/Math.max(t.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(t){return WI(t,this.chart.options.locale,this.options.ticks.format)}}class MA extends y${determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Ke(t)?t:0,this.max=Ke(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,o=sa(this.options.ticks.minRotation),r=(t?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}le(MA,"id","linear"),le(MA,"defaults",{ticks:{callback:f_.formatters.numeric}});const xS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},rt=Object.keys(xS);function Gz(e,t){return e-t}function Xz(e,t){if(Se(t))return null;const n=e._adapter,{parser:o,round:r,isoWeekday:i}=e._parseOpts;let s=t;return typeof o=="function"&&(s=o(s)),Ke(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(zl(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function Kz(e,t,n,o){const r=rt.length;for(let i=rt.indexOf(e);i<r-1;++i){const s=xS[rt[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(c*s.size))<=o)return rt[i]}return rt[r-1]}function f$(e,t,n,o,r){for(let i=rt.length-1;i>=rt.indexOf(n);i--){const s=rt[i];if(xS[s].common&&e._adapter.diff(r,o,s)>=t-1)return s}return rt[n?rt.indexOf(n):0]}function m$(e){for(let t=rt.indexOf(e)+1,n=rt.length;t<n;++t)if(xS[rt[t]].common)return rt[t]}function Zz(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:o,hi:r}=RI(n,t),i=n[o]>=t?n[o]:n[r];e[i]=!0}}function k$(e,t,n,o){const r=e._adapter,i=+r.startOf(t[0].value,o),s=t[t.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(t[d].major=!0);return t}function Yz(e,t,n){const o=[],r={},i=t.length;let s,c;for(s=0;s<i;++s)c=t[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:k$(e,o,r,n)}class MS extends Os{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const o=t.time||(t.time={}),r=this._adapter=new QR._date(t.adapters.date);r.init(n),Bl(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:Xz(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,o=t.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=Ke(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=Ke(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],o=t[t.length-1]),{min:n,max:o}}buildTicks(){const t=this.options,n=t.time,o=t.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=wF(r,i,s);return this._unit=n.unit||(o.autoSkip?Kz(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):f$(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:m$(this._unit),this.initOffsets(r),t.reverse&&c.reverse(),Yz(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,o=0,r,i;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?n=1-r:n=(this.getDecimalForValue(t[1])-r)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?o=i:o=(i-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=Ze(n,0,s),o=Ze(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const t=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||Kz(i.minUnit,n,o,this._getLabelCapacity(n)),c=ge(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=zl(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+t.startOf(p,"isoWeek",d)),p=+t.startOf(p,h?"day":s),t.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const m=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+t.add(y,c,s),f++)Zz(u,y,m);return(y===o||r.bounds==="ticks"||f===1)&&Zz(u,y,m),Object.keys(u).sort(Gz).map(k=>+k)}getLabelForValue(t){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(t,o.tooltipFormat):n.format(t,o.displayFormats.datetime)}format(t,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(t,s)}_tickFormatFunction(t,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return qe(s,[t,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(t,r||(f?p:u))}generateTickLabels(t){let n,o,r;for(n=0,o=t.length;n<o;++n)r=t[n],r.label=this._tickFormatFunction(r.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,o=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(t){const n=this._offsets,o=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,o=this.ctx.measureText(t).width,r=sa(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(t){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(t,0,Yz(this,[t],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let t=this._cache.data||[],n,o;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)t=t.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,o;if(t.length)return t;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)t.push(Xz(this,r[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return l_(t.sort(Gz))}}le(MS,"id","time"),le(MS,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function wS(e,t,n){let o=0,r=e.length-1,i,s,c,d;n?(t>=e[o].pos&&t<=e[r].pos&&({lo:o,hi:r}=os(e,"pos",t)),{pos:i,time:c}=e[o],{pos:s,time:d}=e[r]):(t>=e[o].time&&t<=e[r].time&&({lo:o,hi:r}=os(e,"time",t)),{time:i,pos:c}=e[o],{time:s,pos:d}=e[r]);const h=s-i;return h?c+(d-c)*(t-i)/h:c}class Jz extends MS{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=wS(n,this.min),this._tableRange=wS(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=t.length;s<c;++s)h=t[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const t=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(t)||!o.length)&&o.splice(0,0,t),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?t=this.normalize(n.concat(o)):t=n.length?n:o,t=this._cache.all=t,t}getDecimalForValue(t){return(wS(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,o=this.getDecimalForPixel(t)/n.factor-n.end;return wS(this._table,o*this._tableRange+this._minPos,!0)}}le(Jz,"id","timeseries"),le(Jz,"defaults",MS.defaults);const g$={key:0,class:"mb-2 text-sm font-medium text-gray-700"},b$={key:0,class:"text-red-500 ml-1"},x$={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},M$={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},w$={class:"text-red-600 text-sm"},v$={key:1,class:"mt-2 text-xs text-gray-500"},C$={key:0},Qz=$t(a.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(e,{expose:t,emit:n}){ha.register(xA,MA,mS,za,kS,$l,t$,c$,QU,GU,iS,rS,iA,Hs);const o=e,r=n,i=a.ref(null),s=a.shallowRef(null),c=a.ref(null),d=a.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),h=()=>{const y=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:f=>{let m=0;return f.type==="data"&&f.mode==="default"&&(m=f.dataIndex*100+f.datasetIndex*50),m},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:y?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:y?"#1F2937":"#FFFFFF",titleColor:y?"#F3F4F6":"#111827",bodyColor:y?"#D1D5DB":"#4B5563",borderColor:y?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}},y:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}}}:void 0}},u=y=>!y||!y.datasets?y:{...y,datasets:y.datasets.map((f,m)=>{const k=m%o.colors.length,g=o.colors[k];let x=f.backgroundColor,C=f.borderColor;return["pie","doughnut","polarArea"].includes(o.type)&&(!x||x.length===0)?f.data&&(x=f.data.map((w,b)=>o.colors[b%o.colors.length]+"80"),C=f.data.map((w,b)=>o.colors[b%o.colors.length])):(x=x||g+"40",C=C||g),{...f,borderColor:C,backgroundColor:x,pointBackgroundColor:f.pointBackgroundColor||g,pointBorderColor:f.pointBorderColor||g,hoverBackgroundColor:f.hoverBackgroundColor||g+"60",hoverBorderColor:f.hoverBorderColor||g}})},p=async()=>{if(!i.value)return;await a.nextTick(),s.value&&s.value.destroy();const y=o.data||o.modelValue;let f=y;if(Array.isArray(y))if(y.length>0&&typeof y[0]=="object"&&y[0]!==null){const k=Object.keys(y[0]),g=k.find(C=>["label","name","x","category","title"].includes(C.toLowerCase()))||k[0],x=k.find(C=>C!==g&&["value","y","count","amount","total","data"].includes(C.toLowerCase()))||k.find(C=>C!==g&&typeof y[0][C]=="number")||(k.length>1?k.find(C=>C!==g):k[0]);f={labels:y.map(C=>C[g||""]),datasets:[{label:o.label||"Data",data:y.map(C=>C[x||""])}]}}else y.length>0?f={labels:y.map((k,g)=>`Data ${g+1}`),datasets:[{label:o.label||"Data",data:y}]}:f={labels:[],datasets:[]};if(c.value=u(f),!c.value)return;const m={...h(),...o.options,onClick:(k,g)=>{r("click",k,g),o.onClick&&o.onClick(k,g)},onHover:(k,g)=>{r("hover",k,g),o.onHover&&o.onHover(k,g)}};s.value=new ha(i.value,{type:o.type,data:c.value,options:m}),r("ready",s.value)};return a.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{p()},{deep:!0}),a.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),a.onMounted(()=>{p()}),a.onUnmounted(()=>{s.value&&s.value.destroy()}),t({chart:s,updateChart:p}),(y,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-code-chart",d.value])},[e.label?(a.openBlock(),a.createElementBlock("div",g$,[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",b$,"*")):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"relative",style:a.normalizeStyle({height:e.height+"px"})},[a.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),e.loading?(a.openBlock(),a.createElementBlock("div",x$,[...f[0]||(f[0]=[a.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):a.createCommentVNode("",!0),e.error?(a.openBlock(),a.createElementBlock("div",M$,[a.createElementVNode("div",w$,a.toDisplayString(e.error),1)])):a.createCommentVNode("",!0)],4),e.showInfo&&c.value?(a.openBlock(),a.createElementBlock("div",v$,[c.value.datasets?(a.openBlock(),a.createElementBlock("div",C$,a.toDisplayString(c.value.datasets.length)+" dataset(s) • "+a.toDisplayString(c.value.labels?c.value.labels.length:0)+" data points ",1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-b1c7c58f"]]),qa=a.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(JH),a.mergeProps(a.unref(n),{class:a.unref(xe)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),L$=["aria-busy"],S$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},I$={key:1,class:"flex items-center gap-2.5"},A$=["id","checked","indeterminate","disabled","required"],B$={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},Gl=$t(a.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>n.label),s=a.computed(()=>n.placeholder),c=a.computed(()=>n.title),d=a.computed(()=>r.visible??!0),h=a.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=a.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=a.ref(!!r.modelValue);a.watch(()=>r.modelValue,k=>{y.value=!!k},{immediate:!0});const f=()=>{if(r.disabled)return;const k=!y.value;y.value=k,o("update:modelValue",k)},m=k=>{(k.key===" "||k.key==="Enter")&&(k.preventDefault(),f())};return(k,g)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["",[a.unref(n).class,{"opacity-60 cursor-not-allowed":e.disabled}]]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",S$)):a.createCommentVNode("",!0),g[0]||(g[0]=a.createElementVNode("div",{class:"flex items-center gap-2.5"},[a.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),a.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(a.openBlock(),a.createElementBlock("div",I$,[a.createElementVNode("label",{class:a.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!e.disabled,"opacity-50 cursor-not-allowed":e.disabled}])},[a.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:e.indeterminate,disabled:e.disabled,required:h.value,onChange:f,onKeydown:m},null,40,A$),a.createElementVNode("div",{class:a.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||e.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",e.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!e.indeterminate?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):e.indeterminate?(a.openBlock(),a.createBlock(a.unref(cl),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):a.createCommentVNode("",!0)],2),s.value||c.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[e.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},a.toDisplayString(s.value||c.value),3)):a.createCommentVNode("",!0)],2),i.value?(a.openBlock(),a.createBlock(qa,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",B$," * ")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0)]))],10,L$)),[[a.vShow,d.value]])}}),[["__scopeId","data-v-938d0f92"]]),V$=["aria-busy"],_$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},z$={key:1,class:"flex justify-end"},P$=["for"],q$={key:0,class:"ml-1 text-destructive"},D$={class:"relative w-full group"},E$={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},T$={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},H$=["id","disabled","readonly","placeholder","maxlength"],O$={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},j$={key:1,class:"flex items-center gap-1 text-xs text-destructive"},eP=a.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=a.computed(()=>{const _=n.required,B=n["aria-required"];return _===""||_===!0||_==="true"||(B==="true"||B===!0)}),d=a.computed(()=>{const _=n.maxlength??n.maxLength;let B=Number.NaN;return typeof _=="number"?B=_:typeof _=="string"&&(B=Number.parseInt(_,10)),Number.isFinite(B)&&B>0?B:void 0}),h=a.computed(()=>r.locale?r.locale:"en-US"),u=a.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=a.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=_=>{const B=_.replaceAll(/\D/g,"");return B?Number(B):null},f=_=>p.value.format(_),m=a.ref(""),k=a.ref(null);a.watch(()=>r.modelValue,_=>{_==null?m.value="":y(m.value)!==_&&(m.value=f(_))},{immediate:!0});const g=(_,B)=>{let D=0;for(let z=0;z<B;z++)/\d/.test(_[z])&&D++;return D},x=(_,B)=>{let D=0;for(let z=0;z<_.length;z++)if(/\d/.test(_[z])&&(D++,D===B))return z+1;return _.length},C=_=>{const B=_.target,D=B.value,z=B.selectionStart??D.length,G=y(D);if(G===null){m.value="",o("update:modelValue",null);return}const H=f(G);if(D!==H){const O=g(D,z);m.value=H,a.nextTick(()=>{if(k.value){const U=x(H,O);k.value.setSelectionRange(U,U)}})}o("update:modelValue",G)},w=()=>{m.value="",o("update:modelValue",null),o("clear")},b=a.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?m.value.length>0:!0),L=a.computed(()=>!!r.error),S=a.computed(()=>{const{class:_,maxlength:B,maxLength:D,...z}=n;return z}),v=a.computed(()=>m.value.length),M=a.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=a.computed(()=>M.value&&v.value>0),V=a.computed(()=>`${v.value} / ${d.value}`);return(_,B)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1.5 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",_$)):a.createCommentVNode("",!0),B[2]||(B[2]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),M.value?(a.openBlock(),a.createElementBlock("div",z$,[...B[1]||(B[1]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",q$,"*")):a.createCommentVNode("",!0)],8,P$)):a.createCommentVNode("",!0),a.createElementVNode("div",D$,[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",L.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[a.createElementVNode("div",E$,[a.createElementVNode("span",T$,a.toDisplayString(u.value),1)]),a.withDirectives(a.createElementVNode("input",a.mergeProps({id:s.value,ref_key:"inputRef",ref:k,"onUpdate:modelValue":B[0]||(B[0]=D=>m.value=D),onInput:C,type:"text",inputmode:"numeric"},S.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",b.value?"pr-8":""]}),null,16,H$),[[a.vModelText,m.value]]),b.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:w},[a.createVNode(a.unref(ut),{class:"w-3.5 h-3.5"})])):a.createCommentVNode("",!0)],2),I.value&&!L.value?(a.openBlock(),a.createElementBlock("p",O$,a.toDisplayString(V.value),1)):a.createCommentVNode("",!0)]),L.value?(a.openBlock(),a.createElementBlock("p",j$,[a.createVNode(a.unref(qt),{class:"w-3.5 h-3.5 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(r.error),1)])):a.createCommentVNode("",!0)],64))],10,V$))}}),tP=6048e5,F$=864e5,aP=Symbol.for("constructDateFrom");function Da(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&aP in e?e[aP](t):e instanceof Date?new e.constructor(t):new Date(t)}function At(e,t){return Da(t||e,e)}let R$={};function vS(){return R$}function Xl(e,t){var c,d,h,u;const n=vS(),o=(t==null?void 0:t.weekStartsOn)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=At(e,t==null?void 0:t.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function CS(e,t){return Xl(e,{...t,weekStartsOn:1})}function nP(e,t){const n=At(e,t==null?void 0:t.in),o=n.getFullYear(),r=Da(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=CS(r),s=Da(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=CS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function oP(e){const t=At(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function N$(e,...t){const n=Da.bind(null,t.find(o=>typeof o=="object"));return t.map(n)}function rP(e,t){const n=At(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function U$(e,t,n){const[o,r]=N$(n==null?void 0:n.in,e,t),i=rP(o),s=rP(r),c=+i-oP(i),d=+s-oP(s);return Math.round((c-d)/F$)}function $$(e,t){const n=nP(e,t),o=Da(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),CS(o)}function W$(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function G$(e){return!(!W$(e)&&typeof e!="number"||isNaN(+At(e)))}function X$(e,t){const n=At(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const K$={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Z$=(e,t,n)=>{let o;const r=K$[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Fs(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Y$={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Q$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eW={date:Fs({formats:Y$,defaultWidth:"full"}),time:Fs({formats:J$,defaultWidth:"full"}),dateTime:Fs({formats:Q$,defaultWidth:"full"})},tW={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},aW=(e,t,n,o)=>tW[e];function Zt(e){return(t,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=e.formattingValues[c]||e.formattingValues[s]}else{const s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[c]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}const nW={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oW={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},iW={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},sW={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lW={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},cW={ordinalNumber:(e,t)=>{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Zt({values:nW,defaultWidth:"wide"}),quarter:Zt({values:oW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zt({values:rW,defaultWidth:"wide"}),day:Zt({values:iW,defaultWidth:"wide"}),dayPeriod:Zt({values:sW,defaultWidth:"wide",formattingValues:lW,defaultFormattingWidth:"wide"})};function Yt(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const s=i[0],c=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?hW(c,p=>p.test(s)):dW(c,p=>p.test(s));let h;h=e.valueCallback?e.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=t.slice(s.length);return{value:h,rest:u}}}function dW(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function hW(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function iP(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=t.slice(r.length);return{value:s,rest:c}}}const uW=/^(\d+)(th|st|nd|rd)?/i,pW=/\d+/i,yW={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},fW={any:[/^b/i,/^(a|c)/i]},mW={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kW={any:[/1/i,/2/i,/3/i,/4/i]},gW={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bW={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xW={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},MW={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wW={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},vW={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},CW={ordinalNumber:iP({matchPattern:uW,parsePattern:pW,valueCallback:e=>parseInt(e,10)}),era:Yt({matchPatterns:yW,defaultMatchWidth:"wide",parsePatterns:fW,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:mW,defaultMatchWidth:"wide",parsePatterns:kW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yt({matchPatterns:gW,defaultMatchWidth:"wide",parsePatterns:bW,defaultParseWidth:"any"}),day:Yt({matchPatterns:xW,defaultMatchWidth:"wide",parsePatterns:MW,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:wW,defaultMatchWidth:"any",parsePatterns:vW,defaultParseWidth:"any"})},sP={code:"en-US",formatDistance:Z$,formatLong:eW,formatRelative:aW,localize:cW,match:CW,options:{weekStartsOn:0,firstWeekContainsDate:1}};function LW(e,t){const n=At(e,t==null?void 0:t.in);return U$(n,X$(n))+1}function SW(e,t){const n=At(e,t==null?void 0:t.in),o=+CS(n)-+$$(n);return Math.round(o/tP)+1}function lP(e,t){var u,p,y,f;const n=At(e,t==null?void 0:t.in),o=n.getFullYear(),r=vS(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=Da((t==null?void 0:t.in)||e,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=Xl(s,t),d=Da((t==null?void 0:t.in)||e,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=Xl(d,t);return+n>=+c?o+1:+n>=+h?o:o-1}function IW(e,t){var c,d,h,u;const n=vS(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=lP(e,t),i=Da((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),Xl(i,t)}function AW(e,t){const n=At(e,t==null?void 0:t.in),o=+Xl(n,t)-+IW(n,t);return Math.round(o/tP)+1}function Be(e,t){const n=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return n+o}const Ea={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return Be(t==="yy"?o%100:o,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Be(n+1,2)},d(e,t){return Be(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Be(e.getHours()%12||12,t.length)},H(e,t){return Be(e.getHours(),t.length)},m(e,t){return Be(e.getMinutes(),t.length)},s(e,t){return Be(e.getSeconds(),t.length)},S(e,t){const n=t.length,o=e.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return Be(r,t.length)}},Rs={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},cP={G:function(e,t,n){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const o=e.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Ea.y(e,t)},Y:function(e,t,n,o){const r=lP(e,o),i=r>0?r:1-r;if(t==="YY"){const s=i%100;return Be(s,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Be(i,t.length)},R:function(e,t){const n=nP(e);return Be(n,t.length)},u:function(e,t){const n=e.getFullYear();return Be(n,t.length)},Q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Be(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Be(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){const o=e.getMonth();switch(t){case"M":case"MM":return Ea.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return Be(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){const r=AW(e,o);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):Be(r,t.length)},I:function(e,t,n){const o=SW(e);return t==="Io"?n.ordinalNumber(o,{unit:"week"}):Be(o,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Ea.d(e,t)},D:function(e,t,n){const o=LW(e);return t==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):Be(o,t.length)},E:function(e,t,n){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){const r=e.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Be(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){const r=e.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Be(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const o=e.getDay(),r=o===0?7:o;switch(t){case"i":return String(r);case"ii":return Be(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const o=e.getHours();let r;switch(o===12?r=Rs.noon:o===0?r=Rs.midnight:r=o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const o=e.getHours();let r;switch(o>=17?r=Rs.evening:o>=12?r=Rs.afternoon:o>=4?r=Rs.morning:r=Rs.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Ea.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Ea.H(e,t)},K:function(e,t,n){const o=e.getHours()%12;return t==="Ko"?n.ordinalNumber(o,{unit:"hour"}):Be(o,t.length)},k:function(e,t,n){let o=e.getHours();return o===0&&(o=24),t==="ko"?n.ordinalNumber(o,{unit:"hour"}):Be(o,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Ea.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Ea.s(e,t)},S:function(e,t){return Ea.S(e,t)},X:function(e,t,n){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return hP(o);case"XXXX":case"XX":return ps(o);case"XXXXX":case"XXX":default:return ps(o,":")}},x:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"x":return hP(o);case"xxxx":case"xx":return ps(o);case"xxxxx":case"xxx":default:return ps(o,":")}},O:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+dP(o,":");case"OOOO":default:return"GMT"+ps(o,":")}},z:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+dP(o,":");case"zzzz":default:return"GMT"+ps(o,":")}},t:function(e,t,n){const o=Math.trunc(+e/1e3);return Be(o,t.length)},T:function(e,t,n){return Be(+e,t.length)}};function dP(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+t+Be(i,2)}function hP(e,t){return e%60===0?(e>0?"-":"+")+Be(Math.abs(e)/60,2):ps(e,t)}function ps(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Be(Math.trunc(o/60),2),i=Be(o%60,2);return n+r+t+i}const uP=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},pP=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},BW={p:pP,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return uP(e,t);let i;switch(o){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",uP(o,t)).replace("{{time}}",pP(r,t))}},VW=/^D+$/,_W=/^Y+$/,zW=["D","DD","YY","YYYY"];function PW(e){return VW.test(e)}function qW(e){return _W.test(e)}function DW(e,t,n){const o=EW(e,t,n);if(console.warn(o),zW.includes(e))throw new RangeError(o)}function EW(e,t,n){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const TW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,OW=/^'([^]*?)'?$/,jW=/''/g,FW=/[a-zA-Z]/;function yP(e,t,n){var u,p,y,f;const o=vS(),r=o.locale??sP,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=At(e,n==null?void 0:n.in);if(!G$(c))throw new RangeError("Invalid time value");let d=t.match(HW).map(m=>{const k=m[0];if(k==="p"||k==="P"){const g=BW[k];return g(m,r.formatLong)}return m}).join("").match(TW).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const k=m[0];if(k==="'")return{isToken:!1,value:RW(m)};if(cP[k])return{isToken:!0,value:m};if(k.match(FW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:m}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(m=>{if(!m.isToken)return m.value;const k=m.value;(qW(k)||PW(k))&&DW(k,t,String(e));const g=cP[k[0]];return g(c,k,r.localize,h)}).join("")}function RW(e){const t=e.match(OW);return t?t[1].replace(jW,"'"):e}const NW={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},UW=(e,t,n)=>{let o;const r=NW[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},$W={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},WW={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},GW={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XW={date:Fs({formats:$W,defaultWidth:"full"}),time:Fs({formats:WW,defaultWidth:"full"}),dateTime:Fs({formats:GW,defaultWidth:"full"})},KW={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},ZW=(e,t,n,o)=>KW[e],YW={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},JW={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},QW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},eG={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},tG={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},aG={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},nG={ordinalNumber:(e,t)=>"ke-"+Number(e),era:Zt({values:YW,defaultWidth:"wide"}),quarter:Zt({values:JW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zt({values:QW,defaultWidth:"wide"}),day:Zt({values:eG,defaultWidth:"wide"}),dayPeriod:Zt({values:tG,defaultWidth:"wide",formattingValues:aG,defaultFormattingWidth:"wide"})},oG=/^ke-(\d+)?/i,rG=/\d+/i,iG={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},sG={any:[/^s/i,/^(m|e)/i]},lG={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},cG={any:[/1/i,/2/i,/3/i,/4/i]},dG={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},hG={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},uG={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},pG={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},yG={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},fG={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},mG={ordinalNumber:iP({matchPattern:oG,parsePattern:rG,valueCallback:e=>parseInt(e,10)}),era:Yt({matchPatterns:iG,defaultMatchWidth:"wide",parsePatterns:sG,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:lG,defaultMatchWidth:"wide",parsePatterns:cG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yt({matchPatterns:dG,defaultMatchWidth:"wide",parsePatterns:hG,defaultParseWidth:"any"}),day:Yt({matchPatterns:uG,defaultMatchWidth:"wide",parsePatterns:pG,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:yG,defaultMatchWidth:"any",parsePatterns:fG,defaultParseWidth:"any"})},kG={code:"id",formatDistance:UW,formatLong:XW,formatRelative:ZW,localize:nG,match:mG,options:{weekStartsOn:1,firstWeekContainsDate:1}},fP={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},mP="dcode-dp-theme-forced";function gG(e,t=mP){const n=fP[e]??fP.primary,o=`
|
|
8519
|
+
`):e}function a$(e,t){const{element:n,datasetIndex:o,index:r}=t,i=e.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:e,label:s,parsed:i.getParsed(r),raw:e.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function Oz(e,t){const n=e.chart.ctx,{body:o,footer:r,title:i}=e,{boxWidth:s,boxHeight:c}=t,d=Je(t.bodyFont),h=Je(t.titleFont),u=Je(t.footerFont),p=i.length,y=r.length,f=o.length,m=gt(t.padding);let k=m.height,g=0,x=o.reduce((b,L)=>b+L.before.length+L.lines.length+L.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*h.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const b=t.displayColors?Math.max(c,d.lineHeight):d.lineHeight;k+=f*b+(x-f)*d.lineHeight+(x-1)*t.bodySpacing}y&&(k+=t.footerMarginTop+y*u.lineHeight+(y-1)*t.footerSpacing);let C=0;const w=function(b){g=Math.max(g,n.measureText(b).width+C)};return n.save(),n.font=h.string,Ae(e.title,w),n.font=d.string,Ae(e.beforeBody.concat(e.afterBody),w),C=t.displayColors?s+2+t.boxPadding:0,Ae(o,b=>{Ae(b.before,w),Ae(b.lines,w),Ae(b.after,w)}),C=0,n.font=u.string,Ae(e.footer,w),n.restore(),g+=m.width,{width:g,height:k}}function n$(e,t){const{y:n,height:o}=t;return n<o/2?"top":n>e.height-o/2?"bottom":"center"}function o$(e,t,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(e==="left"&&r+i+s>t.width||e==="right"&&r-i-s<0)return!0}function r$(e,t,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=e;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),o$(h,e,t,n)&&(h="center"),h}function jz(e,t,n){const o=n.yAlign||t.yAlign||n$(e,n);return{xAlign:n.xAlign||t.xAlign||r$(e,t,n,o),yAlign:o}}function i$(e,t){let{x:n,width:o}=e;return t==="right"?n-=o:t==="center"&&(n-=o/2),n}function s$(e,t,n){let{y:o,height:r}=e;return t==="top"?o+=n:t==="bottom"?o-=r+n:o-=r/2,o}function Fz(e,t,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=e,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=qs(s);let m=i$(t,c);const k=s$(t,d,h);return d==="center"?c==="left"?m+=h:c==="right"&&(m-=h):c==="left"?m-=Math.max(u,y)+r:c==="right"&&(m+=Math.max(p,f)+r),{x:Ze(m,0,o.width-t.width),y:Ze(k,0,o.height-t.height)}}function bS(e,t,n){const o=gt(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-o.right:e.x+o.left}function Rz(e){return Zt([],ua(e))}function l$(e,t,n){return ss(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Nz(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Uz={beforeTitle:ia,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(o>0&&t.dataIndex<o)return n[t.dataIndex]}return""},afterTitle:ia,beforeBody:ia,beforeLabel:ia,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Ie(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:ia,afterBody:ia,beforeFooter:ia,footer:ia,afterFooter:ia};function ot(e,t,n,o){const r=e[t].call(n,o);return typeof r>"u"?Uz[t].call(n,o):r}class bA extends da{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new O_(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=l$(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:o}=n,r=ot(o,"beforeTitle",this,t),i=ot(o,"title",this,t),s=ot(o,"afterTitle",this,t);let c=[];return c=Zt(c,ua(r)),c=Zt(c,ua(i)),c=Zt(c,ua(s)),c}getBeforeBody(t,n){return Rz(ot(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:o}=n,r=[];return Ae(t,i=>{const s={before:[],lines:[],after:[]},c=Nz(o,i);Zt(s.before,ua(ot(c,"beforeLabel",this,i))),Zt(s.lines,ot(c,"label",this,i)),Zt(s.after,ua(ot(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(t,n){return Rz(ot(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:o}=n,r=ot(o,"beforeFooter",this,t),i=ot(o,"footer",this,t),s=ot(o,"afterFooter",this,t);let c=[];return c=Zt(c,ua(r)),c=Zt(c,ua(i)),c=Zt(c,ua(s)),c}_createItems(t){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(a$(this.chart,n[d]));return t.filter&&(c=c.filter((u,p,y)=>t.filter(u,p,y,o))),t.itemSort&&(c=c.sort((u,p)=>t.itemSort(u,p,o))),Ae(c,u=>{const p=Nz(t.callbacks,u);r.push(ot(p,"labelColor",this,u)),i.push(ot(p,"labelPointStyle",this,u)),s.push(ot(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(t,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=Wl[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=Oz(this,o),h=Object.assign({},c,d),u=jz(this.chart,o,h),p=Fz(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,o,r){const i=this.getCaretPosition(t,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=qs(c),{x:y,y:f}=t,{width:m,height:k}=n;let g,x,C,w,b,L;return i==="center"?(b=f+k/2,r==="left"?(g=y,x=g-s,w=b+s,L=b-s):(g=y+m,x=g+s,w=b-s,L=b+s),C=g):(r==="left"?x=y+Math.max(d,u)+s:r==="right"?x=y+m-Math.max(h,p)-s:x=this.caretX,i==="top"?(w=f,b=w-s,g=x-s,C=x+s):(w=f+k,b=w+s,g=x+s,C=x-s),L=w),{x1:g,x2:x,x3:C,y1:w,y2:b,y3:L}}drawTitle(t,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=Ts(o.rtl,this.x,this.width);for(t.x=bS(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Je(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+c,d+1===i&&(t.y+=o.titleMarginBottom-c)}}_drawColorBox(t,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Je(i.bodyFont),p=bS(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,m=n.y+f;if(i.usePointStyle){const k={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,x=m+d/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,KI(t,k,g,x),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,KI(t,k,g,x)}else{t.lineWidth=Me(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const k=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),x=qs(s.borderRadius);Object.values(x).some(C=>C!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,QL(t,{x:k,y:m,w:h,h:d,radius:x}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),QL(t,{x:g,y:m+1,w:h-2,h:d-2,radius:x}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(k,m,h,d),t.strokeRect(k,m,h,d),t.fillStyle=s.backgroundColor,t.fillRect(g,m+1,h-2,d-2))}t.fillStyle=this.labelTextColors[o]}drawBody(t,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Je(o.bodyFont);let y=p.lineHeight,f=0;const m=Ts(o.rtl,this.x,this.width),k=function(M){n.fillText(M,m.x(t.x+f),t.y+y/2),t.y+=y+i},g=m.textAlign(s);let x,C,w,b,L,S,v;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,t.x=bS(this,g,o),n.fillStyle=o.bodyColor,Ae(this.beforeBody,k),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,b=0,S=r.length;b<S;++b){for(x=r[b],C=this.labelTextColors[b],n.fillStyle=C,Ae(x.before,k),w=x.lines,c&&w.length&&(this._drawColorBox(n,t,b,m,o),y=Math.max(p.lineHeight,d)),L=0,v=w.length;L<v;++L)k(w[L]),y=p.lineHeight;Ae(x.after,k)}f=0,y=p.lineHeight,Ae(this.afterBody,k),t.y-=i}drawFooter(t,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=Ts(o.rtl,this.x,this.width);for(t.x=bS(this,o.footerAlign,o),t.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Je(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+o.footerSpacing}}drawBackground(t,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=t,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:m}=qs(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(t,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(t,n,o,r),n.lineTo(c+h,d+u-m),n.quadraticCurveTo(c+h,d+u,c+h-m,d+u),s==="bottom"&&this.drawCaret(t,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(t,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=Wl[t.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=Oz(this,t),d=Object.assign({},s,this._size),h=jz(n,t,d),u=Fz(t,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=gt(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(t.save(),t.globalAlpha=o,this.drawBackground(i,t,r,n),B_(t,n.textDirection),i.y+=s.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),V_(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const o=this._active,r=t.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!GL(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(t,i,n,o),c=this._positionChanged(s,t),d=n||!GL(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),d}_getActiveElements(t,n,o,r){const i=this.options;if(t.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:o,caretY:r,options:i}=this,s=Wl[i.position].call(this,t,n);return s!==!1&&(o!==s.x||r!==s.y)}}le(bA,"positioners",Wl);var c$={id:"tooltip",_element:bA,positioners:Wl,afterInit(e,t,n){n&&(e.tooltip=new bA({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Uz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const d$=(e,t,n,o)=>(typeof t=="string"?(n=e.push(t)-1,o.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function h$(e,t,n,o){const r=e.indexOf(t);if(r===-1)return d$(e,t,n,o);const i=e.lastIndexOf(t);return r!==i?n:r}const u$=(e,t)=>e===null?null:Ze(Math.round(e),0,t);function $z(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class xA extends Os{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Ie(t))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===t?n:h$(o,t,ge(n,t),this._addedLabels),u$(n,o.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const t=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=t;s<=n;s++)r.push({value:s});return r}getLabelForValue(t){return $z.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}le(xA,"id","category"),le(xA,"defaults",{ticks:{callback:$z}});function p$(e,t){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=e,f=i||1,m=u-1,{min:k,max:g}=t,x=!Ie(s),C=!Ie(c),w=!Ie(h),b=(g-k)/(p+1);let L=n_((g-k)/m/f)*f,S,v,M,I;if(L<1e-14&&!x&&!C)return[{value:k},{value:g}];I=Math.ceil(g/L)-Math.floor(k/L),I>m&&(L=n_(I*L/m/f)*f),Ie(d)||(S=Math.pow(10,d),L=Math.ceil(L*S)/S),r==="ticks"?(v=Math.floor(k/L)*L,M=Math.ceil(g/L)*L):(v=k,M=g),x&&C&&i&&mF((c-s)/i,L/1e3)?(I=Math.round(Math.min((c-s)/L,u)),L=(c-s)/I,v=s,M=c):w?(v=x?s:v,M=C?c:M,I=h-1,L=(M-v)/I):(I=(M-v)/L,_l(I,Math.round(I),L/1e3)?I=Math.round(I):I=Math.ceil(I));const V=Math.max(o_(L),o_(v));S=Math.pow(10,Ie(d)?V:d),v=Math.round(v*S)/S,M=Math.round(M*S)/S;let _=0;for(x&&(y&&v!==s?(n.push({value:s}),v<s&&_++,_l(Math.round((v+_*L)*S)/S,s,Wz(s,b,e))&&_++):v<s&&_++);_<I;++_){const B=Math.round((v+_*L)*S)/S;if(C&&B>c)break;n.push({value:B})}return C&&y&&M!==c?n.length&&_l(n[n.length-1].value,c,Wz(c,b,e))?n[n.length-1].value=c:n.push({value:c}):(!C||M===c)&&n.push({value:M}),n}function Wz(e,t,{horizontal:n,minRotation:o}){const r=sa(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/i,s)}class y$ extends Os{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Ie(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(t){const d=Xt(r),h=Xt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),t||s(r-d)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=t,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=p$(r,i);return t.bounds==="ticks"&&kF(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&t.length){const r=(o-n)/Math.max(t.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(t){return WI(t,this.chart.options.locale,this.options.ticks.format)}}class MA extends y${determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Ke(t)?t:0,this.max=Ke(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,o=sa(this.options.ticks.minRotation),r=(t?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}le(MA,"id","linear"),le(MA,"defaults",{ticks:{callback:f_.formatters.numeric}});const xS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},rt=Object.keys(xS);function Gz(e,t){return e-t}function Xz(e,t){if(Ie(t))return null;const n=e._adapter,{parser:o,round:r,isoWeekday:i}=e._parseOpts;let s=t;return typeof o=="function"&&(s=o(s)),Ke(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(zl(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function Kz(e,t,n,o){const r=rt.length;for(let i=rt.indexOf(e);i<r-1;++i){const s=xS[rt[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(c*s.size))<=o)return rt[i]}return rt[r-1]}function f$(e,t,n,o,r){for(let i=rt.length-1;i>=rt.indexOf(n);i--){const s=rt[i];if(xS[s].common&&e._adapter.diff(r,o,s)>=t-1)return s}return rt[n?rt.indexOf(n):0]}function m$(e){for(let t=rt.indexOf(e)+1,n=rt.length;t<n;++t)if(xS[rt[t]].common)return rt[t]}function Zz(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:o,hi:r}=RI(n,t),i=n[o]>=t?n[o]:n[r];e[i]=!0}}function k$(e,t,n,o){const r=e._adapter,i=+r.startOf(t[0].value,o),s=t[t.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(t[d].major=!0);return t}function Yz(e,t,n){const o=[],r={},i=t.length;let s,c;for(s=0;s<i;++s)c=t[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:k$(e,o,r,n)}class MS extends Os{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const o=t.time||(t.time={}),r=this._adapter=new QR._date(t.adapters.date);r.init(n),Bl(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:Xz(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,o=t.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=Ke(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=Ke(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],o=t[t.length-1]),{min:n,max:o}}buildTicks(){const t=this.options,n=t.time,o=t.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=wF(r,i,s);return this._unit=n.unit||(o.autoSkip?Kz(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):f$(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:m$(this._unit),this.initOffsets(r),t.reverse&&c.reverse(),Yz(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,o=0,r,i;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?n=1-r:n=(this.getDecimalForValue(t[1])-r)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?o=i:o=(i-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=Ze(n,0,s),o=Ze(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const t=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||Kz(i.minUnit,n,o,this._getLabelCapacity(n)),c=ge(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=zl(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+t.startOf(p,"isoWeek",d)),p=+t.startOf(p,h?"day":s),t.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const m=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+t.add(y,c,s),f++)Zz(u,y,m);return(y===o||r.bounds==="ticks"||f===1)&&Zz(u,y,m),Object.keys(u).sort(Gz).map(k=>+k)}getLabelForValue(t){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(t,o.tooltipFormat):n.format(t,o.displayFormats.datetime)}format(t,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(t,s)}_tickFormatFunction(t,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return qe(s,[t,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(t,r||(f?p:u))}generateTickLabels(t){let n,o,r;for(n=0,o=t.length;n<o;++n)r=t[n],r.label=this._tickFormatFunction(r.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,o=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(t){const n=this._offsets,o=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,o=this.ctx.measureText(t).width,r=sa(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(t){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(t,0,Yz(this,[t],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let t=this._cache.data||[],n,o;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)t=t.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,o;if(t.length)return t;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)t.push(Xz(this,r[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return l_(t.sort(Gz))}}le(MS,"id","time"),le(MS,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function wS(e,t,n){let o=0,r=e.length-1,i,s,c,d;n?(t>=e[o].pos&&t<=e[r].pos&&({lo:o,hi:r}=os(e,"pos",t)),{pos:i,time:c}=e[o],{pos:s,time:d}=e[r]):(t>=e[o].time&&t<=e[r].time&&({lo:o,hi:r}=os(e,"time",t)),{time:i,pos:c}=e[o],{time:s,pos:d}=e[r]);const h=s-i;return h?c+(d-c)*(t-i)/h:c}class Jz extends MS{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=wS(n,this.min),this._tableRange=wS(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=t.length;s<c;++s)h=t[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const t=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(t)||!o.length)&&o.splice(0,0,t),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?t=this.normalize(n.concat(o)):t=n.length?n:o,t=this._cache.all=t,t}getDecimalForValue(t){return(wS(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,o=this.getDecimalForPixel(t)/n.factor-n.end;return wS(this._table,o*this._tableRange+this._minPos,!0)}}le(Jz,"id","timeseries"),le(Jz,"defaults",MS.defaults);const g$={key:0,class:"mb-2 text-sm font-medium text-gray-700"},b$={key:0,class:"text-red-500 ml-1"},x$={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},M$={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},w$={class:"text-red-600 text-sm"},v$={key:1,class:"mt-2 text-xs text-gray-500"},C$={key:0},Qz=Wt(a.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(e,{expose:t,emit:n}){ha.register(xA,MA,mS,za,kS,$l,t$,c$,QU,GU,iS,rS,iA,Hs);const o=e,r=n,i=a.ref(null),s=a.shallowRef(null),c=a.ref(null),d=a.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),h=()=>{const y=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:f=>{let m=0;return f.type==="data"&&f.mode==="default"&&(m=f.dataIndex*100+f.datasetIndex*50),m},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:y?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:y?"#1F2937":"#FFFFFF",titleColor:y?"#F3F4F6":"#111827",bodyColor:y?"#D1D5DB":"#4B5563",borderColor:y?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}},y:{grid:{color:y?"#374151":"#E5E7EB"},ticks:{color:y?"#D1D5DB":"#6B7280"}}}:void 0}},u=y=>!y||!y.datasets?y:{...y,datasets:y.datasets.map((f,m)=>{const k=m%o.colors.length,g=o.colors[k];let x=f.backgroundColor,C=f.borderColor;return["pie","doughnut","polarArea"].includes(o.type)&&(!x||x.length===0)?f.data&&(x=f.data.map((w,b)=>o.colors[b%o.colors.length]+"80"),C=f.data.map((w,b)=>o.colors[b%o.colors.length])):(x=x||g+"40",C=C||g),{...f,borderColor:C,backgroundColor:x,pointBackgroundColor:f.pointBackgroundColor||g,pointBorderColor:f.pointBorderColor||g,hoverBackgroundColor:f.hoverBackgroundColor||g+"60",hoverBorderColor:f.hoverBorderColor||g}})},p=async()=>{if(!i.value)return;await a.nextTick(),s.value&&s.value.destroy();const y=o.data||o.modelValue;let f=y;if(Array.isArray(y))if(y.length>0&&typeof y[0]=="object"&&y[0]!==null){const k=Object.keys(y[0]),g=k.find(C=>["label","name","x","category","title"].includes(C.toLowerCase()))||k[0],x=k.find(C=>C!==g&&["value","y","count","amount","total","data"].includes(C.toLowerCase()))||k.find(C=>C!==g&&typeof y[0][C]=="number")||(k.length>1?k.find(C=>C!==g):k[0]);f={labels:y.map(C=>C[g||""]),datasets:[{label:o.label||"Data",data:y.map(C=>C[x||""])}]}}else y.length>0?f={labels:y.map((k,g)=>`Data ${g+1}`),datasets:[{label:o.label||"Data",data:y}]}:f={labels:[],datasets:[]};if(c.value=u(f),!c.value)return;const m={...h(),...o.options,onClick:(k,g)=>{r("click",k,g),o.onClick&&o.onClick(k,g)},onHover:(k,g)=>{r("hover",k,g),o.onHover&&o.onHover(k,g)}};s.value=new ha(i.value,{type:o.type,data:c.value,options:m}),r("ready",s.value)};return a.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{p()},{deep:!0}),a.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),a.onMounted(()=>{p()}),a.onUnmounted(()=>{s.value&&s.value.destroy()}),t({chart:s,updateChart:p}),(y,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-code-chart",d.value])},[e.label?(a.openBlock(),a.createElementBlock("div",g$,[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",b$,"*")):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"relative",style:a.normalizeStyle({height:e.height+"px"})},[a.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),e.loading?(a.openBlock(),a.createElementBlock("div",x$,[...f[0]||(f[0]=[a.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):a.createCommentVNode("",!0),e.error?(a.openBlock(),a.createElementBlock("div",M$,[a.createElementVNode("div",w$,a.toDisplayString(e.error),1)])):a.createCommentVNode("",!0)],4),e.showInfo&&c.value?(a.openBlock(),a.createElementBlock("div",v$,[c.value.datasets?(a.openBlock(),a.createElementBlock("div",C$,a.toDisplayString(c.value.datasets.length)+" dataset(s) • "+a.toDisplayString(c.value.labels?c.value.labels.length:0)+" data points ",1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-b1c7c58f"]]),qa=a.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(JH),a.mergeProps(a.unref(n),{class:a.unref(xe)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),L$=["aria-busy"],S$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},I$={key:1,class:"flex items-center gap-2.5"},A$=["id","checked","indeterminate","disabled","required"],B$={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},Gl=Wt(a.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>n.label),s=a.computed(()=>n.placeholder),c=a.computed(()=>n.title),d=a.computed(()=>r.visible??!0),h=a.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=a.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=a.ref(!!r.modelValue);a.watch(()=>r.modelValue,k=>{y.value=!!k},{immediate:!0});const f=()=>{if(r.disabled)return;const k=!y.value;y.value=k,o("update:modelValue",k)},m=k=>{(k.key===" "||k.key==="Enter")&&(k.preventDefault(),f())};return(k,g)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["",[a.unref(n).class,{"opacity-60 cursor-not-allowed":e.disabled}]]),"aria-busy":e.skeleton},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",S$)):a.createCommentVNode("",!0),g[0]||(g[0]=a.createElementVNode("div",{class:"flex items-center gap-2.5"},[a.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),a.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(a.openBlock(),a.createElementBlock("div",I$,[a.createElementVNode("label",{class:a.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!e.disabled,"opacity-50 cursor-not-allowed":e.disabled}])},[a.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:e.indeterminate,disabled:e.disabled,required:h.value,onChange:f,onKeydown:m},null,40,A$),a.createElementVNode("div",{class:a.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||e.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",e.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!e.indeterminate?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):e.indeterminate?(a.openBlock(),a.createBlock(a.unref(cl),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):a.createCommentVNode("",!0)],2),s.value||c.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[e.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},a.toDisplayString(s.value||c.value),3)):a.createCommentVNode("",!0)],2),i.value?(a.openBlock(),a.createBlock(qa,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",B$," * ")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0)]))],10,L$)),[[a.vShow,d.value]])}}),[["__scopeId","data-v-938d0f92"]]),V$=["aria-busy"],_$={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},z$={key:1,class:"flex justify-end"},P$=["for"],q$={key:0,class:"ml-1 text-destructive"},D$={class:"relative w-full group"},E$={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},T$={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},H$=["id","disabled","readonly","placeholder","maxlength"],O$={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},j$={key:1,class:"flex items-center gap-1 text-xs text-destructive"},eP=a.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=a.computed(()=>{const _=n.required,B=n["aria-required"];return _===""||_===!0||_==="true"||(B==="true"||B===!0)}),d=a.computed(()=>{const _=n.maxlength??n.maxLength;let B=Number.NaN;return typeof _=="number"?B=_:typeof _=="string"&&(B=Number.parseInt(_,10)),Number.isFinite(B)&&B>0?B:void 0}),h=a.computed(()=>r.locale?r.locale:"en-US"),u=a.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=a.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=_=>{const B=_.replaceAll(/\D/g,"");return B?Number(B):null},f=_=>p.value.format(_),m=a.ref(""),k=a.ref(null);a.watch(()=>r.modelValue,_=>{_==null?m.value="":y(m.value)!==_&&(m.value=f(_))},{immediate:!0});const g=(_,B)=>{let D=0;for(let z=0;z<B;z++)/\d/.test(_[z])&&D++;return D},x=(_,B)=>{let D=0;for(let z=0;z<_.length;z++)if(/\d/.test(_[z])&&(D++,D===B))return z+1;return _.length},C=_=>{const B=_.target,D=B.value,z=B.selectionStart??D.length,G=y(D);if(G===null){m.value="",o("update:modelValue",null);return}const H=f(G);if(D!==H){const j=g(D,z);m.value=H,a.nextTick(()=>{if(k.value){const U=x(H,j);k.value.setSelectionRange(U,U)}})}o("update:modelValue",G)},w=()=>{m.value="",o("update:modelValue",null),o("clear")},b=a.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?m.value.length>0:!0),L=a.computed(()=>!!r.error),S=a.computed(()=>{const{class:_,maxlength:B,maxLength:D,...z}=n;return z}),v=a.computed(()=>m.value.length),M=a.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=a.computed(()=>M.value&&v.value>0),V=a.computed(()=>`${v.value} / ${d.value}`);return(_,B)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1.5 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",_$)):a.createCommentVNode("",!0),B[2]||(B[2]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),M.value?(a.openBlock(),a.createElementBlock("div",z$,[...B[1]||(B[1]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",q$,"*")):a.createCommentVNode("",!0)],8,P$)):a.createCommentVNode("",!0),a.createElementVNode("div",D$,[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",L.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[a.createElementVNode("div",E$,[a.createElementVNode("span",T$,a.toDisplayString(u.value),1)]),a.withDirectives(a.createElementVNode("input",a.mergeProps({id:s.value,ref_key:"inputRef",ref:k,"onUpdate:modelValue":B[0]||(B[0]=D=>m.value=D),onInput:C,type:"text",inputmode:"numeric"},S.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",b.value?"pr-8":""]}),null,16,H$),[[a.vModelText,m.value]]),b.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:w},[a.createVNode(a.unref(pt),{class:"w-3.5 h-3.5"})])):a.createCommentVNode("",!0)],2),I.value&&!L.value?(a.openBlock(),a.createElementBlock("p",O$,a.toDisplayString(V.value),1)):a.createCommentVNode("",!0)]),L.value?(a.openBlock(),a.createElementBlock("p",j$,[a.createVNode(a.unref(Dt),{class:"w-3.5 h-3.5 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(r.error),1)])):a.createCommentVNode("",!0)],64))],10,V$))}}),tP=6048e5,F$=864e5,aP=Symbol.for("constructDateFrom");function Da(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&aP in e?e[aP](t):e instanceof Date?new e.constructor(t):new Date(t)}function Bt(e,t){return Da(t||e,e)}let R$={};function vS(){return R$}function Xl(e,t){var c,d,h,u;const n=vS(),o=(t==null?void 0:t.weekStartsOn)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=Bt(e,t==null?void 0:t.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function CS(e,t){return Xl(e,{...t,weekStartsOn:1})}function nP(e,t){const n=Bt(e,t==null?void 0:t.in),o=n.getFullYear(),r=Da(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=CS(r),s=Da(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=CS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function oP(e){const t=Bt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function N$(e,...t){const n=Da.bind(null,t.find(o=>typeof o=="object"));return t.map(n)}function rP(e,t){const n=Bt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function U$(e,t,n){const[o,r]=N$(n==null?void 0:n.in,e,t),i=rP(o),s=rP(r),c=+i-oP(i),d=+s-oP(s);return Math.round((c-d)/F$)}function $$(e,t){const n=nP(e,t),o=Da(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),CS(o)}function W$(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function G$(e){return!(!W$(e)&&typeof e!="number"||isNaN(+Bt(e)))}function X$(e,t){const n=Bt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const K$={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Z$=(e,t,n)=>{let o;const r=K$[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Fs(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Y$={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Q$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eW={date:Fs({formats:Y$,defaultWidth:"full"}),time:Fs({formats:J$,defaultWidth:"full"}),dateTime:Fs({formats:Q$,defaultWidth:"full"})},tW={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},aW=(e,t,n,o)=>tW[e];function Yt(e){return(t,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=e.formattingValues[c]||e.formattingValues[s]}else{const s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[c]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}const nW={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oW={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},iW={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},sW={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lW={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},cW={ordinalNumber:(e,t)=>{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Yt({values:nW,defaultWidth:"wide"}),quarter:Yt({values:oW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:rW,defaultWidth:"wide"}),day:Yt({values:iW,defaultWidth:"wide"}),dayPeriod:Yt({values:sW,defaultWidth:"wide",formattingValues:lW,defaultFormattingWidth:"wide"})};function Jt(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const s=i[0],c=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?hW(c,p=>p.test(s)):dW(c,p=>p.test(s));let h;h=e.valueCallback?e.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=t.slice(s.length);return{value:h,rest:u}}}function dW(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function hW(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function iP(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=t.slice(r.length);return{value:s,rest:c}}}const uW=/^(\d+)(th|st|nd|rd)?/i,pW=/\d+/i,yW={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},fW={any:[/^b/i,/^(a|c)/i]},mW={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kW={any:[/1/i,/2/i,/3/i,/4/i]},gW={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},bW={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xW={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},MW={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wW={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},vW={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},CW={ordinalNumber:iP({matchPattern:uW,parsePattern:pW,valueCallback:e=>parseInt(e,10)}),era:Jt({matchPatterns:yW,defaultMatchWidth:"wide",parsePatterns:fW,defaultParseWidth:"any"}),quarter:Jt({matchPatterns:mW,defaultMatchWidth:"wide",parsePatterns:kW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Jt({matchPatterns:gW,defaultMatchWidth:"wide",parsePatterns:bW,defaultParseWidth:"any"}),day:Jt({matchPatterns:xW,defaultMatchWidth:"wide",parsePatterns:MW,defaultParseWidth:"any"}),dayPeriod:Jt({matchPatterns:wW,defaultMatchWidth:"any",parsePatterns:vW,defaultParseWidth:"any"})},sP={code:"en-US",formatDistance:Z$,formatLong:eW,formatRelative:aW,localize:cW,match:CW,options:{weekStartsOn:0,firstWeekContainsDate:1}};function LW(e,t){const n=Bt(e,t==null?void 0:t.in);return U$(n,X$(n))+1}function SW(e,t){const n=Bt(e,t==null?void 0:t.in),o=+CS(n)-+$$(n);return Math.round(o/tP)+1}function lP(e,t){var u,p,y,f;const n=Bt(e,t==null?void 0:t.in),o=n.getFullYear(),r=vS(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=Da((t==null?void 0:t.in)||e,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=Xl(s,t),d=Da((t==null?void 0:t.in)||e,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=Xl(d,t);return+n>=+c?o+1:+n>=+h?o:o-1}function IW(e,t){var c,d,h,u;const n=vS(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=lP(e,t),i=Da((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),Xl(i,t)}function AW(e,t){const n=Bt(e,t==null?void 0:t.in),o=+Xl(n,t)-+IW(n,t);return Math.round(o/tP)+1}function Ve(e,t){const n=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return n+o}const Ea={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return Ve(t==="yy"?o%100:o,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ve(n+1,2)},d(e,t){return Ve(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ve(e.getHours()%12||12,t.length)},H(e,t){return Ve(e.getHours(),t.length)},m(e,t){return Ve(e.getMinutes(),t.length)},s(e,t){return Ve(e.getSeconds(),t.length)},S(e,t){const n=t.length,o=e.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return Ve(r,t.length)}},Rs={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},cP={G:function(e,t,n){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const o=e.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Ea.y(e,t)},Y:function(e,t,n,o){const r=lP(e,o),i=r>0?r:1-r;if(t==="YY"){const s=i%100;return Ve(s,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ve(i,t.length)},R:function(e,t){const n=nP(e);return Ve(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ve(n,t.length)},Q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Ve(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Ve(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){const o=e.getMonth();switch(t){case"M":case"MM":return Ea.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return Ve(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){const r=AW(e,o);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):Ve(r,t.length)},I:function(e,t,n){const o=SW(e);return t==="Io"?n.ordinalNumber(o,{unit:"week"}):Ve(o,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Ea.d(e,t)},D:function(e,t,n){const o=LW(e);return t==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):Ve(o,t.length)},E:function(e,t,n){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){const r=e.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ve(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){const r=e.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ve(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const o=e.getDay(),r=o===0?7:o;switch(t){case"i":return String(r);case"ii":return Ve(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const o=e.getHours();let r;switch(o===12?r=Rs.noon:o===0?r=Rs.midnight:r=o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const o=e.getHours();let r;switch(o>=17?r=Rs.evening:o>=12?r=Rs.afternoon:o>=4?r=Rs.morning:r=Rs.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Ea.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Ea.H(e,t)},K:function(e,t,n){const o=e.getHours()%12;return t==="Ko"?n.ordinalNumber(o,{unit:"hour"}):Ve(o,t.length)},k:function(e,t,n){let o=e.getHours();return o===0&&(o=24),t==="ko"?n.ordinalNumber(o,{unit:"hour"}):Ve(o,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Ea.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Ea.s(e,t)},S:function(e,t){return Ea.S(e,t)},X:function(e,t,n){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return hP(o);case"XXXX":case"XX":return ps(o);case"XXXXX":case"XXX":default:return ps(o,":")}},x:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"x":return hP(o);case"xxxx":case"xx":return ps(o);case"xxxxx":case"xxx":default:return ps(o,":")}},O:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+dP(o,":");case"OOOO":default:return"GMT"+ps(o,":")}},z:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+dP(o,":");case"zzzz":default:return"GMT"+ps(o,":")}},t:function(e,t,n){const o=Math.trunc(+e/1e3);return Ve(o,t.length)},T:function(e,t,n){return Ve(+e,t.length)}};function dP(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+t+Ve(i,2)}function hP(e,t){return e%60===0?(e>0?"-":"+")+Ve(Math.abs(e)/60,2):ps(e,t)}function ps(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Ve(Math.trunc(o/60),2),i=Ve(o%60,2);return n+r+t+i}const uP=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},pP=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},BW={p:pP,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return uP(e,t);let i;switch(o){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",uP(o,t)).replace("{{time}}",pP(r,t))}},VW=/^D+$/,_W=/^Y+$/,zW=["D","DD","YY","YYYY"];function PW(e){return VW.test(e)}function qW(e){return _W.test(e)}function DW(e,t,n){const o=EW(e,t,n);if(console.warn(o),zW.includes(e))throw new RangeError(o)}function EW(e,t,n){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const TW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,OW=/^'([^]*?)'?$/,jW=/''/g,FW=/[a-zA-Z]/;function yP(e,t,n){var u,p,y,f;const o=vS(),r=o.locale??sP,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=Bt(e,n==null?void 0:n.in);if(!G$(c))throw new RangeError("Invalid time value");let d=t.match(HW).map(m=>{const k=m[0];if(k==="p"||k==="P"){const g=BW[k];return g(m,r.formatLong)}return m}).join("").match(TW).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const k=m[0];if(k==="'")return{isToken:!1,value:RW(m)};if(cP[k])return{isToken:!0,value:m};if(k.match(FW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:m}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(m=>{if(!m.isToken)return m.value;const k=m.value;(qW(k)||PW(k))&&DW(k,t,String(e));const g=cP[k[0]];return g(c,k,r.localize,h)}).join("")}function RW(e){const t=e.match(OW);return t?t[1].replace(jW,"'"):e}const NW={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},UW=(e,t,n)=>{let o;const r=NW[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},$W={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},WW={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},GW={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XW={date:Fs({formats:$W,defaultWidth:"full"}),time:Fs({formats:WW,defaultWidth:"full"}),dateTime:Fs({formats:GW,defaultWidth:"full"})},KW={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},ZW=(e,t,n,o)=>KW[e],YW={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},JW={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},QW={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},eG={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},tG={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},aG={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},nG={ordinalNumber:(e,t)=>"ke-"+Number(e),era:Yt({values:YW,defaultWidth:"wide"}),quarter:Yt({values:JW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:QW,defaultWidth:"wide"}),day:Yt({values:eG,defaultWidth:"wide"}),dayPeriod:Yt({values:tG,defaultWidth:"wide",formattingValues:aG,defaultFormattingWidth:"wide"})},oG=/^ke-(\d+)?/i,rG=/\d+/i,iG={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},sG={any:[/^s/i,/^(m|e)/i]},lG={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},cG={any:[/1/i,/2/i,/3/i,/4/i]},dG={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},hG={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},uG={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},pG={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},yG={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},fG={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},mG={ordinalNumber:iP({matchPattern:oG,parsePattern:rG,valueCallback:e=>parseInt(e,10)}),era:Jt({matchPatterns:iG,defaultMatchWidth:"wide",parsePatterns:sG,defaultParseWidth:"any"}),quarter:Jt({matchPatterns:lG,defaultMatchWidth:"wide",parsePatterns:cG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Jt({matchPatterns:dG,defaultMatchWidth:"wide",parsePatterns:hG,defaultParseWidth:"any"}),day:Jt({matchPatterns:uG,defaultMatchWidth:"wide",parsePatterns:pG,defaultParseWidth:"any"}),dayPeriod:Jt({matchPatterns:yG,defaultMatchWidth:"any",parsePatterns:fG,defaultParseWidth:"any"})},kG={code:"id",formatDistance:UW,formatLong:XW,formatRelative:ZW,localize:nG,match:mG,options:{weekStartsOn:1,firstWeekContainsDate:1}},fP={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},mP="dcode-dp-theme-forced";function gG(e,t=mP){const n=fP[e]??fP.primary,o=`
|
|
8520
8520
|
.dp__theme_light {
|
|
8521
8521
|
--dp-primary-color: ${n.light.primary} !important;
|
|
8522
8522
|
--dp-primary-text-color: ${n.light.text} !important;
|
|
@@ -8564,7 +8564,7 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8564
8564
|
.dcode-datepicker-menu .dp__menu_inner {
|
|
8565
8565
|
padding: 0 !important;
|
|
8566
8566
|
}
|
|
8567
|
-
`.trim();let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r)),r.textContent=o}function bG(e,t=mP){a.watch(e,n=>gG(n,t),{immediate:!0})}const xG={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},MG={key:0,class:"ml-1 text-destructive"},wG=["disabled","onClick"],vG={class:"flex-shrink-0 px-2 text-sm text-muted-foreground select-none whitespace-nowrap"},CG=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],LG={class:"h-full p-2 flex flex-col gap-3 w-32"},SG={class:"flex items-center justify-end gap-2 w-full p-2"},IG={key:1,class:"text-xs text-destructive"},wA=a.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!1},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=e,r=t,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=a.computed(()=>{const D=n.required,z=n["aria-required"];return D===""||D===!0||D==="true"||z==="true"||z===!0}),d=a.computed(()=>!!o.error),h=a.computed({get:()=>o.modelValue,set:D=>{r("update:modelValue",D),r("change",D)}}),u=a.computed(()=>o.locale==="en"?sP:kG),p=a.computed(()=>o.range?2:!1),y=a.computed(()=>{if(!o.range)return!1;const D={partialRange:!1};return o.autoRangeDays&&o.autoRangeDays>0&&(D.maxRange=o.autoRangeDays,D.autoRange=o.autoRangeDays),D}),f=D=>{const z=new Date(D);return z.setHours(0,0,0,0),z},m=D=>{const z=new Date(D);return z.setHours(23,59,59,999),z},k=(D,z)=>{const G=new Date(D);return G.setDate(G.getDate()+z),G},g=a.computed(()=>{if(o.disablePast)return f(new Date)}),x=a.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return m(k(new Date,o.maxDaysAhead))}),C=a.ref(null),w=a.ref(null),b=D=>{w.value={month:D.month,year:D.year}},L=a.ref(!1);let S=null;a.onMounted(()=>{const D=document.documentElement,z=()=>L.value=D.classList.contains("dark");z(),S=new MutationObserver(z),S.observe(D,{attributes:!0,attributeFilter:["class"]})}),a.onBeforeUnmount(()=>{S==null||S.disconnect(),S=null}),bG(a.toRef(o,"tone"));const v=D=>{const z=new Date(D),G=z.getDay(),H=z.getDate()-G+(G===0?-6:1);return z.setDate(H),f(z)},M=D=>{const z=v(D);return z.setDate(z.getDate()+6),m(z)},I=D=>{const z=new Date(D);return z.setDate(1),f(z)},V=D=>{const z=new Date(D);return z.setMonth(z.getMonth()+1),z.setDate(0),m(z)},_=a.computed(()=>{if(!o.range)return[];const D=new Date,z=f(D),G=v(D),H=M(D),O=I(D),U=V(D),J=(T,R)=>{let F=T;o.disablePast&&F<z&&(F=z);let Y=R;if(o.autoRangeDays&&o.autoRangeDays>0){const Q=m(k(F,o.autoRangeDays-1));Y>Q&&(Y=Q)}return Y<F&&(Y=m(new Date(F))),[F,Y]};return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:J(G,H)},{label:o.locale==="id"?"Bulan Ini":"This Month",range:J(O,U)}]}),B=async D=>{var R,F;const z=o.modelType||"yyyy-MM-dd";if(D.length===0){h.value=null;return}if(D.length<2)return;const G=yP(D[0],z),H=yP(D[1],z);h.value=[G,H],await a.nextTick();const O=D[0],U=O.getMonth(),J=O.getFullYear();w.value&&w.value.month===U&&w.value.year===J||(R=C.value)==null||R.setMonthYear({month:U,year:J}),(F=C.value)==null||F.openMenu()};return(D,z)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class])},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",xG)):a.createCommentVNode("",!0),z[2]||(z[2]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:s.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",MG,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createVNode(a.unref(it.VueDatePicker),{ref_key:"dpRef",ref:C,modelValue:h.value,"onUpdate:modelValue":z[1]||(z[1]=G=>h.value=G),dark:L.value,range:y.value,"multi-calendars":p.value,disabled:e.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":e.modelType,formats:{input:e.displayFormat},"min-date":g.value,"max-date":x.value,"preset-ranges":_.value,floating:{placement:e.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:b},a.createSlots({"dp-input":a.withCtx(({value:G,onInput:H,onEnter:O,onTab:U,onBlur:J,onFocus:T,onKeypress:R,onPaste:F,toggleMenu:Y})=>[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 overflow-hidden shadow-none",[d.value?"border-destructive":"",e.disabled?"opacity-50 cursor-not-allowed":""]])},[a.createElementVNode("button",{type:"button",tabindex:"-1",disabled:e.disabled,class:"flex-shrink-0 flex items-center justify-center w-10 h-full text-muted-foreground hover:text-foreground transition-colors focus:outline-none",onClick:Q=>Y()},[a.createVNode(a.unref(Js),{class:"w-4 h-4 pointer-events-none"})],8,wG),z[4]||(z[4]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1)),e.prependInner?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("span",vG,a.toDisplayString(e.prependInner),1),z[3]||(z[3]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1))],64)):a.createCommentVNode("",!0),a.createElementVNode("input",{id:s.value,value:G,placeholder:e.placeholder,disabled:e.disabled,autocomplete:"off",readonly:"",class:a.normalizeClass(["flex-1 min-w-0 px-3 h-full bg-transparent text-sm text-foreground dark:text-gray-300 placeholder:text-muted-foreground outline-none",e.disabled?"cursor-not-allowed":"cursor-pointer"]),onClick:Q=>Y(),onFocus:Q=>T(),onBlur:Q=>J(),onInput:Q=>H(Q),onKeydown:[a.withKeys(Q=>O(Q),["enter"]),a.withKeys(Q=>U(Q),["tab"])],onKeypress:Q=>R(Q),onPaste:Q=>F()},null,42,CG)],2)]),"action-buttons":a.withCtx(({selectDate:G,selectionDisabled:H})=>[a.createElementVNode("div",SG,[a.createVNode(a.unref(Ne),{type:"button",variant:"outline",onClick:z[0]||(z[0]=O=>{var U;return(U=C.value)==null?void 0:U.closeMenu()})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.cancelLabel),1)]),_:1}),a.createVNode(a.unref(Ne),{type:"button",variant:"default",disabled:H,onClick:O=>G()},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[e.range?{name:"left-sidebar",fn:a.withCtx(()=>[a.createElementVNode("div",LG,[_.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(_.value,G=>(a.openBlock(),a.createBlock(a.unref(Ne),{key:G.label,type:"button",variant:"default",class:"w-full",onClick:H=>B(G.range)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(G.label),1)]),_:2},1032,["onClick"]))),128)):a.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(a.openBlock(),a.createElementBlock("p",IG,a.toDisplayString(o.error),1)):a.createCommentVNode("",!0)],64))],2))}}),AG=a.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=St(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(dV),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),BG=a.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=St(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(wV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(xV),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(hV),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:a.withCtx(()=>[a.createVNode(a.unref(ut),{class:"w-4 h-4"}),c[0]||(c[0]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),VG=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(MV),a.mergeProps(a.unref(o),{class:a.unref(xe)("text-sm text-muted-foreground",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),_G=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(CV),a.mergeProps(a.unref(o),{class:a.unref(xe)("text-lg font-medium leading-none tracking-tight",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),zG={key:0,class:"px-6 py-4 flex items-center justify-between border-b border-neutral-200 dark:border-neutral-800 bg-white/80 dark:bg-neutral-900/80 backdrop-blur-md sticky top-0 z-20"},PG={class:"flex items-center gap-3"},qG={key:0,class:"p-2 rounded-lg bg-primary/10 text-primary"},DG={class:"flex flex-col"},EG={key:0,class:"flex items-center gap-2"},TG={key:1,class:"px-6 py-4 border-t border-neutral-200 dark:border-neutral-800 bg-neutral-50/50 dark:bg-neutral-900/50 sticky bottom-0 z-20"},HG={class:"flex justify-end gap-3 flex-wrap"},LS=$t(a.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.computed(()=>{const{style:h,...u}=r;return u}),s=a.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=a.computed(()=>n.icon?aa[n.icon]??null:null),d=h=>{o("update:modelValue",h)};return(h,u)=>(a.openBlock(),a.createBlock(a.unref(AG),{open:e.modelValue,"onUpdate:open":d},{default:a.withCtx(()=>[a.createVNode(a.unref(BG),a.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl flex flex-col max-h-[90vh] bg-white dark:bg-neutral-950 border-0",onInteractOutside:u[0]||(u[0]=p=>e.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>e.persistent?p.preventDefault():null)}),{default:a.withCtx(()=>[e.title||h.$slots["header-append"]?(a.openBlock(),a.createElementBlock("div",zG,[a.createElementVNode("div",PG,[c.value?(a.openBlock(),a.createElementBlock("div",qG,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),{class:"h-5 w-5"}))])):a.createCommentVNode("",!0),a.createElementVNode("div",DG,[a.createVNode(a.unref(_G),{class:"text-lg font-bold text-neutral-900 dark:text-neutral-50 leading-tight"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),a.createVNode(a.unref(VG),{class:"hidden"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title||"Dialog Content"),1)]),_:1})])]),h.$slots["header-append"]?(a.openBlock(),a.createElementBlock("div",EG,[a.renderSlot(h.$slots,"header-append",{},void 0,!0)])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex-1 overflow-y-auto custom-scrollbar",e.contentClass]),style:a.normalizeStyle(e.contentStyle)},[a.renderSlot(h.$slots,"default",{},void 0,!0)],6),h.$slots.actions?(a.openBlock(),a.createElementBlock("div",TG,[a.createElementVNode("div",HG,[a.renderSlot(h.$slots,"actions",{},void 0,!0)])])):a.createCommentVNode("",!0)]),_:3},16,["style"])]),_:3},8,["open"]))}}),[["__scopeId","data-v-4e449ad2"]]),kP=a.defineComponent({name:"DCodeDialogCloseBtn",__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(e){const t=e,n=a.computed(()=>aa[t.icon]??ut);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(Ne),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{size:Number(e.iconSize)},null,8,["size"]))]),_:1}))}}),OG=a.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)(a.unref(FG)({variant:e.variant}),t.class)),role:"alert"},[a.renderSlot(n.$slots,"default")],2))}}),jG=a.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("text-sm [&_p]:leading-relaxed",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),FG=xl("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ta=a.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)(a.unref(RG)({variant:e.variant}),t.class))},[a.renderSlot(n.$slots,"default")],2))}}),RG=xl("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),vA=a.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("rounded-xl border bg-card text-card-foreground shadow",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),CA=a.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("p-6 pt-0",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),LA=a.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col gap-y-1.5 p-6",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),SA=a.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("h3",{class:a.normalizeClass(a.unref(xe)("font-medium leading-none tracking-tight",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),NG={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},UG={class:"flex flex-wrap items-center justify-center gap-2"},$G=["accept","multiple"],SS=$t(a.defineComponent({name:"DCodeDropzone",__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"*/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);a.computed(()=>n.accept||"file/*");const h=a.computed(()=>n.error??s.value);function u(){var v;n.disabled||(v=r.value)==null||v.click()}function p(v){const M=v/1024,I=M/1024;return I>=1?`${I.toFixed(2)} MB`:M>=1?`${M.toFixed(1)} KB`:`${v} B`}function y(v){var I;if(!v)return"File tidak valid";if((I=n.accept)!=null&&I.includes("image/")&&!v.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const M=(n.maxSizeMb??2)*1024*1024;return v.size>M?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(v){c.value=v.name,d.value=v.size}function m(v){if(s.value=null,!v.length)return;if(n.mode==="single"){const I=v[0],V=y(I);if(V){s.value=V,o("error",V);return}n.showSelected&&f(I),o("picked",I);return}const M=[];for(const I of v){const V=y(I);if(V){s.value=V,o("error",V);return}M.push(I)}M.length&&(n.showSelected&&f(M[0]),o("picked:multiple",M))}function k(v){const M=v.target,I=Array.from(M.files??[]);m(I),M.value=""}function g(){n.disabled||(i.value=!0)}function x(){n.disabled||(i.value=!0)}function C(){i.value=!1}function w(v){var V,_;if(n.disabled)return;i.value=!1;const M=Array.from(((V=v.dataTransfer)==null?void 0:V.files)??[]),I=(_=n.accept)!=null&&_.includes("image/")?M.filter(B=>B.type.startsWith("image/")):M;m(I)}const b=a.computed(()=>(n.accept||"file/*").split(",").map(v=>v.trim()).filter(Boolean).map(v=>v==="image/*"?"IMAGE":v.replace(/^image\//,"").replace(/^\./,"")).join(", "));a.computed(()=>`${n.maxSizeMb??0}MB`);const L=a.ref(!1),S=a.computed(()=>{if(n.disabled||!L.value)return{};const v=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark");return{borderColor:v?"hsl(var(--primary) / 0.5)":"hsl(var(--primary) / 0.6)",backgroundColor:v?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"}});return(v,M)=>(a.openBlock(),a.createBlock(a.unref(vA),{class:a.normalizeClass([e.disabled?"opacity-60":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(a.unref(LA),{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(SA),{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label),1)]),_:1})]),_:1}),a.createVNode(a.unref(CA),{class:"pt-2"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["d-dropzone-area flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"is-dragging border-primary bg-primary/10 dark:bg-primary/20 -translate-y-[1px]":"border-border dark:border-neutral-700 bg-muted/30 dark:bg-neutral-800/50",e.disabled?"is-disabled":""]]),style:a.normalizeStyle([{minHeight:"190px"},S.value]),onClick:u,onDragenter:a.withModifiers(g,["prevent"]),onDragover:a.withModifiers(x,["prevent"]),onDragleave:a.withModifiers(C,["prevent"]),onDrop:a.withModifiers(w,["prevent"]),onMouseenter:M[0]||(M[0]=I=>L.value=!0),onMouseleave:M[1]||(M[1]=I=>L.value=!1)},[a.createElementVNode("div",NG,[M[2]||(M[2]=a.createElementVNode("div",{class:"text-sm font-medium dark:text-neutral-200"},"Drag & drop file di sini",-1)),M[3]||(M[3]=a.createElementVNode("div",{class:"text-xs text-muted-foreground dark:text-neutral-400"},"atau klik area ini untuk memilih file",-1)),a.createElementVNode("div",UG,[a.createVNode(a.unref(Ta),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(" Allowed: "+a.toDisplayString(b.value),1)]),_:1}),a.createVNode(a.unref(Ta),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(" Max: "+a.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),e.showSelected&&c.value?(a.openBlock(),a.createBlock(a.unref(Ta),{key:0,variant:"secondary",class:"mt-2 dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value)+" • "+a.toDisplayString(d.value?p(d.value):""),1)]),_:1})):a.createCommentVNode("",!0)]),a.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:e.accept,multiple:e.mode==="multiple",onChange:k},null,40,$G)],38),h.value?(a.openBlock(),a.createBlock(a.unref(OG),{key:0,variant:"destructive",class:"mt-3"},{default:a.withCtx(()=>[a.createVNode(a.unref(jG),{class:"text-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:1})]),_:1})):a.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),[["__scopeId","data-v-02ca61c0"]]),WG={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},GG=["src"],XG={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground dark:text-neutral-400 gap-2 p-4 text-center"},KG={class:"space-y-0.5"},ZG={class:"text-sm font-medium truncate max-w-[180px] dark:text-neutral-200"},YG={class:"text-xs opacity-70"},JG=["disabled"],QG={key:1},eX=["disabled"],tX={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},aX={class:"flex gap-2"},nX={class:"font-medium truncate"},oX={class:"flex gap-2"},rX={class:"font-medium"},iX={class:"flex gap-2"},sX={class:"font-medium truncate"},IA=$t(a.defineComponent({name:"DCodeFileResult",__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null),i=a.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));a.watch(()=>n.file,f=>{r.value&&URL.revokeObjectURL(r.value),r.value=f?URL.createObjectURL(f):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),u&&u.disconnect()});function s(f){const m=f/1024,k=m/1024;return k>=1?`${k.toFixed(2)} MB`:m>=1?`${m.toFixed(1)} KB`:`${f} B`}const c=a.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null),d=a.ref(!1),h=a.ref(!1);let u=null;const p=()=>{typeof document<"u"&&(h.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{p(),typeof document<"u"&&(u=new MutationObserver(p),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),u.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const y=a.computed(()=>n.disabled||!d.value?{}:{borderColor:h.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:h.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(f,m)=>e.file?(a.openBlock(),a.createBlock(vA,{key:0,class:a.normalizeClass([e.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(LA,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(SA,{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),e.description?(a.openBlock(),a.createElementBlock("div",WG,a.toDisplayString(e.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(CA,{class:"pt-2"},{default:a.withCtx(()=>{var k,g,x,C,w;return[a.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:a.normalizeStyle([{height:`${e.previewHeight}px`},y.value]),onMouseenter:m[2]||(m[2]=b=>d.value=!0),onMouseleave:m[3]||(m[3]=b=>d.value=!1)},[i.value&&r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,GG)):(a.openBlock(),a.createElementBlock("div",XG,[a.createVNode(a.unref(ws),{class:"w-10 h-10"}),a.createElementVNode("div",KG,[a.createElementVNode("p",ZG,a.toDisplayString((k=c.value)==null?void 0:k.name),1),a.createElementVNode("p",YG,a.toDisplayString((g=c.value)==null?void 0:g.size),1)])])),a.createElementVNode("div",{class:"d-action-buttons",style:a.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:d.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:d.value?"auto":"none"})},[e.showEdit&&i.value?(a.openBlock(),a.createElementBlock("button",{key:0,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:m[0]||(m[0]=b=>o("edit"))},[a.createVNode(a.unref(mr),{style:{width:"16px",height:"16px"}})],12,JG)):(a.openBlock(),a.createElementBlock("div",QG)),e.showRemove?(a.openBlock(),a.createElementBlock("button",{key:2,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:m[1]||(m[1]=b=>o("remove"))},[a.createVNode(a.unref(Ti),{style:{width:"16px",height:"16px"}})],12,eX)):a.createCommentVNode("",!0)],4),a.createElementVNode("div",{class:"d-metadata-overlay",style:a.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:d.value?1:0,transform:d.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:h.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:h.value?"#e5e5e5":"#171717"})},[a.createElementVNode("div",tX,[a.createElementVNode("div",aX,[m[4]||(m[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),a.createElementVNode("span",nX,a.toDisplayString((x=c.value)==null?void 0:x.name),1)]),a.createElementVNode("div",oX,[m[5]||(m[5]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),a.createElementVNode("span",rX,a.toDisplayString((C=c.value)==null?void 0:C.size),1)]),a.createElementVNode("div",iX,[m[6]||(m[6]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),a.createElementVNode("span",sX,a.toDisplayString((w=c.value)==null?void 0:w.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-4f5c1d5e"]]);function AA(){const e=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:e,success:(i,s)=>e({type:"success",message:i,title:s}),error:(i,s)=>e({type:"error",message:i,title:s}),warning:(i,s)=>e({type:"warning",message:i,title:s}),info:(i,s)=>e({type:"info",message:i,title:s})}}const lX={class:"space-y-3"},cX={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30 dark:bg-neutral-800/20 dark:border-neutral-800"},gP=a.defineComponent({name:"DCodeFileField",inheritAttrs:!1,__name:"DCodeFileField",props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:"*/*"},minSizeMb:{default:null},maxSizeMb:{default:1},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:S=>o("update:modelValue",S)}),i=a.ref(null),s=a.ref(null);function c(S){s.value=S,o("error",S)}function d(){s.value=null}const h=a.computed(()=>{const S=(n.allowedTypes??"").trim();return S?S.split(/[,\s;]+/g).map(M=>M.trim().toLowerCase()).filter(Boolean).map(M=>M.includes("/")||M.startsWith(".")?M:`.${M}`):[]});function u(S){const v=S.lastIndexOf(".");return v>=0?S.slice(v).toLowerCase():""}const p=a.computed(()=>{if(h.value.length){const S=h.value.filter(M=>M.startsWith("."));return[...h.value.filter(M=>M.includes("/")),...S].join(",")}return n.accept}),y=a.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(S){if(h.value.length){const v=(S.type||"").toLowerCase(),M=u(S.name);return h.value.some(I=>I.includes("/")?v===I:I.startsWith(".")?M===I:M===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const v=n.accept.split(",").map(V=>V.trim().toLowerCase()),M=(S.type||"").toLowerCase(),I=u(S.name);return v.some(V=>{if(V.endsWith("/*")){const _=V.slice(0,-2);return M.startsWith(_)}return V.startsWith(".")?I===V:M===V})}return!0}function m(S){return S*1024*1024}async function k(S){return S?f(S)?n.minSizeMb!=null&&S.size<m(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&S.size>m(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=et(),x=AA(),C=a.ref(!1);async function w(S){var v;if(n.uploadFn){try{C.value=!0;const M=await n.uploadFn(S);r.value=S,o("uploaded",M)}catch(M){console.error("Upload Error",M),x.error("Upload Failed",(M==null?void 0:M.message)||"Unknown error"),c((M==null?void 0:M.message)||"Upload Failed")}finally{C.value=!1}return}if(!((v=n.endpoint)!=null&&v.apiUrl)){r.value=S;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{C.value=!0;const M=new FormData;M.append("doc",S);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),V=n.endpoint.apiUrl,_=await g("","",M,{_url:V,_method:I,withCredentials:!0,transformRequest:[(D,z)=>(z&&(delete z["Content-Type"],delete z["content-type"]),D)]}),B=(_==null?void 0:_.data)??_;r.value=S,o("uploaded",B)}catch(M){console.error("Upload Error",M),x.error("Upload Failed",(M==null?void 0:M.message)||"Unknown error"),c((M==null?void 0:M.message)||"Upload Failed")}finally{C.value=!1}}async function b(S){var M;if(n.disabled)return;d();const v=await k(S);if(v){c(v);return}i.value=S,n.uploadFn||(M=n.endpoint)!=null&&M.apiUrl?await w(S):r.value=S}function L(){d(),r.value=null,i.value=null}return a.watch(()=>n.modelValue,S=>{S&&!i.value&&(i.value=S),S||(i.value=null)},{immediate:!0}),(S,v)=>(a.openBlock(),a.createElementBlock("div",lX,[r.value?C.value?(a.openBlock(),a.createElementBlock("div",cX,[...v[1]||(v[1]=[a.createElementVNode("span",{class:"text-sm text-muted-foreground dark:text-neutral-400 animate-pulse"},"Uploading...",-1)])])):(a.openBlock(),a.createBlock(IA,{key:2,file:r.value,title:e.label,description:e.hint,disabled:e.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":e.previewHeight,"preview-width":e.previewWidth,onRemove:L},null,8,["file","title","description","disabled","preview-height","preview-width"])):(a.openBlock(),a.createBlock(SS,{key:0,label:e.label,hint:e.hint,accept:p.value,maxSizeMb:e.maxSizeMb,disabled:e.disabled||C.value,onPicked:b,error:s.value,onError:v[0]||(v[0]=M=>c(M))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),dX=["for"],hX={key:0,class:"!ml-1 !text-destructive"},uX={class:"relative w-full block box-border"},pX={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground pointer-events-none z-10"},yX=["id","readonly","disabled","placeholder"],fX={class:"absolute inset-y-0 right-4 flex items-center z-10"},mX={key:1,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg box-border"},kX={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},gX={key:1,class:"text-sm text-muted-foreground text-center"},bX=["onClick","title"],xX={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},MX={class:"flex items-center justify-center flex-1"},wX={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},vX={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},bP=a.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=e,o=t,r=aa,i=a.ref(null),s=a.ref(null),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=a.ref(!1),u=a.computed(()=>(n.modelValue??"").trim()||""),p=a.ref(""),y=a.ref(!1),f=a.ref(!1),m=a.ref(!1),k=a.shallowRef([]),g=a.ref(n.pageSize),x=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),C=async()=>{if(f.value||m.value)return;m.value=!0,await new Promise(R=>setTimeout(R,0));const T=Object.keys(r).filter(R=>!x.has(R)).filter(R=>/^[A-Z]/.test(R)).filter(R=>typeof r[R]=="function"||typeof r[R]=="object"&&r[R]).sort((R,F)=>R.localeCompare(F));k.value=T,f.value=!0,m.value=!1},w=a.computed(()=>!f.value||!u.value||!k.value.includes(u.value)?null:r[u.value]),b=a.ref(u.value),L=a.computed(()=>!!u.value&&!h.value),S=a.computed(()=>{if(!f.value)return[];const T=(p.value??"").trim().toLowerCase();return T?k.value.filter(R=>R.toLowerCase().includes(T)):k.value}),v=a.computed(()=>S.value.slice(0,g.value)),M=a.computed(()=>{const T=n.columns;return T<=2?"grid-cols-2":T===3?"grid-cols-3":T===4?"grid-cols-4":T===5?"grid-cols-5":T>=8?"grid-cols-8":"grid-cols-6"});a.computed(()=>n.clearable?"!pr-10":"!pr-3"),a.computed(()=>w.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var T;await a.nextTick(),(T=s.value)==null||T.focus()},V=async T=>{if(n.disabled)return;const R=T!==!1;if(y.value){y.value=!1;return}h.value=!0,await C(),R&&(p.value="",b.value=""),g.value=n.pageSize,await I()},_=()=>{h.value=!1,p.value="",b.value=u.value,g.value=n.pageSize},B=async()=>{n.disabled||(h.value?_():await V())};let D=null;const z=async T=>{if(n.disabled)return;o("update:modelValue",null),h.value||await V(!1),D&&clearTimeout(D);const R=b.value;D=setTimeout(()=>{p.value=R},300)},G=T=>{n.disabled||(o("update:modelValue",T),_(),queueMicrotask(()=>{var R;return(R=s.value)==null?void 0:R.blur()}))},H=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,_(),queueMicrotask(()=>{var T;return(T=s.value)==null?void 0:T.focus()}))},O=T=>{if(T.key==="Escape"){T.preventDefault(),_();return}if(T.key==="Enter"&&h.value){const R=S.value[0];R&&(T.preventDefault(),G(R))}},U=T=>{if(!h.value)return;const R=T.target;i.value&&!i.value.contains(R)&&_()},J=T=>{const R=T.target;R.scrollTop+R.clientHeight>=R.scrollHeight-24&&g.value<S.value.length&&(g.value=Math.min(g.value+n.pageSize,S.value.length))};return a.onMounted(()=>{document.addEventListener("mousedown",U),queueMicrotask(()=>{var T;s.value=((T=i.value)==null?void 0:T.querySelector("input"))??null}),u.value&&C()}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",U),D&&clearTimeout(D)}),a.watch(u,T=>{h.value||(b.value=T)}),a.watch(()=>p.value,()=>{g.value=n.pageSize}),(T,R)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"!w-full !block !box-border"},[n.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:d.value,class:"!text-sm !font-medium !mb-1 !block"},[a.createTextVNode(a.toDisplayString(n.label)+" ",1),n.required?(a.openBlock(),a.createElementBlock("span",hX,"*")):a.createCommentVNode("",!0)],8,dX)):a.createCommentVNode("",!0),a.createElementVNode("div",uX,[w.value&&!h.value?(a.openBlock(),a.createElementBlock("div",pX,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(w.value),{size:18}))])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("input",{id:d.value,"onUpdate:modelValue":R[0]||(R[0]=F=>b.value=F),readonly:L.value,disabled:n.disabled,placeholder:n.placeholder,class:a.normalizeClass(["w-full h-10 m-0 py-0 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 pr-10 outline-none box-border truncate",[w.value&&!h.value?"pl-10":"pl-4",L.value?"cursor-pointer select-none":""]]),onClick:V,onFocus:V,onInput:z,onKeydown:O},null,42,yX),[[a.vModelText,b.value]]),a.createElementVNode("div",fX,[n.clearable&&u.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition cursor-pointer outline-none",onMousedown:R[1]||(R[1]=a.withModifiers(()=>{},["prevent"])),onClick:H,title:"Clear"},[a.createVNode(a.unref(ut),{class:"h-4 w-4"})],32)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform cursor-pointer outline-none",onMousedown:R[2]||(R[2]=a.withModifiers(()=>{},["prevent"])),onClick:B,title:"Open"},[a.createVNode(a.unref(Pt),{class:"h-4 w-4"})],32))]),h.value?(a.openBlock(),a.createElementBlock("div",mX,[a.createElementVNode("div",{class:"p-2 overflow-auto",style:a.normalizeStyle({maxHeight:n.maxHeight}),onScroll:J},[m.value?(a.openBlock(),a.createElementBlock("div",kX,[a.createVNode(a.unref(Lt),{class:"h-4 w-4 animate-spin"}),R[3]||(R[3]=a.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&S.value.length===0?(a.openBlock(),a.createElementBlock("div",gX," Icon tidak ditemukan ")):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grid gap-2",M.value])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(v.value,F=>(a.openBlock(),a.createElementBlock("button",{key:F,type:"button",class:a.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===F?"ring-1 ring-primary":""]),onClick:Y=>G(F),title:F},[a.createElementVNode("div",xX,[a.createElementVNode("div",MX,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r)[F]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),a.createElementVNode("span",wX,a.toDisplayString(F),1)])],10,bX))),128))],2)),f.value&&S.value.length>0?(a.openBlock(),a.createElementBlock("div",vX," Showing "+a.toDisplayString(v.value.length)+" / "+a.toDisplayString(S.value.length),1)):a.createCommentVNode("",!0)],36)])):a.createCommentVNode("",!0)])],512))}}),CX={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6"},LX={class:"flex items-center justify-between border-b dark:border-neutral-800 px-6 py-4"},SX={class:"relative overflow-auto p-0"},BA=a.defineComponent({name:"DCodeImageCropperDialog",inheritAttrs:!1,__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:w=>o("update:modelValue",w)}),i=a.ref(null),s=a.ref(null);let c=null,d=!1,h=0,u=null;function p(){if(c){try{c.close()}catch{}c=null,u&&(u.disconnect(),u=null),i.value&&(i.value.innerHTML=""),s.value=null}}async function y(w,b,L,S,v){const M=await new Promise((_,B)=>{const D=URL.createObjectURL(w),z=new Image;z.onload=()=>{URL.revokeObjectURL(D),_(z)},z.onerror=G=>{URL.revokeObjectURL(D),B(G)},z.src=D}),I=document.createElement("canvas");I.width=b,I.height=L;const V=I.getContext("2d");return V?(V.drawImage(M,0,0,b,L),await new Promise(_=>{I.toBlob(B=>_(B||w),S,v)})):w}function f(){if(!c||!s.value)return;const w=c.getPlugin("Dashboard"),b=c.getFile(s.value);!w||!b||requestAnimationFrame(()=>{try{w.openFileEditor(b)}catch{try{w.openFileEditor(s.value)}catch{}}})}async function m(w){if(c){c.cancelAll(),s.value=null;try{const b=c.addFile({name:w.name,type:w.type,data:w,source:"Local",isRemote:!1});s.value=String(b)}catch{}}}function k(){if(!i.value)return;c&&p(),c=new dq({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}});const w=document.documentElement.classList.contains("dark");c.use(GA,{target:i.value,inline:!0,height:480,theme:w?"dark":"light",proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),u=new MutationObserver(()=>{if(!c)return;const b=document.documentElement.classList.contains("dark"),L=c.getPlugin("Dashboard");L&&L.setOptions({theme:b?"dark":"light"})}),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),c.use(hq,{target:GA,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",b=>{s.value=(b==null?void 0:b.id)??null,n.autoOpenEditor&&setTimeout(()=>f(),80)}),c.on("file-editor:complete",async b=>{const L=++h;try{const S=b.data,v=S.type||b.type||"image/jpeg";let M=S;if(n.outputWidth&&n.outputHeight&&(M=await y(S,n.outputWidth,n.outputHeight,v,n.quality)),d||L!==h)return;const I=b.name||"edited-image.jpg",V=new File([M],I,{type:v});await g(V,"UPPY_EDITOR_COMPLETE"),o("done",V),r.value=!1}catch{}})}async function g(w,b="CROP_RESULT"){const L=URL.createObjectURL(w);try{const S=await new Promise((v,M)=>{const I=new Image;I.onload=()=>v(I),I.onerror=M,I.src=L});console.group(b),console.log("file:",w),console.table({name:w.name,type:w.type,sizeBytes:w.size,sizeMB:+(w.size/1024/1024).toFixed(3),width:S.naturalWidth,height:S.naturalHeight,ratio:+(S.naturalWidth/S.naturalHeight).toFixed(4)}),console.log("previewUrl:",L),console.groupEnd()}finally{URL.revokeObjectURL(L)}}a.watch(r,async w=>{d=!w,h++,w?(await a.nextTick(),k(),n.file&&await m(n.file)):p()},{flush:"post"}),a.watch(()=>n.file,async w=>{r.value&&w&&(await a.nextTick(),await m(w))}),a.onBeforeUnmount(()=>{d=!0,h++,p()});const x=w=>{w.key==="Escape"&&r.value&&(r.value=!1)};a.watch(r,w=>{w?globalThis.addEventListener("keydown",x):globalThis.removeEventListener("keydown",x)},{immediate:!0});const C=a.ref(!1);return(w,b)=>r.value?(a.openBlock(),a.createElementBlock("div",CX,[a.createVNode(a.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity",onClick:b[0]||(b[0]=L=>r.value=!1)})):a.createCommentVNode("",!0)]),_:1}),a.createVNode(a.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"relative flex w-fit max-w-4xl flex-col overflow-hidden rounded-xl border border-border dark:border-neutral-800 bg-background dark:bg-neutral-900 shadow-2xl transition-all",onClick:b[4]||(b[4]=a.withModifiers(()=>{},["stop"]))},[a.createElementVNode("div",LX,[b[6]||(b[6]=a.createElementVNode("h3",{class:"text-lg font-semibold leading-none tracking-tight dark:text-neutral-100"}," Crop & Resize ",-1)),a.createElementVNode("button",{class:"d-close-btn rounded-sm dark:text-neutral-400 ring-offset-background transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",style:a.normalizeStyle({opacity:C.value?1:.7}),onClick:b[1]||(b[1]=L=>r.value=!1),onMouseenter:b[2]||(b[2]=L=>C.value=!0),onMouseleave:b[3]||(b[3]=L=>C.value=!1)},[a.createVNode(a.unref(ut),{class:"h-4 w-4"}),b[5]||(b[5]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))],36)]),a.createElementVNode("div",SX,[a.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])])):a.createCommentVNode("",!0)]),_:1})])):a.createCommentVNode("",!0)}}),IX={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},AX=["src"],BX=["disabled"],VX=["disabled"],_X={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},zX={class:"flex gap-2"},PX={class:"font-medium truncate"},qX={class:"flex gap-2"},DX={class:"font-medium"},EX={class:"flex gap-2"},TX={class:"font-medium truncate"},VA=$t(a.defineComponent({name:"DCodeImageResult",__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null);a.watch(()=>n.file,y=>{r.value&&URL.revokeObjectURL(r.value),r.value=y?URL.createObjectURL(y):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),h&&h.disconnect()});function i(y){const f=y/1024,m=f/1024;return m>=1?`${m.toFixed(2)} MB`:f>=1?`${f.toFixed(1)} KB`:`${y} B`}const s=a.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null),c=a.ref(!1),d=a.ref(!1);let h=null;const u=()=>{typeof document<"u"&&(d.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{u(),typeof document<"u"&&(h=new MutationObserver(u),h.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),h.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const p=a.computed(()=>n.disabled||!c.value?{}:{borderColor:d.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:d.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(y,f)=>e.file?(a.openBlock(),a.createBlock(vA,{key:0,class:a.normalizeClass([e.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(LA,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(SA,{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),e.description?(a.openBlock(),a.createElementBlock("div",IX,a.toDisplayString(e.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(CA,{class:"pt-2"},{default:a.withCtx(()=>{var m,k,g;return[a.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:a.normalizeStyle([{height:`${e.previewHeight}px`},p.value]),onMouseenter:f[2]||(f[2]=x=>c.value=!0),onMouseleave:f[3]||(f[3]=x=>c.value=!1)},[r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,AX)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"d-action-buttons",style:a.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:c.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:c.value?"auto":"none"})},[e.showEdit?(a.openBlock(),a.createElementBlock("button",{key:0,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[0]||(f[0]=x=>o("edit"))},[a.createVNode(a.unref(mr),{style:{width:"16px",height:"16px"}})],12,BX)):a.createCommentVNode("",!0),e.showRemove?(a.openBlock(),a.createElementBlock("button",{key:1,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[1]||(f[1]=x=>o("remove"))},[a.createVNode(a.unref(Ti),{style:{width:"16px",height:"16px"}})],12,VX)):a.createCommentVNode("",!0)],4),a.createElementVNode("div",{class:"d-metadata-overlay",style:a.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:c.value?1:0,transform:c.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:d.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:d.value?"#e5e5e5":"#171717"})},[a.createElementVNode("div",_X,[a.createElementVNode("div",zX,[f[4]||(f[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),a.createElementVNode("span",PX,a.toDisplayString((m=s.value)==null?void 0:m.name),1)]),a.createElementVNode("div",qX,[f[5]||(f[5]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),a.createElementVNode("span",DX,a.toDisplayString((k=s.value)==null?void 0:k.size),1)]),a.createElementVNode("div",EX,[f[6]||(f[6]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),a.createElementVNode("span",TX,a.toDisplayString((g=s.value)==null?void 0:g.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-72c623f7"]]),HX={class:"space-y-3"},_A=a.defineComponent({name:"DCodeImageField",inheritAttrs:!1,__name:"DCodeImageField",props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:1},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:H=>o("update:modelValue",H)}),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);function h(H){d.value=H,o("error",H)}function u(){d.value=null}const p=a.computed(()=>{const H=(n.allowedTypes??"").trim();return H?H.split(/[,\s;]+/g).map(U=>U.trim().toLowerCase()).filter(Boolean).map(U=>U.includes("/")||U.startsWith(".")?U:`.${U}`):[]});function y(H){const O=H.lastIndexOf(".");return O>=0?H.slice(O).toLowerCase():""}const f=a.computed(()=>{if(p.value.length){const H=p.value.filter(U=>U.startsWith("."));return[...p.value.filter(U=>U.includes("/")),...H].join(",")}return n.accept||"image/*"}),m=a.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function k(H){if(p.value.length){const U=(H.type||"").toLowerCase(),J=y(H.name);return p.value.some(T=>T.includes("/")?U===T:T.startsWith(".")?J===T:J===`.${T}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(H.type||"").toLowerCase().startsWith("image/"):!0}function g(H){return H*1024*1024}async function x(H){var O;return(O=H.type)!=null&&O.startsWith("image/")?await new Promise(U=>{const J=URL.createObjectURL(H),T=new Image;T.onload=()=>{URL.revokeObjectURL(J),U({w:T.naturalWidth,h:T.naturalHeight})},T.onerror=()=>{URL.revokeObjectURL(J),U(null)},T.src=J}):null}async function C(H){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const U=await x(H);return U?n.minWidth!=null&&U.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&U.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&U.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&U.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function w(H){return H?k(H)?n.minSizeMb!=null&&H.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&H.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await C(H):`only Allowed: ${m.value}`:"File tidak valid"}function b(H){n.disabled||(s.value=H,i.value=!0)}async function L(H){if(n.disabled)return;u();const O=await w(H);if(O){h(O);return}c.value=H,b(H)}const{DCodeApi:S}=et(),v=AA(),M=a.ref(!1);a.ref(null);function I(H,O){return!H||!O?null:H.replace(/\/+$/,"")+"/"+O.replace(/^\/+/,"")}function V(H){var T;const O=(H==null?void 0:H.data)??H,U=(T=O==null?void 0:O.data)==null?void 0:T[0];if(!U)return null;const J=I(U.server,U.url);return{...U,fullUrl:J?encodeURI(J):null}}async function _(H){var O;if(n.uploadFn){try{M.value=!0;const U=await n.uploadFn(H);r.value=H,o("uploaded",U)}catch(U){console.error("Upload Error",U),v.error("Upload Failed",(U==null?void 0:U.message)||"Unknown error"),h((U==null?void 0:U.message)||"Upload Failed")}finally{M.value=!1}return}if(!((O=n.endpoint)!=null&&O.apiUrl)){r.value=H;return}if(typeof S!="function"){h("useApi() must expose DCodeApi()");return}try{M.value=!0;const U=new FormData;U.append("doc",H);const J=(n.endpoint.apiMethod||"POST").toUpperCase(),T=n.endpoint.apiUrl,R=await S("","",U,{_url:T,_method:J,withCredentials:!0,transformRequest:[(Y,Q)=>(Q&&(delete Q["Content-Type"],delete Q["content-type"]),Y)]}),F=(R==null?void 0:R.data)??R;V(F),r.value=H,o("uploaded",F)}catch(U){console.error("Upload Error",U),v.error("Upload Failed",(U==null?void 0:U.message)||"Unknown error"),h((U==null?void 0:U.message)||"Upload Failed")}finally{M.value=!1}}async function B(H){var O;u(),n.uploadFn||(O=n.endpoint)!=null&&O.apiUrl?await _(H):r.value=H,i.value=!1,s.value=null}function D(){i.value=!1,s.value=null}async function z(){if(!r.value)return;u();const H=n.editUseOriginal?c.value??r.value:r.value,O=await w(H);if(O){h(O);return}b(H)}function G(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return a.watch(()=>n.modelValue,H=>{H&&!c.value&&(c.value=H),H||(c.value=null)},{immediate:!0}),(H,O)=>(a.openBlock(),a.createElementBlock("div",HX,[r.value?(a.openBlock(),a.createBlock(VA,{key:1,file:r.value,title:e.label,description:e.description,"preview-width":e.previewWidth,disabled:e.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:z,onRemove:G,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(a.openBlock(),a.createBlock(SS,{key:0,label:e.label,hint:e.hint,accept:f.value,maxSizeMb:e.maxSizeMb,disabled:e.disabled,onPicked:L,error:d.value,onError:O[0]||(O[0]=U=>h(U))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),a.createVNode(BA,{modelValue:i.value,"onUpdate:modelValue":O[1]||(O[1]=U=>i.value=U),file:s.value,title:e.title,description:e.description,"auto-open-editor":e.autoOpenEditor,"aspect-ratio":e.aspectRatio,"output-width":e.outputWidth,"output-height":e.outputHeight,quality:e.quality,onDone:B,onCancel:D},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),zA=a.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(e){const t=a.useAttrs(),n=e,o=a.computed(()=>n.icon&&aa[n.icon]||null),r=a.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=a.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=a.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=a.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=t.class??"";return[u,p].filter(Boolean).join(" ")}),h=a.computed(()=>{const{class:u,...p}=t;return p});return(u,p)=>(a.openBlock(),a.createElementBlock("span",a.mergeProps({class:d.value},h.value),[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:a.normalizeClass(["shrink-0",s.value,e.iconClass])},null,8,["class"])):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(e.label||e.text),1)],16))}}),PA=a.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=Is(n,"modelValue",t,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>a.withDirectives((a.openBlock(),a.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>a.isRef(r)?r.value=c:null),class:a.normalizeClass(a.unref(xe)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[a.vModelText,a.unref(r)]])}}),OX=["aria-busy"],jX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},FX={key:0,class:"ml-1 text-destructive"},RX={class:"min-w-0 flex-1 text-left"},NX={key:0,class:"flex flex-wrap gap-1.5"},UX={class:"max-w-[220px] truncate"},$X=["onClick"],WX={key:1,class:"text-muted-foreground truncate"},GX={class:"flex items-center gap-2 shrink-0"},XX={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},KX={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},ZX=["disabled","onClick"],YX={class:"truncate"},JX={key:0,class:"text-primary-600 dark:text-primary-400"},QX={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},eK={key:0},tK={key:1},aK={key:1,class:"text-xs text-destructive"},nK={name:"DCodeMultiSelect"},xP=a.defineComponent({...nK,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:5},maxSelected:{default:5},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>(r.label||n.label)??void 0),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{if(r.required)return!0;const Z=n.required,te=n["aria-required"];return Z===""||Z===!0||Z==="true"||(te==="true"||te===!0)}),u=a.computed(()=>!!r.error);function p(Z){return Z?typeof r.itemTitle=="function"?r.itemTitle(Z)??"":String((Z==null?void 0:Z[r.itemTitle])??""):""}function y(Z){return Z?typeof r.itemValue=="function"?r.itemValue(Z):Z==null?void 0:Z[r.itemValue]:null}function f(Z,te){return y(Z)??te}const m=a.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),k=a.computed(()=>{var Z;return!!((Z=r.endpoint)!=null&&Z.apiUrl)||!!r.fetchItems}),g=a.ref([]),x=a.ref(!1),C=a.ref(!1),w=a.computed(()=>{var te;const Z=(te=r.endpoint)==null?void 0:te.apiOptions;if(Z)return typeof Z=="function"?Z():Z}),b=a.computed(()=>{var fe,je;const Z=((fe=r.endpoint)==null?void 0:fe.apiUrl)??"",te=(((je=r.endpoint)==null?void 0:je.apiMethod)??"GET").toUpperCase(),ne=JSON.stringify(w.value??null);return`${te} ${Z} :: ${ne}`}),L=a.computed(()=>k.value?g.value:r.items||[]);async function S(){var Z;if(k.value&&!(!((Z=r.endpoint)!=null&&Z.apiUrl)&&!r.fetchItems)&&!x.value){x.value=!0;try{let te;if(r.fetchItems){const ne=await r.fetchItems(),fe=(ne==null?void 0:ne.data)??ne;te=(fe==null?void 0:fe.data)??fe}else{const{DCodeApi:ne}=et();if(typeof ne!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const fe={page:1,perPage:100,...w.value||{}},je=await ne("","",fe,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),Jt=(je==null?void 0:je.data)??je;te=(Jt==null?void 0:Jt.data)??Jt}g.value=Array.isArray(te)?te:[],C.value=!0}catch(te){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",te),g.value=[]}finally{x.value=!1}}}a.watch(()=>b.value,()=>{g.value=[],C.value=!1}),a.onMounted(()=>{r.autoFetchOnMount&&k.value&&S()});const v=a.computed(()=>{const Z=m.value;if(r.returnObject)return Z;const te=new Map;for(const ne of L.value)te.set(y(ne),ne);return Z.map(ne=>te.get(ne)??{[r.itemValue]:ne,[r.itemTitle]:String(ne)})}),M=a.computed(()=>r.maxChips===null?v.value:v.value.slice(0,r.maxChips));function I(Z){const te=m.value;if(r.returnObject){const ne=y(Z);return te.some(fe=>y(fe)===ne)}return te.includes(y(Z))}const V=a.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const Z=Number(r.maxSelected);return Number.isFinite(Z)&&Z>0?Z:null}),_=a.computed(()=>{const Z=V.value;return Z===null?!1:m.value.length>=Z});function B(Z){return!I(Z)&&_.value}const D=a.computed(()=>{const Z=m.value,te=new Set;if(r.returnObject)for(const ne of Z)te.add(y(ne));else for(const ne of Z)te.add(ne);return te}),z=a.computed(()=>{const Z=D.value;return(L.value||[]).filter(te=>!Z.has(y(te)))}),G=a.computed(()=>L.value.length===0?!1:z.value.length===0),H=a.ref(null),O=a.ref(null),U=a.ref(null),J=a.ref(!1),T=a.ref(""),R=a.ref(0),F=a.ref(0),{floatingStyles:Y}=f1(H,O,{whileElementsMounted:h1,placement:"bottom-start",middleware:[u1(8),Ks(),p1({padding:8}),y1({apply({rects:Z,elements:te}){Object.assign(te.floating.style,{width:`${Z.reference.width}px`,"--floating-width":`${Z.reference.width}px`})}})]}),Q=a.computed(()=>Y.value),re=a.computed(()=>{const Z=Number(r.maxRows);return Number.isFinite(Z)&&Z>0?Z:5});async function he(){r.disabled||(J.value=!0,F.value=0,requestAnimationFrame(()=>{U.value&&(U.value.scrollTop=0),R.value=0}),k.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!C.value)&&!x.value&&await S())}function pe(){J.value=!1}function Ve(){J.value?pe():he()}function ue(Z){var ne,fe;if(!J.value)return;const te=Z.target;(ne=H.value)!=null&&ne.contains(te)||(fe=O.value)!=null&&fe.contains(te)||pe()}a.onMounted(()=>document.addEventListener("mousedown",ue)),a.onBeforeUnmount(()=>document.removeEventListener("mousedown",ue));function W(Z){if(r.disabled)return;if(B(Z)){o("max");return}const te=[...m.value];if(r.returnObject){const ne=y(Z);if(te.some(je=>y(je)===ne))return;o("update:modelValue",[...te,Z])}else{const ne=y(Z);if(te.includes(ne))return;o("update:modelValue",[...te,ne])}T.value="",F.value=0,requestAnimationFrame(()=>{U.value&&(U.value.scrollTop=0),R.value=0})}function q(Z){if(r.disabled)return;const te=[...m.value];if(r.returnObject){const ne=y(Z);o("update:modelValue",te.filter(fe=>y(fe)!==ne))}else{const ne=y(Z);o("update:modelValue",te.filter(fe=>fe!==ne))}}function $(){r.disabled||(o("update:modelValue",[]),o("clear"),pe())}const ee=a.computed(()=>{const Z=T.value.trim().toLowerCase(),te=z.value;return Z?te.filter(ne=>p(ne).toLowerCase().includes(Z)):te}),ye=a.computed(()=>ee.value.length);a.watch(J,Z=>{Z||(T.value="")});const Oe=a.computed(()=>{if(G.value)return r.itemHeight;const Z=ye.value;return(Z<=0?1:Math.min(Z,re.value))*r.itemHeight}),xt=a.computed(()=>r.virtual?ye.value*r.itemHeight:0),Mt=a.computed(()=>r.virtual?Math.ceil(Oe.value/r.itemHeight)+r.overscan:ye.value),pa=a.computed(()=>{if(!r.virtual)return 0;const Z=Math.floor(R.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,Z)}),ya=a.computed(()=>r.virtual?Math.min(ye.value,pa.value+Mt.value):ye.value),Jl=a.computed(()=>r.virtual?pa.value*r.itemHeight:0),Ws=a.computed(()=>{const Z=ee.value;return r.virtual?Z.slice(pa.value,ya.value):Z});function Ql(Z){const te=Z.target;R.value=te.scrollTop}function e1(Z){return Z===F.value}function N(Z){const te=U.value;if(!te||!r.virtual)return;const ne=Z*r.itemHeight,fe=ne+r.itemHeight,je=te.scrollTop,Jt=te.scrollTop+te.clientHeight;ne<je?te.scrollTop=ne:fe>Jt&&(te.scrollTop=fe-te.clientHeight)}function ae(Z){const te=Math.max(0,ye.value-1);F.value=Math.min(te,Math.max(0,F.value+Z)),N(F.value)}function ce(){const Z=ee.value[F.value];Z&&W(Z)}const _e=a.computed(()=>r.clearable&&!r.disabled&&v.value.length>0),Le=a.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":J.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(Z,te)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",jX)):a.createCommentVNode("",!0),te[3]||(te[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",FX,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"referenceEl",ref:H,class:"relative"},[a.createVNode(a.unref(Ne),{id:d.value,type:"button",variant:"outline",class:a.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",Le.value]]),disabled:r.disabled,onClick:Ve},{default:a.withCtx(()=>[a.createElementVNode("div",RX,[v.value.length?(a.openBlock(),a.createElementBlock("div",NX,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(M.value,(ne,fe)=>(a.openBlock(),a.createBlock(a.unref(Ta),{key:`chip-${f(ne,fe)}`,variant:"secondary",class:"gap-1"},{default:a.withCtx(()=>[a.createElementVNode("span",UX,a.toDisplayString(p(ne)),1),r.disabled?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:a.withModifiers(je=>q(ne),["stop"]),"aria-label":"Remove"}," ✕ ",8,$X))]),_:2},1024))),128)),r.maxChips!==null&&v.value.length>r.maxChips?(a.openBlock(),a.createBlock(a.unref(Ta),{key:0,variant:"secondary"},{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(v.value.length-(r.maxChips??0)),1)]),_:1})):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",WX,a.toDisplayString(r.placeholder),1))]),a.createElementVNode("div",GX,[_e.value?(a.openBlock(),a.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:a.withModifiers($,["stop"]),"aria-label":"Clear"}," ✕ ")):a.createCommentVNode("",!0),a.createVNode(a.unref(Pt),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[J.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:O,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:a.normalizeStyle(Q.value)},[r.searchable&&!G.value?(a.openBlock(),a.createElementBlock("div",XX,[a.createVNode(a.unref(PA),{modelValue:T.value,"onUpdate:modelValue":te[0]||(te[0]=ne=>T.value=ne),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[te[1]||(te[1]=a.withKeys(a.withModifiers(ne=>ae(1),["prevent"]),["down"])),te[2]||(te[2]=a.withKeys(a.withModifiers(ne=>ae(-1),["prevent"]),["up"])),a.withKeys(a.withModifiers(ce,["prevent"]),["enter"]),a.withKeys(a.withModifiers(pe,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"listEl",ref:U,class:"relative overflow-auto",style:a.normalizeStyle({height:Oe.value+"px"}),onScroll:Ql},[G.value?(a.openBlock(),a.createElementBlock("div",KX," All items have been selected ")):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[r.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:xt.value+"px"})},null,4)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:a.normalizeStyle(r.virtual?{transform:`translateY(${Jl.value}px)`}:void 0)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Ws.value,(ne,fe)=>(a.openBlock(),a.createElementBlock("button",{key:String(f(ne,pa.value+fe)),type:"button",class:a.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[B(ne)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",e1(pa.value+fe)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ne)?"font-semibold":"font-normal"]]),style:a.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||B(ne),onClick:je=>W(ne)},[a.createElementVNode("span",YX,a.toDisplayString(p(ne)),1),I(ne)?(a.openBlock(),a.createElementBlock("span",JX,"✓")):a.createCommentVNode("",!0)],14,ZX))),128))],6),ye.value===0?(a.openBlock(),a.createElementBlock("div",QX,[x.value?(a.openBlock(),a.createElementBlock("span",eK,"Loading data…")):(a.openBlock(),a.createElementBlock("span",tK,"Tidak ada data"))])):a.createCommentVNode("",!0)],64))],36)],4)):a.createCommentVNode("",!0)]))],512),u.value?(a.openBlock(),a.createElementBlock("p",aK,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,OX)),[[a.vShow,s.value]])}}),oK={class:"space-y-4"},rK={key:0,class:"space-y-1"},iK={class:"text-base font-semibold text-gray-800"},sK={class:"text-sm text-gray-400"},lK={class:"flex items-center gap-2 flex-nowrap"},cK=["value","disabled","onKeydown","onInput","onPaste"],qA=a.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(e,{emit:t}){const n=e,o=t,r=a.ref([]),i=a.ref([]),s=a.ref(!1),{DCodeApi:c}=et(),d=AA(),h=a.computed(()=>{const w=Number(n.totalInput);return w&&w>0?w:6}),u=()=>{i.value=Array.from({length:h.value},(w,b)=>{var L;return((L=n.default)==null?void 0:L[b])??""}),o("updateOtp",i.value.join(""))};u(),a.watch(()=>[n.totalInput,n.default],()=>u());const p=w=>{w<0||w>=h.value||a.nextTick(()=>{var b;return(b=r.value[w])==null?void 0:b.focus()})},y=w=>w.match(/[a-zA-Z0-9]/)?w.match(/[a-zA-Z0-9]/)[0]:"";async function f(w){var b;if(o("complete",w),n.submitFn){try{s.value=!0,o("loading",!0);const L=await n.submitFn(w);o("success",L)}catch(L){console.error("OTP Submit Error",L),d.error("Submit Failed",(L==null?void 0:L.message)||"Unknown error"),o("error",(L==null?void 0:L.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((b=n.endpoint)!=null&&b.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const L=(n.endpoint.apiMethod||"POST").toUpperCase(),S=n.endpoint.apiUrl,v=await c("","",{otp:w},{_url:S,_method:L,withCredentials:!0}),M=(v==null?void 0:v.data)??v;o("success",M)}catch(L){console.error("OTP Submit Error",L),d.error("Submit Failed",(L==null?void 0:L.message)||"Unknown error"),o("error",(L==null?void 0:L.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const m=(w,b)=>{i.value[w]=y(b);const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L)},k=(w,b)=>{const L=w.key,S=/^\d$/.test(L),v=/^[a-zA-Z]$/.test(L);if(L==="Backspace"){if(w.preventDefault(),i.value[b]){m(b,"");return}b>0&&(m(b-1,""),p(b-1));return}if(L==="ArrowLeft"){w.preventDefault(),p(b-1);return}if(L==="ArrowRight"){w.preventDefault(),p(b+1);return}if(S||v){w.preventDefault(),m(b,L),b<h.value-1&&p(b+1);return}L.length===1&&w.preventDefault()},g=(w,b)=>{const L=w.target,S=L.value??"",v=y(S);L.value=v,m(b,v),v&&b<h.value-1&&p(b+1)},x=(w,b)=>{var I;w.preventDefault();const S=(((I=w.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!S)return;let v=b;for(const V of S){if(v>=h.value)break;i.value[v]=V,v++}const M=i.value.join("");o("updateOtp",M),o("update:modelValue",M),M.length===h.value&&f(M),p(Math.min(v,h.value-1))},C=w=>b=>{r.value[w]=(b==null?void 0:b.$el)??b};return(w,b)=>(a.openBlock(),a.createElementBlock("div",oK,[n.label||h.value?(a.openBlock(),a.createElementBlock("div",rK,[a.createElementVNode("h6",iK,a.toDisplayString(n.label||"Masukkan kode keamanan"),1),a.createElementVNode("p",sK," Ketik "+a.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):a.createCommentVNode("",!0),a.createElementVNode("div",lK,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,L=>(a.openBlock(),a.createElementBlock("input",{key:L,ref_for:!0,ref:C(L-1),value:i.value[L-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:a.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[L-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:S=>k(S,L-1),onInput:S=>g(S,L-1),onPaste:S=>x(S,L-1)},null,42,cK))),128))])]))}}),dK={class:"w-full"},hK={key:0,class:"flex items-center justify-between mb-2"},uK={key:0,class:"text-sm font-medium text-gray-700"},pK={key:1,class:"text-sm text-gray-600"},yK={name:"DCodeProgress"},MP=a.defineComponent({...yK,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=a.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=a.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=a.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=a.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(a.openBlock(),a.createElementBlock("div",dK,[e.label||e.showValue?(a.openBlock(),a.createElementBlock("div",hK,[e.label?(a.openBlock(),a.createElementBlock("span",uK,a.toDisplayString(e.label),1)):a.createCommentVNode("",!0),e.showValue?(a.openBlock(),a.createElementBlock("span",pK,a.toDisplayString(s.value),1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.value)},[a.createElementVNode("div",{class:a.normalizeClass(i.value),style:a.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),fK={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},wP=$t(a.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.Transition,{name:"fade"},{default:a.withCtx(()=>[e.isApiLoading?(a.openBlock(),a.createElementBlock("div",fK,[a.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:a.normalizeStyle({width:`${e.apiProgress}%`})},null,4)])):a.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-85c68054"]]),mK={class:"grid gap-3"},kK={key:0,class:"ml-1 text-destructive"},gK={class:"flex flex-col"},bK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},xK={class:"relative flex-shrink-0 mt-0.5"},MK=["id","name","value","checked","disabled","required","onChange"],wK=["onClick"],vK=["for"],CK={key:0,class:"ml-1 text-red-500"},LK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},vP=a.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:""},itemTitle:{default:"name"},itemValue:{default:"id"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},endpoint:{},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(e,{emit:t}){a.useAttrs();const{apiUrl:n}=et(),o=t,r=e,i=a.ref([]),s=a.ref(!1),c=a.ref(null),d=async()=>{var b,L;const w=((b=r.endpoint)==null?void 0:b.apiUrl)||r.apiUrl;if(w){s.value=!0,c.value=null;try{const S={page:1,perPage:100},v=((L=r.endpoint)==null?void 0:L.apiMethod)||r.apiMethod,M=await n(w,v,S);let I=M;r.dataPath?I=r.dataPath.split(".").reduce((_,B)=>_&&_[B]!=="undefined"?_[B]:void 0,M):typeof M=="object"&&!Array.isArray(M)&&M.data&&(I=M.data),Array.isArray(I)?i.value=I:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(S){console.error("DCodeRadio fetch error:",S),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};a.onMounted(()=>{var w;((w=r.endpoint)!=null&&w.apiUrl||r.apiUrl)&&d()});const h=a.computed(()=>{if(r.options&&r.options.length>0)return r.options;if(i.value.length>0)return i.value;const w=r.itemValue||r.model||"id",b=r.itemTitle||(r.label===""?"name":r.label);return b&&r.label!==""?[{[w]:w,[b]:b}]:[]}),u=w=>{if(typeof w!="object")return w;const b=r.itemValue||r.model||"id";return w[b]},p=w=>{if(typeof w!="object")return String(w);const b=r.itemTitle||"name";return w[b]},y=a.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=a.computed(()=>!!r.error||!!c.value),m=a.computed(()=>r.error||c.value),k=w=>w==null?r.modelValue===w:String(r.modelValue)===String(w),g=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),x=(w,b)=>{b.target.checked&&(o("update:modelValue",w),o("change",w))},C=w=>{!r.disabled&&!k(w)&&(o("update:modelValue",w),o("change",w))};return(w,b)=>(a.openBlock(),a.createElementBlock("div",mK,[e.label?(a.openBlock(),a.createBlock(qa,{key:0,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",kK,"*")):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),a.createElementVNode("div",gK,[s.value?(a.openBlock(),a.createElementBlock("div",bK,[a.createVNode(a.unref(Lt),{class:"w-4 h-4 animate-spin"}),b[0]||(b[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex",e.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,(L,S)=>(a.openBlock(),a.createElementBlock("div",{key:S,class:a.normalizeClass(["flex items-start",g.value.container,e.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[a.createElementVNode("div",xK,[a.createElementVNode("input",{id:e.id?`${e.id}-${S}`:`${y.value}-${S}`,name:y.value,type:"radio",value:u(L),checked:k(u(L)),disabled:e.disabled,required:e.required&&S===0,onChange:v=>x(u(L),v),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,MK)]),a.createElementVNode("div",{class:"flex-1 min-w-0",onClick:v=>C(u(L))},[a.createElementVNode("label",{for:e.id?`${e.id}-${S}`:`${y.value}-${S}`,class:a.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-foreground dark:text-gray-300",e.disabled?"cursor-not-allowed opacity-50":""])},[a.createTextVNode(a.toDisplayString(p(L))+" ",1),e.required&&h.value.length===1&&e.label?(a.openBlock(),a.createElementBlock("span",CK,"*")):a.createCommentVNode("",!0)],10,vK)],8,wK)],2))),128))],2),f.value&&m.value?(a.openBlock(),a.createElementBlock("div",LK,[a.createVNode(a.unref(qt),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(m.value),1)])):a.createCommentVNode("",!0)])]))}}),SK={class:"grid gap-3"},IK={key:0,class:"ml-1 text-destructive"},AK={class:"flex flex-col"},BK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 dark:text-neutral-400 mb-2"},VK=["onClick"],_K=["id","name","value","checked","disabled","required","onChange"],zK={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},PK=["for"],qK={key:0,class:"ml-1 text-red-500"},DK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},CP=a.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},itemTitle:{default:"name"},itemValue:{default:"id"},label:{default:""},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},endpoint:{},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(e,{emit:t}){a.useAttrs();const{apiUrl:n}=et(),o=t,r=e,i=a.ref(r.modelValue??void 0);a.watch(()=>r.modelValue,I=>{i.value=I},{immediate:!0});const s=a.ref([]),c=a.ref(!1),d=a.ref(null),h=async()=>{var V,_;const I=((V=r.endpoint)==null?void 0:V.apiUrl)||r.apiUrl;if(I){c.value=!0,d.value=null;try{const B={page:1,perPage:100},D=((_=r.endpoint)==null?void 0:_.apiMethod)||r.apiMethod,z=await n(I,D,B);let G=z;r.dataPath?G=r.dataPath.split(".").reduce((O,U)=>O&&O[U]!=="undefined"?O[U]:void 0,z):typeof z=="object"&&!Array.isArray(z)&&z.data&&(G=z.data),Array.isArray(G)?s.value=G:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(B){console.error("DCodeRadioCustom fetch error:",B),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}},u=a.ref(!1);let p=null;const y=()=>{typeof document<"u"&&(u.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{var I;((I=r.endpoint)!=null&&I.apiUrl||r.apiUrl)&&h(),y(),typeof document<"u"&&(p=new MutationObserver(y),p.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),p.observe(document.body,{attributes:!0,attributeFilter:["class"]}))}),a.onBeforeUnmount(()=>{p&&p.disconnect()});const f=a.computed(()=>{if(r.options&&r.options.length>0)return r.options;if(s.value.length>0)return s.value;const I=r.itemValue||r.model||"id",V=r.itemTitle||(r.label===""?"name":r.label);return V&&r.label!==""?[{[I]:I,[V]:V}]:[]}),m=I=>{if(typeof I!="object")return I;const V=r.itemValue||r.model||"id";return I[V]},k=I=>{if(typeof I!="object")return String(I);const V=r.itemTitle||"name";return I[V]},g=Math.random().toString(36).slice(2,7),x=a.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${g}`),C=a.computed(()=>!!r.error||!!d.value),w=a.computed(()=>r.error||d.value),b=I=>{const V=i.value;return I==null?V===I:String(V)===String(I)},L=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),S=a.computed(()=>r.icon&&aa[r.icon]||null),v=(I,V)=>{V.target.checked&&(i.value=I,o("update:modelValue",I),o("change",I))},M=I=>{r.disabled||b(I)||(i.value=I,o("update:modelValue",I),o("change",I))};return(I,V)=>(a.openBlock(),a.createElementBlock("div",SK,[e.label?(a.openBlock(),a.createBlock(qa,{key:0,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",IK,"*")):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),a.createElementVNode("div",AK,[c.value?(a.openBlock(),a.createElementBlock("div",BK,[a.createVNode(a.unref(Lt),{class:"w-4 h-4 animate-spin"}),V[0]||(V[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["grid",e.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(f.value,(_,B)=>(a.openBlock(),a.createElementBlock("div",{key:B,class:a.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",b(m(_))?u.value?"border-primary-500 bg-primary-500/10 shadow-none":"border-primary-500 bg-primary-50 shadow-md shadow-primary-100":u.value?"border-neutral-700 bg-neutral-800 hover:border-neutral-600":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",e.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:D=>!e.disabled&&M(m(_))},[a.createElementVNode("input",{id:e.id?`${e.id}-${B}`:`${x.value}-${B}`,name:x.value,type:"radio",value:m(_),checked:b(m(_)),disabled:e.disabled,required:e.required&&B===0,onChange:D=>v(m(_),D),class:"sr-only",tabindex:"-1"},null,40,_K),a.createElementVNode("div",{class:a.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",b(m(_))?u.value?"bg-primary-500/25 text-primary-400":"bg-primary-100 text-primary-600":u.value?"bg-neutral-700 text-neutral-500":"bg-gray-100 text-gray-400"])},[S.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{key:0,class:"w-6 h-6"})):(a.openBlock(),a.createElementBlock("svg",zK,[...V[1]||(V[1]=[a.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),a.createElementVNode("label",{for:e.id?`${e.id}-${B}`:`${x.value}-${B}`,class:a.normalizeClass([L.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",b(m(_))?u.value?"text-primary-400":"text-primary-700":u.value?"text-neutral-300":"text-gray-700",e.disabled?"cursor-not-allowed":"cursor-pointer"])},[a.createTextVNode(a.toDisplayString(k(_))+" ",1),e.required&&f.value.length===1&&e.label?(a.openBlock(),a.createElementBlock("span",qK,"*")):a.createCommentVNode("",!0)],10,PK)],10,VK))),128))],2),C.value&&w.value?(a.openBlock(),a.createElementBlock("div",DK,[a.createVNode(a.unref(qt),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(w.value),1)])):a.createCommentVNode("",!0)])]))}}),EK={key:0,class:"ml-1 text-destructive"},TK={class:"relative w-full"},HK={key:0,class:"mb-2 flex items-center justify-between"},OK={class:"text-sm text-muted-foreground"},jK={class:"text-sm font-medium text-foreground"},FK={class:"text-sm text-muted-foreground"},RK={class:"relative"},NK=["id","value","min","max","step","disabled","placeholder"],UK={key:1,class:"relative mt-2"},$K={class:"text-xs text-muted-foreground mt-1"},WK={key:1,class:"flex items-center gap-1 text-sm text-destructive"},GK={name:"DCodeSlider"},DA=a.defineComponent({...GK,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.ref(),s=a.ref(!1),c=a.computed(()=>!!r.error),d=a.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=a.computed(()=>(r.label||n.label)??void 0),u=a.computed(()=>!0),p=a.computed(()=>{const L={sm:"h-2",md:"h-2.5",lg:"h-3"},S={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-transparent rounded-lg outline-none transition-all cursor-pointer relative z-10","disabled:opacity-50 disabled:cursor-not-allowed",L[r.size],S[r.color]||S.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=a.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=a.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),m=a.computed(()=>{const L=r.max-r.min;return(r.modelValue-r.min)/L*100}),k=L=>{const S=L.target,v=parseFloat(S.value);o("update:modelValue",v),o("input",v)},g=L=>{const S=L.target,v=parseFloat(S.value);o("change",v)},x=()=>{s.value=!0},C=()=>{s.value=!1},w=L=>{const S=r.max-r.min;return(L-r.min)/S*100},b=a.computed(()=>{const L={sm:16,md:20,lg:24};return`
|
|
8567
|
+
`.trim();let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r)),r.textContent=o}function bG(e,t=mP){a.watch(e,n=>gG(n,t),{immediate:!0})}const xG={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},MG={key:0,class:"ml-1 text-destructive"},wG=["disabled","onClick"],vG={class:"flex-shrink-0 px-2 text-sm text-muted-foreground select-none whitespace-nowrap"},CG=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],LG={class:"h-full p-2 flex flex-col gap-3 w-32"},SG={class:"flex items-center justify-end gap-2 w-full p-2"},IG={key:1,class:"text-xs text-destructive"},wA=a.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!1},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=e,r=t,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=a.computed(()=>{const D=n.required,z=n["aria-required"];return D===""||D===!0||D==="true"||z==="true"||z===!0}),d=a.computed(()=>!!o.error),h=a.computed({get:()=>o.modelValue,set:D=>{r("update:modelValue",D),r("change",D)}}),u=a.computed(()=>o.locale==="en"?sP:kG),p=a.computed(()=>o.range?2:!1),y=a.computed(()=>{if(!o.range)return!1;const D={partialRange:!1};return o.autoRangeDays&&o.autoRangeDays>0&&(D.maxRange=o.autoRangeDays,D.autoRange=o.autoRangeDays),D}),f=D=>{const z=new Date(D);return z.setHours(0,0,0,0),z},m=D=>{const z=new Date(D);return z.setHours(23,59,59,999),z},k=(D,z)=>{const G=new Date(D);return G.setDate(G.getDate()+z),G},g=a.computed(()=>{if(o.disablePast)return f(new Date)}),x=a.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return m(k(new Date,o.maxDaysAhead))}),C=a.ref(null),w=a.ref(null),b=D=>{w.value={month:D.month,year:D.year}},L=a.ref(!1);let S=null;a.onMounted(()=>{const D=document.documentElement,z=()=>L.value=D.classList.contains("dark");z(),S=new MutationObserver(z),S.observe(D,{attributes:!0,attributeFilter:["class"]})}),a.onBeforeUnmount(()=>{S==null||S.disconnect(),S=null}),bG(a.toRef(o,"tone"));const v=D=>{const z=new Date(D),G=z.getDay(),H=z.getDate()-G+(G===0?-6:1);return z.setDate(H),f(z)},M=D=>{const z=v(D);return z.setDate(z.getDate()+6),m(z)},I=D=>{const z=new Date(D);return z.setDate(1),f(z)},V=D=>{const z=new Date(D);return z.setMonth(z.getMonth()+1),z.setDate(0),m(z)},_=a.computed(()=>{if(!o.range)return[];const D=new Date,z=f(D),G=v(D),H=M(D),j=I(D),U=V(D),J=(E,R)=>{let F=E;o.disablePast&&F<z&&(F=z);let Y=R;if(o.autoRangeDays&&o.autoRangeDays>0){const Q=m(k(F,o.autoRangeDays-1));Y>Q&&(Y=Q)}return Y<F&&(Y=m(new Date(F))),[F,Y]};return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:J(G,H)},{label:o.locale==="id"?"Bulan Ini":"This Month",range:J(j,U)}]}),B=async D=>{var R,F;const z=o.modelType||"yyyy-MM-dd";if(D.length===0){h.value=null;return}if(D.length<2)return;const G=yP(D[0],z),H=yP(D[1],z);h.value=[G,H],await a.nextTick();const j=D[0],U=j.getMonth(),J=j.getFullYear();w.value&&w.value.month===U&&w.value.year===J||(R=C.value)==null||R.setMonthYear({month:U,year:J}),(F=C.value)==null||F.openMenu()};return(D,z)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class])},[e.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.label?(a.openBlock(),a.createElementBlock("div",xG)):a.createCommentVNode("",!0),z[2]||(z[2]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.label?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:s.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",MG,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createVNode(a.unref(it.VueDatePicker),{ref_key:"dpRef",ref:C,modelValue:h.value,"onUpdate:modelValue":z[1]||(z[1]=G=>h.value=G),dark:L.value,range:y.value,"multi-calendars":p.value,disabled:e.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":e.modelType,formats:{input:e.displayFormat},"min-date":g.value,"max-date":x.value,"preset-ranges":_.value,floating:{placement:e.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:b},a.createSlots({"dp-input":a.withCtx(({value:G,onInput:H,onEnter:j,onTab:U,onBlur:J,onFocus:E,onKeypress:R,onPaste:F,toggleMenu:Y})=>[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 overflow-hidden shadow-none",[d.value?"border-destructive":"",e.disabled?"opacity-50 cursor-not-allowed":""]])},[a.createElementVNode("button",{type:"button",tabindex:"-1",disabled:e.disabled,class:"flex-shrink-0 flex items-center justify-center w-10 h-full text-muted-foreground hover:text-foreground transition-colors focus:outline-none",onClick:Q=>Y()},[a.createVNode(a.unref(Js),{class:"w-4 h-4 pointer-events-none"})],8,wG),z[4]||(z[4]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1)),e.prependInner?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("span",vG,a.toDisplayString(e.prependInner),1),z[3]||(z[3]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1))],64)):a.createCommentVNode("",!0),a.createElementVNode("input",{id:s.value,value:G,placeholder:e.placeholder,disabled:e.disabled,autocomplete:"off",readonly:"",class:a.normalizeClass(["flex-1 min-w-0 px-3 h-full bg-transparent text-sm text-foreground dark:text-gray-300 placeholder:text-muted-foreground outline-none",e.disabled?"cursor-not-allowed":"cursor-pointer"]),onClick:Q=>Y(),onFocus:Q=>E(),onBlur:Q=>J(),onInput:Q=>H(Q),onKeydown:[a.withKeys(Q=>j(Q),["enter"]),a.withKeys(Q=>U(Q),["tab"])],onKeypress:Q=>R(Q),onPaste:Q=>F()},null,42,CG)],2)]),"action-buttons":a.withCtx(({selectDate:G,selectionDisabled:H})=>[a.createElementVNode("div",SG,[a.createVNode(a.unref(Xe),{type:"button",variant:"outline",onClick:z[0]||(z[0]=j=>{var U;return(U=C.value)==null?void 0:U.closeMenu()})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.cancelLabel),1)]),_:1}),a.createVNode(a.unref(Xe),{type:"button",variant:"default",disabled:H,onClick:j=>G()},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[e.range?{name:"left-sidebar",fn:a.withCtx(()=>[a.createElementVNode("div",LG,[_.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(_.value,G=>(a.openBlock(),a.createBlock(a.unref(Xe),{key:G.label,type:"button",variant:"default",class:"w-full",onClick:H=>B(G.range)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(G.label),1)]),_:2},1032,["onClick"]))),128)):a.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(a.openBlock(),a.createElementBlock("p",IG,a.toDisplayString(o.error),1)):a.createCommentVNode("",!0)],64))],2))}}),AG=a.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=It(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(dV),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),BG=a.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=It(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(wV),{class:"fixed inset-0 z-50 bg-black/40 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(xV),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(hV),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:a.withCtx(()=>[a.createVNode(a.unref(pt),{class:"w-4 h-4"}),c[0]||(c[0]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),VG=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(MV),a.mergeProps(a.unref(o),{class:a.unref(xe)("text-sm text-muted-foreground",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),_G=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(CV),a.mergeProps(a.unref(o),{class:a.unref(xe)("text-lg font-medium leading-none tracking-tight",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),zG={key:0,class:"px-6 py-4 flex items-center justify-between border-b border-neutral-200 dark:border-neutral-800 bg-white/80 dark:bg-neutral-900/80 backdrop-blur-md sticky top-0 z-20"},PG={class:"flex items-center gap-3"},qG={key:0,class:"p-2 rounded-lg bg-primary/10 text-primary"},DG={class:"flex flex-col"},EG={key:0,class:"flex items-center gap-2"},TG={key:1,class:"px-6 py-4 border-t border-neutral-200 dark:border-neutral-800 bg-neutral-50/50 dark:bg-neutral-900/50 sticky bottom-0 z-20"},HG={class:"flex justify-end gap-3 flex-wrap"},LS=Wt(a.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=a.useAttrs(),i=a.computed(()=>{const{style:h,...u}=r;return u}),s=a.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=a.computed(()=>n.icon?na[n.icon]??null:null),d=h=>{o("update:modelValue",h)};return(h,u)=>(a.openBlock(),a.createBlock(a.unref(AG),{open:e.modelValue,"onUpdate:open":d},{default:a.withCtx(()=>[a.createVNode(a.unref(BG),a.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl flex flex-col max-h-[90vh] bg-white dark:bg-neutral-950 border-0",onInteractOutside:u[0]||(u[0]=p=>e.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>e.persistent?p.preventDefault():null)}),{default:a.withCtx(()=>[e.title||h.$slots["header-append"]?(a.openBlock(),a.createElementBlock("div",zG,[a.createElementVNode("div",PG,[c.value?(a.openBlock(),a.createElementBlock("div",qG,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),{class:"h-5 w-5"}))])):a.createCommentVNode("",!0),a.createElementVNode("div",DG,[a.createVNode(a.unref(_G),{class:"text-lg font-bold text-neutral-900 dark:text-neutral-50 leading-tight"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),a.createVNode(a.unref(VG),{class:"hidden"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title||"Dialog Content"),1)]),_:1})])]),h.$slots["header-append"]?(a.openBlock(),a.createElementBlock("div",EG,[a.renderSlot(h.$slots,"header-append",{},void 0,!0)])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex-1 overflow-y-auto custom-scrollbar",e.contentClass]),style:a.normalizeStyle(e.contentStyle)},[a.renderSlot(h.$slots,"default",{},void 0,!0)],6),h.$slots.actions?(a.openBlock(),a.createElementBlock("div",TG,[a.createElementVNode("div",HG,[a.renderSlot(h.$slots,"actions",{},void 0,!0)])])):a.createCommentVNode("",!0)]),_:3},16,["style"])]),_:3},8,["open"]))}}),[["__scopeId","data-v-4e449ad2"]]),kP=a.defineComponent({name:"DCodeDialogCloseBtn",__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(e){const t=e,n=a.computed(()=>na[t.icon]??pt);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(Xe),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{size:Number(e.iconSize)},null,8,["size"]))]),_:1}))}}),OG=a.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)(a.unref(FG)({variant:e.variant}),t.class)),role:"alert"},[a.renderSlot(n.$slots,"default")],2))}}),jG=a.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("text-sm [&_p]:leading-relaxed",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),FG=xl("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ta=a.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)(a.unref(RG)({variant:e.variant}),t.class))},[a.renderSlot(n.$slots,"default")],2))}}),RG=xl("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),vA=a.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("rounded-xl border bg-card text-card-foreground shadow",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),CA=a.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("p-6 pt-0",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),LA=a.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col gap-y-1.5 p-6",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),SA=a.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("h3",{class:a.normalizeClass(a.unref(xe)("font-medium leading-none tracking-tight",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),NG={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},UG={class:"flex flex-wrap items-center justify-center gap-2"},$G=["accept","multiple"],SS=Wt(a.defineComponent({name:"DCodeDropzone",__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"*/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);a.computed(()=>n.accept||"file/*");const h=a.computed(()=>n.error??s.value);function u(){var v;n.disabled||(v=r.value)==null||v.click()}function p(v){const M=v/1024,I=M/1024;return I>=1?`${I.toFixed(2)} MB`:M>=1?`${M.toFixed(1)} KB`:`${v} B`}function y(v){var I;if(!v)return"File tidak valid";if((I=n.accept)!=null&&I.includes("image/")&&!v.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const M=(n.maxSizeMb??2)*1024*1024;return v.size>M?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(v){c.value=v.name,d.value=v.size}function m(v){if(s.value=null,!v.length)return;if(n.mode==="single"){const I=v[0],V=y(I);if(V){s.value=V,o("error",V);return}n.showSelected&&f(I),o("picked",I);return}const M=[];for(const I of v){const V=y(I);if(V){s.value=V,o("error",V);return}M.push(I)}M.length&&(n.showSelected&&f(M[0]),o("picked:multiple",M))}function k(v){const M=v.target,I=Array.from(M.files??[]);m(I),M.value=""}function g(){n.disabled||(i.value=!0)}function x(){n.disabled||(i.value=!0)}function C(){i.value=!1}function w(v){var V,_;if(n.disabled)return;i.value=!1;const M=Array.from(((V=v.dataTransfer)==null?void 0:V.files)??[]),I=(_=n.accept)!=null&&_.includes("image/")?M.filter(B=>B.type.startsWith("image/")):M;m(I)}const b=a.computed(()=>(n.accept||"file/*").split(",").map(v=>v.trim()).filter(Boolean).map(v=>v==="image/*"?"IMAGE":v.replace(/^image\//,"").replace(/^\./,"")).join(", "));a.computed(()=>`${n.maxSizeMb??0}MB`);const L=a.ref(!1),S=a.computed(()=>{if(n.disabled||!L.value)return{};const v=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark");return{borderColor:v?"hsl(var(--primary) / 0.5)":"hsl(var(--primary) / 0.6)",backgroundColor:v?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"}});return(v,M)=>(a.openBlock(),a.createBlock(a.unref(vA),{class:a.normalizeClass([e.disabled?"opacity-60":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(a.unref(LA),{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(SA),{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label),1)]),_:1})]),_:1}),a.createVNode(a.unref(CA),{class:"pt-2"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["d-dropzone-area flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"is-dragging border-primary bg-primary/10 dark:bg-primary/20 -translate-y-[1px]":"border-border dark:border-neutral-700 bg-muted/30 dark:bg-neutral-800/50",e.disabled?"is-disabled":""]]),style:a.normalizeStyle([{minHeight:"190px"},S.value]),onClick:u,onDragenter:a.withModifiers(g,["prevent"]),onDragover:a.withModifiers(x,["prevent"]),onDragleave:a.withModifiers(C,["prevent"]),onDrop:a.withModifiers(w,["prevent"]),onMouseenter:M[0]||(M[0]=I=>L.value=!0),onMouseleave:M[1]||(M[1]=I=>L.value=!1)},[a.createElementVNode("div",NG,[M[2]||(M[2]=a.createElementVNode("div",{class:"text-sm font-medium dark:text-neutral-200"},"Drag & drop file di sini",-1)),M[3]||(M[3]=a.createElementVNode("div",{class:"text-xs text-muted-foreground dark:text-neutral-400"},"atau klik area ini untuk memilih file",-1)),a.createElementVNode("div",UG,[a.createVNode(a.unref(Ta),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(" Allowed: "+a.toDisplayString(b.value),1)]),_:1}),a.createVNode(a.unref(Ta),{variant:"secondary",class:"text-[11px] dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(" Max: "+a.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),e.showSelected&&c.value?(a.openBlock(),a.createBlock(a.unref(Ta),{key:0,variant:"secondary",class:"mt-2 dark:bg-neutral-700 dark:text-neutral-300"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value)+" • "+a.toDisplayString(d.value?p(d.value):""),1)]),_:1})):a.createCommentVNode("",!0)]),a.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:e.accept,multiple:e.mode==="multiple",onChange:k},null,40,$G)],38),h.value?(a.openBlock(),a.createBlock(a.unref(OG),{key:0,variant:"destructive",class:"mt-3"},{default:a.withCtx(()=>[a.createVNode(a.unref(jG),{class:"text-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:1})]),_:1})):a.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),[["__scopeId","data-v-02ca61c0"]]),WG={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},GG=["src"],XG={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground dark:text-neutral-400 gap-2 p-4 text-center"},KG={class:"space-y-0.5"},ZG={class:"text-sm font-medium truncate max-w-[180px] dark:text-neutral-200"},YG={class:"text-xs opacity-70"},JG=["disabled"],QG={key:1},eX=["disabled"],tX={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},aX={class:"flex gap-2"},nX={class:"font-medium truncate"},oX={class:"flex gap-2"},rX={class:"font-medium"},iX={class:"flex gap-2"},sX={class:"font-medium truncate"},IA=Wt(a.defineComponent({name:"DCodeFileResult",__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null),i=a.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));a.watch(()=>n.file,f=>{r.value&&URL.revokeObjectURL(r.value),r.value=f?URL.createObjectURL(f):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),u&&u.disconnect()});function s(f){const m=f/1024,k=m/1024;return k>=1?`${k.toFixed(2)} MB`:m>=1?`${m.toFixed(1)} KB`:`${f} B`}const c=a.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null),d=a.ref(!1),h=a.ref(!1);let u=null;const p=()=>{typeof document<"u"&&(h.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{p(),typeof document<"u"&&(u=new MutationObserver(p),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),u.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const y=a.computed(()=>n.disabled||!d.value?{}:{borderColor:h.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:h.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(f,m)=>e.file?(a.openBlock(),a.createBlock(vA,{key:0,class:a.normalizeClass([e.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(LA,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(SA,{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),e.description?(a.openBlock(),a.createElementBlock("div",WG,a.toDisplayString(e.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(CA,{class:"pt-2"},{default:a.withCtx(()=>{var k,g,x,C,w;return[a.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:a.normalizeStyle([{height:`${e.previewHeight}px`},y.value]),onMouseenter:m[2]||(m[2]=b=>d.value=!0),onMouseleave:m[3]||(m[3]=b=>d.value=!1)},[i.value&&r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,GG)):(a.openBlock(),a.createElementBlock("div",XG,[a.createVNode(a.unref(ws),{class:"w-10 h-10"}),a.createElementVNode("div",KG,[a.createElementVNode("p",ZG,a.toDisplayString((k=c.value)==null?void 0:k.name),1),a.createElementVNode("p",YG,a.toDisplayString((g=c.value)==null?void 0:g.size),1)])])),a.createElementVNode("div",{class:"d-action-buttons",style:a.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:d.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:d.value?"auto":"none"})},[e.showEdit&&i.value?(a.openBlock(),a.createElementBlock("button",{key:0,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:m[0]||(m[0]=b=>o("edit"))},[a.createVNode(a.unref(mr),{style:{width:"16px",height:"16px"}})],12,JG)):(a.openBlock(),a.createElementBlock("div",QG)),e.showRemove?(a.openBlock(),a.createElementBlock("button",{key:2,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s"}),onClick:m[1]||(m[1]=b=>o("remove"))},[a.createVNode(a.unref(Ti),{style:{width:"16px",height:"16px"}})],12,eX)):a.createCommentVNode("",!0)],4),a.createElementVNode("div",{class:"d-metadata-overlay",style:a.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:d.value?1:0,transform:d.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:h.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:h.value?"#e5e5e5":"#171717"})},[a.createElementVNode("div",tX,[a.createElementVNode("div",aX,[m[4]||(m[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),a.createElementVNode("span",nX,a.toDisplayString((x=c.value)==null?void 0:x.name),1)]),a.createElementVNode("div",oX,[m[5]||(m[5]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),a.createElementVNode("span",rX,a.toDisplayString((C=c.value)==null?void 0:C.size),1)]),a.createElementVNode("div",iX,[m[6]||(m[6]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),a.createElementVNode("span",sX,a.toDisplayString((w=c.value)==null?void 0:w.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-4f5c1d5e"]]);function AA(){const e=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:e,success:(i,s)=>e({type:"success",message:i,title:s}),error:(i,s)=>e({type:"error",message:i,title:s}),warning:(i,s)=>e({type:"warning",message:i,title:s}),info:(i,s)=>e({type:"info",message:i,title:s})}}const lX={class:"space-y-3"},cX={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30 dark:bg-neutral-800/20 dark:border-neutral-800"},gP=a.defineComponent({name:"DCodeFileField",inheritAttrs:!1,__name:"DCodeFileField",props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:"*/*"},minSizeMb:{default:null},maxSizeMb:{default:1},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:S=>o("update:modelValue",S)}),i=a.ref(null),s=a.ref(null);function c(S){s.value=S,o("error",S)}function d(){s.value=null}const h=a.computed(()=>{const S=(n.allowedTypes??"").trim();return S?S.split(/[,\s;]+/g).map(M=>M.trim().toLowerCase()).filter(Boolean).map(M=>M.includes("/")||M.startsWith(".")?M:`.${M}`):[]});function u(S){const v=S.lastIndexOf(".");return v>=0?S.slice(v).toLowerCase():""}const p=a.computed(()=>{if(h.value.length){const S=h.value.filter(M=>M.startsWith("."));return[...h.value.filter(M=>M.includes("/")),...S].join(",")}return n.accept}),y=a.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(S){if(h.value.length){const v=(S.type||"").toLowerCase(),M=u(S.name);return h.value.some(I=>I.includes("/")?v===I:I.startsWith(".")?M===I:M===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const v=n.accept.split(",").map(V=>V.trim().toLowerCase()),M=(S.type||"").toLowerCase(),I=u(S.name);return v.some(V=>{if(V.endsWith("/*")){const _=V.slice(0,-2);return M.startsWith(_)}return V.startsWith(".")?I===V:M===V})}return!0}function m(S){return S*1024*1024}async function k(S){return S?f(S)?n.minSizeMb!=null&&S.size<m(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&S.size>m(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=et(),x=AA(),C=a.ref(!1);async function w(S){var v;if(n.uploadFn){try{C.value=!0;const M=await n.uploadFn(S);r.value=S,o("uploaded",M)}catch(M){console.error("Upload Error",M),x.error("Upload Failed",(M==null?void 0:M.message)||"Unknown error"),c((M==null?void 0:M.message)||"Upload Failed")}finally{C.value=!1}return}if(!((v=n.endpoint)!=null&&v.apiUrl)){r.value=S;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{C.value=!0;const M=new FormData;M.append("doc",S);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),V=n.endpoint.apiUrl,_=await g("","",M,{_url:V,_method:I,withCredentials:!0,transformRequest:[(D,z)=>(z&&(delete z["Content-Type"],delete z["content-type"]),D)]}),B=(_==null?void 0:_.data)??_;r.value=S,o("uploaded",B)}catch(M){console.error("Upload Error",M),x.error("Upload Failed",(M==null?void 0:M.message)||"Unknown error"),c((M==null?void 0:M.message)||"Upload Failed")}finally{C.value=!1}}async function b(S){var M;if(n.disabled)return;d();const v=await k(S);if(v){c(v);return}i.value=S,n.uploadFn||(M=n.endpoint)!=null&&M.apiUrl?await w(S):r.value=S}function L(){d(),r.value=null,i.value=null}return a.watch(()=>n.modelValue,S=>{S&&!i.value&&(i.value=S),S||(i.value=null)},{immediate:!0}),(S,v)=>(a.openBlock(),a.createElementBlock("div",lX,[r.value?C.value?(a.openBlock(),a.createElementBlock("div",cX,[...v[1]||(v[1]=[a.createElementVNode("span",{class:"text-sm text-muted-foreground dark:text-neutral-400 animate-pulse"},"Uploading...",-1)])])):(a.openBlock(),a.createBlock(IA,{key:2,file:r.value,title:e.label,description:e.hint,disabled:e.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":e.previewHeight,"preview-width":e.previewWidth,onRemove:L},null,8,["file","title","description","disabled","preview-height","preview-width"])):(a.openBlock(),a.createBlock(SS,{key:0,label:e.label,hint:e.hint,accept:p.value,maxSizeMb:e.maxSizeMb,disabled:e.disabled||C.value,onPicked:b,error:s.value,onError:v[0]||(v[0]=M=>c(M))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),dX=["for"],hX={key:0,class:"!ml-1 !text-destructive"},uX={class:"relative w-full block box-border"},pX={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground pointer-events-none z-10"},yX=["id","readonly","disabled","placeholder"],fX={class:"absolute inset-y-0 right-4 flex items-center z-10"},mX={key:1,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg box-border"},kX={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},gX={key:1,class:"text-sm text-muted-foreground text-center"},bX=["onClick","title"],xX={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},MX={class:"flex items-center justify-center flex-1"},wX={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},vX={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},bP=a.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=e,o=t,r=na,i=a.ref(null),s=a.ref(null),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=a.ref(!1),u=a.computed(()=>(n.modelValue??"").trim()||""),p=a.ref(""),y=a.ref(!1),f=a.ref(!1),m=a.ref(!1),k=a.shallowRef([]),g=a.ref(n.pageSize),x=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),C=async()=>{if(f.value||m.value)return;m.value=!0,await new Promise(R=>setTimeout(R,0));const E=Object.keys(r).filter(R=>!x.has(R)).filter(R=>/^[A-Z]/.test(R)).filter(R=>typeof r[R]=="function"||typeof r[R]=="object"&&r[R]).sort((R,F)=>R.localeCompare(F));k.value=E,f.value=!0,m.value=!1},w=a.computed(()=>!f.value||!u.value||!k.value.includes(u.value)?null:r[u.value]),b=a.ref(u.value),L=a.computed(()=>!!u.value&&!h.value),S=a.computed(()=>{if(!f.value)return[];const E=(p.value??"").trim().toLowerCase();return E?k.value.filter(R=>R.toLowerCase().includes(E)):k.value}),v=a.computed(()=>S.value.slice(0,g.value)),M=a.computed(()=>{const E=n.columns;return E<=2?"grid-cols-2":E===3?"grid-cols-3":E===4?"grid-cols-4":E===5?"grid-cols-5":E>=8?"grid-cols-8":"grid-cols-6"});a.computed(()=>n.clearable?"!pr-10":"!pr-3"),a.computed(()=>w.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var E;await a.nextTick(),(E=s.value)==null||E.focus()},V=async E=>{if(n.disabled)return;const R=E!==!1;if(y.value){y.value=!1;return}h.value=!0,await C(),R&&(p.value="",b.value=""),g.value=n.pageSize,await I()},_=()=>{h.value=!1,p.value="",b.value=u.value,g.value=n.pageSize},B=async()=>{n.disabled||(h.value?_():await V())};let D=null;const z=async E=>{if(n.disabled)return;o("update:modelValue",null),h.value||await V(!1),D&&clearTimeout(D);const R=b.value;D=setTimeout(()=>{p.value=R},300)},G=E=>{n.disabled||(o("update:modelValue",E),_(),queueMicrotask(()=>{var R;return(R=s.value)==null?void 0:R.blur()}))},H=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,_(),queueMicrotask(()=>{var E;return(E=s.value)==null?void 0:E.focus()}))},j=E=>{if(E.key==="Escape"){E.preventDefault(),_();return}if(E.key==="Enter"&&h.value){const R=S.value[0];R&&(E.preventDefault(),G(R))}},U=E=>{if(!h.value)return;const R=E.target;i.value&&!i.value.contains(R)&&_()},J=E=>{const R=E.target;R.scrollTop+R.clientHeight>=R.scrollHeight-24&&g.value<S.value.length&&(g.value=Math.min(g.value+n.pageSize,S.value.length))};return a.onMounted(()=>{document.addEventListener("mousedown",U),queueMicrotask(()=>{var E;s.value=((E=i.value)==null?void 0:E.querySelector("input"))??null}),u.value&&C()}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",U),D&&clearTimeout(D)}),a.watch(u,E=>{h.value||(b.value=E)}),a.watch(()=>p.value,()=>{g.value=n.pageSize}),(E,R)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"!w-full !block !box-border"},[n.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:d.value,class:"!text-sm !font-medium !mb-1 !block"},[a.createTextVNode(a.toDisplayString(n.label)+" ",1),n.required?(a.openBlock(),a.createElementBlock("span",hX,"*")):a.createCommentVNode("",!0)],8,dX)):a.createCommentVNode("",!0),a.createElementVNode("div",uX,[w.value&&!h.value?(a.openBlock(),a.createElementBlock("div",pX,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(w.value),{size:18}))])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("input",{id:d.value,"onUpdate:modelValue":R[0]||(R[0]=F=>b.value=F),readonly:L.value,disabled:n.disabled,placeholder:n.placeholder,class:a.normalizeClass(["w-full h-10 m-0 py-0 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 pr-10 outline-none box-border truncate",[w.value&&!h.value?"pl-10":"pl-4",L.value?"cursor-pointer select-none":""]]),onClick:V,onFocus:V,onInput:z,onKeydown:j},null,42,yX),[[a.vModelText,b.value]]),a.createElementVNode("div",fX,[n.clearable&&u.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition cursor-pointer outline-none",onMousedown:R[1]||(R[1]=a.withModifiers(()=>{},["prevent"])),onClick:H,title:"Clear"},[a.createVNode(a.unref(pt),{class:"h-4 w-4"})],32)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform cursor-pointer outline-none",onMousedown:R[2]||(R[2]=a.withModifiers(()=>{},["prevent"])),onClick:B,title:"Open"},[a.createVNode(a.unref(qt),{class:"h-4 w-4"})],32))]),h.value?(a.openBlock(),a.createElementBlock("div",mX,[a.createElementVNode("div",{class:"p-2 overflow-auto",style:a.normalizeStyle({maxHeight:n.maxHeight}),onScroll:J},[m.value?(a.openBlock(),a.createElementBlock("div",kX,[a.createVNode(a.unref(St),{class:"h-4 w-4 animate-spin"}),R[3]||(R[3]=a.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&S.value.length===0?(a.openBlock(),a.createElementBlock("div",gX," Icon tidak ditemukan ")):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grid gap-2",M.value])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(v.value,F=>(a.openBlock(),a.createElementBlock("button",{key:F,type:"button",class:a.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===F?"ring-1 ring-primary":""]),onClick:Y=>G(F),title:F},[a.createElementVNode("div",xX,[a.createElementVNode("div",MX,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r)[F]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),a.createElementVNode("span",wX,a.toDisplayString(F),1)])],10,bX))),128))],2)),f.value&&S.value.length>0?(a.openBlock(),a.createElementBlock("div",vX," Showing "+a.toDisplayString(v.value.length)+" / "+a.toDisplayString(S.value.length),1)):a.createCommentVNode("",!0)],36)])):a.createCommentVNode("",!0)])],512))}}),CX={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6"},LX={class:"flex items-center justify-between border-b dark:border-neutral-800 px-6 py-4"},SX={class:"relative overflow-auto p-0"},BA=a.defineComponent({name:"DCodeImageCropperDialog",inheritAttrs:!1,__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:w=>o("update:modelValue",w)}),i=a.ref(null),s=a.ref(null);let c=null,d=!1,h=0,u=null;function p(){if(c){try{c.close()}catch{}c=null,u&&(u.disconnect(),u=null),i.value&&(i.value.innerHTML=""),s.value=null}}async function y(w,b,L,S,v){const M=await new Promise((_,B)=>{const D=URL.createObjectURL(w),z=new Image;z.onload=()=>{URL.revokeObjectURL(D),_(z)},z.onerror=G=>{URL.revokeObjectURL(D),B(G)},z.src=D}),I=document.createElement("canvas");I.width=b,I.height=L;const V=I.getContext("2d");return V?(V.drawImage(M,0,0,b,L),await new Promise(_=>{I.toBlob(B=>_(B||w),S,v)})):w}function f(){if(!c||!s.value)return;const w=c.getPlugin("Dashboard"),b=c.getFile(s.value);!w||!b||requestAnimationFrame(()=>{try{w.openFileEditor(b)}catch{try{w.openFileEditor(s.value)}catch{}}})}async function m(w){if(c){c.cancelAll(),s.value=null;try{const b=c.addFile({name:w.name,type:w.type,data:w,source:"Local",isRemote:!1});s.value=String(b)}catch{}}}function k(){if(!i.value)return;c&&p(),c=new dq({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}});const w=document.documentElement.classList.contains("dark");c.use(GA,{target:i.value,inline:!0,height:480,theme:w?"dark":"light",proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),u=new MutationObserver(()=>{if(!c)return;const b=document.documentElement.classList.contains("dark"),L=c.getPlugin("Dashboard");L&&L.setOptions({theme:b?"dark":"light"})}),u.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),c.use(hq,{target:GA,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",b=>{s.value=(b==null?void 0:b.id)??null,n.autoOpenEditor&&setTimeout(()=>f(),80)}),c.on("file-editor:complete",async b=>{const L=++h;try{const S=b.data,v=S.type||b.type||"image/jpeg";let M=S;if(n.outputWidth&&n.outputHeight&&(M=await y(S,n.outputWidth,n.outputHeight,v,n.quality)),d||L!==h)return;const I=b.name||"edited-image.jpg",V=new File([M],I,{type:v});await g(V,"UPPY_EDITOR_COMPLETE"),o("done",V),r.value=!1}catch{}})}async function g(w,b="CROP_RESULT"){const L=URL.createObjectURL(w);try{const S=await new Promise((v,M)=>{const I=new Image;I.onload=()=>v(I),I.onerror=M,I.src=L});console.group(b),console.log("file:",w),console.table({name:w.name,type:w.type,sizeBytes:w.size,sizeMB:+(w.size/1024/1024).toFixed(3),width:S.naturalWidth,height:S.naturalHeight,ratio:+(S.naturalWidth/S.naturalHeight).toFixed(4)}),console.log("previewUrl:",L),console.groupEnd()}finally{URL.revokeObjectURL(L)}}a.watch(r,async w=>{d=!w,h++,w?(await a.nextTick(),k(),n.file&&await m(n.file)):p()},{flush:"post"}),a.watch(()=>n.file,async w=>{r.value&&w&&(await a.nextTick(),await m(w))}),a.onBeforeUnmount(()=>{d=!0,h++,p()});const x=w=>{w.key==="Escape"&&r.value&&(r.value=!1)};a.watch(r,w=>{w?globalThis.addEventListener("keydown",x):globalThis.removeEventListener("keydown",x)},{immediate:!0});const C=a.ref(!1);return(w,b)=>r.value?(a.openBlock(),a.createElementBlock("div",CX,[a.createVNode(a.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity",onClick:b[0]||(b[0]=L=>r.value=!1)})):a.createCommentVNode("",!0)]),_:1}),a.createVNode(a.Transition,{appear:"","enter-active-class":"duration-300 ease-out","enter-from-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100 scale-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 scale-95 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"relative flex w-fit max-w-4xl flex-col overflow-hidden rounded-xl border border-border dark:border-neutral-800 bg-background dark:bg-neutral-900 shadow-2xl transition-all",onClick:b[4]||(b[4]=a.withModifiers(()=>{},["stop"]))},[a.createElementVNode("div",LX,[b[6]||(b[6]=a.createElementVNode("h3",{class:"text-lg font-semibold leading-none tracking-tight dark:text-neutral-100"}," Crop & Resize ",-1)),a.createElementVNode("button",{class:"d-close-btn rounded-sm dark:text-neutral-400 ring-offset-background transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",style:a.normalizeStyle({opacity:C.value?1:.7}),onClick:b[1]||(b[1]=L=>r.value=!1),onMouseenter:b[2]||(b[2]=L=>C.value=!0),onMouseleave:b[3]||(b[3]=L=>C.value=!1)},[a.createVNode(a.unref(pt),{class:"h-4 w-4"}),b[5]||(b[5]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))],36)]),a.createElementVNode("div",SX,[a.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])])):a.createCommentVNode("",!0)]),_:1})])):a.createCommentVNode("",!0)}}),IX={key:0,class:"text-xs text-muted-foreground dark:text-neutral-400"},AX=["src"],BX=["disabled"],VX=["disabled"],_X={class:"text-[11px] text-foreground/90 dark:text-neutral-200 space-y-1 whitespace-nowrap"},zX={class:"flex gap-2"},PX={class:"font-medium truncate"},qX={class:"flex gap-2"},DX={class:"font-medium"},EX={class:"flex gap-2"},TX={class:"font-medium truncate"},VA=Wt(a.defineComponent({name:"DCodeImageResult",__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(e,{emit:t}){const n=e,o=t,r=a.ref(null);a.watch(()=>n.file,y=>{r.value&&URL.revokeObjectURL(r.value),r.value=y?URL.createObjectURL(y):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value),h&&h.disconnect()});function i(y){const f=y/1024,m=f/1024;return m>=1?`${m.toFixed(2)} MB`:f>=1?`${f.toFixed(1)} KB`:`${y} B`}const s=a.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null),c=a.ref(!1),d=a.ref(!1);let h=null;const u=()=>{typeof document<"u"&&(d.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{u(),typeof document<"u"&&(h=new MutationObserver(u),h.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),h.observe(document.body,{attributes:!0,attributeFilter:["class"]}))});const p=a.computed(()=>n.disabled||!c.value?{}:{borderColor:d.value?"hsl(var(--primary) / 0.4)":"hsl(var(--primary) / 0.5)",backgroundColor:d.value?"hsl(var(--primary) / 0.1)":"hsl(var(--primary) / 0.05)"});return(y,f)=>e.file?(a.openBlock(),a.createBlock(vA,{key:0,class:a.normalizeClass([e.disabled?"opacity-60 pointer-events-none":"","dark:bg-neutral-900 dark:border-neutral-800"])},{default:a.withCtx(()=>[a.createVNode(LA,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(SA,{class:"text-sm font-semibold dark:text-neutral-100"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),e.description?(a.openBlock(),a.createElementBlock("div",IX,a.toDisplayString(e.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(CA,{class:"pt-2"},{default:a.withCtx(()=>{var m,k,g;return[a.createElementVNode("div",{class:"d-result-preview-wrap relative rounded-xl overflow-hidden border-2 border-dashed transition-colors duration-200 bg-muted dark:bg-neutral-800/50 border-border dark:border-neutral-700 w-full",style:a.normalizeStyle([{height:`${e.previewHeight}px`},p.value]),onMouseenter:f[2]||(f[2]=x=>c.value=!0),onMouseleave:f[3]||(f[3]=x=>c.value=!1)},[r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,AX)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"d-action-buttons",style:a.normalizeStyle({position:"absolute",top:"8px",left:"8px",right:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",zIndex:50,opacity:c.value?1:0,transition:"opacity 0.2s ease-in-out",pointerEvents:c.value?"auto":"none"})},[e.showEdit?(a.openBlock(),a.createElementBlock("button",{key:0,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#eab308",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[0]||(f[0]=x=>o("edit"))},[a.createVNode(a.unref(mr),{style:{width:"16px",height:"16px"}})],12,BX)):a.createCommentVNode("",!0),e.showRemove?(a.openBlock(),a.createElementBlock("button",{key:1,disabled:e.disabled,class:"d-action-btn shadow-md",style:a.normalizeStyle({height:"32px",width:"32px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ef4444",color:"white",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.4)",cursor:e.disabled?"not-allowed":"pointer",transition:"all 0.2s",boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}),onClick:f[1]||(f[1]=x=>o("remove"))},[a.createVNode(a.unref(Ti),{style:{width:"16px",height:"16px"}})],12,VX)):a.createCommentVNode("",!0)],4),a.createElementVNode("div",{class:"d-metadata-overlay",style:a.normalizeStyle({position:"absolute",left:"8px",bottom:"8px",zIndex:10,display:"inline-block",maxWidth:"calc(100% - 16px)",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.1)",padding:"8px 12px",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)",backdropFilter:"blur(8px)",transition:"all 0.2s ease-in-out",opacity:c.value?1:0,transform:c.value?"translateY(0) scale(1)":"translateY(4px) scale(0.99)",backgroundColor:d.value?"rgba(38, 38, 38, 0.8)":"rgba(255, 255, 255, 0.8)",color:d.value?"#e5e5e5":"#171717"})},[a.createElementVNode("div",_X,[a.createElementVNode("div",zX,[f[4]||(f[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Nama",-1)),a.createElementVNode("span",PX,a.toDisplayString((m=s.value)==null?void 0:m.name),1)]),a.createElementVNode("div",qX,[f[5]||(f[5]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Ukuran",-1)),a.createElementVNode("span",DX,a.toDisplayString((k=s.value)==null?void 0:k.size),1)]),a.createElementVNode("div",EX,[f[6]||(f[6]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground dark:text-neutral-400"},"Tipe",-1)),a.createElementVNode("span",TX,a.toDisplayString((g=s.value)==null?void 0:g.type),1)])])],4)],36)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-72c623f7"]]),HX={class:"space-y-3"},_A=a.defineComponent({name:"DCodeImageField",inheritAttrs:!1,__name:"DCodeImageField",props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:1},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:H=>o("update:modelValue",H)}),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);function h(H){d.value=H,o("error",H)}function u(){d.value=null}const p=a.computed(()=>{const H=(n.allowedTypes??"").trim();return H?H.split(/[,\s;]+/g).map(U=>U.trim().toLowerCase()).filter(Boolean).map(U=>U.includes("/")||U.startsWith(".")?U:`.${U}`):[]});function y(H){const j=H.lastIndexOf(".");return j>=0?H.slice(j).toLowerCase():""}const f=a.computed(()=>{if(p.value.length){const H=p.value.filter(U=>U.startsWith("."));return[...p.value.filter(U=>U.includes("/")),...H].join(",")}return n.accept||"image/*"}),m=a.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function k(H){if(p.value.length){const U=(H.type||"").toLowerCase(),J=y(H.name);return p.value.some(E=>E.includes("/")?U===E:E.startsWith(".")?J===E:J===`.${E}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(H.type||"").toLowerCase().startsWith("image/"):!0}function g(H){return H*1024*1024}async function x(H){var j;return(j=H.type)!=null&&j.startsWith("image/")?await new Promise(U=>{const J=URL.createObjectURL(H),E=new Image;E.onload=()=>{URL.revokeObjectURL(J),U({w:E.naturalWidth,h:E.naturalHeight})},E.onerror=()=>{URL.revokeObjectURL(J),U(null)},E.src=J}):null}async function C(H){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const U=await x(H);return U?n.minWidth!=null&&U.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&U.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&U.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&U.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function w(H){return H?k(H)?n.minSizeMb!=null&&H.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&H.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await C(H):`only Allowed: ${m.value}`:"File tidak valid"}function b(H){n.disabled||(s.value=H,i.value=!0)}async function L(H){if(n.disabled)return;u();const j=await w(H);if(j){h(j);return}c.value=H,b(H)}const{DCodeApi:S}=et(),v=AA(),M=a.ref(!1);a.ref(null);function I(H,j){return!H||!j?null:H.replace(/\/+$/,"")+"/"+j.replace(/^\/+/,"")}function V(H){var E;const j=(H==null?void 0:H.data)??H,U=(E=j==null?void 0:j.data)==null?void 0:E[0];if(!U)return null;const J=I(U.server,U.url);return{...U,fullUrl:J?encodeURI(J):null}}async function _(H){var j;if(n.uploadFn){try{M.value=!0;const U=await n.uploadFn(H);r.value=H,o("uploaded",U)}catch(U){console.error("Upload Error",U),v.error("Upload Failed",(U==null?void 0:U.message)||"Unknown error"),h((U==null?void 0:U.message)||"Upload Failed")}finally{M.value=!1}return}if(!((j=n.endpoint)!=null&&j.apiUrl)){r.value=H;return}if(typeof S!="function"){h("useApi() must expose DCodeApi()");return}try{M.value=!0;const U=new FormData;U.append("doc",H);const J=(n.endpoint.apiMethod||"POST").toUpperCase(),E=n.endpoint.apiUrl,R=await S("","",U,{_url:E,_method:J,withCredentials:!0,transformRequest:[(Y,Q)=>(Q&&(delete Q["Content-Type"],delete Q["content-type"]),Y)]}),F=(R==null?void 0:R.data)??R;V(F),r.value=H,o("uploaded",F)}catch(U){console.error("Upload Error",U),v.error("Upload Failed",(U==null?void 0:U.message)||"Unknown error"),h((U==null?void 0:U.message)||"Upload Failed")}finally{M.value=!1}}async function B(H){var j;u(),n.uploadFn||(j=n.endpoint)!=null&&j.apiUrl?await _(H):r.value=H,i.value=!1,s.value=null}function D(){i.value=!1,s.value=null}async function z(){if(!r.value)return;u();const H=n.editUseOriginal?c.value??r.value:r.value,j=await w(H);if(j){h(j);return}b(H)}function G(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return a.watch(()=>n.modelValue,H=>{H&&!c.value&&(c.value=H),H||(c.value=null)},{immediate:!0}),(H,j)=>(a.openBlock(),a.createElementBlock("div",HX,[r.value?(a.openBlock(),a.createBlock(VA,{key:1,file:r.value,title:e.label,description:e.description,"preview-width":e.previewWidth,disabled:e.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:z,onRemove:G,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(a.openBlock(),a.createBlock(SS,{key:0,label:e.label,hint:e.hint,accept:f.value,maxSizeMb:e.maxSizeMb,disabled:e.disabled,onPicked:L,error:d.value,onError:j[0]||(j[0]=U=>h(U))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),a.createVNode(BA,{modelValue:i.value,"onUpdate:modelValue":j[1]||(j[1]=U=>i.value=U),file:s.value,title:e.title,description:e.description,"auto-open-editor":e.autoOpenEditor,"aspect-ratio":e.aspectRatio,"output-width":e.outputWidth,"output-height":e.outputHeight,quality:e.quality,onDone:B,onCancel:D},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),zA=a.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(e){const t=a.useAttrs(),n=e,o=a.computed(()=>n.icon&&na[n.icon]||null),r=a.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=a.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=a.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=a.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=t.class??"";return[u,p].filter(Boolean).join(" ")}),h=a.computed(()=>{const{class:u,...p}=t;return p});return(u,p)=>(a.openBlock(),a.createElementBlock("span",a.mergeProps({class:d.value},h.value),[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:a.normalizeClass(["shrink-0",s.value,e.iconClass])},null,8,["class"])):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(e.label||e.text),1)],16))}}),PA=a.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=Is(n,"modelValue",t,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>a.withDirectives((a.openBlock(),a.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>a.isRef(r)?r.value=c:null),class:a.normalizeClass(a.unref(xe)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[a.vModelText,a.unref(r)]])}}),OX=["aria-busy"],jX={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},FX={key:0,class:"ml-1 text-destructive"},RX={class:"min-w-0 flex-1 text-left"},NX={key:0,class:"flex flex-wrap gap-1.5"},UX={class:"max-w-[220px] truncate"},$X=["onClick"],WX={key:1,class:"text-muted-foreground truncate"},GX={class:"flex items-center gap-2 shrink-0"},XX={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},KX={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},ZX=["disabled","onClick"],YX={class:"truncate"},JX={key:0,class:"text-primary-600 dark:text-primary-400"},QX={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},eK={key:0},tK={key:1},aK={key:1,class:"text-xs text-destructive"},nK={name:"DCodeMultiSelect"},xP=a.defineComponent({...nK,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:5},maxSelected:{default:5},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>(r.label||n.label)??void 0),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{if(r.required)return!0;const Z=n.required,te=n["aria-required"];return Z===""||Z===!0||Z==="true"||(te==="true"||te===!0)}),u=a.computed(()=>!!r.error);function p(Z){return Z?typeof r.itemTitle=="function"?r.itemTitle(Z)??"":String((Z==null?void 0:Z[r.itemTitle])??""):""}function y(Z){return Z?typeof r.itemValue=="function"?r.itemValue(Z):Z==null?void 0:Z[r.itemValue]:null}function f(Z,te){return y(Z)??te}const m=a.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),k=a.computed(()=>{var Z;return!!((Z=r.endpoint)!=null&&Z.apiUrl)||!!r.fetchItems}),g=a.ref([]),x=a.ref(!1),C=a.ref(!1),w=a.computed(()=>{var te;const Z=(te=r.endpoint)==null?void 0:te.apiOptions;if(Z)return typeof Z=="function"?Z():Z}),b=a.computed(()=>{var fe,je;const Z=((fe=r.endpoint)==null?void 0:fe.apiUrl)??"",te=(((je=r.endpoint)==null?void 0:je.apiMethod)??"GET").toUpperCase(),ne=JSON.stringify(w.value??null);return`${te} ${Z} :: ${ne}`}),L=a.computed(()=>k.value?g.value:r.items||[]);async function S(){var Z;if(k.value&&!(!((Z=r.endpoint)!=null&&Z.apiUrl)&&!r.fetchItems)&&!x.value){x.value=!0;try{let te;if(r.fetchItems){const ne=await r.fetchItems(),fe=(ne==null?void 0:ne.data)??ne;te=(fe==null?void 0:fe.data)??fe}else{const{DCodeApi:ne}=et();if(typeof ne!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const fe={page:1,perPage:100,...w.value||{}},je=await ne("","",fe,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),Qt=(je==null?void 0:je.data)??je;te=(Qt==null?void 0:Qt.data)??Qt}g.value=Array.isArray(te)?te:[],C.value=!0}catch(te){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",te),g.value=[]}finally{x.value=!1}}}a.watch(()=>b.value,()=>{g.value=[],C.value=!1}),a.onMounted(()=>{r.autoFetchOnMount&&k.value&&S()});const v=a.computed(()=>{const Z=m.value;if(r.returnObject)return Z;const te=new Map;for(const ne of L.value)te.set(y(ne),ne);return Z.map(ne=>te.get(ne)??{[r.itemValue]:ne,[r.itemTitle]:String(ne)})}),M=a.computed(()=>r.maxChips===null?v.value:v.value.slice(0,r.maxChips));function I(Z){const te=m.value;if(r.returnObject){const ne=y(Z);return te.some(fe=>y(fe)===ne)}return te.includes(y(Z))}const V=a.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const Z=Number(r.maxSelected);return Number.isFinite(Z)&&Z>0?Z:null}),_=a.computed(()=>{const Z=V.value;return Z===null?!1:m.value.length>=Z});function B(Z){return!I(Z)&&_.value}const D=a.computed(()=>{const Z=m.value,te=new Set;if(r.returnObject)for(const ne of Z)te.add(y(ne));else for(const ne of Z)te.add(ne);return te}),z=a.computed(()=>{const Z=D.value;return(L.value||[]).filter(te=>!Z.has(y(te)))}),G=a.computed(()=>L.value.length===0?!1:z.value.length===0),H=a.ref(null),j=a.ref(null),U=a.ref(null),J=a.ref(!1),E=a.ref(""),R=a.ref(0),F=a.ref(0),{floatingStyles:Y}=f1(H,j,{whileElementsMounted:h1,placement:"bottom-start",middleware:[u1(8),Ks(),p1({padding:8}),y1({apply({rects:Z,elements:te}){Object.assign(te.floating.style,{width:`${Z.reference.width}px`,"--floating-width":`${Z.reference.width}px`})}})]}),Q=a.computed(()=>Y.value),re=a.computed(()=>{const Z=Number(r.maxRows);return Number.isFinite(Z)&&Z>0?Z:5});async function he(){r.disabled||(J.value=!0,F.value=0,requestAnimationFrame(()=>{U.value&&(U.value.scrollTop=0),R.value=0}),k.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!C.value)&&!x.value&&await S())}function pe(){J.value=!1}function _e(){J.value?pe():he()}function ue(Z){var ne,fe;if(!J.value)return;const te=Z.target;(ne=H.value)!=null&&ne.contains(te)||(fe=j.value)!=null&&fe.contains(te)||pe()}a.onMounted(()=>document.addEventListener("mousedown",ue)),a.onBeforeUnmount(()=>document.removeEventListener("mousedown",ue));function W(Z){if(r.disabled)return;if(B(Z)){o("max");return}const te=[...m.value];if(r.returnObject){const ne=y(Z);if(te.some(je=>y(je)===ne))return;o("update:modelValue",[...te,Z])}else{const ne=y(Z);if(te.includes(ne))return;o("update:modelValue",[...te,ne])}E.value="",F.value=0,requestAnimationFrame(()=>{U.value&&(U.value.scrollTop=0),R.value=0})}function q(Z){if(r.disabled)return;const te=[...m.value];if(r.returnObject){const ne=y(Z);o("update:modelValue",te.filter(fe=>y(fe)!==ne))}else{const ne=y(Z);o("update:modelValue",te.filter(fe=>fe!==ne))}}function $(){r.disabled||(o("update:modelValue",[]),o("clear"),pe())}const ee=a.computed(()=>{const Z=E.value.trim().toLowerCase(),te=z.value;return Z?te.filter(ne=>p(ne).toLowerCase().includes(Z)):te}),ye=a.computed(()=>ee.value.length);a.watch(J,Z=>{Z||(E.value="")});const Oe=a.computed(()=>{if(G.value)return r.itemHeight;const Z=ye.value;return(Z<=0?1:Math.min(Z,re.value))*r.itemHeight}),Mt=a.computed(()=>r.virtual?ye.value*r.itemHeight:0),wt=a.computed(()=>r.virtual?Math.ceil(Oe.value/r.itemHeight)+r.overscan:ye.value),pa=a.computed(()=>{if(!r.virtual)return 0;const Z=Math.floor(R.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,Z)}),ya=a.computed(()=>r.virtual?Math.min(ye.value,pa.value+wt.value):ye.value),Jl=a.computed(()=>r.virtual?pa.value*r.itemHeight:0),Ws=a.computed(()=>{const Z=ee.value;return r.virtual?Z.slice(pa.value,ya.value):Z});function Ql(Z){const te=Z.target;R.value=te.scrollTop}function e1(Z){return Z===F.value}function N(Z){const te=U.value;if(!te||!r.virtual)return;const ne=Z*r.itemHeight,fe=ne+r.itemHeight,je=te.scrollTop,Qt=te.scrollTop+te.clientHeight;ne<je?te.scrollTop=ne:fe>Qt&&(te.scrollTop=fe-te.clientHeight)}function ae(Z){const te=Math.max(0,ye.value-1);F.value=Math.min(te,Math.max(0,F.value+Z)),N(F.value)}function de(){const Z=ee.value[F.value];Z&&W(Z)}const ze=a.computed(()=>r.clearable&&!r.disabled&&v.value.length>0),Le=a.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":J.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(Z,te)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",jX)):a.createCommentVNode("",!0),te[3]||(te[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",FX,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"referenceEl",ref:H,class:"relative"},[a.createVNode(a.unref(Xe),{id:d.value,type:"button",variant:"outline",class:a.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",Le.value]]),disabled:r.disabled,onClick:_e},{default:a.withCtx(()=>[a.createElementVNode("div",RX,[v.value.length?(a.openBlock(),a.createElementBlock("div",NX,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(M.value,(ne,fe)=>(a.openBlock(),a.createBlock(a.unref(Ta),{key:`chip-${f(ne,fe)}`,variant:"secondary",class:"gap-1"},{default:a.withCtx(()=>[a.createElementVNode("span",UX,a.toDisplayString(p(ne)),1),r.disabled?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:a.withModifiers(je=>q(ne),["stop"]),"aria-label":"Remove"}," ✕ ",8,$X))]),_:2},1024))),128)),r.maxChips!==null&&v.value.length>r.maxChips?(a.openBlock(),a.createBlock(a.unref(Ta),{key:0,variant:"secondary"},{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(v.value.length-(r.maxChips??0)),1)]),_:1})):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",WX,a.toDisplayString(r.placeholder),1))]),a.createElementVNode("div",GX,[ze.value?(a.openBlock(),a.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:a.withModifiers($,["stop"]),"aria-label":"Clear"}," ✕ ")):a.createCommentVNode("",!0),a.createVNode(a.unref(qt),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[J.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:j,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:a.normalizeStyle(Q.value)},[r.searchable&&!G.value?(a.openBlock(),a.createElementBlock("div",XX,[a.createVNode(a.unref(PA),{modelValue:E.value,"onUpdate:modelValue":te[0]||(te[0]=ne=>E.value=ne),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[te[1]||(te[1]=a.withKeys(a.withModifiers(ne=>ae(1),["prevent"]),["down"])),te[2]||(te[2]=a.withKeys(a.withModifiers(ne=>ae(-1),["prevent"]),["up"])),a.withKeys(a.withModifiers(de,["prevent"]),["enter"]),a.withKeys(a.withModifiers(pe,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"listEl",ref:U,class:"relative overflow-auto",style:a.normalizeStyle({height:Oe.value+"px"}),onScroll:Ql},[G.value?(a.openBlock(),a.createElementBlock("div",KX," All items have been selected ")):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[r.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:Mt.value+"px"})},null,4)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:a.normalizeStyle(r.virtual?{transform:`translateY(${Jl.value}px)`}:void 0)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Ws.value,(ne,fe)=>(a.openBlock(),a.createElementBlock("button",{key:String(f(ne,pa.value+fe)),type:"button",class:a.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[B(ne)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",e1(pa.value+fe)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ne)?"font-semibold":"font-normal"]]),style:a.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||B(ne),onClick:je=>W(ne)},[a.createElementVNode("span",YX,a.toDisplayString(p(ne)),1),I(ne)?(a.openBlock(),a.createElementBlock("span",JX,"✓")):a.createCommentVNode("",!0)],14,ZX))),128))],6),ye.value===0?(a.openBlock(),a.createElementBlock("div",QX,[x.value?(a.openBlock(),a.createElementBlock("span",eK,"Loading data…")):(a.openBlock(),a.createElementBlock("span",tK,"Tidak ada data"))])):a.createCommentVNode("",!0)],64))],36)],4)):a.createCommentVNode("",!0)]))],512),u.value?(a.openBlock(),a.createElementBlock("p",aK,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,OX)),[[a.vShow,s.value]])}}),oK={class:"space-y-4"},rK={key:0,class:"space-y-1"},iK={class:"text-base font-semibold text-gray-800"},sK={class:"text-sm text-gray-400"},lK={class:"flex items-center gap-2 flex-nowrap"},cK=["value","disabled","onKeydown","onInput","onPaste"],qA=a.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(e,{emit:t}){const n=e,o=t,r=a.ref([]),i=a.ref([]),s=a.ref(!1),{DCodeApi:c}=et(),d=AA(),h=a.computed(()=>{const w=Number(n.totalInput);return w&&w>0?w:6}),u=()=>{i.value=Array.from({length:h.value},(w,b)=>{var L;return((L=n.default)==null?void 0:L[b])??""}),o("updateOtp",i.value.join(""))};u(),a.watch(()=>[n.totalInput,n.default],()=>u());const p=w=>{w<0||w>=h.value||a.nextTick(()=>{var b;return(b=r.value[w])==null?void 0:b.focus()})},y=w=>w.match(/[a-zA-Z0-9]/)?w.match(/[a-zA-Z0-9]/)[0]:"";async function f(w){var b;if(o("complete",w),n.submitFn){try{s.value=!0,o("loading",!0);const L=await n.submitFn(w);o("success",L)}catch(L){console.error("OTP Submit Error",L),d.error("Submit Failed",(L==null?void 0:L.message)||"Unknown error"),o("error",(L==null?void 0:L.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((b=n.endpoint)!=null&&b.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const L=(n.endpoint.apiMethod||"POST").toUpperCase(),S=n.endpoint.apiUrl,v=await c("","",{otp:w},{_url:S,_method:L,withCredentials:!0}),M=(v==null?void 0:v.data)??v;o("success",M)}catch(L){console.error("OTP Submit Error",L),d.error("Submit Failed",(L==null?void 0:L.message)||"Unknown error"),o("error",(L==null?void 0:L.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const m=(w,b)=>{i.value[w]=y(b);const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L)},k=(w,b)=>{const L=w.key,S=/^\d$/.test(L),v=/^[a-zA-Z]$/.test(L);if(L==="Backspace"){if(w.preventDefault(),i.value[b]){m(b,"");return}b>0&&(m(b-1,""),p(b-1));return}if(L==="ArrowLeft"){w.preventDefault(),p(b-1);return}if(L==="ArrowRight"){w.preventDefault(),p(b+1);return}if(S||v){w.preventDefault(),m(b,L),b<h.value-1&&p(b+1);return}L.length===1&&w.preventDefault()},g=(w,b)=>{const L=w.target,S=L.value??"",v=y(S);L.value=v,m(b,v),v&&b<h.value-1&&p(b+1)},x=(w,b)=>{var I;w.preventDefault();const S=(((I=w.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!S)return;let v=b;for(const V of S){if(v>=h.value)break;i.value[v]=V,v++}const M=i.value.join("");o("updateOtp",M),o("update:modelValue",M),M.length===h.value&&f(M),p(Math.min(v,h.value-1))},C=w=>b=>{r.value[w]=(b==null?void 0:b.$el)??b};return(w,b)=>(a.openBlock(),a.createElementBlock("div",oK,[n.label||h.value?(a.openBlock(),a.createElementBlock("div",rK,[a.createElementVNode("h6",iK,a.toDisplayString(n.label||"Masukkan kode keamanan"),1),a.createElementVNode("p",sK," Ketik "+a.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):a.createCommentVNode("",!0),a.createElementVNode("div",lK,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,L=>(a.openBlock(),a.createElementBlock("input",{key:L,ref_for:!0,ref:C(L-1),value:i.value[L-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:a.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[L-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:S=>k(S,L-1),onInput:S=>g(S,L-1),onPaste:S=>x(S,L-1)},null,42,cK))),128))])]))}}),dK={class:"w-full"},hK={key:0,class:"flex items-center justify-between mb-2"},uK={key:0,class:"text-sm font-medium text-gray-700"},pK={key:1,class:"text-sm text-gray-600"},yK={name:"DCodeProgress"},MP=a.defineComponent({...yK,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=a.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=a.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=a.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=a.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(a.openBlock(),a.createElementBlock("div",dK,[e.label||e.showValue?(a.openBlock(),a.createElementBlock("div",hK,[e.label?(a.openBlock(),a.createElementBlock("span",uK,a.toDisplayString(e.label),1)):a.createCommentVNode("",!0),e.showValue?(a.openBlock(),a.createElementBlock("span",pK,a.toDisplayString(s.value),1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.value)},[a.createElementVNode("div",{class:a.normalizeClass(i.value),style:a.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),fK={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},wP=Wt(a.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.Transition,{name:"fade"},{default:a.withCtx(()=>[e.isApiLoading?(a.openBlock(),a.createElementBlock("div",fK,[a.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:a.normalizeStyle({width:`${e.apiProgress}%`})},null,4)])):a.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-85c68054"]]),mK={class:"grid gap-3"},kK={key:0,class:"ml-1 text-destructive"},gK={class:"flex flex-col"},bK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},xK={class:"relative flex-shrink-0 mt-0.5"},MK=["id","name","value","checked","disabled","required","onChange"],wK=["onClick"],vK=["for"],CK={key:0,class:"ml-1 text-red-500"},LK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},vP=a.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:""},itemTitle:{default:"name"},itemValue:{default:"id"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},endpoint:{},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(e,{emit:t}){a.useAttrs();const{apiUrl:n}=et(),o=t,r=e,i=a.ref([]),s=a.ref(!1),c=a.ref(null),d=async()=>{var b,L;const w=((b=r.endpoint)==null?void 0:b.apiUrl)||r.apiUrl;if(w){s.value=!0,c.value=null;try{const S={page:1,perPage:100},v=((L=r.endpoint)==null?void 0:L.apiMethod)||r.apiMethod,M=await n(w,v,S);let I=M;r.dataPath?I=r.dataPath.split(".").reduce((_,B)=>_&&_[B]!=="undefined"?_[B]:void 0,M):typeof M=="object"&&!Array.isArray(M)&&M.data&&(I=M.data),Array.isArray(I)?i.value=I:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(S){console.error("DCodeRadio fetch error:",S),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};a.onMounted(()=>{var w;((w=r.endpoint)!=null&&w.apiUrl||r.apiUrl)&&d()});const h=a.computed(()=>{if(r.options&&r.options.length>0)return r.options;if(i.value.length>0)return i.value;const w=r.itemValue||r.model||"id",b=r.itemTitle||(r.label===""?"name":r.label);return b&&r.label!==""?[{[w]:w,[b]:b}]:[]}),u=w=>{if(typeof w!="object")return w;const b=r.itemValue||r.model||"id";return w[b]},p=w=>{if(typeof w!="object")return String(w);const b=r.itemTitle||"name";return w[b]},y=a.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=a.computed(()=>!!r.error||!!c.value),m=a.computed(()=>r.error||c.value),k=w=>w==null?r.modelValue===w:String(r.modelValue)===String(w),g=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),x=(w,b)=>{b.target.checked&&(o("update:modelValue",w),o("change",w))},C=w=>{!r.disabled&&!k(w)&&(o("update:modelValue",w),o("change",w))};return(w,b)=>(a.openBlock(),a.createElementBlock("div",mK,[e.label?(a.openBlock(),a.createBlock(qa,{key:0,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",kK,"*")):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),a.createElementVNode("div",gK,[s.value?(a.openBlock(),a.createElementBlock("div",bK,[a.createVNode(a.unref(St),{class:"w-4 h-4 animate-spin"}),b[0]||(b[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex",e.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,(L,S)=>(a.openBlock(),a.createElementBlock("div",{key:S,class:a.normalizeClass(["flex items-start",g.value.container,e.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[a.createElementVNode("div",xK,[a.createElementVNode("input",{id:e.id?`${e.id}-${S}`:`${y.value}-${S}`,name:y.value,type:"radio",value:u(L),checked:k(u(L)),disabled:e.disabled,required:e.required&&S===0,onChange:v=>x(u(L),v),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,MK)]),a.createElementVNode("div",{class:"flex-1 min-w-0",onClick:v=>C(u(L))},[a.createElementVNode("label",{for:e.id?`${e.id}-${S}`:`${y.value}-${S}`,class:a.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-foreground dark:text-gray-300",e.disabled?"cursor-not-allowed opacity-50":""])},[a.createTextVNode(a.toDisplayString(p(L))+" ",1),e.required&&h.value.length===1&&e.label?(a.openBlock(),a.createElementBlock("span",CK,"*")):a.createCommentVNode("",!0)],10,vK)],8,wK)],2))),128))],2),f.value&&m.value?(a.openBlock(),a.createElementBlock("div",LK,[a.createVNode(a.unref(Dt),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(m.value),1)])):a.createCommentVNode("",!0)])]))}}),SK={class:"grid gap-3"},IK={key:0,class:"ml-1 text-destructive"},AK={class:"flex flex-col"},BK={key:0,class:"flex items-center gap-2 text-sm text-gray-500 dark:text-neutral-400 mb-2"},VK=["onClick"],_K=["id","name","value","checked","disabled","required","onChange"],zK={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},PK=["for"],qK={key:0,class:"ml-1 text-red-500"},DK={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},CP=a.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},itemTitle:{default:"name"},itemValue:{default:"id"},label:{default:""},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},endpoint:{},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(e,{emit:t}){a.useAttrs();const{apiUrl:n}=et(),o=t,r=e,i=a.ref(r.modelValue??void 0);a.watch(()=>r.modelValue,I=>{i.value=I},{immediate:!0});const s=a.ref([]),c=a.ref(!1),d=a.ref(null),h=async()=>{var V,_;const I=((V=r.endpoint)==null?void 0:V.apiUrl)||r.apiUrl;if(I){c.value=!0,d.value=null;try{const B={page:1,perPage:100},D=((_=r.endpoint)==null?void 0:_.apiMethod)||r.apiMethod,z=await n(I,D,B);let G=z;r.dataPath?G=r.dataPath.split(".").reduce((j,U)=>j&&j[U]!=="undefined"?j[U]:void 0,z):typeof z=="object"&&!Array.isArray(z)&&z.data&&(G=z.data),Array.isArray(G)?s.value=G:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(B){console.error("DCodeRadioCustom fetch error:",B),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}},u=a.ref(!1);let p=null;const y=()=>{typeof document<"u"&&(u.value=document.documentElement.classList.contains("dark")||document.body.classList.contains("dark"))};a.onMounted(()=>{var I;((I=r.endpoint)!=null&&I.apiUrl||r.apiUrl)&&h(),y(),typeof document<"u"&&(p=new MutationObserver(y),p.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),p.observe(document.body,{attributes:!0,attributeFilter:["class"]}))}),a.onBeforeUnmount(()=>{p&&p.disconnect()});const f=a.computed(()=>{if(r.options&&r.options.length>0)return r.options;if(s.value.length>0)return s.value;const I=r.itemValue||r.model||"id",V=r.itemTitle||(r.label===""?"name":r.label);return V&&r.label!==""?[{[I]:I,[V]:V}]:[]}),m=I=>{if(typeof I!="object")return I;const V=r.itemValue||r.model||"id";return I[V]},k=I=>{if(typeof I!="object")return String(I);const V=r.itemTitle||"name";return I[V]},g=Math.random().toString(36).slice(2,7),x=a.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${g}`),C=a.computed(()=>!!r.error||!!d.value),w=a.computed(()=>r.error||d.value),b=I=>{const V=i.value;return I==null?V===I:String(V)===String(I)},L=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),S=a.computed(()=>r.icon&&na[r.icon]||null),v=(I,V)=>{V.target.checked&&(i.value=I,o("update:modelValue",I),o("change",I))},M=I=>{r.disabled||b(I)||(i.value=I,o("update:modelValue",I),o("change",I))};return(I,V)=>(a.openBlock(),a.createElementBlock("div",SK,[e.label?(a.openBlock(),a.createBlock(qa,{key:0,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",IK,"*")):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),a.createElementVNode("div",AK,[c.value?(a.openBlock(),a.createElementBlock("div",BK,[a.createVNode(a.unref(St),{class:"w-4 h-4 animate-spin"}),V[0]||(V[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["grid",e.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(f.value,(_,B)=>(a.openBlock(),a.createElementBlock("div",{key:B,class:a.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",b(m(_))?u.value?"border-primary-500 bg-primary-500/10 shadow-none":"border-primary-500 bg-primary-50 shadow-md shadow-primary-100":u.value?"border-neutral-700 bg-neutral-800 hover:border-neutral-600":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",e.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:D=>!e.disabled&&M(m(_))},[a.createElementVNode("input",{id:e.id?`${e.id}-${B}`:`${x.value}-${B}`,name:x.value,type:"radio",value:m(_),checked:b(m(_)),disabled:e.disabled,required:e.required&&B===0,onChange:D=>v(m(_),D),class:"sr-only",tabindex:"-1"},null,40,_K),a.createElementVNode("div",{class:a.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",b(m(_))?u.value?"bg-primary-500/25 text-primary-400":"bg-primary-100 text-primary-600":u.value?"bg-neutral-700 text-neutral-500":"bg-gray-100 text-gray-400"])},[S.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{key:0,class:"w-6 h-6"})):(a.openBlock(),a.createElementBlock("svg",zK,[...V[1]||(V[1]=[a.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),a.createElementVNode("label",{for:e.id?`${e.id}-${B}`:`${x.value}-${B}`,class:a.normalizeClass([L.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",b(m(_))?u.value?"text-primary-400":"text-primary-700":u.value?"text-neutral-300":"text-gray-700",e.disabled?"cursor-not-allowed":"cursor-pointer"])},[a.createTextVNode(a.toDisplayString(k(_))+" ",1),e.required&&f.value.length===1&&e.label?(a.openBlock(),a.createElementBlock("span",qK,"*")):a.createCommentVNode("",!0)],10,PK)],10,VK))),128))],2),C.value&&w.value?(a.openBlock(),a.createElementBlock("div",DK,[a.createVNode(a.unref(Dt),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(w.value),1)])):a.createCommentVNode("",!0)])]))}}),EK={key:0,class:"ml-1 text-destructive"},TK={class:"relative w-full"},HK={key:0,class:"mb-2 flex items-center justify-between"},OK={class:"text-sm text-muted-foreground"},jK={class:"text-sm font-medium text-foreground"},FK={class:"text-sm text-muted-foreground"},RK={class:"relative"},NK=["id","value","min","max","step","disabled","placeholder"],UK={key:1,class:"relative mt-2"},$K={class:"text-xs text-muted-foreground mt-1"},WK={key:1,class:"flex items-center gap-1 text-sm text-destructive"},GK={name:"DCodeSlider"},DA=a.defineComponent({...GK,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.ref(),s=a.ref(!1),c=a.computed(()=>!!r.error),d=a.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=a.computed(()=>(r.label||n.label)??void 0),u=a.computed(()=>!0),p=a.computed(()=>{const L={sm:"h-2",md:"h-2.5",lg:"h-3"},S={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-transparent rounded-lg outline-none transition-all cursor-pointer relative z-10","disabled:opacity-50 disabled:cursor-not-allowed",L[r.size],S[r.color]||S.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=a.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=a.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),m=a.computed(()=>{const L=r.max-r.min;return(r.modelValue-r.min)/L*100}),k=L=>{const S=L.target,v=parseFloat(S.value);o("update:modelValue",v),o("input",v)},g=L=>{const S=L.target,v=parseFloat(S.value);o("change",v)},x=()=>{s.value=!0},C=()=>{s.value=!1},w=L=>{const S=r.max-r.min;return(L-r.min)/S*100},b=a.computed(()=>{const L={sm:16,md:20,lg:24};return`
|
|
8568
8568
|
input[type="range"]::-webkit-slider-thumb {
|
|
8569
8569
|
${y.value}
|
|
8570
8570
|
width: ${L[r.size]}px;
|
|
@@ -8593,6 +8593,6 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8593
8593
|
input[type="range"]:focus::-moz-range-thumb {
|
|
8594
8594
|
transform: scale(1.1);
|
|
8595
8595
|
}
|
|
8596
|
-
`});return(L,S)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-2 w-full",a.unref(n).class]),"aria-busy":!1},[h.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",EK,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",TK,[e.showValue?(a.openBlock(),a.createElementBlock("div",HK,[a.createElementVNode("span",OK,a.toDisplayString(r.valuePrefix)+a.toDisplayString(e.min)+a.toDisplayString(r.valueSuffix),1),a.createElementVNode("span",jK,a.toDisplayString(f.value),1),a.createElementVNode("span",FK,a.toDisplayString(r.valuePrefix)+a.toDisplayString(e.max)+a.toDisplayString(r.valueSuffix),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",RK,[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[e.size==="sm"?"h-2":e.size==="md"?"h-2.5":"h-3"]])},[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[e.color==="blue"?"bg-blue-500":e.color==="green"?"bg-green-500":e.color==="red"?"bg-red-500":e.color==="yellow"?"bg-yellow-500":e.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:a.normalizeStyle({width:`${m.value}%`})},null,6)],2),a.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:e.modelValue,min:e.min,max:e.max,step:e.step,disabled:e.disabled,placeholder:e.placeholder,class:a.normalizeClass(p.value),onInput:k,onChange:g,onMousedown:x,onMouseup:C,onTouchstart:x,onTouchend:C},null,42,NK)]),e.marks.length>0?(a.openBlock(),a.createElementBlock("div",UK,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.marks,v=>(a.openBlock(),a.createElementBlock("div",{key:v.value,class:"absolute flex flex-col items-center",style:a.normalizeStyle({left:`${w(v.value)}%`,transform:"translateX(-50%)"})},[S[0]||(S[0]=a.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),a.createElementVNode("span",$K,a.toDisplayString(v.label),1)],4))),128))])):a.createCommentVNode("",!0)]),c.value?(a.openBlock(),a.createElementBlock("div",WK,[S[1]||(S[1]=a.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),a.createTextVNode(" "+a.toDisplayString(e.error),1)])):a.createCommentVNode("",!0),b.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent("style"),{key:2},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(b.value),1)]),_:1})):a.createCommentVNode("",!0)],2)),[[a.vShow,u.value]])}}),XK={class:"inline-flex items-center gap-3"},KK=["for"],ZK={key:0,class:"text-red-500 ml-1"},YK=["id","name","aria-checked","aria-label","disabled"],JK={key:0,class:"absolute inset-0 flex items-center justify-center"},QK={class:"relative z-10 flex items-center gap-2"},eZ=["id","name","aria-checked","aria-label","disabled"],tZ={key:0,class:"absolute inset-0 flex items-center justify-center"},aZ=["for"],nZ={key:0,class:"text-red-500 ml-1"},oZ={name:"DCodeSwitch"},EA=a.defineComponent({...oZ,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=a.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=a.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=a.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=a.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=a.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(a.openBlock(),a.createElementBlock("div",XK,[e.label&&e.labelPosition==="left"?(a.openBlock(),a.createElementBlock("label",{key:0,for:e.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":e.disabled}])},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",ZK,"*")):a.createCommentVNode("",!0)],10,KK)):a.createCommentVNode("",!0),a.createVNode(a.unref(FV),null,{default:a.withCtx(()=>[e.showTooltip?(a.openBlock(),a.createBlock(a.unref(OV),{key:0,"delay-duration":200},{default:a.withCtx(()=>[a.createVNode(a.unref(RV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("button",{type:"button",id:e.id,name:e.name,"aria-checked":r.value?"true":"false","aria-label":e.label||"Toggle switch",disabled:e.disabled||e.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":e.disabled,"cursor-wait":e.loading,"cursor-pointer":!e.disabled&&!e.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[e.loading?(a.openBlock(),a.createElementBlock("span",JK,[...y[0]||(y[0]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ut),{key:1,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,YK)]),_:1}),a.createVNode(a.unref(jV),{side:"top","side-offset":8,class:a.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:a.withCtx(()=>[a.createElementVNode("span",QK,[a.createElementVNode("span",{class:a.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),a.createTextVNode(" "+a.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:e.id,name:e.name,"aria-checked":r.value?"true":"false","aria-label":e.label||"Toggle switch",disabled:e.disabled||e.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":e.disabled,"cursor-wait":e.loading,"cursor-pointer":!e.disabled&&!e.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[e.loading?(a.openBlock(),a.createElementBlock("span",tZ,[...y[1]||(y[1]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ut),{key:1,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,eZ))]),_:1}),e.label&&e.labelPosition==="right"?(a.openBlock(),a.createElementBlock("label",{key:1,for:e.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":e.disabled}])},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",nZ,"*")):a.createCommentVNode("",!0)],10,aZ)):a.createCommentVNode("",!0)]))}}),rZ=["aria-busy"],iZ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},sZ={key:1,class:"flex justify-end"},lZ={key:0,class:"ml-1 text-destructive"},cZ={class:"relative w-full group"},dZ={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},hZ={key:1},uZ={key:1,class:"absolute inset-y-0 right-4 flex items-center"},pZ={key:2,class:"absolute inset-y-0 right-4 flex items-center"},yZ={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},fZ={key:1,class:"text-xs text-destructive"},TA=a.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=a.computed(()=>{var q;return((q=c.valueType)==null?void 0:q.toLowerCase())==="password"||n.type==="password"}),r=a.ref(!1),i=()=>{r.value=!r.value},s=t,c=e,d=a.computed(()=>n.label);a.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=a.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=a.computed(()=>{const q=n.required,$=n["aria-required"];return q===""||q===!0||q==="true"||($==="true"||$===!0)}),y=a.computed(()=>{const{label:q,class:$,id:ee,required:ye,"aria-required":Oe,...xt}=n;return xt}),f=a.computed(()=>{var $,ee;const q={...y.value};return(($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&(q.type="text",q.inputmode="numeric",q.pattern="[0-9]*"),((ee=c.valueType)==null?void 0:ee.toLowerCase())==="email"&&(q.type="email",q.inputmode="email"),o.value&&(q.type=r.value?"text":"password"),c.disabled&&(q.disabled=!0),q}),m=a.computed(()=>{const q=c.modelValue;return q==null||String(q).length===0}),k=a.computed(()=>c.clearable?c.hideClearWhenEmpty?!m.value:!0:!1),g=a.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),x=a.ref(String(c.modelValue??""));a.watch(()=>c.modelValue,q=>{const $=String(q??"");$!==x.value&&(x.value=$)});const C=a.ref(!1),w=a.ref(!1),b=q=>q.split(/(\s+)/).map($=>{if($.trim()==="")return $;const ee=$.toLowerCase();return ee.charAt(0).toUpperCase()+ee.slice(1)}).join(""),L=q=>{const $=q.toLowerCase(),ee=$.search(new RegExp("\\p{L}","u"));return ee<0?$:$.slice(0,ee)+$.charAt(ee).toUpperCase()+$.slice(ee+1)},S=q=>{switch(c.textCase){case"uppercase":return q.toUpperCase();case"lowercase":return q.toLowerCase();case"titlecase":return b(q);case"sentencecase":return L(q);case"none":default:return q}},v=q=>{if(!q)return null;const $=Array.isArray(q)?q.join(""):q;return $?new Set($):null},M=a.computed(()=>v(c.allowChars)),I=(q,$)=>(q.lastIndex=0,q.test($)),V=q=>{var Mt;const $=(Mt=c.valueType)==null?void 0:Mt.toLowerCase();if($==="free"||$==="email"||$==="password")return!0;const ee=q===" ",ye=/\d/.test(q),Oe=new RegExp("\\p{L}","u").test(q),xt=new RegExp("\\p{N}","u").test(q);return $==="number"?ye:$==="letter"?Oe||c.allowSpaces&&ee:$==="letternumber"?Oe||xt||c.allowSpaces&&ee:!0},_=q=>{let $="";for(const ee of q){const ye=!!M.value&&M.value.has(ee);c.pattern&&!ye&&!I(c.pattern,ee)||!ye&&!V(ee)||($+=ee)}return $},B=a.computed(()=>{const q=n.maxlength??n.maxLength;let $=Number.NaN;return typeof q=="number"?$=q:typeof q=="string"&&($=Number.parseInt(q,10)),Number.isFinite($)&&$>0?$:-1}),D=a.computed(()=>x.value.length),z=a.computed(()=>c.showCharCount?B.value>0:!1),G=q=>B.value>0?q.slice(0,B.value):q,H=q=>{const $=_(q),ee=c.applyTextCaseToValue?S($):$;return G(ee)};let O=null;const U=q=>{var $;if(q==="")return null;if((($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&c.returnNumber){const ee=Number(q);return Number.isFinite(ee)?ee:null}return q},J=q=>{x.value=q,s("update:modelValue",U(q))},T=(q,$)=>{const ee=G($);w.value=!0,q.value=ee,J(ee),queueMicrotask(()=>w.value=!1)},R=(q,$)=>{const ee=q.selectionStart??q.value.length,ye=q.selectionEnd??q.value.length;if(B.value>0){const Oe=q.value.length-(ye-ee),xt=B.value-Oe;if(xt<=0)return;$=$.slice(0,xt)}q.setRangeText($,ee,ye,"end"),T(q,H(q.value))},F=q=>{var ye;if(!O||C.value||w.value||!((ye=q.inputType)!=null&&ye.startsWith("insert")))return;const $=q.data;if($==null)return;const ee=H($);ee!==$&&(q.preventDefault(),ee.length>0&&R(O,ee))},Y=q=>{var ye;if(!O||C.value||w.value)return;const $=((ye=q.clipboardData)==null?void 0:ye.getData("text"))??"",ee=H($);ee!==$&&(q.preventDefault(),ee.length>0&&R(O,ee))},Q=q=>{if(!O||C.value||w.value)return;const $=q.target,ee=$.value??"",ye=H(ee);ye===ee?J(ye):T($,ye)},re=()=>C.value=!0,he=()=>{if(C.value=!1,!O)return;const q=O.value??"",$=H(q);$===q?J($):T(O,$)};a.onMounted(()=>{if(O=document.getElementById(u.value),!O)return;O.addEventListener("beforeinput",F),O.addEventListener("paste",Y),O.addEventListener("input",Q),O.addEventListener("compositionstart",re),O.addEventListener("compositionend",he);const q=O.value??"",$=H(q);$===q?J($):T(O,$)}),a.onBeforeUnmount(()=>{O&&(O.removeEventListener("beforeinput",F),O.removeEventListener("paste",Y),O.removeEventListener("input",Q),O.removeEventListener("compositionstart",re),O.removeEventListener("compositionend",he),O=null)});const pe=()=>{x.value="",O&&(O.value=""),s("update:modelValue",null),s("clear")},Ve=a.computed(()=>z.value&&D.value>0),ue=a.computed(()=>`${D.value} / ${B.value}`),W=a.computed(()=>!!c.error);return(q,$)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[d.value?(a.openBlock(),a.createElementBlock("div",iZ)):a.createCommentVNode("",!0),$[1]||($[1]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),z.value?(a.openBlock(),a.createElementBlock("div",sZ,[...$[0]||($[0]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[d.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:u.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.value)+" ",1),p.value?(a.openBlock(),a.createElementBlock("span",lZ,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",cZ,[c.icon||c.prependInner||q.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",dZ,[a.renderSlot(q.$slots,"prepend-inner",{},()=>[c.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(a.openBlock(),a.createElementBlock("span",hZ,a.toDisplayString(c.prependInner),1)):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createVNode(a.unref(PA),a.mergeProps({id:u.value,modelValue:x.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||q.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${k.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",W.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(a.openBlock(),a.createElementBlock("div",uZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.value?a.unref(Ms):a.unref(rl)),{class:"w-4 h-4"}))])])):a.createCommentVNode("",!0),k.value&&!o.value?(a.openBlock(),a.createElementBlock("div",pZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:pe}," ✕ ")])):a.createCommentVNode("",!0),Ve.value&&!W.value?(a.openBlock(),a.createElementBlock("p",yZ,a.toDisplayString(ue.value),1)):a.createCommentVNode("",!0)]),W.value?(a.openBlock(),a.createElementBlock("p",fZ,a.toDisplayString(c.error),1)):a.createCommentVNode("",!0)],64))],10,rZ)),[[a.vShow,e.visible]])}}),mZ=["aria-busy"],kZ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},gZ={key:0,class:"ml-1 text-destructive"},bZ={class:"relative w-full group"},xZ=["id","value"],MZ={key:0,class:"absolute top-1 right-2"},wZ={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},vZ={key:1,class:"text-xs text-destructive"},IS=a.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>n.label),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{const W=n.required,q=n["aria-required"];return W===""||W===!0||W==="true"||(q==="true"||q===!0)}),u=a.computed(()=>{const{label:W,class:q,id:$,required:ee,"aria-required":ye,...Oe}=n;return Oe}),p=a.computed(()=>{const W=n.maxlength;let q=Number.NaN;return typeof W=="number"?q=W:typeof W=="string"&&(q=Number.parseInt(W,10)),Number.isFinite(q)&&q>0?q:-1}),y=W=>p.value>0?W.slice(0,p.value):W,f=a.computed(()=>{const W=r.modelValue;return W==null||String(W).length===0}),m=a.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),k=a.ref(String(r.modelValue??""));a.watch(()=>r.modelValue,W=>{const q=String(W??"");q!==k.value&&(k.value=q)});const g=a.ref(!1),x=a.ref(!1),C=W=>W.split(/(\s+)/).map(q=>{if(q.trim()==="")return q;const $=q.toLowerCase();return $.charAt(0).toUpperCase()+$.slice(1)}).join(""),w=W=>{const q=W.toLowerCase(),$=q.search(new RegExp("\\p{L}","u"));return $<0?q:q.slice(0,$)+q.charAt($).toUpperCase()+q.slice($+1)},b=W=>{switch(r.textCase){case"uppercase":return W.toUpperCase();case"lowercase":return W.toLowerCase();case"titlecase":return C(W);case"sentencecase":return w(W);case"none":default:return W}},L=a.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),S=W=>{if(!W)return null;const q=Array.isArray(W)?W.join(""):W;return q?new Set(q):null},v=a.computed(()=>S(r.allowChars)),M=(W,q)=>(W.lastIndex=0,W.test(q)),I=W=>{if(W===`
|
|
8596
|
+
`});return(L,S)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-2 w-full",a.unref(n).class]),"aria-busy":!1},[h.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",EK,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",TK,[e.showValue?(a.openBlock(),a.createElementBlock("div",HK,[a.createElementVNode("span",OK,a.toDisplayString(r.valuePrefix)+a.toDisplayString(e.min)+a.toDisplayString(r.valueSuffix),1),a.createElementVNode("span",jK,a.toDisplayString(f.value),1),a.createElementVNode("span",FK,a.toDisplayString(r.valuePrefix)+a.toDisplayString(e.max)+a.toDisplayString(r.valueSuffix),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",RK,[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[e.size==="sm"?"h-2":e.size==="md"?"h-2.5":"h-3"]])},[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[e.color==="blue"?"bg-blue-500":e.color==="green"?"bg-green-500":e.color==="red"?"bg-red-500":e.color==="yellow"?"bg-yellow-500":e.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:a.normalizeStyle({width:`${m.value}%`})},null,6)],2),a.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:e.modelValue,min:e.min,max:e.max,step:e.step,disabled:e.disabled,placeholder:e.placeholder,class:a.normalizeClass(p.value),onInput:k,onChange:g,onMousedown:x,onMouseup:C,onTouchstart:x,onTouchend:C},null,42,NK)]),e.marks.length>0?(a.openBlock(),a.createElementBlock("div",UK,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.marks,v=>(a.openBlock(),a.createElementBlock("div",{key:v.value,class:"absolute flex flex-col items-center",style:a.normalizeStyle({left:`${w(v.value)}%`,transform:"translateX(-50%)"})},[S[0]||(S[0]=a.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),a.createElementVNode("span",$K,a.toDisplayString(v.label),1)],4))),128))])):a.createCommentVNode("",!0)]),c.value?(a.openBlock(),a.createElementBlock("div",WK,[S[1]||(S[1]=a.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),a.createTextVNode(" "+a.toDisplayString(e.error),1)])):a.createCommentVNode("",!0),b.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent("style"),{key:2},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(b.value),1)]),_:1})):a.createCommentVNode("",!0)],2)),[[a.vShow,u.value]])}}),XK={class:"inline-flex items-center gap-3"},KK=["for"],ZK={key:0,class:"text-red-500 ml-1"},YK=["id","name","aria-checked","aria-label","disabled"],JK={key:0,class:"absolute inset-0 flex items-center justify-center"},QK={class:"relative z-10 flex items-center gap-2"},eZ=["id","name","aria-checked","aria-label","disabled"],tZ={key:0,class:"absolute inset-0 flex items-center justify-center"},aZ=["for"],nZ={key:0,class:"text-red-500 ml-1"},oZ={name:"DCodeSwitch"},EA=a.defineComponent({...oZ,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,o=t,r=a.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=a.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=a.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=a.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=a.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=a.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(a.openBlock(),a.createElementBlock("div",XK,[e.label&&e.labelPosition==="left"?(a.openBlock(),a.createElementBlock("label",{key:0,for:e.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":e.disabled}])},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",ZK,"*")):a.createCommentVNode("",!0)],10,KK)):a.createCommentVNode("",!0),a.createVNode(a.unref(FV),null,{default:a.withCtx(()=>[e.showTooltip?(a.openBlock(),a.createBlock(a.unref(OV),{key:0,"delay-duration":200},{default:a.withCtx(()=>[a.createVNode(a.unref(RV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("button",{type:"button",id:e.id,name:e.name,"aria-checked":r.value?"true":"false","aria-label":e.label||"Toggle switch",disabled:e.disabled||e.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":e.disabled,"cursor-wait":e.loading,"cursor-pointer":!e.disabled&&!e.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[e.loading?(a.openBlock(),a.createElementBlock("span",JK,[...y[0]||(y[0]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(pt),{key:1,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,YK)]),_:1}),a.createVNode(a.unref(jV),{side:"top","side-offset":8,class:a.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:a.withCtx(()=>[a.createElementVNode("span",QK,[a.createElementVNode("span",{class:a.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),a.createTextVNode(" "+a.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:e.id,name:e.name,"aria-checked":r.value?"true":"false","aria-label":e.label||"Toggle switch",disabled:e.disabled||e.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":e.disabled,"cursor-wait":e.loading,"cursor-pointer":!e.disabled&&!e.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[e.loading?(a.openBlock(),a.createElementBlock("span",tZ,[...y[1]||(y[1]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(ga),{key:0,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!e.loading?(a.openBlock(),a.createBlock(a.unref(pt),{key:1,class:a.normalizeClass([e.size==="small"?"w-2.5 h-2.5":e.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,eZ))]),_:1}),e.label&&e.labelPosition==="right"?(a.openBlock(),a.createElementBlock("label",{key:1,for:e.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":e.disabled}])},[a.createTextVNode(a.toDisplayString(e.label)+" ",1),e.required?(a.openBlock(),a.createElementBlock("span",nZ,"*")):a.createCommentVNode("",!0)],10,aZ)):a.createCommentVNode("",!0)]))}}),rZ=["aria-busy"],iZ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},sZ={key:1,class:"flex justify-end"},lZ={key:0,class:"ml-1 text-destructive"},cZ={class:"relative w-full group"},dZ={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},hZ={key:1},uZ={key:1,class:"absolute inset-y-0 right-4 flex items-center"},pZ={key:2,class:"absolute inset-y-0 right-4 flex items-center"},yZ={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},fZ={key:1,class:"text-xs text-destructive"},TA=a.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=a.computed(()=>{var q;return((q=c.valueType)==null?void 0:q.toLowerCase())==="password"||n.type==="password"}),r=a.ref(!1),i=()=>{r.value=!r.value},s=t,c=e,d=a.computed(()=>n.label);a.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=a.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=a.computed(()=>{const q=n.required,$=n["aria-required"];return q===""||q===!0||q==="true"||($==="true"||$===!0)}),y=a.computed(()=>{const{label:q,class:$,id:ee,required:ye,"aria-required":Oe,...Mt}=n;return Mt}),f=a.computed(()=>{var $,ee;const q={...y.value};return(($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&(q.type="text",q.inputmode="numeric",q.pattern="[0-9]*"),((ee=c.valueType)==null?void 0:ee.toLowerCase())==="email"&&(q.type="email",q.inputmode="email"),o.value&&(q.type=r.value?"text":"password"),c.disabled&&(q.disabled=!0),q}),m=a.computed(()=>{const q=c.modelValue;return q==null||String(q).length===0}),k=a.computed(()=>c.clearable?c.hideClearWhenEmpty?!m.value:!0:!1),g=a.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),x=a.ref(String(c.modelValue??""));a.watch(()=>c.modelValue,q=>{const $=String(q??"");$!==x.value&&(x.value=$)});const C=a.ref(!1),w=a.ref(!1),b=q=>q.split(/(\s+)/).map($=>{if($.trim()==="")return $;const ee=$.toLowerCase();return ee.charAt(0).toUpperCase()+ee.slice(1)}).join(""),L=q=>{const $=q.toLowerCase(),ee=$.search(new RegExp("\\p{L}","u"));return ee<0?$:$.slice(0,ee)+$.charAt(ee).toUpperCase()+$.slice(ee+1)},S=q=>{switch(c.textCase){case"uppercase":return q.toUpperCase();case"lowercase":return q.toLowerCase();case"titlecase":return b(q);case"sentencecase":return L(q);case"none":default:return q}},v=q=>{if(!q)return null;const $=Array.isArray(q)?q.join(""):q;return $?new Set($):null},M=a.computed(()=>v(c.allowChars)),I=(q,$)=>(q.lastIndex=0,q.test($)),V=q=>{var wt;const $=(wt=c.valueType)==null?void 0:wt.toLowerCase();if($==="free"||$==="email"||$==="password")return!0;const ee=q===" ",ye=/\d/.test(q),Oe=new RegExp("\\p{L}","u").test(q),Mt=new RegExp("\\p{N}","u").test(q);return $==="number"?ye:$==="letter"?Oe||c.allowSpaces&&ee:$==="letternumber"?Oe||Mt||c.allowSpaces&&ee:!0},_=q=>{let $="";for(const ee of q){const ye=!!M.value&&M.value.has(ee);c.pattern&&!ye&&!I(c.pattern,ee)||!ye&&!V(ee)||($+=ee)}return $},B=a.computed(()=>{const q=n.maxlength??n.maxLength;let $=Number.NaN;return typeof q=="number"?$=q:typeof q=="string"&&($=Number.parseInt(q,10)),Number.isFinite($)&&$>0?$:-1}),D=a.computed(()=>x.value.length),z=a.computed(()=>c.showCharCount?B.value>0:!1),G=q=>B.value>0?q.slice(0,B.value):q,H=q=>{const $=_(q),ee=c.applyTextCaseToValue?S($):$;return G(ee)};let j=null;const U=q=>{var $;if(q==="")return null;if((($=c.valueType)==null?void 0:$.toLowerCase())==="number"&&c.returnNumber){const ee=Number(q);return Number.isFinite(ee)?ee:null}return q},J=q=>{x.value=q,s("update:modelValue",U(q))},E=(q,$)=>{const ee=G($);w.value=!0,q.value=ee,J(ee),queueMicrotask(()=>w.value=!1)},R=(q,$)=>{const ee=q.selectionStart??q.value.length,ye=q.selectionEnd??q.value.length;if(B.value>0){const Oe=q.value.length-(ye-ee),Mt=B.value-Oe;if(Mt<=0)return;$=$.slice(0,Mt)}q.setRangeText($,ee,ye,"end"),E(q,H(q.value))},F=q=>{var ye;if(!j||C.value||w.value||!((ye=q.inputType)!=null&&ye.startsWith("insert")))return;const $=q.data;if($==null)return;const ee=H($);ee!==$&&(q.preventDefault(),ee.length>0&&R(j,ee))},Y=q=>{var ye;if(!j||C.value||w.value)return;const $=((ye=q.clipboardData)==null?void 0:ye.getData("text"))??"",ee=H($);ee!==$&&(q.preventDefault(),ee.length>0&&R(j,ee))},Q=q=>{if(!j||C.value||w.value)return;const $=q.target,ee=$.value??"",ye=H(ee);ye===ee?J(ye):E($,ye)},re=()=>C.value=!0,he=()=>{if(C.value=!1,!j)return;const q=j.value??"",$=H(q);$===q?J($):E(j,$)};a.onMounted(()=>{if(j=document.getElementById(u.value),!j)return;j.addEventListener("beforeinput",F),j.addEventListener("paste",Y),j.addEventListener("input",Q),j.addEventListener("compositionstart",re),j.addEventListener("compositionend",he);const q=j.value??"",$=H(q);$===q?J($):E(j,$)}),a.onBeforeUnmount(()=>{j&&(j.removeEventListener("beforeinput",F),j.removeEventListener("paste",Y),j.removeEventListener("input",Q),j.removeEventListener("compositionstart",re),j.removeEventListener("compositionend",he),j=null)});const pe=()=>{x.value="",j&&(j.value=""),s("update:modelValue",null),s("clear")},_e=a.computed(()=>z.value&&D.value>0),ue=a.computed(()=>`${D.value} / ${B.value}`),W=a.computed(()=>!!c.error);return(q,$)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[d.value?(a.openBlock(),a.createElementBlock("div",iZ)):a.createCommentVNode("",!0),$[1]||($[1]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),z.value?(a.openBlock(),a.createElementBlock("div",sZ,[...$[0]||($[0]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[d.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:u.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.value)+" ",1),p.value?(a.openBlock(),a.createElementBlock("span",lZ,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",cZ,[c.icon||c.prependInner||q.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",dZ,[a.renderSlot(q.$slots,"prepend-inner",{},()=>[c.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(a.openBlock(),a.createElementBlock("span",hZ,a.toDisplayString(c.prependInner),1)):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createVNode(a.unref(PA),a.mergeProps({id:u.value,modelValue:x.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||q.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${k.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",W.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(a.openBlock(),a.createElementBlock("div",uZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.value?a.unref(Ms):a.unref(rl)),{class:"w-4 h-4"}))])])):a.createCommentVNode("",!0),k.value&&!o.value?(a.openBlock(),a.createElementBlock("div",pZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:pe}," ✕ ")])):a.createCommentVNode("",!0),_e.value&&!W.value?(a.openBlock(),a.createElementBlock("p",yZ,a.toDisplayString(ue.value),1)):a.createCommentVNode("",!0)]),W.value?(a.openBlock(),a.createElementBlock("p",fZ,a.toDisplayString(c.error),1)):a.createCommentVNode("",!0)],64))],10,rZ)),[[a.vShow,e.visible]])}}),mZ=["aria-busy"],kZ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},gZ={key:0,class:"ml-1 text-destructive"},bZ={class:"relative w-full group"},xZ=["id","value"],MZ={key:0,class:"absolute top-1 right-2"},wZ={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},vZ={key:1,class:"text-xs text-destructive"},IS=a.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(e,{emit:t}){const n=a.useAttrs(),o=t,r=e,i=a.computed(()=>n.label),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{const W=n.required,q=n["aria-required"];return W===""||W===!0||W==="true"||(q==="true"||q===!0)}),u=a.computed(()=>{const{label:W,class:q,id:$,required:ee,"aria-required":ye,...Oe}=n;return Oe}),p=a.computed(()=>{const W=n.maxlength;let q=Number.NaN;return typeof W=="number"?q=W:typeof W=="string"&&(q=Number.parseInt(W,10)),Number.isFinite(q)&&q>0?q:-1}),y=W=>p.value>0?W.slice(0,p.value):W,f=a.computed(()=>{const W=r.modelValue;return W==null||String(W).length===0}),m=a.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),k=a.ref(String(r.modelValue??""));a.watch(()=>r.modelValue,W=>{const q=String(W??"");q!==k.value&&(k.value=q)});const g=a.ref(!1),x=a.ref(!1),C=W=>W.split(/(\s+)/).map(q=>{if(q.trim()==="")return q;const $=q.toLowerCase();return $.charAt(0).toUpperCase()+$.slice(1)}).join(""),w=W=>{const q=W.toLowerCase(),$=q.search(new RegExp("\\p{L}","u"));return $<0?q:q.slice(0,$)+q.charAt($).toUpperCase()+q.slice($+1)},b=W=>{switch(r.textCase){case"uppercase":return W.toUpperCase();case"lowercase":return W.toLowerCase();case"titlecase":return C(W);case"sentencecase":return w(W);case"none":default:return W}},L=a.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),S=W=>{if(!W)return null;const q=Array.isArray(W)?W.join(""):W;return q?new Set(q):null},v=a.computed(()=>S(r.allowChars)),M=(W,q)=>(W.lastIndex=0,W.test(q)),I=W=>{if(W===`
|
|
8597
8597
|
`)return r.valueType!=="number";if(r.valueType==="free")return!0;const q=W===" ",$=/\d/.test(W),ee=new RegExp("\\p{L}","u").test(W),ye=new RegExp("\\p{N}","u").test(W);return r.valueType==="number"?$:r.valueType==="letter"?ee||r.allowSpaces&&q:r.valueType==="letternumber"?ee||ye||r.allowSpaces&&q:!0},V=W=>{let q="";for(const $ of W){const ee=!!v.value&&v.value.has($);r.pattern&&!ee&&!M(r.pattern,$)||!ee&&!I($)||(q+=$)}return q},_=W=>{const q=V(W),$=r.applyTextCaseToValue?b(q):q;return y($)};let B=null;const D=W=>{if(W==="")return null;if(r.valueType==="number"&&r.returnNumber){const q=W.replaceAll(`
|
|
8598
|
-
`,""),$=Number(q);return Number.isFinite($)?$:null}return W},z=W=>{k.value=W,o("update:modelValue",D(W))},G=(W,q)=>{const $=y(q);x.value=!0,W.value=$,z($),queueMicrotask(()=>x.value=!1)},H=(W,q)=>{const $=W.selectionStart??W.value.length,ee=W.selectionEnd??W.value.length;if(p.value>0){const ye=W.value.length-(ee-$),Oe=p.value-ye;if(Oe<=0)return;q=q.slice(0,Oe)}W.setRangeText(q,$,ee,"end"),G(W,_(W.value))},O=W=>{var ee;if(!B||g.value||x.value||!((ee=W.inputType)!=null&&ee.startsWith("insert")))return;const q=W.data;if(q==null)return;const $=_(q);$!==q&&(W.preventDefault(),$.length>0&&H(B,$))},U=W=>{var ee;if(!B||g.value||x.value)return;const q=((ee=W.clipboardData)==null?void 0:ee.getData("text"))??"",$=_(q);$!==q&&(W.preventDefault(),$.length>0&&H(B,$))},J=async W=>{if(!B||g.value||x.value)return;const q=W.target,$=q.value??"",ee=_($);if(ee===$){const ye=q.selectionStart??ee.length,Oe=q.selectionEnd??ee.length;G(q,ee),await a.nextTick();try{q.setSelectionRange(ye,Oe)}catch{}z(ee)}else{const ye=q.selectionStart??ee.length,Oe=q.selectionEnd??ee.length;G(q,ee),await a.nextTick();try{q.setSelectionRange(ye,Oe)}catch{}}},T=()=>g.value=!0,R=()=>{if(g.value=!1,!B)return;const W=B.value??"",q=_(W);q===W?z(q):G(B,q)};a.onMounted(()=>{if(B=document.getElementById(d.value),!B)return;B.addEventListener("beforeinput",O),B.addEventListener("paste",U),B.addEventListener("input",J),B.addEventListener("compositionstart",T),B.addEventListener("compositionend",R);const W=B.value??"",q=_(W);q===W?z(q):G(B,q)}),a.onBeforeUnmount(()=>{B&&(B.removeEventListener("beforeinput",O),B.removeEventListener("paste",U),B.removeEventListener("input",J),B.removeEventListener("compositionstart",T),B.removeEventListener("compositionend",R),B=null)});const F=()=>{k.value="",B&&(B.value=""),o("update:modelValue",null),o("clear")},Y=a.computed(()=>k.value.length),Q=a.computed(()=>r.showCharCount?p.value>0:!1),re=a.computed(()=>Q.value&&Y.value>0),he=a.computed(()=>`${Y.value} / ${p.value}`),pe=a.computed(()=>!!r.error),Ve=a.computed(()=>{const W=n.rows,q=typeof W=="number"?W:Number.parseInt(String(W??""),10);return Number.isFinite(q)&&q>0?q:3}),ue=a.computed(()=>({height:`${Ve.value*24+16}px`}));return(W,q)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",kZ)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:a.normalizeStyle(ue.value)},null,4)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",gZ,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",bZ,[a.createElementVNode("textarea",a.mergeProps({id:d.value,value:k.value},u.value,{style:`text-transform: ${L.value}; padding-right: ${m.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",pe.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,xZ),m.value?(a.openBlock(),a.createElementBlock("div",MZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:F}," ✕ ")])):a.createCommentVNode("",!0),re.value&&!pe.value?(a.openBlock(),a.createElementBlock("p",wZ,a.toDisplayString(he.value),1)):a.createCommentVNode("",!0)]),pe.value?(a.openBlock(),a.createElementBlock("p",vZ,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,mZ)),[[a.vShow,s.value]])}}),LP=a.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(DH),{class:a.normalizeClass(a.unref(xe)(a.unref(CZ)({size:e.size,shape:e.shape}),t.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),SP=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(TH),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),IP=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(jH),a.mergeProps(t,{class:"h-full w-full object-cover"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),CZ=xl("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),AS=a.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(dj),a.mergeProps(a.unref(n),{class:a.unref(xe)("shrink-0 bg-border",t.orientation==="horizontal"?"h-px w-full":"w-px h-full",t.class)}),null,16,["class"]))}}),LZ={class:"bg-card text-card-foreground"},SZ={class:"pb-6 px-3"},IZ={key:0,class:"flex justify-center p-8"},AZ={key:1,class:"p-8 text-center text-red-500"},BZ={key:2,class:"relative"},VZ={class:"space-y-6"},_Z={class:"rounded-xl border bg-card text-card-foreground shadow"},zZ={class:"p-4"},PZ={class:"flex items-center justify-between gap-3"},qZ={class:"font-medium"},DZ={class:"text-xs text-muted-foreground"},EZ={class:"mt-1 text-sm text-muted-foreground"},TZ={class:"text-foreground"},HZ={class:"text-foreground"},OZ={class:"mt-1 text-xs text-muted-foreground"},jZ={key:0,class:"mt-3 flex items-center gap-2 text-sm"},FZ={class:"flex items-center justify-between gap-3"},RZ={class:"font-medium"},NZ={class:"text-xs text-muted-foreground"},UZ={class:"mt-2 text-sm text-muted-foreground"},$Z={class:"flex flex-wrap items-center justify-between gap-3"},WZ={class:"flex items-center gap-3"},GZ={class:"leading-tight"},XZ={class:"text-sm font-medium"},KZ={class:"text-xs text-muted-foreground"},ZZ={class:"flex items-center gap-2"},YZ={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},JZ={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},QZ=["src"],eY={class:"flex-1"},tY={class:"flex items-center justify-between gap-3"},aY={class:"font-medium"},nY={class:"text-xs text-muted-foreground"},oY={class:"mt-1 text-sm text-muted-foreground"},rY={class:"text-left sm:text-center"},iY={class:"text-xs text-muted-foreground"},sY={class:"text-left sm:text-center"},lY={class:"text-xs text-muted-foreground"},cY={class:"text-left sm:text-center"},dY={class:"text-xs text-muted-foreground"},hY={class:"flex items-center justify-between gap-3"},uY={class:"font-medium"},pY={class:"text-xs text-muted-foreground"},yY={class:"mt-2 text-sm text-muted-foreground"},fY={class:"mt-3 flex items-center gap-3"},mY={class:"text-sm font-medium"},kY={class:"flex items-start justify-between gap-3"},gY={class:"font-medium"},bY={class:"mt-3 grid gap-2 text-sm"},xY={class:"flex items-center justify-between gap-3"},MY={class:"flex items-center gap-2 text-muted-foreground"},wY={class:"font-medium"},vY={class:"flex items-center justify-between gap-3"},CY={class:"flex items-center gap-2 text-muted-foreground"},LY={class:"font-medium"},SY={class:"flex items-center justify-between gap-3"},IY={class:"flex items-center gap-2 text-muted-foreground"},AY={class:"font-medium"},BY={class:"flex items-center justify-between"},VY={class:"flex items-center gap-2"},_Y={class:"flex items-start justify-between gap-3"},zY={class:"flex items-center gap-2"},PY={class:"font-medium"},qY={class:"mt-2 text-sm text-muted-foreground"},DY={key:0,class:"mt-1 text-sm text-muted-foreground"},EY={class:"flex flex-wrap items-center justify-between gap-3"},TY={class:"flex items-center gap-2"},HY={class:"text-xs text-muted-foreground"},AP=a.defineComponent({name:"DCodeTimelineWithIcons",__name:"DCodeTimelineWithIcons",props:{items:{},apiUrl:{},apiMethod:{}},setup(e){const n=CT(vT).smaller("md");a.ref(!1);const o=e,r=a.ref(!1),i=a.ref(null),s=a.ref([]),c=a.computed(()=>s.value.length>0?s.value:o.items&&o.items.length>0?o.items:[]),d=async()=>{if(o.apiUrl){r.value=!0,i.value=null;try{const p=await fetch(o.apiUrl,{method:o.apiMethod||"GET",headers:{"Content-Type":"application/json"}});if(!p.ok)throw new Error(`Error: ${p.status} ${p.statusText}`);const y=await p.json();Array.isArray(y)?s.value=y:y.data&&Array.isArray(y.data)?s.value=y.data:y.items&&Array.isArray(y.items)?s.value=y.items:s.value=[]}catch(p){console.error("Failed to fetch timeline items:",p),i.value=p.message||"Failed to fetch data"}finally{r.value=!1}}};a.onMounted(()=>{o.apiUrl&&d()}),a.watch(()=>o.apiUrl,()=>{o.apiUrl?d():s.value=[]});const h=p=>{switch(p){case"flight":return{Icon:hl,Circle:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:nl,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:fl,Circle:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:mr,Circle:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:pl,Circle:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:ll,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};default:return{Icon:al,Circle:"bg-primary/10 text-primary border-primary/30"}}},u=p=>p.split(" ").filter(Boolean).slice(0,2).map(y=>{var f;return(f=y[0])==null?void 0:f.toUpperCase()}).join("");return(p,y)=>{const f=a.resolveComponent("ShoppingCart"),m=a.resolveComponent("RefreshCcw"),k=a.resolveComponent("MapPin");return a.openBlock(),a.createElementBlock("div",LZ,[y[8]||(y[8]=a.createElementVNode("div",{class:"flex flex-col space-y-1.5 py-6 px-3"},[a.createElementVNode("h3",{class:"leading-none tracking-tight text-lg font-medium"},"Timeline With Icons")],-1)),a.createElementVNode("div",SZ,[r.value?(a.openBlock(),a.createElementBlock("div",IZ,[...y[0]||(y[0]=[a.createElementVNode("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):i.value?(a.openBlock(),a.createElementBlock("div",AZ,a.toDisplayString(i.value),1)):(a.openBlock(),a.createElementBlock("div",BZ,[y[7]||(y[7]=a.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),a.createElementVNode("div",VZ,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(c.value,(g,x)=>(a.openBlock(),a.createElementBlock("div",{key:x,class:"relative pl-14"},[a.createElementVNode("div",{class:a.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",h(g.type).Circle])},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(h(g.type).Icon),{class:"h-4 w-4"}))],2),a.createElementVNode("div",_Z,[a.createElementVNode("div",zZ,[g.type==="flight"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",PZ,[a.createElementVNode("p",qZ,a.toDisplayString(g.title),1),a.createElementVNode("p",DZ,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",EZ,[a.createElementVNode("span",TZ,a.toDisplayString(g.from),1),a.createVNode(a.unref(Ys),{class:"mx-2 inline h-4 w-4"}),a.createElementVNode("span",HZ,a.toDisplayString(g.to),1)]),a.createElementVNode("p",OZ,a.toDisplayString(g.time),1),g.fileName?(a.openBlock(),a.createElementBlock("div",jZ,[a.createVNode(a.unref(ws),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("span",null,a.toDisplayString(g.fileName),1)])):a.createCommentVNode("",!0)],64)):g.type==="interview"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",FZ,[a.createElementVNode("p",RZ,a.toDisplayString(g.title),1),a.createElementVNode("p",NZ,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",UZ,a.toDisplayString(g.desc),1),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",$Z,[a.createElementVNode("div",WZ,[a.createVNode(a.unref(LP),{class:"h-10 w-10"},{default:a.withCtx(()=>[g.avatarUrl?(a.openBlock(),a.createBlock(a.unref(IP),{key:0,src:g.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(SP),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("div",GZ,[a.createElementVNode("p",XZ,a.toDisplayString(g.personName),1),a.createElementVNode("p",KZ,a.toDisplayString(g.personRole),1)])]),a.createElementVNode("div",ZZ,[a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(vs),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(dl),{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="product"?(a.openBlock(),a.createElementBlock("div",YZ,[a.createElementVNode("div",JZ,[g.imgUrl?(a.openBlock(),a.createElementBlock("img",{key:0,src:g.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,QZ)):(a.openBlock(),a.createBlock(f,{key:1,class:"h-5 w-5 text-muted-foreground"}))]),a.createElementVNode("div",eY,[a.createElementVNode("div",tY,[a.createElementVNode("p",aY,a.toDisplayString(g.title),1),a.createElementVNode("p",nY,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",oY,a.toDisplayString(g.desc),1),a.createElementVNode("div",{class:a.normalizeClass(["mt-4 grid gap-3",a.unref(n)?"grid-cols-1":"grid-cols-3"])},[a.createElementVNode("div",rY,[y[1]||(y[1]=a.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),a.createElementVNode("p",iY,a.toDisplayString(g.customer),1)]),a.createElementVNode("div",sY,[y[2]||(y[2]=a.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),a.createElementVNode("p",lY,a.toDisplayString(g.price),1)]),a.createElementVNode("div",cY,[y[3]||(y[3]=a.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),a.createElementVNode("p",dY,a.toDisplayString(g.qty),1)])],2)])])):g.type==="design"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createElementVNode("div",hY,[a.createElementVNode("p",uY,a.toDisplayString(g.title),1),a.createElementVNode("p",pY,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",yY,a.toDisplayString(g.desc),1),a.createElementVNode("div",fY,[a.createVNode(a.unref(LP),{class:"h-10 w-10"},{default:a.withCtx(()=>[g.avatarUrl?(a.openBlock(),a.createBlock(a.unref(IP),{key:0,src:g.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(SP),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("p",mY,a.toDisplayString(g.personName),1)])],64)):g.type==="server"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createElementVNode("div",kY,[a.createElementVNode("p",gY,a.toDisplayString(g.title),1),a.createVNode(a.unref(Ta),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g.chipText??""),1)]),_:2},1024)]),a.createElementVNode("div",bY,[a.createElementVNode("div",xY,[a.createElementVNode("div",MY,[a.createVNode(a.unref(il),{class:"h-4 w-4"}),y[4]||(y[4]=a.createElementVNode("span",null,"IP Address",-1))]),a.createElementVNode("span",wY,a.toDisplayString(g.ip),1)]),a.createElementVNode("div",vY,[a.createElementVNode("div",CY,[a.createVNode(a.unref(xs),{class:"h-4 w-4"}),y[5]||(y[5]=a.createElementVNode("span",null,"CPU",-1))]),a.createElementVNode("span",LY,a.toDisplayString(g.cpu),1)]),a.createElementVNode("div",SY,[a.createElementVNode("div",IY,[a.createVNode(a.unref(xs),{class:"h-4 w-4"}),y[6]||(y[6]=a.createElementVNode("span",null,"Memory",-1))]),a.createElementVNode("span",AY,a.toDisplayString(g.memory),1)])]),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",BY,[a.createElementVNode("div",VY,[a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(yl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(m,{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="location"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:5},[a.createElementVNode("div",_Y,[a.createElementVNode("div",zY,[a.createVNode(k,{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("p",PY,a.toDisplayString(g.title),1)]),a.createVNode(a.unref(Ta),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g.chipText),1)]),_:2},1024)]),a.createElementVNode("p",qY,a.toDisplayString(g.desc1),1),g.desc2?(a.openBlock(),a.createElementBlock("p",DY,a.toDisplayString(g.desc2),1)):a.createCommentVNode("",!0),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",EY,[a.createElementVNode("div",TY,[a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(sl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(vs),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Ne),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(gl),{class:"h-4 w-4"})]),_:1})]),a.createElementVNode("p",HY,"Due date: "+a.toDisplayString(g.due),1)])],64)):a.createCommentVNode("",!0)])])]))),128))])]))])])}}}),OY={class:"dcode-upload-file"},jY={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},FY={key:0,class:"text-xs text-gray-500 mt-1"},RY=["accept"],NY={key:1,class:"text-xs text-red-600 mt-1"},BP=a.defineComponent({name:"DCodeUploadFile",__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(a.openBlock(),a.createElementBlock("div",OY,[e.label?(a.openBlock(),a.createBlock(zA,{key:0,label:e.label},null,8,["label"])):a.createCommentVNode("",!0),a.createElementVNode("div",jY,[a.createVNode(a.unref(xa),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=a.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[a.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),a.createTextVNode(" or drag and drop ")],-1)),e.accept?(a.openBlock(),a.createElementBlock("p",FY,a.toDisplayString(e.accept),1)):a.createCommentVNode("",!0),a.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:e.accept},null,40,RY)]),e.errorMessage?(a.openBlock(),a.createElementBlock("p",NY,a.toDisplayString(e.errorMessage),1)):a.createCommentVNode("",!0)]))}}),UY=["onClick"],$Y={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},WY={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},GY={key:1},XY={key:0,class:"text-white"},KY={key:1},ZY={key:2},YY=["disabled","onClick"],JY={key:1,class:"mr-2 text-sm font-bold opacity-70"},QY={class:"whitespace-normal text-sm text-center leading-tight"},eJ={class:"flex flex-col flex-1 min-w-0"},tJ={class:"text-sm text-muted-foreground"},aJ={class:"px-1"},nJ=["disabled"],oJ=["type"],rJ=["disabled"],VP=$t(a.defineComponent({name:"DCodeWizard",__name:"DCodeWizard",props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1},isSubmit:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(e,{emit:t}){const n=e,o=t,r=et(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=a.ref(n.defaultTab),c=a.computed({get(){var v;if(typeof n.modelValue=="string"){const M=(v=n.tabs)==null?void 0:v.findIndex(I=>I.key===n.modelValue);if(M!==void 0&&M>=0)return M}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(v){var M;if(s.value=v,typeof n.modelValue=="string"){const I=(M=n.tabs)==null?void 0:M[v];I?o("update:modelValue",I.key):o("update:modelValue",v)}else o("update:modelValue",v)}}),d=a.computed(()=>{var v;return((v=n.tabs)==null?void 0:v.length)??0}),h=a.computed(()=>{var v;return(v=n.tabs)==null?void 0:v[c.value]});function u(v){return d.value<=0?0:Math.min(Math.max(v,0),d.value-1)}function p(v){return v?typeof v=="string"?aa[v]||null:v:null}const y=a.reactive({});function f(v){return y[v.key]||(y[v.key]={loaded:!1,loading:!1,data:null,error:null}),y[v.key]}function m(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function k(v){const M=v.endpoint||{};return{apiModule:v.apiModule||M.apiModule,apiAction:v.apiAction||M.apiAction,apiUrl:M.apiUrl,apiMethod:M.apiMethod||"GET",apiParams:v.apiParams}}function g(v){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const M=n.tabs[v];return!(!M||M.disabled)}async function x(v){if(typeof v.tab.fetchData=="function"){const z=await v.tab.fetchData(),G=(z==null?void 0:z.data)??z;return(G==null?void 0:G.data)??G}const M=k(v.tab);if(!(M.apiModule&&M.apiAction||M.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const V=m();let _;if(M.apiUrl)_=await i("","",V,{_url:M.apiUrl,_method:M.apiMethod,_data:M.apiParams??void 0});else{const z={...V,...M.apiParams};_=await i(M.apiModule,M.apiAction,z)}const B=(_==null?void 0:_.data)??_;return(B==null?void 0:B.data)??B}async function C(v,{force:M=!1}={}){const I=u(v),V=n.tabs[I];if(!V)return;const _=f(V);if(!(n.cache&&_.loaded&&!M)&&!_.loading){_.loading=!0,_.error=null;try{const B=await x({tabIndex:I,tab:V});_.data=B,_.loaded=!0,o("loaded",{tabIndex:I,tab:V,data:B})}catch(B){const D=typeof(B==null?void 0:B.message)=="string"&&B.message||typeof B=="string"&&B||"Failed to load tab data.";_.error=D,o("error",{tabIndex:I,tab:V,message:D})}finally{_.loading=!1}}}function w(v){const M=u(v);g(M)&&M!==c.value&&(c.value=M)}function b(v=c.value){return C(v,{force:!0})}function L(){const v=u(c.value-1);v!==c.value&&(c.value=v)}function S(){const v=u(c.value+1);v!==c.value&&(c.value=v)}return a.watch(()=>n.tabs,v=>{for(const M of v??[])f(M)},{immediate:!0}),a.watch(()=>c.value,async v=>{var I;const M=(I=n.tabs)==null?void 0:I[v];M&&o("change",{tabIndex:v,tab:M}),await C(v)},{immediate:!0}),a.watch(()=>n.autoFetchOnMount,async v=>{v&&await C(c.value)},{immediate:!0}),(v,M)=>{var I,V,_;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["w-full rounded-lg border bg-card text-card-foreground shadow-sm",{"flex flex-row":e.isVertical}])},[a.createElementVNode("div",{class:a.normalizeClass(["flex flex-col space-y-1.5 p-6",{"w-64 border-r pr-0":e.isVertical,"pb-2":e.isWizard&&!e.isVertical}])},[a.createElementVNode("div",{class:a.normalizeClass({"mt-4":!e.isVertical||e.isWizard})},[e.isWizard?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["w-full relative flex overflow-visible rounded-lg",e.isVertical?"flex-col gap-2":""])},[e.isVertical?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("div",{key:B.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[a.createElementVNode("div",{class:a.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-card",[D<c.value?"wizard-num-done":"",D===c.value?"wizard-num-active":D>c.value?"wizard-num-pending":""]])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"w-4 h-4"})):e.typeWizard==="number"||!B.icon&&e.typeWizard!=="none"?(a.openBlock(),a.createElementBlock("span",GY,[D<c.value?(a.openBlock(),a.createElementBlock("span",XY,"✓")):(a.openBlock(),a.createElementBlock("span",KY,a.toDisplayString(D+1),1))])):(a.openBlock(),a.createElementBlock("span",ZY))],2),a.createElementVNode("span",{class:a.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",D===c.value?"wizard-text-active":"wizard-text-pending"])},a.toDisplayString(B.title),3)]))),128)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("div",{key:B.key,onClick:z=>w(D),style:a.normalizeStyle({zIndex:e.tabs.length-D}),class:"relative flex-1 group"},[a.createElementVNode("div",{class:a.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[D>0?"pl-8":"",D===c.value?"wizard-step-active":D<c.value?"wizard-step-done":"wizard-step-pending"]])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):e.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",$Y,a.toDisplayString(D+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",WY,a.toDisplayString(B.title),1)],2),D<e.tabs.length-1?(a.openBlock(),a.createElementBlock("svg",{key:0,class:a.normalizeClass(["absolute top-0 -right-[15.5px] w-[16px] h-full transition-colors block z-10",[D===c.value?"wizard-svg-active":D<c.value?"wizard-svg-done":"wizard-svg-pending"]]),preserveAspectRatio:"none",viewBox:"0 0 16 48"},[...M[0]||(M[0]=[a.createElementVNode("polygon",{points:"0,0 16,24 0,48"},null,-1)])],2)):a.createCommentVNode("",!0)],12,UY))),128))],2)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex w-full",e.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("button",{key:B.key,type:"button",disabled:!g(D),onClick:z=>w(D),class:a.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 wizard-btn-common",a.unref(xe)("border-b border-r",!e.isVertical&&D===e.tabs.length-1&&"border-r-0",D===c.value?"wizard-btn-active":"wizard-btn-pending",!g(D)&&"opacity-60 cursor-not-allowed",e.isVertical?"w-full justify-start border-r-0":"flex-1")])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"h-4 w-4 shrink-0"})):e.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",JY,a.toDisplayString(D+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",QY,a.toDisplayString(B.title),1)],10,YY))),128))],2))],2)],2),e.isVertical?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(AS),{key:0})),a.createElementVNode("div",eJ,[a.createElementVNode("div",{class:a.normalizeClass(["p-6 flex-1 min-w-0",{"pl-6":e.isVertical}])},[h.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[(I=y[h.value.key])!=null&&I.loading?a.renderSlot(v.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[M[1]||(M[1]=a.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))],!0):a.renderSlot(v.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(V=y[h.value.key])==null?void 0:V.data,loaded:(_=y[h.value.key])==null?void 0:_.loaded,reload:b},()=>[a.createElementVNode("div",tJ,[M[2]||(M[2]=a.createTextVNode(" Slot ",-1)),a.createElementVNode("code",aJ,"tab-"+a.toDisplayString(h.value.key),1),M[3]||(M[3]=a.createTextVNode(" belum dibuat. ",-1))])],!0)],64)):a.createCommentVNode("",!0)],2),e.isWizard||e.showNavigation?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["flex items-center justify-between p-6 pt-0",{"pl-6":e.isVertical}])},[a.createElementVNode("button",{type:"button",onClick:L,disabled:c.value<=0,class:"relative inline-flex items-center justify-center gap-2 px-5 py-2.5 text-sm font-medium transition-all duration-300 rounded-lg bg-[#ffffff] border border-[#e2e8f0] text-[#334155] shadow-sm hover:bg-[#f8fafc] hover:text-[#0f172a] hover:-translate-y-0.5 hover:shadow disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#ffffff] disabled:hover:text-[#334155] disabled:hover:translate-y-0 disabled:active:scale-100 dark:bg-[#18181b] dark:border-[#27272a] dark:text-[#d4d4d8] dark:hover:bg-[#27272a] dark:hover:border-[#3f3f46] dark:disabled:hover:bg-[#18181b] dark:disabled:hover:text-[#d4d4d8] focus:outline-none focus:ring-2 focus:ring-[#e2e8f0] focus:ring-offset-2 active:scale-95"}," Sebelumnya ",8,nJ),c.value<d.value-1?(a.openBlock(),a.createElementBlock("button",{key:0,type:e.isSubmit?"submit":"button",onClick:S,class:"relative inline-flex items-center justify-center gap-2 px-6 py-2.5 text-sm font-medium text-[#ffffff] transition-all duration-300 rounded-lg shadow-md bg-[#2563eb] hover:bg-[#1d4ed8] hover:shadow-lg hover:-translate-y-0.5 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#2563eb] disabled:hover:translate-y-0 disabled:active:scale-100 focus:outline-none focus:ring-2 focus:ring-[#2563eb] focus:ring-offset-2 active:scale-95"}," Selanjutnya ",8,oJ)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"submit",disabled:e.loading,class:"relative inline-flex items-center justify-center gap-2 px-6 py-2.5 text-sm font-medium text-[#ffffff] transition-all duration-300 rounded-lg shadow-md bg-[#2563eb] hover:bg-[#1d4ed8] hover:shadow-lg hover:-translate-y-0.5 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#2563eb] disabled:hover:translate-y-0 disabled:active:scale-100 dark:bg-[#3b82f6] dark:hover:bg-[#2563eb] focus:outline-none focus:ring-2 focus:ring-[#2563eb] focus:ring-offset-2 active:scale-95"},[e.loading?(a.openBlock(),a.createBlock(a.unref(Lt),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(e.submitText),1)],8,rJ))],2)):a.createCommentVNode("",!0)])],2)}}}),[["__scopeId","data-v-9379f062"]]);function iJ(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const sJ={class:"w-full"},lJ={class:"relative mx-auto min-h-[37.5rem]"},cJ={key:"content",class:"w-full"},dJ={class:"mb-6"},hJ={class:"text-neutral-500 dark:text-neutral-400"},uJ={key:"skeleton",class:"w-full"},pJ={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},_P=$t(a.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(e){var v,M;const t=e,n=(M=(v=a.getCurrentInstance())==null?void 0:v.appContext)==null?void 0:M.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o={query:{},params:{},path:""};try{const I=fs.useRoute();I&&(o=I)}catch{console.warn("useRoute not available, using fallback")}let r={back:()=>console.warn("Router back() not available"),push:()=>console.warn("Router push() not available")};try{const I=fs.useRouter();I&&(r=I)}catch{console.warn("useRouter not available, using fallback")}const{apiUrl:i,DCodeApi:s}=et();let c;try{c=ZS.useI18n().locale}catch{c=a.ref("en")}const{setPageTitle:d}=iJ(),h=a.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=a.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const I=o.path.match(/\/edit\/([^\/]+)$/);return I?I[1]:null}),p=a.ref({}),y=a.ref(null),f=a.ref(!0),m=a.ref(!1),k="/api/auto-layout/form/form-dynamic?code=",g="/api/auto-layout/datatable/form-dynamic?code=",x=a.ref(t.layoutCode),C=a.computed(()=>{var _;if(!y.value)return"";const I=((_=c==null?void 0:c.value)==null?void 0:_.toLowerCase())||"en";return(I==="en"||I.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||t.layoutCode});a.watch(C,I=>{I&&d(I)},{immediate:!0});const w=async()=>{var I,V,_;f.value=!0;try{let B=t.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(B=o.query.code||t.layoutCode);const D=`${k}${B}`;let z=await i(D,"GET");if(!z.status||!z.data||Array.isArray(z.data)&&z.data.length===0)try{const G=`${g}${B}`,H=await i(G,"GET");if(H.status){const O=Array.isArray(H.data)?H.data[0]:H.data;O&&O.code&&(B=O.code,x.value=B,z=await i(`${k}${B}`,"GET"))}}catch(G){console.warn("Failed to resolve layout code via datatable",G)}if(z.status){y.value=Array.isArray(z.data)?z.data[0]:z.data;const G={};if((I=y.value)!=null&&I.sections&&y.value.sections.forEach(H=>{((H.propsForm||H.props||{}).fields||H.fields||[]).forEach(J=>{var R;const T=J.model||((R=J.props)==null?void 0:R.model)||J.key;T&&(G[T]=null)})}),p.value=G,f.value=!1,h.value&&u.value){m.value=!0;try{if((V=y.value.endpointGlobal)!=null&&V.apiUrl){const H=y.value.endpointGlobal.apiUrl,O=y.value.endpointGlobal.apiMethod||"GET",U={id:u.value},J=await s(H,O,U);if(J.status){const T=Array.isArray(J.data)?J.data[0]:J.data;p.value={...p.value,...T}}}else{const H=((_=y.value.endpoint)==null?void 0:_.detailUrl)||`/api/${x.value}/detail/${u.value}`,O=await i(H,"GET");if(O.status){let U=Array.isArray(O.data)?O.data[0]:O.data;if(O.payload){const T={...O.payload};if(Object.keys(T).forEach(R=>{U[R]!==void 0&&U[R]!==null&&(T[R]=U[R])}),!("id"in T)&&U.id){const R=Object.keys(T).find(F=>F.startsWith("id")&&F.length>2&&!T[F]);R&&(T[R]=U.id)}U=T}const J={...U};Object.keys(p.value).forEach(T=>{if(J[T]===void 0||J[T]===null){if(T.toLowerCase().startsWith("id")&&T.length>2){const F=T.substring(2).toLowerCase(),Y=Array.isArray(O.data)?O.data[0]:O.data,Q=Object.keys(Y).find(re=>re.toLowerCase()===F);Q&&Y[Q]&&typeof Y[Q]=="object"&&"id"in Y[Q]&&(J[T]=Y[Q].id)}if(T==="idSupervisor"){const F=Array.isArray(O.data)?O.data[0]:O.data;F.supervisorId&&(J[T]=F.supervisorId)}}}),p.value={...p.value,...J}}}}catch(H){console.error("Failed to fetch record data:",H)}finally{m.value=!1}}}}catch(B){console.error("Failed to load form layout:",B),f.value=!1}},b=async I=>{var V,_,B;try{const D=(B=(_=(V=y.value.sections)==null?void 0:V[0])==null?void 0:_.propsForm)==null?void 0:B.endpointForm,z=y.value.endpointGlobal||y.value.endpoint,G=(D==null?void 0:D.submitUrl)||(z==null?void 0:z.submitUrl)||`/api/generic/${t.layoutCode}`,H=(D==null?void 0:D.submitMethod)||(z==null?void 0:z.submitMethod)||(h.value?"PUT":"POST"),O={...I};h.value&&u.value&&!O.id&&(O.id=u.value),await i(G,H,O),r.back()}catch(D){console.error("Submit failed:",D)}},L=async(I,V)=>{if(I==="cancel"){S();return}const _=V.endpointPropAction||V.propsActionGlobal&&V.propsActionGlobal.endpointPropAction;if(_)try{f.value=!0;const B={...p.value};h.value&&V.model&&u.value&&(B[V.model]=u.value);const D=_.apiUrl,z=_.apiMethod||"POST";(await s(D,z,B)).status&&r.back()}catch(B){console.error("Action failed:",B)}finally{f.value=!1}},S=()=>{r.back()};return a.onMounted(()=>{w()}),a.onUnmounted(()=>{d("")}),(I,V)=>{const _=a.resolveComponent("DynamicForm"),B=a.resolveComponent("AutoLayoutSkeleton");return a.openBlock(),a.createElementBlock("div",sJ,[a.createElementVNode("div",lJ,[a.createVNode(a.Transition,{name:"fade",mode:"out-in"},{default:a.withCtx(()=>[!f.value&&y.value?(a.openBlock(),a.createElementBlock("div",cJ,[a.createElementVNode("div",dJ,[a.createElementVNode("p",hJ,a.toDisplayString(y.value.description),1)]),a.createVNode(_,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:m.value,onSubmit:b,onCancel:S,onAction:L,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(a.openBlock(),a.createElementBlock("div",uJ,[a.createVNode(B)])):(a.openBlock(),a.createElementBlock("div",pJ," Failed to load form configuration for "+a.toDisplayString(t.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-cbc77e6b"]]),yJ=(e,t="short",n="id-ID")=>{const o=typeof e=="string"?new Date(e):e,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return t==="time"?i(o):t==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):t==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},fJ=e=>new Promise((t,n)=>{const o=document.createElement("textarea");o.value=e,o.style.top="0",o.style.left="0",o.style.position="fixed",document.body.appendChild(o),o.focus(),o.select();try{document.execCommand("copy")?t():n(new Error("Copy command was unsuccessful"))}catch(r){n(r)}finally{document.body.removeChild(o)}}),mJ=async e=>navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e):fJ(e),kJ=a.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=St(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(dV),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),gJ=a.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class","side"),i=St(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(wV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(xV),a.mergeProps({class:a.unref(xe)(a.unref(CJ)({side:e.side}),n.class)},{...a.unref(i),...s.$attrs}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(hV),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:a.withCtx(()=>[a.createVNode(a.unref(ut),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),bJ=a.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(MV),a.mergeProps({class:a.unref(xe)("text-sm text-muted-foreground",t.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),xJ=a.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),MJ=a.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col gap-y-2 text-center sm:text-left",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),wJ=a.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(CV),a.mergeProps({class:a.unref(xe)("text-lg font-medium text-foreground",t.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),vJ=a.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(zH),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),CJ=xl("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),LJ={class:"flex-1 overflow-hidden"},SJ=a.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(kJ),null,{default:a.withCtx(()=>[a.createVNode(a.unref(vJ),{"as-child":""},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"trigger",{},()=>[a.createVNode(a.unref(Ne),{variant:"outline",class:"gap-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(vr),{class:"w-4 h-4"}),n[0]||(n[0]=a.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),a.createVNode(a.unref(gJ),{class:"flex flex-col h-full"},{default:a.withCtx(()=>[a.createVNode(a.unref(MJ),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(wJ),{class:"text-xl font-bold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),a.createVNode(a.unref(bJ),{class:"text-sm font-medium text-neutral-600 dark:text-neutral-400"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.description),1)]),_:1})]),_:1}),a.createElementVNode("div",LJ,[a.renderSlot(t.$slots,"default")]),a.createVNode(a.unref(xJ),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"footer")]),_:3})]),_:3})]),_:3}))}}),IJ={key:0},AJ=["value","name"],zP=a.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const{locale:n}=ZS.useI18n(),o=e,r=t,i=a.ref(o.modelValue);a.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:TA,DCodeAutoComplete:cI,DCodeDatePicker:wA,DCodeTextarea:IS,DCodeTextArea:IS,DCodeCheckbox:Gl,DCodeSwitch:EA,DCodeOtpInput:qA,DCodeImageField:_A,DCodeSlider:DA},c=a.computed(()=>{const u=o.field.component;return s[u]||null}),d=a.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>e.field.isHidden?(a.openBlock(),a.createElementBlock("div",IJ,[a.createElementVNode("input",{type:"hidden",value:i.value,name:e.field.model},null,8,AJ)])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),a.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),BJ=a.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=St(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(nO),a.mergeProps({"data-slot":"pagination"},a.unref(i),{class:n.class}),{default:a.withCtx(d=>[a.renderSlot(s.$slots,"default",a.normalizeProps(a.guardReactiveProps(d)))]),_:3},16,["class"]))}}),VJ=a.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(hO),a.mergeProps({"data-slot":"pagination-content"},a.unref(n),{class:a.unref(xe)("flex flex-row items-center gap-1",t.class)}),{default:a.withCtx(i=>[a.renderSlot(o.$slots,"default",a.normalizeProps(a.guardReactiveProps(i)))]),_:3},16,["class"]))}}),_J=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(eO),a.mergeProps({"data-slot":"pagination-ellipsis"},a.unref(n),{class:a.unref(xe)("flex size-9 items-center justify-center",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createVNode(a.unref(Ma),{class:"size-4"}),r[0]||(r[0]=a.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),zJ=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(rO),a.mergeProps({"data-slot":"pagination-first",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(bn)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),PJ=a.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(e){const t=e,n=He(t,"class","size","isActive");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(pO),a.mergeProps({"data-slot":"pagination-item"},a.unref(n),{class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),e.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),qJ=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(sO),a.mergeProps({"data-slot":"pagination-last",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),a.createVNode(a.unref(xn))])]),_:3},16,["class"]))}}),DJ=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(fO),a.mergeProps({"data-slot":"pagination-next",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),a.createVNode(a.unref(xn))])]),_:3},16,["class"]))}}),EJ=a.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(kO),a.mergeProps({"data-slot":"pagination-previous",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(bn)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),TJ=a.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=St(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(vO),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),HJ=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=St(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(KO),null,{default:a.withCtx(()=>[a.createVNode(a.unref(HO),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:a.withCtx(()=>[a.createVNode(a.unref(RJ)),a.createVNode(a.unref(ij),{class:a.normalizeClass(a.unref(xe)("p-1",e.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]),a.createVNode(a.unref(FJ))]),_:3},16,["class"])]),_:3}))}}),OJ={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},jJ=a.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(NO),a.mergeProps(a.unref(o),{class:a.unref(xe)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:a.withCtx(()=>[a.createElementVNode("span",OJ,[a.createVNode(a.unref($O),null,{default:a.withCtx(()=>[a.createVNode(a.unref(ga),{class:"h-4 w-4"})]),_:1})]),a.createVNode(a.unref(GO),null,{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),FJ=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(JO),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Pt))])]),_:3},16,["class"]))}}),RJ=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ej),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Qs))])]),_:3},16,["class"]))}}),NJ=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(aj),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default"),a.createVNode(a.unref(jO),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Pt),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),UJ=a.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(oj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Kl={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Ns={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},tt={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},$J={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom",NONE:"none"},WJ={dangerouslyHTMLString:!1,multiple:!0,position:Kl.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},GJ={rtl:!1,newestOnTop:!1,toastClassName:""},PP={...WJ,...GJ};tt.DEFAULT;var Ce=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(Ce||{}),HA=(e=>(e.ENTRANCE_ANIMATION_END="d",e))(HA||{});const XJ={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},KJ={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},ZJ={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},YJ={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"},qP="Toastify--animate Toastify__none-enter";function DP(e,t=!1){var n;let o=XJ;if(!e||typeof e=="string")switch(e){case"flip":o=YJ;break;case"zoom":o=ZJ;break;case"slide":o=KJ;break}else o=e;if(t)o.enter=qP;else if(o.enter===qP){const r=(n=o.exit.split("__")[1])==null?void 0:n.split("-")[0];o.enter=`Toastify--animate Toastify__${r}-enter`}return o}function JJ(e){return e.containerId||String(e.position)}const BS="will-unmount";function QJ(e=Kl.TOP_RIGHT){return!!document.querySelector(`.${Ce.CSS_NAMESPACE}__toast-container--${e}`)}function eQ(e=Kl.TOP_RIGHT){return`${Ce.CSS_NAMESPACE}__toast-container--${e}`}function tQ(e,t,n=!1){const o=[`${Ce.CSS_NAMESPACE}__toast-container`,`${Ce.CSS_NAMESPACE}__toast-container--${e}`,n?`${Ce.CSS_NAMESPACE}__toast-container--rtl`:null].filter(Boolean).join(" ");return $s(t)?t({position:e,rtl:n,defaultClassName:o}):`${o} ${t||""}`}function aQ(e){var t;const{position:n,containerClassName:o,rtl:r=!1,style:i={}}=e,s=Ce.CSS_NAMESPACE,c=eQ(n),d=document.querySelector(`.${s}`),h=document.querySelector(`.${c}`),u=!!h&&!((t=h.className)!=null&&t.includes(BS)),p=d||document.createElement("div"),y=document.createElement("div");y.className=tQ(n,o,r),y.dataset.testid=`${Ce.CSS_NAMESPACE}__toast-container--${n}`,y.id=JJ(e);for(const f in i)if(Object.prototype.hasOwnProperty.call(i,f)){const m=i[f];y.style[f]=m}return d||(p.className=Ce.CSS_NAMESPACE,document.body.appendChild(p)),u||p.appendChild(y),y}function OA(e){var t,n,o;const r=typeof e=="string"?e:((t=e.currentTarget)==null?void 0:t.id)||((n=e.target)==null?void 0:n.id),i=document.getElementById(r);i&&i.removeEventListener("animationend",OA,!1);try{Zl[r].unmount(),(o=document.getElementById(r))==null||o.remove(),delete Zl[r],delete Xe[r]}catch{}}const Zl=a.reactive({});function nQ(e,t){const n=document.getElementById(String(t));n&&(Zl[n.id]=e)}function jA(e,t=!0){const n=String(e);if(!Zl[n])return;const o=document.getElementById(n);o&&o.classList.add(BS),t?(rQ(e),o&&o.addEventListener("animationend",OA,!1)):OA(n),bt.items=bt.items.filter(r=>r.containerId!==e)}function oQ(e){for(const t in Zl)jA(t,e);bt.items=[]}function EP(e,t){const n=document.getElementById(e.toastId);if(n){let o=e;o={...o,...DP(o.transition)};const r=o.appendPosition?`${o.exit}--${o.position}`:o.exit;n.className+=` ${r}`,t&&t(n)}}function rQ(e){for(const t in Xe)if(t===e)for(const n of Xe[t]||[])EP(n)}function iQ(e){const t=Us().find(n=>n.toastId===e);return t==null?void 0:t.containerId}function FA(e){return document.getElementById(e)}function sQ(e){const t=FA(e.containerId);return t&&t.classList.contains(BS)}function TP(e){var t;const n=a.isVNode(e.content)?a.toRaw(e.content.props):null;return n??a.toRaw((t=e.data)!=null?t:{})}function lQ(e){return e?bt.items.filter(t=>t.containerId===e).length>0:bt.items.length>0}function cQ(){if(bt.items.length>0){const e=bt.items.shift();VS(e==null?void 0:e.toastContent,e==null?void 0:e.toastProps)}}const Xe=a.reactive({}),bt=a.reactive({items:[]});function Us(){const e=a.toRaw(Xe);return Object.values(e).reduce((t,n)=>[...t,...n],[])}function dQ(e){return Us().find(t=>t.toastId===e)}function VS(e,t={}){if(sQ(t)){const n=FA(t.containerId);n&&n.addEventListener("animationend",RA.bind(null,e,t),!1)}else RA(e,t)}function RA(e,t={}){const n=FA(t.containerId);n&&n.removeEventListener("animationend",RA.bind(null,e,t),!1);const o=Xe[t.containerId]||[],r=o.length>0;if(!r&&!QJ(t.position)){const i=aQ(t),s=a.createApp(qQ,t);t.useHandler&&t.useHandler(s),s.mount(i),nQ(s,i.id)}r&&!t.updateId&&(t.position=o[0].position),a.nextTick(()=>{t.updateId?ht.update(t):ht.add(e,t)})}const ht={add(e,t){const{containerId:n=""}=t;n&&(Xe[n]=Xe[n]||[],Xe[n].find(o=>o.toastId===t.toastId)||setTimeout(()=>{var o,r;t.newestOnTop?(o=Xe[n])==null||o.unshift(t):(r=Xe[n])==null||r.push(t),t.onOpen&&t.onOpen(TP(t))},t.delay||0))},remove(e){if(e){const t=iQ(e);if(t){const n=Xe[t];let o=n.find(r=>r.toastId===e);Xe[t]=n.filter(r=>r.toastId!==e),!Xe[t].length&&!lQ(t)&&jA(t,!1),cQ(),a.nextTick(()=>{o!=null&&o.onClose&&(o.onClose(TP(o)),o=void 0)})}}},update(e={}){const{containerId:t=""}=e;if(t&&e.updateId){Xe[t]=Xe[t]||[];const n=Xe[t].find(i=>i.toastId===e.toastId),o=(n==null?void 0:n.position)!==e.position||(n==null?void 0:n.transition)!==e.transition,r={...e,disabledEnterTransition:!o,updateId:void 0};ht.dismissForce(e==null?void 0:e.toastId),setTimeout(()=>{Pe(r.content,r)},e.delay||0)}},clear(e,t=!0){e?jA(e,t):oQ(t)},dismissCallback(e){var t;const n=(t=e.currentTarget)==null?void 0:t.id,o=document.getElementById(n);o&&(o.removeEventListener("animationend",ht.dismissCallback,!1),setTimeout(()=>{ht.remove(n)}))},dismiss(e){if(e){const t=Us();for(const n of t)if(n.toastId===e){EP(n,o=>{o.addEventListener("animationend",ht.dismissCallback,!1)});break}}},dismissForce(e){if(e){const t=Us();for(const n of t)if(n.toastId===e){const o=document.getElementById(e);o&&(o.remove(),o.removeEventListener("animationend",ht.dismissCallback,!1),ht.remove(e));break}}}},hQ=a.reactive({useHandler:void 0}),HP=a.reactive({}),_S=a.reactive({});function OP(){return Math.random().toString(36).substring(2,9)}function uQ(e){return typeof e=="number"&&!isNaN(e)}function NA(e){return typeof e=="string"}function $s(e){return typeof e=="function"}function zS(...e){return a.mergeProps(...e)}function PS(e){return typeof e=="object"&&(!!(e!=null&&e.render)||!!(e!=null&&e.setup)||typeof(e==null?void 0:e.type)=="object")}function pQ(e={}){HP[`${Ce.CSS_NAMESPACE}-default-options`]=e}function jP(){return HP[`${Ce.CSS_NAMESPACE}-default-options`]||PP}function yQ(){const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return document.documentElement.classList.contains("dark")||e?"dark":"light"}var qS=(e=>(e[e.Enter=0]="Enter",e[e.Exit=1]="Exit",e))(qS||{});const FP={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},disabledEnterTransition:{type:Boolean,required:!1,default:!1},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:Kl.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:Ns.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:tt.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""},contentProps:{type:Object,required:!1,default:null},expandCustomProps:{type:Boolean,required:!1,default:!1}},fQ={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:tt.DEFAULT},theme:{type:String,required:!1,default:Ns.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},mQ=a.defineComponent({name:"ProgressBar",props:fQ,setup(e,{attrs:t}){const n=a.ref(),o=a.computed(()=>e.hide?"true":"false"),r=a.computed(()=>({...t.style||{},animationDuration:`${e.autoClose===!0?5e3:e.autoClose}ms`,animationPlayState:e.isRunning?"running":"paused",opacity:e.hide||e.autoClose===!1?0:1,transform:e.controlledProgress?`scaleX(${e.progress})`:"none"})),i=a.computed(()=>[`${Ce.CSS_NAMESPACE}__progress-bar`,e.controlledProgress?`${Ce.CSS_NAMESPACE}__progress-bar--controlled`:`${Ce.CSS_NAMESPACE}__progress-bar--animated`,`${Ce.CSS_NAMESPACE}__progress-bar-theme--${e.theme}`,`${Ce.CSS_NAMESPACE}__progress-bar--${e.type}`,e.rtl?`${Ce.CSS_NAMESPACE}__progress-bar--rtl`:null].filter(Boolean).join(" ")),s=a.computed(()=>`${i.value} ${(t==null?void 0:t.class)||""}`),c=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},d=()=>{e.isIn&&e.closeToast&&e.autoClose!==!1&&(e.closeToast(),c())},h=a.computed(()=>e.controlledProgress?null:d),u=a.computed(()=>e.controlledProgress?d:null);return a.watchEffect(()=>{n.value&&(c(),n.value.onanimationend=h.value,n.value.ontransitionend=u.value)}),()=>a.createVNode("div",{ref:n,role:"progressbar","aria-hidden":o.value,"aria-label":"notification timer",class:s.value,style:r.value},null)}}),kQ=a.defineComponent({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:Ns.AUTO},type:{type:String,required:!1,default:Ns.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(e){return()=>a.createVNode("button",{class:`${Ce.CSS_NAMESPACE}__close-button ${Ce.CSS_NAMESPACE}__close-button--${e.theme}`,type:"button",onClick:t=>{t.stopPropagation(),e.closeToast&&e.closeToast(t)},"aria-label":e.ariaLabel},[a.createVNode("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[a.createVNode("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),DS=({theme:e,type:t,path:n,...o})=>a.createVNode("svg",a.mergeProps({viewBox:"0 0 24 24",width:"100%",height:"100%",style:{fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`}},o),[a.createVNode("path",{d:n},null)]);function gQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function bQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function xQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function MQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function wQ(){return a.createVNode("div",{class:`${Ce.CSS_NAMESPACE}__spinner`},null)}const ES={info:bQ,warning:gQ,success:xQ,error:MQ,spinner:wQ},vQ=e=>e in ES;function CQ({theme:e,type:t,isLoading:n,icon:o}){let r;const i=!!n||t==="loading",s={theme:e,type:t};if(i&&(o===void 0||typeof o=="boolean"))return ES.spinner();if(o!==!1){if(PS(o))r=a.toRaw(o);else if($s(o)){const c=o;s.type=i?"loading":t,r=c(s),r=!r&&i?ES.spinner():r}else a.isVNode(o)?r=a.cloneVNode(o,s):NA(o)||uQ(o)?r=o:vQ(t)&&(r=ES[t](s));return r}}const LQ=()=>{};function SQ(e,t,n=Ce.COLLAPSE_DURATION){const{scrollHeight:o,style:r}=e,i=n;requestAnimationFrame(()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${i}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(t,i)})})}function IQ(e){const t=a.ref(!1),n=a.ref(!1),o=a.ref(!1),r=a.ref(qS.Enter),i=a.reactive({...e,appendPosition:e.appendPosition||!1,collapse:typeof e.collapse>"u"?!0:e.collapse,collapseDuration:e.collapseDuration||Ce.COLLAPSE_DURATION}),s=i.done||LQ,c=a.computed(()=>i.appendPosition?`${i.enter}--${i.position}`:i.enter),d=a.computed(()=>i.appendPosition?`${i.exit}--${i.position}`:i.exit),h=a.computed(()=>e.pauseOnHover?{onMouseenter:g,onMouseleave:k}:{});function u(){const C=c.value.split(" ");y().addEventListener(HA.ENTRANCE_ANIMATION_END,k,{once:!0});const w=L=>{const S=y();L.target===S&&(S.dispatchEvent(new Event(HA.ENTRANCE_ANIMATION_END)),S.removeEventListener("animationend",w),S.removeEventListener("animationcancel",w),r.value===qS.Enter&&L.type!=="animationcancel"&&S.classList.remove(...C))},b=()=>{const L=y();L.classList.add(...C),L.addEventListener("animationend",w),L.addEventListener("animationcancel",w)};e.pauseOnFocusLoss&&f(),b()}function p(){if(!y())return;const C=()=>{const b=y();b.removeEventListener("animationend",C),i.collapse?SQ(b,s,i.collapseDuration):s()},w=()=>{const b=y();r.value=qS.Exit,b&&(b.className+=` ${d.value}`,b.addEventListener("animationend",C))};n.value||(o.value?C():setTimeout(w))}function y(){return e.toastRef.value}function f(){document.hasFocus()||g(),window.addEventListener("focus",k),window.addEventListener("blur",g)}function m(){window.removeEventListener("focus",k),window.removeEventListener("blur",g)}function k(){(!e.loading.value||e.isLoading===void 0)&&(t.value=!0)}function g(){t.value=!1}function x(C){C&&(C.stopPropagation(),C.preventDefault()),n.value=!1}return a.watchEffect(p),a.watchEffect(()=>{const C=Us();n.value=C.findIndex(w=>w.toastId===i.toastId)>-1}),a.watchEffect(()=>{e.isLoading!==void 0&&(e.loading.value?g():k())}),a.onMounted(u),a.onUnmounted(()=>{e.pauseOnFocusLoss&&m()}),{isIn:n,isRunning:t,hideToast:x,eventHandlers:h}}function AQ(e){if(!e||typeof e!="object"||Array.isArray(e)||e.__v_isVNode)return!1;const t=e;return["title","content"].some(n=>n in t)}const BQ=a.defineComponent({name:"ToastItem",inheritAttrs:!1,props:FP,setup(e){const t=a.ref(),n=a.computed(()=>!!e.isLoading),o=a.computed(()=>e.progress!==void 0&&e.progress!==null),r=a.computed(()=>CQ(e)),i=a.computed(()=>[`${Ce.CSS_NAMESPACE}__toast`,`${Ce.CSS_NAMESPACE}__toast-theme--${e.theme}`,`${Ce.CSS_NAMESPACE}__toast--${e.type}`,e.rtl?`${Ce.CSS_NAMESPACE}__toast--rtl`:void 0,e.toastClassName||""].filter(Boolean).join(" ")),{isRunning:s,isIn:c,hideToast:d,eventHandlers:h}=IQ({toastRef:t,loading:n,done:()=>{ht.remove(e.toastId)},...DP(e.transition,e.disabledEnterTransition),...e});function u(){const p=e.content;if(AQ(p)){const y=[];return p.title!==void 0&&y.push(a.createVNode("div",{"data-testid":"toast-text-title",class:`${Ce.CSS_NAMESPACE}__toast-text-title`},[p.title])),p.content!==void 0&&y.push(a.createVNode("div",{"data-testid":"toast-text-content",class:`${Ce.CSS_NAMESPACE}__toast-text-content`},[p.content])),a.createVNode("div",{"data-testid":"toast-text-content-wrapper",class:`${Ce.CSS_NAMESPACE}__toast-text`},[y])}return PS(p)?a.h(a.toRaw(p),{toastProps:a.toRaw(e),closeToast:d,data:e.data,...e.expandCustomProps?e.contentProps:{contentProps:e.contentProps||{}}}):$s(p)?p({toastProps:a.toRaw(e),closeToast:d,data:e.data}):e.dangerouslyHTMLString?a.h("div",{innerHTML:p}):p}return()=>a.createVNode("div",a.mergeProps({id:e.toastId,class:i.value,style:e.toastStyle||{},ref:t,"data-testid":`toast-item-${e.toastId}`,onClick:p=>{e.closeOnClick&&d(),e.onClick&&e.onClick(p)}},h.value),[a.createVNode("div",{role:e.role,"data-testid":"toast-body",class:`${Ce.CSS_NAMESPACE}__toast-body ${e.bodyClassName||""}`},[r.value!=null&&a.createVNode("div",{"data-testid":`toast-icon-${e.type}`,class:[`${Ce.CSS_NAMESPACE}__toast-icon`,e.isLoading?"":`${Ce.CSS_NAMESPACE}--animate-icon ${Ce.CSS_NAMESPACE}__zoom-enter`].join(" ")},[PS(r.value)?a.h(a.toRaw(r.value),{theme:e.theme,type:e.type}):$s(r.value)?r.value({theme:e.theme,type:e.type}):r.value]),a.createVNode("div",{"data-testid":"toast-content"},[u()])]),(e.closeButton===void 0||e.closeButton===!0)&&a.createVNode(kQ,{theme:e.theme,closeToast:p=>{p.stopPropagation(),p.preventDefault(),d()}},null),PS(e.closeButton)?a.h(a.toRaw(e.closeButton),{closeToast:d,type:e.type,theme:e.theme}):$s(e.closeButton)?e.closeButton({closeToast:d,type:e.type,theme:e.theme}):null,a.createVNode(mQ,{className:e.progressClassName,style:e.progressStyle,rtl:e.rtl,theme:e.theme,isIn:c.value,type:e.type,hide:e.hideProgressBar,isRunning:s.value,autoClose:e.autoClose,controlledProgress:o.value,progress:e.progress,closeToast:e.isLoading?void 0:d},null)])}}),TS="vue3-toastify:url-change";let HS=0,Yl;function VQ(){if(!(typeof window>"u")&&_S.lastUrl!==window.location.href){_S.lastUrl=window.location.href;const e=n=>typeof n.clearOnUrlChange=="boolean"?n.clearOnUrlChange:jP().clearOnUrlChange!==!1,t=Object.values(Xe).reduce((n,o)=>(Array.isArray(o)&&n.push(...o),n),[]);for(const n of t)n.toastId&&e(n)&&ht.dismiss(n.toastId);bt.items=bt.items.filter(n=>!e(n.toastProps))}}function _Q(){const{history:e}=window,t=e.pushState,n=e.replaceState;return e.pushState=function(...o){const r=t.apply(this,o);return window.dispatchEvent(new Event(TS)),r},e.replaceState=function(...o){const r=n.apply(this,o);return window.dispatchEvent(new Event(TS)),r},()=>{e.pushState=t,e.replaceState=n}}function zQ(){if(typeof window>"u"||Yl)return;const e=_Q(),t=()=>VQ();window.addEventListener(TS,t),window.addEventListener("popstate",t),window.addEventListener("hashchange",t),Yl=()=>{e(),window.removeEventListener(TS,t),window.removeEventListener("popstate",t),window.removeEventListener("hashchange",t),Yl=void 0}}function PQ(){Yl&&(Yl(),_S.lastUrl="")}const qQ=a.defineComponent({name:"ToastifyContainer",inheritAttrs:!1,props:FP,setup(e){const t=a.computed(()=>e.containerId),n=a.computed(()=>Xe[t.value]||[]),o=a.computed(()=>n.value.filter(r=>r.position===e.position));return a.onMounted(()=>{typeof window<"u"&&(HS+=1,zQ())}),a.onUnmounted(()=>{typeof window<"u"&&HS>0&&(HS-=1,HS===0&&PQ())}),()=>a.createVNode(a.Fragment,null,[o.value.map(r=>{const{toastId:i=""}=r;return a.createVNode(BQ,a.mergeProps({key:i},r),null)})])}});let UA=!1;const RP={isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1};function NP(){const e=[];return Us().forEach(t=>{const n=document.getElementById(t.containerId);n&&!n.classList.contains(BS)&&e.push(t)}),e}function DQ(e){const t=NP().length,n=e??0;return n>0&&t+bt.items.length>=n}function EQ(e){DQ(e.limit)&&!e.updateId&&bt.items.push({toastId:e.toastId,containerId:e.containerId,toastContent:e.content,toastProps:e})}function Ha(e,t,n={}){if(UA)return;n=zS(jP(),{type:t},a.toRaw(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=OP()),n={...n,...n.type==="loading"?RP:{},content:e,containerId:n.containerId||String(n.position)};const o=Number(n==null?void 0:n.progress);return!isNaN(o)&&o<0&&(n.progress=0),o>1&&(n.progress=1),n.theme==="auto"&&(n.theme=yQ()),EQ(n),_S.lastUrl=window.location.href,n.multiple?bt.items.length?n.updateId&&VS(e,n):VS(e,n):(UA=!0,Pe.clearAll(void 0,!1),setTimeout(()=>{VS(e,n)},0),setTimeout(()=>{UA=!1},390)),n.toastId}const Pe=(e,t)=>Ha(e,tt.DEFAULT,t);Pe.info=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.INFO}),Pe.error=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.ERROR}),Pe.warning=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.WARNING}),Pe.warn=Pe.warning,Pe.success=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.SUCCESS}),Pe.loading=(e,t)=>Ha(e,tt.DEFAULT,zS(t,RP)),Pe.dark=(e,t)=>Ha(e,tt.DEFAULT,zS(t,{theme:Ns.DARK})),Pe.remove=e=>{e?ht.dismiss(e):ht.clear()},Pe.clearAll=(e,t)=>{a.nextTick(()=>{ht.clear(e,t)})},Pe.isActive=e=>{let t=!1;return t=NP().findIndex(n=>n.toastId===e)>-1,t},Pe.update=(e,t={})=>{setTimeout(()=>{const n=dQ(e);if(n){const o=a.toRaw(n),{content:r}=o,i={...o,...t,toastId:t.toastId||e,updateId:OP()},s=i.render||r;delete i.render,Ha(s,i.type,i)}},0)},Pe.done=e=>{Pe.update(e,{isLoading:!1,progress:1})},Pe.promise=TQ;function TQ(e,{pending:t,error:n,success:o},r){var i,s,c;let d;const h={...r||{},autoClose:!1};t&&(d=NA(t)?Pe.loading(t,h):Pe.loading(t.render,{...h,...t}));const u={autoClose:(i=r==null?void 0:r.autoClose)!=null?i:!0,closeOnClick:(s=r==null?void 0:r.closeOnClick)!=null?s:!0,closeButton:(c=r==null?void 0:r.autoClose)!=null?c:null,isLoading:void 0,draggable:null,delay:100},p=(f,m,k)=>{if(m==null){Pe.remove(d);return}const g={type:f,...u,...r,data:k},x=NA(m)?{render:m}:m;return d?Pe.update(d,{...g,...x,isLoading:!1}):Pe(x.render,{...g,...x,isLoading:!1}),k},y=$s(e)?e():e;return y.then(f=>{p("success",o,f)}).catch(f=>{p("error",n,f)}),y}Pe.POSITION=Kl,Pe.THEME=Ns,Pe.TYPE=tt,Pe.TRANSITIONS=$J;const HQ={install(e,t={}){hQ.useHandler=t.useHandler||(()=>{}),OQ(t)}};typeof window<"u"&&(window.Vue3Toastify=HQ);function OQ(e={}){const t=zS(PP,e);pQ(t)}const jQ={v:"4.8.0",meta:{g:"LottieFiles AE ",a:"",k:"",d:"",tc:""},fr:25,ip:0,op:273,w:500,h:500,nm:"not_found",ddd:0,assets:JSON.parse('[{"id":"image_0","w":175,"h":173,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAACtCAYAAADGWi9+AAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAYj0lEQVR4nO2dXVMb2ZnH/+cg1BIIkABjPF7bxFvZnamaqYHUrh1XqjbMxc7YV4Mucj3kEwzfIOwnCLnei+BP0PgmME5twWQry8DWFrh2qpKt3aRgXB4DtngRWKIlcc5eSGLUp7ul7qPWS7fO78rdWK1G+vP0c57zvAAKhUKhUCgUCoVCoVAoFAqFQqEIMqTTN9Au9Ofb0+B8CgzTICRJCZ8GAHAkOfBxnZeeEYJdAGAMewD2ALIHXO0hFttNfzJz2up7V9gTSvHqq5tTQN8sCKYp4dOc4+ctfLt9DuwCfAOUbqQ/fbDbwvdS1BAa8epfbc2Bk1kCPgfgXgdv5YwDG+BkBbH+FWWZW0egxauvbs4CdJ4QzAEY6fT92MGBZ0rIrSFw4tXXd5IwjHkCsgCPFjYej6E/EkF/fx80LQpKKQBgIB5zfI1hFHDFGAAgn78EAOTyBkrFEoqlkpe3P+McK+gjS8q18IfAiLfsx9JFt1ZW06IYiGvQotGyaPsjvt8TYwyXRgH5/CVyeeNa3I0gBF8zxhbTTx5t+H5TPUTXi7dGtF80+r+JwQEkBuMtE6sbLt7lcHGRRz5/6cYy73OChfRnD1facW9ho2vFq6/vJHFZWGok2ng8hpGhQSQSA9duQLdQFfLFuxxYxfWwQ1liObpSvPraNwsEZBEO7gGlFInBAYyNjnTMwnqBMYaLixwyx2d1rXF5cccW0k8e7bXv7oJLV4lXf749TRlfdto0oJQilRxCKjncdVbWLRfvcjg5Pa/nH59x8MX0458utfO+gkjXiFdf3VokBL+y+1kYRCuSy1/izdsTGEbB9ucVV2JeWWFnOi5efXVzihK64mRtU8khjI0mQyNakWz2op47ccY5WUg/ebDc5tsKBB0Vr766PU8IX4KNbxuPxzAxnoKmRTtwZ+2FMYbM8SlOTs9tf845niIWXVCbHGY6Jl59bXuJgH8pnqeUYmx0BKnkcCduq6MYRgEHRxlbV4IALxhnc8qN+IG2i7e8Q1ZYJsDn4s80LYr3Jm8EIoLQSt68PXaywmecklm1Q1emreLV13eS1Chs2Pm3qeQQboyPtvN2upqLdzkcHGbs4sPKD67QNvE6LcwopZgYT2F4ONGuW3Gkut1bzn/ovPUvFkv4/uCNrRvBOfllrwu4LeLVn29PE8Y3ICzMKKW4c/tm2xZlhlGAYRRQLJWQyxtgjDmGqmrpj0QQ6Y9cJ/XE4zHEahJ7WgljDEdvTpA9v7D8rNcF3HLx6qubU4TQXQjC1bQo7ty+2VIBFIslXLzLIZ83cPEu5/v1q8k/g4MDdTPT/ODgMKMELNBS8Tr5uK0UblWw2fN3rqyqX1S3rFPJoZY9SU5Os3jz9sRyvlcF3DLxtlu4ufwlstl3ttbJCwR4wYEpNJHc3h+JYGx0pCV+fDZ7gYOjjOU8p2Sm16IQrRPv2taKGA5rhXBz+Utkjs885tJiw0sRZbliAwDoLAimCTANF4nwrdrWdhBwz4XRWiJeuw0Iv4VrGAUcvT1pKNpycB8rANvwM+XwhyJPPmcXs66lFZbYzgcmwAumRWd7ZSfOd/FWtnx/W3uOUor7U7d9EW6jrdQK+xxkBfxqqR07UuXc4+IcJXyhXhm931vedgLmwLP044dzvrxBl+OreO0iC36Gw3L5SxweZurlxO5zThY7uXjRn29P44ov1EuiHxsdwdho0pf323/52rIw5Rz/kn7ycNGXN+hifBXvs7WtXdHyTE6M+fK4zByfInN85vTjjotWpFH5Ujwew+TEWNObIYwx7H/32vIH3QsLON/Ea5eP68eWL2MMr16/cfJtuz5xW1/dnKWELtm5E5RSvHfrRtMxYsMoYP/la/H0Ptei02H2f30Rb2UHbaf2nKZFce/OraauWy/LKmglM/VKm/x4OtnFgDnIb9KPHyw0deEuxhfxiu4CpRT37txq6pFoGAW8fHVon5jS5dbWiXplTn74wS9fHVqeUGF2H5pe/utr31hW2M0WRtYR7j6nZDaIwgWA9KcPdpkWneUcT8WfZY7PcHBo3XzwwuTEmCWiQxlfbuqiXUxTlldf30kSo7CHmkdhPB7Dnds3pa/pJNywxTArbsSvxfPNrhNs3YeQbh83Z3kvC5YSnonxlPTlnITLOZ5+/vhhqBYf6cc/XeKc/FI8f3J6jmxWfos7lRxGXFgAEsKX9PUdf2JzXYS0eMsxXXMYqJmkFMYYDo6sydec42n6ycN52fvsZtJPHizbCfjgKNNUFtzYqGVNOILLQugWbk1YXrpoOqK0qQXHq9fWpOswC7eKo4AP7aMsbhiIxzA8ZI5eEIKFsFlfKfE6WV3Z7d/M8alllUyAF2EXbhU7ATs9idzSC9ZX0vJara5stW81K0xgn2nRWakLBpSygM1RCMMoIHMs5+b390dCb309i1df30lW2oxeI2t1GWM4tIaHzjglc2FanLkl/eThPCH4uvbcyek5ci7TPUXsrW8xNEk73hVnGPMQEm9krW7m+NS6Jw++GNaguhtYNDoHwPQoOrSvIm6IvfXli83cXzfhWbyVjuTXJAblWosaRsGS1lhO5wvmBoRfpD+ZOeUE87XniqUSTk6zUtdLJYfEU/f059vTcnfXXXhSXaWiwFRBYPNocsWRtRbrDJyFakEhS/qzhysceFZ7LnN8hmLR0xgBAOUcE0v48oqH4nP2aDLpfO2RbAfyXP7SugcPvhiUJJu2UP5DNrkPdVJC65IaMVtfcc0SVDyJV/ylR4YGpd7ULrrQ6+6CSPrJoz3OYfpMsucXUtY3kRgQT43oX20FXsCuxVv5ZU0+gs2H0hBbq8vJoucL9QKx6BJ8sL7VsnwTLPjW173l5WS29lB2oZbNvhNP7YcxacQP0p/MnNpZX5nIQ2IwbjoOg+vgWn2VyZLXiB+GG4rFkrVgUFnd+thY3zOJxB1b1yHgUQdX4i3XY5mjDGLmkhtskk3OlNWtT/qTmVMOslx77rR+5bQtlFLrd3bFA219XVrevtnaI02LSkUZsudml0H8UhQO8CuT61AslaSSdsSnJaWYbeq+Oow78RKYHi8Dcc3zGxWLNh+48KUo7Ek/ebRHgBe152TaWonxXs7x8+burLO4Ei8l3CReLeo9Z1d0GcpZYyqu6xYGczlPLm94voZdlXKQ/V5X4hX/QmX83bzwYZdbMClcw7np8zKMglTUwer3IrzitfvLlPF3rYs1tuH5Ij1M5Sm1X3tOJtsspvULZ/iU9E11mMaWl5t/ORmra7e4UHN2vcM5NmqP3XbGrCUSMRueIC/aGouXmR8r/RHvVlcUr5izqnAL2ag9ujSKnq9gSdLhCGxyemPxEmL65fr7+zy/iZizW+6Pq/BMH0x5zjLhspgYcajT1bLbaSheS6RBojrYujIme54vooCYpM8Y87xoC9MYXM+/iWy5j5mrPc8XUQAohxhrjy8lrK/o+v3Q+T1YuFiwNe8TWR5vsVjPlvk0DUHTtX2RLpgx5wcNxSv6RH6MbOrF4kq/YNws3nZOPOo2wuMA9QocFr+3V2m5eHv5w1W0lpaLV1xQiAsOhUKWlotXXNlWBvQpFE3TevFaV7bSkyUVilrUgi1oCDuevYwb8Zrqp3o5NNMN+LHjGRYaipcQc2jmSqZnVkh2dLoRf3Y8g0lb3Iaw7Oh0A2JhgB9ZfkHd8WwoXsawV3ssk0Nq/YDprOeLKKpV3CaanaAJBHfH043l3Wv2TSxplCS4pScdhVIfMvwsxmff7v8FARfiNacvyhT+WabTQIlXCqEwQKYQ1jIijDRvnDqFC/Ga0xdLEo3exARoAPfsHoGK+oglO5qlHq0xor/LOAmkvwu4EK9Ya1YslaQSoK2POHMjE0V99PWdpLhYk8nwsz452V4Tt9VR3EYbTH6RTAK0pVEJCXarobZTKMzWHtobhMZYG7/w8FpeAOAwx3plIg6DQotNAnwepsk0LUdoSWppWeqCYtH61AxyFbdLy8s3ao9ku7VYAuohmkzTSioTmExz7xIJ71067WbdNXdnncWdeCndqD2UsbyA1VpQEo7ZCC1H+CO3bRbtAtHoMKGUPmi4Em+latWU4yAzG1ecTMOBj4PcK6tdiOOnZIQL2HxnxPxEDRqut4c5zL0WLi7ynt9M06LW3baQTKZpFXYTmGzGUzXEtrdZNLohfWNdgJe2/qZGb7Kugzj6ihB8oWK+zlBqHpUbj8ekogxiS1RC8HVQt4WruBdvrN8k3mKpJOU6DA8nbDKhzF+Qooy+ujkrxnZlrC5gfVIyoetkEHEt3nJ7efNgOxnXAbB+ARXrOyt1sRBDCF2uPe6PRCQXapeWlltiy9Qg4i0lUnAdLt7lpHJDU8lhi+9LCVVd0mvQ175ZgODr3rw5JnUtcQITIfg6DI29vYm37DpcRx0YY7i48O46UEotvi8HPq58YT2Pvro5RWCekhSPx6S2gxljFn+XsXDMAvEk3spcMJP1lR0pOjycsMk2I4sqdAZQSpchFKpOjKekrmUzcPtMXL8EFe+VFH3EMplGZuEG2H4hI5Tx5V7eNtZXtxbFRdrY6Ih0rdqJMPaKgywHPcpQxbN4058+2BWbQ4sfkFs0LWrrPuCy0JP+r766OUsIflV7rvwZyf0tZ7M20zJDNIFJqoaNMbZYe5zPX0rNRwCAsdGk1X0g+KLX/F/9+fY0IdTyOJ+ckFukAVaXjnM8DcNCrYqUeCuZSKY0yTdvT6RvYnJizBL7JSC/1le356UvGiD09Z0kYXwFgp87OTEm7S5kjk+t4THB5Qs60tXDnMBkGQ2jgKzETFygXET43q0blvOE8N+GXcD6+k6SGoUNCGGx4aEEhocTUtdkjFldOYLfiZ3Vg460eNOfPVwRfd/M8Zl0T4CBeMz2ERlmAVeFK/ZAjsdjmJSM6QJlq2v1dfEj6Qt2KU31bRB932KphMyx/EJ2eDhhWcAB4RSw/nx7mhiFXVG4mhbFbZunkFsMo+C0gP5AX9tWbkOV9JNHG+KW8cnpeVMtocZGkxgesj4uywLeWpa+cBehr27OEsY3ILgKmhbFnds3mxp6cnCUcfwZAf8yTHH05jvmcLYAIde33gfohsmbY7YJKITgi2dfbW0EOQ6sr24tEkLXISzO/BBu5vjUYjj6hOtRzkNjfYkfF9HXvlkgIL+uPZdKDuHG+GhT181mL5z+EM44wXz6s4eB2SnSVzenKKXLdpPW4/EYbt+60ZRwDaOA/ZevTedGhgZw/94kdr79q+k85+xHYQiZ+dKrLP34p0t2GxeyO29VhocTeM/+Sx0hHLq+trUShFxgfe2bBULorp1wh4cSTVtcxhi+f/3Gcn7mo/u4e3vcpnKbhKJ20LdGe4yxeYjuw2EGRYkmJbUkBgdw5/ZN23gnAT4nhO7qq1uL3ehK6KubsytrW3uVp5JlJTo5MdZUVKHKwWHGEtP98P27GBkqp0/ev3fT9DMKMt/0m3YBvrgNVfTV7XlC+G9rz/nhywFl65I5Pq23FX3GOZYQiy51eu9eX92cpZRachSqaFq0qQ2IWjLHp5adtPHRIfzsHz+4Ps7lDfz+D+ZC4bnHD3397juB77+Avrq1LJZpDw8lfLEwQDmx+tDG0tRwxkGWwa+W2unX6es7SVwW5yrFkvec/t/Y6Ih0roKI3ZqgP9KHf/75NPoj5uaGv/u3/0KxdHV9zCmZCfqmhf+Nc2PRBWIUpmvjl9V8Uj8EPBCP4d7dWzg5zTqlY44Q8C9B6JfP1rZeMPBlcL7SCiHr6ztJFAqzYJgjRuGLeqYgHo9hYjzlWydzwyjgyGZL/mcPPrAIFwBGhgfw9rjmqXV11XVullda8ujQVzenCKG7EPy8G+MppJLDvr1PsVhC5vjMkmztwD7n2ADIBvqwK2N19NXNKVA6DYZpSmGpL7OjPxLBzZtjvkwOrWIYBbx8dWjZRZv5sLxAs+OP//knk3g5Z58EuVsO0CLxApUdpHIg3pJsIrtn74RHEV9DgBcgOGUcp+JkyfJ/IMnqDAg3Qq0lHo8hlRyS7rHghJNw79+bxEfv33V8nRKvR+wWcEBrBAyUF3Vn2Qucnp7X84lbRrWTTSo51JJBJ07CvfPeOH7y0f26rxV9XgD/NPf44b/7fpNtpOUrTicB+7mIs8MwCsieXyCXN1o6wagq2EQi7ruVrcVJuJMTKTyc+XHd19pFGwjwgmnR2U5HZpqhLeGSTgm4CmMMufwl8vlLXBpF++4xLtG0KLRoFJrWjwHJBiBeyWYvcPT2xHLPI0MDjgu0Wv6yf4Bv//yd5XzQBdy2WJ+TgP2KA3uFMXbdZ7iemDUtCkop+iMRX4aXeMUujguULe5PPrrfULgA8Ps/vHDs7BlkAbc1UO0k4P5IORm9lwfiiTDGcHCYsd1id+PjVnGyurUEVcBt32VxikIA/ofSgophFPD96ze2i85GUYVacnkDG//xrbhQsyWIAu7IFqH+fHuaMr4sJmIDlSqCibGOPKK7ASc3AagfxxUplq7wx+0/4ezcbLnHRkccrx80AXdsf1tf30nCKCwT4HPxZ9WOOr1khQ2jgIOjjG1kpD/Sh589+OA60aYRTsKtpqnWSTUNlIA7npxhlwtcJR6PYWx0xNfdqW6jUcJRaiSBR//w964WZgDw+ugEO//9V4uroGlR3Ltz6/rYrYDLORuX00D3za/ouHiBaz94BQ4JLcND5dq2sLkSVdHWC9v1R/owOZHC305N1rW83716i5ffvzHnL1RwiujUEzBAvgf4MYAPTWeBF4yTpfSTB8uON9MmukK8QNWNKC4S8C+d/k9YRJzNXiBzfOZ5F3AgrmEgHsVYquxOFUtXyJ6/sxVslUahyPoCdqYb3IuuEW+Veou5KsNDiZZtwbaKci+FbCNLewZO/hWE/wJ10irdkkoOYWw02TCGHlQBd514q1RiwkuwCalV0bQoUiNDSCQG2r7J4ZZc/hLZ7LuGSUOc4yli0YUf/MzCAik3dnH8/Z2QWSvUi3KMDA2gWLqy3ejopIC7VrxANcHb3ZeYGBxAYjDeFUKu5lVcXOQbugac4ynAFu3yjcuulDFPQebrPYlqIYTg7t9MenoqOeVNjI8OYebD+9c1cLm8ge2d/7VEMTol4K4WbxWvligejyExGIemRdsSqSgWS5Vmg4brbvH1RGvHD6v+vimATxGKSXDMA9DE/0spdaz7E/GaqeYUhuuEgAMh3ipuS21E4vEYYlo/IpEINC2KWCVfQYZc/hKMMRhG4TpjzUOSj68lSvV2K90IWDbFslsEHCjx1qI/357GFV8gBHOQ8AuBck5FxEXkoipWWQjB14yR5VaEl2QF3ExuMNAdAg6seGvRv9qaA8NcM0L2G0LwNeN8pVX1c7V4FXCzwq3SaQGHQry1VCzyXKXGbBptEjMBXjCQDRC+gWh0o92LF7cC9ku4VTop4NCJV6QsZkwDfIpSzIIj6Xbl7sA+IdhjnOwCbA+c73bLtmkjAd+cGMXh0bFvwq3SKQGHXrz18DS4MBbbDUKySj0B29GscKt0QsA9Ld6w4lbAfgm3SrsFrMQbUhoJ2G/hVmmngJV4Q0xFwN9A2MholXCrtEvASrwhZ2Vt6xzAdZMMsQlfq2iHgLszm0XhC5UF6bVw+yN9eDDzd215b6fqDw58TI2CL93tlXjDDKUmgYwMD7iuyPCDVgtYiTfMcD5VexiJtD+Jv5UCVuINM5ybmgdmz5sbsyBLqwSsxBtmYjGTeHN5A3/+v1cduZVGApa5phJviEl/MnNazhv+gf/5yyt89+ptR+6nnoBlBhwq8YYetghh0M3Ot3/tOgHLDDhU4g056SeP9jgnC+L5Tgv4wcyPrZEPxhe9XEeJtwdIP3mwzDn5pXi+kwIeiGv48H1zMQwBPvcyV0+Jt0foRgE3O+BQibeH6EYBT06khDNk1u1rlXh7jG4T8K0Jc4iXALNuX6vE24N0k4DHRy2dQF2XbSnx9ijdJGBZlHh7mKALWIm3xwmygJV4FR0V8NvjrHjKvtufDUq8CgCdE/DrI3NBBQc23L5WiVdxTScEfHAkTq7nG25fq8SrMNFOAX/36q215y/nK25fr8SrsNAOARdLV/j2z/umcxx45qWvmxKvwpZWCrhaWWwZbkjJopfrKPEqHKkn4L/sH0hd06kknoP8Jv3pg12Hl9mi+jYoGuI0M3pyIoWP3r9rzQxzwGlGnGwvByVehSucBAyUO/DcvT1ul6eAYukKrw9PHGfEAdjnWnRapgmJEq/CNfUEXGV8dOj637l8wXaCUJVmu+co8So80WhaqVtqR3fJXkOJVyGFvrq1KDMnrjyfgy360ZBbiVchTXU6EwifqySROwl5n4OsgGLZa0ShHkq8Ct+oFE9OmU4GpKO8QqFQKBQKhUKhUCgUCoVCoVAoFAqFa/4fCbut2hEefs8AAAAASUVORK5CYII=","e":1},{"id":"image_1","w":85,"h":85,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABVCAYAAAA49ahaAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAEE0lEQVR4nO2d/XXaMBTF72OB0AnqThA6Qd0JygalEzQj0A3aCUo3gAnqbEAmKNmATHD7hyTqEuMvycgW73cOJzYY83zzJMuS3pNgJJDMAWT2tQAwb/jKEcDe/RWRYjjruiGxfpjkEkBuX/eBTvsEI/QWQCEix0DnHS8klyS3JI+8DluSK5JNXj8tSGYk11cUsoojyQ3JLLYeXlgxNxGFvMT0xCU5p/HMsbPhFKoFmjozZjHvypHkQ2zdKqHxzm1kgXwoGLBK8G5S0bQvtwDuvK2JywuABxHZ+J5o5vNlmqLzG9MXFDDX8JPkd98T9fZUkhsAn30NGCk7AKu+Dw+9RE1cUMcTgLyPsJ1FJblHuMfKsdNL2E51qvXQWxEUMNdasGN7trWoN1Lkq7iHad20ppWo9i5/i4I6PlinakVjnWrbob89DEqJL23asbWi2rrkgDTaoSF4gblx7esOair+G6igZe5gNKnloqg0PfOfAhqUCvck13UHVBZ/LfaNvABYiMih6sNLnvoAFbSOOwAX+wheeartAvszoEEp8bFqFLfKU9eDm5IO66o3//NU9dJevPLWc09dXc2UdFidv3HuqUfoDaoPb8o9WSdPte1SFbQfq/LO7NIHSidW5Z1T8dei78079zAwA7ToB2LpNlzxz+PYkRS521BRw5G7DQEAkoxmSlq8F5H9zPbsK2HIAFP8s6hmpMUCUFFDcxJ1EdmQlJgDRtTxT3ydDhngOetPecVbQEUdBC3+A6CiDsAMZihaCYjWqQOgooblGTCiph8Uez0OgBG1dgab0okjoJ4amj2gnhqaA6Cd1KExndR25ymqKYngZlg7UbUK8OfRbThRO4W0KJWcNHSiFnHsSIrCbcwAwE6u2sWyJgGeyxEr5cdUrQL6synvlOdSafBEf96VgypOnmqrAPXW7uzOo1R0ero/9dPTreK/rmjQ1Hmsik7RkB8/2oX8qLe2ptJLAQ2j9OH9pWjqyuEU2xJYD2nRxPlRF57eFO9fAPgQ2qKJ8wwT7Huxc79p4G8FEzGs/KMxX1WtqPamNc4Eg3H41iZNc6u8VDZV21dfiybOTkSWzYd1SPZFcovbzVTRKelXF1HnMH2Gt5TsC+iRRa1TWrobFLZVdp9zOk37sf+tHLcxUOg8tPP4Xd+slHOYbsJU27C9M1ICPSeoichRRHKk2Uewg4eggOesPxFZAfiCdB4QvonIchQrWZBckNwPlYX7Chw41shHxl95og/fOfZ8/zQrUUwhPX1BclqBeSRza/jYKDjWot4WGnHHsIbKllMX8xyaVSseeN0b2oGmns+uea1RFvmyF1le5CvksM0j/i3yFWU2Y7SV08rQ3DAymIhutxRdBhvrWcEzzBiaW5LuALMknU4JTZW/U1qiUwiP8oYAAAAASUVORK5CYII=","e":1},{"id":"image_2","w":186,"h":242,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAADyCAYAAAD6Bd/wAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAPn0lEQVR4nO3dXVobR74G8LeqW60vGgkZFA/J2OZ54rkNZwXxDiY7GGYHnrOBISs4mbMCZwPnOCsYZwf2re05Mk6GsYUQSE2jr+6ucyGaMCBA6KtK1Pu7sUBSV7n00vp3qVoNEBERERGRScSiGqrVjp7ETrytlNoWSjw7a/3bRbVP2u1B4QMEPiioD0jw6unWxqtFNT7XoL+t1bellDtKiGdCqW/m2RYtrZ8g8NKJnZdbW2vH82pkLkF//7GxoyCeXw53PptBLuci4zpwHYms50LKhb2pkEa9foQkUegPYvT6ETq9AaIoufiQAMD/OImzu7W19mHW7c80Ze8/NnagsAvgcfo7v5hFseAhn80w1PRvoihB2OmjHfbQ70cX7/px1oGfSfLe1urbwnFepHtw15Xwi1mU/TzDTWPpdAcIwh6CsHf+OwX1vZu4P8yipJk6he/2DnYFxF8BQEqBkp9jwGliUZSgfniCTm8AAFBCvFFxvPOHrerrabY7cRprtaNyLOKX6cxJMe+h+mCFAaeZCDt91A9PkCRq+AuBP3/9aP3FpNubKJUXSxUpBdbXivCL2Un7QDRSkijUD08Qdvrpr378+vH6ziTbunPQz6YMfwaw6roSD9d9ZD13kraJxtJsneKo1Ul/nCjsdwr6xZB7nosvq6ssVWghgrCH+uFJ+uOdwy7HfWCtdlQWjvMCDDlp4BezqD5YSX/807u9g927PH/soMcifimU+sZ1JUNOWlwMu4D46/uPje/Gfe5YQX+3d7ALgW+lFHi47jPkpI1fzP428aHwY6129GSc590a9Le1+nY6T76+VuSBJ2lXfbACb5jD1VjEL8Z5zq1BP6vLUcx7nEIkY1QrxeENgW/HKWFuDPr7j42ddK78woEAkXZZz8VaKT/8QeG/b3v8zXv04QItlPwc63IyTqVUgOtKAPj9P/YOn9/02GuD/v5jYwfAY9eVqJQKs+0h0Yyk2VRQ/3nT464NuoJ4DoB1ORnNL2bP9+pnO+eRRgb9ba2+nS65Lfv5uXSQaFYuTDdee1A6MuhSyp10A6zNyXSrxVx684+12lF51GOuK12+A4BiwZtDt4hmy3VlOq+O2IlH7tWvBP3sk6bHwHDunGgZrP5Wvjwbdf+VoMdOvA0MT2QmWhZexklvPht1/5WgK6W2ASCX40f9tDzyufMd8+NRdfqVoKdfLpRxnct3ERktrdMjRNuX77t2Ht11xl7BS2QERwxnCIUjnly+72qaz0525ipFWjZpua2UenL5vmt325w/p/uE9QlZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysYeWJotxchCLvo9SPE6QVVyWg5z0Uu62KlmINj4GmYRgW9FXRw0AwxiGLdXaE7Oj2/6G0bJT+PjUrRqK9MMSLocaLw66fjC4NFy6wVdBCEXTxc91Ey5NuYtQc9ThQ+/rOJbj/S3RWaoSRR2K+3AcCIsGs/GGXI77f9ehutoHP7A+dMa9APmicMuQU+NQLtx13agh4nCs3Wqa7maYGSROGgGWrtg7agt4IOEk4dWiMIu1qnirUFPQh7upomDZJEaZ1V0xZ0TiXap9sbaGtb+6wL2WMQJdraZtBpYXTOvDDotDCFnL7rYmkLOr9/3T6OxquoaGvZ/+0iqGSJQk7f5Tw1Bj2rq2nSIOM6yGX1La3SGnSTlnHSfG1Uilrb13owulld1dk8LUgh72lfwag16IW8hy/WfZ1doDmTUuCrh1eub7v4fujuQKVUwPqa3rc1mo+M6+DxZsWIU+u0n3gBABuVFeSyGXw2YDknzUbJz+OLdd+IkAOGBB0YHpwW8h5Owi6ax6dcp76EpBTwizmU/RwKeX1TiaMYE3QAcKRAyc+fH7hw4dfykFJqnT68jbk9A4zbK9Dy0n4wSrQIDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZAUjv2Q0PrtuvM5Lai9aLptBIe8t/PvEZzXWjiNRyHnGfqOuUb3q9iI0W6doBR3dXdGm5OexUSnO/UJmp50+mq1TBGFvptvNuA5Kfg6VctGYiwAABgX9cyNAs3WquxvatYIOWkEH62tFbFRW5tLGPMd6EMVoHIVoBV1sVleN+epv7TV6nCjs7R8x5Jc0jkLs19sz3WacKNR+OVzIWA+iGHv7R8a8O2sP+udGwCtbXKMVdGYa9l8/HS/8kjn79bYRr6/WoNtej4+jFXRmUkcfNE+0Be6XT8eIE6Wl7ZS2oMeJwkHzRFfzS+VzI5jq+XGitJaGSaLQPA61tQ9oDPpJ2EWi+a98WQyieKp3vlbQ0T7Wuo/BtAV91tNa990049Vq6y8Pk0Rpfc0Z9CURTlFfm3LNVp0fAGqfdaHxTFp6mHQl7kGUaGubQb/nBgOTgq6vLwz6PZfNZnR34dy8lzXcRFvQpUHrIJbBpCExab1JxtW3X9XWctGQNRDLYpo1I6asN9H5mmsLul/M6mp6KU0zXiaMtZRC6x+ctqCX/LzWmm2ZZFxnqrCW/Lz2UrFSKmhtX+vB6Bfrvs7ml8a04+RIMbclv+PIuA4q5aK29gHNQfeLWZT8vM4uGK9SKsyk9KiUClrGWkqBrx6WtR8Ua59e3KyuMuzXKPn5mb7rLXqspRR4vFkx4vQ6/T3A8AXIuBKNI70r3Ewhz0qNedS1ixrrnOfid9WSESEHDAk6AGxUVlBezeOgGSKwdGWjlAJlP49KuTDXA/V5jnXOc1Ep6ymTbmJM0IHhQctmdRXAKk47fQyiGH2DPsKeFy/jIOtlFrr3uzzW3X6EOJ58LUouO+y/qTNpRgX9IlM+5LBBIe/d+/HWfjBKtAgMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBWO/ZHQQxRgM4nv/jbpexkHGdZA5+1eHacc6vdqcyV9UalTQ40SheRyiFXSNurT3omRcByU/h0q5OPdLocxyrC9eVMAvZlEpFYwLvTFBbwUdfGoEVl4AIDWIYjSOQjRbp9isluZ22cRm6xQHzZO5jHUQ9hCEPRTy3tnVNcz4vnQjavT9ehv79bbVIb8oSRR+/XSMz41g5tver7fxeQE7lNNOH//3yyG6vWiu7YxLe9A/NwK0go7ubhgp3fPOyn69vdCxThKFvf2mEWHXGvQg7KHZOtXZBeM1jkKcdvpTbycIe1p2KEmi8K96a+HtXqY16PN4a76P9uvtqbehc6y7/Wim70yT0Bb0VtCxcmZlEoMoRhD2Jn6+CWPdCrpa29cW9GleOBtNM14mjPUgimdSgk1KW9BDjf/pZTRNSEwIOqD3NdcWdE4l3s2kpUds0DgPosmvYzot7dOLNF+93kB3F87pPE5g0O+5TMaMTyYBzH1Zw00Y9CUhJwyJKR/BA0DW07fiRFvQTVv0Y7riFOOV0xiwi3LZjLa2tQV9XguW7qtpxqu0mp9hTyYjpdC6c9MW9JKfn/jt2DZSCqwUcxM/34Sx9os5O2t0RwpUSgVdzS+VjcrKVCHRPdZSCnyx7mtrH9B8MLpRWWGtfov0RIZpbVRWtNXqm9WS1r05YMCsy1cPy8YcLJkm57n4XbU0s+09+rKy8LHerK4acTymPeiOFHj0ZQUlX/8Bk0kqpQK2fv9gpnvCdKwXETwpBb56WDbmdTViV+pIgc3qKsp+DgczWn+9rAp5DxtrxbmVdM5ZAE87/bmMtTw7HljEea93YUTQU4W8h8d573ylW38Qo9ePjFqvMWsZ10HGlfAyDgp5b2Ef8Fwc6yDsIY6Ticc657mQUiCXzRhRpoxiVNBTw7PhzXjLu+8yrmPF7Jf2Gp1oERh0sgKDTlZg0MkKDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZIVRQW8BQK8fLbgrRNNJbriIwdWgK7y+7UlEJur34+GNBK8u33c16ALHANAfxPPtFdGMDeLrM3sl6ArqNcDShZZLkihEUQIAeLq18ery/Vf36Ge7/R736LREOr0BAEAJ8WbU/VeCnv419PvR+V8Ikek63WHQhVKvRt0/enpR4WcACC2+3ictl/OsiqsHosA1QRdCvASAdtibU7eIZqf3W/XR/vrR+stRjxkZdJnIFwDLF1oOraCb3vzf6x4zMuhbW2vHAH4EgGbrdOYdI5qVJFEIziqPJEl+uO5x1y4BUIl6AQBB2ONenYx1HHSGNxR+/sNW9fV1j7s26E+3Nl6lB6Xcq5OJoijBUWsYdKXU7k2PvXFRV/rkIOydT98QmaJxFA5vKPw86kOii24M+tmT/wYA9eYJ17+QMcJO/3xKMVHJ89sef+syXSdxdgG0oyj57S+ISKMoSlA/PAEAKKjvb6rNU2KcDb+rHTwTUvwdAKoPVuAXs1N1lGhSSaLwz3ob/X4EJcSbp48ebI/zvLFOvHi6tfFKQX0PAPXDE9brpE3jKER/uOCw7cbyu3GfN9YePfV+r/ECwJ+kFNisriLruXfrJdEU6ocnF+fM/2OckiV1p6ADwPsPjVcQ+FZKgfW1IssYmrskUWgchechh8Cfv360/uIu27jzOaOOcr4D8FOSKNQPTy5+/Eo0c2lNPk3Ih0+bUFrGAEAx76H6YAVSTrw5oivCTh/1w/Np7bZK1B9vmy+/zlTJ/Mfe4XMF9V8AwFKGZuVyqaKEeKPieOcuNfllU++C39bq28JxXgilvgGAfDaDtVIe+Vxm2k2TZZJE4TjooBV0L344+TcncXbPFhpObGa1xru9g10B8RcAq8Aw8P5Klnt4ulUUJWiH3X8LuBLiDeLk+aSlymUzLaprtaNyLOMfcFa7A8OSppj3UCx4yGczrOMJwPBkiW4vQjvspfPiqT0I7E5ywHmTuaSuVjsqRzJ6LiB2ADy+eJ/nucg4Ep7nABju+el+i+IEgyhGkij0+zF6g2jUuqmfIPDiujOEpjX33evbWn1bSrmjhHiW1vFEGH4j3CsIvHRi5+W0NfhtFl5HvKsdPJNSbidIygLiCRSeLLoPtHhKDM/OF0K8dmLn9dbW2ge9PSIiIiIiIp3+H/yNcCHjpRNmAAAAAElFTkSuQmCC","e":1},{"id":"image_3","w":216,"h":260,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAEECAYAAABKq/oNAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAeX0lEQVR4nO2dX3Ybx5XGv6puNEAIAkGR4vAokQnO2H41ZwXiDuysIM4GJjnZQJIV2LOCaHZg74DeAfwqKQFgOxoOBRIgBDXxp7tqHtAFNWmA+NdV1Q3c3zl+oAii22R/qFu37ncvQBAEQRAEQRAEQZiC2b4BItu8ql+ecodXpZSnDKwKieq010kmzzl4RwhRc+HWTk72OkZv1BIkMGIh6vV2JUBwCo6ziZAYXqz6fpKxH5mU50KIl5+fHNaSu9N0QQIjfsXr+rsz5rAqJE4hcQqGUwC7017LOYOXc+DlHHDGUMi7v3pNEAoEgUAQCgxHIYaj8P5LmgzsWy74y01b2UhgW0y93q6GTngahXenkrEqk/KLWa8v5F24DofrcBTy7lhUfPlHSAgJvz9CfxDA748ghFTf6krIb1zhfrspQiOBbQEqvOOcn0rI03nhnevwyarkec7kax0osXW6fQShUP/cBcMfP/3k4KWWixqEBLZhqPBOSlllkp0tGt4pEU0L8UzR84d3hSbxgyOdr7K8mpHAMkq93q4GCKpR0mFueBcXUiHvwnXHoV4a6XT76Lzvqy+7UsgvPzt5em7xllaGBJZy7oV31Sjp8GB457ocBc/VHt7pZDgK0Wr7HxMiDH/IYshIAksR0ZnSaSy8qwI4nvbatIV3OhBC4vrmFj1/OP6HDIqMBGaBVcK7uIjSHN7p4PrmFt3eYPxFxkRGAtPM6/q7s3vh3cykQzy8c92PmTxinABptf3xFxkSGQksIe6UDM0J7wBMzpHiKfFVzpS2iVbbn4SLQoj/zEIFCP1Fl+ReeFeVjJ1SeGeOy6sP8PsjAOg6wjlOewqfBPYAy4R3KumgwjuVDieSRQiJi1ZPZRe///T44Cvb9/QQJDD8qiL8FMAp5oR3d6odKLwzynAU4u3l+/EXDL/79JOD7+ze0Wy26qlYtiL8zh7J+5gSJ+wTO4xufnp8ULV8OzPZWIGtWhEer3Yg0osQEr/8X3dcKJzirGLmBXa/IhwLhnfrVoQT9oml7lO7imXmyUpzRThhj5/+9ybVq1gq46BpFeEhwl0GBonIOxR9NFB4t92UH+XHezGJrwC8tH0/97G6gi1r+MtSRThhhiAU+OWiCwBwhHNycrLXsHtHdzH2UR+J6SyWdHgRIgQkwCKdMzlenTalIpzQj3o2hqMQoROeIWWrmFaB1evtiuDia8HwdSjDL1R0Ny2829SKcEI/paKH65vbVIaJWp7mer1dDXn41xDh7wGARcIq5F0UPJfCOyJRYh/KZxZvYyqJ7sGUsAD8Xv1bIe+iVPRQLOQoHU5oo/GvcUli2vZhia1gr5vv/hoi/DOAx8B42S6X8rR3IoxQyLvoDwIECKoAGpZvZ8LaAqvX29XAEd+p7F8h7+LJ7g4JizCKl3PQHwQAxxmAc8u3M2Etgb2uvzsLefg9kyhzzvBkdwelopfUvRHEwqj9fFTNkxpWFtibn1pfQ+LvwPjT43D/ESUtCGuoiEkyVrV6I/dYSWBxcZWKHg72isneFUEsiRLYQ4UKNlh6ySFxEWmEczaJoF7VL1MTJi4lsNf1d2ckLiKtuO74ceYOz57A6vV2lXH2PUDiItJJwRvveKSUVbt38pGFBRay8CWAspdz8GR3R98dEcSKqBWMSXZm904+spDA/tG8+hMYXnDOcLj/iCoyiFQyOXtl06ds2mCuwOr1dkVC/g0AKo8LlIonUkusuOG4Xm9XbN6LYq5aQh5+C6BcyLsol/IGbokgVkeJLECQikTHgwKr19tVRIW7lccFE/dDEGuhBMZ5OjKJDwosqowf20zIp0VkALWFkUhHJnGmwKIY9ncArV5EdpgsBBLpXsFCJ/wKQJmayBBZQqXqH+o4ZpLZIeLYfk2JDSJTuA6fHCNFOQSrPLQH+xIAijs5Q7dCEMmgEh2hE1oPE6cK7HX93RmASQdcgsgSE+uKlOkUWOQKpdWLyCRpMl9OFZi6MbL9E1kkTebLqQJTN0bhIZFFVNY7DebL6StYrIENQWQRtTiofIK1+7B5cSL7jIIQg2GIwTDAYBggFOMuswXPRd5zsFPIIeea32q4LkcQCjCHVY1fPH4fNi9OZAchJPqRiAbDAKNA4HY8jHwq8e+Vih72K0XkPXOPW8Eb90m0bb4kgRG/wu+PEAQhRoGA3x9hMAzGM7hWpOcP0fOH2K8UsV8x44T3PNUEx675kgS2xdwP70aBwGAYaLveVcfHKAhxdPBY2zUUkwQds1uTSALbAuLhXRAI9IfBg+GdTrq9AXKuo30lix0x7dbr7crJyV5H6wVnQALbMOKrUTzUSxNXHR+loqd9T6bmhkXmy3OtF5vBrP/DJoDj4Sikw+aUMoqEcxvtkXSHd0lzef0Bz492tV5DCSwyX55rvdgMpgtMogGG4yAUJDDLpCm8S5Lb/gijINSawo+ZL63tw6YKTDJ5zsBeDIchigWqRzRFfCVKa3iXJD1/iL2yvhaAhbwLvAcg7XWZmiowxlgDEuhnKOTIEvHwLp7J2zZu+yOtAkuD+XL6ChbKBuMMwQZ/eppCnSOp8G7dM6VNItT8e1DmSyEk6vV21cbky6kC++zk6fmbZgtBSAJblG0L77KCGswXmS8bpq8/M08qGfuRSflFfxBQ0W8MlXRQ4d28kiHCLkpgkfnyO9PXn6kcJmUDwBfDUbi1AlMr0WAYUningYKB2sTJ3DBL5svZKxhkjYF9uQ1hYjy8ix/UEnrJe/qPgGKexnQJjDFWgwSGo9Dk/Whl2YpwQh+cM5SK+juWxaKvY+0Xm8JMgTmhUwt5mFmBJV0RTiTLXnnH2JQe1xl7w17X3519dvL03MhF1bVnfePkZK/xptmCEBJBKFLbPsB0RTixPjmXaz3/uo+Xc6yZLx/eZUr8AIYXQZAOgakUOIV32YVzhmeHZaMz5rycA78/stJO+2GBMTQAvLCdqu/2+pGXiBIPWYZzhudHu0adzcBH86UNgT24LDGwGgBrB86jIETzbQcXrR6JK+PsFHI4flYxLi7ArvnyQYEJIWqAnUziYBig+bZD+6mMUyp6+O3RLp4f7VppfgP82nxp8toPfpy4cGshzGcShZD4+eKGsn4ZIudyuK6DYiGHnMuR91wrq9UsCvlxExzT5ssHfwMnJ3udN83WDYBdk+bLf112SVwpZqeQQ8Fz4UZCKniu0aTFKkzCxHFb+HNj1537CokaGF6YMl/6/RFlB1NC3nPvrEZ5z7EW5q1LrF991eh1573AtPmy073Vfg3iLpwz5D13Et6pUG+TsGW+nCsw0+bLnj80cp1tZefeHikL4V0STKIvw+bLuQIToahxzo2YL30KDRPjbmiX7fAuCThnE/Plq/rl6ecnhzUT150rsM9PDmvKfCmE3IpPuyyhwjvVC34Tw7ukUN4w7vAqgHQIDPhovtxmb1gaUOFdznUmmTz6wFscG+bLhdRC5kuz3A/v1NfEetgwXy62ghkyXzpb9mkcD+/UmRKFd/qwYb5c7GNR4Bwcf9Fd0ZGPQp5NPGSOJxrioR5hDhvmy4UE5sJthAjRH+hP1ZeKHrq9gfbr6CJ+jkThXfpQ7bRNmS8X+ssr8yUA7ebL/UoxEwKj8C6buA432q9+8Y9WQ+bLnOtgr7yDdooqOuIrEYV32UaZLyXMTL5cXGAMNRgyX+5XihPnsknSXhFOrI9p8+XCTw8Da0hII9YV5Xz9+eJGm8iyWBFOrE+sZCpdAhNC1BhnxtzNSmRXHX+tcJHCOyJObHuza6Jf/cICs2G+5Jzh6ZNHqJQLuOr46PnDmSn8bagIJ5IhZr6sQnO/+oUFFpkvrUy+zLnOZHC23x9BCInBMJgIicI7YhlMmi+X28FHky9tjpZVq1Kp6Fm5PpF9YiVTVd3XWirfLpk8B0Bzw4hMowQmmf6axKUExhhrADT5ksg2kxVMyi90X2spgYlw3MaNVjAiyyjzJQC8ql9qXcWWEphygSrzJUFkFbWKReZLbSxd8yQZ+xHYrLFGxPahhv9F5kttLC0wJqW1br8EkRSuG7Vxk+xM53WWX8EgG4C9fvUEkQSxfvVVnddZvixejA/maAUjsowp8+XSAnPhNgAYMV8ShE5UouN1/d2ZrmssLbCoOPIGoDCRWI5REMLvj+78ZzMbrcLEyHyp5xor/VTUr344ClMx+ZJIH8rPFwRiMnh+lpjynou9cgHlUsHoPZowX64msMh8aapfPZFe4nOx43Oyl32Pi1YPVx0fzw7LxkyusX716VrBTJoviXQhhMRNr4+eP0x8Cs4oEGi+7eDooGRkNVOpep3my5XiOzX5kvZg28VVx8c/f7nGu+sPWkdMXbR66Pb62t5fcd98qeMaKwlMtbuiFWw7EEKi+baDq45vLClxef0Bo0D/86XS9ZH5MnHWyVA0AUrXbzpqnK/pBkRCSFx1fO3Xmfgax+bLxFldYHJstaYwcbP512XX2iD6bm+gfRWLTb7Usg9bWWBkvtx8ur2+9XG+ugcyxsyXVR3vv3I+lDFWMzn5clsRQk7OkdSZUpycy1Es5LRk3UyEaPPo+UPslXe0vb9u8+XKAhOhaHDOKdGRIPFzJL8/QhCEc8+UbjEOpS6vP2CvvIP9SjGxe1n2PEsHupMqnDO4DkcQCi2TL1cWmJp8KYSkyZdLMoqEcxtVO6iD2nVQSYGeP8Szw8dr935My6xsE/s/1x0LjDv8FAlPvlzryJwmX87nfsmQ7j3NYBig+baD42eVtURmIkW+CCY+uAueqyZfVpN+77VUEZkvSWC4WzK0aHinCyEk3l6+x/Oj3ZUf0DSEhwCMlE3pNF+ut4JBNhjYVu3D4uHdKAgxGIbW0tgPMRgGaHdvE9uT2aJgQGCxfvXVpN97vbuPJl9u6lnYMhXhaeSq42OvvLPSKpZzOdIwQOqRgQazsSa6x/V6u3JystdJ6r3XEpjqV5/1ao4kKsLTyk2vv1Kaexya2R2EqI4gTKAmXwYIEh3Mt5bAon71NwB2dU++TAJ1pqTCOxXqbTKrniOVih7eXX/QcEeL82/RPAIT6Jp8uX6Am1LzpUo0DIZhJsO7pFj1A0QNa7f1AbRX3jHqNdRlvlxfYCkxXyqfUrc3SGXSIYvsV4r45eLG+HXLpTyePnlk9Jq6zJfJCEzata70/CEuWu+3coXSSbGQMz4ve6+8Y1xcwB3z5Ysk33ftmE6G4z6JtgR20XqPt5ddEpcmnj55hHIpr/06paKH42cVK+ICxnswlW1N0ny59gr22cnT8zfNlhXbykXrPbo9u5mutJPEQa0afpjU71pNIy14LvKeE432tT/W18s5iU++TOoUrwnguD8IjFV09PwhiWsBktoXHx08RqmYx7vr3lJHGPlIRCppkuYZ2UpgSU6+TEoNNQDHplYxISQuWu+NXCvrJBnelYoeSsUnk4Y38exsPhrjWyzk7gyezxI6zJeJ/AYkZI2BfWlqH3bT69OeawF2ooc9acZC27wRvjrMl4kcXDHGjE5codBwPpwzHB2UbN9GplDbmyTNl4kITISiAZgTGJ1zzefoYH1P2DaiwsSk+tUnIjDlAlXmS534G17atC5q5drEEM4EE+uKw6pJvF9ytU0SPwDUK9EmO4Ucnh/tGu/xvknEJl9Wk3i/5HbADA0AL0ym6olxxflO1PSG5gSsj+epJjjJmC8TU4IyX+pO1efc9BQUm0adI43PlsYHtdQLJVliky8TSdUnt9QYMl/mXAecs41O08dFFD+oJfQTM1/uJmG+TExgJs2XpaK3Ean6+yVDrutQmJcCkjRfJiawuPlyOArjnwSJUy4VMieweJnQTiFH4V2KUQJLwnyZbDYiMl8GodAqsGIhZ9UM+BD3w7sslgxtO2ofJiHX3ocl+5c3aL78zWEZ//zl2tpeLB7euZGIKLzbDGLmy+q675W8wAyZLzlneH60i58vbrSLLEsV4cT6JGm+TFRgMpQNxs31Scx7Lp4f7eKi1UukfCrn8kmigcK77UWZL4WQqNfb1ZOTvcbK75XgfVkxXyqRtbu3aHdvF17NVKKBwjtiGsobFjrhKdYwXyb+8az61Zus6OCcYb9SxH6leMerpHCi/RKFd8SiKIFJKU8BfLfq+ySuACZlAxb71W+qV4kwS1Lmy8TrjiRkDaDRskS2Scp8mbjATJsvCUIHSZkvExeYEzokMGIjSMJ8mbjAVEpTCElhIpFpJvOb1zBf6vF+RObLYEMmlBDbyaTcb4122noENjZfZn6sEbHdKPNl6gTGwCiTSGSeJMyXWgQmhKBEB5F57psvV3kPLQJz4ZLAiI1Apesj8+XSaBFYZLO+AUhkRLaZhInjfvXL/3yC93IXQ+ZLIvvE52KryaRqwIRyNOwUctgtFYy7wGMlU9WVfj65W7mLZPKcgVmffEmkh/hc7Pjg+Yd/RmAUDNHzh3h3/QH7lSL2yjvGhLau+VKbwBhjDUjcqWontgchJHr+YDIjO6n2DlcdH91eH88Oy0a8epPoa0XzpbYmg2ryJR02bxejIMRF6z3e/HSFi1YP7e5t4r1TRoHAzxc3RmYUcM4mq+Wr+uXSiQ5tAvvs5Ok5QGdh20S310fzbcdIxy8hpLHRwWoV4w6vLvuzWtvkSsZ+BKiiYxvo9vq4aPWMNiEaBQJXHV/7dSbWFbl8lymtAovMl5Sq33B6/hAXrZ6Va7e7txgFep+vSdHvCuZLvSsYmS83njSM8+35Q63vPzkLw/IlU3onKYhxV1Rawczh90fo9vq46vi46vhod2+1zlS76vjW5wToFlis9cXxsj+rNc/pwm2ECElgGoifI8UPamfBOUOp6GG/Uky06c9Nr5/Ye62KiWyi63AEocDr+rszlcBb6Oc03hNOTvYab5qtifkyttQSCyKERP+eiFZJewsh0e0N0O0NJh241sXvj6yvXgCMZRKDUCxtvtR/UifxAxheBAEJbB7xMiE/qnbQ8fBcdXwMhgGODh6vVRGRxtkAuvByzjjUXtIbpl9gUb96mnz5kVEQYjAM76xKpge79/whLq97ODp4bPS6WWVV86X2J56BNSTkVu7DkgrvdNHtDZD3XOyVd2zfylrsGKh1jZVMpUtgQoga4/pHy9rmoYrwNHPV8a1UqSeJiUazse3N7jL96rULTE2+3JQVbJWK8DQjhMRNr7/SKpaWedmmOjkX8i76gwABgioW7FevXWDR5MsmgGPdky+TJB7eBYFItCI8bfT84UoCMxGazaNcyhubNXDPfHm+0M9ou5s4Eg2w9Aosq+FdUqz6wZFzHeQ919oKzjnD4ZOSsevFSqaqi/6MEYEp82UarCvKpzROg4eZDu+SRAi50j5sr1ywUoeoBjCa3DvG+tUvnOgwIrA0mC+FkEvPENsm+sNgJed5uVTATW9gNHxW4jI9HHGygi3Rr97ILlWE4zZutlawwTBA8207FXVzaWWdhMVvDsvGEh7lUh7//tsnViaPrmK+NPJb+fzkcFJVb/oBHwwD/Hxxs1V7qlVYJ1HAOcNvNa4oO4Uc9itFnPx2b+3qk3VZ1nxp7GNATb40OZhPCGlkSHrWSSIbmHMdPD/anVTwr/YePBo4794ZPJ8mCp671ORLYwKzMfny8tqswzarJHWOxDnD0yePUCkXcNXx0fOHU3//PBrpW4hEpAbPZwE3CoWZZGcLvV7nzcSRkDUG9qWpio5REBrpDZF1OGfYLRUSfc+c60xqHEf3jjwKnpvpqpFYv/rqIq83dxRv2HzZ6dr3KWWB/UpR6wOfi1Yn9V+WxQUsb740JjAXbgMw1wCn59PqNY9S0ct8oa8NVKJjkcmXxgQWFUfeAGZ6dFDW8GHynktWlRVRYSLnfG6q3my1poSR8zCdPSg2gb3yDo6fVTIfrtliUtEBWZ33WrMCG5svqU+iJcqlPI6fVfD0ySPbt5JpljFfGj0ON2W+LFg45U8bec+9M5kk69m7NLGM+dLok2jKfKlKWrbhDCzn8sk5UvygltDHMuZLo3+Jz06enr9ptoyk6ouFnPZ+eaZRK5EbCYlWJXssar608VHXBHCsuwlOuVTIrMDuh3c5l6euZGjb8XLOOJcwx3xpXmCR+VJ3mFgqelbNgIugSoZUeJelkqFtZ9HJl8YFZtJ8eXRQQvNtR/t1FmHn3h6Jwrtss6j50rjAGGM1U+bL8WFqyajjNh7epbUinFifRc2XxgUmQtHgnBurSSxHhaxJiyzLFeHE+nDOJv3qX9UvT5Xn8T7GBfb5yWFN9atftQ/EspRLBeQ9F5fXH1aytscTDXSmRChcdyww7vBTAOkQGGDHfJn3XDw/2p2M95nmVbpv+FNfE8Q0YubL6qzXWHl6mJQ1GDZfKpRtQuH3R5QGJ1ZiEfOlnRUMssHAUtHtl/ZNxKrESqaqs15jp/dxZL7c9H71xGYTa6J7XK+3K9NeY0Vgps2XBKELJbIAwdTzMCsCM22+JAhdzDNf2huPEZkv07API4hVmWe+tCewyHw5HJLAiOwyyYLPMF9aExgDawC0ghGbgeQsPUkOYGy+BGgPRmSbeTWJ1gT22cnTc4BWMCLbzCuZsz0DtAlQup7YXGwLjMJEYqOxKjAJSal6ItPMWxysCowxRgIjMs3EmS/xw7TvWxWYCEUDIIER2UXIh1sDWhWYcoEq8yVBZA1VKCGZPJ/2fdtJjsnSSqsYkUVUbxnGxoUT97EvMDZu2kipeiKLqOfWCZ3zad+3LjAJ2QAoVU9kj9gUn+as9tnWBUbmSyKr+LcTgc0chm5dYC5cGmlEZBK1gkkh0yuwk5O9DiLzJSU6iKwQ60rWVHW107AuMAAfJ19SmEhkhE63DwBgYN8+9Lp0CIzMl0SG6PlDtRh0ueAvH3ptugRGISKRcoSQk9VLQn4TbXFmkgqByXCcqieBEWmn2xuo1etnV7gPhodASgSmNom0ByPSTH8QoPN+vHqB4b/mrV5ASgQWQeZLIrUIIdFq++rL7z/95GBmaj5OmgRGmUQitVy0eurZbDrC+XrRn0uNwMh8SaSVVttXz2VXCPHVIqGhIjUCI/MlkUZabR89fwgAkEJ+OWvQ3ixSM/zKCZ1ayEMSGJEKhJC4vP7wMSfA8IeHKjZmkZoVTFUjCyFpH0ZYZTgKcdHqKXF1wfC7Tz85eLnKe6VGYAAm5stJnwOCMEy3N8BFqxffc71YNGM4jXQJjMyXhCX6gwBvL9/j+uZ2XMQr8YMjnONl91z3Sc0eDAAYWE1C/p5CRMIU6vA49qHeZWB/+Y/q/twqjUVIlcCEEDXG0zFalthchJDw+yN0e4P7z9r/OML50zJp+HmkSmAu3FqIcSZRCDm37zdBLEIQCgxHIYbDEH5/NO0D/H8c4fx1lu1/HVL3BL/+6arGpPzicP8RDSgnlqY/CDAchR9FFX1Y30cy9iOXeMkFf5nkinWfVK1gAMCkPAfwhX87IoERM5mIaBiiPwwQBOLh4x2JH8BQA0PNCZ3vdIoqTuoEJoR4yTn/Y6xjD7HFCCExHIXoD4I7q9IsJGM/MikbErLGGKs5oVPTEfotSupCRAB402w1ABwf7BVRKnq2b4cwxH0RzQrvIm4gUZNMnjPGGjKUjVUqLXSTuhUMGPc5kJDfdHsDEtgGEg/vlJAWCO8aDKwmhKi5cGumQrx1SeUKVq+3KyEPmwDKRwelj4OmiUxxP7wLQjGviKAJoKbCOxGKxroHvbZJpcAA4HXz3V8Z2F+8nINnh49t3w4xh4mIAoH+MFgovFNJh7SGd0mQWoHFV7Enuzsol/K2b4nA3TOleDp8JlF4JyEbEDjPUniXBKkVGAD8o3n1Jwn5DecMzw4fw3XSVTq5yajwLr5H2rbwLglSLTDg48FzIe/i6KBk+3Y2komIlgzvGFhDCFHb1PAuCVIvsHq9XQ15+COAcrmUx5PdHdu3lFkme6R71Q6ziM6UarHwrmHzTCmLpF5gAPDmp9bXkPg7ANDZ2Hzi4Z0S0dzwTqIRnSlReJcgmRAYALxptr4F8EeARBbnfni3aMkQhXdmyIzAAOBNs/USwO+B7RPZiuFdQ0LWKLyzR6YEBtwV2abuyRatCI+Ih3cNEYoahXfpIXMCA+6Gi4W8i4O9YiZT+KtWhKvwbtvOlLJIJgUGTBIf/w2gzDlD5XEhtYfR8fAuixXhxOpkVmAA8Kp+ecoc5yWT8gsA8HIOnuzuWK1d3MSKcGJ1Mi0wRVTx8TcAZWAcNpaKntYkyDZVhBOrsxECA8a1iwEP/sTA/gzgMQBwzlAs5FDcyaHguSv1+Fi3IpzCu+1mYwSmiAntawDH8e95OQdezoHr8Jlh5BLZu62pCCdWZ+MEFudV/fKUc/61ZOxM7dNWYssrwonV2WiBxanX25UAwSk4zhhYBRKnU18YCYlKhgiCIAiCIAiCIAgiW/w/zQ1m2VyA5iUAAAAASUVORK5CYII=","e":1},{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":2,"nm":"magnify","refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":42,"s":[75]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":90,"s":[8]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":121,"s":[32]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":134,"s":[32]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":164,"s":[53]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":183,"s":[53]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":219,"s":[53]},{"t":272,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[333.752,339.42,0],"to":[-26,-25,0],"ti":[-4.333,25,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[177.752,189.42,0],"to":[4.333,-25,0],"ti":[-25.667,-23.333,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":90,"s":[359.752,189.42,0],"to":[25.667,23.333,0],"ti":[4.667,-23.333,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":121,"s":[331.752,329.42,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":134,"s":[331.752,329.42,0],"to":[-28.333,4.667,0],"ti":[28.333,-4.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":164,"s":[161.752,357.42,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":183,"s":[161.752,357.42,0],"to":[0,-24.333,0],"ti":[-28.667,3,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":219,"s":[161.752,211.42,0],"to":[28.667,-3,0],"ti":[-28.667,-21.333,0]},{"t":272,"s":[333.752,339.42,0]}],"ix":2},"a":{"a":0,"k":[87.194,86.29,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"glass 2","parent":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":20,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[68.687,68.686,0],"ix":2},"a":{"a":0,"k":[42.065,42.066,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":2,"nm":"glass","parent":1,"td":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[68.687,68.686,0],"ix":2},"a":{"a":0,"k":[42.065,42.066,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"paper","tt":1,"refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[125,125,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"paper","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":750,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":2,"nm":"paper_1","refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[263.625,231.897,0],"ix":2},"a":{"a":0,"k":[92.771,120.853,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"paper_2","refId":"image_3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[214.478,258.49,0],"ix":2},"a":{"a":0,"k":[107.933,130,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0}]}]'),layers:[{ddd:0,ind:1,ty:0,nm:"not_found 2",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2},a:{a:0,k:[250,250,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,w:500,h:500,ip:0,op:273,st:0,bm:0}],markers:[]},FQ={class:"dcode-card animate-slide-up"},RQ={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},NQ={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},UQ={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 xl:max-w-[15vw] md:max-w-[20vw] max-w-[30vw]"},$Q={class:"relative w-full sm:w-64"},WQ={key:0,class:"relative"},GQ={class:"flex flex-col h-full"},XQ={key:0,class:"flex-1 overflow-y-auto py-4"},KQ={class:"grid grid-cols-1 gap-4 px-1"},ZQ={key:0,class:"sticky bottom-0 left-0 right-0 bg-transparent border-t border-neutral-200 dark:border-neutral-700 pt-4 flex gap-2"},YQ={class:"flex justify-end gap-2 w-full"},JQ={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},QQ={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},eee={class:"dcode-table w-full"},tee={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},aee=["onClick"],nee={key:0,class:"flex items-center justify-center w-full"},oee={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},ree={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},iee={key:0,class:"px-3 py-0.5"},see={key:1},lee=["colspan"],cee={class:"flex flex-col items-center gap-2"},dee={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},hee={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},uee={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},pee={key:0,class:"flex items-center justify-center"},yee={key:0,class:"px-3 py-0.5 !text-center"},fee={key:0,class:"flex items-center justify-center gap-1.5"},mee={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},kee=["colspan"],gee={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},bee={class:"flex items-center gap-4"},xee={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},Mee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},wee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},vee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},Cee={class:"flex-shrink-0"},Lee={class:"space-y-4"},See={class:"text-gray-600 dark:text-gray-400"},Iee={class:"grid grid-cols-1 md:grid-cols-2 gap-4 py-4 px-1"},Aee={class:"flex items-end gap-2"},OS=a.defineComponent({name:"DataTable",__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1},userPermissions:{default:null},permissionChecker:{type:Function,default:void 0},permissions:{default:void 0},checkPermission:{type:Function,default:void 0},menuPermissions:{default:()=>[]},dummyMode:{type:Boolean,default:!1}},emits:["update:search","update:sort","update:page","create","export","action","update:selection","navigate"],setup(e,{expose:t,emit:n}){var aq,nq,oq,rq,iq,sq;const o=e,r=n,i=a.getCurrentInstance(),{apiUrl:s}=et(),{locale:c}=ZS.useI18n();let d={query:{},params:{},path:""};try{const A=fs.useRoute();A?d=A:(oq=(nq=(aq=i==null?void 0:i.appContext)==null?void 0:aq.config)==null?void 0:nq.globalProperties)!=null&&oq.$route&&(d=i.appContext.config.globalProperties.$route)}catch{console.warn("useRoute not available, using fallback")}let h={back:()=>console.warn("Router back() not available"),push:A=>{console.warn("Router push() logic called from fallback:",A),typeof A=="string"&&A.startsWith("/")&&(window.location.href=A)}};try{const A=fs.useRouter();A?h=A:(sq=(iq=(rq=i==null?void 0:i.appContext)==null?void 0:rq.config)==null?void 0:iq.globalProperties)!=null&&sq.$router&&(h=i.appContext.config.globalProperties.$router)}catch{console.warn("useRouter not available, using fallback")}const u=a.ref(""),p=a.ref(1),y=a.ref(o.perPage),f=a.ref({key:"",direction:"asc"}),m=a.ref([]),k=a.ref(!1),g=a.ref(0),x=a.ref({}),C=a.ref([]),w=a.ref(null),b=a.ref(!0),L=a.ref([]),S=a.ref([]),v=a.ref([]),M=a.ref(!1),I=a.ref(!1),V=a.ref({}),_=a.ref(null),B=a.ref(null),D=a.ref(null),z=a.ref([]),G=a.computed(()=>{if(N.value.length===0)return!1;const A=N.value.map(E=>{const X=W.value.find(j=>j.type==="CHECKBOX"),P=(X==null?void 0:X.keyCheckbox)||"id";return E[P]}).filter(E=>E!=null);return A.length===0?!1:A.every(E=>z.value.includes(E))}),H=a.computed(()=>{if(N.value.length===0)return!1;const A=W.value.find(j=>j.type==="CHECKBOX"),E=(A==null?void 0:A.keyCheckbox)||"id",X=N.value.map(j=>j[E]).filter(j=>j!=null),P=X.filter(j=>z.value.includes(j)).length;return P>0&&P<X.length}),O=A=>{const E=W.value.find(j=>j.type==="CHECKBOX"),X=(E==null?void 0:E.keyCheckbox)||"id",P=A[X];return P!==void 0&&z.value.includes(P)},U=A=>{const E=W.value.find(j=>j.type==="CHECKBOX"),X=(E==null?void 0:E.keyCheckbox)||"id",P=N.value.map(j=>j[X]).filter(j=>j!=null);if(A){const j=new Set([...z.value,...P]);z.value=Array.from(j)}else z.value=z.value.filter(j=>!P.includes(j))},J=(A,E)=>{const X=W.value.find(K=>K.type==="CHECKBOX"),P=(X==null?void 0:X.keyCheckbox)||"id",j=A[P];j!=null&&(E?z.value.includes(j)||z.value.push(j):z.value=z.value.filter(K=>K!==j))};a.watch(z,A=>{var X;r("update:selection",A);const E=G.value||A.length>1;(X=S.value)!=null&&X.length&&S.value.forEach(P=>{var j;(j=P.fieldActionGlobal)!=null&&j.length&&P.fieldActionGlobal.forEach(K=>{var ve,Re;const de=P.endpoint||((ve=P.propsActionGlobal)==null?void 0:ve.endpointPropAction)||P.propsActionGlobal,ze=(Re=de==null?void 0:de.keyParam)==null?void 0:Re[0];(ze&&K.model===ze||!ze&&/^(id|ids|idAuditTrail)/i.test(K.model))&&E&&K.model&&(V.value[K.model]=A)})})},{deep:!0});const T=A=>Array.from({length:A}).map((E,X)=>{const P={id:X+1,no:X+1};return W.value.forEach(j=>{j.key!=="no"&&j.key!=="action"&&j.type!=="ACTION"&&j.type!=="action"&&(j.type==="CHECKBOX"?P[j.keyCheckbox||"id"]=X+1:j.type==="BADGE"||j.type==="badge"||j.condition?P[j.key]=j.condition&&j.condition.length>0?j.condition[0].value:"Active":P[j.key]=`Data ${j.label} ${X+1}`)}),P}),R=A=>A&&typeof A=="string"&&A.trim()?A:void 0,F=a.computed(()=>{var A,E,X,P;return R((E=(A=w.value)==null?void 0:A.endpoint)==null?void 0:E.apiModule)||R((P=(X=w.value)==null?void 0:X.endpointGlobal)==null?void 0:P.apiModule)||o.apiModule}),Y=a.computed(()=>{var A,E,X,P;return R((E=(A=w.value)==null?void 0:A.endpoint)==null?void 0:E.apiAction)||R((P=(X=w.value)==null?void 0:X.endpointGlobal)==null?void 0:P.apiAction)||o.apiAction}),Q=a.computed(()=>{var A,E,X,P;return R((E=(A=w.value)==null?void 0:A.endpoint)==null?void 0:E.apiMethod)||R((P=(X=w.value)==null?void 0:X.endpointGlobal)==null?void 0:P.apiMethod)||o.apiMethod||"POST"}),re=a.computed(()=>{var A,E,X,P;return R((E=(A=w.value)==null?void 0:A.endpoint)==null?void 0:E.apiUrl)||R((P=(X=w.value)==null?void 0:X.endpointGlobal)==null?void 0:P.apiUrl)||o.apiUrl}),he=a.computed(()=>o.permissionBase||""),pe=a.computed(()=>!v.value||v.value.length===0?[]:[...v.value].sort((A,E)=>(A.seq||0)-(E.seq||0))),Ve=A=>{if(!A)return"col-span-1";const E=A.toLowerCase();return{full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[E]||"col-span-1"},ue=()=>{let A=null;if(o.tableConfig&&(A=o.tableConfig),A){w.value=A,A.headers&&(C.value=A.headers.map(P=>{var de,ze,me,ve,Re,Ee,De,Qt,ys,GS;if(P.key==="action"||((de=P.custom)==null?void 0:de.type)==="ACTION"||((ze=P.custom)==null?void 0:ze.type)==="action"){const Oa=((me=P.custom)==null?void 0:me.actionCustom)||((ve=P.custom)==null?void 0:ve.action);return Oa&&(L.value=Oa.map(fa=>{const Ge=fa.propsActionCustom||fa.props||{},XS=fa.propCustomMessage||{};return{permission:fa.permission,label:c.value==="id"?Ge.labelID:Ge.labelEN,tooltip:c.value==="id"?Ge.tooltipID||Ge.labelID:Ge.tooltipEN||Ge.labelEN,icon:Ge.icon,variant:Ge.variant||"ghost",bgColor:Ge.bgColor,action:Ge.actionType||Ge.key,route:Ge.route,path:Ge.path,endpoint:Ge.endpointPropAction,requiredCondition:fa.requiredCondition||!1,propCustomCondition:fa.propCustomCondition||[],openDialog:fa.openDialog||!1,fieldActionCustom:(fa.fieldActionCustom||[]).map(KS=>{const WA=KS.propsFieldCustom||KS.propsFieldGlobal||KS.props||{};return{...KS,props:{...WA,endpoint:WA.endpointComponent||WA.endpoint}}}),requireConfirm:fa.requireConfirm||Ge.requireConfirm||!1,confirmTitle:c.value==="id"?XS.titleID||Ge.confirmTitleID||"Konfirmasi":XS.titleEN||Ge.confirmTitleEN||"Confirm",confirmMessage:c.value==="id"?XS.messageID||Ge.confirmMessageID||"Apakah Anda yakin?":XS.messageEN||Ge.confirmMessageEN||"Are you sure?"}})),null}let j;const K=((Re=P.custom)==null?void 0:Re.conditionBadge)||((Ee=P.custom)==null?void 0:Ee.condition);return(((De=P.custom)==null?void 0:De.type)==="BADGE"||((Qt=P.custom)==null?void 0:Qt.type)==="badge")&&K&&(j=K.map(Oa=>({value:Oa.value,label:c.value==="id"?Oa.labelID:Oa.labelEN,color:Oa.color,variant:Oa.variant}))),{key:P.key,label:c.value==="id"?P.labelID:P.labelEN,width:P.width,align:P.align,sortable:!0,type:(ys=P.custom)==null?void 0:ys.type,condition:j,keyCheckbox:(GS=P.custom)==null?void 0:GS.keyCheckbox}}).filter(P=>P!==null));const E=A.filters||A.filter;E&&Array.isArray(E)&&(v.value=E.map(P=>({...P,props:P.propsFilters||P.props||{}})),v.value.forEach(P=>{x.value[P.model]=""}));const X=A.actionGlobal||A.action;console.log("[DEBUG] loadConfig rawActions:",X),X&&Array.isArray(X)?(S.value=X.map(P=>{const j=P.propsActionGlobal||P.props||{};return{key:j.key,permission:P.permission,label:c.value==="id"?j.labelID||"Action":j.labelEN||"Action",tooltip:c.value==="id"?j.tooltipID||j.labelID:j.tooltipEN||j.labelEN,icon:j.icon,variant:j.variant||"default",bgColor:j.bgColor,textColor:j.textColor,route:j.route,path:j.path,endpoint:j.endpointPropAction||P.endpoint,openDialog:P.openDialog||!1,fieldActionGlobal:(P.fieldActionGlobal||P.field||[]).map(K=>{const de=K.propsFieldGlobal||K.props||{};return{...K,props:{...de,endpoint:de.endpointComponent||de.endpoint}}})}}),console.log("[DEBUG] loadConfig headerActions set:",S.value)):console.log("[DEBUG] loadConfig no rawActions found"),A.pagination!==void 0&&(b.value=A.pagination)}};a.watch(()=>o.tableConfig,()=>{ue()},{deep:!0,immediate:!0});const W=a.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?C.value:o.columns||[]),q=a.computed(()=>o.hasActions||L.value.length>0),$=a.computed(()=>F.value||re.value?k.value:o.loading),ee=a.computed(()=>!!F.value||!!re.value),ye=a.computed(()=>[]),Oe=A=>{if(console.log("[DEBUG] hasAction called:",{actionCode:A,permissionChecker:!!o.permissionChecker,effectivePath:he.value}),o.menuPermissions&&o.menuPermissions.length>0){const E=d.path,X=o.menuPermissions.find(P=>E.startsWith(P.path));if(X&&X.actions){const P=X.actions.find(j=>j.code===A.toUpperCase());return P?P.checked:!1}return!1}if(o.permissionChecker){const E=o.permissionChecker(he.value,A);return console.log("[DEBUG] permissionChecker result:",E),E}return ye.value.some(E=>E.code===A)},xt=(A,E)=>{if(!A.visibilityCondition)return!0;const{field:X,operator:P,value:j}=A.visibilityCondition,K=Le(E,X);switch(P){case"equals":return K===j;case"notEquals":return K!==j;case"in":return Array.isArray(j)&&j.includes(K);case"notIn":return Array.isArray(j)&&!j.includes(K);case"greaterThan":return K>j;case"lessThan":return K<j;case"contains":return String(K).includes(String(j));default:return!0}},Mt=a.computed(()=>{if(console.log("[DEBUG] visibleHeaderActions:",{headerActions:S.value,ignorePermissions:o.ignorePermissions}),S.value.length===0)return S.value;const A=S.value.filter(E=>{if(o.ignorePermissions)return!0;if(!E.permission)return console.log("[DEBUG] Action no permission, showing:",E.label),!0;if(o.checkPermission){const P=o.checkPermission(E.permission);return console.log("[DEBUG] Parent checkPermission result:",P),P}if(o.permissions){const P=o.permissions.includes(E.permission);return console.log("[DEBUG] Parent permissions check result:",P),P}const X=Oe(E.permission);return console.log("[DEBUG] Internal permission check:",{label:E.label,permission:E.permission,hasPerm:X}),X});return console.log("[DEBUG] Filtered header actions:",A.length),A}),pa=a.computed(()=>L.value.length===0?L.value:L.value.filter(A=>o.ignorePermissions||!A.permission?!0:o.checkPermission?o.checkPermission(A.permission):o.permissions?o.permissions.includes(A.permission):Oe(A.permission))),ya=A=>pa.value.filter(E=>xt(E,A)),Jl=(A,E)=>{var j,K;if(A.requiredCondition&&((j=A.propCustomCondition)==null?void 0:j.length)>0){const de=Le(E,"status"),ze=A.propCustomCondition.find(me=>me.value===de);if(ze)return ze.bgColor||A.bgColor||"primary"}if(!A.dynamicColor||!A.colorCondition)return A.bgColor||"primary";const X=Le(E,A.colorCondition.field),P=(K=A.colorCondition.conditions)==null?void 0:K.find(de=>de.value===X);return(P==null?void 0:P.bgColor)||A.bgColor||"primary"},Ws=A=>{const E=(A||"left").toLowerCase();return E==="center"?"justify-center":E==="right"?"justify-end":"justify-start"},Ql={ToggleLeft:kl,SquarePen:at,Trash2:Ti,Eye:Ms,CheckCircle:ba,Plus:ul,Download:ol,RefreshCw:Cs,Search:vr,SlidersHorizontal:ml},e1=A=>A?aa[A]?aa[A]:Ql[A]||null:null,N=a.computed(()=>o.dummyMode&&W.value.length>0&&m.value.length===0&&ne.value.length===0?T(5):ee.value?m.value.map((A,E)=>({...A,no:(p.value-1)*y.value+E+1})):ne.value),ae=a.computed(()=>ee.value?g.value:Z.value.length),ce=a.computed(()=>ae.value===0?0:(p.value-1)*y.value+1),_e=a.computed(()=>{const A=p.value*y.value;return A>ae.value?ae.value:A}),Le=(A,E)=>{if(!(!A||!E))return E in A?A[E]:E.split(".").reduce((X,P)=>X&&X[P],A)},Z=a.computed(()=>{if(ee.value)return[];if(!u.value)return o.data;const A=u.value.toLowerCase();return o.data.filter(E=>W.value.some(X=>{const P=Le(E,X.key);return P==null?!1:String(P).toLowerCase().includes(A)}))}),te=a.computed(()=>ee.value?[]:f.value.key?[...Z.value].sort((E,X)=>{const P=Le(E,f.value.key),j=Le(X,f.value.key);if(P===j)return 0;let K=0;return typeof P=="number"&&typeof j=="number"?K=P-j:K=String(P).localeCompare(String(j)),f.value.direction==="asc"?K:-K}):Z.value),ne=a.computed(()=>{if(ee.value)return[];const A=(p.value-1)*y.value,E=A+y.value;return te.value.slice(A,E).map((X,P)=>({...X,no:A+P+1}))}),fe=a.computed(()=>ee.value?Object.values(x.value).some(A=>!!A):!!u.value),je=[10,25,50,100],Jt=()=>{ee.value&&(x.value={...x.value,keyword:u.value},p.value=1,Qe())};let FS;const GP=()=>{o.enableQuickSearch&&(clearTimeout(FS),FS=setTimeout(()=>{Jt()},500))};let RS;const XP=()=>{clearTimeout(RS),RS=setTimeout(()=>{ee.value&&Qe()},1e3)};a.watch(u,()=>{o.enableQuickSearch&&ee.value&&GP()});const Qe=async()=>{if(ee.value&&!(!F.value&&!re.value))try{k.value=!0;const A={page:p.value,perPage:y.value,...x.value,...o.apiParams};u.value&&(A.keyword=u.value),Object.keys(A).forEach(X=>{(A[X]===""||A[X]===null||A[X]===void 0)&&delete A[X]});let E;F.value?E=await s(F.value,Y.value,A):re.value&&(E=await s(re.value,Q.value,A)),KP(E)}catch(A){console.error("DataTable fetch error",A),k.value=!1}},KP=A=>{console.log("DataTable handleResponseData:",A),A&&(o.dynamicColumns&&A.columns&&Array.isArray(A.columns)&&(C.value=A.columns.map(E=>({key:E.key||E.field||E.name,label:E.label||E.header||E.name,width:E.width,align:E.align||"LEFT",sortable:E.sortable!==!1,type:E.type,condition:E.condition,format:E.format}))),A.data&&Array.isArray(A.data)?(m.value=A.data,A.totalData?g.value=A.totalData:A.maxPage?g.value=A.maxPage*y.value:g.value=A.data.length*(A.maxPage||1)):Array.isArray(A)?(m.value=A,g.value=A.length):A.users?(m.value=A.users,g.value=A.users.length):A.items&&Array.isArray(A.items)?(m.value=A.items,g.value=A.total||A.totalItems||A.items.length):A.list&&Array.isArray(A.list)?(m.value=A.list,g.value=A.total||A.list.length):A.rows&&Array.isArray(A.rows)?(m.value=A.rows,g.value=A.count||A.total||A.rows.length):A.result&&Array.isArray(A.result)?(m.value=A.result,g.value=A.total||A.count||A.result.length):(console.warn("DataTable: Unknown response format",A),m.value=[],g.value=0)),k.value=!1};a.onUnmounted(()=>{clearTimeout(FS),clearTimeout(RS)});const NS=()=>{Object.keys(x.value).forEach(A=>{x.value[A]=""}),u.value="",p.value=1,Qe()},ZP=()=>{p.value=1,Qe()},US=(A,E)=>{const X=Le(A,E.key);let P={variant:"secondary",class:"",label:X};if(E.condition){const j=E.condition.find(K=>{const de=(ze,me)=>typeof ze=="string"&&typeof me=="string"?ze.toLowerCase().trim()===me.toLowerCase().trim():ze==me;return typeof X=="object"&&X!==null?de(K.value,X.code)||de(K.value,X.id):de(K.value,X)});if(j){if(j.variant&&(P.variant=j.variant),P.label=j.label||(typeof X=="object"?X.name||X.code:X),j.color){const K=j.color.toLowerCase(),de=P.variant==="outline",ze={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},me={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},ve={danger:"destructive",secondary:"secondary",primary:"default"};de?me[K]&&(P.class=me[K]):ve[K]?P.variant=ve[K]:ze[K]&&(P.class=ze[K])}}else P.label=typeof X=="object"?(X==null?void 0:X.name)||(X==null?void 0:X.code)||"-":X}else P.label=typeof X=="object"?(X==null?void 0:X.name)||(X==null?void 0:X.code)||"-":X;return P},YP=A=>{f.value.key===A?f.value.direction=f.value.direction==="asc"?"desc":"asc":(f.value.key=A,f.value.direction="asc"),r("update:sort",f.value)},$A=A=>{A!==p.value&&(p.value=A,ee.value&&Qe(),r("update:page",A))},JP=A=>{y.value=A,p.value=1,ee.value&&Qe()},QP=A=>{const E=Math.random()*15+75;if(A.width){const X=parseInt(String(A.width));return X<100?`${Math.floor(X*(Math.random()*.2+.7))}px`:`${E}%`}return`${E}%`},$S=()=>{u.value="",x.value={},p.value=1,Qe()},qee=A=>{var E;if(console.log("[DEBUG] handleHeaderAction called:",A),A.route){if(A.path){const X=A.route.startsWith("/")?A.route:"/"+A.route;sessionStorage.setItem(`layout_${X}`,A.path)}h==null||h.push(A.route)}else if(A.openDialog){B.value=A,D.value=null,V.value={};const X=A.fieldActionGlobal||A.field||[];X.length&&X.forEach(P=>{var de;const j=A.endpoint||((de=A.propsActionGlobal)==null?void 0:de.endpointPropAction)||A.propsActionGlobal,K=j!=null&&j.keyParam&&j.keyParam.length>0?j.keyParam[0]:null;K&&P.model===K||!K&&/^(id|ids|idAuditTrail)/i.test(P.model)?V.value[P.model]=z.value:V.value[P.model]||(V.value[P.model]="")}),I.value=!0}else r("action",{action:((E=A.propsActionCustom)==null?void 0:E.key)||A.key||"create",row:null,selection:z.value})},Dee=async(A,E)=>{var X,P,j,K;if(A.requireConfirm){_.value={button:A,row:E},M.value=!0;return}if(A.openDialog){B.value=A,D.value=E,V.value={};const de=W.value.find(ve=>ve.type==="CHECKBOX"),ze=(de==null?void 0:de.keyCheckbox)||"id";A.fieldActionCustom&&A.fieldActionCustom.forEach(ve=>{/^(id|ids|idAuditTrail)/i.test(ve.model)?V.value[ve.model]=[E[ze]]:A.action==="showToken"&&ve.model==="token"?V.value[ve.model]=E.token!==void 0?E.token:"":E[ve.model]!==void 0?V.value[ve.model]=E[ve.model]:V.value[ve.model]=""});const me=A.endpoint||((X=A.propsActionGlobal)==null?void 0:X.endpointPropAction)||((P=A.propsActionCustom)==null?void 0:P.endpointPropAction)||((j=A.props)==null?void 0:j.endpointPropAction);if(((K=me==null?void 0:me.apiMethod)==null?void 0:K.toUpperCase())==="GET"&&me.apiUrl){k.value=!0;const{apiUrl:ve}=et(),Re={};me.keyParam&&Array.isArray(me.keyParam)&&me.keyParam.forEach((Ee,De)=>{const Qt=me.model&&De===0?me.model:Ee;E[Ee]!==void 0&&(Re[Qt]=E[Ee])}),Object.keys(Re).length===0&&E.id&&(Re.id=E.id),ve(me.apiUrl,"GET",Re).then(Ee=>{let De=Ee;if(Ee&&Ee.data!==void 0?De=Ee.data:Ee&&Ee.result!==void 0&&(De=Ee.result),De!=null){if(typeof De=="string")V.value.hasOwnProperty("token")&&(V.value.token=De);else if(typeof De=="object"&&(De.item&&(De=De.item),Array.isArray(De)&&(De=De[0]||{}),Object.keys(De).forEach(Qt=>{V.value[Qt]=De[Qt]}),!V.value.token)){const Qt=Object.keys(De).find(ys=>ys.toLowerCase().includes("token"));if(Qt)V.value.token=De[Qt];else{const ys=Object.values(De).filter(GS=>typeof GS=="string");ys.length===1&&(V.value.token=ys[0])}}}I.value=!0}).catch(Ee=>{console.error("Fetch Data Failed",Ee)}).finally(()=>{k.value=!1});return}I.value=!0;return}eq(A,E)},eq=(A,E)=>{if(A.route){if(A.path){const j=A.route.startsWith("/")?A.route:"/"+A.route;sessionStorage.setItem(`layout_${j}`,A.path)}let X=A.route;X.includes(":")?X=X.replaceAll(/:([a-zA-Z0-9_]+)/g,(j,K)=>E[K]||E.id||K):E.id&&(X=`${X.replace(/\/$/,"")}/${E.id}`);const P={};A.path&&(P.code=A.path),h==null||h.push({path:X,query:P})}else if(A.endpoint&&A.endpoint.apiUrl){k.value=!0;const{apiUrl:X}=et(),P=A.endpoint.apiUrl,j=A.endpoint.apiMethod||"POST",K={};A.endpoint.keyParam&&Array.isArray(A.endpoint.keyParam)&&A.endpoint.keyParam.forEach((de,ze)=>{const me=A.endpoint.model&&ze===0?A.endpoint.model:de;E[de]!==void 0&&(K[me]=E[de])}),Object.keys(K).length===0&&E.id&&(K.id=E.id),X(P,j,K).then(()=>{Qe(),r("action",{action:A.action||"success",row:E})}).catch(de=>{console.error("Action Failed",de)}).finally(()=>{k.value=!1})}else r("action",{action:A.action,row:E})},Eee=()=>{_.value&&(eq(_.value.button,_.value.row),tq())},Tee=()=>{var A,E,X;if(B.value){const P=B.value,j=P.endpoint||((A=P.propsActionGlobal)==null?void 0:A.endpointPropAction)||P.propsActionGlobal;let K=(j==null?void 0:j.model)||(j!=null&&j.keyParam&&j.keyParam.length>0?j.keyParam[0]:null);if(!K){const ve=(P.fieldActionGlobal||P.fieldActionCustom||P.field||[]).find(Re=>/^(id|ids|idAuditTrail)/i.test(Re.model));K=ve?ve.model:"ids"}let de=null,ze=!1;if(D.value){const me=W.value.find(Ee=>Ee.type==="CHECKBOX"),ve=(me==null?void 0:me.keyCheckbox)||"id",Re=D.value[ve];j!=null&&j.apiUrl&&(de={...V.value},de[K]||(de[K]=[Re]),ze=!0)}else j!=null&&j.apiUrl&&(de={...V.value},de[K]||(de[K]=z.value||[]),ze=!0);if(ze&&de&&(j!=null&&j.apiUrl)){if(((E=j==null?void 0:j.apiMethod)==null?void 0:E.toUpperCase())==="GET"){I.value=!1,D.value||(z.value=[]);return}const{apiUrl:me}=et(),ve=j.apiUrl,Re=j.apiMethod||"POST";me(ve,Re,de).then(()=>{I.value=!1,D.value||(z.value=[]),Qe(),r("action",{action:"success",row:null})}).catch(Ee=>{console.error("Action Failed",Ee)})}else if(D.value){const me=W.value.find(De=>De.type==="CHECKBOX"),ve=(me==null?void 0:me.keyCheckbox)||"id",Re=D.value[ve],Ee={...V.value};Ee[K]||(Ee[K]=[Re]),r("action",{action:B.value.action,row:Ee}),I.value=!1}else{const me={...V.value};me[K]||(me[K]=z.value);const ve={action:((X=B.value.propsActionGlobal)==null?void 0:X.key)||B.value.key,row:me,selection:z.value};r("action",ve),I.value=!1}}},Hee=A=>{const E=V.value[A];E&&mJ(String(E)).then(()=>{Pe.success("Berhasil disalin!",{autoClose:2e3,theme:"dark",pauseOnHover:!1})}).catch(X=>{console.error("Failed to copy",X)})},tq=()=>{M.value=!1,_.value=null},Oee=a.computed(()=>_.value?_.value.button.confirmTitle||"Confirm":""),jee=a.computed(()=>_.value?_.value.button.confirmMessage||"Confirm":"");t({fetchData:Qe,filters:x,resetFilters:NS,handleRefresh:$S});const WS=a.ref(""),Fee=A=>{if(!A)return"";const E=A.endpoint||A.endpointGlobal||{};return JSON.stringify({url:E.apiUrl||A.apiUrl,module:E.apiModule||A.apiModule,action:E.apiAction||A.apiAction,method:E.apiMethod||A.apiMethod,params:A.apiParams,socket:E.socket||A.socketEndpoint,socketParams:A.socketParams})};return a.watch(()=>o.tableConfig,()=>{if(o.tableConfig){ue();const A=Fee(o.tableConfig);A!==WS.value&&(!WS.value&&ee.value?(WS.value=A,Qe()):(WS.value=A,ee.value&&XP()))}},{deep:!0,immediate:!0}),a.watch(()=>o.apiModule,()=>{ee.value&&Qe()}),a.watch(()=>o.apiParams,()=>{ee.value&&Qe()},{deep:!0}),a.watch(()=>S.value,A=>{console.log("[DEBUG] headerActions changed:",A.length,"items");const E=Mt.value;console.log("[DEBUG] visibleHeaderActions evaluated:",E.length,"items")},{deep:!0}),a.onMounted(()=>{ue(),ee.value&&(o.tableConfig||(k.value=!0,Qe()))}),(A,E)=>{var X;return a.openBlock(),a.createElementBlock("div",FQ,[a.createElementVNode("div",RQ,[a.createElementVNode("div",NQ,[e.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",UQ,[a.createElementVNode("div",$Q,[a.createVNode(a.unref(vr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),a.createVNode(a.unref(PA),{modelValue:u.value,"onUpdate:modelValue":E[0]||(E[0]=P=>u.value=P),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:a.withKeys(Jt,["enter"])},null,8,["modelValue"])]),v.value.length>0?(a.openBlock(),a.createElementBlock("div",WQ,[a.createVNode(SJ,null,{trigger:a.withCtx(()=>[a.createVNode(oa,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:a.withCtx(()=>[a.createElementVNode("div",YQ,[a.renderSlot(A.$slots,"filter-footer",{fetch:Qe,reset:NS})])]),default:a.withCtx(()=>[E[8]||(E[8]=a.createElementVNode("hr",{class:"border-neutral-200 dark:border-neutral-700"},null,-1)),a.createElementVNode("div",GQ,[a.renderSlot(A.$slots,"filter-form",{filters:x.value},()=>[v.value.length>0?(a.openBlock(),a.createElementBlock("div",XQ,[a.createElementVNode("div",KQ,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(pe.value,(P,j)=>(a.openBlock(),a.createElementBlock("div",{key:j,class:a.normalizeClass(Ve(P.column))},[a.createVNode(zP,{field:P,modelValue:x.value[P.model],"onUpdate:modelValue":K=>x.value[P.model]=K},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):a.createCommentVNode("",!0)]),v.value.length>0?(a.openBlock(),a.createElementBlock("div",ZQ,[a.createVNode(oa,{variant:"outline",text:"Reset",tooltip:"Reset",rounded:"md",icon:"RefreshCw",onClick:NS,disabled:$.value},null,8,["disabled"]),a.createVNode(oa,{onClick:ZP,disabled:$.value,rounded:"md",text:"Search",tooltip:"Search",icon:"Search"},null,8,["disabled"])])):a.createCommentVNode("",!0)])]),_:3})])):a.createCommentVNode("",!0)])),a.createElementVNode("div",{class:a.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":e.nested}])},[e.nested?(a.openBlock(),a.createElementBlock("span",JQ)):a.createCommentVNode("",!0),e.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(oa,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:$S,disabled:$.value},{icon:a.withCtx(()=>[a.createVNode(a.unref(Cs),{class:a.normalizeClass(["w-3.5 h-3.5",{"animate-spin":$.value}])},null,8,["class"])]),_:1},8,["disabled"])),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Mt.value,(P,j)=>(a.openBlock(),a.createBlock(oa,{key:j,icon:P.icon,text:P.label,tooltip:P.tooltip,variant:P.variant,"bg-color":P.bgColor,"text-color":P.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:K=>qee(P)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),a.renderSlot(A.$slots,"header-actions")],2)])]),a.createElementVNode("div",QQ,[a.createElementVNode("table",eee,[a.createElementVNode("thead",tee,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,P=>(a.openBlock(),a.createElementBlock("th",{key:P.key,class:a.normalizeClass([P.align?`text-${P.align.toLowerCase()}`:"",P.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:a.normalizeStyle(P.width?{width:P.width}:{}),onClick:j=>P.sortable&&YP(P.key)},[P.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",nee,[a.createVNode(Gl,{"model-value":G.value,indeterminate:H.value,"onUpdate:modelValue":E[1]||(E[1]=j=>U(!!j)),onClick:E[2]||(E[2]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-2 w-full",Ws(P.align)])},[a.createElementVNode("span",null,a.toDisplayString(P.label),1)],2))],14,aee))),128)),q.value?(a.openBlock(),a.createElementBlock("th",oee,[...E[9]||(E[9]=[a.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):a.createCommentVNode("",!0)])]),a.createElementVNode("tbody",ree,[$.value?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(y.value,P=>(a.openBlock(),a.createElementBlock("tr",{key:`skeleton-${P}`},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,j=>{var K,de;return a.openBlock(),a.createElementBlock("td",{key:j.key,class:a.normalizeClass([j.align?`text-${j.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[a.createElementVNode("div",{class:a.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(j.type??"")||j.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((K=j.align)==null?void 0:K.toLowerCase())==="center"?"mx-auto":"",((de=j.align)==null?void 0:de.toLowerCase())==="right"?"ml-auto":""]]),style:a.normalizeStyle({width:["badge","BADGE"].includes(j.type??"")||j.condition?void 0:QP(j),backgroundSize:"200% 100%"})},null,6)],2)}),128)),e.hasActions?(a.openBlock(),a.createElementBlock("td",iee,[...E[10]||(E[10]=[a.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):a.createCommentVNode("",!0)]))),128)):N.value.length===0?(a.openBlock(),a.createElementBlock("tr",see,[a.createElementVNode("td",{colspan:W.value.length+(q.value?1:0),class:"text-center py-16"},[a.createElementVNode("div",cee,[a.createVNode(a.unref(uq.Vue3Lottie),{animationData:a.unref(jQ),height:200,width:200},null,8,["animationData"]),a.createElementVNode("div",null,[a.createElementVNode("p",dee,a.toDisplayString(fe.value?"No search results":"No data"),1),a.createElementVNode("p",hee,a.toDisplayString(fe.value?"Try changing keywords":"No data added"),1)])])],8,lee)])):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(N.value,(P,j)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:j},[a.createElementVNode("tr",uee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,K=>(a.openBlock(),a.createElementBlock("td",{key:K.key,class:a.normalizeClass([K.align?`text-${K.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[a.renderSlot(A.$slots,`cell-${K.key}`,{row:P,value:Le(P,K.key)},()=>[K.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",pee,[a.createVNode(Gl,{"model-value":O(P),"onUpdate:modelValue":de=>J(P,!!de),onClick:E[3]||(E[3]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):K.type==="badge"||K.type==="BADGE"||K.condition?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[K.align?`justify-${K.align}`:"justify-start"]])},[a.createVNode(a.unref(Ta),{variant:US(P,K).variant,class:a.normalizeClass([US(P,K).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(US(P,K).label),1)]),_:2},1032,["variant","class"])],2)):K.key==="no"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString((p.value-1)*y.value+j+1),1)],64)):K.type==="date"||K.type==="DATE"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createTextVNode(a.toDisplayString(Le(P,K.key)?a.unref(yJ)(Le(P,K.key),"long"):"-"),1)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createTextVNode(a.toDisplayString(K.format?K.format(Le(P,K.key)):Le(P,K.key)),1)],64))])],2))),128)),q.value?(a.openBlock(),a.createElementBlock("td",yee,[a.renderSlot(A.$slots,"actions",{row:P,buttons:ya(P),getButtonColor:Jl,getIconComponent:e1},()=>[ya(P).length>0?(a.openBlock(),a.createElementBlock("div",fee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ya(P),(K,de)=>(a.openBlock(),a.createElementBlock("div",{key:de,class:"group relative"},[a.createVNode(oa,{tooltip:K.tooltip||K.label,icon:K.icon,size:"icon",rounded:K.rounded||"sm",borderStyle:K.borderStyle||"none",variant:K.variant||"ghost","bg-color":Jl(K,P),onClick:ze=>Dee(K,P)},null,8,["tooltip","icon","rounded","borderStyle","variant","bg-color","onClick"])]))),128))])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0)]),A.$slots["expanded-row"]?(a.openBlock(),a.createElementBlock("tr",mee,[a.createElementVNode("td",{colspan:W.value.length+(q.value?1:0),class:"px-0 py-0"},[a.renderSlot(A.$slots,"expanded-row",{row:P,index:j})],8,kee)])):a.createCommentVNode("",!0)],64))),128))])])]),!$.value&&N.value.length>0&&e.showPagination&&b.value?(a.openBlock(),a.createElementBlock("div",gee,[a.createElementVNode("div",bee,[a.createVNode(a.unref(TJ),{"model-value":String(y.value),"onUpdate:modelValue":E[4]||(E[4]=P=>JP(Number(P)))},{default:a.withCtx(()=>[a.createVNode(a.unref(NJ),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:a.withCtx(()=>[a.createVNode(a.unref(UJ),{placeholder:String(y.value)},null,8,["placeholder"])]),_:1}),a.createVNode(a.unref(HJ),null,{default:a.withCtx(()=>[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(je,P=>a.createVNode(a.unref(jJ),{key:P,value:String(P)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(P),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),E[15]||(E[15]=a.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),a.createElementVNode("span",xee,[E[11]||(E[11]=a.createTextVNode(" Showing ",-1)),a.createElementVNode("span",Mee,a.toDisplayString(ce.value),1),E[12]||(E[12]=a.createTextVNode(" to ",-1)),a.createElementVNode("span",wee,a.toDisplayString(_e.value),1),E[13]||(E[13]=a.createTextVNode(" of ",-1)),a.createElementVNode("span",vee,a.toDisplayString(ae.value),1),E[14]||(E[14]=a.createTextVNode(" items ",-1))])]),a.createElementVNode("div",Cee,[a.createVNode(a.unref(BJ),{total:ae.value,"items-per-page":y.value,"sibling-count":1,"show-edges":"",page:p.value,"onUpdate:page":$A,class:"scale-90 origin-right"},{default:a.withCtx(()=>[a.createVNode(a.unref(VJ),{class:"flex items-center gap-1"},{default:a.withCtx(({items:P})=>[a.createVNode(a.unref(zJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(el),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(EJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(bn),{class:"h-4 w-4"})]),_:1}),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(P,(j,K)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[j.type==="page"?(a.openBlock(),a.createBlock(a.unref(PJ),{key:K,value:j.value,"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Ne),{class:"w-8 h-8 p-0 text-sm",variant:j.value===p.value?"default":"outline",disabled:j.value===p.value,onClick:de=>$A(j.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(j.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(a.openBlock(),a.createBlock(a.unref(_J),{key:j.type,index:K},null,8,["index"]))],64))),256)),a.createVNode(a.unref(DJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(xn),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(qJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(tl),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):a.createCommentVNode("",!0),a.createVNode(LS,{modelValue:M.value,"onUpdate:modelValue":E[5]||(E[5]=P=>M.value=P),title:Oee.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:a.withCtx(()=>[a.createVNode(a.unref(Ne),{variant:"outline",onClick:tq},{default:a.withCtx(()=>[...E[16]||(E[16]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Ne),{onClick:Eee},{default:a.withCtx(()=>[...E[17]||(E[17]=[a.createTextVNode(" Yes ",-1)])]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("div",Lee,[a.createElementVNode("p",See,a.toDisplayString(jee.value),1)])]),_:1},8,["modelValue","title"]),a.createVNode(LS,{modelValue:I.value,"onUpdate:modelValue":E[7]||(E[7]=P=>I.value=P),title:((X=B.value)==null?void 0:X.label)||"Action",icon:"AlertCircle","max-width":450},{actions:a.withCtx(()=>[a.createVNode(a.unref(Ne),{variant:"outline",onClick:E[6]||(E[6]=P=>I.value=!1)},{default:a.withCtx(()=>[...E[18]||(E[18]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Ne),{onClick:Tee},{default:a.withCtx(()=>[...E[19]||(E[19]=[a.createTextVNode(" Save ",-1)])]),_:1})]),default:a.withCtx(()=>{var P,j;return[a.createElementVNode("div",Iee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(((P=B.value)==null?void 0:P.fieldActionCustom)||((j=B.value)==null?void 0:j.fieldActionGlobal)||[],(K,de)=>{var ze,me,ve;return a.openBlock(),a.createElementBlock(a.Fragment,{key:de},[K.isHidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(Ve(K.column))},[a.createElementVNode("div",Aee,[a.createVNode(zP,{class:"flex-1 w-full",field:K,modelValue:V.value[K.model],"onUpdate:modelValue":Re=>V.value[K.model]=Re},null,8,["field","modelValue","onUpdate:modelValue"]),K.isCopyable||(ze=K.props)!=null&&ze.isCopyable||((me=B.value)==null?void 0:me.action)==="showToken"||((ve=B.value)==null?void 0:ve.action)==="copyToken"?(a.openBlock(),a.createBlock(oa,{key:0,icon:"Copy",variant:"outline",class:"h-10 w-10 p-0 flex-shrink-0",tooltip:"Salin",onClick:Re=>Hee(K.model)},null,8,["onClick"])):a.createCommentVNode("",!0)])],2))],64)}),128))])]}),_:1},8,["modelValue","title"])])}}}),Bee={class:"h-full flex flex-col"},Vee={key:1,class:"flex-1 flex items-center justify-center"},_ee={key:2,class:"flex-1 flex items-center justify-center text-red-500"},UP=a.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{},userPermissions:{},permissionBase:{}},emits:["action","navigate"],setup(e,{emit:t}){var C,w,b,L,S,v;const n=e,o=t,r=a.getCurrentInstance(),{apiUrl:i}=et();let s={query:{},params:{},path:""};try{const M=fs.useRoute();M?s=M:(b=(w=(C=r==null?void 0:r.appContext)==null?void 0:C.config)==null?void 0:w.globalProperties)!=null&&b.$route&&(s=r.appContext.config.globalProperties.$route)}catch{console.warn("useRoute not available, using fallback")}let c={back:()=>console.warn("Router back() not available"),push:M=>{console.warn("Router push() logic called from fallback:",M),typeof M=="string"&&M.startsWith("/")&&(window.location.href=M)}};try{const M=fs.useRouter();M?c=M:(v=(S=(L=r==null?void 0:r.appContext)==null?void 0:L.config)==null?void 0:S.globalProperties)!=null&&v.$router&&(c=r.appContext.config.globalProperties.$router)}catch{console.warn("useRouter not available, using fallback")}const d=a.inject("hasActionAccess",()=>!1),h=a.inject("userPermissions",null),u=a.ref(null),p=a.ref(!0),y=a.ref(null),f="/api/auto-layout/datatable/form-dynamic?code=",m=a.computed(()=>`${f}${n.layoutCode}`),k=async()=>{var M;p.value=!0;try{const I=await i(m.value,"GET");I.status&&(u.value=Array.isArray(I.data)?I.data[0]:I.data,console.log("[DEBUG] AutoLayoutDatatable config loaded:",u.value),console.log("[DEBUG] actionGlobal in config:",(M=u.value)==null?void 0:M.actionGlobal))}catch(I){console.error("Gagal Menampilkan Datatable:",I)}finally{p.value=!1}},g=M=>{M.action==="add"&&console.log("[AutoLayoutDatatable] Add action triggered"),console.log("Aksi:",M.action,M)},x=M=>{console.log("[DEBUG] AutoLayoutDatatable handleNavigate:",M);let I=M.route;if(I||(I=`/${((s==null?void 0:s.path)||"").split("/")[1]||"product"}/create`),I){const V=M.path?{code:M.path}:{};console.log("[DEBUG] Emitting navigate to parent:",{path:I,query:V}),o("navigate",{route:I,query:V})}else console.warn("[DEBUG] No route or path provided for navigation")};return a.onMounted(()=>{k()}),(M,I)=>(a.openBlock(),a.createElementBlock("div",Bee,[!p.value&&u.value?(a.openBlock(),a.createBlock(OS,{key:0,ref_key:"dtRef",ref:y,"api-url":m.value,"api-method":"GET","table-config":u.value,"permission-base":n.permissionBase||"","dummy-mode":["form-add","form-edit","datatable-create","datatable-edit"].includes(n.layoutCode),"user-permissions":n.userPermissions||a.unref(h),"permission-checker":a.unref(d),onAction:g,onNavigate:x},{"header-actions":a.withCtx(()=>[...I[0]||(I[0]=[])]),_:1},8,["api-url","table-config","permission-base","dummy-mode","user-permissions","permission-checker"])):p.value?(a.openBlock(),a.createElementBlock("div",Vee,[...I[1]||(I[1]=[a.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(a.openBlock(),a.createElementBlock("div",_ee," Failed to load configuration for "+a.toDisplayString(n.layoutCode),1))]))}}),$P=a.defineCustomElement(_P),WP=a.defineCustomElement(UP);typeof customElements<"u"&&(customElements.get("micro-dynamic-form")||customElements.define("micro-dynamic-form",$P),customElements.get("micro-dynamic-datatable")||customElements.define("micro-dynamic-datatable",WP));const zee=[cI,bB,oa,NV,Qz,Gl,eP,wA,LS,kP,SS,gP,IA,bP,BA,_A,VA,zA,xP,qA,MP,wP,vP,CP,DA,EA,TA,IS,AP,BP,VP,OS],Pee={install(e,t={}){t&&Object.keys(t).length>0&&XA(t),zee.forEach(n=>{n.name&&e.component(n.name,n)})}};oe.AutoLayoutDatatable=UP,oe.AutoLayoutForm=_P,oe.DCodeAutoComplete=cI,oe.DCodeButton=oa,oe.DCodeCard=NV,oe.DCodeChart=Qz,oe.DCodeCheckbox=Gl,oe.DCodeCurrencyField=eP,oe.DCodeDatePicker=wA,oe.DCodeDialog=LS,oe.DCodeDialogCloseBtn=kP,oe.DCodeDropzone=SS,oe.DCodeFileField=gP,oe.DCodeFileResult=IA,oe.DCodeIconDropdown=bP,oe.DCodeImageCropperDialog=BA,oe.DCodeImageField=_A,oe.DCodeImageResult=VA,oe.DCodeInfiniteAutoComplete=bB,oe.DCodeLabel=zA,oe.DCodeMultiSelect=xP,oe.DCodeOtpInput=qA,oe.DCodeProgress=MP,oe.DCodeProgressBar=wP,oe.DCodeRadio=vP,oe.DCodeRadioCustom=CP,oe.DCodeSlider=DA,oe.DCodeSwitch=EA,oe.DCodeTextField=TA,oe.DCodeTextarea=IS,oe.DCodeTimelineWithIcons=AP,oe.DCodeUploadFile=BP,oe.DCodeWizard=VP,oe.DataTable=OS,oe.DataTableComponent=OS,oe.MicroDynamicDatatable=WP,oe.MicroDynamicForm=$P,oe.cn=xe,oe.default=Pee,oe.setApiConfig=XA,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
8598
|
+
`,""),$=Number(q);return Number.isFinite($)?$:null}return W},z=W=>{k.value=W,o("update:modelValue",D(W))},G=(W,q)=>{const $=y(q);x.value=!0,W.value=$,z($),queueMicrotask(()=>x.value=!1)},H=(W,q)=>{const $=W.selectionStart??W.value.length,ee=W.selectionEnd??W.value.length;if(p.value>0){const ye=W.value.length-(ee-$),Oe=p.value-ye;if(Oe<=0)return;q=q.slice(0,Oe)}W.setRangeText(q,$,ee,"end"),G(W,_(W.value))},j=W=>{var ee;if(!B||g.value||x.value||!((ee=W.inputType)!=null&&ee.startsWith("insert")))return;const q=W.data;if(q==null)return;const $=_(q);$!==q&&(W.preventDefault(),$.length>0&&H(B,$))},U=W=>{var ee;if(!B||g.value||x.value)return;const q=((ee=W.clipboardData)==null?void 0:ee.getData("text"))??"",$=_(q);$!==q&&(W.preventDefault(),$.length>0&&H(B,$))},J=async W=>{if(!B||g.value||x.value)return;const q=W.target,$=q.value??"",ee=_($);if(ee===$){const ye=q.selectionStart??ee.length,Oe=q.selectionEnd??ee.length;G(q,ee),await a.nextTick();try{q.setSelectionRange(ye,Oe)}catch{}z(ee)}else{const ye=q.selectionStart??ee.length,Oe=q.selectionEnd??ee.length;G(q,ee),await a.nextTick();try{q.setSelectionRange(ye,Oe)}catch{}}},E=()=>g.value=!0,R=()=>{if(g.value=!1,!B)return;const W=B.value??"",q=_(W);q===W?z(q):G(B,q)};a.onMounted(()=>{if(B=document.getElementById(d.value),!B)return;B.addEventListener("beforeinput",j),B.addEventListener("paste",U),B.addEventListener("input",J),B.addEventListener("compositionstart",E),B.addEventListener("compositionend",R);const W=B.value??"",q=_(W);q===W?z(q):G(B,q)}),a.onBeforeUnmount(()=>{B&&(B.removeEventListener("beforeinput",j),B.removeEventListener("paste",U),B.removeEventListener("input",J),B.removeEventListener("compositionstart",E),B.removeEventListener("compositionend",R),B=null)});const F=()=>{k.value="",B&&(B.value=""),o("update:modelValue",null),o("clear")},Y=a.computed(()=>k.value.length),Q=a.computed(()=>r.showCharCount?p.value>0:!1),re=a.computed(()=>Q.value&&Y.value>0),he=a.computed(()=>`${Y.value} / ${p.value}`),pe=a.computed(()=>!!r.error),_e=a.computed(()=>{const W=n.rows,q=typeof W=="number"?W:Number.parseInt(String(W??""),10);return Number.isFinite(q)&&q>0?q:3}),ue=a.computed(()=>({height:`${_e.value*24+16}px`}));return(W,q)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",kZ)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:a.normalizeStyle(ue.value)},null,4)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(qa),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",gZ,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",bZ,[a.createElementVNode("textarea",a.mergeProps({id:d.value,value:k.value},u.value,{style:`text-transform: ${L.value}; padding-right: ${m.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",pe.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,xZ),m.value?(a.openBlock(),a.createElementBlock("div",MZ,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:F}," ✕ ")])):a.createCommentVNode("",!0),re.value&&!pe.value?(a.openBlock(),a.createElementBlock("p",wZ,a.toDisplayString(he.value),1)):a.createCommentVNode("",!0)]),pe.value?(a.openBlock(),a.createElementBlock("p",vZ,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,mZ)),[[a.vShow,s.value]])}}),LP=a.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(DH),{class:a.normalizeClass(a.unref(xe)(a.unref(CZ)({size:e.size,shape:e.shape}),t.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),SP=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(TH),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),IP=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(jH),a.mergeProps(t,{class:"h-full w-full object-cover"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),CZ=xl("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),AS=a.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(dj),a.mergeProps(a.unref(n),{class:a.unref(xe)("shrink-0 bg-border",t.orientation==="horizontal"?"h-px w-full":"w-px h-full",t.class)}),null,16,["class"]))}}),LZ={class:"bg-card text-card-foreground"},SZ={class:"pb-6 px-3"},IZ={key:0,class:"flex justify-center p-8"},AZ={key:1,class:"p-8 text-center text-red-500"},BZ={key:2,class:"relative"},VZ={class:"space-y-6"},_Z={class:"rounded-xl border bg-card text-card-foreground shadow"},zZ={class:"p-4"},PZ={class:"flex items-center justify-between gap-3"},qZ={class:"font-medium"},DZ={class:"text-xs text-muted-foreground"},EZ={class:"mt-1 text-sm text-muted-foreground"},TZ={class:"text-foreground"},HZ={class:"text-foreground"},OZ={class:"mt-1 text-xs text-muted-foreground"},jZ={key:0,class:"mt-3 flex items-center gap-2 text-sm"},FZ={class:"flex items-center justify-between gap-3"},RZ={class:"font-medium"},NZ={class:"text-xs text-muted-foreground"},UZ={class:"mt-2 text-sm text-muted-foreground"},$Z={class:"flex flex-wrap items-center justify-between gap-3"},WZ={class:"flex items-center gap-3"},GZ={class:"leading-tight"},XZ={class:"text-sm font-medium"},KZ={class:"text-xs text-muted-foreground"},ZZ={class:"flex items-center gap-2"},YZ={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},JZ={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},QZ=["src"],eY={class:"flex-1"},tY={class:"flex items-center justify-between gap-3"},aY={class:"font-medium"},nY={class:"text-xs text-muted-foreground"},oY={class:"mt-1 text-sm text-muted-foreground"},rY={class:"text-left sm:text-center"},iY={class:"text-xs text-muted-foreground"},sY={class:"text-left sm:text-center"},lY={class:"text-xs text-muted-foreground"},cY={class:"text-left sm:text-center"},dY={class:"text-xs text-muted-foreground"},hY={class:"flex items-center justify-between gap-3"},uY={class:"font-medium"},pY={class:"text-xs text-muted-foreground"},yY={class:"mt-2 text-sm text-muted-foreground"},fY={class:"mt-3 flex items-center gap-3"},mY={class:"text-sm font-medium"},kY={class:"flex items-start justify-between gap-3"},gY={class:"font-medium"},bY={class:"mt-3 grid gap-2 text-sm"},xY={class:"flex items-center justify-between gap-3"},MY={class:"flex items-center gap-2 text-muted-foreground"},wY={class:"font-medium"},vY={class:"flex items-center justify-between gap-3"},CY={class:"flex items-center gap-2 text-muted-foreground"},LY={class:"font-medium"},SY={class:"flex items-center justify-between gap-3"},IY={class:"flex items-center gap-2 text-muted-foreground"},AY={class:"font-medium"},BY={class:"flex items-center justify-between"},VY={class:"flex items-center gap-2"},_Y={class:"flex items-start justify-between gap-3"},zY={class:"flex items-center gap-2"},PY={class:"font-medium"},qY={class:"mt-2 text-sm text-muted-foreground"},DY={key:0,class:"mt-1 text-sm text-muted-foreground"},EY={class:"flex flex-wrap items-center justify-between gap-3"},TY={class:"flex items-center gap-2"},HY={class:"text-xs text-muted-foreground"},AP=a.defineComponent({name:"DCodeTimelineWithIcons",__name:"DCodeTimelineWithIcons",props:{items:{},apiUrl:{},apiMethod:{}},setup(e){const n=CT(vT).smaller("md");a.ref(!1);const o=e,r=a.ref(!1),i=a.ref(null),s=a.ref([]),c=a.computed(()=>s.value.length>0?s.value:o.items&&o.items.length>0?o.items:[]),d=async()=>{if(o.apiUrl){r.value=!0,i.value=null;try{const p=await fetch(o.apiUrl,{method:o.apiMethod||"GET",headers:{"Content-Type":"application/json"}});if(!p.ok)throw new Error(`Error: ${p.status} ${p.statusText}`);const y=await p.json();Array.isArray(y)?s.value=y:y.data&&Array.isArray(y.data)?s.value=y.data:y.items&&Array.isArray(y.items)?s.value=y.items:s.value=[]}catch(p){console.error("Failed to fetch timeline items:",p),i.value=p.message||"Failed to fetch data"}finally{r.value=!1}}};a.onMounted(()=>{o.apiUrl&&d()}),a.watch(()=>o.apiUrl,()=>{o.apiUrl?d():s.value=[]});const h=p=>{switch(p){case"flight":return{Icon:hl,Circle:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:nl,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:fl,Circle:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:mr,Circle:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:pl,Circle:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:ll,Circle:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};default:return{Icon:al,Circle:"bg-primary/10 text-primary border-primary/30"}}},u=p=>p.split(" ").filter(Boolean).slice(0,2).map(y=>{var f;return(f=y[0])==null?void 0:f.toUpperCase()}).join("");return(p,y)=>{const f=a.resolveComponent("ShoppingCart"),m=a.resolveComponent("RefreshCcw"),k=a.resolveComponent("MapPin");return a.openBlock(),a.createElementBlock("div",LZ,[y[8]||(y[8]=a.createElementVNode("div",{class:"flex flex-col space-y-1.5 py-6 px-3"},[a.createElementVNode("h3",{class:"leading-none tracking-tight text-lg font-medium"},"Timeline With Icons")],-1)),a.createElementVNode("div",SZ,[r.value?(a.openBlock(),a.createElementBlock("div",IZ,[...y[0]||(y[0]=[a.createElementVNode("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):i.value?(a.openBlock(),a.createElementBlock("div",AZ,a.toDisplayString(i.value),1)):(a.openBlock(),a.createElementBlock("div",BZ,[y[7]||(y[7]=a.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),a.createElementVNode("div",VZ,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(c.value,(g,x)=>(a.openBlock(),a.createElementBlock("div",{key:x,class:"relative pl-14"},[a.createElementVNode("div",{class:a.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",h(g.type).Circle])},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(h(g.type).Icon),{class:"h-4 w-4"}))],2),a.createElementVNode("div",_Z,[a.createElementVNode("div",zZ,[g.type==="flight"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",PZ,[a.createElementVNode("p",qZ,a.toDisplayString(g.title),1),a.createElementVNode("p",DZ,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",EZ,[a.createElementVNode("span",TZ,a.toDisplayString(g.from),1),a.createVNode(a.unref(Ys),{class:"mx-2 inline h-4 w-4"}),a.createElementVNode("span",HZ,a.toDisplayString(g.to),1)]),a.createElementVNode("p",OZ,a.toDisplayString(g.time),1),g.fileName?(a.openBlock(),a.createElementBlock("div",jZ,[a.createVNode(a.unref(ws),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("span",null,a.toDisplayString(g.fileName),1)])):a.createCommentVNode("",!0)],64)):g.type==="interview"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",FZ,[a.createElementVNode("p",RZ,a.toDisplayString(g.title),1),a.createElementVNode("p",NZ,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",UZ,a.toDisplayString(g.desc),1),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",$Z,[a.createElementVNode("div",WZ,[a.createVNode(a.unref(LP),{class:"h-10 w-10"},{default:a.withCtx(()=>[g.avatarUrl?(a.openBlock(),a.createBlock(a.unref(IP),{key:0,src:g.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(SP),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("div",GZ,[a.createElementVNode("p",XZ,a.toDisplayString(g.personName),1),a.createElementVNode("p",KZ,a.toDisplayString(g.personRole),1)])]),a.createElementVNode("div",ZZ,[a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(vs),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(dl),{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="product"?(a.openBlock(),a.createElementBlock("div",YZ,[a.createElementVNode("div",JZ,[g.imgUrl?(a.openBlock(),a.createElementBlock("img",{key:0,src:g.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,QZ)):(a.openBlock(),a.createBlock(f,{key:1,class:"h-5 w-5 text-muted-foreground"}))]),a.createElementVNode("div",eY,[a.createElementVNode("div",tY,[a.createElementVNode("p",aY,a.toDisplayString(g.title),1),a.createElementVNode("p",nY,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",oY,a.toDisplayString(g.desc),1),a.createElementVNode("div",{class:a.normalizeClass(["mt-4 grid gap-3",a.unref(n)?"grid-cols-1":"grid-cols-3"])},[a.createElementVNode("div",rY,[y[1]||(y[1]=a.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),a.createElementVNode("p",iY,a.toDisplayString(g.customer),1)]),a.createElementVNode("div",sY,[y[2]||(y[2]=a.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),a.createElementVNode("p",lY,a.toDisplayString(g.price),1)]),a.createElementVNode("div",cY,[y[3]||(y[3]=a.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),a.createElementVNode("p",dY,a.toDisplayString(g.qty),1)])],2)])])):g.type==="design"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createElementVNode("div",hY,[a.createElementVNode("p",uY,a.toDisplayString(g.title),1),a.createElementVNode("p",pY,a.toDisplayString(g.meta),1)]),a.createElementVNode("p",yY,a.toDisplayString(g.desc),1),a.createElementVNode("div",fY,[a.createVNode(a.unref(LP),{class:"h-10 w-10"},{default:a.withCtx(()=>[g.avatarUrl?(a.openBlock(),a.createBlock(a.unref(IP),{key:0,src:g.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(SP),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(u(g.personName??"")),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("p",mY,a.toDisplayString(g.personName),1)])],64)):g.type==="server"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createElementVNode("div",kY,[a.createElementVNode("p",gY,a.toDisplayString(g.title),1),a.createVNode(a.unref(Ta),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g.chipText??""),1)]),_:2},1024)]),a.createElementVNode("div",bY,[a.createElementVNode("div",xY,[a.createElementVNode("div",MY,[a.createVNode(a.unref(il),{class:"h-4 w-4"}),y[4]||(y[4]=a.createElementVNode("span",null,"IP Address",-1))]),a.createElementVNode("span",wY,a.toDisplayString(g.ip),1)]),a.createElementVNode("div",vY,[a.createElementVNode("div",CY,[a.createVNode(a.unref(xs),{class:"h-4 w-4"}),y[5]||(y[5]=a.createElementVNode("span",null,"CPU",-1))]),a.createElementVNode("span",LY,a.toDisplayString(g.cpu),1)]),a.createElementVNode("div",SY,[a.createElementVNode("div",IY,[a.createVNode(a.unref(xs),{class:"h-4 w-4"}),y[6]||(y[6]=a.createElementVNode("span",null,"Memory",-1))]),a.createElementVNode("span",AY,a.toDisplayString(g.memory),1)])]),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",BY,[a.createElementVNode("div",VY,[a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(yl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(m,{class:"h-4 w-4"})]),_:1})])])],64)):g.type==="location"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:5},[a.createElementVNode("div",_Y,[a.createElementVNode("div",zY,[a.createVNode(k,{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("p",PY,a.toDisplayString(g.title),1)]),a.createVNode(a.unref(Ta),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g.chipText),1)]),_:2},1024)]),a.createElementVNode("p",qY,a.toDisplayString(g.desc1),1),g.desc2?(a.openBlock(),a.createElementBlock("p",DY,a.toDisplayString(g.desc2),1)):a.createCommentVNode("",!0),a.createVNode(a.unref(AS),{class:"my-4"}),a.createElementVNode("div",EY,[a.createElementVNode("div",TY,[a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(sl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(vs),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Xe),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(gl),{class:"h-4 w-4"})]),_:1})]),a.createElementVNode("p",HY,"Due date: "+a.toDisplayString(g.due),1)])],64)):a.createCommentVNode("",!0)])])]))),128))])]))])])}}}),OY={class:"dcode-upload-file"},jY={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},FY={key:0,class:"text-xs text-gray-500 mt-1"},RY=["accept"],NY={key:1,class:"text-xs text-red-600 mt-1"},BP=a.defineComponent({name:"DCodeUploadFile",__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(a.openBlock(),a.createElementBlock("div",OY,[e.label?(a.openBlock(),a.createBlock(zA,{key:0,label:e.label},null,8,["label"])):a.createCommentVNode("",!0),a.createElementVNode("div",jY,[a.createVNode(a.unref(xa),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=a.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[a.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),a.createTextVNode(" or drag and drop ")],-1)),e.accept?(a.openBlock(),a.createElementBlock("p",FY,a.toDisplayString(e.accept),1)):a.createCommentVNode("",!0),a.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:e.accept},null,40,RY)]),e.errorMessage?(a.openBlock(),a.createElementBlock("p",NY,a.toDisplayString(e.errorMessage),1)):a.createCommentVNode("",!0)]))}}),UY=["onClick"],$Y={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},WY={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},GY={key:1},XY={key:0,class:"text-white"},KY={key:1},ZY={key:2},YY=["disabled","onClick"],JY={key:1,class:"mr-2 text-sm font-bold opacity-70"},QY={class:"whitespace-normal text-sm text-center leading-tight"},eJ={class:"flex flex-col flex-1 min-w-0"},tJ={class:"text-sm text-muted-foreground"},aJ={class:"px-1"},nJ=["disabled"],oJ=["type"],rJ=["disabled"],VP=Wt(a.defineComponent({name:"DCodeWizard",__name:"DCodeWizard",props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1},isSubmit:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(e,{emit:t}){const n=e,o=t,r=et(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=a.ref(n.defaultTab),c=a.computed({get(){var v;if(typeof n.modelValue=="string"){const M=(v=n.tabs)==null?void 0:v.findIndex(I=>I.key===n.modelValue);if(M!==void 0&&M>=0)return M}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(v){var M;if(s.value=v,typeof n.modelValue=="string"){const I=(M=n.tabs)==null?void 0:M[v];I?o("update:modelValue",I.key):o("update:modelValue",v)}else o("update:modelValue",v)}}),d=a.computed(()=>{var v;return((v=n.tabs)==null?void 0:v.length)??0}),h=a.computed(()=>{var v;return(v=n.tabs)==null?void 0:v[c.value]});function u(v){return d.value<=0?0:Math.min(Math.max(v,0),d.value-1)}function p(v){return v?typeof v=="string"?na[v]||null:v:null}const y=a.reactive({});function f(v){return y[v.key]||(y[v.key]={loaded:!1,loading:!1,data:null,error:null}),y[v.key]}function m(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function k(v){const M=v.endpoint||{};return{apiModule:v.apiModule||M.apiModule,apiAction:v.apiAction||M.apiAction,apiUrl:M.apiUrl,apiMethod:M.apiMethod||"GET",apiParams:v.apiParams}}function g(v){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const M=n.tabs[v];return!(!M||M.disabled)}async function x(v){if(typeof v.tab.fetchData=="function"){const z=await v.tab.fetchData(),G=(z==null?void 0:z.data)??z;return(G==null?void 0:G.data)??G}const M=k(v.tab);if(!(M.apiModule&&M.apiAction||M.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const V=m();let _;if(M.apiUrl)_=await i("","",V,{_url:M.apiUrl,_method:M.apiMethod,_data:M.apiParams??void 0});else{const z={...V,...M.apiParams};_=await i(M.apiModule,M.apiAction,z)}const B=(_==null?void 0:_.data)??_;return(B==null?void 0:B.data)??B}async function C(v,{force:M=!1}={}){const I=u(v),V=n.tabs[I];if(!V)return;const _=f(V);if(!(n.cache&&_.loaded&&!M)&&!_.loading){_.loading=!0,_.error=null;try{const B=await x({tabIndex:I,tab:V});_.data=B,_.loaded=!0,o("loaded",{tabIndex:I,tab:V,data:B})}catch(B){const D=typeof(B==null?void 0:B.message)=="string"&&B.message||typeof B=="string"&&B||"Failed to load tab data.";_.error=D,o("error",{tabIndex:I,tab:V,message:D})}finally{_.loading=!1}}}function w(v){const M=u(v);g(M)&&M!==c.value&&(c.value=M)}function b(v=c.value){return C(v,{force:!0})}function L(){const v=u(c.value-1);v!==c.value&&(c.value=v)}function S(){const v=u(c.value+1);v!==c.value&&(c.value=v)}return a.watch(()=>n.tabs,v=>{for(const M of v??[])f(M)},{immediate:!0}),a.watch(()=>c.value,async v=>{var I;const M=(I=n.tabs)==null?void 0:I[v];M&&o("change",{tabIndex:v,tab:M}),await C(v)},{immediate:!0}),a.watch(()=>n.autoFetchOnMount,async v=>{v&&await C(c.value)},{immediate:!0}),(v,M)=>{var I,V,_;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["w-full rounded-lg border bg-card text-card-foreground shadow-sm",{"flex flex-row":e.isVertical}])},[a.createElementVNode("div",{class:a.normalizeClass(["flex flex-col space-y-1.5 p-6",{"w-64 border-r pr-0":e.isVertical,"pb-2":e.isWizard&&!e.isVertical}])},[a.createElementVNode("div",{class:a.normalizeClass({"mt-4":!e.isVertical||e.isWizard})},[e.isWizard?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["w-full relative flex overflow-visible rounded-lg",e.isVertical?"flex-col gap-2":""])},[e.isVertical?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("div",{key:B.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[a.createElementVNode("div",{class:a.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-card",[D<c.value?"wizard-num-done":"",D===c.value?"wizard-num-active":D>c.value?"wizard-num-pending":""]])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"w-4 h-4"})):e.typeWizard==="number"||!B.icon&&e.typeWizard!=="none"?(a.openBlock(),a.createElementBlock("span",GY,[D<c.value?(a.openBlock(),a.createElementBlock("span",XY,"✓")):(a.openBlock(),a.createElementBlock("span",KY,a.toDisplayString(D+1),1))])):(a.openBlock(),a.createElementBlock("span",ZY))],2),a.createElementVNode("span",{class:a.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",D===c.value?"wizard-text-active":"wizard-text-pending"])},a.toDisplayString(B.title),3)]))),128)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("div",{key:B.key,onClick:z=>w(D),style:a.normalizeStyle({zIndex:e.tabs.length-D}),class:"relative flex-1 group"},[a.createElementVNode("div",{class:a.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[D>0?"pl-8":"",D===c.value?"wizard-step-active":D<c.value?"wizard-step-done":"wizard-step-pending"]])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):e.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",$Y,a.toDisplayString(D+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",WY,a.toDisplayString(B.title),1)],2),D<e.tabs.length-1?(a.openBlock(),a.createElementBlock("svg",{key:0,class:a.normalizeClass(["absolute top-0 -right-[15.5px] w-[16px] h-full transition-colors block z-10",[D===c.value?"wizard-svg-active":D<c.value?"wizard-svg-done":"wizard-svg-pending"]]),preserveAspectRatio:"none",viewBox:"0 0 16 48"},[...M[0]||(M[0]=[a.createElementVNode("polygon",{points:"0,0 16,24 0,48"},null,-1)])],2)):a.createCommentVNode("",!0)],12,UY))),128))],2)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex w-full",e.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.tabs,(B,D)=>(a.openBlock(),a.createElementBlock("button",{key:B.key,type:"button",disabled:!g(D),onClick:z=>w(D),class:a.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 wizard-btn-common",a.unref(xe)("border-b border-r",!e.isVertical&&D===e.tabs.length-1&&"border-r-0",D===c.value?"wizard-btn-active":"wizard-btn-pending",!g(D)&&"opacity-60 cursor-not-allowed",e.isVertical?"w-full justify-start border-r-0":"flex-1")])},[e.typeWizard==="icon"&&B.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p(B.icon)),{key:0,class:"h-4 w-4 shrink-0"})):e.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",JY,a.toDisplayString(D+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",QY,a.toDisplayString(B.title),1)],10,YY))),128))],2))],2)],2),e.isVertical?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(AS),{key:0})),a.createElementVNode("div",eJ,[a.createElementVNode("div",{class:a.normalizeClass(["p-6 flex-1 min-w-0",{"pl-6":e.isVertical}])},[h.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[(I=y[h.value.key])!=null&&I.loading?a.renderSlot(v.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[M[1]||(M[1]=a.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))],!0):a.renderSlot(v.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(V=y[h.value.key])==null?void 0:V.data,loaded:(_=y[h.value.key])==null?void 0:_.loaded,reload:b},()=>[a.createElementVNode("div",tJ,[M[2]||(M[2]=a.createTextVNode(" Slot ",-1)),a.createElementVNode("code",aJ,"tab-"+a.toDisplayString(h.value.key),1),M[3]||(M[3]=a.createTextVNode(" belum dibuat. ",-1))])],!0)],64)):a.createCommentVNode("",!0)],2),e.isWizard||e.showNavigation?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["flex items-center justify-between p-6 pt-0",{"pl-6":e.isVertical}])},[a.createElementVNode("button",{type:"button",onClick:L,disabled:c.value<=0,class:"relative inline-flex items-center justify-center gap-2 px-5 py-2.5 text-sm font-medium transition-all duration-300 rounded-lg bg-[#ffffff] border border-[#e2e8f0] text-[#334155] shadow-sm hover:bg-[#f8fafc] hover:text-[#0f172a] hover:-translate-y-0.5 hover:shadow disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#ffffff] disabled:hover:text-[#334155] disabled:hover:translate-y-0 disabled:active:scale-100 dark:bg-[#18181b] dark:border-[#27272a] dark:text-[#d4d4d8] dark:hover:bg-[#27272a] dark:hover:border-[#3f3f46] dark:disabled:hover:bg-[#18181b] dark:disabled:hover:text-[#d4d4d8] focus:outline-none focus:ring-2 focus:ring-[#e2e8f0] focus:ring-offset-2 active:scale-95"}," Sebelumnya ",8,nJ),c.value<d.value-1?(a.openBlock(),a.createElementBlock("button",{key:0,type:e.isSubmit?"submit":"button",onClick:S,class:"relative inline-flex items-center justify-center gap-2 px-6 py-2.5 text-sm font-medium text-[#ffffff] transition-all duration-300 rounded-lg shadow-md bg-[#2563eb] hover:bg-[#1d4ed8] hover:shadow-lg hover:-translate-y-0.5 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#2563eb] disabled:hover:translate-y-0 disabled:active:scale-100 focus:outline-none focus:ring-2 focus:ring-[#2563eb] focus:ring-offset-2 active:scale-95"}," Selanjutnya ",8,oJ)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"submit",disabled:e.loading,class:"relative inline-flex items-center justify-center gap-2 px-6 py-2.5 text-sm font-medium text-[#ffffff] transition-all duration-300 rounded-lg shadow-md bg-[#2563eb] hover:bg-[#1d4ed8] hover:shadow-lg hover:-translate-y-0.5 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none disabled:hover:bg-[#2563eb] disabled:hover:translate-y-0 disabled:active:scale-100 dark:bg-[#3b82f6] dark:hover:bg-[#2563eb] focus:outline-none focus:ring-2 focus:ring-[#2563eb] focus:ring-offset-2 active:scale-95"},[e.loading?(a.openBlock(),a.createBlock(a.unref(St),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(e.submitText),1)],8,rJ))],2)):a.createCommentVNode("",!0)])],2)}}}),[["__scopeId","data-v-9379f062"]]);function iJ(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const sJ={class:"w-full"},lJ={class:"relative mx-auto min-h-[37.5rem]"},cJ={key:"content",class:"w-full"},dJ={class:"mb-6"},hJ={class:"text-neutral-500 dark:text-neutral-400"},uJ={key:"skeleton",class:"w-full"},pJ={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},_P=Wt(a.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(e){var v,M;const t=e,n=(M=(v=a.getCurrentInstance())==null?void 0:v.appContext)==null?void 0:M.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o={query:{},params:{},path:""};try{const I=fs.useRoute();I&&(o=I)}catch{console.warn("useRoute not available, using fallback")}let r={back:()=>console.warn("Router back() not available"),push:()=>console.warn("Router push() not available")};try{const I=fs.useRouter();I&&(r=I)}catch{console.warn("useRouter not available, using fallback")}const{apiUrl:i,DCodeApi:s}=et();let c;try{c=ZS.useI18n().locale}catch{c=a.ref("en")}const{setPageTitle:d}=iJ(),h=a.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=a.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const I=o.path.match(/\/edit\/([^\/]+)$/);return I?I[1]:null}),p=a.ref({}),y=a.ref(null),f=a.ref(!0),m=a.ref(!1),k="/api/auto-layout/form/form-dynamic?code=",g="/api/auto-layout/datatable/form-dynamic?code=",x=a.ref(t.layoutCode),C=a.computed(()=>{var _;if(!y.value)return"";const I=((_=c==null?void 0:c.value)==null?void 0:_.toLowerCase())||"en";return(I==="en"||I.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||t.layoutCode});a.watch(C,I=>{I&&d(I)},{immediate:!0});const w=async()=>{var I,V,_;f.value=!0;try{let B=t.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(B=o.query.code||t.layoutCode);const D=`${k}${B}`;let z=await i(D,"GET");if(!z.status||!z.data||Array.isArray(z.data)&&z.data.length===0)try{const G=`${g}${B}`,H=await i(G,"GET");if(H.status){const j=Array.isArray(H.data)?H.data[0]:H.data;j&&j.code&&(B=j.code,x.value=B,z=await i(`${k}${B}`,"GET"))}}catch(G){console.warn("Failed to resolve layout code via datatable",G)}if(z.status){y.value=Array.isArray(z.data)?z.data[0]:z.data;const G={};if((I=y.value)!=null&&I.sections&&y.value.sections.forEach(H=>{((H.propsForm||H.props||{}).fields||H.fields||[]).forEach(J=>{var R;const E=J.model||((R=J.props)==null?void 0:R.model)||J.key;E&&(G[E]=null)})}),p.value=G,f.value=!1,h.value&&u.value){m.value=!0;try{if((V=y.value.endpointGlobal)!=null&&V.apiUrl){const H=y.value.endpointGlobal.apiUrl,j=y.value.endpointGlobal.apiMethod||"GET",U={id:u.value},J=await s(H,j,U);if(J.status){const E=Array.isArray(J.data)?J.data[0]:J.data;p.value={...p.value,...E}}}else{const H=((_=y.value.endpoint)==null?void 0:_.detailUrl)||`/api/${x.value}/detail/${u.value}`,j=await i(H,"GET");if(j.status){let U=Array.isArray(j.data)?j.data[0]:j.data;if(j.payload){const E={...j.payload};if(Object.keys(E).forEach(R=>{U[R]!==void 0&&U[R]!==null&&(E[R]=U[R])}),!("id"in E)&&U.id){const R=Object.keys(E).find(F=>F.startsWith("id")&&F.length>2&&!E[F]);R&&(E[R]=U.id)}U=E}const J={...U};Object.keys(p.value).forEach(E=>{if(J[E]===void 0||J[E]===null){if(E.toLowerCase().startsWith("id")&&E.length>2){const F=E.substring(2).toLowerCase(),Y=Array.isArray(j.data)?j.data[0]:j.data,Q=Object.keys(Y).find(re=>re.toLowerCase()===F);Q&&Y[Q]&&typeof Y[Q]=="object"&&"id"in Y[Q]&&(J[E]=Y[Q].id)}if(E==="idSupervisor"){const F=Array.isArray(j.data)?j.data[0]:j.data;F.supervisorId&&(J[E]=F.supervisorId)}}}),p.value={...p.value,...J}}}}catch(H){console.error("Failed to fetch record data:",H)}finally{m.value=!1}}}}catch(B){console.error("Failed to load form layout:",B),f.value=!1}},b=async I=>{var V,_,B;try{const D=(B=(_=(V=y.value.sections)==null?void 0:V[0])==null?void 0:_.propsForm)==null?void 0:B.endpointForm,z=y.value.endpointGlobal||y.value.endpoint,G=(D==null?void 0:D.submitUrl)||(z==null?void 0:z.submitUrl)||`/api/generic/${t.layoutCode}`,H=(D==null?void 0:D.submitMethod)||(z==null?void 0:z.submitMethod)||(h.value?"PUT":"POST"),j={...I};h.value&&u.value&&!j.id&&(j.id=u.value),await i(G,H,j),r.back()}catch(D){console.error("Submit failed:",D)}},L=async(I,V)=>{if(I==="cancel"){S();return}const _=V.endpointPropAction||V.propsActionGlobal&&V.propsActionGlobal.endpointPropAction;if(_)try{f.value=!0;const B={...p.value};h.value&&V.model&&u.value&&(B[V.model]=u.value);const D=_.apiUrl,z=_.apiMethod||"POST";(await s(D,z,B)).status&&r.back()}catch(B){console.error("Action failed:",B)}finally{f.value=!1}},S=()=>{r.back()};return a.onMounted(()=>{w()}),a.onUnmounted(()=>{d("")}),(I,V)=>{const _=a.resolveComponent("DynamicForm"),B=a.resolveComponent("AutoLayoutSkeleton");return a.openBlock(),a.createElementBlock("div",sJ,[a.createElementVNode("div",lJ,[a.createVNode(a.Transition,{name:"fade",mode:"out-in"},{default:a.withCtx(()=>[!f.value&&y.value?(a.openBlock(),a.createElementBlock("div",cJ,[a.createElementVNode("div",dJ,[a.createElementVNode("p",hJ,a.toDisplayString(y.value.description),1)]),a.createVNode(_,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:m.value,onSubmit:b,onCancel:S,onAction:L,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(a.openBlock(),a.createElementBlock("div",uJ,[a.createVNode(B)])):(a.openBlock(),a.createElementBlock("div",pJ," Failed to load form configuration for "+a.toDisplayString(t.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-cbc77e6b"]]),yJ=(e,t="short",n="id-ID")=>{const o=typeof e=="string"?new Date(e):e,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return t==="time"?i(o):t==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):t==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},fJ=e=>new Promise((t,n)=>{const o=document.createElement("textarea");o.value=e,o.style.top="0",o.style.left="0",o.style.position="fixed",document.body.appendChild(o),o.focus(),o.select();try{document.execCommand("copy")?t():n(new Error("Copy command was unsuccessful"))}catch(r){n(r)}finally{document.body.removeChild(o)}}),mJ=async e=>navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e):fJ(e),kJ=a.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=It(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(dV),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),gJ=a.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class","side"),i=It(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(vV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(wV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(xV),a.mergeProps({class:a.unref(xe)(a.unref(CJ)({side:e.side}),n.class)},{...a.unref(i),...s.$attrs}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(hV),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:a.withCtx(()=>[a.createVNode(a.unref(pt),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),bJ=a.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(MV),a.mergeProps({class:a.unref(xe)("text-sm text-muted-foreground",t.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),xJ=a.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),MJ=a.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(xe)("flex flex-col gap-y-2 text-center sm:text-left",t.class))},[a.renderSlot(n.$slots,"default")],2))}}),wJ=a.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(CV),a.mergeProps({class:a.unref(xe)("text-lg font-medium text-foreground",t.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),vJ=a.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(zH),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),CJ=xl("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),LJ={class:"flex-1 overflow-hidden"},SJ=a.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.unref(kJ),null,{default:a.withCtx(()=>[a.createVNode(a.unref(vJ),{"as-child":""},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"trigger",{},()=>[a.createVNode(a.unref(Xe),{variant:"outline",class:"gap-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(vr),{class:"w-4 h-4"}),n[0]||(n[0]=a.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),a.createVNode(a.unref(gJ),{class:"flex flex-col h-full"},{default:a.withCtx(()=>[a.createVNode(a.unref(MJ),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(wJ),{class:"text-xl font-bold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1}),a.createVNode(a.unref(bJ),{class:"text-sm font-medium text-neutral-600 dark:text-neutral-400"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.description),1)]),_:1})]),_:1}),a.createElementVNode("div",LJ,[a.renderSlot(t.$slots,"default")]),a.createVNode(a.unref(xJ),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"footer")]),_:3})]),_:3})]),_:3}))}}),IJ={key:0},AJ=["value","name"],zP=a.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const{locale:n}=ZS.useI18n(),o=e,r=t,i=a.ref(o.modelValue);a.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:TA,DCodeAutoComplete:cI,DCodeDatePicker:wA,DCodeTextarea:IS,DCodeTextArea:IS,DCodeCheckbox:Gl,DCodeSwitch:EA,DCodeOtpInput:qA,DCodeImageField:_A,DCodeSlider:DA},c=a.computed(()=>{const u=o.field.component;return s[u]||null}),d=a.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>e.field.isHidden?(a.openBlock(),a.createElementBlock("div",IJ,[a.createElementVNode("input",{type:"hidden",value:i.value,name:e.field.model},null,8,AJ)])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),a.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),BJ=a.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=It(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(nO),a.mergeProps({"data-slot":"pagination"},a.unref(i),{class:n.class}),{default:a.withCtx(d=>[a.renderSlot(s.$slots,"default",a.normalizeProps(a.guardReactiveProps(d)))]),_:3},16,["class"]))}}),VJ=a.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(hO),a.mergeProps({"data-slot":"pagination-content"},a.unref(n),{class:a.unref(xe)("flex flex-row items-center gap-1",t.class)}),{default:a.withCtx(i=>[a.renderSlot(o.$slots,"default",a.normalizeProps(a.guardReactiveProps(i)))]),_:3},16,["class"]))}}),_J=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(eO),a.mergeProps({"data-slot":"pagination-ellipsis"},a.unref(n),{class:a.unref(xe)("flex size-9 items-center justify-center",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createVNode(a.unref(Ma),{class:"size-4"}),r[0]||(r[0]=a.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),zJ=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(rO),a.mergeProps({"data-slot":"pagination-first",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(bn)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),PJ=a.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(e){const t=e,n=He(t,"class","size","isActive");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(pO),a.mergeProps({"data-slot":"pagination-item"},a.unref(n),{class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),e.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",t.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),qJ=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(sO),a.mergeProps({"data-slot":"pagination-last",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),a.createVNode(a.unref(xn))])]),_:3},16,["class"]))}}),DJ=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(fO),a.mergeProps({"data-slot":"pagination-next",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),a.createVNode(a.unref(xn))])]),_:3},16,["class"]))}}),EJ=a.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class","size"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(kO),a.mergeProps({"data-slot":"pagination-previous",class:a.unref(xe)(a.unref(zs)({variant:"ghost",size:e.size}),"gap-1 px-2.5 sm:pr-2.5",t.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(bn)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),TJ=a.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=It(e,t);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(vO),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),HJ=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=He(n,"class"),i=It(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(KO),null,{default:a.withCtx(()=>[a.createVNode(a.unref(HO),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(xe)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:a.withCtx(()=>[a.createVNode(a.unref(RJ)),a.createVNode(a.unref(ij),{class:a.normalizeClass(a.unref(xe)("p-1",e.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]),a.createVNode(a.unref(FJ))]),_:3},16,["class"])]),_:3}))}}),OJ={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},jJ=a.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(NO),a.mergeProps(a.unref(o),{class:a.unref(xe)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:a.withCtx(()=>[a.createElementVNode("span",OJ,[a.createVNode(a.unref($O),null,{default:a.withCtx(()=>[a.createVNode(a.unref(ga),{class:"h-4 w-4"})]),_:1})]),a.createVNode(a.unref(GO),null,{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),FJ=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(JO),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(qt))])]),_:3},16,["class"]))}}),RJ=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ej),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex cursor-default items-center justify-center py-1",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Qs))])]),_:3},16,["class"]))}}),NJ=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,n=He(t,"class"),o=nt(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(aj),a.mergeProps(a.unref(o),{class:a.unref(xe)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",t.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default"),a.createVNode(a.unref(jO),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(qt),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),UJ=a.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(oj),a.normalizeProps(a.guardReactiveProps(t)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),Kl={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Ns={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},tt={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},$J={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom",NONE:"none"},WJ={dangerouslyHTMLString:!1,multiple:!0,position:Kl.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},GJ={rtl:!1,newestOnTop:!1,toastClassName:""},PP={...WJ,...GJ};tt.DEFAULT;var Ce=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(Ce||{}),HA=(e=>(e.ENTRANCE_ANIMATION_END="d",e))(HA||{});const XJ={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},KJ={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},ZJ={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},YJ={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"},qP="Toastify--animate Toastify__none-enter";function DP(e,t=!1){var n;let o=XJ;if(!e||typeof e=="string")switch(e){case"flip":o=YJ;break;case"zoom":o=ZJ;break;case"slide":o=KJ;break}else o=e;if(t)o.enter=qP;else if(o.enter===qP){const r=(n=o.exit.split("__")[1])==null?void 0:n.split("-")[0];o.enter=`Toastify--animate Toastify__${r}-enter`}return o}function JJ(e){return e.containerId||String(e.position)}const BS="will-unmount";function QJ(e=Kl.TOP_RIGHT){return!!document.querySelector(`.${Ce.CSS_NAMESPACE}__toast-container--${e}`)}function eQ(e=Kl.TOP_RIGHT){return`${Ce.CSS_NAMESPACE}__toast-container--${e}`}function tQ(e,t,n=!1){const o=[`${Ce.CSS_NAMESPACE}__toast-container`,`${Ce.CSS_NAMESPACE}__toast-container--${e}`,n?`${Ce.CSS_NAMESPACE}__toast-container--rtl`:null].filter(Boolean).join(" ");return $s(t)?t({position:e,rtl:n,defaultClassName:o}):`${o} ${t||""}`}function aQ(e){var t;const{position:n,containerClassName:o,rtl:r=!1,style:i={}}=e,s=Ce.CSS_NAMESPACE,c=eQ(n),d=document.querySelector(`.${s}`),h=document.querySelector(`.${c}`),u=!!h&&!((t=h.className)!=null&&t.includes(BS)),p=d||document.createElement("div"),y=document.createElement("div");y.className=tQ(n,o,r),y.dataset.testid=`${Ce.CSS_NAMESPACE}__toast-container--${n}`,y.id=JJ(e);for(const f in i)if(Object.prototype.hasOwnProperty.call(i,f)){const m=i[f];y.style[f]=m}return d||(p.className=Ce.CSS_NAMESPACE,document.body.appendChild(p)),u||p.appendChild(y),y}function OA(e){var t,n,o;const r=typeof e=="string"?e:((t=e.currentTarget)==null?void 0:t.id)||((n=e.target)==null?void 0:n.id),i=document.getElementById(r);i&&i.removeEventListener("animationend",OA,!1);try{Zl[r].unmount(),(o=document.getElementById(r))==null||o.remove(),delete Zl[r],delete Ge[r]}catch{}}const Zl=a.reactive({});function nQ(e,t){const n=document.getElementById(String(t));n&&(Zl[n.id]=e)}function jA(e,t=!0){const n=String(e);if(!Zl[n])return;const o=document.getElementById(n);o&&o.classList.add(BS),t?(rQ(e),o&&o.addEventListener("animationend",OA,!1)):OA(n),xt.items=xt.items.filter(r=>r.containerId!==e)}function oQ(e){for(const t in Zl)jA(t,e);xt.items=[]}function EP(e,t){const n=document.getElementById(e.toastId);if(n){let o=e;o={...o,...DP(o.transition)};const r=o.appendPosition?`${o.exit}--${o.position}`:o.exit;n.className+=` ${r}`,t&&t(n)}}function rQ(e){for(const t in Ge)if(t===e)for(const n of Ge[t]||[])EP(n)}function iQ(e){const t=Us().find(n=>n.toastId===e);return t==null?void 0:t.containerId}function FA(e){return document.getElementById(e)}function sQ(e){const t=FA(e.containerId);return t&&t.classList.contains(BS)}function TP(e){var t;const n=a.isVNode(e.content)?a.toRaw(e.content.props):null;return n??a.toRaw((t=e.data)!=null?t:{})}function lQ(e){return e?xt.items.filter(t=>t.containerId===e).length>0:xt.items.length>0}function cQ(){if(xt.items.length>0){const e=xt.items.shift();VS(e==null?void 0:e.toastContent,e==null?void 0:e.toastProps)}}const Ge=a.reactive({}),xt=a.reactive({items:[]});function Us(){const e=a.toRaw(Ge);return Object.values(e).reduce((t,n)=>[...t,...n],[])}function dQ(e){return Us().find(t=>t.toastId===e)}function VS(e,t={}){if(sQ(t)){const n=FA(t.containerId);n&&n.addEventListener("animationend",RA.bind(null,e,t),!1)}else RA(e,t)}function RA(e,t={}){const n=FA(t.containerId);n&&n.removeEventListener("animationend",RA.bind(null,e,t),!1);const o=Ge[t.containerId]||[],r=o.length>0;if(!r&&!QJ(t.position)){const i=aQ(t),s=a.createApp(qQ,t);t.useHandler&&t.useHandler(s),s.mount(i),nQ(s,i.id)}r&&!t.updateId&&(t.position=o[0].position),a.nextTick(()=>{t.updateId?ut.update(t):ut.add(e,t)})}const ut={add(e,t){const{containerId:n=""}=t;n&&(Ge[n]=Ge[n]||[],Ge[n].find(o=>o.toastId===t.toastId)||setTimeout(()=>{var o,r;t.newestOnTop?(o=Ge[n])==null||o.unshift(t):(r=Ge[n])==null||r.push(t),t.onOpen&&t.onOpen(TP(t))},t.delay||0))},remove(e){if(e){const t=iQ(e);if(t){const n=Ge[t];let o=n.find(r=>r.toastId===e);Ge[t]=n.filter(r=>r.toastId!==e),!Ge[t].length&&!lQ(t)&&jA(t,!1),cQ(),a.nextTick(()=>{o!=null&&o.onClose&&(o.onClose(TP(o)),o=void 0)})}}},update(e={}){const{containerId:t=""}=e;if(t&&e.updateId){Ge[t]=Ge[t]||[];const n=Ge[t].find(i=>i.toastId===e.toastId),o=(n==null?void 0:n.position)!==e.position||(n==null?void 0:n.transition)!==e.transition,r={...e,disabledEnterTransition:!o,updateId:void 0};ut.dismissForce(e==null?void 0:e.toastId),setTimeout(()=>{Pe(r.content,r)},e.delay||0)}},clear(e,t=!0){e?jA(e,t):oQ(t)},dismissCallback(e){var t;const n=(t=e.currentTarget)==null?void 0:t.id,o=document.getElementById(n);o&&(o.removeEventListener("animationend",ut.dismissCallback,!1),setTimeout(()=>{ut.remove(n)}))},dismiss(e){if(e){const t=Us();for(const n of t)if(n.toastId===e){EP(n,o=>{o.addEventListener("animationend",ut.dismissCallback,!1)});break}}},dismissForce(e){if(e){const t=Us();for(const n of t)if(n.toastId===e){const o=document.getElementById(e);o&&(o.remove(),o.removeEventListener("animationend",ut.dismissCallback,!1),ut.remove(e));break}}}},hQ=a.reactive({useHandler:void 0}),HP=a.reactive({}),_S=a.reactive({});function OP(){return Math.random().toString(36).substring(2,9)}function uQ(e){return typeof e=="number"&&!isNaN(e)}function NA(e){return typeof e=="string"}function $s(e){return typeof e=="function"}function zS(...e){return a.mergeProps(...e)}function PS(e){return typeof e=="object"&&(!!(e!=null&&e.render)||!!(e!=null&&e.setup)||typeof(e==null?void 0:e.type)=="object")}function pQ(e={}){HP[`${Ce.CSS_NAMESPACE}-default-options`]=e}function jP(){return HP[`${Ce.CSS_NAMESPACE}-default-options`]||PP}function yQ(){const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return document.documentElement.classList.contains("dark")||e?"dark":"light"}var qS=(e=>(e[e.Enter=0]="Enter",e[e.Exit=1]="Exit",e))(qS||{});const FP={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},disabledEnterTransition:{type:Boolean,required:!1,default:!1},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:Kl.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:Ns.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:tt.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""},contentProps:{type:Object,required:!1,default:null},expandCustomProps:{type:Boolean,required:!1,default:!1}},fQ={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:tt.DEFAULT},theme:{type:String,required:!1,default:Ns.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},mQ=a.defineComponent({name:"ProgressBar",props:fQ,setup(e,{attrs:t}){const n=a.ref(),o=a.computed(()=>e.hide?"true":"false"),r=a.computed(()=>({...t.style||{},animationDuration:`${e.autoClose===!0?5e3:e.autoClose}ms`,animationPlayState:e.isRunning?"running":"paused",opacity:e.hide||e.autoClose===!1?0:1,transform:e.controlledProgress?`scaleX(${e.progress})`:"none"})),i=a.computed(()=>[`${Ce.CSS_NAMESPACE}__progress-bar`,e.controlledProgress?`${Ce.CSS_NAMESPACE}__progress-bar--controlled`:`${Ce.CSS_NAMESPACE}__progress-bar--animated`,`${Ce.CSS_NAMESPACE}__progress-bar-theme--${e.theme}`,`${Ce.CSS_NAMESPACE}__progress-bar--${e.type}`,e.rtl?`${Ce.CSS_NAMESPACE}__progress-bar--rtl`:null].filter(Boolean).join(" ")),s=a.computed(()=>`${i.value} ${(t==null?void 0:t.class)||""}`),c=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},d=()=>{e.isIn&&e.closeToast&&e.autoClose!==!1&&(e.closeToast(),c())},h=a.computed(()=>e.controlledProgress?null:d),u=a.computed(()=>e.controlledProgress?d:null);return a.watchEffect(()=>{n.value&&(c(),n.value.onanimationend=h.value,n.value.ontransitionend=u.value)}),()=>a.createVNode("div",{ref:n,role:"progressbar","aria-hidden":o.value,"aria-label":"notification timer",class:s.value,style:r.value},null)}}),kQ=a.defineComponent({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:Ns.AUTO},type:{type:String,required:!1,default:Ns.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(e){return()=>a.createVNode("button",{class:`${Ce.CSS_NAMESPACE}__close-button ${Ce.CSS_NAMESPACE}__close-button--${e.theme}`,type:"button",onClick:t=>{t.stopPropagation(),e.closeToast&&e.closeToast(t)},"aria-label":e.ariaLabel},[a.createVNode("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[a.createVNode("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),DS=({theme:e,type:t,path:n,...o})=>a.createVNode("svg",a.mergeProps({viewBox:"0 0 24 24",width:"100%",height:"100%",style:{fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`}},o),[a.createVNode("path",{d:n},null)]);function gQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function bQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function xQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function MQ(e){return a.createVNode(DS,a.mergeProps(e,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function wQ(){return a.createVNode("div",{class:`${Ce.CSS_NAMESPACE}__spinner`},null)}const ES={info:bQ,warning:gQ,success:xQ,error:MQ,spinner:wQ},vQ=e=>e in ES;function CQ({theme:e,type:t,isLoading:n,icon:o}){let r;const i=!!n||t==="loading",s={theme:e,type:t};if(i&&(o===void 0||typeof o=="boolean"))return ES.spinner();if(o!==!1){if(PS(o))r=a.toRaw(o);else if($s(o)){const c=o;s.type=i?"loading":t,r=c(s),r=!r&&i?ES.spinner():r}else a.isVNode(o)?r=a.cloneVNode(o,s):NA(o)||uQ(o)?r=o:vQ(t)&&(r=ES[t](s));return r}}const LQ=()=>{};function SQ(e,t,n=Ce.COLLAPSE_DURATION){const{scrollHeight:o,style:r}=e,i=n;requestAnimationFrame(()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${i}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(t,i)})})}function IQ(e){const t=a.ref(!1),n=a.ref(!1),o=a.ref(!1),r=a.ref(qS.Enter),i=a.reactive({...e,appendPosition:e.appendPosition||!1,collapse:typeof e.collapse>"u"?!0:e.collapse,collapseDuration:e.collapseDuration||Ce.COLLAPSE_DURATION}),s=i.done||LQ,c=a.computed(()=>i.appendPosition?`${i.enter}--${i.position}`:i.enter),d=a.computed(()=>i.appendPosition?`${i.exit}--${i.position}`:i.exit),h=a.computed(()=>e.pauseOnHover?{onMouseenter:g,onMouseleave:k}:{});function u(){const C=c.value.split(" ");y().addEventListener(HA.ENTRANCE_ANIMATION_END,k,{once:!0});const w=L=>{const S=y();L.target===S&&(S.dispatchEvent(new Event(HA.ENTRANCE_ANIMATION_END)),S.removeEventListener("animationend",w),S.removeEventListener("animationcancel",w),r.value===qS.Enter&&L.type!=="animationcancel"&&S.classList.remove(...C))},b=()=>{const L=y();L.classList.add(...C),L.addEventListener("animationend",w),L.addEventListener("animationcancel",w)};e.pauseOnFocusLoss&&f(),b()}function p(){if(!y())return;const C=()=>{const b=y();b.removeEventListener("animationend",C),i.collapse?SQ(b,s,i.collapseDuration):s()},w=()=>{const b=y();r.value=qS.Exit,b&&(b.className+=` ${d.value}`,b.addEventListener("animationend",C))};n.value||(o.value?C():setTimeout(w))}function y(){return e.toastRef.value}function f(){document.hasFocus()||g(),window.addEventListener("focus",k),window.addEventListener("blur",g)}function m(){window.removeEventListener("focus",k),window.removeEventListener("blur",g)}function k(){(!e.loading.value||e.isLoading===void 0)&&(t.value=!0)}function g(){t.value=!1}function x(C){C&&(C.stopPropagation(),C.preventDefault()),n.value=!1}return a.watchEffect(p),a.watchEffect(()=>{const C=Us();n.value=C.findIndex(w=>w.toastId===i.toastId)>-1}),a.watchEffect(()=>{e.isLoading!==void 0&&(e.loading.value?g():k())}),a.onMounted(u),a.onUnmounted(()=>{e.pauseOnFocusLoss&&m()}),{isIn:n,isRunning:t,hideToast:x,eventHandlers:h}}function AQ(e){if(!e||typeof e!="object"||Array.isArray(e)||e.__v_isVNode)return!1;const t=e;return["title","content"].some(n=>n in t)}const BQ=a.defineComponent({name:"ToastItem",inheritAttrs:!1,props:FP,setup(e){const t=a.ref(),n=a.computed(()=>!!e.isLoading),o=a.computed(()=>e.progress!==void 0&&e.progress!==null),r=a.computed(()=>CQ(e)),i=a.computed(()=>[`${Ce.CSS_NAMESPACE}__toast`,`${Ce.CSS_NAMESPACE}__toast-theme--${e.theme}`,`${Ce.CSS_NAMESPACE}__toast--${e.type}`,e.rtl?`${Ce.CSS_NAMESPACE}__toast--rtl`:void 0,e.toastClassName||""].filter(Boolean).join(" ")),{isRunning:s,isIn:c,hideToast:d,eventHandlers:h}=IQ({toastRef:t,loading:n,done:()=>{ut.remove(e.toastId)},...DP(e.transition,e.disabledEnterTransition),...e});function u(){const p=e.content;if(AQ(p)){const y=[];return p.title!==void 0&&y.push(a.createVNode("div",{"data-testid":"toast-text-title",class:`${Ce.CSS_NAMESPACE}__toast-text-title`},[p.title])),p.content!==void 0&&y.push(a.createVNode("div",{"data-testid":"toast-text-content",class:`${Ce.CSS_NAMESPACE}__toast-text-content`},[p.content])),a.createVNode("div",{"data-testid":"toast-text-content-wrapper",class:`${Ce.CSS_NAMESPACE}__toast-text`},[y])}return PS(p)?a.h(a.toRaw(p),{toastProps:a.toRaw(e),closeToast:d,data:e.data,...e.expandCustomProps?e.contentProps:{contentProps:e.contentProps||{}}}):$s(p)?p({toastProps:a.toRaw(e),closeToast:d,data:e.data}):e.dangerouslyHTMLString?a.h("div",{innerHTML:p}):p}return()=>a.createVNode("div",a.mergeProps({id:e.toastId,class:i.value,style:e.toastStyle||{},ref:t,"data-testid":`toast-item-${e.toastId}`,onClick:p=>{e.closeOnClick&&d(),e.onClick&&e.onClick(p)}},h.value),[a.createVNode("div",{role:e.role,"data-testid":"toast-body",class:`${Ce.CSS_NAMESPACE}__toast-body ${e.bodyClassName||""}`},[r.value!=null&&a.createVNode("div",{"data-testid":`toast-icon-${e.type}`,class:[`${Ce.CSS_NAMESPACE}__toast-icon`,e.isLoading?"":`${Ce.CSS_NAMESPACE}--animate-icon ${Ce.CSS_NAMESPACE}__zoom-enter`].join(" ")},[PS(r.value)?a.h(a.toRaw(r.value),{theme:e.theme,type:e.type}):$s(r.value)?r.value({theme:e.theme,type:e.type}):r.value]),a.createVNode("div",{"data-testid":"toast-content"},[u()])]),(e.closeButton===void 0||e.closeButton===!0)&&a.createVNode(kQ,{theme:e.theme,closeToast:p=>{p.stopPropagation(),p.preventDefault(),d()}},null),PS(e.closeButton)?a.h(a.toRaw(e.closeButton),{closeToast:d,type:e.type,theme:e.theme}):$s(e.closeButton)?e.closeButton({closeToast:d,type:e.type,theme:e.theme}):null,a.createVNode(mQ,{className:e.progressClassName,style:e.progressStyle,rtl:e.rtl,theme:e.theme,isIn:c.value,type:e.type,hide:e.hideProgressBar,isRunning:s.value,autoClose:e.autoClose,controlledProgress:o.value,progress:e.progress,closeToast:e.isLoading?void 0:d},null)])}}),TS="vue3-toastify:url-change";let HS=0,Yl;function VQ(){if(!(typeof window>"u")&&_S.lastUrl!==window.location.href){_S.lastUrl=window.location.href;const e=n=>typeof n.clearOnUrlChange=="boolean"?n.clearOnUrlChange:jP().clearOnUrlChange!==!1,t=Object.values(Ge).reduce((n,o)=>(Array.isArray(o)&&n.push(...o),n),[]);for(const n of t)n.toastId&&e(n)&&ut.dismiss(n.toastId);xt.items=xt.items.filter(n=>!e(n.toastProps))}}function _Q(){const{history:e}=window,t=e.pushState,n=e.replaceState;return e.pushState=function(...o){const r=t.apply(this,o);return window.dispatchEvent(new Event(TS)),r},e.replaceState=function(...o){const r=n.apply(this,o);return window.dispatchEvent(new Event(TS)),r},()=>{e.pushState=t,e.replaceState=n}}function zQ(){if(typeof window>"u"||Yl)return;const e=_Q(),t=()=>VQ();window.addEventListener(TS,t),window.addEventListener("popstate",t),window.addEventListener("hashchange",t),Yl=()=>{e(),window.removeEventListener(TS,t),window.removeEventListener("popstate",t),window.removeEventListener("hashchange",t),Yl=void 0}}function PQ(){Yl&&(Yl(),_S.lastUrl="")}const qQ=a.defineComponent({name:"ToastifyContainer",inheritAttrs:!1,props:FP,setup(e){const t=a.computed(()=>e.containerId),n=a.computed(()=>Ge[t.value]||[]),o=a.computed(()=>n.value.filter(r=>r.position===e.position));return a.onMounted(()=>{typeof window<"u"&&(HS+=1,zQ())}),a.onUnmounted(()=>{typeof window<"u"&&HS>0&&(HS-=1,HS===0&&PQ())}),()=>a.createVNode(a.Fragment,null,[o.value.map(r=>{const{toastId:i=""}=r;return a.createVNode(BQ,a.mergeProps({key:i},r),null)})])}});let UA=!1;const RP={isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1};function NP(){const e=[];return Us().forEach(t=>{const n=document.getElementById(t.containerId);n&&!n.classList.contains(BS)&&e.push(t)}),e}function DQ(e){const t=NP().length,n=e??0;return n>0&&t+xt.items.length>=n}function EQ(e){DQ(e.limit)&&!e.updateId&&xt.items.push({toastId:e.toastId,containerId:e.containerId,toastContent:e.content,toastProps:e})}function Ha(e,t,n={}){if(UA)return;n=zS(jP(),{type:t},a.toRaw(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=OP()),n={...n,...n.type==="loading"?RP:{},content:e,containerId:n.containerId||String(n.position)};const o=Number(n==null?void 0:n.progress);return!isNaN(o)&&o<0&&(n.progress=0),o>1&&(n.progress=1),n.theme==="auto"&&(n.theme=yQ()),EQ(n),_S.lastUrl=window.location.href,n.multiple?xt.items.length?n.updateId&&VS(e,n):VS(e,n):(UA=!0,Pe.clearAll(void 0,!1),setTimeout(()=>{VS(e,n)},0),setTimeout(()=>{UA=!1},390)),n.toastId}const Pe=(e,t)=>Ha(e,tt.DEFAULT,t);Pe.info=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.INFO}),Pe.error=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.ERROR}),Pe.warning=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.WARNING}),Pe.warn=Pe.warning,Pe.success=(e,t)=>Ha(e,tt.DEFAULT,{...t,type:tt.SUCCESS}),Pe.loading=(e,t)=>Ha(e,tt.DEFAULT,zS(t,RP)),Pe.dark=(e,t)=>Ha(e,tt.DEFAULT,zS(t,{theme:Ns.DARK})),Pe.remove=e=>{e?ut.dismiss(e):ut.clear()},Pe.clearAll=(e,t)=>{a.nextTick(()=>{ut.clear(e,t)})},Pe.isActive=e=>{let t=!1;return t=NP().findIndex(n=>n.toastId===e)>-1,t},Pe.update=(e,t={})=>{setTimeout(()=>{const n=dQ(e);if(n){const o=a.toRaw(n),{content:r}=o,i={...o,...t,toastId:t.toastId||e,updateId:OP()},s=i.render||r;delete i.render,Ha(s,i.type,i)}},0)},Pe.done=e=>{Pe.update(e,{isLoading:!1,progress:1})},Pe.promise=TQ;function TQ(e,{pending:t,error:n,success:o},r){var i,s,c;let d;const h={...r||{},autoClose:!1};t&&(d=NA(t)?Pe.loading(t,h):Pe.loading(t.render,{...h,...t}));const u={autoClose:(i=r==null?void 0:r.autoClose)!=null?i:!0,closeOnClick:(s=r==null?void 0:r.closeOnClick)!=null?s:!0,closeButton:(c=r==null?void 0:r.autoClose)!=null?c:null,isLoading:void 0,draggable:null,delay:100},p=(f,m,k)=>{if(m==null){Pe.remove(d);return}const g={type:f,...u,...r,data:k},x=NA(m)?{render:m}:m;return d?Pe.update(d,{...g,...x,isLoading:!1}):Pe(x.render,{...g,...x,isLoading:!1}),k},y=$s(e)?e():e;return y.then(f=>{p("success",o,f)}).catch(f=>{p("error",n,f)}),y}Pe.POSITION=Kl,Pe.THEME=Ns,Pe.TYPE=tt,Pe.TRANSITIONS=$J;const HQ={install(e,t={}){hQ.useHandler=t.useHandler||(()=>{}),OQ(t)}};typeof window<"u"&&(window.Vue3Toastify=HQ);function OQ(e={}){const t=zS(PP,e);pQ(t)}const jQ={v:"4.8.0",meta:{g:"LottieFiles AE ",a:"",k:"",d:"",tc:""},fr:25,ip:0,op:273,w:500,h:500,nm:"not_found",ddd:0,assets:JSON.parse('[{"id":"image_0","w":175,"h":173,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAACtCAYAAADGWi9+AAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAYj0lEQVR4nO2dXVMb2ZnH/+cg1BIIkABjPF7bxFvZnamaqYHUrh1XqjbMxc7YV4Mucj3kEwzfIOwnCLnei+BP0PgmME5twWQry8DWFrh2qpKt3aRgXB4DtngRWKIlcc5eSGLUp7ul7qPWS7fO78rdWK1G+vP0c57zvAAKhUKhUCgUCoVCoVAoFAqFQqEIMqTTN9Au9Ofb0+B8CgzTICRJCZ8GAHAkOfBxnZeeEYJdAGAMewD2ALIHXO0hFttNfzJz2up7V9gTSvHqq5tTQN8sCKYp4dOc4+ctfLt9DuwCfAOUbqQ/fbDbwvdS1BAa8epfbc2Bk1kCPgfgXgdv5YwDG+BkBbH+FWWZW0egxauvbs4CdJ4QzAEY6fT92MGBZ0rIrSFw4tXXd5IwjHkCsgCPFjYej6E/EkF/fx80LQpKKQBgIB5zfI1hFHDFGAAgn78EAOTyBkrFEoqlkpe3P+McK+gjS8q18IfAiLfsx9JFt1ZW06IYiGvQotGyaPsjvt8TYwyXRgH5/CVyeeNa3I0gBF8zxhbTTx5t+H5TPUTXi7dGtF80+r+JwQEkBuMtE6sbLt7lcHGRRz5/6cYy73OChfRnD1facW9ho2vFq6/vJHFZWGok2ng8hpGhQSQSA9duQLdQFfLFuxxYxfWwQ1liObpSvPraNwsEZBEO7gGlFInBAYyNjnTMwnqBMYaLixwyx2d1rXF5cccW0k8e7bXv7oJLV4lXf749TRlfdto0oJQilRxCKjncdVbWLRfvcjg5Pa/nH59x8MX0458utfO+gkjXiFdf3VokBL+y+1kYRCuSy1/izdsTGEbB9ucVV2JeWWFnOi5efXVzihK64mRtU8khjI0mQyNakWz2op47ccY5WUg/ebDc5tsKBB0Vr766PU8IX4KNbxuPxzAxnoKmRTtwZ+2FMYbM8SlOTs9tf845niIWXVCbHGY6Jl59bXuJgH8pnqeUYmx0BKnkcCduq6MYRgEHRxlbV4IALxhnc8qN+IG2i7e8Q1ZYJsDn4s80LYr3Jm8EIoLQSt68PXaywmecklm1Q1emreLV13eS1Chs2Pm3qeQQboyPtvN2upqLdzkcHGbs4sPKD67QNvE6LcwopZgYT2F4ONGuW3Gkut1bzn/ovPUvFkv4/uCNrRvBOfllrwu4LeLVn29PE8Y3ICzMKKW4c/tm2xZlhlGAYRRQLJWQyxtgjDmGqmrpj0QQ6Y9cJ/XE4zHEahJ7WgljDEdvTpA9v7D8rNcF3HLx6qubU4TQXQjC1bQo7ty+2VIBFIslXLzLIZ83cPEu5/v1q8k/g4MDdTPT/ODgMKMELNBS8Tr5uK0UblWw2fN3rqyqX1S3rFPJoZY9SU5Os3jz9sRyvlcF3DLxtlu4ufwlstl3ttbJCwR4wYEpNJHc3h+JYGx0pCV+fDZ7gYOjjOU8p2Sm16IQrRPv2taKGA5rhXBz+Utkjs885tJiw0sRZbliAwDoLAimCTANF4nwrdrWdhBwz4XRWiJeuw0Iv4VrGAUcvT1pKNpycB8rANvwM+XwhyJPPmcXs66lFZbYzgcmwAumRWd7ZSfOd/FWtnx/W3uOUor7U7d9EW6jrdQK+xxkBfxqqR07UuXc4+IcJXyhXhm931vedgLmwLP044dzvrxBl+OreO0iC36Gw3L5SxweZurlxO5zThY7uXjRn29P44ov1EuiHxsdwdho0pf323/52rIw5Rz/kn7ycNGXN+hifBXvs7WtXdHyTE6M+fK4zByfInN85vTjjotWpFH5Ujwew+TEWNObIYwx7H/32vIH3QsLON/Ea5eP68eWL2MMr16/cfJtuz5xW1/dnKWELtm5E5RSvHfrRtMxYsMoYP/la/H0Ptei02H2f30Rb2UHbaf2nKZFce/OraauWy/LKmglM/VKm/x4OtnFgDnIb9KPHyw0deEuxhfxiu4CpRT37txq6pFoGAW8fHVon5jS5dbWiXplTn74wS9fHVqeUGF2H5pe/utr31hW2M0WRtYR7j6nZDaIwgWA9KcPdpkWneUcT8WfZY7PcHBo3XzwwuTEmCWiQxlfbuqiXUxTlldf30kSo7CHmkdhPB7Dnds3pa/pJNywxTArbsSvxfPNrhNs3YeQbh83Z3kvC5YSnonxlPTlnITLOZ5+/vhhqBYf6cc/XeKc/FI8f3J6jmxWfos7lRxGXFgAEsKX9PUdf2JzXYS0eMsxXXMYqJmkFMYYDo6sydec42n6ycN52fvsZtJPHizbCfjgKNNUFtzYqGVNOILLQugWbk1YXrpoOqK0qQXHq9fWpOswC7eKo4AP7aMsbhiIxzA8ZI5eEIKFsFlfKfE6WV3Z7d/M8alllUyAF2EXbhU7ATs9idzSC9ZX0vJara5stW81K0xgn2nRWakLBpSygM1RCMMoIHMs5+b390dCb309i1df30lW2oxeI2t1GWM4tIaHzjglc2FanLkl/eThPCH4uvbcyek5ci7TPUXsrW8xNEk73hVnGPMQEm9krW7m+NS6Jw++GNaguhtYNDoHwPQoOrSvIm6IvfXli83cXzfhWbyVjuTXJAblWosaRsGS1lhO5wvmBoRfpD+ZOeUE87XniqUSTk6zUtdLJYfEU/f059vTcnfXXXhSXaWiwFRBYPNocsWRtRbrDJyFakEhS/qzhysceFZ7LnN8hmLR0xgBAOUcE0v48oqH4nP2aDLpfO2RbAfyXP7SugcPvhiUJJu2UP5DNrkPdVJC65IaMVtfcc0SVDyJV/ylR4YGpd7ULrrQ6+6CSPrJoz3OYfpMsucXUtY3kRgQT43oX20FXsCuxVv5ZU0+gs2H0hBbq8vJoucL9QKx6BJ8sL7VsnwTLPjW173l5WS29lB2oZbNvhNP7YcxacQP0p/MnNpZX5nIQ2IwbjoOg+vgWn2VyZLXiB+GG4rFkrVgUFnd+thY3zOJxB1b1yHgUQdX4i3XY5mjDGLmkhtskk3OlNWtT/qTmVMOslx77rR+5bQtlFLrd3bFA219XVrevtnaI02LSkUZsudml0H8UhQO8CuT61AslaSSdsSnJaWYbeq+Oow78RKYHi8Dcc3zGxWLNh+48KUo7Ek/ebRHgBe152TaWonxXs7x8+burLO4Ei8l3CReLeo9Z1d0GcpZYyqu6xYGczlPLm94voZdlXKQ/V5X4hX/QmX83bzwYZdbMClcw7np8zKMglTUwer3IrzitfvLlPF3rYs1tuH5Ij1M5Sm1X3tOJtsspvULZ/iU9E11mMaWl5t/ORmra7e4UHN2vcM5NmqP3XbGrCUSMRueIC/aGouXmR8r/RHvVlcUr5izqnAL2ag9ujSKnq9gSdLhCGxyemPxEmL65fr7+zy/iZizW+6Pq/BMH0x5zjLhspgYcajT1bLbaSheS6RBojrYujIme54vooCYpM8Y87xoC9MYXM+/iWy5j5mrPc8XUQAohxhrjy8lrK/o+v3Q+T1YuFiwNe8TWR5vsVjPlvk0DUHTtX2RLpgx5wcNxSv6RH6MbOrF4kq/YNws3nZOPOo2wuMA9QocFr+3V2m5eHv5w1W0lpaLV1xQiAsOhUKWlotXXNlWBvQpFE3TevFaV7bSkyUVilrUgi1oCDuevYwb8Zrqp3o5NNMN+LHjGRYaipcQc2jmSqZnVkh2dLoRf3Y8g0lb3Iaw7Oh0A2JhgB9ZfkHd8WwoXsawV3ssk0Nq/YDprOeLKKpV3CaanaAJBHfH043l3Wv2TSxplCS4pScdhVIfMvwsxmff7v8FARfiNacvyhT+WabTQIlXCqEwQKYQ1jIijDRvnDqFC/Ga0xdLEo3exARoAPfsHoGK+oglO5qlHq0xor/LOAmkvwu4EK9Ya1YslaQSoK2POHMjE0V99PWdpLhYk8nwsz452V4Tt9VR3EYbTH6RTAK0pVEJCXarobZTKMzWHtobhMZYG7/w8FpeAOAwx3plIg6DQotNAnwepsk0LUdoSWppWeqCYtH61AxyFbdLy8s3ao9ku7VYAuohmkzTSioTmExz7xIJ71067WbdNXdnncWdeCndqD2UsbyA1VpQEo7ZCC1H+CO3bRbtAtHoMKGUPmi4Em+latWU4yAzG1ecTMOBj4PcK6tdiOOnZIQL2HxnxPxEDRqut4c5zL0WLi7ynt9M06LW3baQTKZpFXYTmGzGUzXEtrdZNLohfWNdgJe2/qZGb7Kugzj6ihB8oWK+zlBqHpUbj8ekogxiS1RC8HVQt4WruBdvrN8k3mKpJOU6DA8nbDKhzF+Qooy+ujkrxnZlrC5gfVIyoetkEHEt3nJ7efNgOxnXAbB+ARXrOyt1sRBDCF2uPe6PRCQXapeWlltiy9Qg4i0lUnAdLt7lpHJDU8lhi+9LCVVd0mvQ175ZgODr3rw5JnUtcQITIfg6DI29vYm37DpcRx0YY7i48O46UEotvi8HPq58YT2Pvro5RWCekhSPx6S2gxljFn+XsXDMAvEk3spcMJP1lR0pOjycsMk2I4sqdAZQSpchFKpOjKekrmUzcPtMXL8EFe+VFH3EMplGZuEG2H4hI5Tx5V7eNtZXtxbFRdrY6Ih0rdqJMPaKgywHPcpQxbN4058+2BWbQ4sfkFs0LWrrPuCy0JP+r766OUsIflV7rvwZyf0tZ7M20zJDNIFJqoaNMbZYe5zPX0rNRwCAsdGk1X0g+KLX/F/9+fY0IdTyOJ+ckFukAVaXjnM8DcNCrYqUeCuZSKY0yTdvT6RvYnJizBL7JSC/1le356UvGiD09Z0kYXwFgp87OTEm7S5kjk+t4THB5Qs60tXDnMBkGQ2jgKzETFygXET43q0blvOE8N+GXcD6+k6SGoUNCGGx4aEEhocTUtdkjFldOYLfiZ3Vg460eNOfPVwRfd/M8Zl0T4CBeMz2ERlmAVeFK/ZAjsdjmJSM6QJlq2v1dfEj6Qt2KU31bRB932KphMyx/EJ2eDhhWcAB4RSw/nx7mhiFXVG4mhbFbZunkFsMo+C0gP5AX9tWbkOV9JNHG+KW8cnpeVMtocZGkxgesj4uywLeWpa+cBehr27OEsY3ILgKmhbFnds3mxp6cnCUcfwZAf8yTHH05jvmcLYAIde33gfohsmbY7YJKITgi2dfbW0EOQ6sr24tEkLXISzO/BBu5vjUYjj6hOtRzkNjfYkfF9HXvlkgIL+uPZdKDuHG+GhT181mL5z+EM44wXz6s4eB2SnSVzenKKXLdpPW4/EYbt+60ZRwDaOA/ZevTedGhgZw/94kdr79q+k85+xHYQiZ+dKrLP34p0t2GxeyO29VhocTeM/+Sx0hHLq+trUShFxgfe2bBULorp1wh4cSTVtcxhi+f/3Gcn7mo/u4e3vcpnKbhKJ20LdGe4yxeYjuw2EGRYkmJbUkBgdw5/ZN23gnAT4nhO7qq1uL3ehK6KubsytrW3uVp5JlJTo5MdZUVKHKwWHGEtP98P27GBkqp0/ev3fT9DMKMt/0m3YBvrgNVfTV7XlC+G9rz/nhywFl65I5Pq23FX3GOZYQiy51eu9eX92cpZRachSqaFq0qQ2IWjLHp5adtPHRIfzsHz+4Ps7lDfz+D+ZC4bnHD3397juB77+Avrq1LJZpDw8lfLEwQDmx+tDG0tRwxkGWwa+W2unX6es7SVwW5yrFkvec/t/Y6Ih0roKI3ZqgP9KHf/75NPoj5uaGv/u3/0KxdHV9zCmZCfqmhf+Nc2PRBWIUpmvjl9V8Uj8EPBCP4d7dWzg5zTqlY44Q8C9B6JfP1rZeMPBlcL7SCiHr6ztJFAqzYJgjRuGLeqYgHo9hYjzlWydzwyjgyGZL/mcPPrAIFwBGhgfw9rjmqXV11XVullda8ujQVzenCKG7EPy8G+MppJLDvr1PsVhC5vjMkmztwD7n2ADIBvqwK2N19NXNKVA6DYZpSmGpL7OjPxLBzZtjvkwOrWIYBbx8dWjZRZv5sLxAs+OP//knk3g5Z58EuVsO0CLxApUdpHIg3pJsIrtn74RHEV9DgBcgOGUcp+JkyfJ/IMnqDAg3Qq0lHo8hlRyS7rHghJNw79+bxEfv33V8nRKvR+wWcEBrBAyUF3Vn2Qucnp7X84lbRrWTTSo51JJBJ07CvfPeOH7y0f26rxV9XgD/NPf44b/7fpNtpOUrTicB+7mIs8MwCsieXyCXN1o6wagq2EQi7ruVrcVJuJMTKTyc+XHd19pFGwjwgmnR2U5HZpqhLeGSTgm4CmMMufwl8vlLXBpF++4xLtG0KLRoFJrWjwHJBiBeyWYvcPT2xHLPI0MDjgu0Wv6yf4Bv//yd5XzQBdy2WJ+TgP2KA3uFMXbdZ7iemDUtCkop+iMRX4aXeMUujguULe5PPrrfULgA8Ps/vHDs7BlkAbc1UO0k4P5IORm9lwfiiTDGcHCYsd1id+PjVnGyurUEVcBt32VxikIA/ofSgophFPD96ze2i85GUYVacnkDG//xrbhQsyWIAu7IFqH+fHuaMr4sJmIDlSqCibGOPKK7ASc3AagfxxUplq7wx+0/4ezcbLnHRkccrx80AXdsf1tf30nCKCwT4HPxZ9WOOr1khQ2jgIOjjG1kpD/Sh589+OA60aYRTsKtpqnWSTUNlIA7npxhlwtcJR6PYWx0xNfdqW6jUcJRaiSBR//w964WZgDw+ugEO//9V4uroGlR3Ltz6/rYrYDLORuX00D3za/ouHiBaz94BQ4JLcND5dq2sLkSVdHWC9v1R/owOZHC305N1rW83716i5ffvzHnL1RwiujUEzBAvgf4MYAPTWeBF4yTpfSTB8uON9MmukK8QNWNKC4S8C+d/k9YRJzNXiBzfOZ5F3AgrmEgHsVYquxOFUtXyJ6/sxVslUahyPoCdqYb3IuuEW+Veou5KsNDiZZtwbaKci+FbCNLewZO/hWE/wJ10irdkkoOYWw02TCGHlQBd514q1RiwkuwCalV0bQoUiNDSCQG2r7J4ZZc/hLZ7LuGSUOc4yli0YUf/MzCAik3dnH8/Z2QWSvUi3KMDA2gWLqy3ejopIC7VrxANcHb3ZeYGBxAYjDeFUKu5lVcXOQbugac4ynAFu3yjcuulDFPQebrPYlqIYTg7t9MenoqOeVNjI8OYebD+9c1cLm8ge2d/7VEMTol4K4WbxWvligejyExGIemRdsSqSgWS5Vmg4brbvH1RGvHD6v+vimATxGKSXDMA9DE/0spdaz7E/GaqeYUhuuEgAMh3ipuS21E4vEYYlo/IpEINC2KWCVfQYZc/hKMMRhG4TpjzUOSj68lSvV2K90IWDbFslsEHCjx1qI/357GFV8gBHOQ8AuBck5FxEXkoipWWQjB14yR5VaEl2QF3ExuMNAdAg6seGvRv9qaA8NcM0L2G0LwNeN8pVX1c7V4FXCzwq3SaQGHQry1VCzyXKXGbBptEjMBXjCQDRC+gWh0o92LF7cC9ku4VTop4NCJV6QsZkwDfIpSzIIj6Xbl7sA+IdhjnOwCbA+c73bLtmkjAd+cGMXh0bFvwq3SKQGHXrz18DS4MBbbDUKySj0B29GscKt0QsA9Ld6w4lbAfgm3SrsFrMQbUhoJ2G/hVmmngJV4Q0xFwN9A2MholXCrtEvASrwhZ2Vt6xzAdZMMsQlfq2iHgLszm0XhC5UF6bVw+yN9eDDzd215b6fqDw58TI2CL93tlXjDDKUmgYwMD7iuyPCDVgtYiTfMcD5VexiJtD+Jv5UCVuINM5ybmgdmz5sbsyBLqwSsxBtmYjGTeHN5A3/+v1cduZVGApa5phJviEl/MnNazhv+gf/5yyt89+ptR+6nnoBlBhwq8YYetghh0M3Ot3/tOgHLDDhU4g056SeP9jgnC+L5Tgv4wcyPrZEPxhe9XEeJtwdIP3mwzDn5pXi+kwIeiGv48H1zMQwBPvcyV0+Jt0foRgE3O+BQibeH6EYBT06khDNk1u1rlXh7jG4T8K0Jc4iXALNuX6vE24N0k4DHRy2dQF2XbSnx9ijdJGBZlHh7mKALWIm3xwmygJV4FR0V8NvjrHjKvtufDUq8CgCdE/DrI3NBBQc23L5WiVdxTScEfHAkTq7nG25fq8SrMNFOAX/36q215y/nK25fr8SrsNAOARdLV/j2z/umcxx45qWvmxKvwpZWCrhaWWwZbkjJopfrKPEqHKkn4L/sH0hd06kknoP8Jv3pg12Hl9mi+jYoGuI0M3pyIoWP3r9rzQxzwGlGnGwvByVehSucBAyUO/DcvT1ul6eAYukKrw9PHGfEAdjnWnRapgmJEq/CNfUEXGV8dOj637l8wXaCUJVmu+co8So80WhaqVtqR3fJXkOJVyGFvrq1KDMnrjyfgy360ZBbiVchTXU6EwifqySROwl5n4OsgGLZa0ShHkq8Ct+oFE9OmU4GpKO8QqFQKBQKhUKhUCgUCoVCoVAoFAqFa/4fCbut2hEefs8AAAAASUVORK5CYII=","e":1},{"id":"image_1","w":85,"h":85,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABVCAYAAAA49ahaAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAEE0lEQVR4nO2d/XXaMBTF72OB0AnqThA6Qd0JygalEzQj0A3aCUo3gAnqbEAmKNmATHD7hyTqEuMvycgW73cOJzYY83zzJMuS3pNgJJDMAWT2tQAwb/jKEcDe/RWRYjjruiGxfpjkEkBuX/eBTvsEI/QWQCEix0DnHS8klyS3JI+8DluSK5JNXj8tSGYk11cUsoojyQ3JLLYeXlgxNxGFvMT0xCU5p/HMsbPhFKoFmjozZjHvypHkQ2zdKqHxzm1kgXwoGLBK8G5S0bQvtwDuvK2JywuABxHZ+J5o5vNlmqLzG9MXFDDX8JPkd98T9fZUkhsAn30NGCk7AKu+Dw+9RE1cUMcTgLyPsJ1FJblHuMfKsdNL2E51qvXQWxEUMNdasGN7trWoN1Lkq7iHad20ppWo9i5/i4I6PlinakVjnWrbob89DEqJL23asbWi2rrkgDTaoSF4gblx7esOair+G6igZe5gNKnloqg0PfOfAhqUCvck13UHVBZ/LfaNvABYiMih6sNLnvoAFbSOOwAX+wheeartAvszoEEp8bFqFLfKU9eDm5IO66o3//NU9dJevPLWc09dXc2UdFidv3HuqUfoDaoPb8o9WSdPte1SFbQfq/LO7NIHSidW5Z1T8dei78079zAwA7ToB2LpNlzxz+PYkRS521BRw5G7DQEAkoxmSlq8F5H9zPbsK2HIAFP8s6hmpMUCUFFDcxJ1EdmQlJgDRtTxT3ydDhngOetPecVbQEUdBC3+A6CiDsAMZihaCYjWqQOgooblGTCiph8Uez0OgBG1dgab0okjoJ4amj2gnhqaA6Cd1KExndR25ymqKYngZlg7UbUK8OfRbThRO4W0KJWcNHSiFnHsSIrCbcwAwE6u2sWyJgGeyxEr5cdUrQL6synvlOdSafBEf96VgypOnmqrAPXW7uzOo1R0ero/9dPTreK/rmjQ1Hmsik7RkB8/2oX8qLe2ptJLAQ2j9OH9pWjqyuEU2xJYD2nRxPlRF57eFO9fAPgQ2qKJ8wwT7Huxc79p4G8FEzGs/KMxX1WtqPamNc4Eg3H41iZNc6u8VDZV21dfiybOTkSWzYd1SPZFcovbzVTRKelXF1HnMH2Gt5TsC+iRRa1TWrobFLZVdp9zOk37sf+tHLcxUOg8tPP4Xd+slHOYbsJU27C9M1ICPSeoichRRHKk2Uewg4eggOesPxFZAfiCdB4QvonIchQrWZBckNwPlYX7Chw41shHxl95og/fOfZ8/zQrUUwhPX1BclqBeSRza/jYKDjWot4WGnHHsIbKllMX8xyaVSseeN0b2oGmns+uea1RFvmyF1le5CvksM0j/i3yFWU2Y7SV08rQ3DAymIhutxRdBhvrWcEzzBiaW5LuALMknU4JTZW/U1qiUwiP8oYAAAAASUVORK5CYII=","e":1},{"id":"image_2","w":186,"h":242,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAADyCAYAAAD6Bd/wAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAPn0lEQVR4nO3dXVobR74G8LeqW60vGgkZFA/J2OZ54rkNZwXxDiY7GGYHnrOBISs4mbMCZwPnOCsYZwf2re05Mk6GsYUQSE2jr+6ucyGaMCBA6KtK1Pu7sUBSV7n00vp3qVoNEBERERGRScSiGqrVjp7ETrytlNoWSjw7a/3bRbVP2u1B4QMEPiioD0jw6unWxqtFNT7XoL+t1bellDtKiGdCqW/m2RYtrZ8g8NKJnZdbW2vH82pkLkF//7GxoyCeXw53PptBLuci4zpwHYms50LKhb2pkEa9foQkUegPYvT6ETq9AaIoufiQAMD/OImzu7W19mHW7c80Ze8/NnagsAvgcfo7v5hFseAhn80w1PRvoihB2OmjHfbQ70cX7/px1oGfSfLe1urbwnFepHtw15Xwi1mU/TzDTWPpdAcIwh6CsHf+OwX1vZu4P8yipJk6he/2DnYFxF8BQEqBkp9jwGliUZSgfniCTm8AAFBCvFFxvPOHrerrabY7cRprtaNyLOKX6cxJMe+h+mCFAaeZCDt91A9PkCRq+AuBP3/9aP3FpNubKJUXSxUpBdbXivCL2Un7QDRSkijUD08Qdvrpr378+vH6ziTbunPQz6YMfwaw6roSD9d9ZD13kraJxtJsneKo1Ul/nCjsdwr6xZB7nosvq6ssVWghgrCH+uFJ+uOdwy7HfWCtdlQWjvMCDDlp4BezqD5YSX/807u9g927PH/soMcifimU+sZ1JUNOWlwMu4D46/uPje/Gfe5YQX+3d7ALgW+lFHi47jPkpI1fzP428aHwY6129GSc590a9Le1+nY6T76+VuSBJ2lXfbACb5jD1VjEL8Z5zq1BP6vLUcx7nEIkY1QrxeENgW/HKWFuDPr7j42ddK78woEAkXZZz8VaKT/8QeG/b3v8zXv04QItlPwc63IyTqVUgOtKAPj9P/YOn9/02GuD/v5jYwfAY9eVqJQKs+0h0Yyk2VRQ/3nT464NuoJ4DoB1ORnNL2bP9+pnO+eRRgb9ba2+nS65Lfv5uXSQaFYuTDdee1A6MuhSyp10A6zNyXSrxVx684+12lF51GOuK12+A4BiwZtDt4hmy3VlOq+O2IlH7tWvBP3sk6bHwHDunGgZrP5Wvjwbdf+VoMdOvA0MT2QmWhZexklvPht1/5WgK6W2ASCX40f9tDzyufMd8+NRdfqVoKdfLpRxnct3ERktrdMjRNuX77t2Ht11xl7BS2QERwxnCIUjnly+72qaz0525ipFWjZpua2UenL5vmt325w/p/uE9QlZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysYeWJotxchCLvo9SPE6QVVyWg5z0Uu62KlmINj4GmYRgW9FXRw0AwxiGLdXaE7Oj2/6G0bJT+PjUrRqK9MMSLocaLw66fjC4NFy6wVdBCEXTxc91Ey5NuYtQc9ThQ+/rOJbj/S3RWaoSRR2K+3AcCIsGs/GGXI77f9ehutoHP7A+dMa9APmicMuQU+NQLtx13agh4nCs3Wqa7maYGSROGgGWrtg7agt4IOEk4dWiMIu1qnirUFPQh7upomDZJEaZ1V0xZ0TiXap9sbaGtb+6wL2WMQJdraZtBpYXTOvDDotDCFnL7rYmkLOr9/3T6OxquoaGvZ/+0iqGSJQk7f5Tw1Bj2rq2nSIOM6yGX1La3SGnSTlnHSfG1Uilrb13owulld1dk8LUgh72lfwag16IW8hy/WfZ1doDmTUuCrh1eub7v4fujuQKVUwPqa3rc1mo+M6+DxZsWIU+u0n3gBABuVFeSyGXw2YDknzUbJz+OLdd+IkAOGBB0YHpwW8h5Owi6ax6dcp76EpBTwizmU/RwKeX1TiaMYE3QAcKRAyc+fH7hw4dfykFJqnT68jbk9A4zbK9Dy0n4wSrQIDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZAUjv2Q0PrtuvM5Lai9aLptBIe8t/PvEZzXWjiNRyHnGfqOuUb3q9iI0W6doBR3dXdGm5OexUSnO/UJmp50+mq1TBGFvptvNuA5Kfg6VctGYiwAABgX9cyNAs3WquxvatYIOWkEH62tFbFRW5tLGPMd6EMVoHIVoBV1sVleN+epv7TV6nCjs7R8x5Jc0jkLs19sz3WacKNR+OVzIWA+iGHv7R8a8O2sP+udGwCtbXKMVdGYa9l8/HS/8kjn79bYRr6/WoNtej4+jFXRmUkcfNE+0Be6XT8eIE6Wl7ZS2oMeJwkHzRFfzS+VzI5jq+XGitJaGSaLQPA61tQ9oDPpJ2EWi+a98WQyieKp3vlbQ0T7Wuo/BtAV91tNa990049Vq6y8Pk0Rpfc0Z9CURTlFfm3LNVp0fAGqfdaHxTFp6mHQl7kGUaGubQb/nBgOTgq6vLwz6PZfNZnR34dy8lzXcRFvQpUHrIJbBpCExab1JxtW3X9XWctGQNRDLYpo1I6asN9H5mmsLul/M6mp6KU0zXiaMtZRC6x+ctqCX/LzWmm2ZZFxnqrCW/Lz2UrFSKmhtX+vB6Bfrvs7ml8a04+RIMbclv+PIuA4q5aK29gHNQfeLWZT8vM4uGK9SKsyk9KiUClrGWkqBrx6WtR8Ua59e3KyuMuzXKPn5mb7rLXqspRR4vFkx4vQ6/T3A8AXIuBKNI70r3Ewhz0qNedS1ixrrnOfid9WSESEHDAk6AGxUVlBezeOgGSKwdGWjlAJlP49KuTDXA/V5jnXOc1Ep6ymTbmJM0IHhQctmdRXAKk47fQyiGH2DPsKeFy/jIOtlFrr3uzzW3X6EOJ58LUouO+y/qTNpRgX9IlM+5LBBIe/d+/HWfjBKtAgMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBWO/ZHQQxRgM4nv/jbpexkHGdZA5+1eHacc6vdqcyV9UalTQ40SheRyiFXSNurT3omRcByU/h0q5OPdLocxyrC9eVMAvZlEpFYwLvTFBbwUdfGoEVl4AIDWIYjSOQjRbp9isluZ22cRm6xQHzZO5jHUQ9hCEPRTy3tnVNcz4vnQjavT9ehv79bbVIb8oSRR+/XSMz41g5tver7fxeQE7lNNOH//3yyG6vWiu7YxLe9A/NwK0go7ubhgp3fPOyn69vdCxThKFvf2mEWHXGvQg7KHZOtXZBeM1jkKcdvpTbycIe1p2KEmi8K96a+HtXqY16PN4a76P9uvtqbehc6y7/Wim70yT0Bb0VtCxcmZlEoMoRhD2Jn6+CWPdCrpa29cW9GleOBtNM14mjPUgimdSgk1KW9BDjf/pZTRNSEwIOqD3NdcWdE4l3s2kpUds0DgPosmvYzot7dOLNF+93kB3F87pPE5g0O+5TMaMTyYBzH1Zw00Y9CUhJwyJKR/BA0DW07fiRFvQTVv0Y7riFOOV0xiwi3LZjLa2tQV9XguW7qtpxqu0mp9hTyYjpdC6c9MW9JKfn/jt2DZSCqwUcxM/34Sx9os5O2t0RwpUSgVdzS+VjcrKVCHRPdZSCnyx7mtrH9B8MLpRWWGtfov0RIZpbVRWtNXqm9WS1r05YMCsy1cPy8YcLJkm57n4XbU0s+09+rKy8LHerK4acTymPeiOFHj0ZQUlX/8Bk0kqpQK2fv9gpnvCdKwXETwpBb56WDbmdTViV+pIgc3qKsp+DgczWn+9rAp5DxtrxbmVdM5ZAE87/bmMtTw7HljEea93YUTQU4W8h8d573ylW38Qo9ePjFqvMWsZ10HGlfAyDgp5b2Ef8Fwc6yDsIY6Ticc657mQUiCXzRhRpoxiVNBTw7PhzXjLu+8yrmPF7Jf2Gp1oERh0sgKDTlZg0MkKDDpZgUEnKzDoZAUGnazAoJMVGHSyAoNOVmDQyQoMOlmBQScrMOhkBQadrMCgkxUYdLICg05WYNDJCgw6WYFBJysw6GQFBp2swKCTFRh0sgKDTlZg0MkKDDpZgUEnKzDoZIVRQW8BQK8fLbgrRNNJbriIwdWgK7y+7UlEJur34+GNBK8u33c16ALHANAfxPPtFdGMDeLrM3sl6ArqNcDShZZLkihEUQIAeLq18ery/Vf36Ge7/R736LREOr0BAEAJ8WbU/VeCnv419PvR+V8Ikek63WHQhVKvRt0/enpR4WcACC2+3ictl/OsiqsHosA1QRdCvASAdtibU7eIZqf3W/XR/vrR+stRjxkZdJnIFwDLF1oOraCb3vzf6x4zMuhbW2vHAH4EgGbrdOYdI5qVJFEIziqPJEl+uO5x1y4BUIl6AQBB2ONenYx1HHSGNxR+/sNW9fV1j7s26E+3Nl6lB6Xcq5OJoijBUWsYdKXU7k2PvXFRV/rkIOydT98QmaJxFA5vKPw86kOii24M+tmT/wYA9eYJ17+QMcJO/3xKMVHJ89sef+syXSdxdgG0oyj57S+ISKMoSlA/PAEAKKjvb6rNU2KcDb+rHTwTUvwdAKoPVuAXs1N1lGhSSaLwz3ob/X4EJcSbp48ebI/zvLFOvHi6tfFKQX0PAPXDE9brpE3jKER/uOCw7cbyu3GfN9YePfV+r/ECwJ+kFNisriLruXfrJdEU6ocnF+fM/2OckiV1p6ADwPsPjVcQ+FZKgfW1IssYmrskUWgchechh8Cfv360/uIu27jzOaOOcr4D8FOSKNQPTy5+/Eo0c2lNPk3Ih0+bUFrGAEAx76H6YAVSTrw5oivCTh/1w/Np7bZK1B9vmy+/zlTJ/Mfe4XMF9V8AwFKGZuVyqaKEeKPieOcuNfllU++C39bq28JxXgilvgGAfDaDtVIe+Vxm2k2TZZJE4TjooBV0L344+TcncXbPFhpObGa1xru9g10B8RcAq8Aw8P5Klnt4ulUUJWiH3X8LuBLiDeLk+aSlymUzLaprtaNyLOMfcFa7A8OSppj3UCx4yGczrOMJwPBkiW4vQjvspfPiqT0I7E5ywHmTuaSuVjsqRzJ6LiB2ADy+eJ/nucg4Ep7nABju+el+i+IEgyhGkij0+zF6g2jUuqmfIPDiujOEpjX33evbWn1bSrmjhHiW1vFEGH4j3CsIvHRi5+W0NfhtFl5HvKsdPJNSbidIygLiCRSeLLoPtHhKDM/OF0K8dmLn9dbW2ge9PSIiIiIiIp3+H/yNcCHjpRNmAAAAAElFTkSuQmCC","e":1},{"id":"image_3","w":216,"h":260,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAEECAYAAABKq/oNAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAeX0lEQVR4nO2dX3Ybx5XGv6puNEAIAkGR4vAokQnO2H41ZwXiDuysIM4GJjnZQJIV2LOCaHZg74DeAfwqKQFgOxoOBRIgBDXxp7tqHtAFNWmA+NdV1Q3c3zl+oAii22R/qFu37ncvQBAEQRAEQRAEQZiC2b4BItu8ql+ecodXpZSnDKwKieq010kmzzl4RwhRc+HWTk72OkZv1BIkMGIh6vV2JUBwCo6ziZAYXqz6fpKxH5mU50KIl5+fHNaSu9N0QQIjfsXr+rsz5rAqJE4hcQqGUwC7017LOYOXc+DlHHDGUMi7v3pNEAoEgUAQCgxHIYaj8P5LmgzsWy74y01b2UhgW0y93q6GTngahXenkrEqk/KLWa8v5F24DofrcBTy7lhUfPlHSAgJvz9CfxDA748ghFTf6krIb1zhfrspQiOBbQEqvOOcn0rI03nhnevwyarkec7kax0osXW6fQShUP/cBcMfP/3k4KWWixqEBLZhqPBOSlllkp0tGt4pEU0L8UzR84d3hSbxgyOdr7K8mpHAMkq93q4GCKpR0mFueBcXUiHvwnXHoV4a6XT76Lzvqy+7UsgvPzt5em7xllaGBJZy7oV31Sjp8GB457ocBc/VHt7pZDgK0Wr7HxMiDH/IYshIAksR0ZnSaSy8qwI4nvbatIV3OhBC4vrmFj1/OP6HDIqMBGaBVcK7uIjSHN7p4PrmFt3eYPxFxkRGAtPM6/q7s3vh3cykQzy8c92PmTxinABptf3xFxkSGQksIe6UDM0J7wBMzpHiKfFVzpS2iVbbn4SLQoj/zEIFCP1Fl+ReeFeVjJ1SeGeOy6sP8PsjAOg6wjlOewqfBPYAy4R3KumgwjuVDieSRQiJi1ZPZRe///T44Cvb9/QQJDD8qiL8FMAp5oR3d6odKLwzynAU4u3l+/EXDL/79JOD7+ze0Wy26qlYtiL8zh7J+5gSJ+wTO4xufnp8ULV8OzPZWIGtWhEer3Yg0osQEr/8X3dcKJzirGLmBXa/IhwLhnfrVoQT9oml7lO7imXmyUpzRThhj5/+9ybVq1gq46BpFeEhwl0GBonIOxR9NFB4t92UH+XHezGJrwC8tH0/97G6gi1r+MtSRThhhiAU+OWiCwBwhHNycrLXsHtHdzH2UR+J6SyWdHgRIgQkwCKdMzlenTalIpzQj3o2hqMQoROeIWWrmFaB1evtiuDia8HwdSjDL1R0Ny2829SKcEI/paKH65vbVIaJWp7mer1dDXn41xDh7wGARcIq5F0UPJfCOyJRYh/KZxZvYyqJ7sGUsAD8Xv1bIe+iVPRQLOQoHU5oo/GvcUli2vZhia1gr5vv/hoi/DOAx8B42S6X8rR3IoxQyLvoDwIECKoAGpZvZ8LaAqvX29XAEd+p7F8h7+LJ7g4JizCKl3PQHwQAxxmAc8u3M2Etgb2uvzsLefg9kyhzzvBkdwelopfUvRHEwqj9fFTNkxpWFtibn1pfQ+LvwPjT43D/ESUtCGuoiEkyVrV6I/dYSWBxcZWKHg72isneFUEsiRLYQ4UKNlh6ySFxEWmEczaJoF7VL1MTJi4lsNf1d2ckLiKtuO74ceYOz57A6vV2lXH2PUDiItJJwRvveKSUVbt38pGFBRay8CWAspdz8GR3R98dEcSKqBWMSXZm904+spDA/tG8+hMYXnDOcLj/iCoyiFQyOXtl06ds2mCuwOr1dkVC/g0AKo8LlIonUkusuOG4Xm9XbN6LYq5aQh5+C6BcyLsol/IGbokgVkeJLECQikTHgwKr19tVRIW7lccFE/dDEGuhBMZ5OjKJDwosqowf20zIp0VkALWFkUhHJnGmwKIY9ncArV5EdpgsBBLpXsFCJ/wKQJmayBBZQqXqH+o4ZpLZIeLYfk2JDSJTuA6fHCNFOQSrPLQH+xIAijs5Q7dCEMmgEh2hE1oPE6cK7HX93RmASQdcgsgSE+uKlOkUWOQKpdWLyCRpMl9OFZi6MbL9E1kkTebLqQJTN0bhIZFFVNY7DebL6StYrIENQWQRtTiofIK1+7B5cSL7jIIQg2GIwTDAYBggFOMuswXPRd5zsFPIIeea32q4LkcQCjCHVY1fPH4fNi9OZAchJPqRiAbDAKNA4HY8jHwq8e+Vih72K0XkPXOPW8Eb90m0bb4kgRG/wu+PEAQhRoGA3x9hMAzGM7hWpOcP0fOH2K8UsV8x44T3PNUEx675kgS2xdwP70aBwGAYaLveVcfHKAhxdPBY2zUUkwQds1uTSALbAuLhXRAI9IfBg+GdTrq9AXKuo30lix0x7dbr7crJyV5H6wVnQALbMOKrUTzUSxNXHR+loqd9T6bmhkXmy3OtF5vBrP/DJoDj4Sikw+aUMoqEcxvtkXSHd0lzef0Bz492tV5DCSwyX55rvdgMpgtMogGG4yAUJDDLpCm8S5Lb/gijINSawo+ZL63tw6YKTDJ5zsBeDIchigWqRzRFfCVKa3iXJD1/iL2yvhaAhbwLvAcg7XWZmiowxlgDEuhnKOTIEvHwLp7J2zZu+yOtAkuD+XL6ChbKBuMMwQZ/eppCnSOp8G7dM6VNItT8e1DmSyEk6vV21cbky6kC++zk6fmbZgtBSAJblG0L77KCGswXmS8bpq8/M08qGfuRSflFfxBQ0W8MlXRQ4d28kiHCLkpgkfnyO9PXn6kcJmUDwBfDUbi1AlMr0WAYUningYKB2sTJ3DBL5svZKxhkjYF9uQ1hYjy8ix/UEnrJe/qPgGKexnQJjDFWgwSGo9Dk/Whl2YpwQh+cM5SK+juWxaKvY+0Xm8JMgTmhUwt5mFmBJV0RTiTLXnnH2JQe1xl7w17X3519dvL03MhF1bVnfePkZK/xptmCEBJBKFLbPsB0RTixPjmXaz3/uo+Xc6yZLx/eZUr8AIYXQZAOgakUOIV32YVzhmeHZaMz5rycA78/stJO+2GBMTQAvLCdqu/2+pGXiBIPWYZzhudHu0adzcBH86UNgT24LDGwGgBrB86jIETzbQcXrR6JK+PsFHI4flYxLi7ArvnyQYEJIWqAnUziYBig+bZD+6mMUyp6+O3RLp4f7VppfgP82nxp8toPfpy4cGshzGcShZD4+eKGsn4ZIudyuK6DYiGHnMuR91wrq9UsCvlxExzT5ssHfwMnJ3udN83WDYBdk+bLf112SVwpZqeQQ8Fz4UZCKniu0aTFKkzCxHFb+HNj1537CokaGF6YMl/6/RFlB1NC3nPvrEZ5z7EW5q1LrF991eh1573AtPmy073Vfg3iLpwz5D13Et6pUG+TsGW+nCsw0+bLnj80cp1tZefeHikL4V0STKIvw+bLuQIToahxzo2YL30KDRPjbmiX7fAuCThnE/Plq/rl6ecnhzUT150rsM9PDmvKfCmE3IpPuyyhwjvVC34Tw7ukUN4w7vAqgHQIDPhovtxmb1gaUOFdznUmmTz6wFscG+bLhdRC5kuz3A/v1NfEetgwXy62ghkyXzpb9mkcD+/UmRKFd/qwYb5c7GNR4Bwcf9Fd0ZGPQp5NPGSOJxrioR5hDhvmy4UE5sJthAjRH+hP1ZeKHrq9gfbr6CJ+jkThXfpQ7bRNmS8X+ssr8yUA7ebL/UoxEwKj8C6buA432q9+8Y9WQ+bLnOtgr7yDdooqOuIrEYV32UaZLyXMTL5cXGAMNRgyX+5XihPnsknSXhFOrI9p8+XCTw8Da0hII9YV5Xz9+eJGm8iyWBFOrE+sZCpdAhNC1BhnxtzNSmRXHX+tcJHCOyJObHuza6Jf/cICs2G+5Jzh6ZNHqJQLuOr46PnDmSn8bagIJ5IhZr6sQnO/+oUFFpkvrUy+zLnOZHC23x9BCInBMJgIicI7YhlMmi+X28FHky9tjpZVq1Kp6Fm5PpF9YiVTVd3XWirfLpk8B0Bzw4hMowQmmf6axKUExhhrADT5ksg2kxVMyi90X2spgYlw3MaNVjAiyyjzJQC8ql9qXcWWEphygSrzJUFkFbWKReZLbSxd8yQZ+xHYrLFGxPahhv9F5kttLC0wJqW1br8EkRSuG7Vxk+xM53WWX8EgG4C9fvUEkQSxfvVVnddZvixejA/maAUjsowp8+XSAnPhNgAYMV8ShE5UouN1/d2ZrmssLbCoOPIGoDCRWI5REMLvj+78ZzMbrcLEyHyp5xor/VTUr344ClMx+ZJIH8rPFwRiMnh+lpjynou9cgHlUsHoPZowX64msMh8aapfPZFe4nOx43Oyl32Pi1YPVx0fzw7LxkyusX716VrBTJoviXQhhMRNr4+eP0x8Cs4oEGi+7eDooGRkNVOpep3my5XiOzX5kvZg28VVx8c/f7nGu+sPWkdMXbR66Pb62t5fcd98qeMaKwlMtbuiFWw7EEKi+baDq45vLClxef0Bo0D/86XS9ZH5MnHWyVA0AUrXbzpqnK/pBkRCSFx1fO3Xmfgax+bLxFldYHJstaYwcbP512XX2iD6bm+gfRWLTb7Usg9bWWBkvtx8ur2+9XG+ugcyxsyXVR3vv3I+lDFWMzn5clsRQk7OkdSZUpycy1Es5LRk3UyEaPPo+UPslXe0vb9u8+XKAhOhaHDOKdGRIPFzJL8/QhCEc8+UbjEOpS6vP2CvvIP9SjGxe1n2PEsHupMqnDO4DkcQCi2TL1cWmJp8KYSkyZdLMoqEcxtVO6iD2nVQSYGeP8Szw8dr935My6xsE/s/1x0LjDv8FAlPvlzryJwmX87nfsmQ7j3NYBig+baD42eVtURmIkW+CCY+uAueqyZfVpN+77VUEZkvSWC4WzK0aHinCyEk3l6+x/Oj3ZUf0DSEhwCMlE3pNF+ut4JBNhjYVu3D4uHdKAgxGIbW0tgPMRgGaHdvE9uT2aJgQGCxfvXVpN97vbuPJl9u6lnYMhXhaeSq42OvvLPSKpZzOdIwQOqRgQazsSa6x/V6u3JystdJ6r3XEpjqV5/1ao4kKsLTyk2vv1Kaexya2R2EqI4gTKAmXwYIEh3Mt5bAon71NwB2dU++TAJ1pqTCOxXqbTKrniOVih7eXX/QcEeL82/RPAIT6Jp8uX6Am1LzpUo0DIZhJsO7pFj1A0QNa7f1AbRX3jHqNdRlvlxfYCkxXyqfUrc3SGXSIYvsV4r45eLG+HXLpTyePnlk9Jq6zJfJCEzata70/CEuWu+3coXSSbGQMz4ve6+8Y1xcwB3z5Ysk33ftmE6G4z6JtgR20XqPt5ddEpcmnj55hHIpr/06paKH42cVK+ICxnswlW1N0ny59gr22cnT8zfNlhXbykXrPbo9u5mutJPEQa0afpjU71pNIy14LvKeE432tT/W18s5iU++TOoUrwnguD8IjFV09PwhiWsBktoXHx08RqmYx7vr3lJHGPlIRCppkuYZ2UpgSU6+TEoNNQDHplYxISQuWu+NXCvrJBnelYoeSsUnk4Y38exsPhrjWyzk7gyezxI6zJeJ/AYkZI2BfWlqH3bT69OeawF2ooc9acZC27wRvjrMl4kcXDHGjE5codBwPpwzHB2UbN9GplDbmyTNl4kITISiAZgTGJ1zzefoYH1P2DaiwsSk+tUnIjDlAlXmS534G17atC5q5drEEM4EE+uKw6pJvF9ytU0SPwDUK9EmO4Ucnh/tGu/xvknEJl9Wk3i/5HbADA0AL0ym6olxxflO1PSG5gSsj+epJjjJmC8TU4IyX+pO1efc9BQUm0adI43PlsYHtdQLJVliky8TSdUnt9QYMl/mXAecs41O08dFFD+oJfQTM1/uJmG+TExgJs2XpaK3Ean6+yVDrutQmJcCkjRfJiawuPlyOArjnwSJUy4VMieweJnQTiFH4V2KUQJLwnyZbDYiMl8GodAqsGIhZ9UM+BD3w7sslgxtO2ofJiHX3ocl+5c3aL78zWEZ//zl2tpeLB7euZGIKLzbDGLmy+q675W8wAyZLzlneH60i58vbrSLLEsV4cT6JGm+TFRgMpQNxs31Scx7Lp4f7eKi1UukfCrn8kmigcK77UWZL4WQqNfb1ZOTvcbK75XgfVkxXyqRtbu3aHdvF17NVKKBwjtiGsobFjrhKdYwXyb+8az61Zus6OCcYb9SxH6leMerpHCi/RKFd8SiKIFJKU8BfLfq+ySuACZlAxb71W+qV4kwS1Lmy8TrjiRkDaDRskS2Scp8mbjATJsvCUIHSZkvExeYEzokMGIjSMJ8mbjAVEpTCElhIpFpJvOb1zBf6vF+RObLYEMmlBDbyaTcb4122noENjZfZn6sEbHdKPNl6gTGwCiTSGSeJMyXWgQmhKBEB5F57psvV3kPLQJz4ZLAiI1Apesj8+XSaBFYZLO+AUhkRLaZhInjfvXL/3yC93IXQ+ZLIvvE52KryaRqwIRyNOwUctgtFYy7wGMlU9WVfj65W7mLZPKcgVmffEmkh/hc7Pjg+Yd/RmAUDNHzh3h3/QH7lSL2yjvGhLau+VKbwBhjDUjcqWontgchJHr+YDIjO6n2DlcdH91eH88Oy0a8epPoa0XzpbYmg2ryJR02bxejIMRF6z3e/HSFi1YP7e5t4r1TRoHAzxc3RmYUcM4mq+Wr+uXSiQ5tAvvs5Ok5QGdh20S310fzbcdIxy8hpLHRwWoV4w6vLvuzWtvkSsZ+BKiiYxvo9vq4aPWMNiEaBQJXHV/7dSbWFbl8lymtAovMl5Sq33B6/hAXrZ6Va7e7txgFep+vSdHvCuZLvSsYmS83njSM8+35Q63vPzkLw/IlU3onKYhxV1Rawczh90fo9vq46vi46vhod2+1zlS76vjW5wToFlis9cXxsj+rNc/pwm2ECElgGoifI8UPamfBOUOp6GG/Uky06c9Nr5/Ye62KiWyi63AEocDr+rszlcBb6Oc03hNOTvYab5qtifkyttQSCyKERP+eiFZJewsh0e0N0O0NJh241sXvj6yvXgCMZRKDUCxtvtR/UifxAxheBAEJbB7xMiE/qnbQ8fBcdXwMhgGODh6vVRGRxtkAuvByzjjUXtIbpl9gUb96mnz5kVEQYjAM76xKpge79/whLq97ODp4bPS6WWVV86X2J56BNSTkVu7DkgrvdNHtDZD3XOyVd2zfylrsGKh1jZVMpUtgQoga4/pHy9rmoYrwNHPV8a1UqSeJiUazse3N7jL96rULTE2+3JQVbJWK8DQjhMRNr7/SKpaWedmmOjkX8i76gwABgioW7FevXWDR5MsmgGPdky+TJB7eBYFItCI8bfT84UoCMxGazaNcyhubNXDPfHm+0M9ou5s4Eg2w9Aosq+FdUqz6wZFzHeQ919oKzjnD4ZOSsevFSqaqi/6MEYEp82UarCvKpzROg4eZDu+SRAi50j5sr1ywUoeoBjCa3DvG+tUvnOgwIrA0mC+FkEvPENsm+sNgJed5uVTATW9gNHxW4jI9HHGygi3Rr97ILlWE4zZutlawwTBA8207FXVzaWWdhMVvDsvGEh7lUh7//tsnViaPrmK+NPJb+fzkcFJVb/oBHwwD/Hxxs1V7qlVYJ1HAOcNvNa4oO4Uc9itFnPx2b+3qk3VZ1nxp7GNATb40OZhPCGlkSHrWSSIbmHMdPD/anVTwr/YePBo4794ZPJ8mCp671ORLYwKzMfny8tqswzarJHWOxDnD0yePUCkXcNXx0fOHU3//PBrpW4hEpAbPZwE3CoWZZGcLvV7nzcSRkDUG9qWpio5REBrpDZF1OGfYLRUSfc+c60xqHEf3jjwKnpvpqpFYv/rqIq83dxRv2HzZ6dr3KWWB/UpR6wOfi1Yn9V+WxQUsb740JjAXbgMw1wCn59PqNY9S0ct8oa8NVKJjkcmXxgQWFUfeAGZ6dFDW8GHynktWlRVRYSLnfG6q3my1poSR8zCdPSg2gb3yDo6fVTIfrtliUtEBWZ33WrMCG5svqU+iJcqlPI6fVfD0ySPbt5JpljFfGj0ON2W+LFg45U8bec+9M5kk69m7NLGM+dLok2jKfKlKWrbhDCzn8sk5UvygltDHMuZLo3+Jz06enr9ptoyk6ouFnPZ+eaZRK5EbCYlWJXssar608VHXBHCsuwlOuVTIrMDuh3c5l6euZGjb8XLOOJcwx3xpXmCR+VJ3mFgqelbNgIugSoZUeJelkqFtZ9HJl8YFZtJ8eXRQQvNtR/t1FmHn3h6Jwrtss6j50rjAGGM1U+bL8WFqyajjNh7epbUinFifRc2XxgUmQtHgnBurSSxHhaxJiyzLFeHE+nDOJv3qX9UvT5Xn8T7GBfb5yWFN9atftQ/EspRLBeQ9F5fXH1aytscTDXSmRChcdyww7vBTAOkQGGDHfJn3XDw/2p2M95nmVbpv+FNfE8Q0YubL6qzXWHl6mJQ1GDZfKpRtQuH3R5QGJ1ZiEfOlnRUMssHAUtHtl/ZNxKrESqaqs15jp/dxZL7c9H71xGYTa6J7XK+3K9NeY0Vgps2XBKELJbIAwdTzMCsCM22+JAhdzDNf2huPEZkv07API4hVmWe+tCewyHw5HJLAiOwyyYLPMF9aExgDawC0ghGbgeQsPUkOYGy+BGgPRmSbeTWJ1gT22cnTc4BWMCLbzCuZsz0DtAlQup7YXGwLjMJEYqOxKjAJSal6ItPMWxysCowxRgIjMs3EmS/xw7TvWxWYCEUDIIER2UXIh1sDWhWYcoEq8yVBZA1VKCGZPJ/2fdtJjsnSSqsYkUVUbxnGxoUT97EvMDZu2kipeiKLqOfWCZ3zad+3LjAJ2QAoVU9kj9gUn+as9tnWBUbmSyKr+LcTgc0chm5dYC5cGmlEZBK1gkkh0yuwk5O9DiLzJSU6iKwQ60rWVHW107AuMAAfJ19SmEhkhE63DwBgYN8+9Lp0CIzMl0SG6PlDtRh0ueAvH3ptugRGISKRcoSQk9VLQn4TbXFmkgqByXCcqieBEWmn2xuo1etnV7gPhodASgSmNom0ByPSTH8QoPN+vHqB4b/mrV5ASgQWQeZLIrUIIdFq++rL7z/95GBmaj5OmgRGmUQitVy0eurZbDrC+XrRn0uNwMh8SaSVVttXz2VXCPHVIqGhIjUCI/MlkUZabR89fwgAkEJ+OWvQ3ixSM/zKCZ1ayEMSGJEKhJC4vP7wMSfA8IeHKjZmkZoVTFUjCyFpH0ZYZTgKcdHqKXF1wfC7Tz85eLnKe6VGYAAm5stJnwOCMEy3N8BFqxffc71YNGM4jXQJjMyXhCX6gwBvL9/j+uZ2XMQr8YMjnONl91z3Sc0eDAAYWE1C/p5CRMIU6vA49qHeZWB/+Y/q/twqjUVIlcCEEDXG0zFalthchJDw+yN0e4P7z9r/OML50zJp+HmkSmAu3FqIcSZRCDm37zdBLEIQCgxHIYbDEH5/NO0D/H8c4fx1lu1/HVL3BL/+6arGpPzicP8RDSgnlqY/CDAchR9FFX1Y30cy9iOXeMkFf5nkinWfVK1gAMCkPAfwhX87IoERM5mIaBiiPwwQBOLh4x2JH8BQA0PNCZ3vdIoqTuoEJoR4yTn/Y6xjD7HFCCExHIXoD4I7q9IsJGM/MikbErLGGKs5oVPTEfotSupCRAB402w1ABwf7BVRKnq2b4cwxH0RzQrvIm4gUZNMnjPGGjKUjVUqLXSTuhUMGPc5kJDfdHsDEtgGEg/vlJAWCO8aDKwmhKi5cGumQrx1SeUKVq+3KyEPmwDKRwelj4OmiUxxP7wLQjGviKAJoKbCOxGKxroHvbZJpcAA4HXz3V8Z2F+8nINnh49t3w4xh4mIAoH+MFgovFNJh7SGd0mQWoHFV7Enuzsol/K2b4nA3TOleDp8JlF4JyEbEDjPUniXBKkVGAD8o3n1Jwn5DecMzw4fw3XSVTq5yajwLr5H2rbwLglSLTDg48FzIe/i6KBk+3Y2komIlgzvGFhDCFHb1PAuCVIvsHq9XQ15+COAcrmUx5PdHdu3lFkme6R71Q6ziM6UarHwrmHzTCmLpF5gAPDmp9bXkPg7ANDZ2Hzi4Z0S0dzwTqIRnSlReJcgmRAYALxptr4F8EeARBbnfni3aMkQhXdmyIzAAOBNs/USwO+B7RPZiuFdQ0LWKLyzR6YEBtwV2abuyRatCI+Ih3cNEYoahXfpIXMCA+6Gi4W8i4O9YiZT+KtWhKvwbtvOlLJIJgUGTBIf/w2gzDlD5XEhtYfR8fAuixXhxOpkVmAA8Kp+ecoc5yWT8gsA8HIOnuzuWK1d3MSKcGJ1Mi0wRVTx8TcAZWAcNpaKntYkyDZVhBOrsxECA8a1iwEP/sTA/gzgMQBwzlAs5FDcyaHguSv1+Fi3IpzCu+1mYwSmiAntawDH8e95OQdezoHr8Jlh5BLZu62pCCdWZ+MEFudV/fKUc/61ZOxM7dNWYssrwonV2WiBxanX25UAwSk4zhhYBRKnU18YCYlKhgiCIAiCIAiCIAgiW/w/zQ1m2VyA5iUAAAAASUVORK5CYII=","e":1},{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":2,"nm":"magnify","refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":42,"s":[75]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":90,"s":[8]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":121,"s":[32]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":134,"s":[32]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":164,"s":[53]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":183,"s":[53]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":219,"s":[53]},{"t":272,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[333.752,339.42,0],"to":[-26,-25,0],"ti":[-4.333,25,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[177.752,189.42,0],"to":[4.333,-25,0],"ti":[-25.667,-23.333,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":90,"s":[359.752,189.42,0],"to":[25.667,23.333,0],"ti":[4.667,-23.333,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":121,"s":[331.752,329.42,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":134,"s":[331.752,329.42,0],"to":[-28.333,4.667,0],"ti":[28.333,-4.667,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.167,"y":0.167},"t":164,"s":[161.752,357.42,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":183,"s":[161.752,357.42,0],"to":[0,-24.333,0],"ti":[-28.667,3,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":219,"s":[161.752,211.42,0],"to":[28.667,-3,0],"ti":[-28.667,-21.333,0]},{"t":272,"s":[333.752,339.42,0]}],"ix":2},"a":{"a":0,"k":[87.194,86.29,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"glass 2","parent":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":20,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[68.687,68.686,0],"ix":2},"a":{"a":0,"k":[42.065,42.066,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":2,"nm":"glass","parent":1,"td":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[68.687,68.686,0],"ix":2},"a":{"a":0,"k":[42.065,42.066,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"paper","tt":1,"refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[125,125,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"paper","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":500,"h":500,"ip":0,"op":750,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":2,"nm":"paper_1","refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[263.625,231.897,0],"ix":2},"a":{"a":0,"k":[92.771,120.853,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"paper_2","refId":"image_3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[214.478,258.49,0],"ix":2},"a":{"a":0,"k":[107.933,130,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":750,"st":0,"bm":0}]}]'),layers:[{ddd:0,ind:1,ty:0,nm:"not_found 2",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2},a:{a:0,k:[250,250,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,w:500,h:500,ip:0,op:273,st:0,bm:0}],markers:[]},FQ={class:"dcode-card animate-slide-up"},RQ={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},NQ={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},UQ={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 xl:max-w-[15vw] md:max-w-[20vw] max-w-[30vw]"},$Q={class:"relative w-full sm:w-64"},WQ={key:0,class:"relative"},GQ={class:"flex flex-col h-full"},XQ={key:0,class:"flex-1 overflow-y-auto py-4"},KQ={class:"grid grid-cols-1 gap-4 px-1"},ZQ={key:0,class:"sticky bottom-0 left-0 right-0 bg-transparent border-t border-neutral-200 dark:border-neutral-700 pt-4 flex gap-2"},YQ={class:"flex justify-end gap-2 w-full"},JQ={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},QQ={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},eee={class:"dcode-table w-full"},tee={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},aee=["onClick"],nee={key:0,class:"flex items-center justify-center w-full"},oee={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},ree={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},iee={key:0,class:"px-3 py-0.5"},see={key:1},lee=["colspan"],cee={class:"flex flex-col items-center gap-2"},dee={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},hee={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},uee={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},pee={key:0,class:"flex items-center justify-center"},yee={key:0,class:"px-3 py-0.5 !text-center"},fee={key:0,class:"flex items-center justify-center gap-1.5"},mee={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},kee=["colspan"],gee={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},bee={class:"flex items-center gap-4"},xee={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},Mee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},wee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},vee={class:"text-neutral-900 dark:text-neutral-100 font-medium"},Cee={class:"flex-shrink-0"},Lee={class:"space-y-4"},See={class:"text-gray-600 dark:text-gray-400"},Iee={class:"grid grid-cols-1 gap-4 py-4 px-1"},Aee={class:"flex items-end gap-2"},OS=a.defineComponent({name:"DataTable",__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1},userPermissions:{default:null},permissionChecker:{type:Function,default:void 0},permissions:{default:void 0},checkPermission:{type:Function,default:void 0},menuPermissions:{default:()=>[]},dummyMode:{type:Boolean,default:!1}},emits:["update:search","update:sort","update:page","create","export","action","update:selection","navigate"],setup(e,{expose:t,emit:n}){var aq,nq,oq,rq,iq,sq;const o=e,r=n,i=a.getCurrentInstance(),{apiUrl:s}=et(),{locale:c}=ZS.useI18n();let d={query:{},params:{},path:""};try{const A=fs.useRoute();A?d=A:(oq=(nq=(aq=i==null?void 0:i.appContext)==null?void 0:aq.config)==null?void 0:nq.globalProperties)!=null&&oq.$route&&(d=i.appContext.config.globalProperties.$route)}catch{console.warn("useRoute not available, using fallback")}let h={back:()=>console.warn("Router back() not available"),push:A=>{console.warn("Router push() logic called from fallback:",A),typeof A=="string"&&A.startsWith("/")&&(window.location.href=A)}};try{const A=fs.useRouter();A?h=A:(sq=(iq=(rq=i==null?void 0:i.appContext)==null?void 0:rq.config)==null?void 0:iq.globalProperties)!=null&&sq.$router&&(h=i.appContext.config.globalProperties.$router)}catch{console.warn("useRouter not available, using fallback")}const u=a.ref(""),p=a.ref(1),y=a.ref(o.perPage),f=a.ref({key:"",direction:"asc"}),m=a.ref([]),k=a.ref(!1),g=a.ref(0),x=a.ref({}),C=a.ref([]),w=a.ref(null),b=a.ref(!0),L=a.ref([]),S=a.ref([]),v=a.ref([]),M=a.ref(!1),I=a.ref(!1),V=a.ref({}),_=a.ref(null),B=a.ref(null),D=a.ref(null),z=a.ref([]),G=a.computed(()=>{if(N.value.length===0)return!1;const A=N.value.map(T=>{const K=W.value.find(O=>O.type==="CHECKBOX"),P=(K==null?void 0:K.keyCheckbox)||"id";return T[P]}).filter(T=>T!=null);return A.length===0?!1:A.every(T=>z.value.includes(T))}),H=a.computed(()=>{if(N.value.length===0)return!1;const A=W.value.find(O=>O.type==="CHECKBOX"),T=(A==null?void 0:A.keyCheckbox)||"id",K=N.value.map(O=>O[T]).filter(O=>O!=null),P=K.filter(O=>z.value.includes(O)).length;return P>0&&P<K.length}),j=A=>{const T=W.value.find(O=>O.type==="CHECKBOX"),K=(T==null?void 0:T.keyCheckbox)||"id",P=A[K];return P!==void 0&&z.value.includes(P)},U=A=>{const T=W.value.find(O=>O.type==="CHECKBOX"),K=(T==null?void 0:T.keyCheckbox)||"id",P=N.value.map(O=>O[K]).filter(O=>O!=null);if(A){const O=new Set([...z.value,...P]);z.value=Array.from(O)}else z.value=z.value.filter(O=>!P.includes(O))},J=(A,T)=>{const K=W.value.find(X=>X.type==="CHECKBOX"),P=(K==null?void 0:K.keyCheckbox)||"id",O=A[P];O!=null&&(T?z.value.includes(O)||z.value.push(O):z.value=z.value.filter(X=>X!==O))};a.watch(z,A=>{var K;r("update:selection",A);const T=G.value||A.length>1;(K=S.value)!=null&&K.length&&S.value.forEach(P=>{var O;(O=P.fieldActionGlobal)!=null&&O.length&&P.fieldActionGlobal.forEach(X=>{var ve,Re;const ce=P.endpoint||((ve=P.propsActionGlobal)==null?void 0:ve.endpointPropAction)||P.propsActionGlobal,Se=(Re=ce==null?void 0:ce.keyParam)==null?void 0:Re[0];(Se&&X.model===Se||!Se&&/^(id|ids|idAuditTrail)/i.test(X.model))&&T&&X.model&&(V.value[X.model]=A)})})},{deep:!0});const E=A=>Array.from({length:A}).map((T,K)=>{const P={id:K+1,no:K+1};return W.value.forEach(O=>{O.key!=="no"&&O.key!=="action"&&O.type!=="ACTION"&&O.type!=="action"&&(O.type==="CHECKBOX"?P[O.keyCheckbox||"id"]=K+1:O.type==="BADGE"||O.type==="badge"||O.condition?P[O.key]=O.condition&&O.condition.length>0?O.condition[0].value:"Active":P[O.key]=`Data ${O.label} ${K+1}`)}),P}),R=A=>A&&typeof A=="string"&&A.trim()?A:void 0,F=a.computed(()=>{var A,T,K,P;return R((T=(A=w.value)==null?void 0:A.endpoint)==null?void 0:T.apiModule)||R((P=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:P.apiModule)||o.apiModule}),Y=a.computed(()=>{var A,T,K,P;return R((T=(A=w.value)==null?void 0:A.endpoint)==null?void 0:T.apiAction)||R((P=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:P.apiAction)||o.apiAction}),Q=a.computed(()=>{var A,T,K,P;return R((T=(A=w.value)==null?void 0:A.endpoint)==null?void 0:T.apiMethod)||R((P=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:P.apiMethod)||o.apiMethod||"POST"}),re=a.computed(()=>{var A,T,K,P;return R((T=(A=w.value)==null?void 0:A.endpoint)==null?void 0:T.apiUrl)||R((P=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:P.apiUrl)||o.apiUrl}),he=a.computed(()=>o.permissionBase||""),pe=a.computed(()=>!v.value||v.value.length===0?[]:[...v.value].sort((A,T)=>(A.seq||0)-(T.seq||0))),_e=A=>{var X,ce,Se;const T=(A==null?void 0:A.column)||((X=A==null?void 0:A.props)==null?void 0:X.column)||((ce=A==null?void 0:A.propsFieldGlobal)==null?void 0:ce.column)||((Se=A==null?void 0:A.propsFieldCustom)==null?void 0:Se.column);if(!T)return"col-span-1";const K=T.toLowerCase(),O={full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[K]||"col-span-1";return console.log(`[DEBUG] getColumnClass for ${A==null?void 0:A.model}: type=${T}, returned=${O}`),O},ue=()=>{let A=null;if(o.tableConfig&&(A=o.tableConfig),A){w.value=A,A.headers&&(C.value=A.headers.map(P=>{var ce,Se,me,ve,Re,Ee,De,ea,ys,GS;if(P.key==="action"||((ce=P.custom)==null?void 0:ce.type)==="ACTION"||((Se=P.custom)==null?void 0:Se.type)==="action"){const Oa=((me=P.custom)==null?void 0:me.actionCustom)||((ve=P.custom)==null?void 0:ve.action);return Oa&&(L.value=Oa.map(fa=>{const We=fa.propsActionCustom||fa.props||{},XS=fa.propCustomMessage||{};return{permission:fa.permission,label:c.value==="id"?We.labelID:We.labelEN,tooltip:c.value==="id"?We.tooltipID||We.labelID:We.tooltipEN||We.labelEN,icon:We.icon,variant:We.variant||"ghost",bgColor:We.bgColor,action:We.actionType||We.key,route:We.route,path:We.path,endpoint:We.endpointPropAction,requiredCondition:fa.requiredCondition||!1,propCustomCondition:fa.propCustomCondition||[],openDialog:fa.openDialog||!1,fieldActionCustom:(fa.fieldActionCustom||[]).map(KS=>{const WA=KS.propsFieldCustom||KS.propsFieldGlobal||KS.props||{};return{...KS,props:{...WA,endpoint:WA.endpointComponent||WA.endpoint}}}),requireConfirm:fa.requireConfirm||We.requireConfirm||!1,confirmTitle:c.value==="id"?XS.titleID||We.confirmTitleID||"Konfirmasi":XS.titleEN||We.confirmTitleEN||"Confirm",confirmMessage:c.value==="id"?XS.messageID||We.confirmMessageID||"Apakah Anda yakin?":XS.messageEN||We.confirmMessageEN||"Are you sure?"}})),null}let O;const X=((Re=P.custom)==null?void 0:Re.conditionBadge)||((Ee=P.custom)==null?void 0:Ee.condition);return(((De=P.custom)==null?void 0:De.type)==="BADGE"||((ea=P.custom)==null?void 0:ea.type)==="badge")&&X&&(O=X.map(Oa=>({value:Oa.value,label:c.value==="id"?Oa.labelID:Oa.labelEN,color:Oa.color,variant:Oa.variant}))),{key:P.key,label:c.value==="id"?P.labelID:P.labelEN,width:P.width,align:P.align,sortable:!0,type:(ys=P.custom)==null?void 0:ys.type,condition:O,keyCheckbox:(GS=P.custom)==null?void 0:GS.keyCheckbox}}).filter(P=>P!==null));const T=A.filters||A.filter;T&&Array.isArray(T)&&(v.value=T.map(P=>({...P,props:P.propsFilters||P.props||{}})),v.value.forEach(P=>{x.value[P.model]=""}));const K=A.actionGlobal||A.action;console.log("[DEBUG] loadConfig rawActions:",K),K&&Array.isArray(K)?(S.value=K.map(P=>{const O=P.propsActionGlobal||P.props||{};return{key:O.key,permission:P.permission,label:c.value==="id"?O.labelID||"Action":O.labelEN||"Action",tooltip:c.value==="id"?O.tooltipID||O.labelID:O.tooltipEN||O.labelEN,icon:O.icon,variant:O.variant||"default",bgColor:O.bgColor,textColor:O.textColor,route:O.route,path:O.path,endpoint:O.endpointPropAction||P.endpoint,openDialog:P.openDialog||!1,fieldActionGlobal:(P.fieldActionGlobal||P.field||[]).map(X=>{const ce=X.propsFieldGlobal||X.props||{};return{...X,props:{...ce,endpoint:ce.endpointComponent||ce.endpoint}}})}}),console.log("[DEBUG] loadConfig headerActions set:",S.value)):console.log("[DEBUG] loadConfig no rawActions found"),A.pagination!==void 0&&(b.value=A.pagination)}};a.watch(()=>o.tableConfig,()=>{ue()},{deep:!0,immediate:!0});const W=a.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?C.value:o.columns||[]),q=a.computed(()=>o.hasActions||L.value.length>0),$=a.computed(()=>F.value||re.value?k.value:o.loading),ee=a.computed(()=>!!F.value||!!re.value),ye=a.computed(()=>[]),Oe=A=>{if(console.log("[DEBUG] hasAction called:",{actionCode:A,permissionChecker:!!o.permissionChecker,effectivePath:he.value}),o.menuPermissions&&o.menuPermissions.length>0){const T=d.path,K=o.menuPermissions.find(P=>T.startsWith(P.path));if(K&&K.actions){const P=K.actions.find(O=>O.code===A.toUpperCase());return P?P.checked:!1}return!1}if(o.permissionChecker){const T=o.permissionChecker(he.value,A);return console.log("[DEBUG] permissionChecker result:",T),T}return ye.value.some(T=>T.code===A)},Mt=(A,T)=>{if(!A.visibilityCondition)return!0;const{field:K,operator:P,value:O}=A.visibilityCondition,X=Le(T,K);switch(P){case"equals":return X===O;case"notEquals":return X!==O;case"in":return Array.isArray(O)&&O.includes(X);case"notIn":return Array.isArray(O)&&!O.includes(X);case"greaterThan":return X>O;case"lessThan":return X<O;case"contains":return String(X).includes(String(O));default:return!0}},wt=a.computed(()=>{if(console.log("[DEBUG] visibleHeaderActions:",{headerActions:S.value,ignorePermissions:o.ignorePermissions}),S.value.length===0)return S.value;const A=S.value.filter(T=>{if(o.ignorePermissions)return!0;if(!T.permission)return console.log("[DEBUG] Action no permission, showing:",T.label),!0;if(o.checkPermission){const P=o.checkPermission(T.permission);return console.log("[DEBUG] Parent checkPermission result:",P),P}if(o.permissions){const P=o.permissions.includes(T.permission);return console.log("[DEBUG] Parent permissions check result:",P),P}const K=Oe(T.permission);return console.log("[DEBUG] Internal permission check:",{label:T.label,permission:T.permission,hasPerm:K}),K});return console.log("[DEBUG] Filtered header actions:",A.length),A}),pa=a.computed(()=>L.value.length===0?L.value:L.value.filter(A=>o.ignorePermissions||!A.permission?!0:o.checkPermission?o.checkPermission(A.permission):o.permissions?o.permissions.includes(A.permission):Oe(A.permission))),ya=A=>pa.value.filter(T=>Mt(T,A)),Jl=(A,T)=>{var O,X;if(A.requiredCondition&&((O=A.propCustomCondition)==null?void 0:O.length)>0){const ce=Le(T,"status"),Se=A.propCustomCondition.find(me=>me.value===ce);if(Se)return Se.bgColor||A.bgColor||"primary"}if(!A.dynamicColor||!A.colorCondition)return A.bgColor||"primary";const K=Le(T,A.colorCondition.field),P=(X=A.colorCondition.conditions)==null?void 0:X.find(ce=>ce.value===K);return(P==null?void 0:P.bgColor)||A.bgColor||"primary"},Ws=A=>{const T=(A||"left").toLowerCase();return T==="center"?"justify-center":T==="right"?"justify-end":"justify-start"},Ql={ToggleLeft:kl,SquarePen:at,Trash2:Ti,Eye:Ms,CheckCircle:ba,Plus:ul,Download:ol,RefreshCw:Cs,Search:vr,SlidersHorizontal:ml},e1=A=>A?na[A]?na[A]:Ql[A]||null:null,N=a.computed(()=>o.dummyMode&&W.value.length>0&&m.value.length===0&&ne.value.length===0?E(5):ee.value?m.value.map((A,T)=>({...A,no:(p.value-1)*y.value+T+1})):ne.value),ae=a.computed(()=>ee.value?g.value:Z.value.length),de=a.computed(()=>ae.value===0?0:(p.value-1)*y.value+1),ze=a.computed(()=>{const A=p.value*y.value;return A>ae.value?ae.value:A}),Le=(A,T)=>{if(!(!A||!T))return T in A?A[T]:T.split(".").reduce((K,P)=>K&&K[P],A)},Z=a.computed(()=>{if(ee.value)return[];if(!u.value)return o.data;const A=u.value.toLowerCase();return o.data.filter(T=>W.value.some(K=>{const P=Le(T,K.key);return P==null?!1:String(P).toLowerCase().includes(A)}))}),te=a.computed(()=>ee.value?[]:f.value.key?[...Z.value].sort((T,K)=>{const P=Le(T,f.value.key),O=Le(K,f.value.key);if(P===O)return 0;let X=0;return typeof P=="number"&&typeof O=="number"?X=P-O:X=String(P).localeCompare(String(O)),f.value.direction==="asc"?X:-X}):Z.value),ne=a.computed(()=>{if(ee.value)return[];const A=(p.value-1)*y.value,T=A+y.value;return te.value.slice(A,T).map((K,P)=>({...K,no:A+P+1}))}),fe=a.computed(()=>ee.value?Object.values(x.value).some(A=>!!A):!!u.value),je=[10,25,50,100],Qt=()=>{ee.value&&(x.value={...x.value,keyword:u.value},p.value=1,Qe())};let FS;const GP=()=>{o.enableQuickSearch&&(clearTimeout(FS),FS=setTimeout(()=>{Qt()},500))};let RS;const XP=()=>{clearTimeout(RS),RS=setTimeout(()=>{ee.value&&Qe()},1e3)};a.watch(u,()=>{o.enableQuickSearch&&ee.value&&GP()});const Qe=async()=>{if(ee.value&&!(!F.value&&!re.value))try{k.value=!0;const A={page:p.value,perPage:y.value,...x.value,...o.apiParams};u.value&&(A.keyword=u.value),Object.keys(A).forEach(K=>{(A[K]===""||A[K]===null||A[K]===void 0)&&delete A[K]});let T;F.value?T=await s(F.value,Y.value,A):re.value&&(T=await s(re.value,Q.value,A)),KP(T)}catch(A){console.error("DataTable fetch error",A),k.value=!1}},KP=A=>{console.log("DataTable handleResponseData:",A),A&&(o.dynamicColumns&&A.columns&&Array.isArray(A.columns)&&(C.value=A.columns.map(T=>({key:T.key||T.field||T.name,label:T.label||T.header||T.name,width:T.width,align:T.align||"LEFT",sortable:T.sortable!==!1,type:T.type,condition:T.condition,format:T.format}))),A.data&&Array.isArray(A.data)?(m.value=A.data,A.totalData?g.value=A.totalData:A.maxPage?g.value=A.maxPage*y.value:g.value=A.data.length*(A.maxPage||1)):Array.isArray(A)?(m.value=A,g.value=A.length):A.users?(m.value=A.users,g.value=A.users.length):A.items&&Array.isArray(A.items)?(m.value=A.items,g.value=A.total||A.totalItems||A.items.length):A.list&&Array.isArray(A.list)?(m.value=A.list,g.value=A.total||A.list.length):A.rows&&Array.isArray(A.rows)?(m.value=A.rows,g.value=A.count||A.total||A.rows.length):A.result&&Array.isArray(A.result)?(m.value=A.result,g.value=A.total||A.count||A.result.length):(console.warn("DataTable: Unknown response format",A),m.value=[],g.value=0)),k.value=!1};a.onUnmounted(()=>{clearTimeout(FS),clearTimeout(RS)});const NS=()=>{Object.keys(x.value).forEach(A=>{x.value[A]=""}),u.value="",p.value=1,Qe()},ZP=()=>{p.value=1,Qe()},US=(A,T)=>{const K=Le(A,T.key);let P={variant:"secondary",class:"",label:K};if(T.condition){const O=T.condition.find(X=>{const ce=(Se,me)=>typeof Se=="string"&&typeof me=="string"?Se.toLowerCase().trim()===me.toLowerCase().trim():Se==me;return typeof K=="object"&&K!==null?ce(X.value,K.code)||ce(X.value,K.id):ce(X.value,K)});if(O){if(O.variant&&(P.variant=O.variant),P.label=O.label||(typeof K=="object"?K.name||K.code:K),O.color){const X=O.color.toLowerCase(),ce=P.variant==="outline",Se={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},me={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},ve={danger:"destructive",secondary:"secondary",primary:"default"};ce?me[X]&&(P.class=me[X]):ve[X]?P.variant=ve[X]:Se[X]&&(P.class=Se[X])}}else P.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K}else P.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K;return P},YP=A=>{f.value.key===A?f.value.direction=f.value.direction==="asc"?"desc":"asc":(f.value.key=A,f.value.direction="asc"),r("update:sort",f.value)},$A=A=>{A!==p.value&&(p.value=A,ee.value&&Qe(),r("update:page",A))},JP=A=>{y.value=A,p.value=1,ee.value&&Qe()},QP=A=>{const T=Math.random()*15+75;if(A.width){const K=parseInt(String(A.width));return K<100?`${Math.floor(K*(Math.random()*.2+.7))}px`:`${T}%`}return`${T}%`},$S=()=>{u.value="",x.value={},p.value=1,Qe()},qee=A=>{var T;if(console.log("[DEBUG] handleHeaderAction called:",A),A.route){if(A.path){const K=A.route.startsWith("/")?A.route:"/"+A.route;sessionStorage.setItem(`layout_${K}`,A.path)}h==null||h.push(A.route)}else if(A.openDialog){B.value=A,D.value=null,V.value={};const K=A.fieldActionGlobal||A.field||[];K.length&&K.forEach(P=>{var ce;const O=A.endpoint||((ce=A.propsActionGlobal)==null?void 0:ce.endpointPropAction)||A.propsActionGlobal,X=O!=null&&O.keyParam&&O.keyParam.length>0?O.keyParam[0]:null;X&&P.model===X||!X&&/^(id|ids|idAuditTrail)/i.test(P.model)?V.value[P.model]=z.value:V.value[P.model]||(V.value[P.model]="")}),I.value=!0}else r("action",{action:((T=A.propsActionCustom)==null?void 0:T.key)||A.key||"create",row:null,selection:z.value})},Dee=async(A,T)=>{var K,P,O,X;if(A.requireConfirm){_.value={button:A,row:T},M.value=!0;return}if(A.openDialog){B.value=A,D.value=T,V.value={};const ce=W.value.find(ve=>ve.type==="CHECKBOX"),Se=(ce==null?void 0:ce.keyCheckbox)||"id";A.fieldActionCustom&&A.fieldActionCustom.forEach(ve=>{/^(id|ids|idAuditTrail)/i.test(ve.model)?V.value[ve.model]=[T[Se]]:A.action==="showToken"&&ve.model==="token"?V.value[ve.model]=T.token!==void 0?T.token:"":T[ve.model]!==void 0?V.value[ve.model]=T[ve.model]:V.value[ve.model]=""});const me=A.endpoint||((K=A.propsActionGlobal)==null?void 0:K.endpointPropAction)||((P=A.propsActionCustom)==null?void 0:P.endpointPropAction)||((O=A.props)==null?void 0:O.endpointPropAction);if(((X=me==null?void 0:me.apiMethod)==null?void 0:X.toUpperCase())==="GET"&&me.apiUrl){k.value=!0;const{apiUrl:ve}=et(),Re={};me.keyParam&&Array.isArray(me.keyParam)&&me.keyParam.forEach((Ee,De)=>{const ea=me.model&&De===0?me.model:Ee;T[Ee]!==void 0&&(Re[ea]=T[Ee])}),Object.keys(Re).length===0&&T.id&&(Re.id=T.id),ve(me.apiUrl,"GET",Re).then(Ee=>{let De=Ee;if(Ee&&Ee.data!==void 0?De=Ee.data:Ee&&Ee.result!==void 0&&(De=Ee.result),De!=null){if(typeof De=="string")V.value.hasOwnProperty("token")&&(V.value.token=De);else if(typeof De=="object"&&(De.item&&(De=De.item),Array.isArray(De)&&(De=De[0]||{}),Object.keys(De).forEach(ea=>{V.value[ea]=De[ea]}),!V.value.token)){const ea=Object.keys(De).find(ys=>ys.toLowerCase().includes("token"));if(ea)V.value.token=De[ea];else{const ys=Object.values(De).filter(GS=>typeof GS=="string");ys.length===1&&(V.value.token=ys[0])}}}I.value=!0}).catch(Ee=>{console.error("Fetch Data Failed",Ee)}).finally(()=>{k.value=!1});return}I.value=!0;return}eq(A,T)},eq=(A,T)=>{if(A.route){if(A.path){const O=A.route.startsWith("/")?A.route:"/"+A.route;sessionStorage.setItem(`layout_${O}`,A.path)}let K=A.route;K.includes(":")?K=K.replaceAll(/:([a-zA-Z0-9_]+)/g,(O,X)=>T[X]||T.id||X):T.id&&(K=`${K.replace(/\/$/,"")}/${T.id}`);const P={};A.path&&(P.code=A.path),h==null||h.push({path:K,query:P})}else if(A.endpoint&&A.endpoint.apiUrl){k.value=!0;const{apiUrl:K}=et(),P=A.endpoint.apiUrl,O=A.endpoint.apiMethod||"POST",X={};A.endpoint.keyParam&&Array.isArray(A.endpoint.keyParam)&&A.endpoint.keyParam.forEach((ce,Se)=>{const me=A.endpoint.model&&Se===0?A.endpoint.model:ce;T[ce]!==void 0&&(X[me]=T[ce])}),Object.keys(X).length===0&&T.id&&(X.id=T.id),K(P,O,X).then(()=>{Qe(),r("action",{action:A.action||"success",row:T})}).catch(ce=>{console.error("Action Failed",ce)}).finally(()=>{k.value=!1})}else r("action",{action:A.action,row:T})},Eee=()=>{_.value&&(eq(_.value.button,_.value.row),tq())},Tee=()=>{var A,T,K;if(B.value){const P=B.value,O=P.endpoint||((A=P.propsActionGlobal)==null?void 0:A.endpointPropAction)||P.propsActionGlobal;let X=(O==null?void 0:O.model)||(O!=null&&O.keyParam&&O.keyParam.length>0?O.keyParam[0]:null);if(!X){const ve=(P.fieldActionGlobal||P.fieldActionCustom||P.field||[]).find(Re=>/^(id|ids|idAuditTrail)/i.test(Re.model));X=ve?ve.model:"ids"}let ce=null,Se=!1;if(D.value){const me=W.value.find(Ee=>Ee.type==="CHECKBOX"),ve=(me==null?void 0:me.keyCheckbox)||"id",Re=D.value[ve];O!=null&&O.apiUrl&&(ce={...V.value},ce[X]||(ce[X]=[Re]),Se=!0)}else O!=null&&O.apiUrl&&(ce={...V.value},ce[X]||(ce[X]=z.value||[]),Se=!0);if(Se&&ce&&(O!=null&&O.apiUrl)){if(((T=O==null?void 0:O.apiMethod)==null?void 0:T.toUpperCase())==="GET"){I.value=!1,D.value||(z.value=[]);return}const{apiUrl:me}=et(),ve=O.apiUrl,Re=O.apiMethod||"POST";me(ve,Re,ce).then(()=>{I.value=!1,D.value||(z.value=[]),Qe(),r("action",{action:"success",row:null})}).catch(Ee=>{console.error("Action Failed",Ee)})}else if(D.value){const me=W.value.find(De=>De.type==="CHECKBOX"),ve=(me==null?void 0:me.keyCheckbox)||"id",Re=D.value[ve],Ee={...V.value};Ee[X]||(Ee[X]=[Re]),r("action",{action:B.value.action,row:Ee}),I.value=!1}else{const me={...V.value};me[X]||(me[X]=z.value);const ve={action:((K=B.value.propsActionGlobal)==null?void 0:K.key)||B.value.key,row:me,selection:z.value};r("action",ve),I.value=!1}}},Hee=A=>{const T=V.value[A];T&&mJ(String(T)).then(()=>{Pe.success("Berhasil disalin!",{autoClose:2e3,theme:"dark",pauseOnHover:!1})}).catch(K=>{console.error("Failed to copy",K)})},tq=()=>{M.value=!1,_.value=null},Oee=a.computed(()=>_.value?_.value.button.confirmTitle||"Confirm":""),jee=a.computed(()=>_.value?_.value.button.confirmMessage||"Confirm":"");t({fetchData:Qe,filters:x,resetFilters:NS,handleRefresh:$S});const WS=a.ref(""),Fee=A=>{if(!A)return"";const T=A.endpoint||A.endpointGlobal||{};return JSON.stringify({url:T.apiUrl||A.apiUrl,module:T.apiModule||A.apiModule,action:T.apiAction||A.apiAction,method:T.apiMethod||A.apiMethod,params:A.apiParams,socket:T.socket||A.socketEndpoint,socketParams:A.socketParams})};return a.watch(()=>o.tableConfig,()=>{if(o.tableConfig){ue();const A=Fee(o.tableConfig);A!==WS.value&&(!WS.value&&ee.value?(WS.value=A,Qe()):(WS.value=A,ee.value&&XP()))}},{deep:!0,immediate:!0}),a.watch(()=>o.apiModule,()=>{ee.value&&Qe()}),a.watch(()=>o.apiParams,()=>{ee.value&&Qe()},{deep:!0}),a.watch(()=>S.value,A=>{console.log("[DEBUG] headerActions changed:",A.length,"items");const T=wt.value;console.log("[DEBUG] visibleHeaderActions evaluated:",T.length,"items")},{deep:!0}),a.onMounted(()=>{ue(),ee.value&&(o.tableConfig||(k.value=!0,Qe()))}),(A,T)=>{var K;return a.openBlock(),a.createElementBlock("div",FQ,[a.createElementVNode("div",RQ,[a.createElementVNode("div",NQ,[e.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",UQ,[a.createElementVNode("div",$Q,[a.createVNode(a.unref(vr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),a.createVNode(a.unref(PA),{modelValue:u.value,"onUpdate:modelValue":T[0]||(T[0]=P=>u.value=P),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:a.withKeys(Qt,["enter"])},null,8,["modelValue"])]),v.value.length>0?(a.openBlock(),a.createElementBlock("div",WQ,[a.createVNode(SJ,null,{trigger:a.withCtx(()=>[a.createVNode(dt,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:a.withCtx(()=>[a.createElementVNode("div",YQ,[a.renderSlot(A.$slots,"filter-footer",{fetch:Qe,reset:NS})])]),default:a.withCtx(()=>[T[8]||(T[8]=a.createElementVNode("hr",{class:"border-neutral-200 dark:border-neutral-700"},null,-1)),a.createElementVNode("div",GQ,[a.renderSlot(A.$slots,"filter-form",{filters:x.value},()=>[v.value.length>0?(a.openBlock(),a.createElementBlock("div",XQ,[a.createElementVNode("div",KQ,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(pe.value,(P,O)=>(a.openBlock(),a.createElementBlock("div",{key:O,class:a.normalizeClass(_e(P))},[a.createVNode(zP,{field:P,modelValue:x.value[P.model],"onUpdate:modelValue":X=>x.value[P.model]=X},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):a.createCommentVNode("",!0)]),v.value.length>0?(a.openBlock(),a.createElementBlock("div",ZQ,[a.createVNode(dt,{variant:"outline",text:"Reset",tooltip:"Reset",rounded:"md",icon:"RefreshCw",onClick:NS,disabled:$.value},null,8,["disabled"]),a.createVNode(dt,{onClick:ZP,disabled:$.value,rounded:"md",text:"Search",tooltip:"Search",icon:"Search"},null,8,["disabled"])])):a.createCommentVNode("",!0)])]),_:3})])):a.createCommentVNode("",!0)])),a.createElementVNode("div",{class:a.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":e.nested}])},[e.nested?(a.openBlock(),a.createElementBlock("span",JQ)):a.createCommentVNode("",!0),e.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(dt,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:$S,disabled:$.value},{icon:a.withCtx(()=>[a.createVNode(a.unref(Cs),{class:a.normalizeClass(["w-3.5 h-3.5",{"animate-spin":$.value}])},null,8,["class"])]),_:1},8,["disabled"])),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(wt.value,(P,O)=>(a.openBlock(),a.createBlock(dt,{key:O,icon:P.icon,text:P.label,tooltip:P.tooltip,variant:P.variant,"bg-color":P.bgColor,"text-color":P.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:X=>qee(P)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),a.renderSlot(A.$slots,"header-actions")],2)])]),a.createElementVNode("div",QQ,[a.createElementVNode("table",eee,[a.createElementVNode("thead",tee,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,P=>(a.openBlock(),a.createElementBlock("th",{key:P.key,class:a.normalizeClass([P.align?`text-${P.align.toLowerCase()}`:"",P.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:a.normalizeStyle(P.width?{width:P.width}:{}),onClick:O=>P.sortable&&YP(P.key)},[P.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",nee,[a.createVNode(Gl,{"model-value":G.value,indeterminate:H.value,"onUpdate:modelValue":T[1]||(T[1]=O=>U(!!O)),onClick:T[2]||(T[2]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-2 w-full",Ws(P.align)])},[a.createElementVNode("span",null,a.toDisplayString(P.label),1)],2))],14,aee))),128)),q.value?(a.openBlock(),a.createElementBlock("th",oee,[...T[9]||(T[9]=[a.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):a.createCommentVNode("",!0)])]),a.createElementVNode("tbody",ree,[$.value?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(y.value,P=>(a.openBlock(),a.createElementBlock("tr",{key:`skeleton-${P}`},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,O=>{var X,ce;return a.openBlock(),a.createElementBlock("td",{key:O.key,class:a.normalizeClass([O.align?`text-${O.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[a.createElementVNode("div",{class:a.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(O.type??"")||O.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((X=O.align)==null?void 0:X.toLowerCase())==="center"?"mx-auto":"",((ce=O.align)==null?void 0:ce.toLowerCase())==="right"?"ml-auto":""]]),style:a.normalizeStyle({width:["badge","BADGE"].includes(O.type??"")||O.condition?void 0:QP(O),backgroundSize:"200% 100%"})},null,6)],2)}),128)),e.hasActions?(a.openBlock(),a.createElementBlock("td",iee,[...T[10]||(T[10]=[a.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):a.createCommentVNode("",!0)]))),128)):N.value.length===0?(a.openBlock(),a.createElementBlock("tr",see,[a.createElementVNode("td",{colspan:W.value.length+(q.value?1:0),class:"text-center py-16"},[a.createElementVNode("div",cee,[a.createVNode(a.unref(uq.Vue3Lottie),{animationData:a.unref(jQ),height:200,width:200},null,8,["animationData"]),a.createElementVNode("div",null,[a.createElementVNode("p",dee,a.toDisplayString(fe.value?"No search results":"No data"),1),a.createElementVNode("p",hee,a.toDisplayString(fe.value?"Try changing keywords":"No data added"),1)])])],8,lee)])):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(N.value,(P,O)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:O},[a.createElementVNode("tr",uee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(W.value,X=>(a.openBlock(),a.createElementBlock("td",{key:X.key,class:a.normalizeClass([X.align?`text-${X.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[a.renderSlot(A.$slots,`cell-${X.key}`,{row:P,value:Le(P,X.key)},()=>[X.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",pee,[a.createVNode(Gl,{"model-value":j(P),"onUpdate:modelValue":ce=>J(P,!!ce),onClick:T[3]||(T[3]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):X.type==="badge"||X.type==="BADGE"||X.condition?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[X.align?`justify-${X.align}`:"justify-start"]])},[a.createVNode(a.unref(Ta),{variant:US(P,X).variant,class:a.normalizeClass([US(P,X).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(US(P,X).label),1)]),_:2},1032,["variant","class"])],2)):X.key==="no"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString((p.value-1)*y.value+O+1),1)],64)):X.type==="date"||X.type==="DATE"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createTextVNode(a.toDisplayString(Le(P,X.key)?a.unref(yJ)(Le(P,X.key),"long"):"-"),1)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createTextVNode(a.toDisplayString(X.format?X.format(Le(P,X.key)):Le(P,X.key)),1)],64))])],2))),128)),q.value?(a.openBlock(),a.createElementBlock("td",yee,[a.renderSlot(A.$slots,"actions",{row:P,buttons:ya(P),getButtonColor:Jl,getIconComponent:e1},()=>[ya(P).length>0?(a.openBlock(),a.createElementBlock("div",fee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ya(P),(X,ce)=>(a.openBlock(),a.createElementBlock("div",{key:ce,class:"group relative"},[a.createVNode(dt,{tooltip:X.tooltip||X.label,icon:X.icon,size:"icon",rounded:X.rounded||"sm",borderStyle:X.borderStyle||"none",variant:X.variant||"ghost","bg-color":Jl(X,P),onClick:Se=>Dee(X,P)},null,8,["tooltip","icon","rounded","borderStyle","variant","bg-color","onClick"])]))),128))])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0)]),A.$slots["expanded-row"]?(a.openBlock(),a.createElementBlock("tr",mee,[a.createElementVNode("td",{colspan:W.value.length+(q.value?1:0),class:"px-0 py-0"},[a.renderSlot(A.$slots,"expanded-row",{row:P,index:O})],8,kee)])):a.createCommentVNode("",!0)],64))),128))])])]),!$.value&&N.value.length>0&&e.showPagination&&b.value?(a.openBlock(),a.createElementBlock("div",gee,[a.createElementVNode("div",bee,[a.createVNode(a.unref(TJ),{"model-value":String(y.value),"onUpdate:modelValue":T[4]||(T[4]=P=>JP(Number(P)))},{default:a.withCtx(()=>[a.createVNode(a.unref(NJ),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:a.withCtx(()=>[a.createVNode(a.unref(UJ),{placeholder:String(y.value)},null,8,["placeholder"])]),_:1}),a.createVNode(a.unref(HJ),null,{default:a.withCtx(()=>[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(je,P=>a.createVNode(a.unref(jJ),{key:P,value:String(P)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(P),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),T[15]||(T[15]=a.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),a.createElementVNode("span",xee,[T[11]||(T[11]=a.createTextVNode(" Showing ",-1)),a.createElementVNode("span",Mee,a.toDisplayString(de.value),1),T[12]||(T[12]=a.createTextVNode(" to ",-1)),a.createElementVNode("span",wee,a.toDisplayString(ze.value),1),T[13]||(T[13]=a.createTextVNode(" of ",-1)),a.createElementVNode("span",vee,a.toDisplayString(ae.value),1),T[14]||(T[14]=a.createTextVNode(" items ",-1))])]),a.createElementVNode("div",Cee,[a.createVNode(a.unref(BJ),{total:ae.value,"items-per-page":y.value,"sibling-count":1,"show-edges":"",page:p.value,"onUpdate:page":$A,class:"scale-90 origin-right"},{default:a.withCtx(()=>[a.createVNode(a.unref(VJ),{class:"flex items-center gap-1"},{default:a.withCtx(({items:P})=>[a.createVNode(a.unref(zJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(el),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(EJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(bn),{class:"h-4 w-4"})]),_:1}),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(P,(O,X)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[O.type==="page"?(a.openBlock(),a.createBlock(a.unref(PJ),{key:X,value:O.value,"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Xe),{class:"w-8 h-8 p-0 text-sm",variant:O.value===p.value?"default":"outline",disabled:O.value===p.value,onClick:ce=>$A(O.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(O.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(a.openBlock(),a.createBlock(a.unref(_J),{key:O.type,index:X},null,8,["index"]))],64))),256)),a.createVNode(a.unref(DJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(xn),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(qJ),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(tl),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):a.createCommentVNode("",!0),a.createVNode(LS,{modelValue:M.value,"onUpdate:modelValue":T[5]||(T[5]=P=>M.value=P),title:Oee.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:a.withCtx(()=>[a.createVNode(dt,{variant:"outline",onClick:tq,text:"Cancel"}),a.createVNode(dt,{variant:"default",onClick:Eee,text:"Yes"})]),default:a.withCtx(()=>[a.createElementVNode("div",Lee,[a.createElementVNode("p",See,a.toDisplayString(jee.value),1)])]),_:1},8,["modelValue","title"]),a.createVNode(LS,{modelValue:I.value,"onUpdate:modelValue":T[7]||(T[7]=P=>I.value=P),title:((K=B.value)==null?void 0:K.label)||"Action",icon:"AlertCircle","max-width":450},{actions:a.withCtx(()=>[a.createVNode(dt,{variant:"outline",onClick:T[6]||(T[6]=P=>I.value=!1),text:"Cancel"}),a.createVNode(dt,{variant:"default",onClick:Tee,text:"Save"})]),default:a.withCtx(()=>{var P,O;return[a.createElementVNode("div",Iee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(((P=B.value)==null?void 0:P.fieldActionCustom)||((O=B.value)==null?void 0:O.fieldActionGlobal)||[],(X,ce)=>{var Se,me,ve;return a.openBlock(),a.createElementBlock(a.Fragment,{key:ce},[X.isHidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(_e(X))},[a.createElementVNode("div",Aee,[a.createVNode(zP,{class:"flex-1 w-full",field:X,modelValue:V.value[X.model],"onUpdate:modelValue":Re=>V.value[X.model]=Re},null,8,["field","modelValue","onUpdate:modelValue"]),X.isCopyable||(Se=X.props)!=null&&Se.isCopyable||((me=B.value)==null?void 0:me.action)==="showToken"||((ve=B.value)==null?void 0:ve.action)==="copyToken"?(a.openBlock(),a.createBlock(dt,{key:0,icon:"Copy",variant:"outline",class:"h-10 w-10 p-0 flex-shrink-0",tooltip:"Salin",onClick:Re=>Hee(X.model)},null,8,["onClick"])):a.createCommentVNode("",!0)])],2))],64)}),128))])]}),_:1},8,["modelValue","title"])])}}}),Bee={class:"h-full flex flex-col"},Vee={key:1,class:"flex-1 flex items-center justify-center"},_ee={key:2,class:"flex-1 flex items-center justify-center text-red-500"},UP=a.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{},userPermissions:{},permissionBase:{}},emits:["action","navigate"],setup(e,{emit:t}){var C,w,b,L,S,v;const n=e,o=t,r=a.getCurrentInstance(),{apiUrl:i}=et();let s={query:{},params:{},path:""};try{const M=fs.useRoute();M?s=M:(b=(w=(C=r==null?void 0:r.appContext)==null?void 0:C.config)==null?void 0:w.globalProperties)!=null&&b.$route&&(s=r.appContext.config.globalProperties.$route)}catch{console.warn("useRoute not available, using fallback")}let c={back:()=>console.warn("Router back() not available"),push:M=>{console.warn("Router push() logic called from fallback:",M),typeof M=="string"&&M.startsWith("/")&&(window.location.href=M)}};try{const M=fs.useRouter();M?c=M:(v=(S=(L=r==null?void 0:r.appContext)==null?void 0:L.config)==null?void 0:S.globalProperties)!=null&&v.$router&&(c=r.appContext.config.globalProperties.$router)}catch{console.warn("useRouter not available, using fallback")}const d=a.inject("hasActionAccess",()=>!1),h=a.inject("userPermissions",null),u=a.ref(null),p=a.ref(!0),y=a.ref(null),f="/api/auto-layout/datatable/form-dynamic?code=",m=a.computed(()=>`${f}${n.layoutCode}`),k=async()=>{var M;p.value=!0;try{const I=await i(m.value,"GET");I.status&&(u.value=Array.isArray(I.data)?I.data[0]:I.data,console.log("[DEBUG] AutoLayoutDatatable config loaded:",u.value),console.log("[DEBUG] actionGlobal in config:",(M=u.value)==null?void 0:M.actionGlobal))}catch(I){console.error("Gagal Menampilkan Datatable:",I)}finally{p.value=!1}},g=M=>{M.action==="add"&&console.log("[AutoLayoutDatatable] Add action triggered"),console.log("Aksi:",M.action,M)},x=M=>{console.log("[DEBUG] AutoLayoutDatatable handleNavigate:",M);let I=M.route;if(I||(I=`/${((s==null?void 0:s.path)||"").split("/")[1]||"product"}/create`),I){const V=M.path?{code:M.path}:{};console.log("[DEBUG] Emitting navigate to parent:",{path:I,query:V}),o("navigate",{route:I,query:V})}else console.warn("[DEBUG] No route or path provided for navigation")};return a.onMounted(()=>{k()}),(M,I)=>(a.openBlock(),a.createElementBlock("div",Bee,[!p.value&&u.value?(a.openBlock(),a.createBlock(OS,{key:0,ref_key:"dtRef",ref:y,"api-url":m.value,"api-method":"GET","table-config":u.value,"permission-base":n.permissionBase||"","dummy-mode":["form-add","form-edit","datatable-create","datatable-edit"].includes(n.layoutCode),"user-permissions":n.userPermissions||a.unref(h),"permission-checker":a.unref(d),onAction:g,onNavigate:x},{"header-actions":a.withCtx(()=>[...I[0]||(I[0]=[])]),_:1},8,["api-url","table-config","permission-base","dummy-mode","user-permissions","permission-checker"])):p.value?(a.openBlock(),a.createElementBlock("div",Vee,[...I[1]||(I[1]=[a.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(a.openBlock(),a.createElementBlock("div",_ee," Failed to load configuration for "+a.toDisplayString(n.layoutCode),1))]))}}),$P=a.defineCustomElement(_P),WP=a.defineCustomElement(UP);typeof customElements<"u"&&(customElements.get("micro-dynamic-form")||customElements.define("micro-dynamic-form",$P),customElements.get("micro-dynamic-datatable")||customElements.define("micro-dynamic-datatable",WP));const zee=[cI,bB,dt,NV,Qz,Gl,eP,wA,LS,kP,SS,gP,IA,bP,BA,_A,VA,zA,xP,qA,MP,wP,vP,CP,DA,EA,TA,IS,AP,BP,VP,OS],Pee={install(e,t={}){t&&Object.keys(t).length>0&&XA(t),zee.forEach(n=>{n.name&&e.component(n.name,n)})}};oe.AutoLayoutDatatable=UP,oe.AutoLayoutForm=_P,oe.DCodeAutoComplete=cI,oe.DCodeButton=dt,oe.DCodeCard=NV,oe.DCodeChart=Qz,oe.DCodeCheckbox=Gl,oe.DCodeCurrencyField=eP,oe.DCodeDatePicker=wA,oe.DCodeDialog=LS,oe.DCodeDialogCloseBtn=kP,oe.DCodeDropzone=SS,oe.DCodeFileField=gP,oe.DCodeFileResult=IA,oe.DCodeIconDropdown=bP,oe.DCodeImageCropperDialog=BA,oe.DCodeImageField=_A,oe.DCodeImageResult=VA,oe.DCodeInfiniteAutoComplete=bB,oe.DCodeLabel=zA,oe.DCodeMultiSelect=xP,oe.DCodeOtpInput=qA,oe.DCodeProgress=MP,oe.DCodeProgressBar=wP,oe.DCodeRadio=vP,oe.DCodeRadioCustom=CP,oe.DCodeSlider=DA,oe.DCodeSwitch=EA,oe.DCodeTextField=TA,oe.DCodeTextarea=IS,oe.DCodeTimelineWithIcons=AP,oe.DCodeUploadFile=BP,oe.DCodeWizard=VP,oe.DataTable=OS,oe.DataTableComponent=OS,oe.MicroDynamicDatatable=WP,oe.MicroDynamicForm=$P,oe.cn=xe,oe.default=Pee,oe.setApiConfig=XA,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|